CN108400885A - A kind of service availability detection method, device and electronic equipment - Google Patents

A kind of service availability detection method, device and electronic equipment Download PDF

Info

Publication number
CN108400885A
CN108400885A CN201810044645.3A CN201810044645A CN108400885A CN 108400885 A CN108400885 A CN 108400885A CN 201810044645 A CN201810044645 A CN 201810044645A CN 108400885 A CN108400885 A CN 108400885A
Authority
CN
China
Prior art keywords
service
analysis result
unavailable
calling
preset rules
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
Application number
CN201810044645.3A
Other languages
Chinese (zh)
Inventor
孙琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810044645.3A priority Critical patent/CN108400885A/en
Publication of CN108400885A publication Critical patent/CN108400885A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • H04L41/5012Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF] determining service availability, e.g. which services are available at a certain point in time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

An embodiment of the present invention provides a kind of service availability detection method, device and electronic equipments, are applied to Internet technical field, the method includes:The service for calling service provider to provide receives service state and sends the unavailable information of service that client is sent if calling serv-fail;It analyzes servicing unavailable information, whether the analysis result judged meets preset rules;If analysis result meets preset rules, determine that the service called is unavailable;If analysis result does not meet preset rules, determine that the service called is available.The embodiment of the present invention services unavailable information when calling serv-fail, by obtaining, and determines whether the service called can be used according to unavailable information is serviced.The embodiment of the present invention can really reflect the available mode of service, to improve the accuracy of service availability detection.

Description

