CN102231673A - System and method for monitoring business server - Google Patents

System and method for monitoring business server Download PDF

Info

Publication number
CN102231673A
CN102231673A CN2011101580814A CN201110158081A CN102231673A CN 102231673 A CN102231673 A CN 102231673A CN 2011101580814 A CN2011101580814 A CN 2011101580814A CN 201110158081 A CN201110158081 A CN 201110158081A CN 102231673 A CN102231673 A CN 102231673A
Authority
CN
China
Prior art keywords
monitoring
data
business
control point
monitor message
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
CN2011101580814A
Other languages
Chinese (zh)
Other versions
CN102231673B (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.)
Beijing Jingdong Century Trading Co Ltd
Original Assignee
Beijing Jingdong Century Trading 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 Jingdong Century Trading Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201110158081.4A priority Critical patent/CN102231673B/en
Publication of CN102231673A publication Critical patent/CN102231673A/en
Priority to HK11114081.8A priority patent/HK1159892A1/en
Application granted granted Critical
Publication of CN102231673B publication Critical patent/CN102231673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a system and a method for monitoring a business server. The method comprises that: every time when executing a business processing method, a business module on the business server transmits business monitoring data to a monitoring acquisition module on the business server, wherein the business monitoring data indicates a business module name and a monitoring point number in a preset format; the monitoring acquisition module generates monitoring information based on at least one piece of received business monitoring data at a preset time interval; the monitoring acquisition module transmits the generated monitoring information to a monitoring server; the monitoring server stores the received monitoring information; and the monitoring server generates hierarchically statistical summary data based on the stored monitoring information according to a statistical time interval.

Description

