CN109286534A - Service monitoring method and device - Google Patents
Service monitoring method and device Download PDFInfo
- Publication number
- CN109286534A CN109286534A CN201710599134.3A CN201710599134A CN109286534A CN 109286534 A CN109286534 A CN 109286534A CN 201710599134 A CN201710599134 A CN 201710599134A CN 109286534 A CN109286534 A CN 109286534A
- Authority
- CN
- China
- Prior art keywords
- array
- service
- service name
- stored
- differences
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of service monitoring method and devices.Wherein, this method comprises: the Service name of monitored service will be needed to be stored in the first array, wherein monitored service number is at least two;The Service name for the service being currently running is stored in the second array;Judge the Service name stored in the first array and the Service name stored in the second array with the presence or absence of difference;In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.Through the invention, achieve the purpose that be monitored multiple services, to realize the technical effect of batch monitoring service, and then solve in the related technology, be merely capable of realize once to one service whether occur it is out of service be monitored, the low technical problem of monitoring efficiency.
Description
Technical field
The present invention relates to system O&M fields, in particular to a kind of service monitoring method and device.
Background technique
In order to judge to service (for example, service under Windows) whether normal operation, prevent certain critical services because of accident
There is situation out of service, online service is impacted, whether therefore, it is necessary to occur stopping being monitored to service.One
As the service that is defined monitored by title, but in the related art, be merely capable of realizing once a service whether occur
Out of service to be monitored, monitoring efficiency is low.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of service monitoring method and devices, at least to solve to be only capable of in the related technology
It is enough realize once to a service whether occur it is out of service be monitored, the low technical problem of monitoring efficiency.
According to an aspect of the invention, there is provided a kind of service monitoring method, comprising: monitored service will be needed
Service name is stored in the first array, wherein the monitored service number is at least two;By the service being currently running
Service name is stored in the second array;The clothes for judging the Service name stored in first array and being stored in second array
Name of being engaged in whether there is difference;In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
Optionally, the Service name for the service being currently running is stored in second array includes: according to predetermined space
Time obtains the Service name for the service being currently running in first array;The Service name deposit predetermined file that will acquire
In;The Service name in the predetermined file is stored into be written in second array.
Optionally, whether judge the Service name stored in the Service name stored in first array and second array
Have differences includes: to judge first array in the case where first array and second array are one-dimensional
Whether length is identical as the length of second array;If the determination result is NO, the first array storage is determined
Service name and second array in the Service name stored have differences.
Optionally, whether judge the Service name stored in the Service name stored in first array and second array
Have differences includes: to judge described first there are in the case where non-one-dimension array in first array and second array
Whether the size of array is identical as the size of second array;If the determination result is NO, first number is determined
The Service name stored in the Service name of group storage and second array has differences.
Optionally, carrying out alarming processing to the Service name that has differences includes: by the way of mail notification and/or short to disappear
The mode for ceasing notice carries out alarming processing to the Service name having differences.
According to another aspect of the present invention, a kind of service monitoring device is provided, comprising: the first storage module, being used for will
The Service name of monitored service is needed to be stored in the first array, wherein the monitored service number is at least two;
Second storage module, for the Service name for the service being currently running to be stored in the second array;Judgment module, for judging
The Service name stored in the first array and the Service name stored in second array are stated with the presence or absence of difference;Processing module is used
In in the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
Optionally, second storage module includes: acquiring unit, for obtaining described first according to predetermined interval
The Service name for the service being currently running in array;Storage unit, the Service name for will acquire are stored in predetermined file;It writes
Enter unit, the Service name for being stored into the predetermined file is written in second array.
Optionally, the judgment module includes: the first judging unit, in first array and second array
In the case where being one-dimensional, judge whether the length of first array is identical as the length of second array;First determines
Unit, in the case where the judging result of first judging unit is no, determining the service of the first array storage
Name has differences with the Service name stored in second array.
Optionally, the judgment module includes: second judgment unit, in first array and second array
There are whether the size in the case where non-one-dimension array, judging first array is identical as the size of second array;The
Two determination units, in the case where the judging result of the second judgment unit is no, determining the first array storage
Service name and second array in the Service name stored have differences.
Optionally, the processing module, is also used to by the way of mail notification and/or the mode of short message notification, right
The Service name having differences carries out alarming processing.
A still further embodiment according to the present invention, provides a kind of storage medium, and the storage medium includes the journey of storage
Sequence, wherein equipment described program controls the storage medium when running where executes following operation: monitored service will be needed
Service name be stored in the first array, wherein the monitored service number be at least two;The service that will be currently running
Service name be stored in the second array;Judge to store in the Service name stored in first array and second array
Service name whether there is difference;In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
According to another embodiment of the invention, a kind of processor is provided, the processor is used to run program,
In, following operation is executed when described program is run: the Service name of monitored service will be needed to be stored in the first array,
In, the monitored service number is at least two;The Service name for the service being currently running is stored in the second array;Sentence
The Service name stored in first array of breaking and the Service name stored in second array are with the presence or absence of difference;It is tied in judgement
Fruit is to carry out alarming processing to the Service name having differences in the case where being.
In embodiments of the present invention, in such a way that the Service name that array is stored is compared, by being deposited in array
The Service name for entering at least two services has achieved the purpose that be monitored multiple services, to realize batch monitoring service
Technical effect, and then solve in the related technology, be merely capable of realizing once to a service whether occur it is out of service into
Row monitoring, the low technical problem of monitoring efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of service monitoring method according to an embodiment of the present invention;
Fig. 2 is the flow chart of the service monitoring method of the preferred embodiment of the present invention;
Fig. 3 is the structural block diagram of service monitoring device provided in an embodiment of the present invention;
Fig. 4 is the preferred structure block diagram of the second storage module 34 in service monitoring device provided in an embodiment of the present invention;
Fig. 5 is the preferred structure block diagram one of judgment module 36 in service monitoring device provided in an embodiment of the present invention;
Fig. 6 is the preferred structure block diagram two of judgment module 36 in service monitoring device provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for service monitoring method is provided, it should be noted that attached
The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also,
So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein
Or the step of description.
Fig. 1 is the flow chart of service monitoring method according to an embodiment of the present invention, as shown in Figure 1, this method includes as follows
Step:
Step S102 will need the Service name of monitored service to be stored in the first array, wherein monitored service
Number is at least two;
The Service name for the service being currently running is stored in the second array by step S104;
Step S106 judges the Service name stored in the first array and the Service name stored in the second array with the presence or absence of poor
It is different;
Step S108 carries out alarming processing to the Service name having differences in the case where the judgment result is yes.
Through the above steps, in such a way that the Service name that array is stored is compared, by be stored in array to
The Service name of few two services, has achieved the purpose that be monitored multiple services, to realize the skill of batch monitoring service
Art effect, and then solve in the related technology, it is merely capable of realizing once out of service supervise whether occur to a service
Control, the low technical problem of monitoring efficiency.
When the Service name for the service being currently running is stored in the second array, various ways can be used, for example, can be with
Using following processing mode: obtaining the Service name for the service being currently running in the first array according to predetermined interval;It will acquire
Service name deposit predetermined file in;The Service name in predetermined file is stored into be written in the second array.Wherein, it obtains between making a reservation for
Various ways can also be used every the Service name for the service being currently running in the first array in the time, for example, using the side of script
Formula obtains.When being stored into Service name the second array of write-in in predetermined file, various ways can also be used, for example, using
The mode of order executes write operation.
Optionally, judge the Service name stored in the first array and the Service name stored in the second array with the presence or absence of difference
When, various ways can also be used, are illustrated separately below.
For example, judging the length and the second number of the first array in the case where the first array and the second array are one-dimensional
Whether the length of group is identical;If the determination result is NO, in the Service name and the second array for determining the storage of the first array
The Service name of storage has differences.Since one group of data is relatively simple, according to array length can find out the first array with
Service name in second array whether there is difference, that is, whether there is service out of service.
In another example judging the size of the first array there are in the case where non-one-dimension array in the first array and the second array
It is whether identical as the size of the second array;If the determination result is NO, the Service name and the of the first array storage is determined
The Service name stored in two arrays has differences.It should be noted that, although needing to calculate array when not being one group of data
Size, but in the monitored more situation of service, convenient for storage.
Optionally, when carrying out alarming processing to the Service name having differences, various ways can also be used, for example, more
Simply, the Service name having differences can be alerted by the way of mail notification and/or the mode of short message notification
Processing.
Through the foregoing embodiment and preferred embodiment, special services under Windows can be defined in batches, and use script
The monitoring of intercycle time is carried out to the service being defined.When having one or more service stoppings in monitored all services
It, can be by the above method it is determined which or which service stopping is run, finally by alarm mail service after operation
Service name out of service is sent to maintenance personnel with mail he, or sends dimension by way of short message notification
Shield personnel, are handled by maintenance personnel.
Another preferred embodiment of the invention is illustrated below.
Fig. 2 is the flow chart of the service monitoring method of the preferred embodiment of the present invention, as shown in Fig. 2, the process includes as follows
Step: where service is illustrated so that Windows is serviced as an example.
Step S202 will need monitored Windows Service name to be stored in an one-dimension array " A ";
Step S204 obtains all Service names being currently running using script with fixed " interval time ", and will service
Name is written in fixed file;
Step S206, pass through order obtain all Service names in array " A " hereof and be written to one it is new one-dimensional
Array " B ";
Step S208 obtains the length A.Length and B.Length of array " A " and array " B ";
Step S210 judges whether the length of array " A " and array " B " is identical;
Step S212 judges element in array " A " and array " B " when array " A " is different with the length of array " B "
Difference, and difference element is written to new one-dimension array " C ";
Step S214, by alarm system by element in array " C " with mail he hair and maintenance personnel;
Step S216 terminates.
By carrying out intercycle time monitoring to the service that is defined, stored respectively with three one-dimension arrays " need by
The Windows Service name of monitoring ", " needing the Service name being currently running in monitored Service name " " need monitored service
The Service name of not running in name " is finally reached and is criticized using needing the Service name monitored and the Service name being currently running to compare
Measure the purpose of service operation situation under monitoring Windows.
By above-mentioned monitoring method, critical services can be reduced, online service is impacted because drop-in is out of service,
Stopped Service name in monitored service is obtained to comparison using one-dimension array, batch is had effectively achieved and monitors
Special service operation conditions under Windows.
In the present embodiment, a kind of service monitoring device is additionally provided, Fig. 3 is service monitoring provided in an embodiment of the present invention
The structural block diagram of device, as shown in figure 3, the device includes: the first storage module 32, the second storage module 34, judgment module 36
With processing module 38, the device is illustrated below.
First storage module 32, for the Service name for needing monitored service to be stored in the first array, wherein quilt
The service number of monitoring is at least two;Second storage module 34, for the Service name for the service being currently running to be stored in
In two arrays;Judgment module 36 is connected to above-mentioned first storage module 32 and the second storage module 34, for judging the first array
The Service name stored in the Service name of middle storage and the second array whether there is difference;Processing module 38 is connected to above-mentioned judgement
Module 36, in the case where the judgment result is yes, carrying out alarming processing to the Service name having differences.
Fig. 4 is the preferred structure block diagram of the second storage module 34 in service monitoring device provided in an embodiment of the present invention, such as
Shown in Fig. 4, which includes: acquiring unit 42, storage unit 44 and writing unit 46, second is deposited to this below
Amplification module 34 is illustrated.
Acquiring unit 42, for obtaining the Service name for the service being currently running in the first array according to predetermined interval;
Storage unit 44 is connected to above-mentioned acquiring unit 42, in the Service name deposit predetermined file for will acquire;Writing unit 46,
It is connected to above-mentioned storage unit 44, the Service name for being stored into predetermined file is written in the second array.
Fig. 5 is the preferred structure block diagram one of judgment module 36 in service monitoring device provided in an embodiment of the present invention, such as Fig. 5
Shown, which includes: the first judging unit 52 and the first determination unit 54, is said below to the judgment module 36
It is bright.
First judging unit 52, for judging the first array in the case where the first array and the second array are one-dimensional
Length it is whether identical as the length of the second array;First determination unit 54 is connected to above-mentioned first judging unit 52, is used for
In the case that the judging result of first judging unit is no, determines and stored in the Service name and second array of the first array storage
Service name has differences.
Fig. 6 is the preferred structure block diagram two of judgment module 36 in service monitoring device provided in an embodiment of the present invention, such as Fig. 6
Shown, which includes: second judgment unit 62 and the second determination unit 64, is said below to the judgment module 36
It is bright.
Second judgment unit 62, for there are in the case where non-one-dimension array, judge in the first array and the second array
Whether the size of one array is identical as the size of the second array;Second determination unit 64 is connected to above-mentioned second judgment unit 62,
In Service name and the second array for determining the storage of the first array in the case where the judging result of second judgment unit is no
The Service name of storage has differences.
Optionally, processing module 38, are also used to by the way of mail notification and/or the mode of short message notification, to depositing
Alarming processing is carried out in the Service name of difference.
According to another embodiment of the invention, a kind of storage medium is provided, storage medium includes the program of storage,
In, equipment where control storage medium executes following operation when program is run: the Service name of monitored service will be needed to store
Into the first array, wherein monitored service number is at least two;The Service name for the service being currently running is stored in
In two arrays;Judge the Service name stored in the first array and the Service name stored in the second array with the presence or absence of difference;Sentencing
Disconnected result is to carry out alarming processing to the Service name having differences in the case where being.
Optionally, also equipment where control storage medium executes following operation: the service that will be currently running when program is run
Service name to be stored in the second array include: to obtain the clothes of service being currently running in the first array according to predetermined interval
Business name;In the Service name deposit predetermined file that will acquire;The Service name in predetermined file is stored into be written in the second array.
Optionally, also equipment where control storage medium executes following operation when program is run: judging to deposit in the first array
It is one that the Service name put and the Service name stored in the second array, which include: in the first array and the second array with the presence or absence of difference,
In the case where dimension, whether the length for judging the first array is identical as the length of the second array;If the determination result is NO,
Determine that the Service name stored in the Service name and the second array of the first array storage has differences.
Optionally, also equipment where control storage medium executes following operation when program is run: judging to deposit in the first array
The Service name put and the Service name stored in the second array include: that there are non-in the first array and the second array with the presence or absence of difference
In the case where one-dimension array, whether the size for judging the first array is identical as the size of the second array;It is no in judging result
In the case of, determine that the Service name stored in the Service name and the second array of the first array storage has differences.
Optionally, also equipment where control storage medium executes following operation: the service to having differences when program is run
It includes: by the way of mail notification and/or the mode of short message notification, to the Service name having differences that name, which carries out alarming processing,
Carry out alarming processing.
According to another embodiment of the invention, a kind of processor is provided, processor is for running program, wherein journey
Following operation is executed when sort run: the Service name of monitored service will be needed to be stored in the first array, wherein monitored
Servicing number is at least two;The Service name for the service being currently running is stored in the second array;Judge to deposit in the first array
The Service name put and the Service name stored in the second array whether there is difference;In the case where the judgment result is yes, to presence
The Service name of difference carries out alarming processing.
The processor also executes following operation when running program: the Service name for the service being currently running is stored in second
It include: the Service name that the service being currently running in the first array is obtained according to predetermined interval in array;The service that will acquire
In name deposit predetermined file;The Service name in predetermined file is stored into be written in the second array.
The processor also executes following operation when running program: judging the Service name stored in the first array and the second number
The Service name stored in group includes: to judge the in the case where the first array and the second array are one-dimensional with the presence or absence of difference
Whether the length of one array is identical as the length of the second array;If the determination result is NO, determine that the first array is stored
Service name and the second array in the Service name stored have differences.
The processor also executes following operation when running program: judging the Service name stored in the first array and the second number
The Service name stored in group includes: in the first array and the second array there are in the case where non-one-dimension array with the presence or absence of difference,
Whether the size for judging the first array is identical as the size of the second array;If the determination result is NO, the first number is determined
The Service name stored in the Service name of group storage and the second array has differences.
The processor also executes following operation when running program: carrying out alarming processing packet to the Service name having differences
It includes: by the way of mail notification and/or the mode of short message notification, alarming processing being carried out to the Service name having differences.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of unit, can be one kind
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module,
It can be electrical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple units
On.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product
To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a storage medium, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of step of each embodiment method of the present invention
Suddenly.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of service monitoring method characterized by comprising
The Service name of monitored service will be needed to be stored in the first array, wherein the monitored service number is extremely
It is two few;
The Service name for the service being currently running is stored in the second array;
Judge the Service name stored in first array and the Service name stored in second array with the presence or absence of difference;
In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
2. the method according to claim 1, wherein the Service name for the service being currently running is stored in described
Include: in two arrays
The Service name for the service being currently running in first array is obtained according to predetermined interval;
In the Service name deposit predetermined file that will acquire;
The Service name in the predetermined file is stored into be written in second array.
3. the method according to claim 1, wherein judge the Service name stored in first array with it is described
The Service name stored in second array includes: with the presence or absence of difference
In the case where first array and second array are one-dimensional, judge the length of first array with it is described
Whether the length of the second array is identical;
If the determination result is NO, it determines and stores in the Service name and second array of first array storage
Service name has differences.
4. the method according to claim 1, wherein judge the Service name stored in first array with it is described
The Service name stored in second array includes: with the presence or absence of difference
In first array and second array, there are the sizes in the case where non-one-dimension array, judging first array
It is whether identical as the size of second array;
If the determination result is NO, it determines and stores in the Service name and second array of first array storage
Service name has differences.
5. method according to claim 1 to 4, which is characterized in that accused to the Service name having differences
Police is handled
By the way of mail notification and/or the mode of short message notification, alarming processing is carried out to the Service name having differences.
6. a kind of service monitoring device characterized by comprising
First storage module, for the Service name for needing monitored service to be stored in the first array, wherein described to be supervised
The service number of control is at least two;
Second storage module, for the Service name for the service being currently running to be stored in the second array;
Judgment module, for judging the Service name stored in first array and the Service name stored in second array is
It is no to have differences;
Processing module, in the case where the judgment result is yes, carrying out alarming processing to the Service name having differences.
7. device according to claim 6, which is characterized in that second storage module includes:
Acquiring unit, for obtaining the Service name for the service being currently running in first array according to predetermined interval;
Storage unit, the Service name for will acquire are stored in predetermined file;
Writing unit, the Service name for being stored into the predetermined file are written in second array.
8. device according to claim 6, which is characterized in that the judgment module includes:
First judging unit, in the case where first array and second array are one-dimensional, judging described
Whether the length of one array is identical as the length of second array;
First determination unit, in the case where the judging result of first judging unit is no, determining first number
The Service name stored in the Service name of group storage and second array has differences.
9. device according to claim 6, which is characterized in that the judgment module includes:
Second judgment unit, for, there are in the case where non-one-dimension array, judging in first array and second array
Whether the size of first array is identical as the size of second array;
Second determination unit, in the case where the judging result of the second judgment unit is no, determining first number
The Service name stored in the Service name of group storage and second array has differences.
10. device according to any one of claims 6 to 9, which is characterized in that the processing module is also used to use
The mode of mail notification and/or the mode of short message notification carry out alarming processing to the Service name having differences.
11. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run
Equipment where controlling the storage medium executes following operation:
The Service name of monitored service will be needed to be stored in the first array, wherein the monitored service number is extremely
It is two few;
The Service name for the service being currently running is stored in the second array;
Judge the Service name stored in first array and the Service name stored in second array with the presence or absence of difference;
In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
12. a kind of processor, which is characterized in that the processor is for running program, wherein executed when described program is run with
Lower operation:
The Service name of monitored service will be needed to be stored in the first array, wherein the monitored service number is extremely
It is two few;
The Service name for the service being currently running is stored in the second array;
Judge the Service name stored in first array and the Service name stored in second array with the presence or absence of difference;
In the case where the judgment result is yes, alarming processing is carried out to the Service name having differences.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710599134.3A CN109286534A (en) | 2017-07-20 | 2017-07-20 | Service monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710599134.3A CN109286534A (en) | 2017-07-20 | 2017-07-20 | Service monitoring method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109286534A true CN109286534A (en) | 2019-01-29 |
Family
ID=65185282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710599134.3A Pending CN109286534A (en) | 2017-07-20 | 2017-07-20 | Service monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286534A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756257A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | Host performance collection proxy in large-scale network |
US20070078961A1 (en) * | 2005-09-14 | 2007-04-05 | Seiichi Kumano | Method for distributing data input/output load |
CN101009004A (en) * | 2007-01-29 | 2007-08-01 | 华为技术有限公司 | Warming device and warming method |
CN103209100A (en) * | 2012-01-12 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Service monitoring method and system |
CN103676937A (en) * | 2013-12-10 | 2014-03-26 | 中联重科股份有限公司 | Method and device for processing control parameters in controller |
CN105989600A (en) * | 2015-11-13 | 2016-10-05 | 云南电网有限责任公司昭通供电局 | Characteristic point distribution statistics-based power distribution network device appearance detection method and system |
CN106845652A (en) * | 2016-12-26 | 2017-06-13 | 广东电网有限责任公司电力调度控制中心 | Relay protection on-line monitoring method and system based on incidence relation |
-
2017
- 2017-07-20 CN CN201710599134.3A patent/CN109286534A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756257A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | Host performance collection proxy in large-scale network |
US20070078961A1 (en) * | 2005-09-14 | 2007-04-05 | Seiichi Kumano | Method for distributing data input/output load |
CN101009004A (en) * | 2007-01-29 | 2007-08-01 | 华为技术有限公司 | Warming device and warming method |
CN103209100A (en) * | 2012-01-12 | 2013-07-17 | 百度在线网络技术(北京)有限公司 | Service monitoring method and system |
CN103676937A (en) * | 2013-12-10 | 2014-03-26 | 中联重科股份有限公司 | Method and device for processing control parameters in controller |
CN105989600A (en) * | 2015-11-13 | 2016-10-05 | 云南电网有限责任公司昭通供电局 | Characteristic point distribution statistics-based power distribution network device appearance detection method and system |
CN106845652A (en) * | 2016-12-26 | 2017-06-13 | 广东电网有限责任公司电力调度控制中心 | Relay protection on-line monitoring method and system based on incidence relation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106713049B (en) | Monitoring alarm method and device | |
CN105115119B (en) | Fault detection method, device and equipment for air-conditioner set | |
CN109660380A (en) | Monitoring method, platform, system and the readable storage medium storing program for executing of operation condition of server | |
CN112965874A (en) | Configurable monitoring alarm method and system | |
CN110300100A (en) | The association analysis method and system of log audit | |
CN101656013A (en) | Vehicle-mounted monitoring alarm terminal, system and alarm method | |
CN103353969A (en) | Business hall intelligence management system based on experiential marketing | |
US8040231B2 (en) | Method for processing alarm data to generate security reports | |
CN106296861A (en) | Night watching recording method, device and system | |
CN107509119A (en) | A kind of monitoring alarm method and device | |
CN110535713A (en) | Monitoring management system and method for managing and monitoring | |
CN109167699A (en) | The method and apparatus for handling the state of the node of block chain | |
CN105407015A (en) | Business platform, monitoring platform, and business monitoring system and method | |
CN109214908A (en) | A kind of monitoring method and relevant apparatus | |
CN106034039A (en) | Fault notification method and system | |
CN103647662A (en) | Fault monitoring alarm method and apparatus | |
CN109919540A (en) | A kind of express delivery keeping method and system | |
CN108876243A (en) | Logistics information method for early warning, device and electronic equipment | |
CN108408362A (en) | A kind of intelligent transportation monitoring system and monitoring method for conveyer belt | |
CN106095638A (en) | The method of a kind of server resource alarm, Apparatus and system | |
CN111782488B (en) | Message queue monitoring method, device, electronic equipment and medium | |
CN106780138A (en) | Distribution network failure method for early warning and device | |
CN111565295B (en) | Large monitoring center console system with alarm function and control method | |
CN109286534A (en) | Service monitoring method and device | |
CN107820051A (en) | Monitoring system and its monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190129 |
|
RJ01 | Rejection of invention patent application after publication |