CN109857623A - Service performance analysis method, device and electronic equipment based on journal file - Google Patents

Service performance analysis method, device and electronic equipment based on journal file Download PDF

Info

Publication number
CN109857623A
CN109857623A CN201811526600.6A CN201811526600A CN109857623A CN 109857623 A CN109857623 A CN 109857623A CN 201811526600 A CN201811526600 A CN 201811526600A CN 109857623 A CN109857623 A CN 109857623A
Authority
CN
China
Prior art keywords
journal file
analyzed
target
journal
file
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.)
Pending
Application number
CN201811526600.6A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811526600.6A priority Critical patent/CN109857623A/en
Publication of CN109857623A publication Critical patent/CN109857623A/en
Priority to PCT/CN2019/123027 priority patent/WO2020119551A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present application provides a kind of service performance analysis method, device and electronic equipment based on journal file.This method comprises: the restrictive condition for obtaining the journal file of target to be analyzed and being parsed to journal file;Journal file is parsed according to restrictive condition, obtains parsing result.The embodiment of the present application ensure that the parsing result parsed to journal file is more in line with user demand, improve analyzing efficiency, so as to the data basis for analyzing parsing result as service performance.

Description

Service performance analysis method, device and electronic equipment based on journal file
Technical field
This application involves technical field of information processing, specifically, this application involves a kind of services based on journal file Method for analyzing performance, device and electronic equipment.
Background technique
Performance evaluation can ensure that software application provides the stability of service.In the related technology, to software project Monitoring is typically in test phase and production phase, and can not consider development phase.
Wherein, test phase monitoring be code Problem-Error, without performance evaluation, therefore after test passes through, Performance issue often could be only found in the application, and performance evaluation has passivity, is easy to directly affect user experience.It can not Problem is determined in processes of research & development, directly resulting in the later period needs to carry out secondary development, increases development cost.
Summary of the invention
This application provides a kind of service performance analysis method, device and electronic equipment based on journal file, can solve At least one certainly above-mentioned technical problem.The technical solution is as follows:
In a first aspect, this application provides a kind of service performance analysis method based on journal file, this method comprises:
The restrictive condition for obtaining the journal file of target to be analyzed and journal file being parsed;
Journal file is parsed according to restrictive condition, obtains parsing result.
Further, the journal file of target to be analyzed is obtained, comprising:
It detects when being stored with the corresponding journal file of target to be analyzed in default log database, is obtained from log database Take the corresponding journal file of target to be analyzed;
When detecting that default log database is not stored the corresponding journal file of target to be analyzed, using crawler technology pre- First specified website carries out crawling the corresponding journal file of target to be analyzed.
Further, before obtaining the corresponding journal file of target to be analyzed in log database, method includes:
The path of configuration log database, quickly to position log database according to path.
Further, before the journal file for obtaining target to be analyzed, method further include:
Any target to be analyzed corresponds at least one environmental form mark in the object listing to be analyzed being pre-configured;
Obtain the journal file of target to be analyzed, comprising:
After user specifies target to be analyzed, specifies the environmental form of target to be analyzed to identify if user is selected simultaneously, obtain Fetching determines journal file corresponding with environmental form mark in all journal files of target to be analyzed;
After user specifies target to be analyzed, the environmental form of target to be analyzed is specified to identify if user is not selected simultaneously, Obtain all journal files for specifying target to be analyzed.
Further, before being parsed according to the restrictive condition to journal file, method further include:
Obtain the format of journal file;
The corresponding relationship of inquiry log format and analytic method determines the corresponding parsing of format of the journal file got Method;
The journal file is parsed according to restrictive condition, comprising:
Journal file is parsed according to the format of the journal file got corresponding analytic method.
Further, journal file is parsed according to the format corresponding analytic method of the journal file got, Include:
When detecting the quantity of journal file and being more than predetermined file quantity, after user selectes journal file, using getting The format corresponding analytic method of journal file journal file selected to user parse.
Further, method further include: by parsing result aggregation process be corresponding chart.
Second aspect, this application provides a kind of service performance analytical equipment based on journal file, the device include:
Data acquisition module, the limitation for obtaining the journal file of target to be analyzed and being parsed to journal file Condition;
Document analysis module obtains parsing result for parsing according to restrictive condition to journal file.
Further, data acquisition module, for detecting, that target to be analyzed is stored in default log database is corresponding When journal file, the corresponding journal file of target to be analyzed is obtained from log database;Default log database is detected not deposit When containing the corresponding journal file of target to be analyzed, carry out crawling target to be analyzed in preassigned website using crawler technology Corresponding journal file.
Further, data acquisition module is also used to obtain the corresponding log text of target to be analyzed from log database Before part, the path of configuration log database, quickly to position log database according to path.
Further, data acquisition module, before the journal file for being also used to obtain target to be analyzed, pre-configuration to point Any target to be analyzed corresponds at least one environmental form mark in analysis object listing;Data acquisition module, for referring in user After fixed target to be analyzed, the environmental form of target to be analyzed is specified to identify if user is selected simultaneously, target to be analyzed is specified in acquisition All journal files in journal file corresponding with environmental form mark;After user specifies target to be analyzed, if user is not It is selected simultaneously that the environmental form of target to be analyzed is specified to identify, obtain all journal files for specifying target to be analyzed.
Further, document analysis module obtains before being also used to parse journal file according to the restrictive condition Take the format of journal file;The corresponding relationship of inquiry log format and analytic method determines the format of the journal file got Corresponding analytic method;Journal file is parsed according to the format of the journal file got corresponding analytic method.
Further, document analysis module, when the quantity for detecting journal file is more than predetermined file quantity, in user After selected journal file, journal file is selected to user using the format of the journal file got corresponding analytic method and is carried out Parsing.
Further, the device further include:
Summarize output module, for being corresponding chart by parsing result aggregation process.
The third aspect, this application provides a kind of electronic equipment, which includes:
One or more processors;
Memory;
One or more application program, wherein one or more application programs be stored in memory and be configured as by One or more processors execute, and one or more programs are configured for: executing the service performance analysis based on journal file Method.
Fourth aspect, this application provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey The service performance analysis method based on journal file is realized when sequence is executed by processor.
Technical solution provided by the embodiments of the present application has the benefit that the log text by obtaining target to be analyzed Part and the restrictive condition that journal file is parsed, both ensure that parsing result that journal file is parsed more Add and meet user demand, and improve analyzing efficiency, the service performance for post analysis target to be analyzed provides analysis data.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, institute in being described below to the embodiment of the present application Attached drawing to be used is needed to be briefly described.
Fig. 1 is a kind of process signal of service performance analysis method based on journal file provided by the embodiments of the present application Figure;
Fig. 2 is that log text is obtained in a kind of service performance analysis method based on journal file provided by the embodiments of the present application The flow diagram of part;
Fig. 3 is to obtain log in another service performance analysis method based on journal file provided by the embodiments of the present application The flow diagram of file;
Fig. 4 is that the process in another service performance analysis method based on journal file provided by the embodiments of the present application is shown It is intended to;
Fig. 5 is a kind of structural representation of the service performance analytical equipment based on journal file provided by the embodiments of the present application Figure;
Fig. 6 is the structural representation of another service performance analytical equipment based on journal file provided by the embodiments of the present application Figure;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, and is only used for explaining the application, and cannot be construed to the limitation to the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
First to this application involves several nouns be introduced and explain:
Journal file is can be divided into event day for recording target to be analyzed in the file of the operation information of different phase Will and message logging.With important function such as the activities for handling the tracking of historical data, diagnosis problem and understanding system.
It in the related technology, is usually to be carried out in test phase or production phase to the service performance analysis of software project , generally by disposing what high-cost performance analysis system was realized, such as APM system, this analysis mode is at high cost.And And whether test phase or production phase, after going wrong, manpower intervention investigation is generally required, manual analysis is at high cost.
Service performance analysis method, device and electronic equipment provided by the present application based on journal file, it is intended to solve existing There is the technical problem as above of technology.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Embodiment one
The embodiment of the present application provides a kind of service performance analysis method based on journal file, as shown in Figure 1, this method It include: step S110 and step S120.
Wherein, the limitation text for step S110, obtaining the journal file of target to be analyzed and journal file being parsed Part.
For the embodiment of the present application, page where the amount of access of the page, access commodity where target to be analyzed can be commodity The object etc. that interface, the page jump in face are directed toward.
For the embodiment of the present application, when needing to control resolving, guarantee the later period by obtaining restrictive condition Obtained parsing result meets user demand.Specifically, restrictive condition can be the time range of parsing, the object of parsing, solution The control conditions such as the sequence of analysis.When practical application, the restrictive condition parsed to journal file can be pre-configured with and with column The mode of table is shown, so that user selects.
For example, it is assumed that the page where commodity A is W1, W1 can by Interface1, Interface2 and Tri- interfaces of Interface3 access.Therefore, in the best channel for needing to analyze access W1, that is, most fast interface is responded When, obtain the journal file of these three interfaces.When practical application, restrictive condition can be the sequence of parsing, and such as setting parsing is suitable Sequence is the journal file for first parsing Interface1, then parses the journal file of Interface3, finally parses Interface2 Journal file.When practical application, limitation file can also be the time range of parsing, i.e. certain time, such as September 1 in 2016 The journal file in day on December 31st, 2016, therefore in order to shorten the parsing time, analyzing efficiency is improved, can determine limitation item Part is the time range of parsing, and such as parsing time range of setting is 22:00 to 24:00 on November 11st, 2016, then the later period Journal file only to November in 2016 22:00 to this period of 24:00 on the 11st is parsed.
Step S120, journal file is parsed according to restrictive condition, obtains parsing result.
When practical application, the service performance analysis method provided by the embodiments of the present application based on journal file be can be applied to Log analytical tool, so that non-research staff operates.
For the embodiment of the present application, by obtaining the journal file of target to be analyzed and being parsed to journal file Restrictive condition not only ensure that the parsing result parsed to journal file met user demand, but also improve parsing effect Rate, the service performance for post analysis target to be analyzed provide analysis foundation.
Further, as shown in Fig. 2, in one embodiment, step S110 includes: step S111 and step S112.
Wherein, it step S111, detects when being stored with the corresponding journal file of target to be analyzed in default log database, from The corresponding journal file of target to be analyzed is obtained in log database;
Step S112, when detecting that default log database is not stored the corresponding journal file of target to be analyzed, using climbing Worm technology carries out crawling the corresponding journal file of target to be analyzed in preassigned website.
For the embodiment of the present application, the acquisition modes of the journal file of the target to be analyzed of two kinds of lightweights are provided, one Kind is obtained by preset log database, and another kind is crawled using crawler technology.Therefore, the application be not necessarily into The system of invading can obtain the journal file of target to be analyzed, solve acquisition journal file in the prior art and intrusion system is needed to disappear The time of consumption and caused secondary development.
When practical application, the corresponding journal file of each target to be analyzed can be according to being in different phase in log database Purpose to be analyzed store, as file 1 stores journal file, file 2 storage the exploitation environmental phase, text in production environment stage The storage test environmental phase of part 3;Or three subfiles are deposited in the journal file of same target to be analyzed respectively, can be respectively The corresponding subfile of environmental phase after production environment stage corresponding subfile, the corresponding subfile of exploitation environmental phase, test. By storing journal file according to the different phase of target to be analyzed, the effect for obtaining different phase journal file is improved Rate, to improve the efficiency of later period parsing.
In one embodiment, obtained from log database in step S111 the corresponding journal file of target to be analyzed it Before, this method further include: the path of configuration log database, quickly to position log database according to path.
For the embodiment of the present application, base is provided for quickly positioning log database by the path of configuration log database Plinth avoids in the prior art to realize the purpose for obtaining journal file from log database because to target to be analyzed point It analyses and secondary development caused by intrusion system, simplifies the operating procedure analyzed target to be analyzed.
In one embodiment, before the corresponding journal file of target to be analyzed being obtained in step S110, as shown in figure 3, This method further include: step S100 (not shown), and the journal file of target to be analyzed is obtained in step S110, comprising: Step S113 and step S114.
Wherein, the object listing to be analyzed based on pre-configuration step S100, is provided, wherein be pre-configured target column to be analyzed Any target to be analyzed corresponds at least one environmental form mark in table.
When practical application, the object listing to be analyzed of the pre-configuration provided can be to be shown to by preset interactive interface User's, facilitate user to select target to be analyzed by interactive interface, research staff will not select target to be analyzed to solution by no means Technical problem;Specifically, the object listing to be analyzed of the pre-configuration provided can also be in research staff in research and development tool to order The mode of input is enabled to get.
Step S113, after user specifies target to be analyzed, if user selectes the environmental classes for specifying target to be analyzed simultaneously Type mark obtains journal file corresponding with environmental form mark in all journal files for specifying target to be analyzed;
Step S114, after user specifies target to be analyzed, if user does not select the environment for specifying target to be analyzed simultaneously Type identification obtains all journal files for specifying target to be analyzed.
When practical application, the environmental form of target to be analyzed identifies the journal file in corresponding varying environment stage, Ke Nengwei The journal file in production environment stage, the journal file for testing environmental phase, the journal file for developing environmental phase.For example, ring Border type identification 1 is expressed as the production phase, and environmental form mark 2 indicates test phase, and environmental form mark 3 indicates exploitation rank Section.It should be noted that when practical application, environmental form mark includes but is not limited to Arabic numerals, specifically can according to Family demand is set, and the application is to this without limiting.
For the embodiment of the present application, is realized by the object listing to be analyzed of pre-configuration and be analysed to the typing of target Purpose, facilitate user quickly determine performance evaluation object.Meanwhile the setting identified by environmental form, it solves existing Have in technology because can not the varying environment stage to target to be analyzed carry out service analysis caused by secondary development the technical issues of, Thus be conducive to early find the problem, to reduce development cost.
In another embodiment, before being parsed according to restrictive condition to journal file in step S120, this method Step S80 and step S90, and step S120 includes step S121.
Step S80 (not shown), the format for obtaining journal file;
The corresponding relationship of step S90 (not shown), inquiry log format and analytic method determines the log got The corresponding analytic method of the format of file;
Step S121 (not shown), according to the corresponding analytic method of format of determining journal file to journal file It is parsed.
When practical application, because of the reasons such as the source of journal file or target to be analyzed, the format of the journal file got It may be different.Accordingly, there exist the situations that some analytic method can only identify the journal file of specific format, to can not treat point The journal file of analysis target is parsed.In order to solve this technical problem, the application passes through journal format and analytic method Corresponding relationship specifies corresponding analytic method for different journal formats, after getting journal file, using with log text The corresponding analytic method of the format of part realizes that the automation to journal file parses.
In one embodiment, step S121 parses journal file according to the analytic method got, comprising: inspection The quantity for surveying journal file is more than when subscribing quantity of documents, after user selectes journal file, to utilize the journal file got Format corresponding analytic method journal file selected to user parse.
When practical application, because the journal file of the target to be analyzed got may include the log text in varying environment stage Part, therefore when parsing, user can play the mesh of specific aim parsing by selecting determination to parse which journal file , to accelerate analyzing efficiency.When practical application, carrying out parsing to the journal file of target to be analyzed can also be automation , i.e., it is selected without user, directly all journal files of target to be analyzed are parsed, realize the automatic of resolving Change.When practical application, subscribing quantity of documents can be set to 1, can also be set as other natural numbers, specifically can be according to actual needs It is set, the application is to this without limiting.
In one embodiment, as shown in figure 4, the method comprising the steps of 201 to step S203.Wherein, it step S201, walks Rapid S202 is consistent with the implementation procedure of step S110, step S120 respectively, and details are not described herein again.
It wherein, is corresponding chart step S203, by parsing result aggregation process.
For the embodiment of the present application, user is shown to by this more intuitive manifestation mode of chart, facilitates user Analysis to the service performance of target to be analyzed, the user that is more convenient for have found target to be analyzed in asking of occurring of links stage Topic, provides intuitive basis for the improvement in later period.It, can be using paging when journal file is multiple when practical application Mode is shown.
Embodiment two
Fig. 5 is a kind of structural representation of the service performance analytical equipment based on journal file provided by the embodiments of the present application Figure, as shown in figure 5, the device of the present embodiment may include: data acquisition module 501 and document analysis module 502.
Wherein, data acquisition module 501, for obtaining the journal file of target to be analyzed and being solved to journal file The restrictive condition of analysis;
Document analysis module 502 obtains parsing result for parsing according to restrictive condition to journal file.
For the embodiment of the present application, by obtaining the journal file of target to be analyzed and being parsed to journal file Restrictive condition not only ensure that the parsing result parsed to journal file was more in line with user demand, but also improve and understand Efficiency is analysed, the service performance for post analysis target to be analyzed provides analysis data.
Further, data acquisition module 501 are stored with target correspondence to be analyzed for detecting in default log database Journal file when, the corresponding journal file of target to be analyzed is obtained from log database;Detect default log database not When being stored with the corresponding journal file of target to be analyzed, carry out crawling mesh to be analyzed in preassigned website using crawler technology Mark corresponding journal file.
Further, data acquisition module 501 are also used to obtain the journal file of target to be analyzed from log database Before, the path of configuration log database, quickly to position log database according to path.
For the embodiment of the present application, base is provided for quickly positioning log database by the path of configuration log database Plinth avoids in the prior art to realize the purpose for obtaining journal file from log database because to target to be analyzed point It analyses and secondary development caused by intrusion system, simplifies the operating procedure analyzed target to be analyzed.
Further, data acquisition module 501, before the journal file for being also used to obtain target to be analyzed, pre-configuration Any target to be analyzed corresponds at least one environmental form mark in object listing to be analyzed;Data acquisition module, for After target to be analyzed is specified at family, the environmental form of target to be analyzed is specified to identify if user is selected simultaneously, acquisition is specified to be analyzed Journal file corresponding with environmental form mark in all journal files of target;After user specifies target to be analyzed, if with Family is not selected simultaneously to specify the environmental form of target to be analyzed to identify, and obtains all journal files for specifying target to be analyzed.
For the embodiment of the present application, is realized by the object listing to be analyzed of pre-configuration and be analysed to the typing of target Purpose, facilitate user quickly determine performance evaluation object.Meanwhile the setting identified by environmental form, it solves existing Have in technology because can not the varying environment stage to target to be analyzed carry out service analysis caused by secondary development the technical issues of, Thus be conducive to early find the problem, to reduce development cost.
Further, data acquisition module 501 are also used to carry out journal file according to the restrictive condition to parse it Before, obtain the format of journal file;The corresponding relationship of inquiry log format and analytic method determines the journal file got The corresponding analytic method of format;Journal file is solved according to the format of the journal file got corresponding analytic method Analysis.
Further, document analysis module 502, when the quantity for detecting journal file is more than predetermined file quantity, After user selectes journal file, journal file is selected to user using the format of the journal file got corresponding analytic method It is parsed.
When practical application, because the journal file of the target to be analyzed got may include the log text in varying environment stage Part, therefore when parsing, user can play the mesh of specific aim parsing by selecting determination to parse which journal file , to accelerate analyzing efficiency.
When practical application, carrying out parsing to the journal file of target to be analyzed can also be automation, that is, be not necessarily to user It is selected, directly all journal files of target to be analyzed are parsed, realize the automation of resolving.
Further, as shown in fig. 6, the device further includes summarizing output module 503, wherein
Summarize output module 503, for being corresponding chart by parsing result aggregation process.
For the embodiment of the present application, the service performance of target to be analyzed is divided convenient for user by intuitive chart Analysis, it is easier to find that target to be analyzed in the links stage problem, improves for the later period and provides intuitive base Plinth.When practical application, when journal file is multiple, it can be shown by the way of paging.
One that the embodiment of the present application one provides can be performed in the service performance analytical equipment based on journal file of the present embodiment Service performance analysis method of the kind based on journal file, realization principle is similar, and details are not described herein again.
Embodiment six
The embodiment of the present application provides a kind of electronic equipment, as shown in fig. 7, electronic equipment shown in Fig. 7 700 includes: place Manage device 7001 and memory 7003.Wherein, processor 7001 is connected with memory 7003, is such as connected by bus 7002.Into one Step ground, electronic equipment 700 can also include transceiver 7004.Transceiver for electronic equipment for providing between other equipment Communicate to connect function.It should be noted that transceiver 7004 is not limited to one in practical application, the structure of the electronic equipment 700 The restriction to the embodiment of the present application is not constituted.
Processor 7001 can be CPU, general processor, DSP, ASIC, FPGA or other programmable logic device, crystalline substance Body pipe logical device, hardware component or any combination thereof.It, which may be implemented or executes, combines described by present disclosure Various illustrative logic blocks, module and circuit.Processor 7001 is also possible to realize the combination of computing function, such as wraps It is combined containing one or more microprocessors, DSP and the combination of microprocessor etc..
Bus 7002 may include an access, and information is transmitted between said modules.Bus 7002 can be pci bus or Eisa bus etc..Bus 7002 can be divided into address bus, data/address bus, control bus etc..Only to be used in Fig. 7 convenient for indicating One thick line indicates, it is not intended that an only bus or a type of bus.
Memory 7003 can be ROM or can store the other kinds of static storage device of static information and instruction, RAM Or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to EEPROM, CD-ROM or other CDs Storage, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium Or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form desired program generation Code and can by any other medium of computer access, but not limited to this.
Memory 7003 is used to store the application code for executing application scheme, and is held by processor 7001 to control Row.Processor 7001 is for executing the application code stored in memory 7003, to realize Fig. 5 or embodiment illustrated in fig. 6 The service performance analytical equipment based on journal file provided.
For the embodiment of the present application, by obtaining the journal file of target to be analyzed and being parsed to journal file Restrictive condition not only ensure that the parsing result parsed to journal file was more in line with user demand, but also improve and understand Efficiency is analysed, the service performance for post analysis target to be analyzed provides analysis data.
The embodiment of the present application provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program realizes method shown in embodiment one when the program is executed by processor.
The embodiment of the present application provides a kind of computer readable storage medium, compared with prior art, by obtaining wait divide The restrictive condition analysing the journal file of target and being parsed to journal file, both ensure that and parse to journal file To parsing result be more in line with user demand, and improve analyzing efficiency, be the service performance of post analysis target to be analyzed Analysis data are provided.
The embodiment of the present application provides a kind of computer readable storage medium and is suitable for above method embodiment.Herein no longer It repeats.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of service performance analysis method based on journal file characterized by comprising
The restrictive condition for obtaining the journal file of target to be analyzed and the journal file being parsed;
The journal file is parsed according to the restrictive condition, obtains parsing result.
2. according to right want 1 described in method, which is characterized in that the journal file for obtaining target to be analyzed, comprising:
It detects when being stored with the corresponding journal file of the target to be analyzed in default log database, from the log database It is middle to obtain the corresponding journal file of the target to be analyzed;
When detecting that the default log database is not stored the corresponding journal file of the target to be analyzed, crawler technology is utilized It carries out crawling the corresponding journal file of target to be analyzed in preassigned website.
3. according to the method described in claim 2, it is characterized in that, it is described obtained from the log database it is described to be analyzed Before the corresponding journal file of target, which comprises
The path of the log database is configured, quickly to position the log database according to the path.
4. the method according to claim 1, wherein it is described obtain the corresponding journal file of target to be analyzed it Before, the method also includes:
There is provided the object listing to be analyzed being pre-configured, wherein any mesh to be analyzed in the object listing to be analyzed of the pre-configuration Mark corresponding at least one environmental form mark;
The journal file for obtaining target to be analyzed, comprising:
After user specifies target to be analyzed, identifies, obtain if user selectes the environmental form for specifying target to be analyzed simultaneously Take journal file corresponding with environmental form mark in all journal files for specifying target to be analyzed;
After user specifies target to be analyzed, identified if user does not select the environmental form for specifying target to be analyzed simultaneously, Obtain all journal files for specifying target to be analyzed.
5. the method according to claim 1, wherein it is described according to the restrictive condition to the journal file into Before row parsing, the method also includes:
Obtain the format of the journal file;
The corresponding relationship of inquiry log format and analytic method determines the corresponding parsing of format of the journal file got Method;
It is described that the journal file is parsed according to the restrictive condition, comprising:
The journal file is parsed according to the format corresponding analytic method of the determining journal file.
6. according to right want 5 described in method, which is characterized in that the format of the journal file that the basis is got is corresponding Analytic method the journal file is parsed, comprising:
When detecting the quantity of the journal file and being more than predetermined file quantity, after user selectes journal file, using getting The journal file the corresponding analytic method of format to the user select journal file parse.
7. the method according to claim 1, wherein the method also includes:
It is corresponding chart by the parsing result aggregation process.
8. a kind of service performance analytical equipment based on journal file characterized by comprising
Data acquisition module, the limitation for obtaining the journal file of target to be analyzed and being parsed to the journal file Condition;
Document analysis module obtains parsing result for parsing according to the restrictive condition to the journal file.
9. a kind of electronic equipment, characterized in that it comprises:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of programs are configured to: executing -7 according to claim 1 Service performance analysis method described in one based on journal file.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Claim 1-7 described in any item service performance analysis methods based on journal file are realized when execution.
CN201811526600.6A 2018-12-13 2018-12-13 Service performance analysis method, device and electronic equipment based on journal file Pending CN109857623A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811526600.6A CN109857623A (en) 2018-12-13 2018-12-13 Service performance analysis method, device and electronic equipment based on journal file
PCT/CN2019/123027 WO2020119551A1 (en) 2018-12-13 2019-12-04 Log file-based service performance analysis method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811526600.6A CN109857623A (en) 2018-12-13 2018-12-13 Service performance analysis method, device and electronic equipment based on journal file

