CN110019067A - A kind of log analysis method and system - Google Patents

A kind of log analysis method and system Download PDF

Info

Publication number
CN110019067A
CN110019067A CN201710881776.2A CN201710881776A CN110019067A CN 110019067 A CN110019067 A CN 110019067A CN 201710881776 A CN201710881776 A CN 201710881776A CN 110019067 A CN110019067 A CN 110019067A
Authority
CN
China
Prior art keywords
information
log
preset rules
service data
default
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.)
Granted
Application number
CN201710881776.2A
Other languages
Chinese (zh)
Other versions
CN110019067B (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.)
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics 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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics 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

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 kind of log analysis method and systems, this method comprises: from the test log that test current business process generates, obtain log data, and according to preset rules attribute information, at least two service data informations are extracted from log data, preset rules attribute information is the corresponding log properties information of preset rules log information;Based on default execution sequence and default execution length, successively preset rules log information is matched at least two service data informations;When preset rules log information and at least two service data informations mismatch, problem information is determined from least two service data informations.

Description

A kind of log analysis method and system
Technical field
The present invention relates to computer field more particularly to a kind of log analysis method and systems.
Background technique
During product development, in order to guarantee the quality of product, it usually needs product is tested, it is common to survey Method for testing has manual test and automatic test.It compares with for manual test, automatic test is surveyed due to testing efficiency height The advantages that examination time is short, is usually utilized to do regression test.Under normal conditions, tester executes on automatic test platform Test case, automatic test platform can generate log abundant during implementation of test cases, work as implementation of test cases Test result be it is obstructed out-of-date, tester by check implementation of test cases generate log, carry out asking for positioning product Topic.
However, can generate a large amount of log when implementation of test cases, tester finds out generation from a large amount of log When the message of problem, it will lead to that search efficiency is low, thus the problem that the intelligence for leading to the problem of positioning product is low.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of log analysis method and system, Neng Gouti The intelligence of high positioning problems.
The embodiment of the present invention provides a kind of log analysis method, this method comprises:
From the test log that test current business process generates, log data is obtained, and according to preset rules category Property information, extracts at least two service data informations, the preset rules attribute information is from the log data The corresponding log properties information of preset rules log information;
Based on default execution sequence and default execution length, successively by the preset rules log information and described at least two A service data information is matched;
When the preset rules log information and at least two service data information mismatch, from described at least two Problem information is determined in a service data information.
In the above-mentioned methods, described from the test log that test current business process generates, obtain log data Before, the method also includes:
According to predefined file format, the corresponding preset rules file of the current business process is set;
According to predefined rule data structure, the preset rules log letter is extracted from the preset rules file Breath, the preset rules log information is tactic according to the default execution, and length is the default execution length Log information.
In the above-mentioned methods, described according to preset rules attribute information, it is extracted at least from the log data Two service data informations, comprising:
Obtain the corresponding original log attribute information of the log data;
Successively the original log attribute information is matched with the preset rules attribute information;
When in the original log attribute information at least two log properties information and the preset rules attribute information When matching, the corresponding at least two logs number of at least two log properties information is extracted from the log data According to;
By at least two daily record data, believe according to default conversion format conversion at least two business datum Breath.
In the above-mentioned methods, described that length is executed with default based on default execution sequence, successively by least two industry Business data information is matched with the preset rules log information, comprising:
According to it is described it is default execute sequence, determine to be arranged in primary starting from the preset rules log information Regular log information, and the regular log information of the starting is searched at least two service data information;
Since the regular log information of the starting, determined at least two service data information described default Execute the service data information to be matched of length;
Determine that the current of the service data information to be matched executes sequence, and the current execution is sequentially and described pre- If execution sequence is matched;
When the current execution sequence and the default execution sequence match, characterize the preset rules log information with At least two service data informations matching;
When the current execution sequence and the default execution sequence mismatch, the preset rules log information is characterized It is mismatched at least two service data information.
It is in the above-mentioned methods, described to determine problem information from least two service data information, comprising:
From at least two service data information, determine with the default execution sequence it is unmatched any one Service data information;
Any one described service data information is determined as described problem information.
In the above-mentioned methods, described after determining problem information at least two service data information, it is described Method further include:
Record the location information and temporal information of any one service data information.
In the above-mentioned methods, the preset rules attribute information include: default Log Names, default extended log files information and Default log details.
The embodiment of the present invention provides a kind of Log Analysis System, and the Log Analysis System includes:
Acquiring unit, for obtaining log data from the test log that test current business process generates;
Extraction unit, for extracting at least two from the log data according to preset rules attribute information Service data information, the preset rules attribute information are the corresponding log properties information of preset rules log information;
Matching unit successively believes the preset rules log for executing length with default based on default execution sequence Breath is matched at least two service data information;
Recording unit, for being mismatched when the preset rules log information and at least two service data information When, problem information is determined from least two service data information.
In above-mentioned Log Analysis System, the Log Analysis System further include: setting unit;
The setting unit, for it is corresponding pre- to preset the current business process according to predefined file format If rule file;
The extraction unit is specifically used for being extracted from the preset rules file according to predefined rule data structure The preset rules log information out, the preset rules log information are tactic and long according to the default execution Degree is the default log information for executing length.
In above-mentioned Log Analysis System, the Log Analysis System further include: conversion unit;
The acquiring unit is also used to obtain the corresponding original log attribute information of the log data;
The matching unit, be also used to successively by the original log attribute information and the preset rules attribute information into Row matching;
The extraction unit is also used to work as at least two log properties information in the original log attribute information and institute When stating the matching of preset rules attribute information, at least two log properties information pair is extracted from the log data At least two daily record datas answered;
The conversion unit, for by least two daily record data, according to default conversion format conversion at it is described extremely Few two service data informations.
In above-mentioned Log Analysis System, the Log Analysis System further include: determination unit and searching unit;
The determination unit, for according to it is described it is default execute sequence, determined from the preset rules log information It is arranged in the regular log information of primary starting;Since the regular log information of the starting, at least two business The default service data information to be matched for executing length is determined in data information;Determine the business datum letter to be matched The current of breath executes sequence;
The searching unit, for searching the regular log letter of the starting at least two service data information Breath;
The matching unit is also used to match the current execution sequence and the default execution sequence;Work as institute When stating current execution sequence and the default execution sequence matching, the preset rules log information and described at least two is characterized Service data information matching;When the current execution sequence and the default execution sequence mismatch, the default rule are characterized Then log information and at least two service data information mismatch.
In above-mentioned Log Analysis System, the determination unit is also used to from least two service data information, It determines and any one unmatched service data information of the default execution sequence;It will any one business datum letter Breath is determined as described problem information.
In above-mentioned Log Analysis System, the recording unit is also used to record any one described service data information Location information and temporal information.
In above-mentioned Log Analysis System, the preset rules attribute information includes: default Log Names, default log expansion Open up information and default log details.
The embodiment of the present invention provides a kind of Log Analysis System, the Log Analysis System include: memory, processor and The computer program that can be run on a memory and on a processor is stored, when said program is executed by a processor, is executed such as Lower operation:
The processor, for obtaining log data from the test log that test current business process generates, and According to preset rules attribute information, at least two service data informations are extracted from the log data, it is described default Rules properties information is the corresponding log properties information of preset rules log information;Based on default execution sequence and default executive chairman Degree, successively matches the preset rules log information at least two service data information;When the default rule When then log information and at least two service data information mismatch, determined from least two service data information Go wrong information.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, is applied to day Will analysis system, which is characterized in that the computer program realizes log as described in any one of the above embodiments point when being executed by processor Analysis method.
The embodiment of the invention provides a kind of log analysis method and system, this method may include: from the current industry of test In the test log that process of being engaged in generates, log data is obtained, and according to preset rules attribute information, from log data In extract at least two service data informations, preset rules attribute information is the corresponding log properties of preset rules log information Information;Based on default execution sequence and default execution length, successively by preset rules log information and at least two business datums Information is matched;When preset rules log information and at least two service data informations mismatch, from least two business Problem information is determined in data information.Using the above method, Log Analysis System preset preset rules log information and It is corresponding it is default execute sequence, preset rules attribute information and it is default execute length, Log Analysis System is according to preset rules category Property information extract at least two service data informations to be matched from test log, and based on default execution sequence and default Length is executed, is successively matched preset rules log information at least two service data informations, when preset rules log When information and at least two service data informations mismatch, problem information is determined from least two service data informations, is made Tester is obtained after pre-setting preset rules log information and corresponding default execution sequence, Log Analysis System energy Automatically according to preset rules log information, preset rules attribute information and it is default execute sequence, oriented from test log Problem information, to improve the intelligence of positioning product problem.
Detailed description of the invention
Fig. 1 is a kind of flow chart one of log analysis method provided in an embodiment of the present invention;
Fig. 2 is a kind of module distribution figure of illustrative Log Analysis System provided in an embodiment of the present invention;
Fig. 3 is interaction between a kind of middle modules of illustrative Log Analysis System provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of flowchart 2 of log analysis method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of illustrative log analysis method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram one of Log Analysis System provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram two of Log Analysis System provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram three of Log Analysis System provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram four of Log Analysis System provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram five of Log Analysis System provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Embodiment one
The embodiment of the present invention provides a kind of log analysis method, as shown in Figure 1, this method may include:
S101, from the test log that test current business process generates, log data is obtained, and according to default rule Then attribute information, extracts at least two service data informations from log data, and preset rules attribute information is default The corresponding log properties information of regular log information.
A kind of log analysis method provided in an embodiment of the present invention analyzes test log suitable for automatic test course Scene under.
In the embodiment of the present invention, tester tests current industry on automatic test platform by implementation of test cases Process of being engaged in can generate test log when automatic test platform tests current business process.
In the embodiment of the present invention, the comprising modules of Log Analysis System are as shown in Fig. 2, Log Analysis System includes: business Analysis module, rule analysis module and daily record data module, wherein business diagnosis module includes business diagnosis main control module, industry Business data processing module, external data processing module and report result treatment module;Rule analysis module includes Rule Extraction mould Block and regular data analysis module.
In the embodiment of the present invention, the major function of daily record data module is that log data is obtained from test log, Wherein, test log is binary data file, and every record in test log becomes message, and daily record data module uses C+ + realize corresponding function, and can be called by script.Daily record data module provides following 4 interfaces: ReadFile, For reading specified journal file;GetMsg, for obtaining specified message universal field;GetDecode, for obtaining specified disappear Breath decoding structure;DecodeMsg, for obtaining specified source codec structure or specific field.
In the embodiment of the present invention, the major function of rule analysis module is to extract preset rules file, from original log number According at least two service data informations of middle extraction.Rule analysis module realizes corresponding function using Java.Rule analysis module Following 3 interfaces: CheckProc are provided, for carrying out rule analysis data;GetRuleMeg, for screening daily record data; ReadFile is used to extracting rule file.
In the embodiment of the present invention, before tester is to current business process implementation of test cases, tester is preparatory The corresponding preset rules file of current business process is set, then further according to predefined rule data structure by preset rules file It extracts.
Optionally, predefined rule data structure can be with are as follows:
{
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 present invention, the format of preset rules file is Excel document format.
In the embodiment of the present invention, preset rules file is arranged according to predefined file format in tester, wherein default rule Then file include preset rules log information and it is default execute sequence, wherein in preset rules log information include preset rules category Property information, preset rules attribute information includes default Log Names, default extended log files information and default log details.
Optionally, the step of predefined file format includes as following: 1, step, operation flow is numbered;2, window is searched Number, message corresponds to the classification of journal file;3, primitive name, message correspond to the title of journal file;4, other column/summary infos, Message corresponds to the extension information of journal file;5, the web browser (IE, Internet Explorer) paid close attention to, message are corresponding The details of journal file;6, type information reports the type information of result.
In the embodiment of the present invention, Log Names corresponding 3, primitive name are preset;Default extended log files information correspondence 4, other column/ Summary info;Default log details correspond to the IE of 5, concern;Default execution sequence corresponding 1, step.
In the embodiment of the present invention, after generating test log by test current business process, automatic test platform Or applications call business diagnosis module to start business diagnosis module, business diagnosis module calling rule analysis module, rule Then the Rule Extraction module in analysis module extracts preset rules file according to predefined rule data structure.
In the embodiment of the present invention, Rule Extraction module is extracted preset rules file by following file: 1, Rule_parse_excel.js, this file are responsible for handling Excel file, and preset rules file is converted to preset rules knot Structure data, and preset rules structured data is stored in internal database;2, rule_msgstruct.js, this file are fixed The justice specific storage organization of log information;3, rule_adp.js, this file are responsible for regular preset rules structured data and pre- If the adaption function of rule file, and package interface is supplied to external module use.
In the embodiment of the present invention, daily record data module obtains log data from test log, and by original log Data return to regular data processing module, and regular data analysis module extracts and preset rules category from log data At least two daily record datas of property information matches, and at least two daily record datas are sent to business data processing module, business At least two daily record datas are processed at least two service data informations by data processing module, and by least two business datums Information is sent to business diagnosis module.
In the embodiment of the present invention, regular data analysis module includes following two file: 1, rule_dispose.js, this A file, which is responsible for recycling according to preset rules log information, obtains and screens log data, ultimately produces at least two business Data information;2, log_dispose.js, this file are responsible for calling the interface of daily record data module, extract original log number According to.
S102, it is based on default execution sequence and default execution length, successively by preset rules log information and at least two Service data information is matched.
After Log Analysis System extracts at least two service data informations from log data, log analysis System will execute length with default based on default execution sequence, successively by preset rules log information and at least two business numbers It is believed that breath is had matched.
In the embodiment of the present invention, business diagnosis module obtains tactic pre- according to default execution from Rule Extraction module If regular log information, and determine to be arranged in the regular log information of primary starting from preset rules log information, it Afterwards, business diagnosis module obtains at least two service data informations from business data processing module, and at least two business numbers Regular log information is originated it is believed that searching in breath, since originating regular log information, at least two service data informations Determine the default service data information to be matched for executing length.
Specifically, business diagnosis module searches from least two service data informations and originates regular log information, it Afterwards, since business diagnosis module determine default execution originating regular log information at least two service data informations The service data information to be matched of length.
In the embodiment of the present invention, business diagnosis module realizes the function of the module using Javascript language, and provides Parsefile analyzes host interface.
In the embodiment of the present invention, preset rules log information is arranged according to default execution sequence.
In the embodiment of the present invention, business diagnosis module obtains the current of service data information to be matched and executes sequence, later, Business diagnosis module matches current execution sequence and default execution sequence, when current execution sequence executes sequence with default When matching, characterization preset rules log information is matched at least two service data informations, when current execution sequence is held with default When row sequence mismatches, characterizes preset rules log information and at least two service data informations mismatch.
S103, when preset rules log information and at least two service data informations mismatch, from least two business Problem information is determined in data information.
When Log Analysis System judges preset rules log information and at least two service data informations mismatch, day Will analysis will determine problem information from least two service data informations.
In the embodiment of the present invention, when business diagnosis module judges that current execution sequence and default execution sequence mismatch When, business diagnosis module is searched and any one unmatched business of default execution sequence at least two service data informations Data information, and any one service data information is determined as problem information, record depositing for any one service data information Information is stored up, test result is ultimately generated.
In the embodiment of the present invention, storage information includes the location information and temporal information of any one service data information, Selection record is specifically carried out according to the actual situation, and the embodiment of the present invention does not do specific restriction.
In the embodiment of the present invention, test result is fed back to external data processing module by report structure processing module, external Test result is fed back to test platform or applications by data processing module.
In the embodiment of the present invention, reporting interface processing module is responsible for recording test result, and test result is converted into not Same data mode.
Optionally, data mode includes text formatting and graphical format, is specifically selected according to the actual situation, this hair Bright embodiment does not do specific restriction.
In the embodiment of the present invention, external data processing module is responsible for and applications or test platform interaction data, will be each Class function package is at the interface that can be called.
Illustratively, as shown in figure 3, interactive process in Log Analysis System between modules are as follows: test platform or Applications are by starting business diagnosis module to business diagnosis module transmission order, message.Business diagnosis module pass through to Rule analysis module sends order, message call rule analysis module, and rule analysis module obtains preset rules file, and to day Will data module sends order, message calls daily record data module, and daily record data module obtains original day from test log Log data is sent to rule analysis module by will data, and rule analysis module is according to preset rules file, from original day After filtering out at least two service data informations in will data, preset rules file and at least two service data informations are sent out It send to business diagnosis module, business diagnosis module matches preset rules file and at least two service data informations, and Matching result is sent to test platform or applications.
It is understood that Log Analysis System presets preset rules log information and corresponding default execution is suitable Sequence, preset rules attribute information and it is default execute length, Log Analysis System is according to preset rules attribute information from test log In extract at least two service data informations to be matched, and based on default execution sequence and it is default execute length, successively will Preset rules log information is matched at least two service data informations, when preset rules log information and at least two industry When data information mismatch of being engaged in, problem information is determined from least two service data informations, so that tester is preparatory After preset rules log information and corresponding default execution sequence, Log Analysis System can be automatically according to default rule Then log information, preset rules attribute information and it is default execute sequence, problem information is oriented from test log, to improve The intelligence of positioning product problem.
Embodiment two
The embodiment of the present invention provides a kind of log analysis method, as shown in figure 4, this method may include:
The corresponding preset rules text of current business process is arranged according to predefined file format in S201, Log Analysis System Part.
A kind of log analysis method provided in an embodiment of the present invention analyzes test log suitable for automatic test course Scene under.
In the embodiment of the present invention, tester is according to the corresponding default rule of predefined file format setting current business process Then file.
In the embodiment of the present invention, the format of preset rules file is Excel document format.
Optionally, the step of predefined file format includes as following: 1, step, operation flow is numbered;2, window is searched Number, message corresponds to the classification of journal file;3, primitive name, message correspond to the title of journal file;4, other column/summary infos, Message corresponds to the extension information of journal file;5, the web browser (IE, Internet Explorer) paid close attention to, message are corresponding The details of journal file;6, type information reports the type information of result.
S202, Log Analysis System extract default rule according to predefined rule data structure from preset rules file Then log information, preset rules log information is tactic according to default execution, and length is the default day for executing length Will information.
After Log Analysis System is provided with preset rules file, Log Analysis System will be according to predefined rule number According to structure, preset rules log information is extracted from preset rules file, wherein preset rules log information is according to default Execute tactic, and length is the default log information for executing length.
In the embodiment of the present invention, Log Analysis System extracts preset rules file according to predefined rule data structure.
Optionally, predefined rule data structure can be with are as follows:
{
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 present invention, preset rules file include preset rules log information and it is default execute sequence, wherein in advance If in regular log information including preset rules attribute information, preset rules attribute information includes default Log Names, default day Will extends information and default log details.
In the embodiment of the present invention, Log Names corresponding 3, primitive name are preset;Default extended log files information correspondence 4, other column/ Summary info;Default log details correspond to the IE of 5, concern;Default execution sequence corresponding 1, step.
In the embodiment of the present invention, the comprising modules of Log Analysis System are as shown in Fig. 2, Log Analysis System includes: business Analysis module, rule analysis module and daily record data module, wherein business diagnosis module includes business diagnosis main control module, industry Business data processing module, external data processing module and report result treatment module;Rule analysis module includes Rule Extraction mould Block and regular data analysis module.
In the embodiment of the present invention, after generating test log by test current business process, automatic test platform Or applications call business diagnosis module to start business diagnosis module, business diagnosis module calling rule analysis module, rule Then the Rule Extraction module in analysis module extracts preset rules file according to predefined rule data structure.
In the embodiment of the present invention, the major function of rule analysis module is to extract preset rules file, from original log number According at least two service data informations of middle extraction.Rule analysis module realizes corresponding function using Java.Rule analysis module Following 3 interfaces: CheckProc are provided, for carrying out rule analysis data;GetRuleMeg, for screening daily record data; ReadFile is used to extracting rule file;Wherein, Rule Extraction module is extracted preset rules file by following file Come: 1, rule_parse_excel.js, this file are responsible for handling Excel file, and preset rules file is converted to default rule Then structured data, and preset rules structured data is stored in internal database;2, rule_msgstruct.js, this text Part defines the specific storage organization of log information;3, rule_adp.js, this file are responsible for regular preset rules structured data With the adaption function of preset rules file, and package interface be supplied to external module use.
S203, Log Analysis System obtain log data from the test log that test current business process generates, And obtain the corresponding original log attribute information of log data.
After Log Analysis System obtains preset rules log information, tester will test on test platform to be worked as Preceding operation flow, Log Analysis System obtain log data and log data from the test log of generation Corresponding original log attribute information.
In the embodiment of the present invention, tester tests current industry on automatic test platform by implementation of test cases Process of being engaged in can generate test log when automatic test platform tests current business process.
In the embodiment of the present invention, the major function of daily record data module is that log data is obtained from test log, Wherein, test log is binary data file, and every record in test log becomes message, and daily record data module uses C+ + realize corresponding function, and can be called by script.Daily record data module provides following 4 interfaces: ReadFile, For reading specified journal file;GetMsg, for obtaining specified message universal field;GetDecode, for obtaining specified disappear Breath decoding structure;DecodeMsg, for obtaining specified source codec structure or specific field.
In the embodiment of the present invention, daily record data module obtains log data and corresponding original day from test log Will attribute information, and log data is returned into regular data processing module.
S204, Log Analysis System successively match original log attribute information with preset rules attribute information.
After Log Analysis System gets log data and corresponding original log attribute information, log analysis System will filter out at least two according to original log attribute information and preset rules attribute information from log data Service data information, firstly, Log Analysis System successively carries out original log attribute information and preset rules attribute information Matching.
In the embodiment of the present invention, regular data analysis module successively believes original log attribute information and preset rules attribute Breath is matched, to determine from original log attribute information and the matched attribute information of preset rules attribute information.
S205, it is matched with preset rules attribute information when at least two log properties information in original log attribute information When, Log Analysis System extracts the corresponding at least two logs number of at least two log properties information from log data According to.
When at least two log properties information in original log attribute information are matched with preset rules attribute information, day Will analysis system will extract the corresponding at least two logs number of at least two log properties information from log data According to.
In the embodiment of the present invention, when at least two log properties information and preset rules category in original log attribute information When property information matches, it is corresponding that regular data analysis module extracts at least two log properties information from log data At least two daily record datas
In the embodiment of the present invention, regular data analysis module includes following two file: 1, rule_dispose.js, this A file, which is responsible for recycling according to preset rules log information, obtains and screens log data, ultimately produces at least two business Data information;2, log_dispose.js, this file are responsible for calling the interface of daily record data module, extract original log number According to.
S206, Log Analysis System are by least two daily record datas, according to default conversion format conversion at least two industry Business data information.
After Log Analysis System determines at least two daily record datas from log data, Log Analysis System Will by least two daily record datas according to default conversion format conversion at least two service data informations.
In the embodiment of the present invention, at least two daily record datas are sent to business data processing module by Log Analysis System, At least two daily record datas are processed at least two service data informations by business data processing module, and by least two business Data information is sent to business diagnosis module.
S207, Log Analysis System execute sequence according to default, determine to be arranged in from preset rules log information One starting rule log information, and searched at least two service data informations and originate regular log information.
After Log Analysis System determines at least two service data informations from log data, log analysis System will filter out problem information from least two service data informations, specifically, Log Analysis System passes through judgement Whether at least two service data informations are arranged according to default execution sequence, to sieve from least two service data informations Problem information is selected, firstly, Log Analysis System executes sequence according to default, determines to arrange from preset rules log information In the regular log information of primary starting, and is searched at least two service data informations and originate regular log information.
In the embodiment of the present invention, business diagnosis module obtains tactic pre- according to default execution from Rule Extraction module If regular log information, and determine to be arranged in the regular log information of primary starting from preset rules log information, and It is searched at least two service data informations and originates regular log information.
In the embodiment of the present invention, business diagnosis module realizes the function of the module using Javascript language, and provides Parsefile analyzes host interface.
Since S208, Log Analysis System determine at least two service data informations originating regular log information The service data information to be matched for executing length is preset out.
After Log Analysis System finds starting rule log information at least two service data informations, log Since analysis system will determine default execution length originating regular log information at least two service data informations Service data information to be matched.
In the embodiment of the present invention, since business diagnosis module originating regular log information, at least two business datums The default service data information to be matched for executing length is determined in information.
S209, Log Analysis System determine that the current of service data information to be matched executes sequence, and will currently execute suitable Sequence and default execution sequence are matched.
After Log Analysis System determines service data information to be matched at least two service data informations, day Will analysis system will determine that the current of service data information to be matched executes sequence, and will currently execution sequence and default execution Sequence is had matched.
In the embodiment of the present invention, business diagnosis module determines that the current of service data information to be matched executes sequence, and will Current execution sequence and default execution sequence are matched.
S210, when current execution sequence and default execution sequence match, characterization preset rules log information and at least two A service data information matching.
When Log Analysis System judges current execution sequence and default execution sequence matches, preset rules log is characterized Information is matched at least two service data informations.
S211, when current execution sequence and default execution sequence mismatch, characterization preset rules log information at least Two service data informations mismatch.
When Log Analysis System judges current execution sequence and default execution sequence mismatches, preset rules day is characterized Will information and at least two service data informations mismatch.
S212, when preset rules log information and at least two service data informations mismatch, Log Analysis System from In at least two service data informations, determine and any one unmatched service data information of default execution sequence.
When Log Analysis System judges preset rules log information and at least two service data informations mismatch, day Will analysis system will be determined and any one unmatched industry of default execution sequence from least two service data informations Business data information.
In the embodiment of the present invention, when business diagnosis module judges that current execution sequence and default execution sequence mismatch When, business diagnosis module is searched and any one unmatched business of default execution sequence at least two service data informations Data information.
Any one service data information is determined as problem information by S213, Log Analysis System, and records any one The location information and temporal information of service data information.
After Log Analysis System determines any one service data information from least two service data informations, Log Analysis System will record the location information and temporal information of any one service data information.
In the embodiment of the present invention, any one service data information is determined as problem information by Log Analysis System, record The location information and temporal information of any one service data information, specifically carry out selection record, this hair according to the actual situation Bright embodiment does not do specific restriction.
In the embodiment of the present invention, test result is fed back to external data processing module by report structure processing module, external Test result is fed back to test platform or applications by data processing module.
In the embodiment of the present invention, reporting interface processing module is responsible for recording test result, and test result is converted into not Same data mode.
Optionally, data mode includes text formatting and graphical format, is specifically selected according to the actual situation, this hair Bright embodiment does not do specific restriction.
In the embodiment of the present invention, external data processing module is responsible for and applications or test platform interaction data, will be each Class function package is at the interface that can be called.
Illustratively, as shown in figure 3, interactive process in Log Analysis System between modules are as follows: test platform or Applications are by starting business diagnosis module to business diagnosis module transmission order, message.Business diagnosis module pass through to Rule analysis module sends order, message call rule analysis module, and rule analysis module obtains preset rules file, and to day Will data module sends order, message calls daily record data module, and daily record data module obtains original day from test log Log data is sent to rule analysis module by will data, and rule analysis module is according to preset rules file, from original day After filtering out at least two service data informations in will data, preset rules file and at least two service data informations are sent out It send to business diagnosis module, business diagnosis module matches preset rules file and at least two service data informations, and Matching result is sent to test platform or applications.
Illustratively, as shown in figure 5, including: by the process that log analysis obtains test result
1, test platform or applications start business diagnosis module.
2, business diagnosis module calling rule analysis module.
3, rule analysis module extracting rule file obtains executing tactic preset rules log letter according to default It ceases, includes preset rules attribute information in preset rules log information.
4, daily record data module obtains log data from test log, and log data is sent to rule Data analysis module.
5, log data is converted at least two by regular data analysis module according to preset rules attribute information Will data, and at least two daily record datas are sent to business datum analysis module.
6, at least two daily record datas are processed at least two service data informations by business datum analysis module, and near Few two service data informations are sent to business diagnosis module.
7, business diagnosis module determines at least two service data informations originates regular log information, and advises from starting Then log information starts, and the default business datum to be matched letter for executing length is determined at least two service data informations Breath.
8, business diagnosis module successively judges whether service data information to be matched arranges according to default execution sequence.
9, when service data information to be matched is arranged according to default execution sequence, setting test result is to pass through.
10, when any one service data information in service data information to be matched is not arranged according to default execution sequence When, setting test result is not pass through, and save Error Location and temporal information.
11, result is fed back to external data processing module by report result treatment module, and external data processing module will be tied Fruit data feedback is to test platform or applications.
It is understood that Log Analysis System presets preset rules log information and corresponding default execution is suitable Sequence, preset rules attribute information and it is default execute length, Log Analysis System is according to preset rules attribute information from test log In extract at least two service data informations to be matched, and based on default execution sequence and it is default execute length, successively will Preset rules log information is matched at least two service data informations, when preset rules log information and at least two industry When data information mismatch of being engaged in, problem information is determined from least two service data informations, so that tester is preparatory After preset rules log information and corresponding default execution sequence, Log Analysis System can be automatically according to default rule Then log information, preset rules attribute information and it is default execute sequence, problem information is oriented from test log, to improve The intelligence of positioning product problem.
Step S210 and step S211- step S213 is two steps arranged side by side after step S209, specific basis Actual conditions carry out selection execution, and the embodiment of the present invention does not do specific restriction.
Embodiment three
The embodiment of the present invention provides a kind of Log Analysis System 1, as shown in fig. 6, the Log Analysis System 1 includes:
Acquiring unit 10, for obtaining log data from the test log that test current business process generates.
Extraction unit 11, for extracting at least two from the log data according to preset rules attribute information A service data information, the preset rules attribute information are the corresponding log properties information of preset rules log information.
Matching unit 12, for executing length with default based on default execution sequence, successively by the preset rules log Information is matched at least two service data information.
Recording unit 13, for being mismatched when the preset rules log information and at least two service data information When, problem information is determined from least two service data information.
Optionally, it is based on Fig. 6, as shown in fig. 7, the Log Analysis System 1 further include: setting unit 14.
The setting unit 14, for it is corresponding to preset the current business process according to predefined file format Preset rules file.
The extraction unit 11 is specifically used for being mentioned from the preset rules file according to predefined rule data structure The preset rules log information is taken out, the preset rules log information is tactic according to the default execution, and Length is the default log information for executing length.
Optionally, it is based on Fig. 6, as shown in figure 8, the Log Analysis System 1 further include: conversion unit 15.
The acquiring unit 10 is also used to obtain the corresponding original log attribute information of the log data.
The matching unit 12 is also used to the original log attribute information and the preset rules attribute information successively It is matched.
The extraction unit 11, be also used at least two log properties information in the original log attribute information with When the preset rules attribute information matches, at least two log properties information is extracted from the log data Corresponding at least two daily record data.
The conversion unit 15 is used for by least two daily record data, according to default conversion format conversion at described At least two service data informations.
Optionally, it is based on Fig. 6, as shown in figure 9, the Log Analysis System 1 further include: determination unit 16 and searching unit 17。
The determination unit 16, for according to it is described it is default execute sequence, from the preset rules log information determination It is arranged in the regular log information of primary starting out;Since the regular log information of the starting, at least two industry The default service data information to be matched for executing length is determined in business data information;Determine the business datum to be matched The current of information executes sequence;
The searching unit 17, for searching the regular log letter of the starting at least two service data information Breath;
The matching unit 12 is also used to match the current execution sequence and the default execution sequence;When When the current execution sequence and the default execution sequence match, the preset rules log information and described at least two are characterized A service data information matching;When the current execution sequence and the default execution sequence mismatch, characterize described default Regular log information and at least two service data information mismatch.
Optionally, the determination unit 16 is also used to from least two service data information, determine with it is described Any one unmatched service data information of default execution sequence;Any one described service data information is determined as described Problem information.
Optionally, the recording unit 13, be also used to record any one service data information location information and Temporal information.
Optionally, the preset rules attribute information includes: default Log Names, default extended log files information and default day Will details.
In practical applications, under the same inventive concept based on embodiment one and embodiment two, as shown in Figure 10, log point Analysis system 1 may include: processor 18, memory 19, communication interface 110 and bus 111;
Above-mentioned acquiring unit 10, extraction unit 11, matching unit 12, recording unit 13, setting unit 14, conversion unit 15, determination unit 16 and searching unit 17 can realize that above-mentioned processor 18 can by the processor 18 being located on Log Analysis System 1 Think application-specific IC (ASIC, Application Specific Integrated Circuit), at digital signal Manage device (DSP, Digital Signal Processor), digital signal processing device (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate Array (FPGA, Field Programmable Gate Array), central processing unit (CPU, Central Processing Unit), at least one of controller, microcontroller, microprocessor.It is to be appreciated that for different equipment, for realizing The electronic device of above-mentioned first processor function can also be to be other, and the embodiment of the present invention is not especially limited, the log analysis System 1 further includes memory 19, wherein for memory 19 for storing executable program code, which includes computer Operational order, memory 19 may include high speed RAM memory, it is also possible to further include nonvolatile memory, for example, at least one A magnetic disk storage.
The bus 111 for connect the communication interface 110, the processor 18 and the memory 19 and these Being in communication with each other between device;
The communication interface 110, for carrying out data transmission with ext nal network element;
The memory 19, for storing instruction and data;
The processor 18 executes described instruction and is used for: from the test log that test current business process generates, obtaining Log data, and according to preset rules attribute information, at least two business numbers are extracted from the log data It is believed that breath, the preset rules attribute information is the corresponding log properties information of preset rules log information;
Based on default execution sequence and default execution length, successively by the preset rules log information and described at least two A service data information is matched;
When the preset rules log information and at least two service data information mismatch, from described at least two Problem information is determined in a service data information.
In practical applications, above-mentioned memory 19 can be volatibility first memory (volatile memory), such as Arbitrary access second memory (RAM, Random-Access Memory);Or non-volatile second memory (non- Volatile memory), for example, read-only second memory (ROM, Read-Only Memory), quick flashing second memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state hard disk (SSD, Solid-State Drive);Or The combination of the second memory of person's mentioned kind, and instruction and data is provided to processor 18.
In addition, each functional module in the present embodiment can integrate in one processing unit, it is also possible to each list Member physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can be with Using formal implementation of hardware, can also be realized in the form of software function module.
If the integrated unit realizes that being not intended as independent product is sold in the form of software function module Or in use, can store in a computer readable storage medium, based on this understanding, the technical side of the present embodiment Substantially all or part of the part that contributes to existing technology or the technical solution can be produced case in other words with software The form of product embodies, which is stored in a storage medium, including some instructions are used so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute sheet The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic disk Or the various media that can store program code such as CD.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, is applied to day The method as described in embodiment one and embodiment two is realized in will analysis system 1, when which is executed by processor 18.
Specifically, the corresponding program instruction of the method for one of the present embodiment log analysis can be stored in light Disk, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with a kind of log analysis method in storage medium It is read or is performed by an electronic equipment, include the following steps:
From the test log that test current business process generates, log data is obtained, and according to preset rules category Property information, extracts at least two service data informations, the preset rules attribute information is from the log data The corresponding log properties information of preset rules log information;
Based on default execution sequence and default execution length, successively by the preset rules log information and described at least two A service data information is matched;
When the preset rules log information and at least two service data information mismatch, from described at least two Problem information is determined in a service data information.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (16)

1. a kind of log analysis method, which is characterized in that the described method includes:
From the test log that test current business process generates, log data is obtained, and believe according to preset rules attribute Breath, extracts at least two service data informations, the preset rules attribute information is default from the log data The corresponding log properties information of regular log information;
Based on default execution sequence and default execution length, successively by the preset rules log information and at least two industry Business data information is matched;
When the preset rules log information and at least two service data information mismatch, from least two industry Problem information is determined in business data information.
2. the method according to claim 1, wherein the test log generated from test current business process In, before obtaining log data, the method also includes:
According to predefined file format, the corresponding preset rules file of the current business process is set;
According to predefined rule data structure, the preset rules log information, institute are extracted from the preset rules file It is tactic according to the default execution for stating preset rules log information, and length is the default log for executing length Information.
3. the method according to claim 1, wherein described according to preset rules attribute information, from described original At least two service data informations are extracted in daily record data, comprising:
Obtain the corresponding original log attribute information of the log data;
Successively the original log attribute information is matched with the preset rules attribute information;
When at least two log properties information in the original log attribute information are matched with the preset rules attribute information When, corresponding at least two daily record data of at least two log properties information is extracted from the log data;
By at least two daily record data, according to default conversion format conversion at least two service data information.
4. the method according to claim 1, wherein it is described based on default execution sequence and it is default execute length, Successively at least two service data information is matched with the preset rules log information, comprising:
According to it is described it is default execute sequence, determine to be arranged in primary starting rule from the preset rules log information Log information, and the regular log information of the starting is searched at least two service data information;
Since the regular log information of the starting, the default execution is determined at least two service data information The service data information to be matched of length;
It determines that the current of the service data information to be matched executes sequence, and the current execution sequence and described preset is held Row sequence is matched;
When the current execution sequence and the default execution sequence match, characterize the preset rules log information with it is described The matching of at least two service data informations;
When the current execution sequence and the default execution sequence mismatch, the preset rules log information and institute are characterized State at least two service data informations mismatch.
5. according to the method described in claim 4, it is characterized in that, described determine from least two service data information Go wrong information, comprising:
From at least two service data information, determine and any one unmatched business of the default execution sequence Data information;
Any one described service data information is determined as described problem information.
6. according to the method described in claim 5, it is characterized in that, described determine from least two service data information After the information that goes wrong, the method also includes:
Record the location information and temporal information of any one service data information.
7. the method according to claim 1, wherein the preset rules attribute information includes: default log name Claim, preset extended log files information and default log details.
8. a kind of Log Analysis System, which is characterized in that the Log Analysis System includes:
Acquiring unit, for obtaining log data from the test log that test current business process generates;
Extraction unit, for extracting at least two business from the log data according to preset rules attribute information Data information, the preset rules attribute information are the corresponding log properties information of preset rules log information;
Matching unit, for based on default execution sequence and it is default execute length, successively by the preset rules log information with At least two service data information is matched;
Recording unit is used for when the preset rules log information and at least two service data information mismatch, from Problem information is determined at least two service data information.
9. Log Analysis System according to claim 8, which is characterized in that the Log Analysis System further include: setting Unit;
The setting unit, for presetting the corresponding default rule of the current business process according to predefined file format Then file;
The extraction unit is specifically used for extracting institute from the preset rules file according to predefined rule data structure Preset rules log information is stated, the preset rules log information is tactic according to the default execution, and length is The default log information for executing length.
10. Log Analysis System according to claim 8, which is characterized in that the Log Analysis System further include: conversion Unit;
The acquiring unit is also used to obtain the corresponding original log attribute information of the log data;
The matching unit is also used to the original log attribute information and preset rules attribute information progress successively Match;
The extraction unit, be also used at least two log properties information in the original log attribute information with it is described pre- If when rules properties information matches, it is corresponding that at least two log properties information is extracted from the log data At least two daily record datas;
The conversion unit is used for by least two daily record data, according to default conversion format conversion at described at least two A service data information.
11. Log Analysis System according to claim 8, which is characterized in that the Log Analysis System further include: determine Unit and searching unit;
The determination unit, for according to it is described it is default execute sequence, determine to arrange from the preset rules log information In the regular log information of primary starting;Since the regular log information of the starting, at least two business datum The default service data information to be matched for executing length is determined in information;Determine the service data information to be matched Currently execute sequence;
The searching unit, for searching the regular log information of the starting at least two service data information;
The matching unit is also used to match the current execution sequence and the default execution sequence;Work as when described When preceding execution sequence and the default execution sequence match, the preset rules log information and at least two business are characterized Data information matching;When the current execution sequence and the default execution sequence mismatch, the preset rules day is characterized Will information and at least two service data information mismatch.
12. Log Analysis System according to claim 11, which is characterized in that
The determination unit is also used to from least two service data information, determines default to execute sequence with described Any one unmatched service data information;Any one described service data information is determined as described problem information.
13. Log Analysis System according to claim 12, which is characterized in that
The recording unit is also used to record the location information and temporal information of any one service data information.
14. Log Analysis System according to claim 8, which is characterized in that the preset rules attribute information includes: pre- If Log Names, default extended log files information and default log details.
15. a kind of Log Analysis System, which is characterized in that the Log Analysis System includes: memory, processor and is stored in On memory and the computer program that can run on a processor performs the following operations when said program is executed by a processor:
The processor, for from test current business process generate test log in, obtain log data, and according to Preset rules attribute information extracts at least two service data informations, the preset rules from the log data Attribute information is the corresponding log properties information of preset rules log information;Based on default execution sequence and execution length is preset, Successively the preset rules log information is matched at least two service data information;When the preset rules day When will information and at least two service data information mismatch, determine to ask from least two service data information Inscribe information.
16. a kind of computer readable storage medium, is stored thereon with computer program, it is applied to Log Analysis System, feature It is, which realizes the method according to claim 1 to 7 when being executed by processor.
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 true CN110019067A (en) 2019-07-16
CN110019067B 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)

Cited By (5)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084433A1 (en) * 2010-10-01 2012-04-05 Microsoft Corporation Web test generation
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084433A1 (en) * 2010-10-01 2012-04-05 Microsoft Corporation Web test generation
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

Cited By (8)

* 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
CN112363904A (en) * 2020-11-30 2021-02-12 歌尔科技有限公司 Log data analysis positioning method and device and computer readable storage medium
CN112363904B (en) * 2020-11-30 2022-11-22 歌尔科技有限公司 Log data analysis positioning method and device and computer readable storage medium
CN112783799A (en) * 2021-03-19 2021-05-11 中国工商银行股份有限公司 Software daemon test method and device
CN112783799B (en) * 2021-03-19 2024-05-17 中国工商银行股份有限公司 Software daemon testing method and device
CN113031995A (en) * 2021-05-21 2021-06-25 北京神州泰岳智能数据技术有限公司 Rule updating method and device, storage medium and electronic equipment
CN113792019A (en) * 2021-08-03 2021-12-14 RealMe重庆移动通信有限公司 Analysis method, electronic device and computer storage medium
CN113792019B (en) * 2021-08-03 2023-08-18 RealMe重庆移动通信有限公司 Analysis method, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN110019067B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN110019067A (en) A kind of log analysis method and system
CN107957957B (en) Test case obtaining method and device
US9916230B1 (en) White box testing
CN107798047B (en) Repeated work order detection method, device, server and medium
US9632899B2 (en) Method for analyzing request logs in advance to acquire path information for identifying problematic part during operation
EP3682324A1 (en) Method and apparatus for finding long methods in code
CN114116496A (en) Automatic testing method, device, equipment and medium
CN109783457A (en) CGI interface managerial method, device, computer equipment and storage medium
CN106557419B (en) Program testing method and device
CN105912467B (en) Performance test method and device
CN112948262A (en) System test method, device, computer equipment and storage medium
CN111722998B (en) Code quality control method, system, equipment and storage medium
CN111435327B (en) Log record processing method, device and system
CN115757174A (en) Database difference detection method and device
JP2013077124A (en) Software test case generation device
CN115495420A (en) Project file integrity checking method, device, equipment and storage medium
CN108062333B (en) Method and device for processing inferior question data
CN105227333B (en) The method and apparatus of network element device data maintenance
CN113761863A (en) List page configuration method, device and storage medium
CN116795723B (en) Chain unit test processing method and device and computer equipment
CN112445391B (en) Service data generation method, device and computer readable storage medium
CN114924980A (en) Software testing method, device, electronic equipment and medium
CN117608992A (en) Method, device, computer equipment and storage medium for tracking log information
CN113656320A (en) Test case generation method and device
CN117520426A (en) Data conversion method and device and electronic equipment

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