CN105100216A - Multi-service monitoring method and device - Google Patents
Multi-service monitoring method and device Download PDFInfo
- Publication number
- CN105100216A CN105100216A CN201510373843.0A CN201510373843A CN105100216A CN 105100216 A CN105100216 A CN 105100216A CN 201510373843 A CN201510373843 A CN 201510373843A CN 105100216 A CN105100216 A CN 105100216A
- Authority
- CN
- China
- Prior art keywords
- business
- reference address
- message queue
- access
- result
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/621—Individual queue per connection or flow, e.g. per VC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a multi-service monitoring method and device. The method comprises the following steps: for each service as a monitoring object, generating an access address of the service according to a certain frequency and putting the access address into a first message queue; acquiring the access address from the first message queue and accessing, and putting an access result into a second message queue; acquiring the access result from the second message queue, and matching the access result with a pre-configured access result of a corresponding service, if the access result is not matched with the pre-configured access result of the corresponding service, then generating corresponding alarm message and putting the alarm message into a third message queue; and acquiring the alarm message from the third message queue and performing alarm processing. The technical scheme of the invention effectively shuts a single monitoring process by polling a plurality of message queues, solves the problem of affecting the whole monitoring process due to the abnormal intermediate links on the premise of guaranteeing a monitoring granularity, relieves the monitor processing stress, improves the monitor processing efficiency and satisfies the monitoring requirement.
Description
Technical field
The present invention relates to Network Monitoring Technology, be specifically related to a kind of multiple services method for supervising and device.
Background technology
Along with the development of network technology, increasing business occurs on the internet, these operation systems to the work of people, that life brings is many convenient.But along with the increasing pressure of the increase of the increasing of customer volume, data volume, operation system is large, it runs needs special operation maintenance personnel to carry out operation management, for operation maintenance personnel, carries out monitoring be very important to the running status of operation system.
Traditional monitoring scheme is in the process to operation system implementing monitoring, the process of whole monitoring process is in single flow process, and monitoring processing pressure is large, and monitoring treatment effeciency is low, intermediate link can directly cause single flow process to be interrupted time abnormal, and then postpones the enforcement even affecting whole monitoring scheme.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the multiple services method for supervising of one solved the problem at least in part and device.
According to one aspect of the present invention, provide a kind of multiple services method for supervising, the method comprises:
For each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue;
From the first message queue, obtain reference address, conduct interviews, access result is put into the second message queue;
From the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generates corresponding warning message and put into the 3rd message queue;
Obtain warning message from the 3rd message queue, carry out alert process.
Alternatively, the reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described for each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue and comprise: for each business as monitored object, obtaining the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
Alternatively, the prewired access result of described corresponding service be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
Alternatively, the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is abandon this reference address or be reentered in the first message queue by this reference address, otherwise conducting interviews.
Alternatively, the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, reduces the frequency of the reference address generating this business.
Alternatively, described from the 3rd message queue acquisition warning message, carry out alert process and comprise:
From the 3rd message queue, obtain warning message, by the communications conduit preset, this warning message is sent to corresponding business side.
Alternatively, the method comprises further:
The warning message obtained from the 3rd message queue is carried out classification according to the business of correspondence to be saved in warning message database;
For each business, according to the content in warning message database, add up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
According to another aspect of the present invention, provide a kind of multiple services supervising device, this device comprises:
Reference address generation unit, is suitable for, for each business as monitored object, generating the reference address of this business and put into the first message queue according to certain frequency;
Access performance element, is suitable for obtaining reference address from the first message queue, conducts interviews, access result is put into the second message queue;
Access result matching unit, is suitable for from the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generate corresponding warning message and put into the 3rd message queue;
Alert process unit, is suitable for obtaining warning message from the 3rd message queue, carries out alert process;
Memory cell, is suitable for the prewired access result of preserving described first message queue, the second message queue, the 3rd message queue and each business.
Alternatively, the reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described reference address generation unit, is suitable for for each business as monitored object, obtains the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
Alternatively, the prewired access result of each business of preserving in memory cell be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
Alternatively, described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, abandon this reference address or this reference address is reentered in the first message queue, otherwise conducting interviews.
Alternatively, described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, notify that described reference address generation unit reduces the frequency of the reference address generating this business.
Alternatively, described alert process unit, is suitable for obtaining warning message from the 3rd message queue, by the communications conduit preset, this warning message is sent to corresponding business side.
Alternatively, this device comprises further: statistic unit;
Described alert process unit, is further adapted for and the warning message obtained from the 3rd message queue is carried out classification according to the business of correspondence is saved in warning message database;
Described memory cell, is further adapted for and preserves warning message database;
Described statistic unit, for each business, according to the content in warning message database, adds up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
From the above, technical scheme provided by the invention completes the monitoring to monitored object by the poll of three message queues, wherein, the first message queue is utilized to deposit the reference address of monitored object, the second message queue is utilized to deposit access result, the 3rd message queue is utilized to deposit warning message, by the generative process of the reference address of the monitored object in whole monitor procedure, to the process that reference address conducts interviews, access result and corresponding prewired access result carry out the process of mating and alert process process is separated, make it to complete successively in different flow processs, with carry out monitoring compared with the scheme that processes in prior art with single flow process, this programme is shunted single monitoring flow process by multiple message queue, the problem affecting whole monitor procedure because intermediate link is abnormal is efficiently solved under the prerequisite ensureing monitoring granularity, alleviate monitoring processing pressure, improve monitoring treatment effeciency, meet monitoring demand.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of multiple services method for supervising;
Fig. 2 shows a kind of according to an embodiment of the invention schematic diagram of multiple services supervising device;
Fig. 3 shows a kind of in accordance with another embodiment of the present invention schematic diagram of multiple services supervising device.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of multiple services method for supervising.As shown in Figure 1, the method comprises:
Step S110, for each business as monitored object, generates the reference address of this business according to certain frequency and puts into the first message queue.
Step S120, obtains reference address, conducts interviews from the first message queue, and access result is put into the second message queue.
Step S130, obtains access result from the second message queue, access result is mated with the prewired access result of corresponding service, if do not mated, generates corresponding warning message and put into the 3rd message queue.
Step S140, obtains warning message from the 3rd message queue, carries out alert process.
Visible, method shown in Fig. 1 completes the monitoring to monitored object by the poll of three message queues, wherein, the first message queue is utilized to deposit the reference address of monitored object, the second message queue is utilized to deposit access result, the 3rd message queue is utilized to deposit warning message, by the generative process of the reference address of the monitored object in whole monitor procedure, to the process that reference address conducts interviews, access result and corresponding prewired access result carry out the process of mating and alert process process is separated, make it to complete successively in different flow processs, with carry out monitoring compared with the scheme that processes in prior art with single flow process, this programme is shunted single monitoring flow process by multiple message queue, the problem affecting whole monitor procedure because intermediate link is abnormal is efficiently solved under the prerequisite ensureing monitoring granularity, alleviate monitoring processing pressure, improve monitoring treatment effeciency, meet monitoring demand.
In one embodiment of the invention, the reference address of the business generated in method shown in Fig. 1 comprises: the business function reference address of one or more needs monitoring of this business.
Then in the present embodiment, step S110 is for each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue and comprise: for each business as monitored object, obtaining the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
Such as, according to the demand of the operation maintenance personnel of game operation platform, the login feature of the game 1 on this game operation platform is monitored, does is first the form obtaining the sign-on access address of this game 1: http://www.game1.com/sign=? wherein, the value of parameter s ign is dynamic change in time, as initial time sign=1234, often cross 5min afterwards, the value of parameter s ign increases by 1111, the rule change of the sign-on access address of game 1 can be obtained according to the dynamic change rule of parameter s ign, the sign-on access address of game 1 is dynamically generated according to the rule change of the sign-on access address of this game 1 every 5min, namely initial time generates link http://www.game1.com/sign=1234, put into the first message queue, link http://www.game1.com/sign=2345 is generated after crossing 5min, put into the first message queue, by that analogy.First message queue is while the sign-on access address constantly putting into newly-generated game 1, the sign-on access address of the game 1 comparatively early generated wherein is also constantly removed, this programme takes out link http://www.game1.com/sign=1234 and conducts interviews from the first message queue, access result is put into the second message queue, from the first message queue, take out link http://www.game1.com/sign=2345 conduct interviews, access result is put into the second message queue, by that analogy.Second message queue is while constantly putting into new access result, access result comparatively early wherein is also constantly removed, this programme obtains the access result of link http://www.game1.com/sign=1234 from the second message queue, mate with the prewired access result of the login feature of game 1, if do not mated, generate corresponding warning message and put into the 3rd message queue, the access result of link http://www.game1.com/sign=2345 is obtained from the second message queue, mate with the prewired access result of the login feature of game 1, if do not mated, generate corresponding warning message and put into the 3rd message queue, by that analogy.3rd message queue is while constantly putting into new warning message, and warning message comparatively early wherein is also constantly removed, and this programme obtains warning message from the 3rd message queue, carries out alert process.It should be noted that, in the present embodiment, due to play 1 sign-on access address be dynamic change in time, then the matching process of the generation of sign-on access address, access and access result is all effective in real time.Wherein, what message queue was used is MongoDB database.
In one embodiment of the invention, the prewired access result of the corresponding service shown in Fig. 1 described in method be following in any one: fixing string; The designated result of XML format; The designated result of JSON form; Dynamic result.
Continue to use example above, in one embodiment, the prewired access result of the login feature of game 1 is the designated result of JSON form: { " errno ": 5, " msg ": 4}, sometime, after the sign-on access address of generated game 1 is conducted interviews, if comprise " errno " in access result to equal 5, the information that " msg " equals 4, then illustrate that this access result and prewired access result match, if in access result " errno " be not equal to 5 and equal other number, then illustrate that this access result is not mated with prewired access result, generate warning message, carry out alert process.In another embodiment, the prewired access result of the login feature of game 1 is dynamic result, wherein comprise timestamp, this timestamp can identify the time at certain a moment uniquely, sometime, after conducting interviews to the sign-on access address of generated game 1, the prewired access result of the login feature of game 1 corresponding with this moment for access result is matched, if do not mated, then generate warning message, carry out alert process.
When monitoring granularity and being excessive, the too high load of monitored object that makes of dense degree conducted interviews to the reference address of the business as monitored object is excessive, the normal operation of monitored object may be affected, for avoiding the generation of this type of accident, the present invention proposes two schemes and monitoring granularity dispatched:
Scheme one, control to the access link of reference address: after obtain reference address from the first message queue, before conducting interviews, comprise further: judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, abandon this reference address or this reference address is reentered in the first message queue, otherwise conducting interviews.
Scheme two, control from the generation link of reference address: after obtain reference address from the first message queue, before conducting interviews, comprise further: judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, reduces the frequency of the reference address generating this business.
In one embodiment of the invention, the step S140 of method shown in Fig. 1 obtains warning message from the 3rd message queue, carry out alert process to comprise: from the 3rd message queue, obtain warning message, by the communications conduit preset, this warning message is sent to corresponding business side.Wherein, the communications conduit preset comprises: SMS, Email, instant communication information etc., different communications conduits has real-time in various degree, in specific implementation process, the role that can receive the people of warning message according to the significance level of warning message and business side selects different communications conduits to send warning message flexibly, and can alarm threshold value, alarm interval and rule be set neatly, and provide perfect form and journal function etc., to adapt to user's request.
Above described warning is real-time, just alert process is carried out once note abnormalities, can effectively reflect real-time monitored results, further, in one embodiment of the invention, the method shown in Fig. 1 also comprises statistical function, effectively can reflect interim monitored results, be conducive to recalling history monitor procedure and predicting following monitor procedure, particularly, the method shown in Fig. 1 comprises further:
Step S150, carries out classification by the warning message obtained from the 3rd message queue according to the business of correspondence and is saved in warning message database.
Step S160, for each business, according to the content in warning message database, adds up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
Fig. 2 shows a kind of according to an embodiment of the invention schematic diagram of multiple services supervising device.As shown in Figure 2, wherein, this multiple services supervising device 200 comprises:
Reference address generation unit 210, is suitable for, for each business as monitored object, generating the reference address of this business and put into the first message queue according to certain frequency.
Access performance element 220, is suitable for obtaining reference address from the first message queue, conducts interviews, access result is put into the second message queue.
Access result matching unit 230, is suitable for from the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generate corresponding warning message and put into the 3rd message queue.
Alert process unit 240, is suitable for obtaining warning message from the 3rd message queue, carries out alert process.
Memory cell 250, is suitable for the prewired access result of preserving described first message queue, the second message queue, the 3rd message queue and each business.
Visible, device shown in Fig. 2 is under the cooperatively interacting of each unit, the monitoring to monitored object is completed by the poll of three message queues, wherein, the first message queue is utilized to deposit the reference address of monitored object, the second message queue is utilized to deposit access result, the 3rd message queue is utilized to deposit warning message, by the generative process of the reference address of the monitored object in whole monitor procedure, to the process that reference address conducts interviews, access result and corresponding prewired access result carry out the process of mating and alert process process is separated, make it to complete successively in different flow processs, with carry out monitoring compared with the scheme that processes in prior art with single flow process, this programme is shunted single monitoring flow process by multiple message queue, the problem affecting whole monitor procedure because intermediate link is abnormal is efficiently solved under the prerequisite ensureing monitoring granularity, alleviate monitoring processing pressure, improve monitoring treatment effeciency, meet monitoring demand.
In one embodiment of the invention, the reference address of this business that the reference address generation unit 210 of Fig. 2 shown device generates comprises: the business function reference address of one or more needs monitoring of this business.
Then in the present embodiment, particularly, reference address generation unit 210, is suitable for for each business as monitored object, obtains the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
In one embodiment of the invention, the prewired access result of each business of preserving in the memory cell 250 of Fig. 2 shown device be following in any one: fixing string; The designated result of XML format; The designated result of JSON form; Dynamic result.
In one embodiment of the invention, the access performance element 220 of Fig. 2 shown device, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, abandon this reference address or this reference address is reentered in the first message queue, otherwise conducting interviews.
In one embodiment of the invention, the access performance element 220 of Fig. 2 shown device, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, notify that reference address generation unit 210 reduces the frequency of the reference address generating this business.
In one embodiment of the invention, the alert process unit 240 of Fig. 2 shown device, is suitable for obtaining warning message from the 3rd message queue, by the communications conduit preset, this warning message is sent to corresponding business side.
Fig. 3 shows a kind of in accordance with another embodiment of the present invention schematic diagram of multiple services supervising device.As shown in Figure 3, wherein, this multiple services supervising device 300 comprises:
Reference address generation unit 310, is suitable for, for each business as monitored object, generating the reference address of this business and put into the first message queue according to certain frequency.
Access performance element 320, is suitable for obtaining reference address from the first message queue, conducts interviews, access result is put into the second message queue.
Access result matching unit 330, is suitable for from the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generate corresponding warning message and put into the 3rd message queue.
Alert process unit 340, is suitable for obtaining warning message from the 3rd message queue, carries out alert process; Also be suitable for that the warning message obtained from the 3rd message queue is carried out classification according to the business of correspondence to be saved in warning message database.
Memory cell 350, is suitable for the prewired access result of preserving described first message queue, the second message queue, the 3rd message queue and each business; Also be suitable for preserving warning message database.
Statistic unit 360, is suitable for for each business, according to the content in warning message database, adds up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
It should be noted that, the multi-service supervising device 300 shown in Fig. 3 sends warning message and process from statistics to business side is applicable to any business as monitored object, can meet the demand to multiple business implementing monitoring.
Each embodiment of the multiple services supervising device 200/300 shown in Fig. 2-Fig. 3 is corresponding identical with each embodiment of the multiple services method for supervising shown in Fig. 1, is described in detail hereinbefore, does not repeat them here.
In sum, technical scheme provided by the invention completes the monitoring to monitored object by the poll of three message queues, wherein, the first message queue is utilized to deposit the reference address of monitored object, the second message queue is utilized to deposit access result, the 3rd message queue is utilized to deposit warning message, by the generative process of the reference address of the monitored object in whole monitor procedure, to the process that reference address conducts interviews, access result and corresponding prewired access result carry out the process of mating and alert process process is separated, make it to complete successively in different flow processs, with carry out monitoring compared with the scheme that processes in prior art with single flow process, this programme is shunted single monitoring flow process by multiple message queue, the problem affecting whole monitor procedure because intermediate link is abnormal is efficiently solved under the prerequisite ensureing monitoring granularity, alleviate monitoring processing pressure, improve monitoring treatment effeciency, meet monitoring demand.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual bench or miscellaneous equipment with display at this algorithm provided.Various fexible unit also can with use based on together with this teaching.According to description above, the structure constructed required by this kind of device is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the multiple services supervising device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of multiple services method for supervising, wherein, the method comprises:
For each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue;
From the first message queue, obtain reference address, conduct interviews, access result is put into the second message queue;
From the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generates corresponding warning message and put into the 3rd message queue;
Obtain warning message from the 3rd message queue, carry out alert process.
A2, method as described in A1, wherein,
The reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described for each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue and comprise: for each business as monitored object, obtaining the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
A3, method as described in A1, wherein, the prewired access result of described corresponding service be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
A4, method as described in A1, wherein, the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is abandon this reference address or be reentered in the first message queue by this reference address, otherwise conducting interviews.
A5, method as described in A1, wherein, the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, reduces the frequency of the reference address generating this business.
A6, method as described in A1, wherein, describedly obtain warning message from the 3rd message queue, carry out alert process and comprise:
From the 3rd message queue, obtain warning message, by the communications conduit preset, this warning message is sent to corresponding business side.
A7, method as described in A1, wherein, the method comprises further:
The warning message obtained from the 3rd message queue is carried out classification according to the business of correspondence to be saved in warning message database;
For each business, according to the content in warning message database, add up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
The invention also discloses B8, a kind of multiple services supervising device, wherein, this device comprises:
Reference address generation unit, is suitable for, for each business as monitored object, generating the reference address of this business and put into the first message queue according to certain frequency;
Access performance element, is suitable for obtaining reference address from the first message queue, conducts interviews, access result is put into the second message queue;
Access result matching unit, is suitable for from the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generate corresponding warning message and put into the 3rd message queue;
Alert process unit, is suitable for obtaining warning message from the 3rd message queue, carries out alert process;
Memory cell, is suitable for the prewired access result of preserving described first message queue, the second message queue, the 3rd message queue and each business.
B9, device as described in B8, wherein,
The reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described reference address generation unit, is suitable for for each business as monitored object, obtains the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
B10, device as described in B8, wherein, the prewired access result of each business of preserving in memory cell be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
B11, device as described in B8, wherein,
Described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, abandon this reference address or this reference address is reentered in the first message queue, otherwise conducting interviews.
B12, device as described in B8, wherein,
Described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, notify that described reference address generation unit reduces the frequency of the reference address generating this business.
B13, device as described in B8, wherein,
Described alert process unit, is suitable for obtaining warning message from the 3rd message queue, by the communications conduit preset, this warning message is sent to corresponding business side.
B14, device as described in B8, wherein, this device comprises further: statistic unit;
Described alert process unit, is further adapted for and the warning message obtained from the 3rd message queue is carried out classification according to the business of correspondence is saved in warning message database;
Described memory cell, is further adapted for and preserves warning message database;
Described statistic unit, for each business, according to the content in warning message database, adds up the number of times occurring in this business different time sections in the past to report to the police, statistics is sent to this business side.
Claims (10)
1. a multiple services method for supervising, wherein, the method comprises:
For each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue;
From the first message queue, obtain reference address, conduct interviews, access result is put into the second message queue;
From the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generates corresponding warning message and put into the 3rd message queue;
Obtain warning message from the 3rd message queue, carry out alert process.
2. the method for claim 1, wherein
The reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described for each business as monitored object, generate the reference address of this business according to certain frequency and put into the first message queue and comprise: for each business as monitored object, obtaining the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
3. the method for claim 1, wherein the prewired access result of described corresponding service be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
4. the method for claim 1, wherein the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is abandon this reference address or be reentered in the first message queue by this reference address, otherwise conducting interviews.
5. the method for claim 1, wherein the method, after obtain reference address from the first message queue, before conducting interviews, comprises further:
Judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, reduces the frequency of the reference address generating this business.
6. a multiple services supervising device, wherein, this device comprises:
Reference address generation unit, is suitable for, for each business as monitored object, generating the reference address of this business and put into the first message queue according to certain frequency;
Access performance element, is suitable for obtaining reference address from the first message queue, conducts interviews, access result is put into the second message queue;
Access result matching unit, is suitable for from the second message queue, obtain access result, access result is mated with the prewired access result of corresponding service, if do not mated, generate corresponding warning message and put into the 3rd message queue;
Alert process unit, is suitable for obtaining warning message from the 3rd message queue, carries out alert process;
Memory cell, is suitable for the prewired access result of preserving described first message queue, the second message queue, the 3rd message queue and each business.
7. device as claimed in claim 6, wherein,
The reference address of this business described comprises: the business function reference address of one or more needs monitoring of this business;
Described reference address generation unit, is suitable for for each business as monitored object, obtains the rule change of each business function reference address of the needs monitoring of this business; For each business function reference address that the needs of each business as monitored object are monitored, dynamically generate this business function reference address of this business according to certain frequency according to its rule change and put into the first message queue.
8. device as claimed in claim 6, wherein, the prewired access result of each business of preserving in memory cell be following in any one:
Fixing string;
The designated result of XML format;
The designated result of JSON form;
Dynamic result.
9. device as claimed in claim 6, wherein,
Described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, abandon this reference address or this reference address is reentered in the first message queue, otherwise conducting interviews.
10. device as claimed in claim 6, wherein,
Described access performance element, be suitable for after obtain reference address from the first message queue, before conducting interviews, judge whether the number of times of the business that access in nearest preset time period is corresponding to this reference address exceedes preset value, is, notify that described reference address generation unit reduces the frequency of the reference address generating this business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510373843.0A CN105100216B (en) | 2015-06-30 | 2015-06-30 | A kind of multiple services monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510373843.0A CN105100216B (en) | 2015-06-30 | 2015-06-30 | A kind of multiple services monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100216A true CN105100216A (en) | 2015-11-25 |
CN105100216B CN105100216B (en) | 2018-09-18 |
Family
ID=54579733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510373843.0A Expired - Fee Related CN105100216B (en) | 2015-06-30 | 2015-06-30 | A kind of multiple services monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100216B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506199A (en) * | 2016-10-21 | 2017-03-15 | 乐视控股(北京)有限公司 | The automatic monitoring method and device of interface in system line |
CN107104961A (en) * | 2017-04-21 | 2017-08-29 | 中国电子科技集团公司第二十八研究所 | Distributed real-time video monitoring processing system based on ZooKeeper |
CN109800259A (en) * | 2018-12-11 | 2019-05-24 | 深圳市金证科技股份有限公司 | Collecting method, device and terminal device |
CN110138721A (en) * | 2019-03-22 | 2019-08-16 | 福建省天奕网络科技有限公司 | Decouple method, the storage medium of game services and fight service |
CN111343152A (en) * | 2020-02-07 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068160A (en) * | 2007-06-15 | 2007-11-07 | 杭州华三通信技术有限公司 | Method for managing dynamic address equipment and agenty device |
US20100192025A1 (en) * | 2003-03-27 | 2010-07-29 | Microsoft Corporation | Availability and scalability in a messaging system in a manner transparent to the application |
CN102904961A (en) * | 2012-10-22 | 2013-01-30 | 浪潮(北京)电子信息产业有限公司 | Method and system for scheduling cloud computing resources |
CN103019866A (en) * | 2012-10-24 | 2013-04-03 | 北京京东世纪贸易有限公司 | Distributed method and system based on message queue |
CN104125095A (en) * | 2014-06-25 | 2014-10-29 | 世纪禾光科技发展(北京)有限公司 | System and method for monitoring event failure in real time |
-
2015
- 2015-06-30 CN CN201510373843.0A patent/CN105100216B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100192025A1 (en) * | 2003-03-27 | 2010-07-29 | Microsoft Corporation | Availability and scalability in a messaging system in a manner transparent to the application |
CN101068160A (en) * | 2007-06-15 | 2007-11-07 | 杭州华三通信技术有限公司 | Method for managing dynamic address equipment and agenty device |
CN102904961A (en) * | 2012-10-22 | 2013-01-30 | 浪潮(北京)电子信息产业有限公司 | Method and system for scheduling cloud computing resources |
CN103019866A (en) * | 2012-10-24 | 2013-04-03 | 北京京东世纪贸易有限公司 | Distributed method and system based on message queue |
CN104125095A (en) * | 2014-06-25 | 2014-10-29 | 世纪禾光科技发展(北京)有限公司 | System and method for monitoring event failure in real time |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506199A (en) * | 2016-10-21 | 2017-03-15 | 乐视控股(北京)有限公司 | The automatic monitoring method and device of interface in system line |
CN107104961A (en) * | 2017-04-21 | 2017-08-29 | 中国电子科技集团公司第二十八研究所 | Distributed real-time video monitoring processing system based on ZooKeeper |
CN107104961B (en) * | 2017-04-21 | 2019-12-10 | 中国电子科技集团公司第二十八研究所 | distributed real-time video monitoring processing system based on ZooKeeper |
CN109800259A (en) * | 2018-12-11 | 2019-05-24 | 深圳市金证科技股份有限公司 | Collecting method, device and terminal device |
CN110138721A (en) * | 2019-03-22 | 2019-08-16 | 福建省天奕网络科技有限公司 | Decouple method, the storage medium of game services and fight service |
CN110138721B (en) * | 2019-03-22 | 2021-06-29 | 福建省天奕网络科技有限公司 | Method of decoupling gaming and combat services, storage medium |
CN111343152A (en) * | 2020-02-07 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105100216B (en) | 2018-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108512689B (en) | Micro-service monitoring method and server | |
CN105095056B (en) | A kind of method of data warehouse data monitoring | |
CN105100216A (en) | Multi-service monitoring method and device | |
CN102340415B (en) | Server cluster system and monitoring method thereof | |
CN106997314B (en) | Exception handling method, device and system for distributed system | |
CN103605722B (en) | Database monitoring method and device, equipment | |
US9009307B2 (en) | Automated alert management | |
CN111934920B (en) | Monitoring alarm method, device, equipment and storage medium | |
CN104991854B (en) | A kind of monitoring statisticss method and system of server resource | |
CN105426290A (en) | Intelligent abnormal information processing method and system | |
CN103324713B (en) | Data processing method and device in multistage server and data processing system | |
CN104967537A (en) | Alarm information pushing method and device | |
CN104916095B (en) | A kind of multi-point monitoring alarm method and system | |
CN112286770A (en) | Alarm notification method, device, computer equipment and storage medium | |
CN113806191A (en) | Data processing method, device, equipment and storage medium | |
US10331484B2 (en) | Distributed data platform resource allocator | |
CN105471626A (en) | Method and system for distributing storage data of internal memory | |
US11985144B2 (en) | Browser extension for cybersecurity threat intelligence and response | |
US11477077B1 (en) | Change management system with monitoring, alerting, and trending for information technology environment | |
CN111552746B (en) | Data synchronization method, device, electronic equipment and storage medium | |
CN110677271B (en) | Big data alarm method, device, equipment and storage medium based on ELK | |
CN111062503B (en) | Power grid monitoring alarm processing method, system, terminal and storage medium | |
CN113760666A (en) | System exception processing method, device and storage medium | |
CN104881354A (en) | Cloud disk monitoring method and device | |
CN107124314B (en) | data monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180918 |