CN104794040A - Service monitoring method, device and system - Google Patents

Service monitoring method, device and system Download PDF

Info

Publication number
CN104794040A
CN104794040A CN201510216874.5A CN201510216874A CN104794040A CN 104794040 A CN104794040 A CN 104794040A CN 201510216874 A CN201510216874 A CN 201510216874A CN 104794040 A CN104794040 A CN 104794040A
Authority
CN
China
Prior art keywords
object event
event
record
monitoring
monitoring statistical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510216874.5A
Other languages
Chinese (zh)
Other versions
CN104794040B (en
Inventor
张璐
崔燕
董长阳
周启
翟庆羽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510216874.5A priority Critical patent/CN104794040B/en
Publication of CN104794040A publication Critical patent/CN104794040A/en
Application granted granted Critical
Publication of CN104794040B publication Critical patent/CN104794040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a service monitoring method, device and system. The technical problem that service processing process/thread performance and monitoring real-time performance are lowered is solved. The service monitoring method comprises the steps that a target event in a service is detected; if the target event is detected, the attribute information of the target event is obtained; according to the attribute information, the target event is recorded; according to the recorded target event, a monitoring statistical log is generated and output; monitoring statistical information is generated according to the monitoring statistical log. According to the service monitoring method, device and system, the service process/thread performance is prevented from being lowered, and the monitoring real-time performance is improved.

Description

Business monitoring method, Apparatus and system
Technical field
The application relates to technical field of data processing, is specifically related to business monitoring method, Apparatus and system.
Background technology
In the system of multithreading, multi-process framework, in order to ensure the normal operation of system, usually needing to monitor this system, and then obtaining monitoring statistics.Wherein, monitor statistics can comprise: visit capacity, the frequency of failure, expired times and hit rate etc.
Concrete monitoring step can comprise: business process/thread, in process business procedure, detects object event; If object event detected, then export a large amount of daily record relevant to object event; Resolve, to obtain the attribute information of object event under line is carried out to a large amount of daily records exported; Monitoring statistical information is generated according to attribute information.Wherein, the type belonging to attribute information indicating target event and entry etc. corresponding to type.Such as, type is time-out, and entry can comprise: the entry etc. of the entry of instruction time-out 1 millisecond to 20 milliseconds, the entry of instruction time-out 21 milliseconds to 40 milliseconds and instruction time-out more than 40 milliseconds.
In said process, a large amount of output journal causes the hydraulic performance decline of business process/thread; In addition, exporting a large amount of daily record and resolving down a large amount of daily record online needs to take the plenty of time, therefore, reduces the real-time of monitoring.
Summary of the invention
For the problems referred to above, this application provides a kind of business monitoring method, Apparatus and system.Solve the hydraulic performance decline of business processing process/thread, and the technical matters that the real-time of monitoring is lower.
First aspect, provides a kind of business monitoring method, comprising:
Detect the object event in each business;
If described object event detected, then obtain the attribute information of object event;
Object event according to described attribute information record;
Object event according to record generates and output monitoring statistical log;
Monitoring statistical information is generated according to described monitoring statistical log.
Second aspect, provides a kind of business monitoring device, comprising:
Detecting unit, is configured for the object event detected in each business;
Acquiring unit, if be configured for described detecting unit described object event to be detected, then obtains the attribute information of object event;
Record cell, is configured for object event described in the described attribute information record that obtains according to described acquiring unit;
Daily record output unit, is configured for and generates and output monitoring statistical log according to the object event of described recording unit records;
Described acquiring unit, is also configured for the described monitoring statistical log exported according to described daily record output unit and obtains monitoring statistical information.
The third aspect, provides a kind of service monitoring system, comprising:
Business module, is configured for detection object event; If described object event detected, then obtain the attribute information of object event; Send object event notification message to monitoring statistical module, described object event notification message comprises described attribute information;
Described monitoring statistical module, is configured for the described object event notification message receiving described business module and send; Object event according to described attribute information record; Object event according to record generates and output monitoring statistical log.
In the embodiment of the application, detect the object event in each business, if object event detected, then obtain the attribute information of object event; According to attribute information record object event; Object event according to record generates and output monitoring statistical log; Monitoring statistical information is generated according to monitoring statistical log.Export a large amount of daily record with prior art, resolve under then carrying out line to a large amount of daily records exported and compare, the embodiment of the application only needs output monitoring statistical log, avoids the performance of reduction business process/thread; In addition, time due to output monitoring statistical log is less than in prior art the time exporting a large amount of daily record, and has comprised the data of necessary for monitoring in the monitoring statistical log exported, to make without the need to resolving a large amount of daily record under line, therefore, the real-time of monitoring is added.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 shows the indicative flowchart of a kind of embodiment of the business monitoring method that the application provides;
Fig. 2 shows the indicative flowchart of the another kind of embodiment of the business monitoring method that the application provides;
Fig. 3 shows the schematic diagram of a kind of staqtistical data base that the application provides;
Fig. 4 shows the structural representation of a kind of embodiment of the business monitoring device that the application provides;
Fig. 5 shows the structural representation of a kind of embodiment of the service monitoring system that the application provides;
Fig. 6 shows the structural representation of the computer system that the application provides.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
In order to solve the hydraulic performance decline of business processing process/thread in prior art, and the technical matters that the real-time of monitoring is lower, the application detects object event on line, and according to the attribute information record object event of object event, and then generate and output monitoring statistical log according to the object event of record.Afterwards, monitoring statistical information is obtained according to monitoring statistical log under online.Owing to only needing output monitoring statistical log, therefore, the performance reducing business processing process/thread is avoided; In addition, time due to output monitoring statistical log is less than in prior art the time exporting a large amount of daily record, and has comprised the data of necessary for monitoring in the monitoring statistical log exported, to make without the need to resolving a large amount of daily record under line, therefore, the real-time of monitoring is added.
Based on foregoing, the embodiment of the application provides a kind of business monitoring method.The method can be applied in arbitrary electronic equipment, e.g., and terminal device, server etc.
Fig. 1 shows the indicative flowchart of a kind of embodiment of the business monitoring method that the application provides.As shown in Figure 1, the method can comprise step 110 to step 150.
Wherein, in step 110, the object event in each business is detected.In the step 120, if object event detected, then obtain the attribute information of object event.
In the present embodiment, electronic equipment can detect request message in each business and response message; Determine whether the event that the request message that detects and response message trigger is object event; If be object event, then determine object event to be detected.Wherein, object event can include but not limited to: Access Events, turkey, time out event and hit event etc.
Such as, object event comprises: Access Events, time out event.If electronic equipment receives access request message, then determine Access Events to be detected in business according to request of access; If electronic equipment detects the overtime response message of access, then determine time out event to be detected in business according to the overtime response message of access.
The method of above-mentioned detection object event is technology well known to those skilled in the art, and therefore not to repeat here.
In the present embodiment, if electronic equipment does not detect object event, then can continue to perform step 110.
In the present embodiment, electronic equipment can obtain the attribute information of the object event detected according to the request message detected and access message.Attribute information can comprise: the type belonging to object event and entry etc. corresponding to type.Wherein, type can comprise: can quantize event, non-ly quantize event.The non-event that quantizes can comprise: access, perform unsuccessfully etc., and entry corresponding to access type can comprise: access successfully, access unsuccessfully.Event can be quantized can comprise: hit, time-out etc.Entry corresponding to hit type can include but not limited to: the entry that instruction hit rate falls into the entry in 0% to 50% interval, instruction hit rate falls into 51% to 100% interval; Entry corresponding to time-out type can include but not limited to: instruction time-out time falls into 1 millisecond to 20 milliseconds interval entry, instruction time-out time falls into 21 milliseconds to 40 milliseconds interval entries and instruction time-out time falls into more than 40 milliseconds interval entries etc.
What deserves to be explained is lap to be there is between each object event.Such as, between Access Events and turkey, because turkey can comprise the event performing any operation failure, as access turkey etc., therefore, when execution access and when accessing unsuccessfully, electronic equipment can detect Access Events and turkey.
In step 130, according to attribute information record object event.
In the present embodiment, electronic equipment is identified the object event detected by attribute information, specifically can identify the type belonging to each object event and entry.Afterwards, record carries the object event of mark.
In step 140, generate and output monitoring statistical log according to the object event of record.In step 150, generate monitoring statistical information according to monitoring statistical log.
Because monitoring statistical log at least can comprise object event and the attribute information thereof of instruction record, as, instruction have recorded object event, this object event belongs to access level, and the access success entry belonged in access level, therefore, electronic equipment directly can generate monitoring statistical information according to monitoring statistical log, without the need to resolving a large amount of daily record to determine object event and attribute information thereof as passing through in prior art, and then add the real-time of monitoring statistical information.
In the present embodiment, if the object event of record is Access Events, then the monitoring statistical information generated can comprise visit capacity, alternatively, specifically can comprise: access successful quantity and access failed quantity etc.If the object event of record is time out event, the monitoring statistical information then generated can comprise expired times, alternatively, specifically can comprise: time-out time falls into 1 millisecond to 20 milliseconds interval number of times, time-out time falls into 21 milliseconds to 40 milliseconds interval number of times and time-out time falls into more than 40 milliseconds interval number of times etc.
In the present embodiment, detect the object event in each business, if object event detected, then obtain the attribute information of object event; According to attribute information record object event; Object event according to record generates and output monitoring statistical log; Monitoring statistical information is generated according to monitoring statistical log.Export a large amount of daily record with prior art, resolve under then carrying out line to a large amount of daily records exported and compare, the embodiment of the application only needs output monitoring statistical log, avoids the performance of reduction business process/thread; In addition, time due to output monitoring statistical log is less than in prior art the time exporting a large amount of daily record, and has comprised the data of necessary for monitoring in the monitoring statistical log exported, to make without the need to resolving a large amount of daily record under line, therefore, the real-time of monitoring is added.
In a further embodiment, electronic equipment can according to attribute information record object event in internal memory.Thus, electronic equipment also needs allocate memory before recording, e.g., and allocate memory size etc.
Based on foregoing, please refer to Fig. 2, it illustrates the indicative flowchart of the another kind of embodiment that the business monitoring method provided is provided.As shown in Figure 2, before the step 130 " according to attribute information record object event " shown in Fig. 1, step 210 and step 220 can also be comprised further.Concrete, step 210 and step 220 can perform before arbitrary steps in step 110 to step 130, and the present embodiment is described to perform before step 110.
Wherein, in step 210, the type of all object events to be detected and entry corresponding to each type is obtained.In a step 220, according to type and entry allocate memory.
Wherein, be similar to the content that step 120 is recorded, type can comprise following at least one item: can quantize event, non-ly quantize event; Can quantize entry corresponding to event can comprise: quantized values falls into the event in target value interval, the non-event that quantizes comprises: the event of indicating target result items; Objective result item at least can comprise: run succeeded, perform failure.The type of event to be monitored and entry corresponding to each type can be electronic equipment default settings, also can be arrange according to the input of user.
In the present embodiment, electronic equipment can according to the size of the quantity allocate memory of type and entry.This internal memory is specifically as follows: shared drive, privately owned internal memory etc.If be shared drive, then can lock to shared drive.The mode of above-mentioned deploy content is technology well known to those skilled in the art, and therefore not to repeat here.
In a further embodiment, the step 130 " according to attribute information record object event " shown in Fig. 1 can comprise further: according to attribute information record object event in internal memory.
In a further embodiment, before step 110 shown in Fig. 1 " detects the object event in each business ", can also comprise further: electronic equipment can according to type and entry determination object event.Such as, if the type of event to be detected is access, entry comprises accesses successfully and accesses unsuccessfully, then determine that object event can comprise: access success events and access turkey.
In a further embodiment, please refer to Fig. 2, the step 130 " according to attribute information record object event " shown in Fig. 1 can comprise step 230 further.Namely according to attribute information record object event in internal memory, step 230 can be comprised further.
Wherein, in step 230, record object event in the data item corresponding with object event comprised in staqtistical data base.Internal memory can comprise staqtistical data base, and staqtistical data base can comprise at least one data item, and each data item is corresponding with respective entries.
In the present embodiment, record object event in the data item corresponding with object event that electronic equipment comprises in staqtistical data base, to make it possible to the object event by recording in data item, determines the quantity of the object event of the entry that this data item is corresponding.
In one implementation, electronic equipment can by the count value performance objective computing of data item corresponding for object event.Wherein, target computing can include but not limited to: addition, multiplication etc.The count value of each data item can characterize the generation quantity of the object event of the entry of its correspondence.Thus, after the business process/thread of electronic equipment detects object event, can the capable corresponding operating of internal counter foil be passed through, realize the count value performance objective computing of data item corresponding for object event, and then realize record object event in internal memory.Afterwards, electronic equipment can generate and output monitoring statistical log according to the object event of record.Compared with exporting a large amount of daily record with prior art, avoid the performance of reduction business process/thread.
Such as, Access Events and time out event is comprised for object event.Please refer to Fig. 3, it illustrates the schematic diagram of a kind of staqtistical data base that the application provides.As shown in Figure 3, staqtistical data base 300 comprises multiple data item, and data item 310 and data item 320 correspond to the entry that type is access, and data item 330 to data item 350 corresponds to the entry that type is time-out.Wherein, data item 310 corresponds to the successful entry of instruction access, data item 320 corresponds to the failed entry of instruction access, data item 330 corresponds to instruction time-out time and falls into 1 millisecond to 20 milliseconds interval entry, data item 340 corresponds to instruction time-out time and falls into 21 milliseconds to 40 milliseconds interval entries, and data item 350 corresponds to instruction time-out time and falls into more than 40 milliseconds interval entries.If the business process/thread of electronic equipment detects access success events, then electronic equipment can travel through the data item in staqtistical data base 300, finds and accesses data item corresponding to successful entry 310 with indicating, the count value 360 of this data item is added 1.Like this, electronic equipment can determine the generation quantity of the object event of the entry of its correspondence according to the count value of each data item.
In the present embodiment, record object event in the data item corresponding with object event that electronic equipment can also comprise in staqtistical data base by other means, as, the identification information of object event can be added in corresponding data item, afterwards, electronic equipment can according to the quantity of the identification information determination respective objects event of the object event recorded in data item.
In a further embodiment, please refer to Fig. 2, in order to avoid having a negative impact to the performance of business process/thread further, electronic equipment can be generated and output monitoring statistical log by idle process or idle thread.Wherein, idle process can be existing process or newly-built process, similar, and idle thread can be existing thread or newly-built thread.
The present embodiment provides a kind of business monitoring device for implementing said method embodiment.Please refer to Fig. 4, it illustrates the structural representation of a kind of embodiment of the business monitoring device that the application provides.
As shown in Figure 4, business monitoring device 400 can comprise: detecting unit 410, is configured for the object event detected in each business; Acquiring unit 420, if be configured for detecting unit 410 object event to be detected, then obtains the attribute information of object event; Record cell 430, is configured for the attribute information record object event obtained according to acquiring unit 420; Daily record output unit 440, is configured for the object event recorded according to record cell 430 and generates and output monitoring statistical log; Acquiring unit 420, is also configured for the monitoring statistical log exported according to daily record output unit 440 and obtains monitoring statistical information.
In a further embodiment, record cell 430 is by following record object event: record object event in internal memory.
In a further embodiment, acquiring unit 420, is also configured at record cell 430 in internal memory before record object event, obtains the type of all object events to be detected and entry corresponding to each type.Wherein, type comprises following at least one item: can quantize event, non-ly quantize event; The entry that can quantize event corresponding comprises: quantized values falls into the event in target value interval, and the non-event that quantizes comprises: the event of indicating target result items; Objective result item at least comprises: run succeeded, perform failure.
Business monitoring device 400 can also comprise: dispensing unit 450, is configured for the type and entry allocate memory that obtain according to acquiring unit 420;
In a further embodiment, record cell 430 by following in internal memory record object comprise: record object event in the data item corresponding with object event that staqtistical data base comprises.Wherein, internal memory comprises staqtistical data base, and staqtistical data base comprises at least one data item, and each data item is corresponding with respective entries.
In a further embodiment, record cell 430 is by record object event in the following data item corresponding with object event comprised in staqtistical data base: by the count value performance objective computing of data item corresponding for object event.
In a further embodiment, output unit generates and output monitoring statistical log by following: generated and output monitoring statistical log by idle process or idle thread.
In the present embodiment, detecting unit detects the object event in each business; If detecting unit detects object event, then acquiring unit obtains the attribute information of object event; The attribute information record object event that record cell obtains according to acquiring unit; Daily record output unit generates and output monitoring statistical log according to the object event of recording unit records; Acquiring unit obtains monitoring statistical information according to the monitoring statistical log that daily record output unit exports.Export a large amount of daily record with prior art, resolve under then carrying out line to a large amount of daily records exported and compare, the embodiment of the application only needs output monitoring statistical log, avoids the performance of reduction business process/thread; In addition, time due to output monitoring statistical log is less than in prior art the time exporting a large amount of daily record, and has comprised the data of necessary for monitoring in the monitoring statistical log exported, to make without the need to resolving a large amount of daily record under line, therefore, the real-time of monitoring is added.
The present embodiment provides a kind of service monitoring system corresponding with said method embodiment and device embodiment.Please refer to Fig. 5, it illustrates the structural representation of a kind of embodiment of the service monitoring system that the application provides.
As shown in Figure 5, service monitoring system 500 comprises: business module 510, is configured for detection object event; If object event detected, then obtain the attribute information of object event; Send object event notification message to monitoring statistical module, object event notification message comprises attribute information; Monitoring statistical module 520, is configured for the object event notification message receiving business module 510 and send; According to attribute information record object event; Object event according to record generates and output monitoring statistical log.
In the present embodiment, the quantity of business module 510 can be one or more, specifically sets according to actual needs.And the specific embodiment that each business module 510 and monitoring statistical module 520 perform corresponding steps can with reference to the content recorded in said method embodiment and device embodiment, therefore not to repeat here.
In the present embodiment, business module detects object event; If object event detected, then obtain the attribute information of object event; Send object event notification message to monitoring statistical module, object event notification message comprises attribute information; Monitoring statistical module receives the object event notification message that business module sends; According to attribute information record object event; Object event according to record generates and output monitoring statistical log.Export a large amount of daily record with prior art, resolve under then carrying out line to a large amount of daily records exported and compare, the embodiment of the application only needs output monitoring statistical log, avoids the performance of reduction business process/thread; In addition, time due to output monitoring statistical log is less than in prior art the time exporting a large amount of daily record, and has comprised the data of necessary for monitoring in the monitoring statistical log exported, to make without the need to resolving a large amount of daily record under line, therefore, the real-time of monitoring is added.
The application also provides a kind of computer system of terminal device or server for implementing said method embodiment.Please refer to Fig. 6, the structural representation for the terminal device of implementation method embodiment or the computer system of server that it illustrates that the application provides.
As shown in Figure 6, computer system 600 comprises CPU (central processing unit) (CPU) 610, and it or can be loaded into the program random access storage device (RAM) 630 from storage area 680 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 620.In RAM 630, also store system 600 and operate required various program and data.CPU 610, ROM 620 and RAM 630 are connected with each other by bus 640.I/O (I/O) interface 650 is also connected to bus 640.
I/O interface 650 is connected to: the importation 660 comprising keyboard, mouse etc. with lower component; Comprise the output 670 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 680 of hard disk etc.; And comprise the communications portion 690 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 690 is via the network executive communication process of such as the Internet.Driver 6100 is also connected to I/O interface 650 as required.Detachable media 6110, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 6100 as required, so that the computer program read from it is mounted into storage area 680 as required.
Especially, according to embodiment of the present disclosure, the process described with reference to figure 2 above may be implemented as computer software programs.Such as, embodiment of the present disclosure comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and computer program comprises the program code for performing the method shown in Fig. 2.In such embodiments, this computer program can be downloaded and installed from network by communications portion 690, and/or is mounted from detachable media 6110.
Process flow diagram in accompanying drawing and block diagram, illustrate according to the architectural framework in the cards of the method for various embodiments of the invention, device and computer program, function and operation.In this, each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for module, program segment or code comprises one or more executable instruction for realizing the logic function specified.Also it should be noted that at some as in the realization of replacing, the function marked in square frame also can be different from occurring in sequence of marking in accompanying drawing.Such as, in fact the square frame that two adjoining lands represent can perform substantially concurrently, and they also can perform by contrary order sometimes, and this determines according to involved function.Also it should be noted that, the combination of the square frame in each square frame in block diagram and/or process flow diagram and block diagram and/or process flow diagram, can realize by the special hardware based system of the function put rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
Unit involved by being described in the embodiment of the present application or module can be realized by the mode of software, also can be realized by the mode of hardware.Described unit or module also can be arranged within a processor, such as, can be described as: a kind of processor comprises acquiring unit, dispensing unit.Wherein, the title of these unit or module does not form the restriction to this unit or module itself under certain conditions, and such as, detecting unit can also be described to " for detecting the unit of object event ".
As another aspect, present invention also provides a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium in the equipment of allocating into.Computer-readable recording medium stores more than one or one program, and described program is used for performance description in the formula input method of the application by one or more than one processor.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (13)

1. a business monitoring method, is characterized in that, described method comprises:
Detect the object event in each business;
If described object event detected, then obtain the attribute information of object event;
Object event according to described attribute information record;
Object event according to record generates and output monitoring statistical log;
Monitoring statistical information is obtained according to described monitoring statistical log.
2. method according to claim 1, is characterized in that, described record object event comprises:
Described object event is recorded in internal memory.
3. method according to claim 2, is characterized in that, described in internal memory before record object event, described method also comprises:
Obtain the type of all object events to be detected and entry corresponding to each type;
Described internal memory is configured according to described type and described entry;
Wherein, described type comprises following at least one item: can quantize event, non-ly quantize event; The described entry quantizing event corresponding comprises: quantized values falls into the event in target value interval, and the non-event that quantizes comprises: the event of indicating target result items; Described objective result item at least comprises: run succeeded, perform failure.
4. method according to claim 2, is characterized in that, describedly in described internal memory, records described object event comprise:
Described object event is recorded in the data item corresponding with described object event that staqtistical data base comprises;
Wherein, described internal memory comprises described staqtistical data base, and described staqtistical data base comprises at least one data item, and each data item is corresponding with respective entries.
5. method according to claim 4, is characterized in that, records described object event and comprise in the described data item corresponding with described object event comprised in staqtistical data base:
By the count value performance objective computing of data item corresponding for described object event.
6. method according to claim 1, is characterized in that, described generation output monitoring statistical log comprise:
Generated and output monitoring statistical log by idle process or idle thread.
7. a business monitoring device, is characterized in that, described device comprises:
Detecting unit, is configured for the object event detected in each business;
Acquiring unit, if be configured for described detecting unit described object event to be detected, then obtains the attribute information of object event;
Record cell, is configured for object event described in the described attribute information record that obtains according to described acquiring unit;
Daily record output unit, is configured for and generates and output monitoring statistical log according to the object event of described recording unit records;
Described acquiring unit, is also configured for the described monitoring statistical log exported according to described daily record output unit and obtains monitoring statistical information.
8. device according to claim 7, is characterized in that, described record cell is by following record object event:
Described object event is recorded in internal memory.
9. device according to claim 8, is characterized in that, described acquiring unit, is also configured at described record cell in internal memory before record object event, obtains the type of all object events to be detected and entry corresponding to each type;
Described device also comprises:
Dispensing unit, is configured for the described type that obtains according to described acquiring unit and described entry configures described internal memory;
Wherein, described type comprises following at least one item: can quantize event, non-ly quantize event; The described entry quantizing event corresponding comprises: quantized values falls into the event in target value interval, and the non-event that quantizes comprises: the event of indicating target result items; Described objective result item at least comprises: run succeeded, perform failure.
10. device according to claim 8, is characterized in that, described record cell comprises by recording described target as follows in described internal memory:
Described object event is recorded in the data item corresponding with described object event that staqtistical data base comprises;
Wherein, described internal memory comprises described staqtistical data base, and described staqtistical data base comprises at least one data item, and each data item is corresponding with respective entries.
11. devices according to claim 10, is characterized in that, described record cell records described object event by the following data item corresponding with described object event comprised in staqtistical data base:
By the count value performance objective computing of data item corresponding for described object event.
12. devices according to claim 7, is characterized in that, described output unit generates and output monitoring statistical log by following:
Generated and output monitoring statistical log by idle process or idle thread.
13. 1 kinds of service monitoring systems, is characterized in that, comprising:
Business module, is configured for detection object event; If described object event detected, then obtain the attribute information of object event; Send object event notification message to monitoring statistical module, described object event notification message comprises described attribute information;
Described monitoring statistical module, is configured for the described object event notification message receiving described business module and send; Object event according to described attribute information record; Object event according to record generates and output monitoring statistical log.
CN201510216874.5A 2015-04-30 2015-04-30 Business monitoring method, apparatus and system Active CN104794040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510216874.5A CN104794040B (en) 2015-04-30 2015-04-30 Business monitoring method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510216874.5A CN104794040B (en) 2015-04-30 2015-04-30 Business monitoring method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104794040A true CN104794040A (en) 2015-07-22
CN104794040B CN104794040B (en) 2018-04-27

Family

ID=53558850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510216874.5A Active CN104794040B (en) 2015-04-30 2015-04-30 Business monitoring method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104794040B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273266A (en) * 2017-06-09 2017-10-20 上海艾融软件股份有限公司 A kind of processing method and processing device of application daily record
CN111047417A (en) * 2019-12-24 2020-04-21 北京每日优鲜电子商务有限公司 Service monitoring method, device, equipment and storage medium
CN112948136A (en) * 2021-02-02 2021-06-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Method for implementing asynchronous log record of embedded operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009004A (en) * 2007-01-29 2007-08-01 华为技术有限公司 Warming device and warming method
US20120284277A1 (en) * 2010-02-19 2012-11-08 Nec Corporation Event information management system, event management method and program
CN103118051A (en) * 2011-11-17 2013-05-22 阿里巴巴集团控股有限公司 Method and device for monitoring information issuing process
CN103186451A (en) * 2013-03-21 2013-07-03 中国人民解放军国防科学技术大学 Time sequence attribute monitoring method with failure prediction capability

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009004A (en) * 2007-01-29 2007-08-01 华为技术有限公司 Warming device and warming method
US20120284277A1 (en) * 2010-02-19 2012-11-08 Nec Corporation Event information management system, event management method and program
CN103118051A (en) * 2011-11-17 2013-05-22 阿里巴巴集团控股有限公司 Method and device for monitoring information issuing process
CN103186451A (en) * 2013-03-21 2013-07-03 中国人民解放军国防科学技术大学 Time sequence attribute monitoring method with failure prediction capability

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273266A (en) * 2017-06-09 2017-10-20 上海艾融软件股份有限公司 A kind of processing method and processing device of application daily record
CN107273266B (en) * 2017-06-09 2020-09-29 上海艾融软件股份有限公司 Application log processing method and device
CN111047417A (en) * 2019-12-24 2020-04-21 北京每日优鲜电子商务有限公司 Service monitoring method, device, equipment and storage medium
CN112948136A (en) * 2021-02-02 2021-06-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Method for implementing asynchronous log record of embedded operating system

Also Published As

Publication number Publication date
CN104794040B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN107992398B (en) Monitoring method and monitoring system of service system
US9424157B2 (en) Early detection of failing computers
US8892960B2 (en) System and method for determining causes of performance problems within middleware systems
US7506314B2 (en) Method for automatically collecting trace detail and history data
US8260622B2 (en) Compliant-based service level objectives
US10467081B2 (en) Enabling symptom verification
US20160224400A1 (en) Automatic root cause analysis for distributed business transaction
CN108182134A (en) A kind of general-purpose interface monitoring method, device and equipment, storage medium
WO2019148728A1 (en) Electronic device, execution task assignment method for distributed system, and storage medium
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
US20120185441A1 (en) Efficient data collection mechanism in middleware runtime environment
CN104794040A (en) Service monitoring method, device and system
US10324778B2 (en) Utilizing an error prediction and avoidance component for a transaction processing system
US10691522B2 (en) System and method for incident root cause analysis
CN111209153A (en) Abnormity detection processing method and device and electronic equipment
CN114238036A (en) Method and device for monitoring abnormity of SAAS (software as a service) platform in real time
CN113849330A (en) Method, equipment and storage medium for monitoring and analyzing application fault reasons
CN115794479B (en) Log data processing method and device, electronic equipment and storage medium
CN110033242B (en) Working time determining method, device, equipment and medium
CN110457194A (en) Electronic equipment stability method for early warning, system, device, equipment and storage medium
US8024301B2 (en) Automatic database diagnostic usage models
CN114860432A (en) Method and device for determining information of memory fault
CN117931635B (en) Analysis method, device, equipment and medium for database test case execution result
CN108228420A (en) The method, apparatus of IO monitoring and the realization device of IO monitoring
CN114024867B (en) Network anomaly detection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant