CN107145427A - A kind of method and system of automatic classification monitoring application service daily record - Google Patents

A kind of method and system of automatic classification monitoring application service daily record Download PDF

Info

Publication number
CN107145427A
CN107145427A CN201710331461.0A CN201710331461A CN107145427A CN 107145427 A CN107145427 A CN 107145427A CN 201710331461 A CN201710331461 A CN 201710331461A CN 107145427 A CN107145427 A CN 107145427A
Authority
CN
China
Prior art keywords
daily record
client
application service
sequence
classification
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
CN201710331461.0A
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.)
Storm Sports (beijing) Co Ltd
Original Assignee
Storm Sports (beijing) 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 Storm Sports (beijing) Co Ltd filed Critical Storm Sports (beijing) Co Ltd
Priority to CN201710331461.0A priority Critical patent/CN107145427A/en
Publication of CN107145427A publication Critical patent/CN107145427A/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/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The method and system of automatic classification monitoring application service daily record of the invention, this method receives the application service daily record data of application server, and parsing obtains log field;Pre-set daily record classification information and log field is distributed to correspondence log category;Default request time section, default request time section is respectively corresponding to by log field;Default log field is respectively corresponding under default client-class;The default time-consuming section of request, log field is respectively corresponding under the time-consuming section of default request;Predeterminable area classification, default area classification is respectively corresponding to by client log field;Preset failure content type, asks defect content correspondence log field to be respectively corresponding to preset failure content type client;Sorted from big to small respectively comprising classifications such as log field quantity, obtain different classes of sequence;Default diagrammatic representation mode graphically shows request time section according to different classes of sequence.Solution must not classification monitoring application server daily record problem automatically.

Description

A kind of method and system of automatic classification monitoring application service daily record
Technical field
The present invention relates to the technical field of the network server management, more particularly, to a kind of automatic classification monitoring application The method and system of serve log.
Background technology
Application program (Application, abbreviation APP), is provided and other users or server for the user of using terminal Between interactive function, and with visual interface, facilitate user to obtain interactive information.Therefore, application program due to facilitation, The mode of operation of flexibility is extensively liked that being interacted by application program already turns into a kind of universal communication modes by people. With being continuously increased for Internet user, the customer volume that apps server is serviced also is continuously increased, and serviced The scope of user also constantly expands, to alleviate the service pressure of server, now many using many application server composition distributions The server group of formula server provides the user service support.
The user of application program can produce various application requests, using feedback during interacting, all the time Etc. information, daily record is applied in the behavior generation for the user that every server can be all serviced it, to record each user's progress Interactive operation, calls the operation of these the log analysis application runtimes or client that record when needed, for service State is monitored or safeguarded.But application service daily record is all stored on every distributed server in the prior art, carrying out , it is necessary to call data field assay from each application server when application program performs state verification, debugs or safeguard, handle Efficiency is low, and extraction real-time property is poor from each server, it is impossible to meet the requirement that application server is monitored.Root According to can only also embody the application operating reaction of user in current individual user or current region using daily record, it is unfavorable for overall point The data of analysis application user, to obtain targetedly application class strategy.
Also, existing application server daily record monitor mode can only be by way of remote transmission periodically by daily record data Transmit to monitoring side, then these daily records are parsed by related maintenance personnel with repaired or maintenance applications execution system plan Slightly so that it is ageing poor that application program execution system is handled, it is impossible to meet on application log control real-time It is required that, cause low using daily record monitoring efficiency.
Asked therefore it provides a kind of scheme that automatic classification monitoring is carried out to application serve log is that this area is urgently to be resolved hurrily Topic.
The content of the invention
In view of this, the invention provides a kind of method and system of automatic classification monitoring application service daily record, solve In the prior art can not classification monitoring application server daily record automatically technical problem.
In order to solve the above-mentioned technical problem, the present invention proposes a kind of method of automatic classification monitoring application service daily record, bag Include:
The application service daily record data of application server is received, the application service daily record data is parsed and obtains daily record word Section;
The log field is distributed under corresponding log category by the daily record classification information according to pre-setting, the day Will classification at least includes:Client request time, client identification, client request are time-consuming, region residing for client request and The defect content that client is asked;
According to default request time section, the client request time corresponding log field is respectively corresponding to Under default request time section;According to default client-class, by the corresponding log field point of the client identification Do not correspond to the default client-class;According to the time-consuming section of default request, by the time-consuming correspondence of the client request The log field be respectively corresponding under the default time-consuming section of request;According to default area classification, by the client The request residing corresponding log field in region in end is respectively corresponding under the default area classification;According to default failure Content type, asks the corresponding log field of defect content to be respectively corresponding to the default failure client Under content type;
It is according to the log field quantity included, each described request time section, client-class, request is time-consuming Section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class sequence, The time-consuming section sequence of request, area classification sequence and the sequence of defect content classification;
The sequence of request time section, client-class sequence, request are taken by section according to default diagrammatic representation mode Sequence, area classification sequence and the sequence of defect content classification graphically show.
Further, the sequence of request time section, client-class are sorted according to default diagrammatic representation mode, asked Ask the sequence of time-consuming section, area classification sequence and the sequence of defect content classification graphically to show, further for:
The sequence of request time section, client-class sequence, request are taken by section according to default diagrammatic representation mode Sequence, area classification sequence and the sequence of defect content classification graphically show;
By corresponding to the request time section, client-class, request time-consuming section, area classification and defect content classification Log field is stored in search database with tree-like branched structure.
Further, this method also includes:
In preset time period, the request time section, client-class, request are taken in section, area classification or failure When holding the log field quantity under classification up to or over default log field amount threshold, by the request time Section, client-class, request take the management port that section, area classification or defect content classification feed back to application service daily record.
Further, this method also includes:
The extraction strategy of the serve log information of the client is received, according to the strategy that extracts from the request time Extracted respectively in section sequence, client-class sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification Corresponding log information data, and the log information data of extraction are showed into rule displaying to the client with predetermined End.
Further, this method also includes:
According to the client identification and defect content, detect in database and exist in the client identification and failure When holding corresponding trouble shooting data, the trouble shooting data are sent to the client.
In order to solve in the prior art can not classification monitoring application server daily record automatically technical problem, the present invention also carries A kind of system of automatic classification monitoring application service daily record has been supplied, including:
Application service log analyzing module, application service daily record distribution module, application service daily record configuration module, using clothes Daily record order module of being engaged in and application service daily record monitoring display module;Wherein,
The application service log analyzing module, for being connected with the application service daily record distribution module, receiving should With the application service daily record data of server, parse the application service daily record data and obtain log field;
The application service daily record distribution module, for the application service log analyzing module and application service daily record Configuration module is connected, and the log field is distributed into corresponding log category according to the daily record classification information pre-set Under, the log category at least includes:Client request time, client identification, client request are time-consuming, client request institute The defect content that place region and client are asked;
The application service daily record configuration module, for the application service daily record distribution module and application service daily record Order module is connected, according to default request time section, by the client request time corresponding log field point Do not correspond to default request time section;According to default client-class, by the client identification corresponding day Will field is respectively corresponding under the default client-class;According to the time-consuming section of default request, by the client request The corresponding log field is taken to be respectively corresponding under the default time-consuming section of the request;, will according to default area classification The corresponding log field in region residing for the client request is respectively corresponding under the default area classification;According to pre- If defect content classification, ask the corresponding log field of defect content to be respectively corresponding to the client described pre- If defect content classification under;
The application service daily record order module, for being monitored with application service daily record configuration module and application service daily record Display module is connected, according to the log field quantity included, by each described request time section, client-class, Request time-consuming section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client class Time-consuming section sequence, area classification sequence and the sequence of defect content classification, Pai Xu not be asked;
The application service daily record monitors display module, for being connected with the application service daily record order module, root The sequence of request time section, client-class sequence, request are taken into section sequence, region class according to default diagrammatic representation mode Not Pai Xu and defect content classification sequence graphically show.
Further, application service daily record monitoring display module, further for:Application service daily record monitoring displaying is single Member and application service daily record supervising data storage unit;Wherein,
The application service daily record monitors display unit, for the application service daily record order module and application service Daily record supervising data storage unit is connected, according to default diagrammatic representation mode by the request time section sequence, client Classification sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification graphically show;
The application service daily record supervising data storage unit, for monitoring display unit phase with the application service daily record Connection, by the day corresponding to the request time section, client-class, request time-consuming section, area classification and defect content classification Will field is stored in search database with tree-like branched structure.
Further, the system also includes:
Application service daily record alarm modules, for being connected with the application service daily record configuration module, in preset time In section, the daily record under the request time section, client-class, request time-consuming section, area classification or defect content classification When field quantity is up to or over default log field amount threshold, the request time section, client-class, request are consumed Period, area classification or defect content classification feed back to the management port of application service daily record.
Further, the system also includes:
Self-defined application serve log information extraction modules, for being connected with the application service daily record order module, The extraction strategy of the serve log information of the client is received, sorted according to the extraction strategy from request time section, Extract corresponding respectively in client-class sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification Log information data, and the log information data of extraction are showed into rule displaying to the client with predetermined.
Further, the system also includes:
Trouble shooting module, for being connected with the application service daily record configuration module, according to the client identification And defect content, detect in database when there are the client identification and the corresponding trouble shooting data of defect content, will The trouble shooting data are sent to the client.
Compared with prior art, the method and system of automatic classification monitoring application service daily record of the invention, realize as Under beneficial effect:
(1) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server is carried out after homogeneous classification management and monitoring, is shown with default ways of presentation, should at every relative to only With the log information of analyzed area on server, be conducive to centralization, the systematization monitoring analysis of application service daily record, and with Most intuitively show form to be shown, be easy to better profit from the problem of daily record is fed back pointedly to configure solution.
(2) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server carries out homogeneous classification management and monitoring, additionally it is possible to which the data proposed according to client extract strategy to application Jin week self-defined extraction of the daily record data of server, meets the individual demand of different user.
(3) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server carries out homogeneous classification management and monitoring, configures default alert log amount threshold, there will be urgent need and solves Feedback problem remind in time to management end, to propose resolution policy in time, it is ensured that the stability of interaction between application program.
Certainly, implement the present invention any product must not specific needs simultaneously reach all the above technique effect.
By referring to the drawings to the detailed description of the exemplary embodiment of the present invention, further feature of the invention and its Advantage will be made apparent from.
Brief description of the drawings
The accompanying drawing for being combined in the description and constituting a part for specification shows embodiments of the invention, and even It is used for the principle for explaining the present invention together with its explanation.
Fig. 1 is the schematic flow sheet of the method for automatic classification monitoring application service daily record described in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the method for automatic classification monitoring application service daily record described in the embodiment of the present invention 2;
Fig. 3 is the structural representation of the system of automatic classification monitoring application service daily record described in the embodiment of the present invention 3;
Fig. 4 is the structural representation of the system of automatic classification monitoring application service daily record described in the embodiment of the present invention 4.
Embodiment
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should be noted that:Unless had in addition Body illustrates that the part and the positioned opposite of step, numerical expression and numerical value otherwise illustrated in these embodiments does not limit this The scope of invention.
The description only actually at least one exemplary embodiment is illustrative below, never as to the present invention And its any limitation applied or used.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of, the technology, method and apparatus should be considered as a part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
Embodiment 1
As shown in figure 1, described in the present embodiment the method for automatic classification monitoring application service daily record schematic flow sheet, this Embodiment provides a kind of method of Centralized Monitoring application server daily record, and this method includes the steps:
Step 101, the application service daily record data for receiving application server, parsing application service daily record data obtain daily record Field.
The daily record data of each application server has certain data format, according to data format parsing application clothes The data of business device are the field data that can obtain daily record, and include in these field datas and record the interaction of each application program instead The information content of feedback, therefore, log field have just reacted the running status situation of each application program.
Log field is distributed under corresponding log category by the daily record classification information that step 102, basis are pre-set, day Will classification at least includes:Client request time, client identification, client request are time-consuming, region residing for client request and The defect content that client is asked.
Client request time, client identification, client request are time-consuming, region and client institute residing for client request The defect content of request, can embody regionality or attributive character that application user is presently in, if for example, The connection feedback that all application service daily records in some region all feed back to the region is slow, just may illustrate in the region The problems such as network connection or not smooth transmission.
Step 103, according to default request time section, client request time corresponding log field is respectively corresponding to Under default request time section;According to default client-class, the corresponding log field of client identification is respectively corresponding to Under default client-class;According to the time-consuming section of default request, client request is taken into corresponding log field right respectively It should be taken to default request under section;According to default area classification, by the corresponding log field in region residing for client request It is respectively corresponding under default area classification;According to default defect content classification, client is asked into defect content correspondence Log field be respectively corresponding under default defect content classification.
Client request time, client identification, client request are time-consuming, region and client institute residing for client request The defect content of request, all with the more information content, and segmentation statistics is done to each classification can more ask quasi- ground body Reveal the problem of application service daily record is reacted.For example, the difference right and wrong between client request is time-consuming 1 second, 3 seconds, 30 seconds etc. It is often big, wherein the client application running situation or the feedback of server fed back also differ widely, having To propose to release the strategy of daily record problem if necessary, but be accomplished by piecewise analytic these daily record datas before this.
Step 104, according to the log field quantity included, each request time section, client-class, request is time-consuming Section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class sequence, The time-consuming section sequence of request, area classification sequence and the sequence of defect content classification.
It can intuitively reflect what each application program occurred in interaction by the sequence of log field quantity Problem, sequentially to propose relatively reasonable solution according to urgent situation in service end.
Step 105, according to default diagrammatic representation mode by request time section sequence, client-class sequence, request consume Period sequence, area classification sequence and the sequence of defect content classification graphically show.
Diagrammatic representation is typically most directly perceived, is easiest to show form, the custodian of application server by what people were received Member also easily can obtain the concentration sex chromosome mosaicism that is fed back in daily record by the classification and ordination chart of daily record data.
Embodiment 2
As shown in Fig. 2 described in the present embodiment the method for automatic classification monitoring application service daily record schematic flow sheet, this Embodiment is a kind of preferred embodiment provided on the basis of above-described embodiment 1, and this method comprises the following steps:
Step 201, the application service daily record data for receiving application server, parsing application service daily record data obtain daily record Field.
Log field is distributed under corresponding log category by the daily record classification information that step 202, basis are pre-set, day Will classification at least includes:Client request time, client identification, client request are time-consuming, region residing for client request and The defect content that client is asked.
Step 203, according to default request time section, client request time corresponding log field is respectively corresponding to Under default request time section;According to default client-class, the corresponding log field of client identification is respectively corresponding to Under default client-class;According to the time-consuming section of default request, client request is taken into corresponding log field right respectively It should be taken to default request under section;According to default area classification, by the corresponding log field in region residing for client request It is respectively corresponding under default area classification;According to default defect content classification, client is asked into defect content correspondence Log field be respectively corresponding under default defect content classification.
Step 204, according to the log field quantity included, each request time section, client-class, request is time-consuming Section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class sequence, The time-consuming section sequence of request, area classification sequence and the sequence of defect content classification.
Step 205, according to default diagrammatic representation mode by request time section sequence, client-class sequence, request consume Period sequence, area classification sequence and the sequence of defect content classification graphically show.
It is step 206, request time section, client-class, the time-consuming section of request, area classification and defect content classification institute is right The log field answered is stored in search database with tree-like branched structure.
Step 207, in preset time period, request time section, client-class, the time-consuming section of request, area classification or therefore When hindering the log field quantity under content type up to or over default log field amount threshold, by the request time Section, client-class, request take the management port that section, area classification or defect content classification feed back to application service daily record.
Preset time period, can be 1 day to 30 days.Log field amount threshold, can be more than or equal to 20.
The extraction strategy of step 208, the serve log information of reception client, is arranged according to strategy is extracted from request time section Correspondence is extracted respectively in sequence, client-class sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification Log information data, and the log information data of extraction are showed into rule displaying to client with predetermined.
Step 209, according to client identification and defect content, detect in database and exist in client identification and failure When holding corresponding trouble shooting data, trouble shooting data are sent to client.
Embodiment 3
As shown in figure 3, described in the present embodiment the system of automatic classification monitoring application service daily record structural representation, this System described in embodiment is used for the method for implementing automatic classification monitoring application service daily record described in above-described embodiment, the system bag Include:Application service log analyzing module 301, application service daily record distribution module 302, application service daily record configuration module 303, should With serve log order module 304 and application service daily record monitoring display module 305.
Wherein, application service log analyzing module 301 is connected with application service daily record distribution module 302, for receiving The application service daily record data of application server, parsing application service daily record data obtains log field.
Application service daily record distribution module 302 and application service log analyzing module 301 and application service daily record configuration mould Block 303 is connected, for log field to be distributed under corresponding log category according to the daily record classification information pre-set, day Will classification at least includes:Client request time, client identification, client request are time-consuming, region residing for client request and The defect content that client is asked.
Application service daily record configuration module 303 and application service daily record distribution module 302 and application service daily record sequence mould Block 304 is connected, for according to default request time section, client request time corresponding log field to be respectively corresponding to Under default request time section;According to default client-class, the corresponding log field of client identification is respectively corresponding to Under default client-class;According to the time-consuming section of default request, client request is taken into corresponding log field right respectively It should be taken to default request under section;According to default area classification, by the corresponding log field in region residing for client request It is respectively corresponding under default area classification;According to default defect content classification, client is asked into defect content correspondence Log field be respectively corresponding under default defect content classification.
Application service daily record order module 304 and application service daily record configuration module 303 and application service daily record monitoring exhibition Show that module 305 is connected, for according to the log field quantity included, by each request time section, client-class, request Time-consuming section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class row Sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification.
Application service daily record monitoring display module 305 is connected with application service daily record order module 304, for according to pre- If diagrammatic representation mode by the sequence of request time section, client-class sequence, the time-consuming section sequence of request, area classification sequence and The sequence of defect content classification graphically shows.
Embodiment 4
As shown in figure 4, described in the present embodiment the system of automatic classification monitoring application service daily record structural representation, this Embodiment is a kind of preferred embodiment provided on the basis of above-described embodiment 3, and the system includes:Application service daily record parses mould Block 401, application service daily record distribution module 402, application service daily record configuration module 403, application service daily record order module 404 And application service daily record monitoring display module 405.
Wherein, application service log analyzing module 401 is connected with application service daily record distribution module 402, for receiving The application service daily record data of application server, parsing application service daily record data obtains log field.
Application service daily record distribution module 402 and application service log analyzing module 401 and application service daily record configuration mould Block 403 is connected, for log field to be distributed under corresponding log category according to the daily record classification information pre-set, day Will classification at least includes:Client request time, client identification, client request are time-consuming, region residing for client request and The defect content that client is asked.
Application service daily record configuration module 403 and application service daily record distribution module 302 and application service daily record sequence mould Block 404 is connected, for according to default request time section, client request time corresponding log field to be respectively corresponding to Under default request time section;According to default client-class, the corresponding log field of client identification is respectively corresponding to Under default client-class;According to the time-consuming section of default request, client request is taken into corresponding log field right respectively It should be taken to default request under section;According to default area classification, by the corresponding log field in region residing for client request It is respectively corresponding under default area classification;According to default defect content classification, client is asked into defect content correspondence Log field be respectively corresponding under default defect content classification.
Application service daily record order module 404 and application service daily record configuration module 403 and application service daily record monitoring exhibition Show that module 405 is connected, for according to the log field quantity included, by each request time section, client-class, request Time-consuming section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class row Sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification.
Application service daily record monitoring display module 405 is connected with application service daily record order module 404, for according to pre- If diagrammatic representation mode by the sequence of request time section, client-class sequence, the time-consuming section sequence of request, area classification sequence and The sequence of defect content classification graphically shows.
Application service daily record monitors display module 405:Application service daily record monitors display unit 451 and application Serve log supervising data storage unit 452;Wherein,
Application service daily record monitors display unit 451 and supervised with application service daily record order module 404 and application service daily record Control data storage cell 452 be connected, for according to default diagrammatic representation mode by request time section sequence, client-class Sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification graphically show.
Application service daily record supervising data storage unit 452 is connected with application service daily record monitoring display unit 451, uses In by the log field corresponding to request time section, client-class, request time-consuming section, area classification and defect content classification with Tree-like branched structure is stored in search database.
Alternatively, said system also includes:Application service daily record alarm modules 406, with application service daily record configuration module 403 are connected, in preset time period, request time section, client-class, request to take section, area classification or failure When log field quantity under content type is up to or over default log field amount threshold, by request time section, Client-class, request time-consuming section, area classification or defect content classification feed back to the management port of application service daily record.
Alternatively, said system also includes:Self-defined application serve log information extraction modules 407, with application service day Will order module 404 is connected, the extraction strategy of the serve log information for receiving client, tactful from request according to extracting In slot sorting, client-class sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification respectively Corresponding log information data are extracted, and the log information data of extraction are showed into rule displaying to client with predetermined.
Alternatively, said system also includes:Trouble shooting module 408, is connected with application service daily record configuration module 403 Connect, there is client identification and defect content is corresponding for according to client identification and defect content, detecting in database During trouble shooting data, trouble shooting data are sent to client.
By above-described embodiment, the method and system of automatic classification monitoring application service daily record of the invention reach Following beneficial effect:
(1) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server is carried out after homogeneous classification management and monitoring, is shown with default ways of presentation, should at every relative to only With the log information of analyzed area on server, be conducive to centralization, the systematization monitoring analysis of application service daily record, and with Most intuitively show form to be shown, be easy to better profit from the problem of daily record is fed back pointedly to configure solution.
(2) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server carries out homogeneous classification management and monitoring, additionally it is possible to which the data proposed according to client extract strategy to application Jin week self-defined extraction of the daily record data of server, meets the individual demand of different user.
(3) method and system of automatic classification monitoring application service daily record of the present invention, are applied by collecting each Daily record on server carries out homogeneous classification management and monitoring, configures default alert log amount threshold, there will be urgent need and solves Feedback problem remind in time to management end, to propose resolution policy in time, it is ensured that the stability of interaction between application program.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, device or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
Although some specific embodiments of the present invention are described in detail by example, the skill of this area Art personnel are it should be understood that example above is merely to illustrate, the scope being not intended to be limiting of the invention.The skill of this area Art personnel to above example it should be understood that can modify without departing from the scope and spirit of the present invention.This hair Bright scope is defined by the following claims.

Claims (10)

1. a kind of method of automatic classification monitoring application service daily record, it is characterised in that including:
The application service daily record data of application server is received, the application service daily record data is parsed and obtains log field;
The log field is distributed under corresponding log category by the daily record classification information according to pre-setting, the daily record class Do not include at least:Client request time, client identification, client request are time-consuming, region and client residing for client request The asked defect content in end;
According to default request time section, the client request time corresponding log field is respectively corresponding to preset Request time section under;It is according to default client-class, the corresponding log field of the client identification is right respectively Should be under the default client-class;According to the time-consuming section of default request, the client request is taken into corresponding institute Log field is stated to be respectively corresponding under the default time-consuming section of the request;, please by the client according to default area classification The corresponding log field in residing region is asked to be respectively corresponding under the default area classification;According to default defect content Classification, asks the corresponding log field of defect content to be respectively corresponding to the default defect content client Under classification;
According to the log field quantity included, by each described request time section, client-class, the time-consuming section of request, Area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class sequence, request Time-consuming section sequence, area classification sequence and the sequence of defect content classification;
The request time section sequence, client-class sequence, the time-consuming section of request are sorted according to default diagrammatic representation mode, Area classification sorts and the sequence of defect content classification graphically shows.
2. the method for automatic classification monitoring application service daily record according to claim 1, it is characterised in that according to default Diagrammatic representation mode by the sequence of request time section, client-class sequence, the time-consuming section sequence of request, area classification sequence and Defect content classification sequence graphically shows, further for:
The request time section sequence, client-class sequence, the time-consuming section of request are sorted according to default diagrammatic representation mode, Area classification sorts and the sequence of defect content classification graphically shows;
By the daily record corresponding to the request time section, client-class, request time-consuming section, area classification and defect content classification Field is stored in search database with tree-like branched structure.
3. the method for automatic classification monitoring application service daily record according to claim 1, it is characterised in that also include:
In preset time period, the request time section, client-class, request time-consuming section, area classification or defect content class When the log field quantity under not is up to or over default log field amount threshold, by request time section, visitor Family end classification, request time-consuming section, area classification or defect content classification feed back to the management port of application service daily record.
4. the method for automatic classification monitoring application service daily record according to claim 1, it is characterised in that also include:
The extraction strategy of the serve log information of the client is received, is arranged according to the strategy that extracts from request time section Correspondence is extracted respectively in sequence, client-class sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification Log information data, and the log information data of extraction are showed into rule displaying to the client with predetermined.
5. the method for automatic classification monitoring application service daily record according to claim 1, it is characterised in that also include:
According to the client identification and defect content, detect in database and there is the client identification and defect content pair During the trouble shooting data answered, the trouble shooting data are sent to the client.
6. a kind of system of automatic classification monitoring application service daily record, it is characterised in that including:Application service daily record parses mould Block, application service daily record distribution module, application service daily record configuration module, application service daily record order module and application service day Will monitors display module;Wherein,
The application service log analyzing module, for being connected with the application service daily record distribution module, receives application clothes The application service daily record data of business device, parses the application service daily record data and obtains log field;
The application service daily record distribution module, for being configured with the application service log analyzing module and application service daily record Module is connected, and the log field is distributed under corresponding log category according to the daily record classification information pre-set, institute Stating log category at least includes:Client request time, client identification, client request are time-consuming, area residing for client request The defect content that domain and client are asked;
The application service daily record configuration module, for being sorted with the application service daily record distribution module and application service daily record Module is connected, according to default request time section, the client request time corresponding log field is right respectively Should to default request time section under;According to default client-class, by the corresponding daily record word of the client identification Section is respectively corresponding under the default client-class;According to the time-consuming section of default request, the client request is taken The corresponding log field is respectively corresponding under the default time-consuming section of the request;, will be described according to default area classification The corresponding log field in region residing for client request is respectively corresponding under the default area classification;According to default Defect content classification, asks the corresponding log field of defect content to be respectively corresponding to the client described default Under defect content classification;
The application service daily record order module, for being shown with application service daily record configuration module and application service daily record monitoring Module is connected, according to the log field quantity included, by each request time section, client-class, request Time-consuming section, area classification and defect content classification sort from big to small respectively, obtain the sequence of request time section, client-class row Sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification;
The application service daily record monitors display module, for being connected with the application service daily record order module, according to pre- If diagrammatic representation mode the sequence of request time section, client-class sequence, the time-consuming section sequence of request, area classification are arranged Sequence and the sequence of defect content classification graphically show.
7. the system of automatic classification monitoring application service daily record according to claim 6, it is characterised in that the application clothes Be engaged in daily record monitoring display module, further for:Application service daily record monitors display unit and application service daily record monitoring data is deposited Storage unit;Wherein,
The application service daily record monitors display unit, for the application service daily record order module and application service daily record Supervising data storage unit is connected, according to default diagrammatic representation mode by the request time section sequence, client-class Sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification graphically show;
The application service daily record supervising data storage unit, for being connected with application service daily record monitoring display unit Connect, by the daily record corresponding to the request time section, client-class, request time-consuming section, area classification and defect content classification Field is stored in search database with tree-like branched structure.
8. the system of automatic classification monitoring application service daily record according to claim 6, it is characterised in that also include:Should Serve log alarm modules are used, it is described to ask in preset time period for being connected with the application service daily record configuration module The log field quantity under seeking time section, client-class, request time-consuming section, area classification or defect content classification reaches Or during more than default log field amount threshold, by the request time section, client-class, request time-consuming section, region class Other or defect content classification feeds back to the management port of application service daily record.
9. the system of automatic classification monitoring application service daily record according to claim 6, it is characterised in that also include:From Application service log information extraction module is defined, for being connected with the application service daily record order module, the visitor is received The extraction strategy of the serve log information at family end, according to the strategy that extracts from the sequence of request time section, client-class Corresponding log information number is extracted respectively in sequence, the time-consuming section sequence of request, area classification sequence and the sequence of defect content classification According to, and the log information data of extraction are showed into rule displaying to the client with predetermined.
10. the system of automatic classification monitoring application service daily record according to claim 6, it is characterised in that also include:Therefore Barrier releases module, for being connected with the application service daily record configuration module, according to the client identification and defect content, Detect in database when there are the client identification and the corresponding trouble shooting data of defect content, by the trouble shooting Data are sent to the client.
CN201710331461.0A 2017-05-11 2017-05-11 A kind of method and system of automatic classification monitoring application service daily record Pending CN107145427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710331461.0A CN107145427A (en) 2017-05-11 2017-05-11 A kind of method and system of automatic classification monitoring application service daily record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710331461.0A CN107145427A (en) 2017-05-11 2017-05-11 A kind of method and system of automatic classification monitoring application service daily record

Publications (1)

Publication Number Publication Date
CN107145427A true CN107145427A (en) 2017-09-08

Family

ID=59776906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710331461.0A Pending CN107145427A (en) 2017-05-11 2017-05-11 A kind of method and system of automatic classification monitoring application service daily record

Country Status (1)

Country Link
CN (1) CN107145427A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474807A (en) * 2019-08-16 2019-11-19 北京云中融信网络科技有限公司 A kind of log processing method and device
CN110489390A (en) * 2018-05-09 2019-11-22 杭州海康威视数字技术股份有限公司 Log recording method and device and logger generation method and device
CN116225855A (en) * 2023-05-10 2023-06-06 荣耀终端有限公司 Log generation method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453378A (en) * 2008-12-30 2009-06-10 杭州华三通信技术有限公司 Method and system for log damp and audit
US20150094959A1 (en) * 2013-10-02 2015-04-02 Nec Laboratories America, Inc. Heterogeneous log analysis
CN106528566A (en) * 2015-09-11 2017-03-22 北京国双科技有限公司 Log file output method, server and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453378A (en) * 2008-12-30 2009-06-10 杭州华三通信技术有限公司 Method and system for log damp and audit
US20150094959A1 (en) * 2013-10-02 2015-04-02 Nec Laboratories America, Inc. Heterogeneous log analysis
CN106528566A (en) * 2015-09-11 2017-03-22 北京国双科技有限公司 Log file output method, server and client

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489390A (en) * 2018-05-09 2019-11-22 杭州海康威视数字技术股份有限公司 Log recording method and device and logger generation method and device
CN110489390B (en) * 2018-05-09 2022-05-03 杭州海康威视数字技术股份有限公司 Log recording method and device and log recorder generating method and device
CN110474807A (en) * 2019-08-16 2019-11-19 北京云中融信网络科技有限公司 A kind of log processing method and device
CN110474807B (en) * 2019-08-16 2022-06-21 北京云中融信网络科技有限公司 Log processing method and device
CN116225855A (en) * 2023-05-10 2023-06-06 荣耀终端有限公司 Log generation method, electronic equipment and storage medium
CN116225855B (en) * 2023-05-10 2023-09-12 荣耀终端有限公司 Log generation method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2019085404A1 (en) Customer service staff management method, electronic device, and computer-readable storage medium
CN103118051B (en) A kind of method and apparatus that Information issued process is monitored
CN105306272B (en) Information system fault scenes formation gathering method and system
CN110555019B (en) Data cleaning method based on service end
CN103488793A (en) User behavior monitoring method based on information retrieval
CN110688280A (en) Management system, method, equipment and storage medium of alarm event
CN107145427A (en) A kind of method and system of automatic classification monitoring application service daily record
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN109800133A (en) A kind of method, one-stop monitoring alarm platform and the system of unified monitoring alarm
CN110728498A (en) Information interaction method and device
CN112141832A (en) Visual operation platform of elevator thing networking
CN112396432A (en) Return visit task generation system, return visit task generation method, return visit task generation equipment and return visit task generation medium
CN109582531A (en) Monitoring method, device and the electronic equipment of power distribution unit
CN106506199A (en) The automatic monitoring method and device of interface in system line
CN110727563A (en) Cloud service alarm method and device for preset customer
CN106447242A (en) Power consumption service acceptance time limit management method and device
CN105025179A (en) Method and system for monitoring service agents of call center
CN110798660B (en) Integrated operation and maintenance system based on cloud federal audio and video fusion platform
CN110569178B (en) Interface early warning method and system based on big data platform
CN111212112A (en) Information processing method and device
CN105607983A (en) Data exception monitoring method and apparatus
CN110569238A (en) data management method, system, storage medium and server based on big data
CN114500316B (en) Method and system for inspecting equipment of Internet of things
CN109245927A (en) Warning system and method in cloud data system
CN115080271A (en) Event data processing method and device, electronic equipment and storage medium

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200811

AD01 Patent right deemed abandoned