CN108845912B - Service interface calls the alarm method of failure and calculates equipment - Google Patents
Service interface calls the alarm method of failure and calculates equipment Download PDFInfo
- Publication number
- CN108845912B CN108845912B CN201810595881.4A CN201810595881A CN108845912B CN 108845912 B CN108845912 B CN 108845912B CN 201810595881 A CN201810595881 A CN 201810595881A CN 108845912 B CN108845912 B CN 108845912B
- Authority
- CN
- China
- Prior art keywords
- service interface
- analysis result
- end node
- fault
- failure analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The alarm method of failure is called the invention discloses a kind of service interface and calculates equipment, its method includes: when each calling end node in cluster calls the failure of any service interface, each calling end node collects fault message respectively, by fault information reporting to monitoring client;Monitoring client analyzes each calling end node for the fault message that any service interface reports, and obtains the corresponding failure analysis result of the service interface;If the corresponding failure analysis result of service interface meets alarm strategy, alert process is carried out.Which collects fault message using calling end node, monitoring client is to the fault state for analyze and then determining service interface according to fault message, compared to Analysis Service interface access log determine service interface fault state mode, real-time more accurate and with higher, and can be alarmed according to the fault state of service interface.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of service interface calls alarm method and the calculating of failure
Equipment.
Background technique
Service interface is some functions predetermined, it is therefore an objective to provide caller and be accessed based on certain software or hardware
The ability of one group of routine, and be not necessarily to access source code, or understand the details of internal work mechanism.Application Internet-based is positive to be become
Must be more more and more universal, in this process, there are more websites to call the resources open of itself to developer, externally provides
Service interface calling can bring more values and convenience for developer.For example, when developer is to use some function, only
It needs to call corresponding service interface.
However, often will appear various mistakes during calling service interface, such as due to Network status exception
Caused service interface malloc failure malloc.In the prior art, being analyzed by the access log to service interface end can be true
Determine the fault state of service interface, but determined by way of analyzing access log fault message premise be call end node at
Function access service interface, that is, service cannot be recorded in this visit if calling the failure of end node access service interface and connect
In the access log of mouth.Therefore, the mode accuracy and real-time that analysis access log determines the fault state of service interface are all
It is poor, so can not the fault state to service interface accurately and real-time alarm.It can be seen that lacking in the prior art
The method that few one kind can well solve the above problem.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
The service interface for stating problem calls the alarm method of failure and calculates equipment.
According to an aspect of the invention, there is provided service interface calls the alarm method of failure, comprising: when in cluster
When each calling end node calls the failure of any service interface, each calling end node collects fault message respectively, and failure is believed
Breath is reported to monitoring client;Monitoring client analyzes each calling end node for the fault message that any service interface reports,
Obtain the corresponding failure analysis result of the service interface;If the corresponding failure analysis result of service interface meets alarm strategy,
Carry out alert process.
According to another aspect of the present invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is following that the executable instruction executes the processor
Operation: when each calling end node in cluster calls the failure of any service interface, each calling end node collects event respectively
Hinder information, by fault information reporting to monitoring client;The event that monitoring client reports each calling end node for any service interface
Barrier information is analyzed, and the corresponding failure analysis result of the service interface is obtained;If the corresponding failure analysis result of service interface
Meet alarm strategy, then carries out alert process.
According to another aspect of the invention, provide a kind of computer storage medium, be stored in the storage medium to
A few executable instruction, the executable instruction make processor execute following operation: when each calling end node tune in cluster
When being failed with any service interface, each calling end node collects fault message respectively, by fault information reporting to monitoring client;Prison
Each calling end node is analyzed at control end for the fault message that any service interface reports, and it is corresponding to obtain the service interface
Failure analysis result;If the corresponding failure analysis result of service interface meets alarm strategy, alert process is carried out.
Service interface according to the present invention calls the alarm method of failure and calculates equipment, firstly, when each in cluster
When end node being called to call the failure of any service interface, each calling end node collects fault message respectively, will be on fault message
Offer monitoring client;Then, monitoring client analyzes each calling end node for the fault message that any service interface reports,
Obtain the corresponding failure analysis result of the service interface;Finally, if the corresponding failure analysis result of service interface meets alarm plan
Slightly, then alert process is carried out.Using calling end node to collect fault message, monitoring client divides according to fault message which
The fault state for analysing and then determining service interface, compared to the failure shape that the access log of Analysis Service interface determines service interface
The mode of condition, real-time more accurate and with higher, and can be according to the fault state of service interface accurately and real-time
It alarms.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the process signal that service interface according to an embodiment of the invention calls the alarm method of failure
Figure;
Fig. 2 shows the process signals that service interface in accordance with another embodiment of the present invention calls the alarm method of failure
Figure;
Fig. 3 shows a kind of structural schematic diagram of calculating equipment of another embodiment according to the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Fig. 1 shows the process signal that service interface according to an embodiment of the invention calls the alarm method of failure
Figure.As shown in Figure 1, this method comprises:
Step S110, when each calling end node in cluster calls the failure of any service interface, each calling end segment
Point collects fault message respectively, by fault information reporting to monitoring client.
Wherein, include multiple calling end nodes in cluster, in the present embodiment, end node is called for each, when its tune
When being failed with any service interface, corresponding fault message is collected using the calling end node, using this kind of mode, each tune
It calls all call errors caused by any service interface that can be collected by the calling end node with end node, thus obtains
Fault message and to call end node to call the actual state of service interface be matched, and real-time with higher.It adjusts
With end node after being collected into fault message, by fault information reporting to monitoring client, so that monitoring client carries out fault message
Analysis processing.
Step S120, monitoring client divide each calling end node for the fault message that any service interface reports
Analysis, obtains the corresponding failure analysis result of the service interface.
After each fault information reporting for any service interface for calling end node that will be collected into is to monitoring client, prison
The fault message that control end reports each calling end node is analyzed, and the corresponding failure analysis result of the service interface is obtained.
For example, temporal information corresponding to fault message can be directed to, perhaps fault type is analyzed according to temporal information or event
Barrier type determines the corresponding failure analysis result of the service interface.
Step S130 carries out alert process if the corresponding failure analysis result of service interface meets alarm strategy.
Wherein, alarm strategy can be set according to the frequency that the duration of fault state or fault state occur.
If judging, the corresponding failure analysis result of service interface meets alarm strategy, alarms, for example, according to accident analysis knot
Fruit generates warning message, and warning message is sent to terminal in a manner of short message, Email etc., connects to reach for service
The purpose that mouth calls failure to alarm.
The service interface according to provided by the present embodiment calls the alarm method of failure, firstly, when each tune in cluster
When calling the failure of any service interface with end node, each calling end node collects fault message respectively, by fault information reporting
To monitoring client;Then, monitoring client analyzes each calling end node for the fault message that any service interface reports, and obtains
To the corresponding failure analysis result of the service interface;Finally, if the corresponding failure analysis result of service interface meets alarm strategy,
Then carry out alert process.Which using calling end node to collect fault message, analyze according to fault message by monitoring client
And then determine the fault state of service interface, compared to the fault state that the access log of Analysis Service interface determines service interface
Mode, real-time more accurate and with higher, and capable of being alarmed according to the fault state of service interface.
Fig. 2 shows the process signals that service interface in accordance with another embodiment of the present invention calls the alarm method of failure
Figure.As shown in Fig. 2, this method comprises:
Step S210, when each calling end node in cluster calls the failure of any service interface, each calling end segment
Point collects fault message respectively, by fault information reporting to monitoring client.
Each service interface is corresponding with access log, and being analyzed by the access log to service interface itself can
Determine whether service interface breaks down situation.Any one in cluster calls end node to be likely to that the same service is called to connect
Mouthful, therefore, determine whether the situation of breaking down needs to handle service interface by way of the access log of Analysis Service interface
A large amount of data, and determine that the premise of fault message is to call end node successful access clothes by way of analyzing access log
Business interface, if end node is called to access service interface failure, which will not be recorded access log by service interface
In, therefore, the fault state accuracy of service interface obtained by the access log of Analysis Service interface is poor.
Accordingly, a kind of method for collecting corresponding fault message using calling end node is present embodiments provided, calling is worked as
When end node calls the failure of a certain service interface, then the corresponding fault message of calling end node active collection.Using which,
The fault message to fail each time for calling end node to call service interface can be collected, such as in above content, be called
When end node access service interface fails, which cannot be recorded collection by the access log of service interface, but can be by
End node is called to collect.
In practical application, causing the reason of calling end node to call service interface failure includes very much, for example, due to network
It is obstructed to cause malloc failure malloc, for another example since unstable networks cause malloc failure malloc, when calling end node calls service interface to lose
When losing, end node is called to collect corresponding fault message.
Step S220, monitoring client divide each calling end node for the fault message that any service interface reports
Analysis, obtains the corresponding failure analysis result of the service interface.
For the same service interface, monitor terminal receives each calling end node and is directed to the failure that the service interface reports
Information, monitor terminal obtain the corresponding failure analysis result of the service interface to the fault information analysis.For example, by event
Barrier information is analyzed, the fault type of available fault message, namely leads to that end node is called to call service interface failure
The reason of, as network is obstructed or unstable networks.
Step S230, if the corresponding failure analysis result of service interface be service interface be greater than without the duration of response or
It is greater than or equal to default frequency threshold value without the frequency of response equal to preset time threshold or service interface, then further judgement takes
Whether the fault state of business interface meets alarm limiting condition.
The step is to judge whether to need to alarm according to the corresponding failure analysis result of service interface, according to different tune
With failure cause, the step is specific can include:
If the corresponding failure analysis result of service interface is the frequency of the service interface without response more than or equal to the default frequency
Threshold value, in the case of this kind, it is unstable to lead to can be Network status the reason of calling end interface to access service interface failure,
That is service interface can occur without the case where response in the case where obstructed when leading in network with certain frequency, if the frequency
It is secondary to be greater than or equal to default frequency threshold value, then it alarms.
If the corresponding failure analysis result of service interface is duration of the service interface without response more than or equal to default
Time threshold, in the case of this kind, it is obstructed to lead to can be network the reason of calling the failure of end interface access service interface, that is,
It says, in the case where network is obstructed, service interface is preset without that can continue appearance the case where response if the duration is greater than or equal to
Time threshold is then alarmed.
In addition, judging whether the fault state of service interface meets alarm limiting condition before being alarmed.It considers
Multiple calling end nodes may call the same service interface in the same period in cluster, if Network status is unstable in the period
Or network is obstructed, then the failure point of the service interface obtained according to the fault information analysis that multiple calling end node is collected
It is consistent to analyse result, if directly alarming, will do it multiple alarm, cause unnecessary trouble.Therefore, the side of the present embodiment
In method, further judge whether the fault state of service interface meets alarm limiting condition.
Step S240, if judging, the fault state of service interface does not meet alarm limiting condition, carries out alert process.
If judging, the fault state of service interface does not meet alarm limiting condition, carries out alert process.For example, if one
A failure analysis result first appears, then it is assumed that the fault state of the service interface does not meet alarm limiting condition, then directly into
Row alarm.Specifically, warning message is generated according to failure analysis result, by warning message in a manner of short message, Email etc.
It is sent to terminal, to achieve the purpose that call failure to alarm for service interface.
The above-mentioned fault state for judging service interface whether meet alarm limiting condition the step of further comprise: judgement work as
Whether the preceding time meets the preset alarm time graph of service interface, if so, carrying out alert process.
For example, function corresponding to preset alarm curve can be piecewise function shown by formula one:
Specifically, for fault state corresponding to same failure analysis result, it is specified that when the fault state first appears,
Directly carry out first time alarm.Time difference of the t between current time and first time time of fire alarming, and only y be integer when
Just alarm.As t=4, when differing 4 minutes between y=2, that is, current time and first time time of fire alarming, if the event
Barrier situation still remains, then carries out second and alarm;As t=8, y=3, that is, current time and first time time of fire alarming
Between when differing 8 minutes, if the fault state still remains, carry out third time alarm, and so on.Above-mentioned example is only
The specific embodiment of the present invention, it should be noted that the present invention is not limited thereto.
The service interface according to provided by the present embodiment calls the alarm method of failure, when each calling end segment in cluster
When point calls the failure of any service interface, each calling end node collects fault message respectively, by fault information reporting to monitoring
End;Monitoring client analyzes each calling end node for the fault message that any service interface reports, and obtains the service and connects
The corresponding failure analysis result of mouth;If the corresponding failure analysis result of service interface be service interface be greater than without the frequency of response or
Equal to default frequency threshold value, then judge whether the fault state of service interface meets alarm limiting condition;If the service of judging connects
The fault state of mouth does not meet alarm limiting condition, then carries out alert process.Which is collected failure using calling end node and is believed
Breath, monitoring client is to the fault state for analyze and then determining service interface according to fault message, compared to Analysis Service interface
Access log determine service interface fault state mode, real-time more accurate and with higher, and being capable of root
It alarms according to the fault state of service interface, in addition, current limliting is carried out to alarm according to the fault state of service interface, thus right
The alarm frequency control effectively.
The embodiment of the present application provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with
An at least executable instruction, the computer executable instructions can be performed the service interface in above-mentioned any means embodiment and call event
The alarm method of barrier.
Executable instruction specifically can be used for so that processor executes following operation:
When each calling end node in cluster calls the failure of any service interface, each calling end node is collected respectively
Fault message, by fault information reporting to monitoring client;
Monitoring client analyzes each calling end node for the fault message that any service interface reports, and obtains the clothes
The corresponding failure analysis result of business interface;
If the corresponding failure analysis result of service interface meets alarm strategy, alert process is carried out.
In a kind of optional mode, executable instruction specifically be can be also used for so that processor executes following operation:
If the corresponding failure analysis result of service interface is duration of the service interface without response more than or equal to default
Time threshold then carries out alert process;
If the corresponding failure analysis result of service interface is the frequency of the service interface without response more than or equal to the default frequency
Threshold value then carries out alert process.
In a kind of optional mode, executable instruction specifically be can be also used for so that processor executes following operation: sentence
Whether the fault state of disconnected service interface meets alarm limiting condition, if it is not, then carrying out alert process.
In a kind of optional mode, executable instruction specifically be can be also used for so that processor executes following operation: sentence
Whether disconnected current time meets the preset alarm time graph of service interface, if so, carrying out alert process.
Fig. 3 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention, the specific embodiment of the invention
The specific implementation for calculating equipment is not limited.
As shown in figure 3, the calculating equipment may include: processor (processor) 302, communication interface
(Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 302 can specifically execute the alarm method that above-mentioned service interface calls failure for executing program 310
Correlation step in embodiment.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes following operation:
When each calling end node in cluster calls the failure of any service interface, each calling end node is collected respectively
Fault message, by fault information reporting to monitoring client;
Monitoring client analyzes each calling end node for the fault message that any service interface reports, and obtains the clothes
The corresponding failure analysis result of business interface;
If the corresponding failure analysis result of service interface meets alarm strategy, alert process is carried out.
In a kind of optional mode, program 310 can specifically be further used for so that processor 302 executes following behaviour
Make:
If the corresponding failure analysis result of service interface is duration of the service interface without response more than or equal to default
Time threshold then carries out alert process;
If the corresponding failure analysis result of service interface is the frequency of the service interface without response more than or equal to the default frequency
Threshold value then carries out alert process.
In a kind of optional mode, program 310 can specifically be further used for so that processor 302 executes following behaviour
Make: judging whether the fault state of service interface meets alarm limiting condition, if it is not, then carrying out alert process.
In a kind of optional mode, program 310 can specifically be further used for so that processor 302 executes following behaviour
Make: judging whether current time meets the preset alarm time graph of service interface, if so, carrying out alert process.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (9)
1. the alarm method that a kind of service interface calls failure, comprising:
When each calling end node in cluster calls the failure of any service interface, each calling end node collects failure respectively
Information, by the fault information reporting to monitoring client;
Temporal information corresponding to the fault message that the monitoring client reports each calling end node for any service interface
Or fault type is analyzed, and the corresponding failure analysis result of the service interface is obtained;
If the corresponding failure analysis result of the service interface meets alarm strategy, judge whether the fault state of service interface accords with
Alarm limiting condition is closed, if it is not, then carrying out alert process.
2. according to the method described in claim 1, wherein, if the corresponding failure analysis result of the service interface meets report
Pithy to omit, then carrying out alert process further comprises:
If it is default that the corresponding failure analysis result of the service interface is that service interface is greater than or equal to without the duration of response
Time threshold then carries out alert process;
If the corresponding failure analysis result of the service interface is that service interface without the frequency of response is greater than or equal to the default frequency
Threshold value then carries out alert process.
3. according to the method described in claim 1, wherein, whether the fault state for judging service interface meets alarm current limliting
Condition, if it is not, then carrying out alert process and further comprising:
Judge whether current time meets the preset alarm time graph of service interface, if so, carrying out alert process.
4. a kind of calculating equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction
Make:
When each calling end node in cluster calls the failure of any service interface, each calling end node collects failure respectively
Information, by the fault information reporting to monitoring client;
Temporal information corresponding to the fault message that the monitoring client reports each calling end node for any service interface
Or fault type is analyzed, and the corresponding failure analysis result of the service interface is obtained;
If the corresponding failure analysis result of the service interface meets alarm strategy, judge whether the fault state of service interface accords with
Alarm limiting condition is closed, if it is not, then carrying out alert process.
5. calculating equipment according to claim 4, the executable instruction further makes the processor execute following behaviour
Make:
If it is default that the corresponding failure analysis result of the service interface is that service interface is greater than or equal to without the duration of response
Time threshold then carries out alert process;
If the corresponding failure analysis result of the service interface is that service interface without the frequency of response is greater than or equal to the default frequency
Threshold value then carries out alert process.
6. calculating equipment according to claim 4, the executable instruction further makes the processor execute following behaviour
Make:
Judge whether current time meets the preset alarm time graph of service interface, if so, carrying out alert process.
7. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute following operation:
When each calling end node in cluster calls the failure of any service interface, each calling end node collects failure respectively
Information, by the fault information reporting to monitoring client;
Temporal information corresponding to the fault message that the monitoring client reports each calling end node for any service interface
Or fault type is analyzed, and the corresponding failure analysis result of the service interface is obtained;
If the corresponding failure analysis result of the service interface meets alarm strategy, judge whether the fault state of service interface accords with
Alarm limiting condition is closed, if it is not, then carrying out alert process.
8. computer storage medium according to claim 7, the executable instruction further executes the processor
It operates below:
If it is default that the corresponding failure analysis result of the service interface is that service interface is greater than or equal to without the duration of response
Time threshold then carries out alert process;
If the corresponding failure analysis result of the service interface is that service interface without the frequency of response is greater than or equal to the default frequency
Threshold value then carries out alert process.
9. computer storage medium according to claim 7, the executable instruction further executes the processor
It operates below:
Judge whether current time meets the preset alarm time graph of service interface, if so, carrying out alert process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595881.4A CN108845912B (en) | 2018-06-11 | 2018-06-11 | Service interface calls the alarm method of failure and calculates equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595881.4A CN108845912B (en) | 2018-06-11 | 2018-06-11 | Service interface calls the alarm method of failure and calculates equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108845912A CN108845912A (en) | 2018-11-20 |
CN108845912B true CN108845912B (en) | 2019-08-06 |
Family
ID=64211550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810595881.4A Active CN108845912B (en) | 2018-06-11 | 2018-06-11 | Service interface calls the alarm method of failure and calculates equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845912B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684280A (en) * | 2018-12-19 | 2019-04-26 | 泰康保险集团股份有限公司 | Journal file processing method, apparatus and system |
CN110096409A (en) * | 2019-03-13 | 2019-08-06 | 中国平安人寿保险股份有限公司 | Abnormal alarm method, apparatus, monitoring device and computer readable storage medium |
CN110278124A (en) * | 2019-06-18 | 2019-09-24 | 努比亚技术有限公司 | The monitoring method of interface, device and computer readable storage medium on line |
CN110445688B (en) * | 2019-08-12 | 2021-04-23 | 珠海格力电器股份有限公司 | Interface service function monitoring method and system based on data collection |
CN111367765A (en) * | 2020-03-17 | 2020-07-03 | 深圳市卡牛科技有限公司 | Method and device for monitoring interface response performance, server and storage medium |
CN111679953B (en) * | 2020-06-09 | 2022-04-12 | 平安科技(深圳)有限公司 | Fault node identification method, device, equipment and medium based on artificial intelligence |
CN113590424B (en) * | 2021-07-30 | 2024-05-17 | 北京京东振世信息技术有限公司 | Fault monitoring method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617038A (en) * | 2013-11-28 | 2014-03-05 | 北京京东尚科信息技术有限公司 | Service monitoring method and device for distributed application system |
CN104283919A (en) * | 2013-07-05 | 2015-01-14 | 中兴通讯股份有限公司 | Interface invocation system and method |
CN105743712A (en) * | 2016-04-12 | 2016-07-06 | 中国铁道科学研究院电子计算技术研究所 | PIS (Passenger Information System) external interface monitoring system and method |
CN106453519A (en) * | 2016-09-21 | 2017-02-22 | 合网络技术(北京)有限公司 | Interface call method and device |
CN107341044A (en) * | 2017-07-13 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of distributive data center unified monitoring framework and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4972970B2 (en) * | 2006-03-17 | 2012-07-11 | 富士通株式会社 | Function call abnormal pattern detection program in source program |
US8972803B2 (en) * | 2012-11-14 | 2015-03-03 | Alcatel Lucent | Run-time default detection in a component associated with an application programming interface platform |
CN103326930B (en) * | 2013-06-24 | 2016-05-25 | 青岛海信传媒网络技术有限公司 | Open platform interface automatic detecting method and system |
CN108134708B (en) * | 2016-12-01 | 2021-05-25 | 腾讯科技(深圳)有限公司 | Method and device for monitoring third-party interface |
CN108132868A (en) * | 2018-01-15 | 2018-06-08 | 政采云有限公司 | A kind of data monitoring method, device, computing device and storage medium |
-
2018
- 2018-06-11 CN CN201810595881.4A patent/CN108845912B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104283919A (en) * | 2013-07-05 | 2015-01-14 | 中兴通讯股份有限公司 | Interface invocation system and method |
CN103617038A (en) * | 2013-11-28 | 2014-03-05 | 北京京东尚科信息技术有限公司 | Service monitoring method and device for distributed application system |
CN105743712A (en) * | 2016-04-12 | 2016-07-06 | 中国铁道科学研究院电子计算技术研究所 | PIS (Passenger Information System) external interface monitoring system and method |
CN106453519A (en) * | 2016-09-21 | 2017-02-22 | 合网络技术(北京)有限公司 | Interface call method and device |
CN107341044A (en) * | 2017-07-13 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of distributive data center unified monitoring framework and method |
Also Published As
Publication number | Publication date |
---|---|
CN108845912A (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845912B (en) | Service interface calls the alarm method of failure and calculates equipment | |
US9652316B2 (en) | Preventing and servicing system errors with event pattern correlation | |
US10977154B2 (en) | Method and system for automatic real-time causality analysis of end user impacting system anomalies using causality rules and topological understanding of the system to effectively filter relevant monitoring data | |
US20190196894A1 (en) | Detecting and analyzing performance anomalies of client-server based applications | |
US7680753B2 (en) | System and method for fault identification in an electronic system based on context-based alarm analysis | |
CN111290918B (en) | Server running state monitoring method and device and computer readable storage medium | |
CN112162878A (en) | Database fault discovery method and device, electronic equipment and storage medium | |
CN110888783A (en) | Monitoring method and device of micro-service system and electronic equipment | |
CN112737800B (en) | Service node fault positioning method, call chain generating method and server | |
US11310140B2 (en) | Mitigating failure in request handling | |
CN113691432A (en) | Automobile CAN network message monitoring method and device, computer equipment and storage medium | |
CN115499302B (en) | Monitoring method and device of business system, readable storage medium and electronic equipment | |
US8972789B2 (en) | Diagnostic systems for distributed network | |
CN116662127A (en) | Method, system, equipment and medium for classifying and early warning equipment alarm information | |
JP2017199250A (en) | Computer system, analysis method of data, and computer | |
US11036624B2 (en) | Self healing software utilizing regression test fingerprints | |
CN113626288A (en) | Fault processing method, system, device, storage medium and electronic equipment | |
CN114779736B (en) | Fault diagnosis method, device and equipment | |
CN111261271A (en) | Service availability diagnosis method and device for video monitoring environment | |
CN116192611B (en) | Unified alarm method, system and equipment based on multiple micro-service scenes | |
CN116545835A (en) | Fault alarm processing method and device, electronic equipment and storage medium | |
CN115250225A (en) | Network health monitoring method, device and medium based on fault domain detection | |
CN116738097A (en) | Multi-system page access method, device, processor and storage medium | |
CN115080337A (en) | Data monitoring method, device, system, server and readable storage medium | |
CN117743009A (en) | Card sheet self-healing method and device of business work sheet and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |