CN110019067B - Log analysis method and system - Google Patents

Log analysis method and system Download PDF

Info

Publication number
CN110019067B
CN110019067B CN201710881776.2A CN201710881776A CN110019067B CN 110019067 B CN110019067 B CN 110019067B CN 201710881776 A CN201710881776 A CN 201710881776A CN 110019067 B CN110019067 B CN 110019067B
Authority
CN
China
Prior art keywords
log
information
preset
preset rule
rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710881776.2A
Other languages
Chinese (zh)
Other versions
CN110019067A (en
Inventor
陈永卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201710881776.2A priority Critical patent/CN110019067B/en
Publication of CN110019067A publication Critical patent/CN110019067A/en
Application granted granted Critical
Publication of CN110019067B publication Critical patent/CN110019067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a log analysis method and a system, wherein the method comprises the following steps: acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to the preset rule log information; based on a preset execution sequence and a preset execution length, sequentially matching preset rule log information with at least two pieces of service data information; and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information.

Description

Log analysis method and system
Technical Field
The present invention relates to the field of computers, and in particular, to a log analysis method and system.
Background
In the process of product development, in order to ensure the quality of the product, the product is usually required to be tested, and common testing methods include manual testing and automatic testing. Compared with manual testing, automatic testing is often used for regression testing due to the advantages of high testing efficiency, short testing time and the like. Under normal conditions, a tester executes test cases on an automatic test platform, the automatic test platform can generate rich logs in the process of executing the test cases, and when the test result of executing the test cases is failed, the tester can locate the problem of a product by checking the logs generated by executing the test cases.
However, a large number of logs are generated when test cases are executed, and when a tester searches messages generating problems from the large number of logs, the searching efficiency is low, so that the problem of low intelligence of positioning product problems is generated.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the invention expects to provide a log analysis method and a log analysis system, which can improve the intelligence of problem positioning.
The embodiment of the invention provides a log analysis method, which comprises the following steps:
acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information;
and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information.
In the above method, before the original log data is obtained from the test log generated by testing the current service flow, the method further includes:
Setting a preset rule file corresponding to the current business process according to a predefined file format;
and extracting the preset rule log information from the preset rule file according to a predefined rule data structure, wherein the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
In the above method, the extracting at least two service data information from the original log data according to the preset rule attribute information includes:
acquiring original log attribute information corresponding to the original log data;
sequentially matching the original log attribute information with the preset rule attribute information;
when at least two pieces of log attribute information in the original log attribute information are matched with the preset rule attribute information, at least two pieces of log data corresponding to the at least two pieces of log attribute information are extracted from the original log data;
and converting the at least two pieces of log data into the at least two pieces of business data information according to a preset conversion format.
In the above method, the sequentially matching the at least two service data information with the preset rule log information based on a preset execution sequence and a preset execution length includes:
Determining initial rule log information arranged in the first bit from the preset rule log information according to the preset execution sequence, and searching the initial rule log information in the at least two pieces of service data information;
starting from the initial rule log information, determining the service data information to be matched with the preset execution length from the at least two service data information;
determining the current execution sequence of the business data information to be matched, and matching the current execution sequence with the preset execution sequence;
when the current execution sequence is matched with the preset execution sequence, characterizing that the preset rule log information is matched with the at least two pieces of service data information;
and when the current execution sequence and the preset execution sequence are not matched, characterizing that the preset rule log information is not matched with the at least two pieces of business data information.
In the above method, the determining problem information from the at least two service data information includes:
determining any one business data information which is not matched with the preset execution sequence from the at least two business data information;
And determining any one piece of business data information as the problem information.
In the above method, after determining the problem information from the at least two service data information, the method further includes:
and recording the position information and the time information of any one business data information.
In the above method, the preset rule attribute information includes: preset log name, preset log extension information and preset log detailed information.
The embodiment of the invention provides a log analysis system, which comprises:
the acquisition unit is used for acquiring original log data from a test log generated by testing the current business process;
the extraction unit is used for extracting at least two pieces of business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
the matching unit is used for sequentially matching the preset rule log information with the at least two pieces of service data information based on a preset execution sequence and a preset execution length;
and the recording unit is used for determining problem information from the at least two pieces of business data information when the preset rule log information is not matched with the at least two pieces of business data information.
In the above log analysis system, the log analysis system further includes: a setting unit;
the setting unit is used for presetting a preset rule file corresponding to the current business process according to a predefined file format;
the extraction unit is specifically configured to extract, according to a predefined rule data structure, the preset rule log information from the preset rule file, where the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
In the above log analysis system, the log analysis system further includes: a conversion unit;
the acquisition unit is further used for acquiring original log attribute information corresponding to the original log data;
the matching unit is further used for sequentially matching the original log attribute information with the preset rule attribute information;
the extracting unit is further configured to extract at least two log data corresponding to at least two log attribute information from the original log data when the at least two log attribute information in the original log attribute information matches the preset rule attribute information;
The conversion unit is configured to convert the at least two log data into the at least two service data information according to a preset conversion format.
In the above log analysis system, the log analysis system further includes: a determining unit and a searching unit;
the determining unit is used for determining initial rule log information arranged at the first position from the preset rule log information according to the preset execution sequence; starting from the initial rule log information, determining the service data information to be matched with the preset execution length from the at least two service data information; determining the current execution sequence of the service data information to be matched;
the searching unit is used for searching the initial rule log information in the at least two pieces of service data information;
the matching unit is further configured to match the current execution sequence with the preset execution sequence; when the current execution sequence is matched with the preset execution sequence, characterizing that the preset rule log information is matched with the at least two pieces of service data information; and when the current execution sequence and the preset execution sequence are not matched, characterizing that the preset rule log information is not matched with the at least two pieces of business data information.
In the above log analysis system, the determining unit is further configured to determine, from the at least two service data information, any one service data information that does not match the preset execution sequence; and determining any one piece of business data information as the problem information.
In the above log analysis system, the recording unit is further configured to record location information and time information of the arbitrary one of the service data information.
In the above log analysis system, the preset rule attribute information includes: preset log name, preset log extension information and preset log detailed information.
The embodiment of the invention provides a log analysis system, which comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the operations of:
the processor is used for acquiring original log data from a test log generated by testing the current business process, extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to the preset rule log information; based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information; and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information.
An embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program for use in a log analysis system, wherein the computer program when executed by a processor implements a log analysis method as set forth in any one of the above.
The embodiment of the invention provides a log analysis method and a system, wherein the method can comprise the following steps: acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to the preset rule log information; based on a preset execution sequence and a preset execution length, sequentially matching preset rule log information with at least two pieces of service data information; and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information. By adopting the method, the log analysis system presets the preset rule log information and the corresponding preset execution sequence, the preset rule attribute information and the preset execution length, extracts at least two pieces of business data information to be matched from the test log according to the preset rule attribute information, and sequentially matches the preset rule log information with the at least two pieces of business data information based on the preset execution sequence and the preset execution length, and when the preset rule log information is not matched with the at least two pieces of business data information, the problem information is determined from the at least two pieces of business data information, so that after the preset rule log information and the corresponding preset execution sequence are preset by a tester, the log analysis system can automatically position the problem information from the test log according to the preset rule log information, the preset rule attribute information and the preset execution sequence, thereby improving the intelligence of positioning the product problem.
Drawings
FIG. 1 is a flowchart of a log analysis method according to an embodiment of the present invention;
FIG. 2 is a block diagram of an exemplary log analysis system according to an embodiment of the present invention;
FIG. 3 is an interaction diagram of various modules in an exemplary log analysis system provided by an embodiment of the present invention;
FIG. 4 is a second flowchart of a log analysis method according to an embodiment of the present invention;
FIG. 5 is a flow chart of an exemplary log analysis method provided by an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a log analysis system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a log analysis system according to a second embodiment of the present invention;
fig. 8 is a schematic structural diagram III of a log analysis system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a log analysis system according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a log analysis system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1
An embodiment of the present invention provides a log analysis method, as shown in fig. 1, the method may include:
S101, acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to the preset rule log information.
The log analysis method provided by the embodiment of the invention is suitable for a scene of analyzing the test log in an automatic test process.
In the embodiment of the invention, a tester tests the current business process by executing the test case on the automatic test platform, and a test log is generated when the automatic test platform tests the current business process.
In the embodiment of the present invention, as shown in fig. 2, the composition module of the log analysis system includes: the system comprises a service analysis module, a rule analysis module and a log data module, wherein the service analysis module comprises a service analysis main control module, a service data processing module, an external data processing module and a report result processing module; the rule analysis module comprises a rule extraction module and a rule data analysis module.
In the embodiment of the invention, the main function of the log data module is to acquire original log data from a test log, wherein the test log is a binary data file, each record in the test log is a message, and the log data module adopts C++ to realize the corresponding function and enables the corresponding function to be called by a script. The log data module provides the following 4 interfaces: readFile for reading the specified log file; getMsg is used for obtaining the general field of the appointed message; getDecode for obtaining a specified message decoding structure; decodeMsg for retrieving a specified message decoding structure or a specified field.
In the embodiment of the invention, the main function of the rule analysis module is to extract a preset rule file and extract at least two pieces of service data information from original log data. The rule analysis module adopts Java to realize the corresponding function. The rule analysis module provides the following 3 interfaces: checkProc for rule analysis data; getRuleMeg, which is used for screening log data; readFile, used to extract rule files.
In the embodiment of the invention, before the tester executes the test case on the current business process, the tester presets the preset rule file corresponding to the current business process, and then extracts the preset rule file according to the predefined rule data structure.
Alternatively, the predefined rule data structure may be:
{
this.rulefilename;
this.stepindex;
this.sheetname;
this.sheetindex;
this.wndtype;
this.msgname;
this.msgid;
this.othername;
this.ieinfo;
this.printinfo;
}
in the embodiment of the invention, the format of the preset rule file is an Excel document format.
In the embodiment of the invention, a tester sets a preset rule file according to a predefined file format, wherein the preset rule file comprises preset rule log information and a preset execution sequence, the preset rule log information comprises preset rule attribute information, and the preset rule attribute information comprises preset log names, preset log extension information and preset log detailed information.
Optionally, the predefined file format includes the following: 1. step, step number of business process; 2. searching a window number, wherein the message corresponds to the category of the log file; 3. primitive name, name of log file corresponding to message; 4. other columns/summary information, the message corresponding to the extension information of the log file; 5. a web browser of interest (IE, internet Explorer), the message corresponding to the detailed information of the log file; 6. and printing information, and reporting the printing information of the result.
In the embodiment of the invention, the preset log name corresponds to 3 and primitive name; presetting log expansion information corresponding to 4 and other columns/summary information; presetting an IE (information element) of interest corresponding to the detailed information of the log in 5; the preset execution sequence corresponds to 1 step.
In the embodiment of the invention, after a test log is generated by testing the current service flow, an automatic test platform or an external application calls a service analysis module to start the service analysis module, the service analysis module calls a rule analysis module, and a rule extraction module in the rule analysis module extracts a preset rule file according to a predefined rule data structure.
In the embodiment of the invention, the rule extraction module extracts the preset rule file by the following file: 1. rule_parameter_excel. Js, which is responsible for processing Excel files, converting preset rule files into preset rule structure data, and storing the preset rule structure data in an internal database; 2. rule_msgsruct.js, this file defines the specific storage structure of the log message; 3. rule_adp.js, the file is responsible for the rule preset rule structure data and the adaptation function of the preset rule file, and the encapsulation interface is provided for an external module to use.
In the embodiment of the invention, the log data module acquires original log data from the test log and returns the original log data to the rule data processing module, the rule data analysis module extracts at least two log data matched with the preset rule attribute information from the original log data and sends the at least two log data to the service data processing module, and the service data processing module processes the at least two log data into at least two service data information and sends the at least two service data information to the service analysis module.
In the embodiment of the invention, the rule data analysis module comprises the following two files: 1. the file is responsible for circularly acquiring and screening original log data according to preset rule log information, and at least two pieces of service data information are finally generated; 2. log_dispose.js, this file is responsible for calling the interface of the log data module, extracting the original log data.
S102, based on a preset execution sequence and a preset execution length, sequentially matching preset rule log information with at least two pieces of service data information.
After the log analysis system extracts at least two pieces of service data information from the original log data, the log analysis system sequentially matches the log information of the preset rule with the at least two pieces of service data information based on the preset execution sequence and the preset execution length.
In the embodiment of the invention, a service analysis module acquires preset rule log information arranged according to a preset execution sequence from a rule extraction module, determines initial rule log information arranged at the first position from the preset rule log information, then the service analysis module acquires at least two service data information from a service data processing module, searches the initial rule log information in the at least two service data information, and determines service data information to be matched with a preset execution length from the initial rule log information.
Specifically, the service analysis module searches the initial rule log information from at least two service data information, and then, the service analysis module starts from the initial rule log information to determine the service data information to be matched with the preset execution length from the at least two service data information.
In the embodiment of the invention, the service analysis module adopts a Javascript language to realize the function of the module and provides a Parsefile analysis master control interface.
In the embodiment of the invention, the preset rule log information is arranged according to a preset execution sequence.
In the embodiment of the invention, the service analysis module acquires the current execution sequence of the service data information to be matched, then the service analysis module matches the current execution sequence with the preset execution sequence, when the current execution sequence is matched with the preset execution sequence, the preset rule log information is characterized as being matched with at least two service data information, and when the current execution sequence is not matched with the preset execution sequence, the preset rule log information is characterized as being not matched with the at least two service data information.
And S103, determining problem information from at least two pieces of service data information when the preset rule log information is not matched with the at least two pieces of service data information.
When the log analysis system judges that the log information of the preset rule is not matched with at least two pieces of business data information, the log analysis determines that the problem information is in the at least two pieces of business data information.
In the embodiment of the invention, when the service analysis module judges that the current execution sequence is not matched with the preset execution sequence, the service analysis module searches any one service data information which is not matched with the preset execution sequence in at least two service data information, determines any one service data information as problem information, records the storage information of any one service data information and finally generates a test result.
In the embodiment of the invention, the storage information comprises the position information and the time information of any one business data information, and the selection record is specifically performed according to the actual situation, and the embodiment of the invention is not particularly limited.
In the embodiment of the invention, the report structure processing module feeds back the test result to the external data processing module, and the external data processing module feeds back the test result to the test platform or external application.
In the embodiment of the invention, the report interface processing module is responsible for recording the test result and converting the test result into different data forms.
Optionally, the data format includes a text format and a graphic format, and is specifically selected according to practical situations, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the invention, the external data processing module is responsible for interacting data with an external application or a test platform, and packages various functions into a callable interface.
Exemplary, as shown in fig. 3, the interaction process between each module in the log analysis system is: the test platform or external application initiates the traffic analysis module by sending a command, message to the traffic analysis module. The business analysis module calls the rule analysis module by sending a command and a message to the rule analysis module, the rule analysis module obtains a preset rule file, sends the command and the message to the log data module to call the log data module, the log data module obtains original log data from a test log, sends the original log data to the rule analysis module, the rule analysis module screens at least two business data information from the original log data according to the preset rule file, sends the preset rule file and the at least two business data information to the business analysis module, and the business analysis module matches the preset rule file and the at least two business data information and sends a matching result to a test platform or external application.
It can be understood that the log analysis system presets preset rule log information and a corresponding preset execution sequence, preset rule attribute information and preset execution length, extracts at least two pieces of service data information to be matched from the test log according to the preset rule attribute information, and sequentially matches the preset rule log information with the at least two pieces of service data information based on the preset execution sequence and the preset execution length, and when the preset rule log information is not matched with the at least two pieces of service data information, determines problem information from the at least two pieces of service data information, so that after the preset rule log information and the corresponding preset execution sequence are preset by a tester, the log analysis system can automatically locate the problem information from the test log according to the preset rule log information, the preset rule attribute information and the preset execution sequence, thereby improving the intelligence of locating the product problem.
Example two
An embodiment of the present invention provides a log analysis method, as shown in fig. 4, the method may include:
s201, the log analysis system sets a preset rule file corresponding to the current business process according to a predefined file format.
The log analysis method provided by the embodiment of the invention is suitable for a scene of analyzing the test log in an automatic test process.
In the embodiment of the invention, a tester sets a preset rule file corresponding to the current business flow according to a predefined file format.
In the embodiment of the invention, the format of the preset rule file is an Excel document format.
Optionally, the predefined file format includes the following: 1. step, step number of business process; 2. searching a window number, wherein the message corresponds to the category of the log file; 3. primitive name, name of log file corresponding to message; 4. other columns/summary information, the message corresponding to the extension information of the log file; 5. a web browser of interest (IE, internet Explorer), the message corresponding to the detailed information of the log file; 6. and printing information, and reporting the printing information of the result.
S202, the log analysis system extracts preset rule log information from a preset rule file according to a predefined rule data structure, wherein the preset rule log information is arranged according to a preset execution sequence, and the length of the preset rule log information is log information with a preset execution length.
When the log analysis system sets the preset rule file, the log analysis system extracts the preset rule log information from the preset rule file according to the predefined rule data structure, wherein the preset rule log information is arranged according to a preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
In the embodiment of the invention, the log analysis system extracts the preset rule file according to the predefined rule data structure.
Alternatively, the predefined rule data structure may be:
{
this.rulefilename;
this.stepindex;
this.sheetname;
this.sheetindex;
this.wndtype;
this.msgname;
this.msgid;
this.othername;
this.ieinfo;
this.printinfo;
}
in the embodiment of the invention, the preset rule file comprises preset rule log information and a preset execution sequence, wherein the preset rule log information comprises preset rule attribute information, and the preset rule attribute information comprises preset log names, preset log extension information and preset log detailed information.
In the embodiment of the invention, the preset log name corresponds to 3 and primitive name; presetting log expansion information corresponding to 4 and other columns/summary information; presetting an IE (information element) of interest corresponding to the detailed information of the log in 5; the preset execution sequence corresponds to 1 step.
In the embodiment of the present invention, as shown in fig. 2, the composition module of the log analysis system includes: the system comprises a service analysis module, a rule analysis module and a log data module, wherein the service analysis module comprises a service analysis main control module, a service data processing module, an external data processing module and a report result processing module; the rule analysis module comprises a rule extraction module and a rule data analysis module.
In the embodiment of the invention, after a test log is generated by testing the current service flow, an automatic test platform or an external application calls a service analysis module to start the service analysis module, the service analysis module calls a rule analysis module, and a rule extraction module in the rule analysis module extracts a preset rule file according to a predefined rule data structure.
In the embodiment of the invention, the main function of the rule analysis module is to extract a preset rule file and extract at least two pieces of service data information from original log data. The rule analysis module adopts Java to realize the corresponding function. The rule analysis module provides the following 3 interfaces: checkProc for rule analysis data; getRuleMeg, which is used for screening log data; readFile for extracting rule file; the rule extraction module extracts the preset rule file by the following files: 1. rule_parameter_excel. Js, which is responsible for processing Excel files, converting preset rule files into preset rule structure data, and storing the preset rule structure data in an internal database; 2. rule_msgsruct.js, this file defines the specific storage structure of the log message; 3. rule_adp.js, the file is responsible for the rule preset rule structure data and the adaptation function of the preset rule file, and the encapsulation interface is provided for an external module to use.
S203, the log analysis system acquires original log data from a test log generated by testing the current business process, and acquires original log attribute information corresponding to the original log data.
After the log analysis system obtains the log information with preset rules, a tester needs to test the current business flow on the test platform, and the log analysis system obtains the original log data from the generated test log and the original log attribute information corresponding to the original log data.
In the embodiment of the invention, a tester tests the current business process by executing the test case on the automatic test platform, and a test log is generated when the automatic test platform tests the current business process.
In the embodiment of the invention, the main function of the log data module is to acquire original log data from a test log, wherein the test log is a binary data file, each record in the test log is a message, and the log data module adopts C++ to realize the corresponding function and enables the corresponding function to be called by a script. The log data module provides the following 4 interfaces: readFile for reading the specified log file; getMsg is used for obtaining the general field of the appointed message; getDecode for obtaining a specified message decoding structure; decodeMsg for retrieving a specified message decoding structure or a specified field.
In the embodiment of the invention, the log data module acquires the original log data and the corresponding original log attribute information from the test log, and returns the original log data to the rule data processing module.
S204, the log analysis system sequentially matches the original log attribute information with the preset rule attribute information.
When the log analysis system acquires the original log data and the corresponding original log attribute information, the log analysis system screens at least two business data information from the original log data according to the original log attribute information and the preset rule attribute information, and firstly, the log analysis system matches the original log attribute information with the preset rule attribute information in sequence.
In the embodiment of the invention, the rule data analysis module sequentially matches the original log attribute information with the preset rule attribute information so as to determine the attribute information matched with the preset rule attribute information from the original log attribute information.
S205, when at least two pieces of log attribute information in the original log attribute information are matched with the preset rule attribute information, the log analysis system extracts at least two pieces of log data corresponding to the at least two pieces of log attribute information from the original log data.
When at least two pieces of log attribute information in the original log attribute information are matched with the preset rule attribute information, the log analysis system extracts at least two pieces of log data corresponding to the at least two pieces of log attribute information from the original log data.
In the embodiment of the invention, when at least two pieces of log attribute information in original log attribute information are matched with preset rule attribute information, a rule data analysis module extracts at least two pieces of log data corresponding to the at least two pieces of log attribute information from the original log data
In the embodiment of the invention, the rule data analysis module comprises the following two files: 1. the file is responsible for circularly acquiring and screening original log data according to preset rule log information, and at least two pieces of service data information are finally generated; 2. log_dispose.js, this file is responsible for calling the interface of the log data module, extracting the original log data.
S206, the log analysis system converts at least two pieces of log data into at least two pieces of business data information according to a preset conversion format.
After the log analysis system determines at least two log data from the original log data, the log analysis system converts the at least two log data into at least two business data information according to a preset conversion format.
In the embodiment of the invention, the log analysis system sends at least two log data to the service data processing module, the service data processing module processes the at least two log data into at least two service data information, and sends the at least two service data information to the service analysis module.
S207, the log analysis system determines initial rule log information arranged in the first bit from preset rule log information according to a preset execution sequence, and searches the initial rule log information in at least two pieces of service data information.
When the log analysis system determines at least two pieces of service data information from the original log data, the log analysis system screens out the problem information from the at least two pieces of service data information, specifically, the log analysis system screens out the problem information from the at least two pieces of service data information by judging whether the at least two pieces of service data information are arranged according to a preset execution sequence, firstly, the log analysis system determines initial rule log information arranged in the first bit from the preset rule log information according to the preset execution sequence, and searches the initial rule log information from the at least two pieces of service data information.
In the embodiment of the invention, a service analysis module acquires preset rule log information arranged according to a preset execution sequence from a rule extraction module, determines starting rule log information arranged at the first position from the preset rule log information, and searches for the starting rule log information in at least two service data information.
In the embodiment of the invention, the service analysis module adopts a Javascript language to realize the function of the module and provides a Parsefile analysis master control interface.
S208, starting from the initial rule log information, the log analysis system determines the service data information to be matched with the preset execution length from at least two service data information.
When the log analysis system searches the initial rule log information in the at least two pieces of service data information, the log analysis system starts from the initial rule log information, and determines the service data information to be matched with the preset execution length from the at least two pieces of service data information.
In the embodiment of the invention, the service analysis module starts from the initial rule log information and determines the service data information to be matched with the preset execution length from at least two service data information.
S209, the log analysis system determines the current execution sequence of the business data information to be matched, and matches the current execution sequence with a preset execution sequence.
When the log analysis system determines the business data information to be matched in the at least two business data information, the log analysis system determines the current execution sequence of the business data information to be matched, and matches the current execution sequence with the preset execution sequence.
In the embodiment of the invention, the service analysis module determines the current execution sequence of the service data information to be matched, and matches the current execution sequence with the preset execution sequence.
And S210, when the current execution sequence is matched with the preset execution sequence, representing that the preset rule log information is matched with at least two pieces of service data information.
When the log analysis system judges that the current execution sequence is matched with the preset execution sequence, the log information representing the preset rule is matched with at least two pieces of business data information.
S211, when the current execution sequence and the preset execution sequence are not matched, representing that the preset rule log information is not matched with at least two pieces of service data information.
And when the log analysis system judges that the current execution sequence is not matched with the preset execution sequence, characterizing that the preset rule log information is not matched with at least two pieces of service data information.
S212, when the log information of the preset rule is not matched with at least two pieces of service data information, the log analysis system determines any piece of service data information which is not matched with the preset execution sequence from the at least two pieces of service data information.
When the log analysis system judges that the log information of the preset rule is not matched with at least two pieces of service data information, the log analysis system determines any piece of service data information which is not matched with the preset execution sequence from the at least two pieces of service data information.
In the embodiment of the invention, when the service analysis module judges that the current execution sequence is not matched with the preset execution sequence, the service analysis module searches any one service data information which is not matched with the preset execution sequence in at least two service data information.
S213, the log analysis system determines any one piece of service data information as problem information and records the position information and time information of any one piece of service data information.
When the log analysis system determines any one of the at least two pieces of service data information, the log analysis system records the position information and the time information of any one of the pieces of service data information.
In the embodiment of the invention, the log analysis system determines any one piece of service data information as the problem information, records the position information and the time information of any one piece of service data information, and particularly selects and records according to actual conditions.
In the embodiment of the invention, the report structure processing module feeds back the test result to the external data processing module, and the external data processing module feeds back the test result to the test platform or external application.
In the embodiment of the invention, the report interface processing module is responsible for recording the test result and converting the test result into different data forms.
Optionally, the data format includes a text format and a graphic format, and is specifically selected according to practical situations, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the invention, the external data processing module is responsible for interacting data with an external application or a test platform, and packages various functions into a callable interface.
Exemplary, as shown in fig. 3, the interaction process between each module in the log analysis system is: the test platform or external application initiates the traffic analysis module by sending a command, message to the traffic analysis module. The business analysis module calls the rule analysis module by sending a command and a message to the rule analysis module, the rule analysis module obtains a preset rule file, sends the command and the message to the log data module to call the log data module, the log data module obtains original log data from a test log, sends the original log data to the rule analysis module, the rule analysis module screens at least two business data information from the original log data according to the preset rule file, sends the preset rule file and the at least two business data information to the business analysis module, and the business analysis module matches the preset rule file and the at least two business data information and sends a matching result to a test platform or external application.
Exemplary, as shown in fig. 5, the process of obtaining the test result through log analysis includes:
1. the test platform or external application starts the service analysis module.
2. The business analysis module invokes the rule analysis module.
3. The rule analysis module extracts rule files to obtain preset rule log information which is arranged according to a preset execution sequence, wherein the preset rule log information comprises preset rule attribute information.
4. The log data module acquires original log data from the test log and sends the original log data to the rule data analysis module.
5. The rule data analysis module converts the original log data into at least two log data according to preset rule attribute information, and sends the at least two log data to the service data analysis module.
6. The business data analysis module processes the at least two pieces of log data into at least two pieces of business data information, and sends the at least two pieces of business data information to the business analysis module.
7. The business analysis module determines initial rule log information in at least two pieces of business data information, and determines business data information to be matched with a preset execution length from the initial rule log information.
8. The business analysis module sequentially judges whether the business data information to be matched is arranged according to a preset execution sequence.
9. And when the service data information to be matched is arranged according to the preset execution sequence, setting the test result as passing.
10. When any one of the business data information to be matched is not arranged according to the preset execution sequence, the test result is set as not passing, and error position and time information are stored.
11. The report result processing module feeds back the result to the external data processing module, and the external data processing module feeds back the result data to the test platform or the external application.
It can be understood that the log analysis system presets preset rule log information and a corresponding preset execution sequence, preset rule attribute information and preset execution length, extracts at least two pieces of service data information to be matched from the test log according to the preset rule attribute information, and sequentially matches the preset rule log information with the at least two pieces of service data information based on the preset execution sequence and the preset execution length, and when the preset rule log information is not matched with the at least two pieces of service data information, determines problem information from the at least two pieces of service data information, so that after the preset rule log information and the corresponding preset execution sequence are preset by a tester, the log analysis system can automatically locate the problem information from the test log according to the preset rule log information, the preset rule attribute information and the preset execution sequence, thereby improving the intelligence of locating the product problem.
Step S210 and step S211-step S213 are two parallel steps after step S209, and are specifically selected and executed according to practical situations, which are not specifically limited in the embodiment of the present invention.
Example III
An embodiment of the present invention provides a log analysis system 1, as shown in fig. 6, the log analysis system 1 includes:
and the acquiring unit 10 is used for acquiring the original log data from the test log generated by testing the current service flow.
The extracting unit 11 is configured to extract at least two pieces of service data information from the original log data according to preset rule attribute information, where the preset rule attribute information is log attribute information corresponding to preset rule log information.
And a matching unit 12, configured to match the preset rule log information with the at least two service data information sequentially based on a preset execution sequence and a preset execution length.
And a recording unit 13, configured to determine problem information from the at least two service data information when the preset rule log information does not match the at least two service data information.
Optionally, based on fig. 6, as shown in fig. 7, the log analysis system 1 further includes: a setting unit 14.
The setting unit 14 is configured to preset a preset rule file corresponding to the current service flow according to a predefined file format.
The extracting unit 11 is specifically configured to extract, according to a predefined rule data structure, the preset rule log information from the preset rule file, where the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
Optionally, based on fig. 6, as shown in fig. 8, the log analysis system 1 further includes: a conversion unit 15.
The obtaining unit 10 is further configured to obtain original log attribute information corresponding to the original log data.
The matching unit 12 is further configured to match the original log attribute information with the preset rule attribute information in sequence.
The extracting unit 11 is further configured to extract at least two log data corresponding to at least two log attribute information from the original log data when the at least two log attribute information in the original log attribute information matches the preset rule attribute information.
The conversion unit 15 is configured to convert the at least two log data into the at least two service data information according to a preset conversion format.
Optionally, based on fig. 6, as shown in fig. 9, the log analysis system 1 further includes: a determining unit 16 and a finding unit 17.
The determining unit 16 is configured to determine starting rule log information arranged in a first bit from the preset rule log information according to the preset execution sequence; starting from the initial rule log information, determining the service data information to be matched with the preset execution length from the at least two service data information; determining the current execution sequence of the service data information to be matched;
the searching unit 17 is configured to search the starting rule log information in the at least two service data information;
the matching unit 12 is further configured to match the current execution sequence with the preset execution sequence; when the current execution sequence is matched with the preset execution sequence, characterizing that the preset rule log information is matched with the at least two pieces of service data information; and when the current execution sequence and the preset execution sequence are not matched, characterizing that the preset rule log information is not matched with the at least two pieces of business data information.
Optionally, the determining unit 16 is further configured to determine, from the at least two service data information, any service data information that does not match the preset execution sequence; and determining any one piece of business data information as the problem information.
Optionally, the recording unit 13 is further configured to record location information and time information of the arbitrary service data information.
Optionally, the preset rule attribute information includes: preset log name, preset log extension information and preset log detailed information.
In practical application, under the same inventive concept based on the first and second embodiments, as shown in fig. 10, the log analysis system 1 may include: processor 18, memory 19, communication interface 110, and bus 111;
the above-mentioned acquisition unit 10, extraction unit 11, matching unit 12, recording unit 13, setting unit 14, conversion unit 15, determination unit 16 and finding unit 17 may be implemented by a processor 18 located on the log analysis system 1, and the above-mentioned processor 18 may be at least one of an application specific integrated circuit (ASIC, application Specific Integrated Circuit), a digital signal processor (DSP, digital Signal Processor), a digital signal processing device (DSPD, digital Signal Processing Device), a programmable logic device (PLD, programmable Logic Device), a field programmable gate array (FPGA, field Programmable Gate Array), a central processing unit (CPU, central Processing Unit), a controller, a microcontroller, a microprocessor. It will be appreciated that the electronic device for implementing the above-mentioned first processor function may be other for different apparatuses, and that the embodiment of the present invention is not limited in particular, and the log analysis system 1 further includes a memory 19, where the memory 19 is configured to store executable program code, the program code includes computer operation instructions, and the memory 19 may include a high-speed RAM memory, and may further include a nonvolatile memory, for example, at least one disk memory.
The bus 111 is used to connect the communication interface 110, the processor 18 and the memory 19 and the intercommunication among these devices;
the communication interface 110 is configured to perform data transmission with an external network element;
the memory 19 is used for storing instructions and data;
the processor 18 executes the instructions for: acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information;
and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information.
In practical applications, the Memory 19 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a nonvolatile second Memory (non-volatile Memory), such as a Read-Only second Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD) or a Solid State Drive (SSD); or a combination of the above types of secondary storage and provides instructions and data to the processor 18.
In addition, each functional module in the present embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional modules.
The integrated units, if implemented in the form of software functional modules, may be stored in a computer-readable storage medium, if not sold or used as separate products, and based on such understanding, the technical solution of the present embodiment may be embodied essentially or partly in the form of a software product, which is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform all or part of the steps of the method described in the present embodiment. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
An embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program for use in the log analysis system 1, which when executed by the processor 18 implements the method as described in embodiments one and two.
Specifically, the program instructions corresponding to one method of log analysis in the present embodiment may be stored on a storage medium such as an optical disc, a hard disk, or a usb disk, and when the computer program instructions corresponding to one method of log analysis in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information;
and when the preset rule log information is not matched with the at least two pieces of service data information, determining problem information from the at least two pieces of service data information.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. A method of log analysis, the method comprising:
acquiring original log data from a test log generated by testing a current business process, and extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
Based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information;
when the preset rule log information is not matched with the at least two pieces of service data information, problem information is determined from the at least two pieces of service data information;
before the original log data is obtained from the test log generated by testing the current business process, the method further comprises:
setting a preset rule file corresponding to the current business process according to a predefined file format;
and extracting the preset rule log information from the preset rule file according to a predefined rule data structure, wherein the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
2. The method according to claim 1, wherein extracting at least two pieces of service data information from the original log data according to the preset rule attribute information includes:
acquiring original log attribute information corresponding to the original log data;
sequentially matching the original log attribute information with the preset rule attribute information;
When at least two pieces of log attribute information in the original log attribute information are matched with the preset rule attribute information, at least two pieces of log data corresponding to the at least two pieces of log attribute information are extracted from the original log data;
and converting the at least two pieces of log data into the at least two pieces of business data information according to a preset conversion format.
3. The method according to claim 1, wherein sequentially matching the at least two service data information with the preset rule log information based on a preset execution order and a preset execution length, comprises:
determining initial rule log information arranged in the first bit from the preset rule log information according to the preset execution sequence, and searching the initial rule log information in the at least two pieces of service data information;
starting from the initial rule log information, determining the service data information to be matched with the preset execution length from the at least two service data information;
determining the current execution sequence of the business data information to be matched, and matching the current execution sequence with the preset execution sequence;
When the current execution sequence is matched with the preset execution sequence, characterizing that the preset rule log information is matched with the at least two pieces of service data information;
and when the current execution sequence and the preset execution sequence are not matched, characterizing that the preset rule log information is not matched with the at least two pieces of business data information.
4. A method according to claim 3, wherein said determining problem information from said at least two pieces of service data information comprises:
determining any one business data information which is not matched with the preset execution sequence from the at least two business data information;
and determining any one piece of business data information as the problem information.
5. The method of claim 4, wherein after determining problem information from the at least two pieces of traffic data information, the method further comprises:
and recording the position information and the time information of any one business data information.
6. The method of claim 1, wherein the preset rule attribute information comprises: preset log name, preset log extension information and preset log detailed information.
7. A log analysis system, the log analysis system comprising:
the acquisition unit is used for acquiring original log data from a test log generated by testing the current business process;
the extraction unit is used for extracting at least two pieces of business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to preset rule log information;
the matching unit is used for sequentially matching the preset rule log information with the at least two pieces of service data information based on a preset execution sequence and a preset execution length;
the recording unit is used for determining problem information from the at least two pieces of business data information when the preset rule log information is not matched with the at least two pieces of business data information;
the log analysis system further includes: a setting unit;
the setting unit is used for presetting a preset rule file corresponding to the current business process according to a predefined file format;
the extraction unit is specifically configured to extract, according to a predefined rule data structure, the preset rule log information from the preset rule file, where the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
8. The log analysis system of claim 7, wherein the log analysis system further comprises: a conversion unit;
the acquisition unit is further used for acquiring original log attribute information corresponding to the original log data;
the matching unit is further used for sequentially matching the original log attribute information with the preset rule attribute information;
the extracting unit is further configured to extract at least two log data corresponding to at least two log attribute information from the original log data when the at least two log attribute information in the original log attribute information matches the preset rule attribute information;
the conversion unit is configured to convert the at least two log data into the at least two service data information according to a preset conversion format.
9. The log analysis system of claim 7, wherein the log analysis system further comprises: a determining unit and a searching unit;
the determining unit is used for determining initial rule log information arranged at the first position from the preset rule log information according to the preset execution sequence; starting from the initial rule log information, determining the service data information to be matched with the preset execution length from the at least two service data information; determining the current execution sequence of the service data information to be matched;
The searching unit is used for searching the initial rule log information in the at least two pieces of service data information;
the matching unit is further configured to match the current execution sequence with the preset execution sequence; when the current execution sequence is matched with the preset execution sequence, characterizing that the preset rule log information is matched with the at least two pieces of service data information; and when the current execution sequence and the preset execution sequence are not matched, characterizing that the preset rule log information is not matched with the at least two pieces of business data information.
10. The log analysis system of claim 9, wherein the log analysis system comprises,
the determining unit is further configured to determine any one service data information that is not matched with the preset execution sequence from the at least two service data information; and determining any one piece of business data information as the problem information.
11. The log analysis system of claim 10 wherein the log analysis system comprises a plurality of log analysis systems,
the recording unit is further used for recording the position information and the time information of any one business data information.
12. The log analysis system according to claim 7, wherein the preset rule attribute information comprises: preset log name, preset log extension information and preset log detailed information.
13. A log analysis system, the log analysis system comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the operations of:
the processor is used for acquiring original log data from a test log generated by testing the current business process, extracting at least two business data information from the original log data according to preset rule attribute information, wherein the preset rule attribute information is log attribute information corresponding to the preset rule log information; based on a preset execution sequence and a preset execution length, sequentially matching the preset rule log information with the at least two pieces of service data information; when the preset rule log information is not matched with the at least two pieces of service data information, problem information is determined from the at least two pieces of service data information;
the processor is further configured to set a preset rule file corresponding to the current service flow according to a predefined file format; and extracting the preset rule log information from the preset rule file according to a predefined rule data structure, wherein the preset rule log information is arranged according to the preset execution sequence, and the length of the preset rule log information is the log information of the preset execution length.
14. A computer readable storage medium having stored thereon a computer program for use in a log analysis system, which computer program, when executed by a processor, implements the method according to any of claims 1-6.
CN201710881776.2A 2017-09-26 2017-09-26 Log analysis method and system Active CN110019067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710881776.2A CN110019067B (en) 2017-09-26 2017-09-26 Log analysis method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710881776.2A CN110019067B (en) 2017-09-26 2017-09-26 Log analysis method and system

Publications (2)

Publication Number Publication Date
CN110019067A CN110019067A (en) 2019-07-16
CN110019067B true CN110019067B (en) 2023-05-30

Family

ID=67186375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710881776.2A Active CN110019067B (en) 2017-09-26 2017-09-26 Log analysis method and system

Country Status (1)

Country Link
CN (1) CN110019067B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143162A (en) * 2020-08-13 2022-03-04 中盈优创资讯科技有限公司 Rule matching method of network equipment syslog information based on cache
CN112363904B (en) * 2020-11-30 2022-11-22 歌尔科技有限公司 Log data analysis positioning method and device and computer readable storage medium
CN112783799B (en) * 2021-03-19 2024-05-17 中国工商银行股份有限公司 Software daemon testing method and device
CN113031995B (en) * 2021-05-21 2021-09-14 北京神州泰岳智能数据技术有限公司 Rule updating method and device, storage medium and electronic equipment
CN113792019B (en) * 2021-08-03 2023-08-18 RealMe重庆移动通信有限公司 Analysis method, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717085A (en) * 2013-12-16 2015-06-17 中国移动通信集团湖南有限公司 Log parsing method and device
CN105491060A (en) * 2015-12-30 2016-04-13 北京神州绿盟信息安全科技股份有限公司 Method and device for defending attack of distribution denial of service (DDOS), client and defense device
CN106980627A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 The display methods and device of log content
CN107145445A (en) * 2017-05-05 2017-09-08 携程旅游信息技术(上海)有限公司 The automatic analysis method and system of the daily record that reports an error of software automated testing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8549138B2 (en) * 2010-10-01 2013-10-01 Microsoft Corporation Web test generation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717085A (en) * 2013-12-16 2015-06-17 中国移动通信集团湖南有限公司 Log parsing method and device
CN105491060A (en) * 2015-12-30 2016-04-13 北京神州绿盟信息安全科技股份有限公司 Method and device for defending attack of distribution denial of service (DDOS), client and defense device
WO2017114175A1 (en) * 2015-12-30 2017-07-06 北京神州绿盟信息安全科技股份有限公司 Method, apparatus, client and device for defending distributed denial of service attack
CN106980627A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 The display methods and device of log content
WO2017124704A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Method and apparatus for displaying log content
CN107145445A (en) * 2017-05-05 2017-09-08 携程旅游信息技术(上海)有限公司 The automatic analysis method and system of the daily record that reports an error of software automated testing

Also Published As

Publication number Publication date
CN110019067A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN110019067B (en) Log analysis method and system
CN108319547B (en) Test case generation method, device and system
CN111061643B (en) SDK cluster compatibility detection method and device, electronic equipment and storage medium
US9632899B2 (en) Method for analyzing request logs in advance to acquire path information for identifying problematic part during operation
CN112532490A (en) Regression testing system and method and electronic equipment
US10540325B2 (en) Method and device for identifying junk picture files
WO2017017691A1 (en) Testing computing devices
CN106557419B (en) Program testing method and device
CN110908903B (en) Test method based on editable YAML file
US11422917B2 (en) Deriving software application dependency trees for white-box testing
CN110928946A (en) Document editing method and device and terminal equipment
CN108268369B (en) Test data acquisition method and device
CN112346981A (en) Joint debugging test coverage rate detection method and system
CN112612750A (en) File content processing method and device, electronic equipment and readable storage medium
CN110442439B (en) Task process processing method and device and computer equipment
JP2015185027A (en) Job discrimination program, device and method
CN112486824B (en) Case code generation method, device, computer equipment and storage medium
CN114330278A (en) Method and equipment for judging consistency of returned data
CN108132971B (en) Analysis method and device for database fragment files
CN110908876B (en) Method and device for acquiring hardware performance data
CN112380116A (en) Browser comparison test method and device and browser data forwarding method
CN107844491B (en) Method and equipment for realizing strong consistency read operation in distributed system
CN111638905A (en) Version number generation method and device, electronic equipment and readable storage medium
CN107229564B (en) Pressure simulation method and device
JPWO2020065778A1 (en) Information processing equipment, control methods, and programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant