WO2007147318A1 - Service health level detection system and method - Google Patents

Service health level detection system and method Download PDF

Info

Publication number
WO2007147318A1
WO2007147318A1 PCT/CN2007/001588 CN2007001588W WO2007147318A1 WO 2007147318 A1 WO2007147318 A1 WO 2007147318A1 CN 2007001588 W CN2007001588 W CN 2007001588W WO 2007147318 A1 WO2007147318 A1 WO 2007147318A1
Authority
WO
WIPO (PCT)
Prior art keywords
host
query
service
status
health
Prior art date
Application number
PCT/CN2007/001588
Other languages
French (fr)
Chinese (zh)
Inventor
Yikang Lei
Original Assignee
Huawei Technologies 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007147318A1 publication Critical patent/WO2007147318A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Definitions

  • the present invention relates to a communication network service health detection technology, and more particularly to a service health detection system and method.
  • IP Internet Protocol
  • a set of servers is usually used to provide services to users, and a single interface is provided externally (that is, the group of servers provides only one IP address for service).
  • FIG. 1 illustrates a solution to the above problem in the prior art, and uses a server load balancing device to detect server health:
  • RS1 to RS7 are a set of servers that ultimately provide services, and server load balancing devices are placed on the server.
  • the server load balancing device has a set of virtual servers VS1 to VS3, each virtual server corresponding to a service category, as shown in the service classes 1 to 3; after the user service request arrives at the carrier service network, The service request is first transmitted to the server load balancing device.
  • the server load balancing is set to the category of the user service request, and the service request is allocated to the corresponding virtual server, and the virtual server forwards the service request to the corresponding server for processing.
  • the server load balancing device needs to check the health of the service to avoid distributing the user request to the device that cannot provide the service.
  • the so-called health refers to the health status of related application services or host resources on the server, where:
  • Host resource health status includes: CPU (Central Processing Unit) usage, memory usage, service bandwidth usage, and other critical resources, such as number of processes, number of threads, number of sockets (socket) resources, etc.
  • CPU Central Processing Unit
  • memory usage memory usage
  • service bandwidth usage service bandwidth usage
  • other critical resources such as number of processes, number of threads, number of sockets (socket) resources, etc.
  • the application service health status includes: the number of critical resources that affect user response, concurrent processing capabilities, The number of resources currently consumed, etc., resources include sockets, application available threads, counters, background connections, memory, hard disks, etc. where there may be bottlenecks.
  • server failure states are manifested as link failures, host failures, and application failures (also known as service failures).
  • link failures also known as service failures
  • application failures also known as service failures
  • link recovery state the link recovery state
  • host recovery state the host recovery state
  • application (service) recovery state the application (service) recovery state. How to detect these states to ensure the reliability of services has become a common concern of communication service operators.
  • Prior art solution 1 uses Ethernet (Ethernet) OAM technology for service health check.
  • OAM refers to Operation, Administration, and Maintenance.
  • the functions of this technology include: performance monitoring and generation of maintenance information, and evaluation of network stability based on this information; detection of network failures through periodic query methods, resulting in Various maintenance and alarm information; By scheduling or switching to other entities, bypassing the failed entity to ensure the normal operation of the network; transmitting the fault information to the management entity.
  • Ethernet OAM provides Layer 2 end-to-end monitoring and detection to detect link status connected through Layer 2 switching devices.
  • this technology can only detect the link status, it cannot detect the state of the server host and has a great dependence on the peripheral devices of the host, which is not conducive to the application.
  • Prior Art Solution 2 The health check is performed by using the ping (Internet Control Message Protocol Echo Command) method.
  • the ping method for health check is a common server detection method.
  • the implementation method is very simple: On the server load balancing device, the timer is used to periodically send ping packets to the IP addresses of each host, and detect whether there is a response. If there is a response, the host is healthy, otherwise the host has expired.
  • the method has the advantages of simple implementation method and good technical extensibility, it may be shielded by the host. At the same time, frequent pings are easily identified as attack packets and need to start related ping services on the server load balancing device. Configuring an IP address on the router and on the host may conflict with the monitoring network. At the same time, this method can only provide host status detection and cannot provide service status detection.
  • Prior art scheme 3 uses the arp (address resolution protocol) method for health check.
  • Using the arp method for health check is a common method, and its implementation is as follows: On the server load balancing device, a timer is used to periodically send an aip message to each host's IP address for address request, and the ARP response packet is detected. If there is a response, the host is healthy. Otherwise, the host is invalid.
  • the method has the advantages of simple implementation method and low risk of being attacked. However, it can only be applied to Layer 2 network networking. The scalability is not good. It can only provide host status detection and cannot provide service status detection. It may conflict with the monitoring network.
  • the main purpose of the embodiments of the present invention is to provide a service health detection method, which is used to implement comprehensive health detection of a server, thereby improving reliability of service processing and increasing user satisfaction.
  • Another main object of the embodiments of the present invention is to provide a service health detection system for implementing comprehensive health detection of a server to improve reliability of service processing and increase user satisfaction.
  • the present invention is achieved as follows:
  • Embodiments of the present invention disclose a service health detection system including a front device and at least one host host, wherein:
  • a host host configured to provide a service to the user, and the front device provides its health information;
  • the health degree information includes a service status and a host status;
  • the pre-device is used to obtain the health information of the host host, and the service is allocated to the host host according to the obtained health information.
  • An embodiment of the present invention further provides a service health detection method, including:
  • the pre-device sends a health query request to the host host
  • the host host obtains corresponding health degree information according to the type of the query request;
  • the health degree information includes a monthly service state and a host state;
  • the host host sends the acquired health information to the front device.
  • An embodiment of the present invention further discloses a second service health detection method, including:
  • the pre-device registers the health registration with the host host
  • the host host sends the registered health information to the front device; the health information includes a service status and a host status.
  • the embodiment of the invention comprehensively checks the health of related services on the host host, including the main Machine status, including service status.
  • the embodiment of the present invention obtains the exact state of the related service by checking the related resource items, provides a sufficient basis for the front-end device to select the background host host and allocates the service, and particularly provides a complete service for the service that only receives the service.
  • the health check method and scheme achieve the effect of improving the reliability of business processing and increasing user satisfaction.
  • FIG. 1 is a schematic diagram of a prior art system for detecting server health by using a server load balancing device
  • FIG. 2 is a schematic diagram of an embodiment of a service health detection system according to the present invention.
  • FIG. 3 is a flowchart of an embodiment of a query-response health detection method according to the present invention.
  • FIG. 4 is a flowchart of an embodiment of a registration-notification health detection method according to the present invention.
  • FIG. 5 is a flowchart of an embodiment of a registration-query health detection method according to the present invention.
  • the service health detection system includes a user, an operator service network, and an operator service device. After the service request of the user is transmitted to the operator service device through the service network of the operator, the service device in the service provider The pre-device performs a service health check on the host host and distributes the service to a host host with good health. In this way, the operator service network can provide a better service response to the user.
  • the host state and service state of the host host can be detected without any omission, and the pre-device can not allocate the user service request to the host host that cannot provide the service when the service is allocated, and can also be in front of Differentiated service health detection is implemented between the device and the host to improve detection efficiency and save system resources.
  • the service health detection method initiates a health query request from the pre-device including the query end to the host host including the host query agent and the service response end, and queries the host host status and service status of the host host, and the host host
  • the pre-device sends a service status and host status response.
  • the host state and the service state of the host host can be detected without any omission, and the pre-device can not allocate the user request to the host host that cannot provide the service when the service is allocated, and can also be pre-positioned.
  • Differentiated service health detection between the device and the host host achieves the purpose of improving detection efficiency and saving system resources.
  • the present invention provides three embodiments of service health detection methods: a query-response method, a registration-notification method, and a registration-query method.
  • the host status that is, the host health status in the foregoing method embodiments and system embodiments includes: the state of the key resources such as the CPU usage rate, the memory usage rate, the service bandwidth occupancy rate, the number of processes, the number of threads, and the number of socket resources;
  • the service health status includes: concurrent processing capability, current consumed resources, socket resources, application available threads, counters, background connections, memory, hard disks, number of sessions, nat (network address translation) addresses, and other application table resources. status.
  • FIG. 2 it is a schematic diagram of an embodiment of a service health detection system of the present invention.
  • the system includes a user 100, an operator service network 210, and an operator service device 220.
  • the carrier service device 220 includes a front device 230 and a host host 240.
  • the front device 230 is configured to detect the service health of the host host 240, and the query terminal 231 is disposed thereon;
  • the query terminal 231 is a general term for the query client 232 and the pre-query proxy 233 on the pre-device, and is used to initiate a query request to the host host.
  • the query client 232 which may also be referred to as a query request originating end, refers to a specific application on the front device that needs to obtain the state of the server;
  • the pre-query agent 233 a health check service working on the pre-device 230, is used to transparently query the query request initiated by the client 232 and provide encapsulation and parsing services for the information of the query client.
  • the host host 240 is configured to provide services to the user 100.
  • the host host 240 is provided with a host query proxy 242, a service responder 243, and a storage module 241. among them:
  • the host query agent 242 a health check service working on the host host 240, for initiating, responding to, and forwarding the query request from the pre-device 230, including the service status query request and/or the host status query request, and according to The query request of the pre-device 230 sends the host status and/or service status of the host host 240 to the pre-device 230.
  • the query of the iterative method can be implemented by the host query agent 242, that is, the response end of the one-month service health check is also the query end of another service health query, and the host query agent 242 can provide the host host status of the responder;
  • the response end 243 may be an application service that is queried on the host host 240.
  • the health of the related service that is, the service status of the related service, is fed back.
  • the service responder 243 also provides services to the user 100.
  • the storage module 241 is configured to cache a service state and/or a host state.
  • the user 100 initiates a service request to the operator service network 210. 2007/001588 a 6—
  • the service provider network 210 After receiving the service request from the user 100, the service provider network 210 sends the request to the pre-device 230.
  • the pre-device 230 detects the host status and service status of the connected set of host hosts 240 or reads through the query terminal 231. The host state and service state of the local machine stored on the host host 240 are taken, and then the service request is assigned to the host host 240 with good health according to a predetermined rule.
  • the user referred to in the system is not an individual or organization in the general sense, but includes all mechanisms for initiating a service request to the operator, which may be an individual, or an intermediate device or terminal. .
  • the operators referred to in this system are not only the operators in the general sense, but also all the individuals, organizations, intermediate devices and terminals that provide certain applications.
  • the query terminal 231 of the pre-device 230 is provided in the system, and includes a query client 232 and a pre-query proxy 233.
  • the host host 240 includes a host query proxy 242 and a service response terminal 243, but the concept of the embodiment is not To be limited thereto, any behavior of recombining or dividing these functions is within the concept of the present embodiment.
  • One embodiment of the service health detection method disclosed by the present invention is based on a query-response method.
  • the pre-device sends a health query request to the host host, and the host host sends a health query response to the device.
  • This embodiment may include three operations: the pre-device queries the instant service status on the host host, the pre-device queries the cached service status on the host host, and the pre-device queries the host host status.
  • different frequency service health queries can be implemented between the pre-device and the host host, that is, the query agent on the host side of the query terminal can be a high-frequency query and response, and the host-service is a low-frequency query and response.
  • FIG. 3 is a flow chart showing an embodiment of a health-detection method based on a query-response method in the present invention, comprising the following steps:
  • the front device querying end queries the host host to query the agent to initiate a health query request.
  • the query may be an immediate service state or a host state, or may be a service state or a host state cached according to a specific condition on the host host.
  • the host querying agent of the host host determines the type of the request. If the request is for the instant service state, step 303 is performed; if the request is for the cached service state or host state of the host host, , performing step 306;
  • the host query agent of the host host initiates a query request for querying the instant service status to the host response end of the host host; T/CN2007/001588
  • the service response end of the host host queries the host host to query the agent to feed the instant service status.
  • the host querying agent of the host host After receiving the instant service status information of the service responding end in step 304, the host querying agent of the host host forwards the information to the front-end device query end.
  • the host query agent does not receive the instant service status information of the service responder under the set condition, it determines that the instant service status is invalid, and notifies the front device query end of the immediate service invalidation status;
  • the host host query agent After receiving the local cached service status and the host status or the instant host status health query request, the host host query agent reads the locally cached service status or the host status from the storage module, or obtains the instant host status.
  • the host host querying agent sends the cached service state or host state obtained in step 306 to the forward device query end.
  • the health information fed back to the front device by the host host may include a cache mechanism state in addition to the instant service state, the instant host state, the cache service state, and the cache host state.
  • the host query agent cannot read the locally cached service status under the set condition, it confirms that the cache mechanism status is invalid and notifies the pre-device.
  • service status queries of different frequencies can be implemented.
  • the query can be performed at any time, and for those services or host resources whose performance requirements are not too high, it can be set.
  • Another embodiment of the service health detection method disclosed by the present invention is based on a registration-notification method.
  • the pre-device registers the health information that needs to be queried on the host host.
  • the host host's host query agent periodically sends the registered service health information to the pre-device. Therefore, as long as the host query agent of the host host is healthy, the front device does not need to frequently check the health status of the host host.
  • This method can include steps such as querying health registration, pre-query proxy health query, and host host status query. A detailed description will be given below.
  • FIG. 4 is a flow chart of an embodiment of a service health detection method based on a registration-notification method in the present invention -8- Figure, the specific steps include:
  • the front-end device query end completes the local query health registration.
  • the setting is to query the local device health, and the query content may also include the service status and the host status.
  • the front-end device querying end queries the host host for the proxy request to query the health registration
  • the host querying agent of the host host determines the type of query registration required. If the current service status is to be registered, step 404 is performed; if the host host is cached Service status or host status, step 407;
  • the host query agent of the host host requests the service response of the host host to perform an instant service status query registration
  • the service response end of the host host completes the instant service status query registration, and queries the host host's host to query the instant service status according to the registration condition;
  • the host querying agent of the host host notifies the front-end device query end of the instant service status obtained in step 405;
  • the host querying agent of the host host performs local cached service status and host status query registration, and obtains the cached service status and host status.
  • the host querying agent of the host host notifies the device query end to notify the cache service state or the host state obtained in step 407 according to the registration condition.
  • the host query agent After the pre-device requests the query service registration from the host host, the host query agent sends a message to the host host to query whether the query service is successfully registered. If the query service is successfully registered, the front-end device query end does not perform other operations. If the service registration fails, the query service registration request may be initiated again;
  • the front device query end sends a proxy health query request to the host query agent of the host host to query the working status of the host query agent. If the pre-device receives the query response of the host host's host query agent, the host host is considered to query the agent. It is healthy. Otherwise, it is judged that the host host query agent has expired, and then the host host is judged to be invalid.
  • the host host may be configured to send the registered service state or the host state to the device according to a certain time period as described above, or may set the host host.
  • the state change information is sent to the front device only when the state of the host changes or the registered service state changes. Specifically include:
  • the host host When the host host changes the host state, the host host queries the proxy device to send a host state change message to the forward device query end. After receiving the status change message, the pre-device query end queries the host host for the status change response sent by the proxy.
  • the host host service When the host host changes the service status, the host host service responds to send a service status change message to the device query end. After receiving the status change message, the front device query end sends a status change response to the host host service response end.
  • the invention also discloses an embodiment of a service health detection method based on a registration-query method.
  • the service registration method involved is completely the same as the registration method in the above registration-notification method.
  • the pre-device not only passively waits for the host host to send the registered service status or the host host status, but also can set certain conditions. When the set condition is met or the temporary demand occurs, the pre-device Proactively query the host status and service status of the host host. This embodiment will be specifically described below.
  • FIG. 5 is a flowchart of an embodiment of a service health detection method based on a registration-query method in the present invention, which specifically includes:
  • the front-end device query end completes the local query health registration.
  • the setting is to query the local device health.
  • the query content may also include the service status and the host status.
  • the front-end device querying end queries the host host's host to query the proxy request for querying the health registration
  • the host querying agent of the host host determines the type of query registration required. If the current service state is to be registered, step 504 is performed; if the host host is cached, Service status or host status, step 507;
  • the host query agent of the host host requests the service response query of the host host to perform instant service status query registration
  • the service response host of the host host After receiving the registration request, the service response host of the host host completes the instant service status query registration, and queries the host host's host to query the instant service status according to the registration condition;
  • the host querying agent of the host host notifies the front-end device querying end of the instant service status obtained in step 505; 2007/001588
  • the host querying agent of the host host performs local cached service status and host status query registration, and obtains the cached service status and host status.
  • the host querying agent of the host host notifies the device query end to notify the cache service state or the host state obtained in step 507 according to the registration condition.
  • the querier of the pre-device sends a health query request to the host query agent of the host host. If the host query agent of the host host cannot receive the response after a period of time, the host host is determined to have expired;
  • step 511 The host query agent of the host host determines whether the requested query service is already registered. If the service is already registered, step 511 is performed. If the service is not registered and the query request is in the instant service state, step 513 is performed; The service is not registered and the query request is the cached service state or host state on the host host, then step 516 is performed;
  • the host query agent of the host host invokes the registered function to obtain the corresponding service or host status.
  • the host querying agent of the host host sends the service or host status information obtained in step 511 to the forward device query end.
  • the host query agent of the host host requests the host host service response end to perform an instant service status query.
  • the host host service response end queries the host of the host host to query the service status of the agent query in step 513.
  • the host querying agent of the host host sends the monthly service status obtained in step 514 to the query device of the forward device as a query response to the query end of the pre-device;
  • the host querying agent of the host host obtains a locally cached service state or a host state.
  • the host querying agent of the host host sends the service status or the host status obtained in step 516 to the query device of the forward device as a query response to the query end of the pre-device.
  • this embodiment is an improvement of the foregoing query-response method and registration-notification method.
  • the active query in this embodiment is based on certain Conditions, this condition can be set as desired.
  • the query device of the pre-device in the method embodiment of the present invention may also be divided into a query client and a query proxy according to requirements, and the query proxy and the service responder on the host host in the method embodiment of the present invention may also be used. Any one of the functional modules that are recombined or divided by the functional modules of the embodiments of the present invention is incorporated in the concept of the embodiments of the present invention.
  • the service health detection system provided by the embodiment of the present invention can reliably implement the query of the host status and service status of the host host, and ensure that the front device does not allocate the user service request when the service is allocated.
  • the host host of the service it is also possible to implement different service health detections for different state requirements on the pre-device and the host host to which it is connected, so as to improve detection efficiency and save system resources.
  • the service health detection method provided by the embodiments of the present invention can be applied to any network technology or any host technology, and can be carried in any Layer 2, Layer 3, Layer 4 or application layer protocol, or can be remotely invoked (
  • the RPC method obtains related services; and the front device can be regarded as a large virtual host for iterative query.

Abstract

A service health level detection system and method are disclosed. The system includes a forwarding device (230) and at least one host (240), wherein the host (240) is used to provide the service to a user and to provide its health level information to the forwarding device (230); the health level information includes the service states and the host states. The forwarding device (230) is used to acquire the health level information of the host (240), and to assign the service to the host (240) according to the acquired health level information. The method comprises the following: a forwarding device (230) sends an inquiring request to a host (240); the host (240) acquires the corresponding health level information according to the type of the inquiring request; the health level information includes the service states and the host states; and the host (240) sends the acquired health level information to the forwarding device (230). According to the system and the method, it is possible to implement the correlation detection of the any service on the host (240) to provide the sufficient basis for the forwarding device (230) to select the service host (240).

Description

服^ 1¾康度检测系统及方法  Service ^ 13⁄4 Kang degree detection system and method
本申请要求于 2006 年 6 月 15 日提交中国专利局、 申倩号为 200610061152.8、 发明名称为"服务健康度检测系统及方法"的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610061152.8, entitled "Service Health Test System and Method", filed on June 15, 2006, the entire contents of which is hereby incorporated by reference. in.
技术领域 Technical field
本发明涉及通信网络服务健康度检测技术,尤其涉及一种服务健康度检测 系统及方法。  The present invention relates to a communication network service health detection technology, and more particularly to a service health detection system and method.
背景技术 Background technique
随着 IP (网际协议)技术的发展、 宽带的普及以及网络用户的指数级增 长, Internet上的网络流量急速膨胀, 各种 Internet服务也越来越多, 单台服务 器已经无法满足客户需求。 为了解决上述问题,通常情况下会采用一组服务器 来向用户提供服务, 对外提供单一接口 (即这一组服务器对外只提供一个 IP 地址进行服务)。  With the development of IP (Internet Protocol) technology, the popularity of broadband, and the exponential growth of network users, network traffic on the Internet has rapidly expanded, and various Internet services have become more and more, and a single server has been unable to meet customer needs. In order to solve the above problem, a set of servers is usually used to provide services to users, and a single interface is provided externally (that is, the group of servers provides only one IP address for service).
参见图 1 , 图 1为现有技术中针对上述问题的解决方案,利用服务器负载均 衡设备检测服务器健康度: RS1到 RS7为一组最终提供服务的服务器, 服务器 负载均衡设备置于这組服务器与被服务的用户之间;服务器负载均衡设备里有 一组虚拟服务器 VS1到 VS3, 每个虚拟服务器对应某个服务类别, 如图中的服 务类 1到 3; 用户服务请求到达运营商服务网络后,服务请求先被传送到服务器 负载均衡设备上,服务器负载均衡设^照用户服务请求的类别,将服务请求 分配到对应的虚拟服务器上,虚拟服务器再将服务请求转发到相应的服务器上 进行处理。 在这个过程中, 为了保证服务取得令用户满意的效果, 服务器负载 均衡设备需要检查服务的健康度以避免将用户请求分发到不能提供服务的设 备上。  Referring to FIG. 1 , FIG. 1 illustrates a solution to the above problem in the prior art, and uses a server load balancing device to detect server health: RS1 to RS7 are a set of servers that ultimately provide services, and server load balancing devices are placed on the server. Between the users being served; the server load balancing device has a set of virtual servers VS1 to VS3, each virtual server corresponding to a service category, as shown in the service classes 1 to 3; after the user service request arrives at the carrier service network, The service request is first transmitted to the server load balancing device. The server load balancing is set to the category of the user service request, and the service request is allocated to the corresponding virtual server, and the virtual server forwards the service request to the corresponding server for processing. In this process, in order to ensure that the service achieves satisfactory results for the user, the server load balancing device needs to check the health of the service to avoid distributing the user request to the device that cannot provide the service.
所谓健康度是指服务器上相关应用服务或者主机资源的健康度状态, 其 中:  The so-called health refers to the health status of related application services or host resources on the server, where:
主机资源健康度状态包括: CPU (中央处理器)使用率、 内存使用率、 服 务带宽占用率以及其他关键资源, '如进程数、 线程数、 socket (套接字) 资源 数等;  Host resource health status includes: CPU (Central Processing Unit) usage, memory usage, service bandwidth usage, and other critical resources, such as number of processes, number of threads, number of sockets (socket) resources, etc.
应用服务健康度状态包括: 影响用户响应的关键资源数、 并发处理能力、 当前消耗的资源数等, 资源包括 socket, 应用可用线程、 计数器、 后台连接、 内存、 硬盘等一切可能存在瓶颈的地方。 The application service health status includes: the number of critical resources that affect user response, concurrent processing capabilities, The number of resources currently consumed, etc., resources include sockets, application available threads, counters, background connections, memory, hard disks, etc. where there may be bottlenecks.
一般来说, 服务器故障状态表现为链路故障、 主机故障和应用故障(也称 为服务故障)。 对应地, 在服务器故障恢复时, 还会有另外三个状态, 即链路 恢复状态、主机恢复状态和应用(服务 )恢复状态。如何对这些状态进行检测, 以保证服务的可靠, 已经成为通信业务运营商普遍关心的问题。  In general, server failure states are manifested as link failures, host failures, and application failures (also known as service failures). Correspondingly, when the server fails to recover, there are three other states, namely the link recovery state, the host recovery state, and the application (service) recovery state. How to detect these states to ensure the reliability of services has become a common concern of communication service operators.
目前已知的检测服务健康度的方法有如下几种:  The currently known methods for detecting service health are as follows:
现有技术方案一、 利用 Ethernet (以太网) OAM技术进行服务健康度检 查。  Prior art solution 1 uses Ethernet (Ethernet) OAM technology for service health check.
OAM是指操作 ( Operation )、管理( Administration )和维护( Maintenance ) , 该技术的功能包括: 性能监控并产生维护信息,根据这些信息评估网络的稳定 性; 通过定期查询的方法检测网絡故障, 产生各种维护和告警信息; 通过调度 或者切换到其它的实体, 旁路失效实体, 保证网络的正常运行; 将故障信息传 递给管理实体。  OAM refers to Operation, Administration, and Maintenance. The functions of this technology include: performance monitoring and generation of maintenance information, and evaluation of network stability based on this information; detection of network failures through periodic query methods, resulting in Various maintenance and alarm information; By scheduling or switching to other entities, bypassing the failed entity to ensure the normal operation of the network; transmitting the fault information to the management entity.
Ethernet OAM提供二层端到端的监控和检测,可以对通过二层交换设备连 接的链路状态进行检测。但是由于该技术只能检测链路状态, 不能检测服务器 主机状态并对主机的外围设备存在很大的依赖性, 不利于应用。  Ethernet OAM provides Layer 2 end-to-end monitoring and detection to detect link status connected through Layer 2 switching devices. However, since this technology can only detect the link status, it cannot detect the state of the server host and has a great dependence on the peripheral devices of the host, which is not conducive to the application.
现有技术方案二、用 ping (网际控制消息协议回显命令)方法进行健康度 检查。  Prior Art Solution 2: The health check is performed by using the ping (Internet Control Message Protocol Echo Command) method.
用 ping方法进行健康度检查是一种常用的服务器检测方法,其实现方法非 常筒单: 在服务器负载均衡设备上釆用定时器定期向各主机的 IP地址发送 ping 报文, 并且检测有无回应, 如果有回应则说明主机为健康的, 否则就表明主机 已经失效。  Using the ping method for health check is a common server detection method. The implementation method is very simple: On the server load balancing device, the timer is used to periodically send ping packets to the IP addresses of each host, and detect whether there is a response. If there is a response, the host is healthy, otherwise the host has expired.
该方法虽然有实现方法简单、技术扩展性好等优点,但是有可能被主机屏 蔽, 同时频繁的 ping容易被识别为攻击报文且需要在服务器负载均衡设备上启 动相关的 ping服务, 需要在安全路由器上和主机上配置 IP地址, 可能会与监控 网络冲突。 同时, 该方法只能提供主机状态检测, 不能提供服务状态检测。  Although the method has the advantages of simple implementation method and good technical extensibility, it may be shielded by the host. At the same time, frequent pings are easily identified as attack packets and need to start related ping services on the server load balancing device. Configuring an IP address on the router and on the host may conflict with the monitoring network. At the same time, this method can only provide host status detection and cannot provide service status detection.
现有技术方案三、 利用 arp (地址解析协议) 方法进行健康度检查。  Prior art scheme 3 uses the arp (address resolution protocol) method for health check.
利用 arp方法进行健康度检查是一种常用的方法, 其实现方法如下: 在服 务器负载均衡设备上采用定时器定期向各主机的 IP地址发送 aip报文进行地址 请求, 并且检测 arp回应报文, 如果有回应则说明主机为健康的, 否则就表明 主机失效。 Using the arp method for health check is a common method, and its implementation is as follows: On the server load balancing device, a timer is used to periodically send an aip message to each host's IP address for address request, and the ARP response packet is detected. If there is a response, the host is healthy. Otherwise, the host is invalid.
该方法具有实现方法简单、被攻击的风险很小等优点。但是只能应用于二 层网络组网, 扩展性不好; 只能提供主机状态检测, 不能提供服务状态检测; 可能会与监控网络冲突。  The method has the advantages of simple implementation method and low risk of being attacked. However, it can only be applied to Layer 2 network networking. The scalability is not good. It can only provide host status detection and cannot provide service status detection. It may conflict with the monitoring network.
发明内容 Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种服务健康度检测方法, 用来实现对服务器全方位的健康度检测, 以提高业务处理的可靠性,增加用户 满意度。  In view of this, the main purpose of the embodiments of the present invention is to provide a service health detection method, which is used to implement comprehensive health detection of a server, thereby improving reliability of service processing and increasing user satisfaction.
本发明实施例的另一主要目的在于提供一种服务健康度检测系统,用来实 现对服务器全方位的健康度检测,以提高业务处理的可靠性,增加用户满意度。  Another main object of the embodiments of the present invention is to provide a service health detection system for implementing comprehensive health detection of a server to improve reliability of service processing and increase user satisfaction.
为达到上述目的, 本发明是这样实现的:  To achieve the above object, the present invention is achieved as follows:
本发明的实施例公开了一种服务健康度检测系统,包括前置设备和至少一 个宿主主机, 其中:  Embodiments of the present invention disclose a service health detection system including a front device and at least one host host, wherein:
宿主主机, 用于向用户提供服务, 向前置设备提供其健康度信息; 所述健 康度信息包括服务状态和主机状态;  a host host, configured to provide a service to the user, and the front device provides its health information; the health degree information includes a service status and a host status;
前置设备,用于获得宿主主机的健康度信息,才艮据获得的健康度信息向宿 主主机分配服务。  The pre-device is used to obtain the health information of the host host, and the service is allocated to the host host according to the obtained health information.
本发明的实施例还提供了一种服务健康度检测方法, 包括:  An embodiment of the present invention further provides a service health detection method, including:
前置设备向宿主主机发出健康度查询请求;  The pre-device sends a health query request to the host host;
宿主主机根据查询请求的类型获取相应健康度信息;所述健康度信息包括 月艮务状态和主机状态;  The host host obtains corresponding health degree information according to the type of the query request; the health degree information includes a monthly service state and a host state;
宿主主机向前置设备发送所获取的健康度信息。  The host host sends the acquired health information to the front device.
本发明的实施例还公开了第二种服务健康度检测方法, 包括:  An embodiment of the present invention further discloses a second service health detection method, including:
前置设备向宿主主机进行查询健康度注册;  The pre-device registers the health registration with the host host;
宿主主机向前置设备发送注册的健康度信息;所述健康度信息包括服务状 态和主机状态。  The host host sends the registered health information to the front device; the health information includes a service status and a host status.
本发明实施例对宿主主机上相关服务的健康度进行了全面检查,既包括主 机状态,也包括服务状态。本发明实施例通过对相关资源项的检查获得相关服 务的确切状态, 为前置设备选择后台宿主主机并分配服务提供充分依据,特别 是对于那种只收不发的服务提供了一种完整的健康度检查方法和方案,达到了 提高业务处理的可靠性、 增加用户满意度的效果。 The embodiment of the invention comprehensively checks the health of related services on the host host, including the main Machine status, including service status. The embodiment of the present invention obtains the exact state of the related service by checking the related resource items, provides a sufficient basis for the front-end device to select the background host host and allocates the service, and particularly provides a complete service for the service that only receives the service. The health check method and scheme achieve the effect of improving the reliability of business processing and increasing user satisfaction.
附图说明 DRAWINGS
图 1 为现有技术中利用服务器负载均衡设备检测服务器健康度的系统示 意图;  FIG. 1 is a schematic diagram of a prior art system for detecting server health by using a server load balancing device;
图 2为本发明中服务健康度检测系统实施例的示意图;  2 is a schematic diagram of an embodiment of a service health detection system according to the present invention;
图 3为本发明中查询 -响应健康度检测方法实施例的流程图; - ' 图 4为本发明中注册-通知健康度检测方法实施例的流程图;  3 is a flowchart of an embodiment of a query-response health detection method according to the present invention; - FIG. 4 is a flowchart of an embodiment of a registration-notification health detection method according to the present invention;
图 5为本发明中注册-查询健康度检测方法实施例的流程图。  FIG. 5 is a flowchart of an embodiment of a registration-query health detection method according to the present invention.
具体实施方式 detailed description
下面结合附图及具体实施例对本发明进行详细说明。  The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例所提供的服务健康度检测系统, 包括用户、运营商服务网络 和运营商服务设备,用户的服务请求经过运营商服务网络传送到运营商良务设 备后,运营商服务设备中的前置设备对宿主主机进行服务健康度检查, 并将服 务分配到健康度良好的宿主主机上,通过这种方法,运营商服务网络能够向用 户提供较好的服务响应。通过本系统,可以实现对宿主主机的主机状态和服务 状态的无遗漏检测,保证前置设备在分配服务的时候不会将用户服务请求分配 到不能提供服务的宿主主机上,同时还可以在前置设备和宿主主机间实现不同 频度的服务健康度检测, 达到提高检测效率、 节省系统资源的目的。  The service health detection system provided by the embodiment of the present invention includes a user, an operator service network, and an operator service device. After the service request of the user is transmitted to the operator service device through the service network of the operator, the service device in the service provider The pre-device performs a service health check on the host host and distributes the service to a host host with good health. In this way, the operator service network can provide a better service response to the user. Through the system, the host state and service state of the host host can be detected without any omission, and the pre-device can not allocate the user service request to the host host that cannot provide the service when the service is allocated, and can also be in front of Differentiated service health detection is implemented between the device and the host to improve detection efficiency and save system resources.
本发明实施例所提供的服务健康度检测方法,由包含查询端的前置设备向 包含主机查询代理和服务响应端的宿主主机发起健康度查询请求,查询宿主主 机的主机状态和服务状态, 宿主主机向前置设备发送服务状态和主机状态响 应。 通过本方法, 可以实现对宿主主机的主机状态和服务状态的无遗漏检测, 保证前置设备在分配服务的时候不会将用户请求分配到不能提供服务的宿主 主机上, 同时还可以在前置设备和宿主主机间实现不同频度的服务健康度检 测, 达到提高检测效率、 节省系统资源的目的。 本发明提供了三种服务健康度 检测方法实施例: 查询 -响应方法, 注册-通知方法和注册 -查询方法。 上述方法实施例和系统实施例中的主机状态即主机健康度状态包括: CPU 使用率、 内存使用率、 服务带宽占用率、 进程数、 线程数、 socket资源数等关 键资源的状态; 服务状态即服务健康度状态包括: 并发处理能力、 当前消耗的 资源数、 socket资源数、 应用可用线程、 计数器、 后台连接、 内存、 硬盘、 会 话数、 nat (网絡地址转换)地址数等其他应用表项资源的状态。 The service health detection method provided by the embodiment of the present invention initiates a health query request from the pre-device including the query end to the host host including the host query agent and the service response end, and queries the host host status and service status of the host host, and the host host The pre-device sends a service status and host status response. Through this method, the host state and the service state of the host host can be detected without any omission, and the pre-device can not allocate the user request to the host host that cannot provide the service when the service is allocated, and can also be pre-positioned. Differentiated service health detection between the device and the host host achieves the purpose of improving detection efficiency and saving system resources. The present invention provides three embodiments of service health detection methods: a query-response method, a registration-notification method, and a registration-query method. The host status, that is, the host health status in the foregoing method embodiments and system embodiments includes: the state of the key resources such as the CPU usage rate, the memory usage rate, the service bandwidth occupancy rate, the number of processes, the number of threads, and the number of socket resources; The service health status includes: concurrent processing capability, current consumed resources, socket resources, application available threads, counters, background connections, memory, hard disks, number of sessions, nat (network address translation) addresses, and other application table resources. status.
参见图 2, 为本发明的服务健康度检测系统实施例的示意图。 该系统包括 用户 100、 运营商服务网络 210和运营商服务设备 220。 其中, 运营商服务设 备 220包括了前置设备 230和宿主主机 240。前置设备 230用于检测宿主主机 240的服务健康度, 其上设置了查询端 231;  Referring to FIG. 2, it is a schematic diagram of an embodiment of a service health detection system of the present invention. The system includes a user 100, an operator service network 210, and an operator service device 220. The carrier service device 220 includes a front device 230 and a host host 240. The front device 230 is configured to detect the service health of the host host 240, and the query terminal 231 is disposed thereon;
查询端 231 ,是前置设备上的查询客户端 232和前置查询代理 233的总称, 用于向宿主主机发起查询请求;  The query terminal 231 is a general term for the query client 232 and the pre-query proxy 233 on the pre-device, and is used to initiate a query request to the host host.
查询客户端 232, 也可以称为查询请求发起端, 指需要获得服务器状态的 前置设备上的特定应用;  The query client 232, which may also be referred to as a query request originating end, refers to a specific application on the front device that needs to obtain the state of the server;
前置查询代理 233, 工作在前置设备 230上的一个健康度检查服务, 用于 透传查询客户端 232发起的查询请求及对查询客户端的信息提供封装和解析 服务。  The pre-query agent 233, a health check service working on the pre-device 230, is used to transparently query the query request initiated by the client 232 and provide encapsulation and parsing services for the information of the query client.
宿主主机 240用于向用户 100提供服务,宿主主机 240上设置了主机查询 代理 242、 服务响应端 243及存储模块 241。 其中:  The host host 240 is configured to provide services to the user 100. The host host 240 is provided with a host query proxy 242, a service responder 243, and a storage module 241. among them:
主机查询代理 242, 工作在宿主主机 240上的一个健康度检查服务, 用于 发起、 响应、 以及转发来自前置设备 230的查询请求, 包括服务状态查询请求 和 /或主机状态查询请求, 并根据前置设备 230的查询请求将宿主主机 240的 主机状态和 /或服务状态发送给前置设备 230。通过主机查询代理 242可以实现 迭代方法的查询,即一个月艮务健康度检查的响应端同时又是另外一个服务健康 度查询的查询端, 同时主机查询代理 242可以提供响应端的宿主主机状态; 服务响应端 243 , 可以是宿主主机 240上被查询的应用服务, 在接收到主 机查询代理 242的健康度查询时反馈相关服务的健康度,即相关服务的服务状 态。 同时, 服务响应端 243还向用户 100提供服务。  The host query agent 242, a health check service working on the host host 240, for initiating, responding to, and forwarding the query request from the pre-device 230, including the service status query request and/or the host status query request, and according to The query request of the pre-device 230 sends the host status and/or service status of the host host 240 to the pre-device 230. The query of the iterative method can be implemented by the host query agent 242, that is, the response end of the one-month service health check is also the query end of another service health query, and the host query agent 242 can provide the host host status of the responder; The response end 243 may be an application service that is queried on the host host 240. When receiving the health query of the host query agent 242, the health of the related service, that is, the service status of the related service, is fed back. At the same time, the service responder 243 also provides services to the user 100.
存储模块 241 , 用于緩存服务状态和 /或主机状态。  The storage module 241 is configured to cache a service state and/or a host state.
在图 2所示的系统中,用户 100向运营商服务网络 210发起服务请求,运 2007/001588 一 6— In the system shown in FIG. 2, the user 100 initiates a service request to the operator service network 210. 2007/001588 a 6—
营商服务网络 210接收到用户 100的服务清求后, 将该请求发送给前置设备 230, 前置设备 230通过查询端 231检测所连接的一组宿主主机 240的主机状 态和服务状态或者读取宿主主机 240上存储的本机的主机状态和服务状态,然 后把服务请求依照事先确定的规则分配给健康度良好的宿主主机 240。 After receiving the service request from the user 100, the service provider network 210 sends the request to the pre-device 230. The pre-device 230 detects the host status and service status of the connected set of host hosts 240 or reads through the query terminal 231. The host state and service state of the local machine stored on the host host 240 are taken, and then the service request is assigned to the host host 240 with good health according to a predetermined rule.
同时需要说明的是,本系统中所指的用户, 不是一般意义上的个人或者組 织, 而是包括所有向运营商发起服务请求的机制, 可以是个人, 也可以是某个 中间设备或终端等。本系统中所指的运营商,也不仅仅是指一般意义上的运营 商, 还包括了所有提供某种应用的个人、 组织、 中间设备及终端等。  At the same time, it should be noted that the user referred to in the system is not an individual or organization in the general sense, but includes all mechanisms for initiating a service request to the operator, which may be an individual, or an intermediate device or terminal. . The operators referred to in this system are not only the operators in the general sense, but also all the individuals, organizations, intermediate devices and terminals that provide certain applications.
此外, 本系统中提出前置设备 230的查询端 231 包括了查询客户端 232 和前置查询代理 233, 宿主主机 240上包括了主机查询代理 242和服务响应端 243 , 但本实施例的构思不限于此, 任何将这些功能进行重新组合或者分割的 行为, 都在本实施例的构思之内。  In addition, the query terminal 231 of the pre-device 230 is provided in the system, and includes a query client 232 and a pre-query proxy 233. The host host 240 includes a host query proxy 242 and a service response terminal 243, but the concept of the embodiment is not To be limited thereto, any behavior of recombining or dividing these functions is within the concept of the present embodiment.
本发明公开的服务健康度检测方法的一个实施例是基于查询 -响应方法 的。前置设备向宿主主机发出健康度查询请求,宿主主机向前置设备发送健康 度查询响应。本实施例可以包括三种操作: 前置设备查詢宿主主机上的即时服 务状态、前置设备查询宿主主机上緩存的服务状态和前置设备查询宿主主机的 状态。这样可以在前置设备和宿主主机间实现不同频度的服务健康度查询, 即 查询端一宿主主机上查询代理可以是高频度的查询和响应,而宿主一服务是低 频度的查询和响应。 下面将结合附图予以说明。  One embodiment of the service health detection method disclosed by the present invention is based on a query-response method. The pre-device sends a health query request to the host host, and the host host sends a health query response to the device. This embodiment may include three operations: the pre-device queries the instant service status on the host host, the pre-device queries the cached service status on the host host, and the pre-device queries the host host status. In this way, different frequency service health queries can be implemented between the pre-device and the host host, that is, the query agent on the host side of the query terminal can be a high-frequency query and response, and the host-service is a low-frequency query and response. . Description will be made below with reference to the drawings.
图 3示出了本发明中基于查询-响应方法的健康度检测方法实施例的流程 图, 包括如下步骤:  FIG. 3 is a flow chart showing an embodiment of a health-detection method based on a query-response method in the present invention, comprising the following steps:
301、 前置设备查询端向宿主主机的主机查询代理发起健康度查询请求, 这种查询既可以是即时服务状态或主机状态,还可以是宿主主机上依照特定条 件缓存的服务状态或主机状态;  301. The front device querying end queries the host host to query the agent to initiate a health query request. The query may be an immediate service state or a host state, or may be a service state or a host state cached according to a specific condition on the host host.
302、 宿主主机的主机查询代理收到上述健康度查询请求后, 判断请求的 类型, 如果请求查询的是即时服务状态, 执行步骤 303; 如果请求查询的是宿 主主机上緩存的服务状态或者主机状态, 执行步骤 306;  302. After receiving the health query request, the host querying agent of the host host determines the type of the request. If the request is for the instant service state, step 303 is performed; if the request is for the cached service state or host state of the host host, , performing step 306;
303、 宿主主机的主机查询代理向宿主主机的^ ^务响应端发起查询即时服 务状态的查询请求; T/CN2007/001588 303. The host query agent of the host host initiates a query request for querying the instant service status to the host response end of the host host; T/CN2007/001588
-7--7-
304、 宿主主机的服务响应端向宿主主机的主机查询代理反馈即时服务状 态; 304. The service response end of the host host queries the host host to query the agent to feed the instant service status.
305、 宿主主机的主机查询代理收到步骤 304中服务响应端的即时服务状 态信息后, 将该信息转发给前置设备查询端;  305. After receiving the instant service status information of the service responding end in step 304, the host querying agent of the host host forwards the information to the front-end device query end.
如果在设定条件下主机查询代理没有收到服务响应端的即时服务状态信 息,则确定该即时服务状态为失效,并将即时服务失效状态通知前置设备查询 端;  If the host query agent does not receive the instant service status information of the service responder under the set condition, it determines that the instant service status is invalid, and notifies the front device query end of the immediate service invalidation status;
306、 宿主主机查询代理若收到查询本地緩存的服务状态及主机状态或者 即时主机状态的健康度查询请求后,从存储模块读取本地緩存的服务状态或主 机状态, 或者获取即时主机状态;  306. After receiving the local cached service status and the host status or the instant host status health query request, the host host query agent reads the locally cached service status or the host status from the storage module, or obtains the instant host status.
307、 宿主主机查询代理向前置设备查询端发送步骤 306中获得的緩存的 服务状态或者主机状态;  307. The host host querying agent sends the cached service state or host state obtained in step 306 to the forward device query end.
宿主主机反馈至前置设备的健康度信息除了上述的即时服务状态、即时主 机状态、缓存服务状态、緩存主机状态外, 还可以包括緩存机制状态。 当在设 定条件下主机查询代理不能读取本地緩存的服务状态时,确认緩存机制状态为 失效, 并通知前置设备。  The health information fed back to the front device by the host host may include a cache mechanism state in addition to the instant service state, the instant host state, the cache service state, and the cache host state. When the host query agent cannot read the locally cached service status under the set condition, it confirms that the cache mechanism status is invalid and notifies the pre-device.
通过本实施例,可以实现不同频度的服务状态查询,对于那些性能要求比 较高的服务或者主机资源,可以随时进行查询, 而对于那些性能要求不是太高 的服务或者主机资源,就可以设定隔一定周期将其状态緩存在宿主主机的存储 模块上, 需要查询的时候, 只要读取这些已经存储的信息就可以了。对于緩存 的主机状态或者服务状态,可以规定,只要获得的緩存服务状态或者主机状态 是健康的, 就可以判定该服务或者主机资源是健康可用的。  With this embodiment, service status queries of different frequencies can be implemented. For those services or host resources with higher performance requirements, the query can be performed at any time, and for those services or host resources whose performance requirements are not too high, it can be set. Cache its state on the storage module of the host host every certain period of time. When you need to query, just read the information that has been stored. For the cached host state or service state, it can be specified that as long as the obtained cache service state or host state is healthy, it can be determined that the service or host resource is healthy and available.
本发明公开的服务健康度检测方法另一个实施例基于注册-通知方法。 首 先, 前置设备在宿主主机上注册需要查询的健康度信息, 注册完成后, 宿主主 机的主机查询代理定期向前置设备发送所注册的服务健康度信息。 因此,只要 宿主主机的主机查询代理是健康的,前置设备就不用频繁进行宿主主机的健康 度状态查询。这种方法可以包括查询健康度注册、前置查询代理健康度查询和 宿主主机状态查询等步驟。 下面将进行详细说明。  Another embodiment of the service health detection method disclosed by the present invention is based on a registration-notification method. First, the pre-device registers the health information that needs to be queried on the host host. After the registration is completed, the host host's host query agent periodically sends the registered service health information to the pre-device. Therefore, as long as the host query agent of the host host is healthy, the front device does not need to frequently check the health status of the host host. This method can include steps such as querying health registration, pre-query proxy health query, and host host status query. A detailed description will be given below.
图 4为本发明中基于注册 -通知方法的服务健康度检测方法实施例的流程 -8- 图, 具体步骤包括: 4 is a flow chart of an embodiment of a service health detection method based on a registration-notification method in the present invention -8- Figure, the specific steps include:
401、 前置设备查询端完成本地查询健康度注册, 这种设置是为了查询前 置设备本地的健康度, 查询内容同样可以包括服务状态和主机状态;  401. The front-end device query end completes the local query health registration. The setting is to query the local device health, and the query content may also include the service status and the host status.
402、 前置设备查询端向宿主主机的主机查询代理请求进行查询健康度注 册;  402. The front-end device querying end queries the host host for the proxy request to query the health registration;
403、 宿主主机的主机查询代理收到前述查询健康度注册清求后, 判断要 求进行查询注册的类型, 如果是要注册的是即时服务状态, 执行步骤 404; 如 果要注册的是宿主主机上緩存的服务状态或者主机状态, 执行步驟 407;  403. After receiving the foregoing query health registration registration request, the host querying agent of the host host determines the type of query registration required. If the current service status is to be registered, step 404 is performed; if the host host is cached Service status or host status, step 407;
404、 宿主主机的主机查询代理向宿主主机的服务响应端倩求进行即时服 务状态查询注册;  404. The host query agent of the host host requests the service response of the host host to perform an instant service status query registration;
405、 宿主主机的服务响应端受到上述注册请求后, 完成即时良务状态查 询注册, 并依照注册条件向宿主主机的主机查询代理反馈即时服务^ 态; 405. After receiving the registration request, the service response end of the host host completes the instant service status query registration, and queries the host host's host to query the instant service status according to the registration condition;
406、 宿主主机的主机查询代理向前置设备查询端通知步骤 405所获取的 即时服务状态; 406. The host querying agent of the host host notifies the front-end device query end of the instant service status obtained in step 405;
407、 宿主主机的主机查询代理进行本地緩存的服务状态及主机状态查询 注册, 并获得緩存的服务状态及主机状态;  407. The host querying agent of the host host performs local cached service status and host status query registration, and obtains the cached service status and host status.
408、 宿主主机的主机查询代理依照注册条件向前置设备查询端通知步骤 407中所获取的緩存服务状态或者主机状态。  408. The host querying agent of the host host notifies the device query end to notify the cache service state or the host state obtained in step 407 according to the registration condition.
在上述过程中, 还可以包括以下内容:  In the above process, the following contents may also be included:
前置设备向宿主主机请求查询服务注册后,向宿主主机的主机查询代理发 送查询所述查询服务是否注册成功的消息,如果查询服务注册成功,前置设备 查询端不再进行其他操作,如果查询服务注册失败,可再次发起查询服务注册 请求;  After the pre-device requests the query service registration from the host host, the host query agent sends a message to the host host to query whether the query service is successfully registered. If the query service is successfully registered, the front-end device query end does not perform other operations. If the service registration fails, the query service registration request may be initiated again;
前置设备查询端向宿主主机的主机查询代理发出代理健康度查询请求,以 查询主机查询代理的工作状态,如果前置设备收到宿主主机的主机查询代理的 查询响应, 则认为宿主主机查询代理是健康的, 否则, 判断宿主主机查询代理 已经失效, 进而判断宿主主机失效。  The front device query end sends a proxy health query request to the host query agent of the host host to query the working status of the host query agent. If the pre-device receives the query response of the host host's host query agent, the host host is considered to query the agent. It is healthy. Otherwise, it is judged that the host host query agent has expired, and then the host host is judged to be invalid.
需要说明的是,在本实施例中,既可以设定宿主主机如前所述依照一定的 时间周期向前置设备发送注册的服务状态或者主机状态,也可以设定宿主主机 只有当主机状态发生变化或者所注册的服务状态变化时才向前置设备发送状 态变化信息。 具体包括: It should be noted that, in this embodiment, the host host may be configured to send the registered service state or the host state to the device according to a certain time period as described above, or may set the host host. The state change information is sent to the front device only when the state of the host changes or the registered service state changes. Specifically include:
宿主主机发生主机状态变化时,宿主主机查询代理向前置设备查询端发送 主机状态变化消息, 前置设备查询端在收到上述状态变化消息后, 向宿主主机 查询代理发送状态变化响应;  When the host host changes the host state, the host host queries the proxy device to send a host state change message to the forward device query end. After receiving the status change message, the pre-device query end queries the host host for the status change response sent by the proxy.
宿主主机发生服务状态变化时,宿主主机服务响应端向前置设备查询端发 送服务状态变化消息, 前置设备查询端在收到上述状态变化消息后, 向宿主主 机服务响应端发送状态变化响应。  When the host host changes the service status, the host host service responds to send a service status change message to the device query end. After receiving the status change message, the front device query end sends a status change response to the host host service response end.
本发明还公开了一种基于注册 -查询方法的服务健康度检测方法实施例。 在本实施例中, 所涉及的服务注册方法与上述注册 -通知方法中的注册方法完 全相同。 所不同的是, 本实施例中, 前置设备不仅仅被动地等待宿主主机发送 注册的服务状态或者宿主主机状态,还可以设置一定条件,在满足设定条件或 者发生临时需求时, 前置设备主动对宿主主机的主机状态和服务状态进行查 询。 下面将对本实施例进行具体说明。  The invention also discloses an embodiment of a service health detection method based on a registration-query method. In the present embodiment, the service registration method involved is completely the same as the registration method in the above registration-notification method. The difference is that, in this embodiment, the pre-device not only passively waits for the host host to send the registered service status or the host host status, but also can set certain conditions. When the set condition is met or the temporary demand occurs, the pre-device Proactively query the host status and service status of the host host. This embodiment will be specifically described below.
图 5示出了本发明中基于注册-查询方法的服务健康度检测方法实施例的 流程图, 具体包括:  FIG. 5 is a flowchart of an embodiment of a service health detection method based on a registration-query method in the present invention, which specifically includes:
501、 前置设备查询端完成本地查询健康度注册, 这种设置是为了查询前 置设备本地的健康度, 查询内容同样可以包括服务状态和主机状态;  501. The front-end device query end completes the local query health registration. The setting is to query the local device health. The query content may also include the service status and the host status.
502、 前置设备查询端向宿主主机的主机查詢代理请求进行查询健康度注 册;  502. The front-end device querying end queries the host host's host to query the proxy request for querying the health registration;
503、 宿主主机的主机查询代理收到前述查询健康度注册请求后, 判断要 求进行查询注册的类型, 如果是要注册的是即时服务状态, 执行步驟 504; 如 果要注册的是宿主主机上緩存的服务状态或者主机状态, 执行步骤 507;  503. After receiving the foregoing query health registration request, the host querying agent of the host host determines the type of query registration required. If the current service state is to be registered, step 504 is performed; if the host host is cached, Service status or host status, step 507;
504、 宿主主机的主机查询代理向宿主主机的 良务响应端请求进行即时服 务状态查询注册;  504. The host query agent of the host host requests the service response query of the host host to perform instant service status query registration;
505、 宿主主机的良务响应端受到上述注册请求后, 完成即时服务状态查 询注册, 并依照注册条件向宿主主机的主机查询代理反馈即时服务状态; 505. After receiving the registration request, the service response host of the host host completes the instant service status query registration, and queries the host host's host to query the instant service status according to the registration condition;
506、 宿主主机的主机查询代理向前置设备查询端通知步驟 505所获取的 即时服务状态; 2007/001588 506. The host querying agent of the host host notifies the front-end device querying end of the instant service status obtained in step 505; 2007/001588
- 10-- 10-
507、 宿主主机的主机查询代理进行本地緩存的服务状态及主机状态查询 注册, 并获得緩存的服务状态及主机状态; 507. The host querying agent of the host host performs local cached service status and host status query registration, and obtains the cached service status and host status.
508、 宿主主机的主机查询代理依照注册条件向前置设备查询端通知步骤 507中所获取的緩存服务状态或者主机状态。  508. The host querying agent of the host host notifies the device query end to notify the cache service state or the host state obtained in step 507 according to the registration condition.
以上步骤用于在常规下获取注册的服务状态和主机状态,当超过注册时的 设定条件前置设备仍没有收到宿主主机的通知信息或者发生特定查询需求时, 本实施例还可以包括以下步骤:  The above steps are used to obtain the registered service status and the host status under the normal conditions. When the pre-registration device does not receive the notification information of the host host or the specific query request occurs, the embodiment may further include the following. Steps:
509、 前置设备查询端向宿主主机的主机查询代理发送健康度查询请求, 若经过一段时间不能收到宿主主机的主机查询代理的响应,则判定宿主主机已 经失效;  509. The querier of the pre-device sends a health query request to the host query agent of the host host. If the host query agent of the host host cannot receive the response after a period of time, the host host is determined to have expired;
510、 宿主主机的主机查询代理判断所请求的查询服务是否已经注册, 若 该服务已经注册, 则执行步骤 511 ; 若该服务并没有注册且查询请求为即时服 务状态, 则执行步骤 513; 若该服务并没有注册且查询请求为宿主主机上緩存 的服务状态或者主机状态, 则执行步骤 516;  510. The host query agent of the host host determines whether the requested query service is already registered. If the service is already registered, step 511 is performed. If the service is not registered and the query request is in the instant service state, step 513 is performed; The service is not registered and the query request is the cached service state or host state on the host host, then step 516 is performed;
511、 宿主主机的主机查询代理调用注册的函数获取相应服务或者主机状 态;  511. The host query agent of the host host invokes the registered function to obtain the corresponding service or host status.
512、 宿主主机的主机查询代理向前置设备查询端发送步骤 511中所获取 的服务或主机状态信息;  512. The host querying agent of the host host sends the service or host status information obtained in step 511 to the forward device query end.
513、 宿主主机的主机查询代理向宿主主机服务响应端请求进行即时服务 状态查询;  513. The host query agent of the host host requests the host host service response end to perform an instant service status query.
514、 宿主主机服务响应端向宿主主机的主机查询代理反馈步骤 513中所 查询的服务状态;  514. The host host service response end queries the host of the host host to query the service status of the agent query in step 513.
515、 宿主主机的主机查询代理向前置设备查询端发送步驟 514中所获取 的月良务状态, 作为对前置设备查询端的查询响应;  515. The host querying agent of the host host sends the monthly service status obtained in step 514 to the query device of the forward device as a query response to the query end of the pre-device;
516、 宿主主机的主机查询代理获取本地緩存的服务状态或者主机状态; 516. The host querying agent of the host host obtains a locally cached service state or a host state.
517、 宿主主机的主机查询代理向前置设备查询端发送步骤 516中所获取 的服务状态或者主机状态, 作为对前置设备查询端的查询响应。 517. The host querying agent of the host host sends the service status or the host status obtained in step 516 to the query device of the forward device as a query response to the query end of the pre-device.
通过以上步驟可以看出, 本实施例为前述查询-响应方法和注册-通知方法 的改进。 与前述查询-响应方法不同的是, 本实施例中的主动查询是基于一定 条件的, 这个条件可以根据需要随意设定。 As can be seen from the above steps, this embodiment is an improvement of the foregoing query-response method and registration-notification method. Different from the foregoing query-response method, the active query in this embodiment is based on certain Conditions, this condition can be set as desired.
本发明所述方法实施例中提 ά的前置设备查询端还可以根据需要分为查 询客户端和查询代理,本发明所述方法实施例中的宿主主机上的查询代理和服 务响应端也可以组合成一个功能模块,任何将本发明实施例的所述功能模块进 行重新组合或者分割的行为, 都在本发明实施例的构思之内。  The query device of the pre-device in the method embodiment of the present invention may also be divided into a query client and a query proxy according to requirements, and the query proxy and the service responder on the host host in the method embodiment of the present invention may also be used. Any one of the functional modules that are recombined or divided by the functional modules of the embodiments of the present invention is incorporated in the concept of the embodiments of the present invention.
总之,本发明实施例所提供的服务健康度检测系统能够可靠地实现对宿主 主机的主机状态和服务状态的查询,并保证前置设备在分配服务的时候不会将 用户服务请求分配到不能提供服务的宿主主机上,同时还可以在前置设备和其 连接的宿主主机上针对不同的状态需求实现不同频度的服务健康度检测,达到 提高检测效率、 节省系统资源的目的。  In summary, the service health detection system provided by the embodiment of the present invention can reliably implement the query of the host status and service status of the host host, and ensure that the front device does not allocate the user service request when the service is allocated. On the host host of the service, it is also possible to implement different service health detections for different state requirements on the pre-device and the host host to which it is connected, so as to improve detection efficiency and save system resources.
本发明实施例所提供的服务健康度检测方法能够应用于任何网络技术或 任何主机技术上, 并可以承载在任何二层、 三层、 四层或应用层协议中, 也可 以通过远程过程调用 (RPC )的方法获得相关服务; 并可以将前置设备看成是 一个大型的虚拟主机, 进行迭代查询。  The service health detection method provided by the embodiments of the present invention can be applied to any network technology or any host technology, and can be carried in any Layer 2, Layer 3, Layer 4 or application layer protocol, or can be remotely invoked ( The RPC method obtains related services; and the front device can be regarded as a large virtual host for iterative query.
以上所述实施例为本发明的较佳实施例,仅用来解释本发明, 而不能用来 限定本发明的范围,任何熟悉本技术领域的技术人员在本发明揭露的技术范围 内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应该以权利要求的保护范围为准。  The embodiments described above are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any person skilled in the art can easily use the technical scope disclosed in the present invention. All changes or substitutions contemplated are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种服务健康度检测系统, 其特征在于, 包括前置设备和至少一个宿 主主机, 其中:  A service health detection system, comprising: a front device and at least one host host, wherein:
宿主主机, 用于向用户提供服务, 向前置设备提供其健康度信息; 所述健 康度信息包括服务状态和主机状态; ·  a host host, configured to provide a service to the user, and the front device provides its health information; the health degree information includes a service status and a host status;
前置设备,用于获得宿主主机的健康度信息,根据获得的健康度信息向宿 主主机分配艮务。  The device is configured to obtain health information of the host host, and allocates services to the host host according to the obtained health information.
2、 如权利要求 1所述的系统, 其特征在于, 所述前置设备进一步包括查 询端,用于向所述宿主主机发起查询请求; 所述查询请求包括服务状态查询请 求和 /或主机状态查询请求。  2. The system according to claim 1, wherein the pre-device further comprises a query end, configured to initiate a query request to the host host; the query request includes a service status query request and/or a host status Query request.
3、 如权利要求 2所述的系统, 其特征在于, 所述查询端进一步包括查询 客户端和前置查询代理, 其中,  The system of claim 2, wherein the querying end further comprises a query client and a pre-query proxy, wherein
查询客户端, 用于发起查询请求;  Query the client, used to initiate a query request;
前置查询代理,用于透传查询客户端发起的查询请求及对查询客户端的查 询请求进行封装和解析。  The pre-query proxy is used for transparently querying the query request initiated by the client and encapsulating and parsing the query request of the query client.
4、 如权利要求 2所述的系统, 其特征在于, 所述宿主主机进一步包括主 机查询代理和月 务响应端, 其中,  4. The system of claim 2, wherein the host host further comprises a host query agent and a monthly response end, wherein
主机查询代理, 用于发起、 响应以及转发来自前置设备的服务状态和 /或 主机状态查询请求, 并发送宿主主机的主机状态和 /或服务状态给前置设备; 服务响应端,用于向用户提供服务,并响应主机查询代理发起的服务状态 查询请求。  a host query agent, configured to initiate, respond to, and forward a service status and/or host status query request from the pre-device, and send the host host's host status and/or service status to the pre-device; the service response end is used to The user provides the service and responds to the service status query request initiated by the host query agent.
5、 如权利要求 4所述的系统, 其特征在于, 所述宿主主机还包括一个存 储模块, 用于存储宿主主机的主机状态和服务状态。  5. The system of claim 4, wherein the host host further comprises a storage module for storing a host state and a service state of the host host.
6、 一种服务健康度检测方法, 包括:  6. A service health detection method, comprising:
前置设备向宿主主机发出健康度查询请求;  The pre-device sends a health query request to the host host;
宿主主机根据查询请求的类型获 ^目应健康度信息;所述健康度信息包括 服务状态和主机状态;  The host host obtains the health information according to the type of the query request; the health information includes a service status and a host status;
宿主主机向前置设备发送所获取的健康度信息。  The host host sends the acquired health information to the front device.
7、 如权利要求 6所述的方法, 其特征在于, 所述宿主主机根据查询请求 的类型获取相应健康度信息进一步包括: 7. The method according to claim 6, wherein the host host according to the query request The type of obtaining the corresponding health information further includes:
如果查询请求类型为即时服务状态,宿主主机的主机查询代理向服务响应 端发起查询即时服务状态请求,服务响应端向主机查询代理反馈相应的服务状 态信息;  If the query request type is the instant service status, the host query agent of the host host initiates a query for the instant service status request to the service responder, and the service response end feeds back the corresponding service status information to the host query agent;
如果查询请求类型为主机状态或緩存的服务状态,宿主主机的主机查询代 理查询主机状态或读取本地緩存的服务状态,得到相应的主机状态或服务状态 信息。  If the query request type is host status or cached service status, the host host's host query agent queries the host status or reads the locally cached service status to get the corresponding host status or service status information.
8、 如权利要求 7所述的方法, 其特征在于, 所述方法还包括, 若在设定 条件下主机查询代理没有收到服务响应端的即时服务状态信息,则确定该即时 服务状态为失效。  The method according to claim 7, wherein the method further comprises: if the host querying agent does not receive the instant service status information of the service responding end under the set condition, determining that the instant service status is invalid.
9、 如权利要求 8所述的方法, 其特征在于, 所述健康度信息还包括宿主 主机的緩存机制状态;  The method according to claim 8, wherein the health information further includes a cache mechanism state of the host host;
所述方法还包括,若在设定条件下主机查询代理不能读取本地緩存的服务 状态, 则确认緩存机制状态为失效。  The method further includes confirming that the state of the cache mechanism is invalid if the host query agent cannot read the locally cached service state under the set condition.
10、 一种服务健康度检测方法, 包括:  10. A service health detection method, comprising:
前置设备向宿主主机进行查询健康度注册;  The pre-device registers the health registration with the host host;
宿主主机向前置设备发送注册的健康度信息;所述健康度信息包括服务状 态和主机状态。  The host host sends the registered health information to the front device; the health information includes a service status and a host status.
11、 如权利要求 10所述的方法, 其特征在于, 所述前置设备向宿主主机 进行查询健康度注册进一步包括:  The method according to claim 10, wherein the performing, by the pre-device, the query health registration to the host host further comprises:
前置设备查询端向宿主主机的主机查询代理发送查询注册请求; 当查询注册的类型为即时服务状态查询时,宿主主机的主机查询代理向宿 主主机服务响应端发起即时服务状态查询注册请求,服务响应端相应进行即时 服务状态查询注册;  The front device query end sends a query registration request to the host query agent of the host host; when the query registration type is an instant service status query, the host host's host query agent initiates an instant service status query registration request to the host host service responder, the service The response end correspondingly performs an instant service status query registration;
当查询注册的类型为緩存的服务状态及主机状态时,宿主主机的主机查询 代理完成緩存的服务状态及主机状态查询注册。  When the type of the query registration is the cached service state and the host state, the host host's host query agent completes the cached service state and host state query registration.
12、 如权利要求 10所述的方法, 其特征在于, 所述方法还包括: 前置设 备查询端进行本地查询健康度注册。  The method according to claim 10, wherein the method further comprises: performing a local query health registration by the front device query end.
13、 如权利要求 10所述的方法, 其特征在于, 所述方法进一步包括: 前 置设备检测宿主主机上的查询服务是否注册成功;如果查询服务注册失败则重 新向该宿主主机进行查询健康度注册。 13. The method of claim 10, wherein the method further comprises: The device detects whether the query service on the host host is successfully registered; if the query service registration fails, the device registers the health registration again.
14. 根据权利要求 13所述的方法, 其特征在于, 所述方法还包括: 在查询服务注册成功后, 前置设备检测宿主主机的主机查询代理健康度; 若在设定条件下未收到宿主主机的主机查询代理健康度响应,则前置设备 认为宿主主机失效。  The method according to claim 13, wherein the method further comprises: after the query service is successfully registered, the pre-device detects the host query agent health of the host host; if not received under the set condition The host host's host queries the agent health response, and the pre-device considers the host host to be invalid.
15、如权利要求 10至 12任意一项所述的方法, 其特征在于, 所述方法在 前置设备向宿主主机进行查询健康度注册之后还包括:  The method according to any one of claims 10 to 12, wherein the method further comprises: after the pre-device performs the query health registration with the host host:
前置设备主动对宿主主机发起服务状态查询或者主机状态查询。  The pre-device actively initiates a service status query or host status query to the host host.
16、 如权利要求 15所述的方法, 其特征在于, 所述前置设备主动对宿主 主机发起服务状态查询或者主机状态查询进一步包括:  The method according to claim 15, wherein the pre-device actively initiates a service status query or a host status query to the host host, and further includes:
前置设备向宿主主机发出健康度查询请求;  The pre-device sends a health query request to the host host;
宿主主机根据查询请求的类型获取相应的健康度信息,所述健康度信息包 括服务状态和 /或主机状态;  The host host obtains corresponding health information according to the type of the query request, and the health information includes a service status and/or a host status;
宿主主机向前置设备发送所获取的健康度信息。  The host host sends the acquired health information to the front device.
17、 如权利要求 16所述的方法, 其特征在于, 所述宿主主机根据查询请 求的类型获取相应的健康度信息进一步包括:  The method according to claim 16, wherein the obtaining, by the host host, the corresponding health information according to the type of the query request further comprises:
宿主主机的主机查询代理确定前置设备的查询请求是否注册;  The host query agent of the host host determines whether the query request of the pre-device is registered;
若该查询请求已经注册,宿主主机的主机查询代理回调注册的函数获取服 务状态或者主机状态信息;  If the query request has been registered, the host host's host query agent callback registration function obtains the service status or host status information;
若该查询请求并没有注册并且请求查询的是即时服务状态 ,则宿主主机的 主机查询代理向宿主主机服务响应端发送查询即时服务状态的请求;  If the query request is not registered and the request is for the instant service status, the host host's host query agent sends a request to the host host service responder to query the instant service status;
若该查询请求并没有注册并且请求查询的是緩存的服务状态或者主机状 态, 宿主主机的主机查询代理获取緩存的服务状态或者主机状态。  If the query request is not registered and the request is for a cached service state or host state, the host host's host query agent obtains the cached service state or host state.
PCT/CN2007/001588 2006-06-15 2007-05-16 Service health level detection system and method WO2007147318A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006100611528A CN100461719C (en) 2006-06-15 2006-06-15 System and method for detecting service healthiness
CN200610061152.8 2006-06-15

Publications (1)

Publication Number Publication Date
WO2007147318A1 true WO2007147318A1 (en) 2007-12-27

Family

ID=38808613

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001588 WO2007147318A1 (en) 2006-06-15 2007-05-16 Service health level detection system and method

Country Status (2)

Country Link
CN (1) CN100461719C (en)
WO (1) WO2007147318A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404893A (en) * 2020-03-06 2020-07-10 深信服科技股份有限公司 Host classification method, device, equipment and computer storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938401A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Method and device for distributing group flow
CN103546504B (en) * 2012-07-11 2017-12-12 华耀(中国)科技有限公司 Load-balancing device virtualization system and method based on application layer isolation
CN105518809B (en) 2013-06-05 2018-11-20 丰田自动车株式会社 Rare-earth magnet and its manufacturing method
CN105872118A (en) * 2015-11-25 2016-08-17 乐视云计算有限公司 Detection method and device of node servers in DNS (Domain Name System) network
CN106341401A (en) * 2016-08-31 2017-01-18 新疆信息产业有限责任公司 Communication terminal detection service system and method
CN106385334B (en) * 2016-09-20 2019-06-18 携程旅游信息技术(上海)有限公司 Call center system and its abnormality detection and self-recovery method
CN109561073A (en) * 2018-10-30 2019-04-02 视联动力信息技术股份有限公司 A kind of transparent transmission system and method based on view networking
CN112887185B (en) * 2019-11-29 2024-03-15 华为云计算技术有限公司 Communication method and device of overlay network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040264481A1 (en) * 2003-06-30 2004-12-30 Darling Christopher L. Network load balancing with traffic routing
CN1560742A (en) * 2004-03-04 2005-01-05 华中科技大学 Open network computing platform based on improved linux virtual server structure
CN1578320A (en) * 2003-06-30 2005-02-09 微软公司 Network load balancing with main machine status information
WO2006025892A2 (en) * 2004-08-30 2006-03-09 International Business Machines Corporation Techniques for health monitoring and control of application servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944183B1 (en) * 1999-06-10 2005-09-13 Alcatel Object model for network policy management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040264481A1 (en) * 2003-06-30 2004-12-30 Darling Christopher L. Network load balancing with traffic routing
CN1578320A (en) * 2003-06-30 2005-02-09 微软公司 Network load balancing with main machine status information
CN1560742A (en) * 2004-03-04 2005-01-05 华中科技大学 Open network computing platform based on improved linux virtual server structure
WO2006025892A2 (en) * 2004-08-30 2006-03-09 International Business Machines Corporation Techniques for health monitoring and control of application servers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404893A (en) * 2020-03-06 2020-07-10 深信服科技股份有限公司 Host classification method, device, equipment and computer storage medium
CN111404893B (en) * 2020-03-06 2021-12-21 深信服科技股份有限公司 Host classification method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN100461719C (en) 2009-02-11
CN101043385A (en) 2007-09-26

Similar Documents

Publication Publication Date Title
WO2007147318A1 (en) Service health level detection system and method
JP4000331B2 (en) Network port mapping system
CN111615066B (en) Distributed micro-service registration and calling method based on broadcast
US9621412B2 (en) Method for guaranteeing service continuity in a telecommunication network and system thereof
JPH1093655A (en) Method for designating with route incoming message and system
US7441035B2 (en) Reliable server pool
WO2011120256A1 (en) Method, system and corresponding device for balancing load
EP1405198A1 (en) Scalable, reliable session initiation protocol (sip) signaling routing node
WO2011147312A1 (en) Method, device and system for port backup of service access router
CN112042170B (en) DHCP implementation on nodes for virtual machines
WO2009121689A1 (en) Method for enabling faster recovery of client applications in the event of server failure
WO2022253087A1 (en) Data transmission method, node, network manager, and system
US9063852B2 (en) System and method for use with a data grid cluster to support death detection
JP2011502432A (en) Network location service
JP5537667B2 (en) System and method for handoff maintenance
JPH09259096A (en) System for enhancing reliability of network
WO2013159492A1 (en) Method and system for reporting and downloading information
Barré et al. Implementation and evaluation of the Shim6 protocol in the Linux kernel
Aghdaie et al. CoRAL: A transparent fault-tolerant web service
WO2008049346A1 (en) Method, system and device for registering device
WO2014090194A1 (en) Dialing method of terminal device, and access device
WO2012034433A1 (en) Processing method and monitoring device for session monitoring
TWI397296B (en) Server system and method for user registeration
Cheriton Request-response and multicast interprocess communication in the V kernel
JP2006228243A (en) Server system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721161

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07721161

Country of ref document: EP

Kind code of ref document: A1