The system and method that is used for monitoring business server
Technical field
The present invention relates generally to the monitoring field, more particularly, the present invention relates to be used for the system and method for monitoring business server.
Background technology
Along with the extensive use of computer, need in the enterprise many operation systems are monitored.Yet present supervisory control system only limits to the monitoring to hardware system.In reality, need monitor service processing function or method.
Present distributed deployment can not guarantee that each business all monopolizes a station server, when an operation system is deployed in a plurality of systems, influenced by other operation system.For example a kind of possible situation is that hardware system or upstate but certain operation system go wrong.
In some cases, may need to monitor hundreds of operation system, and an operation system has dozens of service processing function or method.For so many monitoring content, need a good content confining method to distinguish the monitor message of different operation systems, business function, hardware system etc.; And simplify for the logic of the collection of monitor data, storage, real-time analysis, report, warning the data basis is provided.
Summary of the invention
In order to solve above-mentioned shortcoming of the prior art and problem the present invention is proposed.System and a method according to the invention can be easily monitoring business function and operation system simultaneously, its be mainly reflected in following some: operation system once sampled can satisfy business function monitoring and service system monitoring requirement simultaneously; Business model is simple, the monitoring data collection of a large amount of systems, a large number of services and monitoring analysis are provided simplify, flexibly, data basis efficiently; Service logic is oversimplified, and reduces development cost at aspects such as monitoring information acquisition, storage, monitoring in real time, report, warnings; Can express the hierarchical relationship of operation system; Can express the monitor message of supervisory control system self.
According to an aspect of the present invention, a kind of method that is used for monitoring business server is provided, comprise: when the business module on service server is carried out method for processing business, monitoring acquisition module on the service server that is positioned at sends the business monitoring data, and wherein said business monitoring data are with predetermined format indicating services module title and control point title; When reaching the preset time interval, generate monitor message based on the business monitoring data that at least one received by described monitoring acquisition module; The monitor message that is generated is sent to monitoring server; Store the monitor message that is received by described monitoring server; And generate the hierarchical statistics combined data according to statistics time interval based on the monitor message of being stored by described monitoring server.
In the method, generating monitor message by described monitoring acquisition module based on the business monitoring data that at least one received when reaching the preset time interval can comprise: by described monitoring acquisition module the business monitoring data that received are analyzed; Do not exist with the corresponding heartbeat message data conditions of described business monitoring data under, generate the heartbeat message data; Under situation about not existing with the corresponding control point of described business monitoring data information data, generate the control point information data; Under the situation of existence and the corresponding control point of described business monitoring data information data, upgrade the control point information data; When reaching predetermined time interval, generate described monitor message based on described heartbeat message data and described control point information data.
Described statistics time interval can comprise hour, day, in week, month, year at least one.
The monitor message that is generated can comprise at least one in control point information, call number information, response times and the response time information.
In the method, can comprise based on described heartbeat message data and described control point information data generation monitor message: when reaching described predetermined time interval,, then do not generate described monitor message if described call number information is zero.
In the method, after the monitor message that will be generated sends to described monitoring server, can be with the information data zero clearing of described control point.
According to another aspect, a kind of system that is used to generate monitor message is provided, comprising: at least one service server, each described service server comprises: business module, described business module is carried out method for processing business; And monitoring acquisition module, monitoring server, wherein, described business module is configured to: when carrying out method for processing business, send the business monitoring data to described monitoring acquisition module, wherein said business monitoring data are with predetermined format indicating services module title and control point title, wherein, described monitoring acquisition module is configured to: generate monitor message based on the business monitoring data that at least one received when reaching the preset time interval, and the monitor message that is generated is sent to described monitoring server, wherein, described monitoring server is configured to store the monitor message that is received, and generates the hierarchical statistics combined data according to statistics time interval based on the monitor message of being stored.
In this system, described monitoring acquisition module further is configured to: described business monitoring data are analyzed, do not exist with the corresponding heartbeat message data conditions of described business monitoring data under, generate the heartbeat message data; Under situation about not existing with the corresponding control point of described business monitoring data information data, generate the control point information data; Under the situation of existence and the corresponding control point of described business monitoring data information data, upgrade the control point information data, and wherein, described monitoring acquisition module further is configured to: when reaching predetermined time interval, generate described monitor message based on described heartbeat message data and described control point information data.
Described statistics time interval can comprise hour, day, in week, month, year at least one.
The monitor message that is generated can comprise at least one in control point information, call number information, response times and the response time information.
In this system, described monitoring acquisition module further is configured to: when reaching described predetermined time interval, if described call number information is zero, then do not generate described monitor message.
In this system, described monitoring acquisition module further is configured to: after the monitor message that will be generated sends to monitoring server, with the information data zero clearing of described control point.
Description of drawings
By the description of carrying out below in conjunction with accompanying drawing, above-mentioned and other aspects of some one exemplary embodiment of the present invention, feature and advantage will become apparent to those skilled in the art, wherein:
Fig. 1 is the block diagram that the system of an one exemplary embodiment according to the present invention is shown;
Fig. 2 is the schematic diagram that the control point access of the one exemplary embodiment according to the present invention is shown;
Fig. 3 is the schematic diagram of buffer structure that the control point information data of the one exemplary embodiment according to the present invention is shown;
Fig. 4 is the schematic diagram that the data structure of the monitor message of an one exemplary embodiment according to the present invention is shown;
Fig. 5 is the schematic diagram of data structure of control point information that the monitoring server storage of the one exemplary embodiment according to the present invention is shown;
Fig. 6 is the flow chart that the method for the generation heartbeat message data of the one exemplary embodiment according to the present invention and control point information data is shown;
Fig. 7 is the flow chart of method that the generation monitor message of the one exemplary embodiment according to the present invention is shown; And
Fig. 8 is the flow chart of method that the generation statistical summaries data of the one exemplary embodiment according to the present invention are shown.
Embodiment
Describing below to help complete understanding one exemplary embodiment of the present invention with reference to the accompanying drawings is provided.It comprises various details to help understanding, and they should be thought it only is exemplary.Therefore, those of ordinary skills will be appreciated that, can make various changes and modification to the embodiments described herein, and can not deviate from scope and spirit of the present invention.Equally, for clarity and conciseness, omitted description to known function and structure.
Describe the present invention below with reference to the accompanying drawings in detail.
Fig. 1 is the block diagram that the system of an one exemplary embodiment according to the present invention is shown.This system comprises service server 110-1,110-2 and monitoring server 140.
Move respectively on service server 110-1, the 110-2 business module 120-1,120-2 are arranged.As understood by those skilled in the art, according to actual needs, business module 120-1,120-2 can carry out miscellaneous service processing capacity or method for processing business.Only comprise a business module 120-1 or 120-2 though be shown each service server 110-1 or 110-2 in Fig. 1, what it should be understood that is that each service server 110-1,110-2 can comprise two or more business modules.
Purpose for convenience of description, the machine name of supposing service server 110-1 place is WEB1, the name of business module 120-1 (line module) is called JD.User, and the service processing function that business module 120-1 can carry out comprises Login method and GetUser method; The machine name at service server 110-2 place is WEB2, and the name of business module 120-2 (line module) is called JD.User, and the service processing function that business module 120-2 can carry out comprises Login method and GetUser method.
When above-mentioned two service processing function of line module are monitored, can on WEB1, produce two control points:
(1) control point title: JD.User.Login; Machine name: WEB1
(2) control point title: JD.User.GetUser; Machine name: WEB1
On WEB2, produce two control points too:
(1) control point title: JD.User.Login; Machine name: WEB2
(2) control point title: JD.User.GetUser; Machine name: WEB2
Also moving respectively on service server 110-1, the 110-2 has monitoring acquisition module 130-1,130-2, and it is respectively applied for the capturing service monitor data and generates monitor message.
When business module 120-1 (or business module 120-2) carried out service processing function, it sent the business monitoring data to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2).When reaching the preset time interval, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) forms monitor message according at least one the business monitoring data that receives in this preset time interval.
For example, after the business monitoring data that receive from business module 120-1 (or business module 120-2), monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) analyzes these business monitoring data.According to analysis, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) generates heartbeat message data, control point information data or upgrades control point information data etc.After reaching the preset time section, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) generates monitor message, and the monitor message that is generated is sent to monitoring server 140.
More specifically, business module 120-1 (or business module 120-2) can adopt suitable form to the business monitoring data that monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) sends, with the title (being the control point title) of the title of identification service module and performed method for processing business.For example, in the above example, when business module 120-1 carried out method for processing business Login, business module 120-1 can comprise character string " JD.User.Login " to the business monitoring data that monitoring acquisition module 130-1 sends.After receiving the business monitoring data that for example comprise character string " JD.User.Login ", monitoring acquisition module 130-1 is from this business monitoring data extract business module title " JD.User " and control point title " JD.User.Login ".Whether then, monitoring acquisition module 130-1 judges whether to exist and the corresponding heartbeat message data of described business monitoring data, for example exist name to be called the heartbeat message data of " JD.User ".Under the heartbeat message data conditions that does not have corresponding with described business monitoring data (for example name is called " JD.User "), set up the heartbeat message data of corresponding with described business monitoring data (for example name is called " JD.User ").Whether then, monitoring acquisition module 130-1 judges whether to exist and the corresponding control point of described business monitoring data information data, for example exist name to be called the control point information data of " JD.User.Login ".Under the situation of the control point information data that does not have corresponding with described business monitoring data (for example name is called " JD.User.Login "), set up the control point information data of corresponding with described business monitoring data (for example name is called " JD.User.Login "); And under the situation of the control point information data that has corresponding with described business monitoring data (for example name is called " JD.User.Login "), upgrade the control point information data of corresponding with described business monitoring data (for example name is called " JD.User.Login "), for example can increase progressively call number information.When reaching the preset time interval, for example when reaching predefined 1 minute, monitoring acquisition module 130-1 judges whether call number information is zero.Under the non-vanishing situation of call number information, monitoring acquisition module 130-1 generates monitor message according to heartbeat message data and control point information data, and the monitor message that is generated is sent to monitoring server 140.And if call number information is zero, then monitoring acquisition module 130-1 does not generate monitor message.
When reach preset time at interval after, no matter whether generate monitor message, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) the control point information data of buffer memory of all can resetting for example can be with control point information data zero clearing etc.Thereby monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can begin the generation of next preset time monitor message at interval.
In the example of Miao Shuing, only gathered information in the above about control point title, call number, blanking time.Yet, also can adopt information as required about any others.For example, under a lot of situations, wish that monitor message comprises response times and response time information.
Wishing that monitor message comprises under the situation of response times and response time information, can be when beginning to carry out method for processing business and respectively write down the time during the winding-up processing method, so the difference of latter two record value is the response time.Can have following problems if all response times are all write down: (1) for the concurrent business of height, data volume is very large; (2) great amount of data transmission can produce extra performance overhead to operation system; (3) transfer of data of a large number of services can make whole network environment pressure-bearing very big.
In order to overcome the problems referred to above, the present invention has adopted following mode: whenever business module 120-1 (or business module 120-2) winding-up processing method the time, send the business monitoring data to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2), thereby monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can gather response time information.For example, when business module 120-1 (or business module 120-2) carries out method for processing business Login and finishes, the business monitoring data that business module 120-1 (or business module 120-2) sends to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can comprise character string " JD.User.Login; End ", the invention is not restricted to above-mentioned business monitoring data format certainly.The difference of time when monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can be with time when beginning to carry out method for processing business and winding-up processing method is the time in response, and by response times information is increased progressively.Thus, can calculate average response time information by the response times and the response time information of institute's buffer memory.For example, when the predetermined time interval that reaches 1 minute, response times is 100 times, and overall response time is 1 second, then can calculate average response time information=100/1 second=0.01 second.
As the skilled person will appreciate, can carry out various changes to top example.For example, the form of the business monitoring data of transmission can change as required, and monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can adopt suitable analysis means according to the form of the business monitoring data that received.
Fig. 2 is the schematic diagram that the control point access of the one exemplary embodiment according to the present invention is shown.As shown in Figure 2, when business module 120-1 (or business module 120-2) beginning or end execution method for processing business, business module 120-1 (or business module 120-2) can directly call monitor-interface, thereby sends the business monitoring data to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2).This access way, strong to the invasive of operation system, and coupling is closely.As skilled in the art to understand, the monitoring access way is not limited to above-mentioned direct access way, also can adopt other access way, for example can use AOP (AOP) technology will be to the injection of calling of monitoring acquisition module.
Fig. 3 is the schematic diagram of buffer structure that the control point information data of the one exemplary embodiment according to the present invention is shown.As shown in Figure 3, in the buffer structure of control point information data, comprising: field key, it is control point information (for example comprising the title of business module and the title of method for processing business); Field ResponseCount, it gathers quantity (being response times information) for the interior at interval response time of preset time; Field TotalResponse, it is the length overall (being response time information) of the response time in the preset time interval; And attribute Amount, it is the interior at interval calling service counting of preset time.
Fig. 4 is the schematic diagram that the data structure of the monitor message of an one exemplary embodiment according to the present invention is shown.As shown in Figure 4, in the data structure of monitor message, comprising: field key, it is control point information (for example comprising the title of business module and the title of method for processing business); Field Server, it is the title of the server at place, control point; Field Count, it is the interior at interval calling service counting of preset time; Field ResponseCount, it gathers quantity (being response times information) for the interior at interval response time of preset time; And field ResponseTime, it is the interior at interval response time (being response time information) of preset time.
Fig. 5 is the schematic diagram of data structure of control point information that the monitoring server storage of the one exemplary embodiment according to the present invention is shown.As shown in Figure 5, in the data structure of the monitor message that monitoring server is stored, comprising: attribute key, it is control point information (for example comprising the title of business module and the title of method for processing business); Attribute Server, it is the title of the server at place, control point; Attribute Count, it is the interior at interval calling service counting of preset time; Attribute ResponseCount, it is the interior at interval response time of preset time to gather quantity; Attribute ResponseTime, it is the interior at interval average response time of preset time; Attribute CreateTime, it is a creation-time; Attribute Interval, it is the preset time interval; ID, it is for identifying from the database row that increases; Attribute State, it is the mode field that provides for the aggregation process operation.
Fig. 6 is the flow chart that the method for the generation heartbeat message data of the one exemplary embodiment according to the present invention and control point information data is shown.
As shown in Figure 6, this method begins with the business monitoring data that received from business module by monitoring acquisition module in step S10.Described as top business module 120-1 (or business module 120-2) with reference to figure 1, when business module 120-1 (or business module 120-2) carried out service processing function, it was to the business monitoring data of monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) transmission with appropriate format.Thus, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) receives the business monitoring data from business module 120-1 (or business module 120-2).
In step S20, monitoring acquisition module is analyzed received business monitoring data.
In step S30, monitoring acquisition module judges whether to exist corresponding heartbeat message data.If judge not have corresponding heartbeat message data, then in step S40, generate corresponding heartbeat message data.
Then, in step S50, judge whether to exist corresponding control point information data.If there is no Dui Ying control point information data then generates corresponding control point information data in step S60.The control point information that is generated can be with reference to figure 3 described forms.Those skilled in the art will easily understand, and the control point information that is generated can adopt any suitable form as required, for example, can comprise than more field of Fig. 3 (or attribute) or field still less (or attribute).On the other hand, if there is corresponding control point information data, then in step S70, upgrade corresponding control point information data.
Though in Fig. 6, be shown when in step S30, judging the heartbeat message data that do not have correspondence, after generating the heartbeat message data, proceed to step S50 and judge whether to exist corresponding control point information data.Yet, in fact, because when not having corresponding heartbeat message data, there is not corresponding control point information data yet, so can be directly to step S60 after in step S40, generating the heartbeat message data, and need not judge whether to exist corresponding control point information data through step S50.
Because how top having described in detail with reference to Fig. 1 receives the business monitoring data, the business monitoring data is analyzed, generated the heartbeat message data and generate or upgrade the control point information data, so be not described in detail step S10-S70 at this.
Fig. 7 is the flow chart of method that the generation monitor message of the one exemplary embodiment according to the present invention is shown.
As shown in Figure 7, this method starts from step S10 and judges whether to reach preset time at interval.If in step S10, judge to have reached preset time at interval, then in step S20, judge whether to exist professional heartbeat data.On the other hand, do not reach preset time at interval, then continue to wait for when in step S10, judging.If judge that in step S20 call number information is non-vanishing, in step S30,, generate monitor message according to the control point information data.Then, the control point information data of replacement buffer memory in step S40 for example can be with control point information data zero clearing etc.In step S50, the monitor message that is generated is sent to monitoring server.The monitor message that is generated can be with reference to figure 4 described forms.Those skilled in the art will easily understand, and the monitor message that is generated can adopt any suitable form as required, for example, can comprise than more field of Fig. 4 (or attribute) or field still less (or attribute).On the other hand, if judging call number information in step S20 is zero, show in this period and do not carry out method for processing business and do not generate the control point information data, thereby do not need to generate monitor message, and begin the generation of next preset time monitor message at interval.
In addition, in step S20, can judge alternatively that call number information and response times information are zero.
Monitoring server can be stored received monitor message, for example with reference to figure 5 described forms.Those skilled in the art will easily understand, and the monitor message that monitoring server can be received with any suitable form storage as required for example, can comprise than more attribute of Fig. 5 or attribute still less.
Fig. 8 is the flow chart of method that the generation statistical summaries of the one exemplary embodiment according to the present invention is shown.
Because the monitor message of storing in monitoring server is to gather with the relatively little time interval (for example 1 minute), so, have very big problem on the efficient if when analyzing based on this monitor message.Therefore, the present invention adopts the mode of statistical summaries step by step.Particularly, the present invention adopts a plurality of different statistics time intervals that the monitor message of being stored is gathered.For example, a plurality of different statistics time intervals can comprise hour, day, week, month, year.
As shown in Figure 8, judge in step S10 whether (by the hierarchical statistics summarizing module (not shown) of monitoring server) reaches predetermined statistics time interval.When in step S10, judging the statistics time interval that has reached predetermined, in step S20, determine the type of statistics time interval.When the type of statistics time interval is the first kind, in step S30, generate first order statistical summaries according to the monitor message of being stored.And when the type of statistics time interval is N (wherein N 〉=2) type, in step S40 according to N-1 level statistical summaries and/or partly generate N level statistical summaries according to N-2 level statistical summaries.
For example, with comprise hour, day, a plurality of statistics time intervals of week, month, year are example, hour are the 1st type statistics time interval, day, be respectively for the 2nd, 3,4, the 5 type statistics time intervals in week, month, year.When reaching whole, when when 10 days 8 April in 2011 (for example), when promptly statistics time interval is the first kind, be the first order statistical summaries in 7 o'clock on the 10th-2011 on April 10,8 o'clock of April in 2011 according to the monitor message rise time section of being stored.When reaching whole, when when 10 days 24 April in 2011 (for example), when promptly statistics time interval is the first kind, be the first order statistical summaries in 23 o'clock on the 10th-2011 on April 10,24 o'clock of April in 2011 according to the monitor message rise time section of being stored; This moment, statistics time interval also was second type (i.e. sky), therefore was 24 first order statistical summaries generation second level statistical summaries on April 10,24 o'clock 1 o'clock on the 10th-2011 April in 2011 according to the time period; This moment, statistics time interval also was the 3rd type (i.e. week), therefore was 7 second level statistical summaries generation third level statistical summaries on April 10th, 1 2011 on April 4th, 2011 according to the time period.As another example, when reaching 30 days 24 April in 2011, except generate the first order (hour), the second level (day) statistical summaries, also gather according to 3 third level (week) in April 24-2011 April 4 of 2011 time period and 9 second level in-3,25 on the 1st-30 days April in 2011 (my god) gather the generation fourth stage (moon) and gather.
Certainly above-mentioned a plurality of different statistics time intervals only are exemplary, for example can comprise half an hour, hour, 6 hours, 12 hours, day, 10 days, 20 days, month, season, year etc.
In addition, when generation N level gathers, the monitor message that can delete N-1 level statistical summaries or be stored.Certainly, as required, also can delete more rudimentary statistical summaries or the monitor message of being stored at other reasonable time.
Based on top processing, can improve the efficient of statistical analysis greatly, also can reduce needs simultaneously to memory space.
Monitor message according to the present invention comprises heartbeat message data and control point information data, and wherein the heartbeat message data can be used for determining system and professional state in real time, and the control point information data can be used for the historic state of business is analyzed.
Respectively apparatus and method embodiment of the present invention is described respectively above being to be noted that, but the details that an embodiment is described also can be applicable to another embodiment.
Basic principle of the present invention has below been described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, can understand the whole or any steps or the parts of method and system of the present invention can be realized with software, hardware, firmware or their combination, and this is that those of ordinary skills use their basic programming skill just can realize under the situation of having read explanation of the present invention.
Therefore, purpose of the present invention can also realize by a software module of operation or one group of software module on any calculation element.Described calculation element can be known fexible unit.Therefore, purpose of the present invention also can be only by providing the program product that comprises the program code of realizing described method or device to realize.That is to say that such program product also constitutes the present invention, and the storage medium that stores such program product also constitutes the present invention.Obviously, described storage medium can be any storage medium that is developed in any known storage medium or future.
Though this specification comprises many specific implementations details, but these details should be interpreted as the restriction of the scope of the content that maybe can advocate any invention, and should be interpreted as can be specific to the description of the feature of the specific embodiment of specific invention.Some characteristics combination of describing in the situation of the embodiment that separates in this manual can also be realized in single embodiment.On the contrary, also each feature of describing in the situation of single execution mode can be realized in a plurality of execution modes discretely or in any suitable sub-portfolio, realizes.In addition, work although may describe feature as in the above in some combination, even initial opinion so, but can in some cases the one or more features from the combination of being advocated be left out from combination, and the combination of being advocated can be pointed to the variant of sub-portfolio or sub-portfolio.
Similarly, though described operation with certain order in the accompanying drawings, this should be interpreted as need with shown in certain order or carry out such operation or need to carry out the result that all illustrated operations just can reach expectation with continuous order.In some cases, multitask and parallel processing can be favourable.In addition, the separation of in the above-described embodiments various system components should be interpreted as and all need such separation in all embodiments, and should be understood that, usually can be with described program assembly and the system integration to becoming single software product together or being encapsulated as a plurality of software products.
Computer program (being also referred to as program, software, software application, script or code) can be write by programming language in any form, described programming language comprises compiling or interpretative code or illustrative or procedural language, and it can be disposed in any form, comprises as stand-alone program or as module, assembly, subprogram or other unit of being suitable for using in computing environment.Computer program there is no need corresponding to the file in the file system.Can be at the file that keeps other program or data (for example with procedure stores, be stored in the one or more scripts in the marking language document) a part, the single file that is exclusively used in question program or a plurality of coordinative file (for example, storing the file of one or more modules, subprogram or partial code) in.
Above-mentioned embodiment does not constitute limiting the scope of the invention.Those skilled in the art should be understood that, depend on designing requirement and other factors, and various modifications, combination, sub-portfolio and alternative can take place.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the protection range of the present invention.

Claims (12)

1. method that is used for monitoring business server comprises:
When the business module on service server was carried out method for processing business, the monitoring acquisition module on the service server that is positioned at sent the business monitoring data, and wherein said business monitoring data are with predetermined format indicating services module title and control point title;
When reaching the preset time interval, generate monitor message based on the business monitoring data that at least one received by described monitoring acquisition module;
The monitor message that is generated is sent to monitoring server;
Store the monitor message that is received by described monitoring server; And
Generate hierarchical statistics combined data according to statistics time interval based on the monitor message of being stored by described monitoring server.
2. method according to claim 1 wherein, generates monitor message by described monitoring acquisition module based on the business monitoring data that at least one received and comprises when reaching the preset time interval:
By described monitoring acquisition module the business monitoring data that received are analyzed;
Do not exist with the corresponding heartbeat message data conditions of described business monitoring data under, generate the heartbeat message data;
Under situation about not existing with the corresponding control point of described business monitoring data information data, generate the control point information data;
Under the situation of existence and the corresponding control point of described business monitoring data information data, upgrade the control point information data;
When reaching predetermined time interval, generate described monitor message based on described heartbeat message data and described control point information data.
3. method according to claim 1, wherein, described statistics time interval comprises hour, day, in week, month, year at least one.
4. method according to claim 1, wherein, the monitor message that is generated comprises at least one in control point information, call number information, response times and the response time information.
5. method according to claim 4 wherein, comprises based on described heartbeat message data and described control point information data generation monitor message:
When reaching described predetermined time interval,, then do not generate described monitor message if described call number information is zero.
6. method according to claim 2, wherein, after the monitor message that will be generated sends to described monitoring server, with the information data zero clearing of described control point.
7. system that is used to generate monitor message comprises:
At least one service server, each described service server comprises:
Business module, described business module is carried out method for processing business; With
Monitoring acquisition module,
Monitoring server,
Wherein, described business module is configured to: when carrying out method for processing business, send the business monitoring data to described monitoring acquisition module, wherein said business monitoring data are with predetermined format indicating services module title and control point title,
Wherein, described monitoring acquisition module is configured to: when reaching the preset time interval, generate monitor message, and the monitor message that is generated is sent to described monitoring server based on the business monitoring data that at least one received,
Wherein, described monitoring server is configured to store the monitor message that is received, and generates the hierarchical statistics combined data according to statistics time interval based on the monitor message of being stored.
8. system according to claim 7,
Wherein, described monitoring acquisition module further is configured to: described business monitoring data are analyzed, do not exist with the corresponding heartbeat message data conditions of described business monitoring data under, generate the heartbeat message data; Under situation about not existing with the corresponding control point of described business monitoring data information data, generate the control point information data; Under the situation of existence and the corresponding control point of described business monitoring data information data, upgrade the control point information data, and
Wherein, described monitoring acquisition module further is configured to: when reaching predetermined time interval, generate described monitor message based on described heartbeat message data and described control point information data.
9. system according to claim 7, wherein, described statistics time interval comprises hour, day, in week, month, year at least one.
10. system according to claim 7, wherein, the monitor message that is generated comprises at least one in control point information, call number information, response times and the response time information.
11. system according to claim 10, wherein, described monitoring acquisition module further is configured to:
When reaching described predetermined time interval,, then do not generate described monitor message if described call number information is zero.
12. system according to claim 8, wherein, described monitoring acquisition module further is configured to: after the monitor message that will be generated sends to monitoring server, with the information data zero clearing of described control point.
CN201110158081.4A 2011-05-31 2011-05-31 System and method for monitoring business server Active CN102231673B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110158081.4A CN102231673B (en) 2011-05-31 2011-05-31 System and method for monitoring business server
HK11114081.8A HK1159892A1 (en) 2011-05-31 2011-12-30 System and method for monitoring service servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110158081.4A CN102231673B (en) 2011-05-31 2011-05-31 System and method for monitoring business server

Publications (2)

Publication Number Publication Date
CN102231673A true CN102231673A (en) 2011-11-02
CN102231673B CN102231673B (en) 2014-12-31

Family

ID=44844213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110158081.4A Active CN102231673B (en) 2011-05-31 2011-05-31 System and method for monitoring business server

Country Status (2)

Country Link
CN (1) CN102231673B (en)
HK (1) HK1159892A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801785A (en) * 2012-07-03 2012-11-28 合一网络技术(北京)有限公司 System and method for monitoring advertisement putting engine
CN102882745A (en) * 2012-09-29 2013-01-16 摩卡软件(天津)有限公司 Method and device for monitoring business server
CN103517156A (en) * 2013-10-21 2014-01-15 中国科学院深圳先进技术研究院 Multistage cloud processing method and multistage cloud processing system for VOD data
CN103856359A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Method and system for obtaining information
CN105893209A (en) * 2016-03-31 2016-08-24 郑州悉知信息科技股份有限公司 Monitoring method, device and system
CN105991706A (en) * 2015-02-10 2016-10-05 阿里巴巴集团控股有限公司 Online monitoring method and apparatus thereof
CN106034047A (en) * 2015-04-16 2016-10-19 腾讯科技(深圳)有限公司 Data processing method and device
CN106445770A (en) * 2015-08-12 2017-02-22 北京国双科技有限公司 Monitoring data processing method and apparatus, and monitoring server
CN107453952A (en) * 2017-08-25 2017-12-08 苏州市千尺浪信息技术服务有限公司 A kind of service monitoring system
CN107820692A (en) * 2016-12-23 2018-03-20 深圳中兴力维技术有限公司 A kind of alarm synchronization method and system
CN108287780A (en) * 2018-01-25 2018-07-17 郑州云海信息技术有限公司 A kind of device and method of monitoring server CPLD states

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6343251B1 (en) * 2000-10-20 2002-01-29 General Electric Company Method and system for monitoring the operation of and predicting part life consumption for turbomachinery
CN1512729A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Method for network equipment self adaption load equalization
CN101014173A (en) * 2006-12-31 2007-08-08 姜宏伟 Method and system for transmitting monitoring data of communication base station
CN101075919A (en) * 2006-06-22 2007-11-21 腾讯科技(深圳)有限公司 Method and system for monitoring Internet service
CN101170638A (en) * 2007-11-16 2008-04-30 中兴通讯股份有限公司 A method for monitoring STB in network TV system
CN101197715A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for centrally capturing mobile data service condition
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6343251B1 (en) * 2000-10-20 2002-01-29 General Electric Company Method and system for monitoring the operation of and predicting part life consumption for turbomachinery
CN1512729A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Method for network equipment self adaption load equalization
CN101075919A (en) * 2006-06-22 2007-11-21 腾讯科技(深圳)有限公司 Method and system for monitoring Internet service
CN101014173A (en) * 2006-12-31 2007-08-08 姜宏伟 Method and system for transmitting monitoring data of communication base station
CN101170638A (en) * 2007-11-16 2008-04-30 中兴通讯股份有限公司 A method for monitoring STB in network TV system
CN101197715A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Method for centrally capturing mobile data service condition
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801785B (en) * 2012-07-03 2015-07-22 合一网络技术(北京)有限公司 System and method for monitoring advertisement putting engine
CN102801785A (en) * 2012-07-03 2012-11-28 合一网络技术(北京)有限公司 System and method for monitoring advertisement putting engine
CN102882745A (en) * 2012-09-29 2013-01-16 摩卡软件(天津)有限公司 Method and device for monitoring business server
CN102882745B (en) * 2012-09-29 2015-12-09 摩卡软件(天津)有限公司 A kind of method and apparatus for monitoring business server
CN103856359B (en) * 2012-11-28 2018-03-13 腾讯科技(深圳)有限公司 Obtain the method and system of information
CN103856359A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Method and system for obtaining information
CN103517156A (en) * 2013-10-21 2014-01-15 中国科学院深圳先进技术研究院 Multistage cloud processing method and multistage cloud processing system for VOD data
WO2015058431A1 (en) * 2013-10-21 2015-04-30 中国科学院深圳先进技术研究院 Multilevel cloud processing method and multilevel cloud processing system for video-on-demand data
CN105991706B (en) * 2015-02-10 2019-10-11 阿里巴巴集团控股有限公司 Monitoring method and device on a kind of line
CN105991706A (en) * 2015-02-10 2016-10-05 阿里巴巴集团控股有限公司 Online monitoring method and apparatus thereof
CN106034047A (en) * 2015-04-16 2016-10-19 腾讯科技(深圳)有限公司 Data processing method and device
CN106034047B (en) * 2015-04-16 2019-07-16 腾讯科技(深圳)有限公司 Data processing method and device
CN106445770A (en) * 2015-08-12 2017-02-22 北京国双科技有限公司 Monitoring data processing method and apparatus, and monitoring server
CN106445770B (en) * 2015-08-12 2019-05-31 北京国双科技有限公司 Monitoring data processing method, device and monitoring server
CN105893209B (en) * 2016-03-31 2018-08-14 郑州悉知信息科技股份有限公司 A kind of monitoring method, apparatus and system
CN105893209A (en) * 2016-03-31 2016-08-24 郑州悉知信息科技股份有限公司 Monitoring method, device and system
CN107820692A (en) * 2016-12-23 2018-03-20 深圳中兴力维技术有限公司 A kind of alarm synchronization method and system
CN107820692B (en) * 2016-12-23 2019-01-15 深圳力维智联技术有限公司 A kind of alarm synchronization method and system
CN107453952A (en) * 2017-08-25 2017-12-08 苏州市千尺浪信息技术服务有限公司 A kind of service monitoring system
CN108287780A (en) * 2018-01-25 2018-07-17 郑州云海信息技术有限公司 A kind of device and method of monitoring server CPLD states

