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

System and method for monitoring business server Download PDF

Info

Publication number
CN102231673B
CN102231673B CN201110158081.4A CN201110158081A CN102231673B CN 102231673 B CN102231673 B CN 102231673B CN 201110158081 A CN201110158081 A CN 201110158081A CN 102231673 B CN102231673 B CN 102231673B
Authority
CN
China
Prior art keywords
monitoring
business
data
control point
point information
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.)
Active
Application number
CN201110158081.4A
Other languages
Chinese (zh)
Other versions
CN102231673A (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

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

For the system and method for monitoring business server
Technical field
The present invention relates generally to monitoring field, more particularly, the present invention relates to the system and method for monitoring business server.
Background technology
Along with the extensive use of computer, need in enterprise to monitor many operation systems.But present supervisory control system is only limitted to the monitoring to hardware system.In reality, need to monitor service processing function or method.
Present distributed deployment, can not ensure that each business monopolizes a station server, when an operation system is deployed in multiple system, can affect unavoidably by other operation system.Such as a kind of possible situation is hardware system or upstate but certain operation system goes wrong.
In some cases, may need to monitor hundreds of operation system, and an operation system may have dozens of service processing function or method.For so many monitoring content, a good content confining method is needed to distinguish the monitor message of different operation systems, business function, hardware system etc.; And provide data basis for the logical-reductions of the collection of monitor data, storage, real-time analysis, report, warning.
Summary of the invention
In order to solve above-mentioned shortcoming of the prior art and problem and propose the present invention.System and a method according to the invention can simultaneously monitoring business function and operation system easily, its be mainly reflected in following some: operation system is once sampled and can meet business function monitoring and service system monitoring requirement simultaneously; Business model is simple, the monitoring data collection of a large amount of system, a large number of services and monitoring analysis are provided simplify, flexibly, data basis efficiently; Service logic is simplified, in monitoring information acquisition, storage, monitoring, report, warning in real time etc., reduce development cost; The hierarchical relationship of operation system can be expressed; The monitor message of supervisory control system self can be expressed.
According to an aspect of the present invention, provide a kind of method for monitoring business server, comprise: when the business module on service server performs method for processing business, send business monitoring data to the monitoring acquisition module on be positioned at service server, wherein said business monitoring data are indicating services module title and control point title in a predetermined format; The business monitoring data genaration monitor message received based at least one by described monitoring acquisition module when reaching predetermined time interval; Generated monitor message is sent to monitoring server; The monitor message received is stored by described monitoring server; And generate hierarchical statistics combined data according to statistics time interval based on stored monitor message by described monitoring server.
In the method, the business monitoring data genaration monitor message received based at least one by described monitoring acquisition module when reaching predetermined time interval can comprise: by described monitoring acquisition module to received business monitoring data analysis; When there are not the heartbeat message data corresponding with described business monitoring data, generate heartbeat message data; When there is not the control point information data corresponding with described business monitoring data, generate control point information data; When there is the control point information data corresponding with described business monitoring data, upgrade 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, week, the moon, at least one in year.
The monitor message generated can comprise at least one in control point information, call number information, response times and response time information.
In the method, can comprise based on described heartbeat message data and described control point information data generating monitoring information: when reaching described predetermined time interval, if described call number information is zero, then do not generate described monitor message.
In the method, after generated monitor message is sent to described monitoring server, described control point information data can be reset.
According to another aspect, provide a kind of system for generating monitoring information, comprising: at least one service server, each described service server comprises: business module, and described business module performs method for processing business, and monitoring acquisition module, monitoring server, wherein, described business module is configured to: whenever performing method for processing business, business monitoring data are sent to described monitoring acquisition module, wherein said business monitoring data are indicating services module title and control point title in a predetermined format, wherein, described monitoring acquisition module is configured to: when reaching predetermined time interval based on the business monitoring data genaration monitor message that at least one receives, and generated monitor message is sent to described monitoring server, wherein, described monitoring server is configured to store the monitor message received, and generate hierarchical statistics combined data according to statistics time interval based on stored monitor message.
Within the system, described monitoring acquisition module is configured to further: to described business monitoring data analysis, when there are not the heartbeat message data corresponding with described business monitoring data, generates heartbeat message data; When there is not the control point information data corresponding with described business monitoring data, generate control point information data; When there is the control point information data corresponding with described business monitoring data, upgrade control point information data, and wherein, described monitoring acquisition module is configured to further: when reaching predetermined time interval, generates described monitor message based on described heartbeat message data and described control point information data.
Described statistics time interval can comprise hour, day, week, the moon, at least one in year.
The monitor message generated can comprise at least one in control point information, call number information, response times and response time information.
Within the system, described monitoring acquisition module is configured to further: when reaching described predetermined time interval, if described call number information is zero, does not then generate described monitor message.
Within the system, described monitoring acquisition module is configured to further: after generated monitor message is sent to monitoring server, described control point information data is reset.
Accompanying drawing explanation
By the description carried out below in conjunction with accompanying drawing, the above and other aspects, features and advantages of some one exemplary embodiment of the present invention will become apparent to those skilled in the art, wherein:
Fig. 1 is the block diagram of the system illustrated according to the present invention's one exemplary embodiment;
Fig. 2 illustrates the schematic diagram accessed according to the control point of the present invention's one exemplary embodiment;
Fig. 3 is the schematic diagram of the buffer structure of the control point information data illustrated according to the present invention's one exemplary embodiment;
Fig. 4 is the schematic diagram of the data structure of the monitor message illustrated according to the present invention's one exemplary embodiment;
Fig. 5 is the schematic diagram of the data structure that the control point information stored according to the monitoring server of the present invention's one exemplary embodiment is shown;
Fig. 6 is the flow chart illustrated according to the generation heartbeat message data of the present invention's one exemplary embodiment and the method for control point information data;
Fig. 7 is the flow chart of the method for the generating monitoring information illustrated according to the present invention's one exemplary embodiment; And
Fig. 8 is the flow chart of the method for the generation statistical summaries data illustrated according to the present invention's one exemplary embodiment.
Embodiment
There is provided with reference to accompanying drawing the following describes help complete understanding one exemplary embodiment of the present invention.It comprises various details to help understanding, and they should be thought it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated.
Describe the present invention in detail below with reference to the accompanying drawings.
Fig. 1 is the block diagram of the system illustrated according to the present invention's one exemplary embodiment.This system comprises service server 110-1,110-2 and monitoring server 140.
Service server 110-1,110-2 run respectively and has business module 120-1,120-2.As understood by those skilled in the art, according to actual needs, business module 120-1,120-2 can perform miscellaneous service processing capacity or method for processing business.Although show in FIG for each service server 110-1 or 110-2 only comprises business module 120-1 or 120-2, it should be understood that, each service server 110-1,110-2 can comprise two or more business module.
Object for convenience of description, assuming that the machine name at 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 perform 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 perform comprises Login method and GetUser method.
When monitoring above-mentioned two service processing function of line module, two control points can be produced on WEB1:
(1) control point title: JD.User.Login; Machine name: WEB1
(2) control point title: JD.User.GetUser; Machine name: WEB1
WEB2 produces two control points too:
(1) control point title: JD.User.Login; Machine name: WEB2
(2) control point title: JD.User.GetUser; Machine name: WEB2
Service server 110-1,110-2 also run respectively and has monitoring acquisition module 130-1,130-2, it is respectively used to capturing service monitor data and generating monitoring information.
When business module 120-1 (or business module 120-2) performs service processing function, it sends business monitoring data to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2).When reaching predetermined time interval, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) forms monitor message according at least one the business monitoring data received within this predetermined time interval.
Such as, after receiving the business monitoring data from business module 120-1 (or business module 120-2), monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) is to this business monitoring data analysis.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 predetermined time section, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) generating monitoring information, and generated monitor message is sent to monitoring server 140.
More specifically, 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 adopt suitable form, with the title (i.e. control point title) of the title of identification service module and performed method for processing business.Such as, in the above example, when business module 120-1 performs 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 such as comprising character string " JD.User.Login ", monitoring acquisition module 130-1 extracts business module title " JD.User " and control point title " JD.User.Login " from these business monitoring data.Then, monitoring acquisition module 130-1 judges whether to there are the heartbeat message data corresponding with described business monitoring data, such as, whether there are the heartbeat message data that name is called " JD.User ".When there are not the heartbeat message data of corresponding with described business monitoring data (such as name is called " JD.User "), set up the heartbeat message data of corresponding with described business monitoring data (such as name is called " JD.User ").Then, monitoring acquisition module 130-1 judges whether to there is the control point information data corresponding with described business monitoring data, such as, whether there is the control point information data that name is called " JD.User.Login ".When there is not the control point information data of corresponding with described business monitoring data (such as name is called " JD.User.Login "), set up the control point information data of corresponding with described business monitoring data (such as name is called " JD.User.Login "); And when there is the control point information data of corresponding with described business monitoring data (such as name is called " JD.User.Login "), upgrade the control point information data of corresponding with described business monitoring data (such as name is called " JD.User.Login "), such as, can increase progressively call number information.When reaching predetermined time interval, such as, when reaching 1 minute that presets, monitoring acquisition module 130-1 judges whether call number information is zero.When call number information is non-vanishing, generated monitor message according to heartbeat message data and control point information data generating monitoring information, and is sent to monitoring server 140 by monitoring acquisition module 130-1.And if call number information is zero, then monitoring acquisition module 130-1 not generating monitoring information.
After reaching predetermined time interval, no matter whether generating monitoring information, monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) all can reset the control point information data of buffer memory, such as can by control point information data clearing etc.Thus monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can start the generation of the monitor message of next predetermined time interval.
In above-described example, only acquire the information about control point title, call number, interval time.But, also can adopt the information about any other side as required.Such as, in a lot of situation, wish that monitor message comprises response times and response time information.
When wishing that monitor message comprises response times and response time information, can when starting to perform method for processing business and winding-up processing method time respectively record the time, so the difference of latter two record value is the response time.If is all carried out record all response times can there is following problems: (1), for the concurrent business of height, data volume is very large; (2) a large amount of transfer of data 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 large.
In order to overcome the problems referred to above, present invention employs following mode: when whenever business module 120-1 (or business module 120-2) winding-up processing method, send business monitoring data to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2), thus monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can gather response time information.Such as, at the end of business module 120-1 (or business module 120-2) performs method for processing business Login, business module 120-1 (or business module 120-2) to the business monitoring data that monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) sends can comprise character string " JD.User.Login; End ", certainly the invention is not restricted to above-mentioned business monitoring data format.Monitoring acquisition module 130-1 (or monitoring acquisition module 130-2) can by the difference responsively time of the time when the time started when performing method for processing business and winding-up processing method, and by response times information is increased progressively.Thus, average response time information can be calculated by the response times of institute's buffer memory and response time information.Such as, when reaching the predetermined time interval of 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, various change can be carried out to example above.Such as, 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 received business monitoring data.
Fig. 2 illustrates the schematic diagram accessed according to the control point of the present invention's one exemplary embodiment.As shown in Figure 2, when business module 120-1 (or business module 120-2) starts or terminates to perform method for processing business, business module 120-1 (or business module 120-2) directly can call monitor-interface, thus sends 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 understood by those skilled in the art, monitoring access way is not limited to above-mentioned direct access way, also can adopt other access way, such as, AOP (AOP) technology can be used will to call injection to monitoring acquisition module.
Fig. 3 is the schematic diagram of the buffer structure of the control point information data illustrated according to the present invention's one exemplary embodiment.As shown in Figure 3, in the buffer structure of control point information data, comprising: field key, it is control point information (such as comprising the title of business module and the title of method for processing business); Field ResponseCount, it is the response time collecting quantity (i.e. response times information) in predetermined time interval; Field TotalResponse, it is the overall length (i.e. response time information) of the response time in predetermined time interval; And attribute Amount, it is the calling service counting in predetermined time interval.
Fig. 4 is the schematic diagram of the data structure of the monitor message illustrated according to the present invention's one exemplary embodiment.As shown in Figure 4, in the data structure of monitor message, comprising: field key, it is control point information (such as 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 calling service counting in predetermined time interval; Field ResponseCount, it is the response time collecting quantity (i.e. response times information) in predetermined time interval; And field ResponseTime, it is the response time (i.e. response time information) in predetermined time interval.
Fig. 5 is the schematic diagram of the data structure that the control point information stored according to the monitoring server of the present invention's one exemplary embodiment is shown.As shown in Figure 5, in the data structure of the monitor message of monitoring server storage, comprising: attribute key, it is control point information (such as 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 calling service counting in predetermined time interval; Attribute ResponseCount, it is the response time collecting quantity in predetermined time interval; Attribute ResponseTime, it is the average response time in predetermined time interval; Attribute CreateTime, it is creation-time; Attribute Interval, it is predetermined time interval; ID, it is the database row mark from increasing; Attribute State, it is for aggregation process operates the mode field provided.
Fig. 6 is the flow chart illustrated according to the generation heartbeat message data of the present invention's one exemplary embodiment and the method for control point information data.
As shown in Figure 6, the method is with in step slo by monitoring acquisition module receives the business monitoring data from business module.Described by the business module 120-1 (or business module 120-2) above with reference to figure 1, when business module 120-1 (or business module 120-2) performs service processing function, it sends business monitoring data in an appropriate format to monitoring acquisition module 130-1 (or monitoring acquisition module 130-2).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 to received business monitoring data analysis.
In step s 30, monitoring acquisition module judges whether to there are corresponding heartbeat message data.If judge there are not corresponding heartbeat message data, then generate corresponding heartbeat message data in step s 40.
Then, in step s 50, judge whether to there is corresponding control point information data.If there is no corresponding control point information data, then generate corresponding control point information data in step S60.The control point information generated can with reference to the form described by figure 3.Those skilled in the art will easily understand, and the control point information generated can adopt any suitable form as required, such as, can comprise than the more field of Fig. 3 (or attribute) or less field (or attribute).On the other hand, if there is corresponding control point information data, then in step S70, corresponding control point information data is upgraded.
Although showing in figure 6 for when judging to there are not corresponding heartbeat message data in step s 30, after generating heartbeat message data, proceeding to step S50 judge whether to there is corresponding control point information data.But, in fact, due to when there are not corresponding heartbeat message data, there is not corresponding control point information data yet, so step S60 can be directly to after generating heartbeat message data in step s 40, and require no step S50 to judge whether the control point information data that there is correspondence.
Owing to describing how to receive business monitoring data, to business monitoring data analysis, generation heartbeat message data and generation or renewal control point information data, so be not described in detail step S10-S70 at this in detail with reference to Fig. 1 above.
Fig. 7 is the flow chart of the method for the generating monitoring information illustrated according to the present invention's one exemplary embodiment.
As shown in Figure 7, the method starts from step S10 and judges whether to reach predetermined time interval.If judge in step slo to have reached predetermined time interval, then in step S20, judge whether to there is business heartbeat data.On the other hand, when judging not reach predetermined time interval in step slo, then continue to wait for.If judge that in step S20 call number information is non-vanishing, in step s 30 according to control point information data, generating monitoring information.Then, reset the control point information data of buffer memory in step s 40, such as can by control point information data clearing etc.In step s 50, generated monitor message is sent to monitoring server.The monitor message generated can with reference to the form described by figure 4.Those skilled in the art will easily understand, and the monitor message generated can adopt any suitable form as required, such as, can comprise than the more field of Fig. 4 (or attribute) or less field (or attribute).On the other hand, if judge that in step S20 call number information is zero, show do not perform method for processing business in this period and do not generate control point information data, thus do not need generating monitoring information, and start the generation of the monitor message of next predetermined time interval.
In addition, in step S20, alternatively can judge that call number information and response times information are zero.
Received monitor message can store by monitoring server, such as, with reference to the form described by figure 5.Those skilled in the art will easily understand, and monitoring server can store with any suitable form the monitor message received as required, such as, can comprise than the more attribute of Fig. 5 or less attribute.
Fig. 8 is the flow chart of the method for the generation statistical summaries illustrated according to the present invention's one exemplary embodiment.
Because the monitor message stored in monitoring server gathers, if so when analyzing based on this monitor message, efficiency has very large problem with the relatively little time interval (such as 1 minute).Therefore, the present invention adopts the mode of statistical summaries step by step.Particularly, the present invention adopts multiple different statistics time interval to gather stored monitor message.Such as, multiple different statistics time interval can to comprise hour, day, week, the moon, year.
As shown in Figure 8, judge whether (the hierarchical statistics summarizing module (not shown) by monitoring server) reaches predetermined statistics time interval in step slo.When judging in step slo to reach predetermined statistics time interval, in step S20, determine the type of statistics time interval.When the type of statistics time interval is the first kind, generate first order statistical summaries according to stored monitor message in step s 30.And when the type of statistics time interval is N (wherein N >=2) type, in step s 40 according to N-1 level statistical summaries and/or partly generate N level statistical summaries according to N-2 level statistical summaries.
Such as, to comprise hour, day, week, the moon, year multiple statistics time intervals, hour be the 1st type statistics time interval, sky, week, the moon, be respectively for the 2nd, 3,4, the 5 type statistics time intervals year.When reaching whole time (such as during 10 days 8 April in 2011), when namely statistics time interval is the first kind, first order statistical summaries when being 10 days 7 April in 2011 according to stored monitor message rise time section during-2011 on April 10,8.When reaching whole time (such as during 10 days 24 April in 2011), when namely statistics time interval is the first kind, first order statistical summaries when being 10 days 23 April in 2011 according to stored monitor message rise time section during-2011 on April 10,24; Now statistics time interval is also Second Type (i.e. sky), and 24 first order statistical summaries when being therefore 10 days 1 April in 2011 according to the time period during-2011 on April 10,24 generate second level statistical summaries; Now statistics time interval is also the 3rd type (i.e. week), is therefore 7 second level statistical summaries generation third level statistical summaries on April 10 ,-2011 years on the 4th April in 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 (my god) statistical summaries except, also gather according to 3 third level (week) in April 24-2011 years on the 4th April of 2011 time period and-3 days on the 1st April in 2011 ,-30 days on the 25th 9 second level (my god) gather generation the fourth stage (moon) gather.
Certain above-mentioned multiple different statistics time interval is only exemplary, such as 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 N-1 level statistical summaries deleted or store.Certainly, as required, the monitor message also can deleted more rudimentary statistical summaries at other reasonable time or store.
Based on process above, greatly can improve the efficiency of statistical analysis, also can reduce the needs to memory space simultaneously.
Monitor message according to the present invention comprises heartbeat message data and control point information data, and wherein heartbeat message data may be used for the state of real-time certainty annuity and business, and control point information data may be used for analyzing the historic state of business.
Respectively apparatus and method embodiment of the present invention is described respectively above being to be noted that, but another embodiment also be can be applicable to the details that an embodiment describes.
Below general principle of the present invention is described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, whole or any step or the parts that can understand method and system of the present invention can be realized with software, hardware, firmware or their combination, and this is that those of ordinary skill in the art use their basic programming skill just can realize when having read explanation of the present invention.
Therefore, object of the present invention can also be realized by an operation software module or one group of software module on any calculation element.Described calculation element can be known fexible unit.Therefore, object of the present invention also can realize only by the program product of providing package containing the program code realizing described method or device.That is, such program product also forms the present invention, and the storage medium storing such program product also forms the present invention.Obviously, described storage medium can be any storage medium developed in any known storage medium or future.
Although this specification comprises many particular implementation details, but should not be the restriction of the scope to the content that any invention maybe can be advocated by these detailed explanation, and should be interpreted as can specific to the description of the feature of the specific embodiment of specific invention.Some Feature Combination described in the situation of the embodiment be separated in this manual can also be realized in single embodiment.On the contrary, also each character separation described in the situation of single execution mode can be realized or realizes in any suitable sub-portfolio in multiple execution mode.In addition, work in some combination although may describe feature as above, even initial opinion so, in some cases but the one or more features from advocated combination can be left out from combination, and advocated combination can be pointed to the variant of sub-portfolio or sub-portfolio.
Similarly, although depict operation with certain order in the accompanying drawings, this should be interpreted as and need with shown certain order or perform such operation with continuous order or need to perform the result that all illustrated operations just can reach expectation.In some cases, multitask and parallel processing can be favourable.In addition, the separation of various system components in the above-described embodiments should be interpreted as and all need such separation in all embodiments, and should be understood that, usually can by described program assembly and the system integration to together with become single software product or be encapsulated as multiple software product.
Computer program (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, in other words illustrated or procedural language, and it can be disposed in any form, comprise as stand-alone program or other unit of using in a computing environment as module, assembly, subprogram or be suitable for.Computer program there is no need to correspond to the file in file system.Program can be stored in the file of other program of maintenance or data (such as, be stored in the one or more scripts in marking language document) a part, the Single document being exclusively used in question program or multiple coordinative file (such as, storing the file of one or more module, subprogram or partial code) in.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.

Claims (12)

1., for a method for monitoring business server, comprising:
When business module on service server performs method for processing business, send business monitoring data to the monitoring acquisition module on be positioned at service server, wherein said business monitoring data are indicating services module title and control point title in a predetermined format;
The business monitoring data genaration monitor message received based at least one by described monitoring acquisition module when reaching predetermined time interval;
Generated monitor message is sent to monitoring server;
The monitor message received is stored by described monitoring server; And
Hierarchical statistics combined data is generated according to statistics time interval based on stored monitor message by described monitoring server.
2. method according to claim 1, wherein, the business monitoring data genaration monitor message received based at least one by described monitoring acquisition module when reaching predetermined time interval comprises:
By described monitoring acquisition module to received business monitoring data analysis;
When there are not the heartbeat message data corresponding with described business monitoring data, generate heartbeat message data;
When there is not the control point information data corresponding with described business monitoring data, generate control point information data;
When there is the control point information data corresponding with described business monitoring data, upgrade 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, week, the moon, at least one in year.
4. method according to claim 1, wherein, the monitor message generated comprises at least one in control point information, call number information, response times and response time information.
5. method according to claim 2, wherein, generates described monitor message based on described heartbeat message data and described control point information data and comprises:
When reaching described predetermined time interval, if call number information is zero, then do not generate described monitor message.
6. method according to claim 2, wherein, after generated monitor message is sent to described monitoring server, resets described control point information data.
7., for a system for generating monitoring information, comprising:
At least one service server, each described service server comprises:
Business module, described business module performs method for processing business; With
Monitoring acquisition module,
Monitoring server,
Wherein, described business module is configured to: whenever performing method for processing business, and send business monitoring data to described monitoring acquisition module, wherein said business monitoring data are indicating services module title and control point title in a predetermined format,
Wherein, described monitoring acquisition module is configured to: when reaching predetermined time interval based on the business monitoring data genaration monitor message that at least one receives, and generated monitor message is sent to described monitoring server,
Wherein, described monitoring server is configured to store the monitor message received, and generates hierarchical statistics combined data according to statistics time interval based on stored monitor message.
8. system according to claim 7,
Wherein, described monitoring acquisition module is configured to further: to described business monitoring data analysis, when there are not the heartbeat message data corresponding with described business monitoring data, generates heartbeat message data; When there is not the control point information data corresponding with described business monitoring data, generate control point information data; When there is the control point information data corresponding with described business monitoring data, upgrade control point information data, and
Wherein, described monitoring acquisition module is configured to further: when reaching predetermined time interval, generates 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, week, the moon, at least one in year.
10. system according to claim 7, wherein, the monitor message generated comprises at least one in control point information, call number information, response times and response time information.
11. systems according to claim 10, wherein, described monitoring acquisition module is configured to further:
When reaching described predetermined time interval, if described call number information is zero, then do not generate described monitor message.
12. systems according to claim 8, wherein, described monitoring acquisition module is configured to further: after generated monitor message is sent to monitoring server, described control point information data is reset.
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 CN102231673A (en) 2011-11-02
CN102231673B true 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)

Families Citing this family (11)

* 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
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
CN103517156A (en) * 2013-10-21 2014-01-15 中国科学院深圳先进技术研究院 Multistage cloud processing method and multistage cloud processing system for VOD data
CN105991706B (en) * 2015-02-10 2019-10-11 阿里巴巴集团控股有限公司 Monitoring method and device on a kind of line
CN106034047B (en) * 2015-04-16 2019-07-16 腾讯科技(深圳)有限公司 Data processing method and device
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
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

Citations (3)

* 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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100411401C (en) * 2002-12-31 2008-08-13 联想(北京)有限公司 Method for network equipment self adaption load equalization
CN101075919A (en) * 2006-06-22 2007-11-21 腾讯科技(深圳)有限公司 Method and system for monitoring Internet service
CN101197715B (en) * 2007-12-29 2010-06-02 中国移动通信集团湖北有限公司 Method for centrally capturing mobile data service condition
CN101610264B (en) * 2009-07-24 2011-12-07 深圳市永达电子股份有限公司 Firewall system, safety service platform and firewall system management method

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
HK1159892A1 (en) 2012-08-03
CN102231673A (en) 2011-11-02

Similar Documents

Publication Publication Date Title
CN102231673B (en) System and method for monitoring business server
CN110245078B (en) Software pressure testing method and device, storage medium and server
CN102567185B (en) Monitoring method of application server
US9262260B2 (en) Information processing apparatus, information processing method, and recording medium
JP5886712B2 (en) Efficient collection of transaction-specific metrics in a distributed environment
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
US8656225B2 (en) Network fault management in busy periods
CN109977089A (en) Blog management method, device, computer equipment and computer readable storage medium
CN102597966B (en) Operation management device and operation management method
CN109407984B (en) Method, device and equipment for monitoring performance of storage system
CN102096688A (en) Method and device for generating data report
CN110347569A (en) A kind of performance data of server acquisition method and device
CN111614483A (en) Link monitoring method and device, storage medium and computer equipment
US11526413B2 (en) Distributed tracing of huge spans for application and dependent application performance monitoring
CN101127590A (en) A method and device for backing up data of single board operation status
CN104217004A (en) Monitoring method and device for database hot spot of transaction system
CN109213658A (en) A kind of method for inspecting and device
US9218205B2 (en) Resource management in ephemeral environments
CN107515864B (en) Method and equipment for monitoring workflow
CN102521339A (en) System and method for dynamic access of data sources
CN106330565A (en) Customer behavior analysis method and system of ATM equipment
CN102307116A (en) System and method for generating monitoring information
CN109614139A (en) A kind of system service configuration method, device, equipment and medium
CN107147542A (en) A kind of information generating method and device
CN102822806B (en) Detect the state that gets nowhere of application

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