A kind of service availability detection method, device and electronic equipment
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of service availability detection method, device and electronics Equipment.
Background technology
Currently, all kinds of Internet services are quickly grown, and while meeting user demand, each service provider also faces all More challenges, for example, background system must be able to provide highly reliable service quality under the scene of high concurrent big flow.In order to solve The problem, generally using the distributed system of all kinds of complexity as the support of each service, then, need the availability to these systems It is controlled in real time.
Traditional detection method, which generally requires, is monitored the indices (such as disk, network, memory etc.) of system, with Whether reflection system is in abnormality, for example, check that whether disk full, whether memory exhausts, but these detection methods It can only reflect from side, be unable to the available mode for the service that real embodiment system is disposed.For example, running one on certain server A carryout service, the various system indexs such as possible disk, network are all normal, but lead to service not due to the bug of service itself It can use.At this point, existing detection method will be unable to meet demand.Inspection can be monitored to the calling of service with analog subscriber (commonly referred to as servicing testing), specific method are exactly the one or a set of process for accessing some service interface of independent deployment, simulation The behavior of user carries out method call, if it fails, sending out alarm, notifies subsequent processing.But it is a kind of side to service testing also Road is detected, and still service availability inspection is not carried out from the visual angle of user, for example, testing program delay machine or testing program are also deposited At bug etc., this scene, it cannot still reflect the time of day of service.Therefore, the accuracy of existing service availability detection It is relatively low.
Invention content
The embodiment of the present invention is designed to provide a kind of service availability detection method, device and electronic equipment, to carry The accuracy of high service availability detection.Specific technical solution is as follows:
An embodiment of the present invention provides a kind of service availability detection method, the method includes:
The service for calling service provider to provide receives service state and sends what client was sent if calling serv-fail Service unavailable information;
The unavailable information of service is analyzed, whether the analysis result judged meets preset rules;
If the analysis result meets the preset rules, determine that the service called is unavailable;If alternatively, the analysis is tied Fruit does not meet the preset rules, determines that the service called is available.
Optionally, the service availability detection method of the embodiment of the present invention further includes:
Periodically the service provider is detected, obtains the service status information of the service provider.
Optionally, described to judge whether obtained analysis result meets preset rules, including:
Judge whether the frequency that the unavailable information of service occurs is more than predetermined threshold value;
If the frequency that the unavailable information of service occurs is more than predetermined threshold value, obtaining analysis result described in determination meets Preset rules;
Alternatively, if the frequency that the unavailable information of service occurs is not more than predetermined threshold value, analyzed described in determination As a result preset rules are not met.
Optionally, the service for calling service provider to provide, including:
The service that service provider provides is called by breaker.
Optionally, the breaker promotes the service state to send client transmission service not when calling serv-fail Available information.
An embodiment of the present invention provides a kind of service availability detection device, described device includes:
Receiving module, the service for calling service provider to provide receive service state and send if calling serv-fail The unavailable information of service that client is sent;
Judgment module, for analyzing the unavailable information of service, whether the analysis result judged meets Preset rules;
Availability determining module determines that the service called can not if meeting the preset rules for the analysis result With;If alternatively, the analysis result does not meet the preset rules, determine that the service called is available.
Optionally, the service availability detection device of the embodiment of the present invention further includes:
Service state detection module is detected the service provider for periodicity, obtains the service and provides The service status information of side.
Optionally, the judgment module is specifically used for judging whether the frequency that the unavailable information of service occurs is more than in advance If threshold value;
If the frequency that the unavailable information of service occurs is more than predetermined threshold value, obtaining analysis result described in determination meets Preset rules;
Alternatively, if the frequency that the unavailable information of service occurs is not more than predetermined threshold value, analyzed described in determination As a result preset rules are not met.
Optionally, the receiving module is specifically used for, and the service that service provider provides is called by breaker.
Optionally, the breaker promotes the service state to send client transmission service not when calling serv-fail Available information.
An embodiment of the present invention provides a kind of electronic equipment, including:Processor, communication interface, memory and communication bus, Wherein, the processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any of the above-described service The step of method for detecting availability.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable Instruction is stored in storage medium, when run on a computer so that computer executes any of the above-described service can The step of with property detection method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that computer executes the step of any of the above-described described service availability detection method.
Service availability detection method, device and electronic equipment provided in an embodiment of the present invention, by calling service to provide The service just provided receives service state and sends the unavailable information of service that client is sent if calling serv-fail;To service Unavailable information is analyzed, and whether the analysis result judged meets preset rules;If analysis result meets preset rules, Determine that the service called is unavailable;If analysis result does not meet preset rules, determine that the service called is available.The embodiment of the present invention When calling serv-fail, unavailable information is serviced by obtaining, determines whether is the service called according to unavailable information is serviced It can use.The embodiment of the present invention can really reflect the available mode of service, to improve the accuracy of service availability detection.When So, it implements any of the products of the present invention or method does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is the flow chart of the service availability detection method of the embodiment of the present invention;
Fig. 2 is the structure chart of the service availability detection device of the embodiment of the present invention;
Fig. 3 is the structure chart of the electronic equipment of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In the prior art, whether can be used by the method detection service of indices in monitoring system, and it is every in system Index cannot really reflect the available mode of service, and therefore, the accuracy of existing service availability detection method is relatively low.To understand The certainly problem, a kind of service availability detection method of offer of the embodiment of the present invention, device and electronic equipment are available with the service of improving Property detection accuracy.
Service availability detection method is provided for the embodiments of the invention first below to describe in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the service availability detection method of the embodiment of the present invention, including following step Suddenly:
S101, the service for calling service provider to provide receive service state and send client hair if calling serv-fail The unavailable information of service sent.
In the embodiment of the present invention, each Internet enterprises provide diversified service to the user, and Internet enterprises provide Service be typically is provided by service provider, Internet enterprises by calling the service of service provider offer, to for User provides service.The executive agent of the embodiment of the present invention can be detecting system, and detecting system is when calling serv-fail, clothes Business state, which sends client, will send the unavailable information of service to detecting system.Wherein, service state transmission client can be only Detecting system is stood on, certainly, service state, which sends client and sends the unavailable information of service, to be triggered by detecting system.Also It is to say, when detecting system calls serv-fail, detecting system triggers service state and sends the unavailable letter of client transmission service It ceases to detecting system.
It services unavailable information and refers to the not available information of expression service, therefore, servicing unavailable information includes:Service name Claim and indicate the not available information of the service, indicates that the not available information of the service can be number, if for example, 1 indicates available, 0 indicates unavailable, then indicating that the not available information of the service is 0.
S102 is analyzed servicing unavailable information, and whether the analysis result judged meets preset rules.
In the embodiment of the present invention, when calling serv-fail, it is unavailable that triggering service state sends client transmission service Information.Therefore, it can analyze servicing unavailable information, serv-fail is called within a preset period of time for example, calculating Number etc..Later, whether the analysis result judged meets preset rules.Preset rules can be the rule being rule of thumb arranged Then, for example, it may be calling the threshold value of serv-fail frequency in preset time period.
S103 determines that the service called is unavailable if analysis result meets preset rules.
S104 determines that the service called is available if analysis result does not meet preset rules.
Specifically, after determining preset rules, if analysis result meets preset rules, it is determined that the service of calling can not With otherwise, it is determined that the service of calling is available.For example, if preset rules are to call the threshold value of serv-fail frequency, and the threshold value For 100 times in 1 minute, then, if the number of some serv-fail is called to reach in 1 minute 120 times, it may be determined that the service It is unavailable;If it is 80 times to call the number of some serv-fail in 1 minute, it may be determined that the service is available.
The advantageous effect of service availability detection method shown in Fig. 1 is, when calling serv-fail, the service of acquisition can not With information, determine whether the service called can be used according to unavailable information is serviced.The embodiment of the present invention can really reflect service Availability, to improve the accuracy of service availability detection.
It, can in a kind of optional embodiment of the embodiment of the present invention on the basis of service availability detection method shown in Fig. 1 Service provider is detected with periodicity, obtains the service status information of service provider.
In the embodiment of the present invention, periodically service provider can also be detected, what detection service provider provided Whether service can be used, that is, obtain the service status information of service provider.If detecting, service provider cannot provide service, can Blacklist is added in the service provider.In this way, the service of service provider offer can not be recalled, tune is avoided the occurrence of The problem of failing when the service provided with the service provider.
In a kind of realization method of the present invention, in Fig. 1 embodiments S102, it is default whether the analysis result that judges meets Rule, including:
Judge to service whether the frequency that unavailable information occurs is more than predetermined threshold value;
If servicing the frequency that unavailable information occurs is more than predetermined threshold value, determine that obtaining analysis result meets default rule Then;
Alternatively, if servicing the frequency that unavailable information occurs is not more than predetermined threshold value, determine that obtaining analysis result is not inconsistent Close preset rules.
In the embodiment of the present invention, services unavailable information and indicate to call serv-fail, then, service of unavailable information Number can indicate the number of calling serv-fail, and therefore, it can be to judge pre- that whether discriminatory analysis result, which meets preset rules, If whether the frequency that the unavailable information of service occurs in the period is more than predetermined threshold value.Correspondingly, analysis result meets default rule Then, the frequency that unavailable information occurs as is serviced within a preset period of time is more than predetermined threshold value;Analysis result does not meet default Rule as services the frequency that unavailable information occurs and is not more than predetermined threshold value within a preset period of time.
In a kind of realization method of the present invention, in Fig. 1 embodiments S101, the service for calling service provider to provide, including:
The service that service provider provides is called by breaker.
In the embodiment of the present invention, breaker is a kind of device to the isolation of service access mistake and service recovery detection, tool There is closing and disconnect two states, will be switched off when calling serv-fail, to avoid continuing malloc failure malloc.Breaker disconnects While call a fallback error handling method, that is, carry out some access and some remedial measures such as retry, to realize The High Availabitity of service is accessed.In addition, breaker, when calling serv-fail, the access failure handling logic of circuit breaker internal promotees So that service state is sent client and sends the unavailable information of service.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of service availability detection device, referring to Fig. 2, Fig. 2 are the structure chart of the service availability detection device of the embodiment of the present invention, including:
Receiving module 201, the service for calling service provider to provide receive service state if calling serv-fail Send the unavailable information of service that client is sent;
Judgment module 202, for analyzing servicing unavailable information, it is pre- whether the analysis result judged meets If regular;
Availability determining module 203 determines that the service called is unavailable if meeting preset rules for analysis result;If Analysis result does not meet preset rules, determines that the service called is available.
The service availability detection device of the embodiment of the present invention, by the service for calling service provider to provide, if calling Serv-fail receives service state and sends the unavailable information of service that client is sent;It analyzes servicing unavailable information, Judge whether obtained analysis result meets preset rules;If analysis result meets preset rules, determine that the service called can not With;If analysis result does not meet preset rules, determine that the service called is available.The embodiment of the present invention when calling serv-fail, Unavailable information is serviced by obtaining, determines whether the service called can be used according to unavailable information is serviced.The embodiment of the present invention The available mode that can really reflect service, to improve the accuracy of service availability detection.
It should be noted that the device of the embodiment of the present invention is the device using above-mentioned service availability detection method, then All embodiments of above-mentioned service availability detection method are suitable for the device, and can reach same or analogous beneficial to effect Fruit.
Optionally, the service availability detection device of the embodiment of the present invention further includes:
Service state detection module is detected service provider for periodicity, obtains the service of service provider Status information.
Optionally, in the service availability detection device of the embodiment of the present invention, judgment module is specifically used for judging service not Whether the frequency that available information occurs is more than predetermined threshold value;
If the frequency that the unavailable information of service occurs is more than predetermined threshold value, obtaining analysis result described in determination meets Preset rules;
Alternatively, if the frequency that the unavailable information of service occurs is not more than predetermined threshold value, analyzed described in determination As a result preset rules are not met.
Optionally, in the service availability detection device of the embodiment of the present invention, receiving module is specifically used for, and passes through breaker The service for calling service provider to provide.
Optionally, in the service availability detection device of the embodiment of the present invention, breaker promotes when calling serv-fail Service state sends client and sends the unavailable information of service.
The embodiment of the present invention additionally provides a kind of electronic equipment, is the electronic equipment of the embodiment of the present invention referring to Fig. 3, Fig. 3 Structure chart, including:Processor 301, communication interface 302, memory 303 and communication bus 304, wherein processor 301 leads to Letter interface 302, memory 303 complete mutual communication by communication bus 304;
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes any service in above-described embodiment The step of method for detecting availability.
It should be noted that the communication bus 304 that above-mentioned electronic equipment is mentioned can be PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The communication bus 304 can be divided into address bus, data/address bus, Controlling bus etc..For ease of indicating, only indicated with a thick line in Fig. 3, it is not intended that an only bus or a type Bus.
Communication interface 302 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 303 may include RAM (Random Access Memory, random access memory), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor 301 can be general processor, including:CPU (Central Processing Unit, center Processor), NP (Network Processor, network processing unit) etc.;It can also be DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit, it is special Integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.
In the electronic equipment of the embodiment of the present invention, processor calls service by executing the program stored on memory The service that provider provides receives service state and sends the unavailable information of service that client is sent if calling serv-fail;It is right It services unavailable information to be analyzed, whether the analysis result judged meets preset rules;If analysis result meets default Rule determines that the service called is unavailable;If analysis result does not meet preset rules, determine that the service called is available.The present invention Embodiment services unavailable information when calling serv-fail, by obtaining, and the clothes called are determined according to unavailable information is serviced Whether business can be used.The embodiment of the present invention can really reflect the available mode of service, to improve the standard of service availability detection True property.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any clothes in above-described embodiment The step of business method for detecting availability.
When the instruction stored in the computer readable storage medium of the embodiment of the present invention is run on computers, service is called The service that provider provides receives service state and sends the unavailable information of service that client is sent if calling serv-fail;It is right It services unavailable information to be analyzed, whether the analysis result judged meets preset rules;If analysis result meets default Rule determines that the service called is unavailable;If analysis result does not meet preset rules, determine that the service called is available.The present invention Embodiment services unavailable information when calling serv-fail, by obtaining, and the clothes called are determined according to unavailable information is serviced Whether business can be used.The embodiment of the present invention can really reflect the available mode of service, to improve the standard of service availability detection True property.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer executes the step of any service availability detection method in above-described embodiment.
As it can be seen that the computer program product of the embodiment of the present invention calls service provider when run on a computer The service of offer receives service state and sends the unavailable information of service that client is sent if calling serv-fail;To servicing not Available information is analyzed, and whether the analysis result judged meets preset rules;If analysis result meets preset rules, really The service seted the tone is unavailable;If analysis result does not meet preset rules, determine that the service called is available.The embodiment of the present invention exists When calling serv-fail, unavailable information is serviced by obtaining, determines that the service called whether may be used according to unavailable information is serviced With.The embodiment of the present invention can really reflect the available mode of service, to improve the accuracy of service availability detection.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate Life is according to the flow or function described in the embodiment of the present invention.Computer can be all-purpose computer, special purpose computer, computer network Network or other programmable devices.Computer instruction can store in a computer-readable storage medium, or be calculated from one Machine readable storage medium storing program for executing is transmitted to another computer readable storage medium, for example, computer instruction can be from website station Point, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center.Meter Calculation machine readable storage medium storing program for executing can be any usable medium that computer can access either can use Jie comprising one or more The data storage devices such as matter integrated server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, Tape), optical medium (for example, DVD) or semiconductor medium (such as SSD (Solid State Disk, solid state disk)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device and For electronic equipment embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place referring to The part of embodiment of the method illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (11)

1. a kind of service availability detection method, which is characterized in that the method includes:
The service for calling service provider to provide receives service state and sends the service that client is sent if calling serv-fail Unavailable information;
The unavailable information of service is analyzed, whether the analysis result judged meets preset rules;
If the analysis result meets the preset rules, determine that the service called is unavailable;
If alternatively, the analysis result does not meet the preset rules, determine that the service called is available.
2. service availability detection method according to claim 1, which is characterized in that the method further includes:
Periodically the service provider is detected, obtains the service status information of the service provider.
3. service availability detection method according to claim 1, which is characterized in that the analysis result for judging to obtain Whether preset rules are met, including:
Judge whether the frequency that the unavailable information of service occurs is more than predetermined threshold value;
If the frequency that the unavailable information of the service occurs is more than predetermined threshold value, determine described in obtain analysis result meet it is default Rule;
Alternatively, if the frequency that the unavailable information of service occurs is not more than predetermined threshold value, analysis result is obtained described in determination Preset rules are not met.
4. service availability detection method according to claim 1, which is characterized in that the calling service provider provides Service, including:
The service that service provider provides is called by breaker.
5. service availability detection method according to claim 4, which is characterized in that the breaker is calling service mistake Promote the service state to send client when losing and sends the unavailable information of service.
6. a kind of service availability detection device, which is characterized in that described device includes:
Receiving module, the service for calling service provider to provide receive service state and send client if calling serv-fail Hold the unavailable information of service sent;
Judgment module, for analyzing the unavailable information of service, it is default whether the analysis result judged meets Rule;
Availability determining module determines that the service called is unavailable if meeting the preset rules for the analysis result;Or Person determines that the service called is available if the analysis result does not meet the preset rules.
7. service availability detection device according to claim 6, which is characterized in that described device further includes:
Service state detection module is detected the service provider for periodicity, obtains the service provider Service status information.
8. service availability detection device according to claim 6, which is characterized in that the judgment module is specifically used for sentencing Whether the frequency that the disconnected unavailable information of service occurs is more than predetermined threshold value;
If the frequency that the unavailable information of the service occurs is more than predetermined threshold value, determine described in obtain analysis result meet it is default Rule;
Alternatively, if the frequency that the unavailable information of service occurs is not more than predetermined threshold value, analysis result is obtained described in determination Preset rules are not met.
9. service availability detection device according to claim 6, which is characterized in that the receiving module is specifically used for, The service that service provider provides is called by breaker.
10. service availability detection device according to claim 9, which is characterized in that the breaker is calling service Promote the service state to send client when failure and sends the unavailable information of service.
11. a kind of electronic equipment, which is characterized in that including:Processor, communication interface, memory and communication bus, wherein institute It states processor, the communication interface, the memory and completes mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any clothes of claim 1-5 The step of business method for detecting availability.
CN201810044645.3A 2018-01-17 2018-01-17 A kind of service availability detection method, device and electronic equipment Pending CN108400885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810044645.3A CN108400885A (en) 2018-01-17 2018-01-17 A kind of service availability detection method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810044645.3A CN108400885A (en) 2018-01-17 2018-01-17 A kind of service availability detection method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108400885A true CN108400885A (en) 2018-08-14

Family

ID=63094596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810044645.3A Pending CN108400885A (en) 2018-01-17 2018-01-17 A kind of service availability detection method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108400885A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120686A (en) * 2018-08-08 2019-01-01 联动优势电子商务有限公司 A kind of method and device servicing pre-authentication
CN109165127A (en) * 2018-08-29 2019-01-08 北京奇艺世纪科技有限公司 Localization method, device and the electronic equipment of problem interface
CN110309016A (en) * 2019-06-13 2019-10-08 北京奇艺世纪科技有限公司 A kind of fusing restoration methods, device and server
CN111866129A (en) * 2020-07-20 2020-10-30 北京百度网讯科技有限公司 Method, device and medium for determining service availability index based on cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562543A (en) * 2009-05-25 2009-10-21 阿里巴巴集团控股有限公司 Cache data processing method and processing system and device thereof
CN101674320A (en) * 2008-09-12 2010-03-17 阿里巴巴集团控股有限公司 Service addressing method and device in cluster environment
CN104239156A (en) * 2013-06-21 2014-12-24 阿里巴巴集团控股有限公司 External service call method and system
US20160110653A1 (en) * 2014-10-20 2016-04-21 Xerox Corporation Method and apparatus for predicting a service call for digital printing equipment from a customer
CN106973093A (en) * 2017-03-23 2017-07-21 北京奇艺世纪科技有限公司 A kind of service switch method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674320A (en) * 2008-09-12 2010-03-17 阿里巴巴集团控股有限公司 Service addressing method and device in cluster environment
CN101562543A (en) * 2009-05-25 2009-10-21 阿里巴巴集团控股有限公司 Cache data processing method and processing system and device thereof
CN104239156A (en) * 2013-06-21 2014-12-24 阿里巴巴集团控股有限公司 External service call method and system
US20160110653A1 (en) * 2014-10-20 2016-04-21 Xerox Corporation Method and apparatus for predicting a service call for digital printing equipment from a customer
CN106973093A (en) * 2017-03-23 2017-07-21 北京奇艺世纪科技有限公司 A kind of service switch method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120686A (en) * 2018-08-08 2019-01-01 联动优势电子商务有限公司 A kind of method and device servicing pre-authentication
CN109165127A (en) * 2018-08-29 2019-01-08 北京奇艺世纪科技有限公司 Localization method, device and the electronic equipment of problem interface
CN110309016A (en) * 2019-06-13 2019-10-08 北京奇艺世纪科技有限公司 A kind of fusing restoration methods, device and server
CN111866129A (en) * 2020-07-20 2020-10-30 北京百度网讯科技有限公司 Method, device and medium for determining service availability index based on cloud platform
CN111866129B (en) * 2020-07-20 2023-03-14 北京百度网讯科技有限公司 Method, device and medium for determining service availability index based on cloud platform

Similar Documents

Publication Publication Date Title
CN108400904B (en) Health examination method and device based on micro-service architecture
CN108400885A (en) A kind of service availability detection method, device and electronic equipment
EP3682595B1 (en) Obtaining local area network diagnostic test results
CN113472607B (en) Application program network environment detection method, device, equipment and storage medium
CN112241350B (en) Micro-service evaluation method and device, computing device and micro-service detection system
CN110932933B (en) Network condition monitoring method, computing device and computer storage medium
CN108390856B (en) DDoS attack detection method and device and electronic equipment
CN113067875B (en) Access method, device and equipment based on dynamic flow control of micro-service gateway
US9798625B2 (en) Agentless and/or pre-boot support, and field replaceable unit (FRU) isolation
CN112988523A (en) Multi-dimensional game system warning method and system
CN109067794A (en) A kind of detection method and device of network behavior
CN109165147A (en) Log print control program, device, system, back-end server and headend equipment
CN107122305B (en) Software testing device and method
CN103731315A (en) Server failure detecting method
CN107453937B (en) Management method of network connection pool, network access method and related equipment
CN112565022A (en) Port detection method and device
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
CN108512698B (en) Network disaster tolerance method and device and electronic equipment
US11153769B2 (en) Network fault discovery
CN110442468A (en) Collapse diagnostic message collection method, system and electronic equipment
CN114461350A (en) Method and device for testing availability of container
CN114090293A (en) Service providing method and electronic equipment
CN109039813B (en) Method, system and equipment for detecting internet access
CN113656207B (en) Fault processing method, device, electronic equipment and medium
CN108111611B (en) Client detection method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180814

RJ01 Rejection of invention patent application after publication