an abnormal situation of the relevant application program is obtained more quickly, accurately and timely
较为快速、准确、及时地得 到相关应用程序的异常情况
and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely
并基于关键字识别来提取测试日志中的异常信息,较为快速、准确、及时地得 到相关应用程序的异常情况
and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely, so that time spent in manually determining abnormal information of an application program in the test from a log including multiple application programs in the prior art is saved
In addition, after the abnormal information is extracted or the test is completed, acquired information can be displayed to the user via a display interface. According to the embodiment of the invention, by means of assembling the test demand information to generate the test command line to test an application, and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely, so that time spent in manually determining abnormal information of an application program in the test from a log including multiple application programs in the prior art is saved, a problem about an omission of the abnormal information is avoided basically, and improvement on the application program is facilitated.
Meanwhile, Gome and Suning can embed relevant application programs and bind suitable service packages for particular users through customized mobile phones.
同时,国美、苏宁通过定制手机,可以将相关应用嵌入并且绑定合适的套餐销售给特定用户。
Application program files may be entered and maintained by the system programmer or designated full-time personnel in accordance with relevant regulations.
应用程序档案得由系统程序人员或指定专人,依照有关规定登录与维护。
In a testing process of the application program, tested relevant log information can be recorded in a log like a Logcat log, a Monkey log or an ANR log.
In the prior art, if a failure or a mistake occurs in an application program during a pressure test process, a test user determines a log record corresponding to the failure of the application program by viewing a system log generally, and obtains relevant abnormal information for an analysis, so as to improve the application program.
In the prior art, if a failure or a mistake occurs in an application program during a pressure test process, a test user determines a log record corresponding to the failure of the application program by viewing a system log generally, and obtains relevant abnormal information for an analysis, so as to improve the application program. Since the system log includes a great deal of information, such as normal log information, the user will spend a lot of time in searching, and an omission is likely to occur in searching, which are not conducive to improvement on the application program.
S102: monitoring a test log, and performing keyword identification on the content of the test log. In a testing process of the application program, tested relevant log information can be recorded in a log like a Logcat log (which is log information applied to an Android platform), a Monkey log or an ANR (Application Not Responding) log. In the embodiment of the invention, abnormal information of the target application program during the test can be conveniently extracted out from all types of logs by identifying keywords in real time or at a short time interval, and the keywords are preset for representing abnormal information recorded in the logs when abnormity occurs during the testing process of a target application program.
As for the Logcat log, some abnormal keywords can be preset, and when a preset abnormal keyword included in a log including the process name of a currently tested target application program exists in the Logcat log, information of the keyword is taken as abnormal information of the target application program, and the abnormal information is extracted and saved in a database in a form of C-layer abnormal information; as for the Monkey log, a "CRASH" field is taken as a keyword, and when a "CRASH" field including the process name of the currently tested target application program exists, the "CRASH" field is taken as abnormal information of the target application program, and is saved in the database in a form of java-layer abnormal information; and as for the ANR log, an ANR field is taken as an abnormal keyword, and when an ANR field including the process name of the currently tested target application program exists, the ANR field is taken as abnormal information of the target application program, a relevant anr file in a terminal is exported and taken as abnormal information, and the abnormal information is saved in the database in a form of ANR.
As shown in Figure 7, as for an ANR log, the determining module 4 can include the following units for relevant processing: a third judging unit 45 configured to judge whether an ANR field for representing the abnormity of a response exists in the ANR log when a test log includes the ANR log; and to further judge whether the ANR field for representing the abnormity of the response is generated due to execution of a test of a condition indicated by demand information when the ANR field for representing the abnormity of the response exists; and a third determining unit 46 configured to determine that a test abnormal keyword exists in the test log when the judging result of the third judging unit 45 is yes. Wherein, the first judging module 41, the second judging module 43 and the third judging module 45 judge whether the corresponding abnormal information is generated due to execution of the test of the condition indicated by the demand information by judging whether the abnormal information includes the process name of a currently tested target application program specifically; if so, the abnormal information is determined to be generated due to execution of the test of the condition indicated by the demand information; and if not, the abnormal information may be abnormal information of other application programs in a terminal system, and is not required to be extracted.
According to the official loan loan commitment documents and other relevant application materials.
承贷银行出据的正式贷款承诺文件等相关申报材料。
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.