Publications (1)

Publication Number Publication Date
CN109857623A true CN109857623A (en) 2019-06-07

Family

ID=66891050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811526600.6A Pending CN109857623A (en) 2018-12-13 2018-12-13 Service performance analysis method, device and electronic equipment based on journal file

Country Status (2)

Country Link
CN (1) CN109857623A (en)
WO (1) WO2020119551A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765195A (en) * 2019-10-23 2020-02-07 北京锐安科技有限公司 Data analysis method and device, storage medium and electronic equipment
WO2020119551A1 (en) * 2018-12-13 2020-06-18 深圳壹账通智能科技有限公司 Log file-based service performance analysis method and apparatus, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598348A (en) * 2015-02-28 2015-05-06 南京途牛科技有限公司 Method and system for remotely analyzing performances of external system interfaces in real time
WO2015114753A1 (en) * 2014-01-29 2015-08-06 株式会社日立製作所 Analysis device and analysis method
CN105824744A (en) * 2016-03-21 2016-08-03 焦点科技股份有限公司 Real-time log collection and analysis method on basis of B2B (Business to Business) platform
CN106570013A (en) * 2015-10-09 2017-04-19 北京国双科技有限公司 Method and device for processing page access data
CN107660283A (en) * 2015-04-03 2018-02-02 甲骨文国际公司 For realizing the method and system of daily record resolver in Log Analysis System
CN107819623A (en) * 2017-11-08 2018-03-20 平安科技(深圳)有限公司 Applied performance analysis method and device
CN108038036A (en) * 2017-10-23 2018-05-15 山东中创软件商用中间件股份有限公司 Application system performance monitoring method, device, equipment and computer-readable storage medium
CN108228611A (en) * 2016-12-14 2018-06-29 平安科技(深圳)有限公司 Document information copies method and apparatus
CN108509309A (en) * 2018-02-13 2018-09-07 南京途牛科技有限公司 A kind of system and method carrying out performance monitoring based on access log

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030158944A1 (en) * 2002-02-19 2003-08-21 International Business Machines Corporation Software control in a business transaction environment
CN106407085B (en) * 2016-11-24 2019-03-15 中国银行股份有限公司 A kind of method for monitoring performance and device
CN106844171A (en) * 2016-12-27 2017-06-13 浪潮软件集团有限公司 Mass operation and maintenance implementation method
CN109857623A (en) * 2018-12-13 2019-06-07 深圳壹账通智能科技有限公司 Service performance analysis method, device and electronic equipment based on journal file

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015114753A1 (en) * 2014-01-29 2015-08-06 株式会社日立製作所 Analysis device and analysis method
CN104598348A (en) * 2015-02-28 2015-05-06 南京途牛科技有限公司 Method and system for remotely analyzing performances of external system interfaces in real time
CN107660283A (en) * 2015-04-03 2018-02-02 甲骨文国际公司 For realizing the method and system of daily record resolver in Log Analysis System
CN106570013A (en) * 2015-10-09 2017-04-19 北京国双科技有限公司 Method and device for processing page access data
CN105824744A (en) * 2016-03-21 2016-08-03 焦点科技股份有限公司 Real-time log collection and analysis method on basis of B2B (Business to Business) platform
CN108228611A (en) * 2016-12-14 2018-06-29 平安科技(深圳)有限公司 Document information copies method and apparatus
CN108038036A (en) * 2017-10-23 2018-05-15 山东中创软件商用中间件股份有限公司 Application system performance monitoring method, device, equipment and computer-readable storage medium
CN107819623A (en) * 2017-11-08 2018-03-20 平安科技(深圳)有限公司 Applied performance analysis method and device
CN108509309A (en) * 2018-02-13 2018-09-07 南京途牛科技有限公司 A kind of system and method carrying out performance monitoring based on access log

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020119551A1 (en) * 2018-12-13 2020-06-18 深圳壹账通智能科技有限公司 Log file-based service performance analysis method and apparatus, and electronic device
CN110765195A (en) * 2019-10-23 2020-02-07 北京锐安科技有限公司 Data analysis method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
WO2020119551A1 (en) 2020-06-18