Also Published As

Publication number Publication date
HK1159892A1 (en) 2012-08-03
CN102231673B (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN102231673B (en) System and method for monitoring business server
US11240126B2 (en) Distributed tracing for application performance monitoring
KR100517242B1 (en) System and method for monitoring software queuing applications
US9262260B2 (en) Information processing apparatus, information processing method, and recording medium
CN102567185B (en) Monitoring method of application server
US20110153603A1 (en) Time series storage for large-scale monitoring system
US20160055044A1 (en) Fault analysis method, fault analysis system, and storage medium
KR101797185B1 (en) Efficiently collecting transaction-separated metrics in a distributed environment
CN102156729A (en) System and method for monitoring database servers
CN106462484A (en) Distributed stream processing in the cloud
CN105493028A (en) Data consistency and rollback for cloud analytics
CN103200046A (en) Method and system for monitoring network cell device performance
CN110347569A (en) A kind of performance data of server acquisition method and device
US11526413B2 (en) Distributed tracing of huge spans for application and dependent application performance monitoring
CN105122733B (en) Queue is monitored and visualized
CN109407984B (en) Method, device and equipment for monitoring performance of storage system
US8656224B2 (en) Network fault management in busy periods
CN102096688A (en) Method and device for generating data report
CN111614483A (en) Link monitoring method and device, storage medium and computer equipment
CN102981945A (en) System and method for monitoring reliability performance
CN109190025A (en) information monitoring method, device, system and computer readable storage medium
CN114356692A (en) Visual processing method and device for application monitoring link and storage medium
CN109213658A (en) A kind of method for inspecting and device
US20160139961A1 (en) Event summary mode for tracing systems
EP3602301B1 (en) Anticipatory collection of metrics and logs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1159892

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1159892

Country of ref document: HK