Similar Documents

Publication Publication Date Title
CN107506451B (en) Abnormal information monitoring method and device for data interaction
US8949799B2 (en) Program log record optimization
US8756614B2 (en) Central registry for binding features using dynamic pointers
US20160086225A1 (en) Deep application crawling
US8972374B2 (en) Content acquisition system and method of implementation
US20130318496A1 (en) Detection of central-registry events influencing dynamic pointers and app feature dependencies
CN103678105A (en) Page code testing method and device
US20150089415A1 (en) Method of processing big data, apparatus performing the same and storage media storing the same
CN109801677B (en) Sequencing data automatic analysis method and device and electronic equipment
Oliver et al. Using the iPlant collaborative discovery environment
KR101183296B1 (en) Mechanisms for transferring raw data from one data structure to another representing the same item
CN109857623A (en) Service performance analysis method, device and electronic equipment based on journal file
CN107391528B (en) Front-end component dependent information searching method and equipment
Carvalho et al. PatternLab for proteomics 4.0: A one-stop shop for analyzing shotgun proteomic data
US20230237019A1 (en) Terminal and method for storing and parsing log data
CN111400245B (en) Art resource migration method and device
KR101784057B1 (en) Apparatus and method sharing customizable contents using user information of the mobile terminal
CN110955709B (en) Data processing method and device and electronic equipment
CN112612866A (en) Knowledge base text synchronization method and device, electronic equipment and storage medium
CN113553587B (en) File detection method, device, equipment and readable storage medium
CN113704020B (en) Method and device for analyzing error field data of solid state disk
CN117033318B (en) Method and device for generating data to be tested, storage medium and electronic equipment
CN113094268B (en) Test method, test device, test equipment and test medium
CN110297639B (en) Method and apparatus for detecting code
CN112579553A (en) Method and apparatus for recording information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication