Node detection method and system, computer equipment and storage medium

By designing a node detection system, the connectivity of home nodes is detected in real time, the service failure problem caused by changes in the connectivity of home nodes is solved, and the reliability and stability of home nodes are achieved.

CN119788559APending Publication Date: 2025-04-08BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311287251.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-07
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The connectivity of home nodes is varied, causing the scheduling system to allocate unavailable home nodes to respond to business requests, resulting in service failure.

Method used

A node detection system is designed, including a scheduling system, detection management services and detection services. The scheduling system obtains node-related information of the home node and forwards it to the detection management service. The detection management service assigns detection tasks and detection services. The detection service performs connection detection and feedbacks the detection results. The scheduling system determines the available status of the home node based on the detection results.

Benefits of technology

By detecting the connectivity of home nodes in real time, avoiding the allocation of unavailable home nodes to service requests, ensuring the reliability and stability of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788559A_ABST
    Figure CN119788559A_ABST
Patent Text Reader

Abstract

The invention relates to a node detection method and system, computer equipment and a storage medium. The method comprises the following steps: acquiring node related information of home nodes by using a scheduling system, forwarding the node related information to a detection management service, and distributing corresponding detection tasks and detection services to the home nodes corresponding to the node related information by the detection management service according to the node related information, the detection management service issues the detection task to the corresponding detection service, the detection service performs communication detection on the corresponding home node according to the detection task and feeds back the detection result to the scheduling system through the detection management service, and the scheduling system determines the available state of the home node according to the detection result. Therefore, the problem of how to detect the connectivity of the home nodes so as to determine the available state is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a node detection method, system, computer device and storage medium. Background Art

[0002] With the development of the Internet, in order to meet more and more user business requests, home nodes are used to provide data services. However, the network environment to which the home nodes belong is complex and changeable, which may cause the connectivity of the home nodes to change and become unavailable. If the scheduling system allocates unavailable home nodes to respond to business requests, it will cause service failure. In order to avoid the scheduling system allocating unavailable home nodes to respond to business requests, it is necessary to detect the connectivity of the home nodes to understand the available status of the home nodes. Summary of the invention

[0003] The present application provides a node detection method, system, computer device and storage medium to solve the problem of how to detect the connectivity of home nodes to determine their available status.

[0004] In a first aspect, the present application provides a node detection system, the system comprising:

[0005] The scheduling system is used to obtain node-related information of the home node, forward the node-related information to the detection management service, and determine the availability status of the corresponding home node according to the detection result returned by the detection management service;

[0006] A detection management service, for allocating corresponding detection tasks and detection services to the home nodes corresponding to the node related information according to the acquired node related information;

[0007] The detection service is used to perform connectivity detection on the corresponding home nodes according to the detection tasks issued by the detection management service, obtain corresponding detection results, and feed back the detection results to the scheduling system through the detection management service.

[0008] In a second aspect, the present application provides a node detection method, which is applied to detection management services, and the method includes:

[0009] Get the node-related information corresponding to the home node;

[0010] According to the node-related information, a corresponding detection task and a target detection service are allocated to the home node, wherein the target detection service is used to perform connectivity detection on the home node according to the detection task, and the target detection service includes at least any one detection service;

[0011] Sending the detection task to the target detection service;

[0012] Receive a detection result from the target detection service, and forward the detection result to a scheduling system, wherein the scheduling system is used to determine the availability status of the home node according to the detection result.

[0013] In a third aspect, the present application provides a node detection method, which is applied to a detection service, and the method includes:

[0014] Obtain the detection task corresponding to the target home node issued by the detection management service;

[0015] Performing connectivity detection on the target home node according to the detection task to obtain corresponding detection results;

[0016] Send the detection result to the detection management service.

[0017] In a fourth aspect, the present application provides a node detection method, which is applied to a scheduling system, and the method includes:

[0018] Get the node-related information corresponding to the home node;

[0019] Sending the node related information to a detection management service, wherein the detection management service is used to allocate corresponding detection tasks and target detection services to the home node according to the node related information, and the target detection service includes at least any one detection service;

[0020] Obtaining a detection result about the home node from the detection management service;

[0021] The availability status of the home node is determined according to the detection result.

[0022] In a fifth aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned node detection method when executing the computer program.

[0023] In a sixth aspect, the present application also provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the above-mentioned node detection method.

[0024] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the system provided by the embodiment of the present application utilizes the scheduling system to obtain node-related information of the home node, and forwards the node-related information to the detection management service; the detection management service allocates corresponding detection tasks and detection services to the home node corresponding to the node-related information according to the node-related information; the detection management service sends the detection task to the corresponding detection service; the detection service performs connectivity detection on the corresponding home node according to the detection task, and feeds back the detection result to the scheduling system through the detection management service; the scheduling system determines the available status of the home node according to the detection result, thereby solving the problem of how to detect the connectivity of the home node and determine its available status. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0027] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0028] Figure 1 An application environment diagram of a node detection method provided in an embodiment of the present application;

[0029] Figure 2 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0031] Figure 4 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0032] Figure 5 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0033] Figure 6 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0034] Figure 7 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0035] Figure 8 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0036] Fig. 9 A schematic diagram of a node detection method provided in an embodiment of the present application;

[0037] Fig.10 A schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0039] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0040] Figure 1 FIG. 1 is an application environment diagram of a node detection method in an embodiment. Figure 1 The node detection method is applied to a node detection system. The node detection system includes:

[0041] The scheduling system 110 is used to obtain node-related information of the home node, forward the node-related information to the detection management service 120, and determine the availability status of the corresponding home node according to the detection result returned by the detection management service 120.

[0042] Specifically, the node-related information is used to indicate node data or service requests. Node data refers to data that the home node periodically reports to the scheduling system 110, specifically including the operating parameters and attribute parameters of the home node. The attribute parameters specifically include the network address, service port, etc., and the operating parameters include the bandwidth required for operation, the remaining storage space, etc. A service request refers to a client request to obtain the target data in the home node. Therefore, the data sources of the node-related information are different when indicating different data types. When the data type of the node-related information is node data, the data source is the home node, and when the data type of the node-related information is a service request, the data source is the client.

[0043] The detection management service 120 is used to allocate corresponding detection tasks and detection services 130 to the home nodes corresponding to the node related information according to the acquired node related information.

[0044] Specifically, the detection management service 120 is used to manage multiple detection services 130, and receives node-related information from the scheduling system 110, and allocates appropriate detection tasks and detection services 130 to the home nodes corresponding to the node-related information according to the node-related information. The detection tasks are used to perform connectivity detection on the home nodes, specifically including multiple different detection dimensions. The detection management service 120 sends the detection tasks suitable for the home nodes to the corresponding detection services 130, and instructs the detection services 130 to perform connectivity detection on the home nodes. The detection management service 120 can be implemented using an independent server or a server cluster consisting of multiple servers.

[0045] The detection service 130 is used to perform connectivity detection on the corresponding home nodes according to the detection task issued by the detection management service 120, obtain corresponding detection results, and feed back the detection results to the scheduling system 110 through the detection management service 120.

[0046] Specifically, the detection service 130 receives the detection task issued by the detection management service 120, and performs connectivity detection on the home node indicated by the detection task according to the detection task, thereby obtaining the corresponding detection result, and returns the detection result to the scheduling system 110 through the detection management service 120, so that the scheduling system 110 determines the available status of the home node according to the detection result, thereby avoiding the allocation of unavailable homes to business requests, resulting in service failure.

[0047] The node detection service also includes an information receiving service. The scheduling service and the detection management service both receive the node data sent by the home node through the information receiving service.

[0048] In one embodiment, Figure 2 A schematic diagram of a node detection method in an embodiment is shown in FIG. Figure 2, provides a node detection method. This embodiment mainly applies this method to the above Figure 1 Taking the detection management service 120 in the example as an example, the node detection method specifically includes the following steps:

[0049] Step S210, obtaining node related information corresponding to the home node.

[0050] Specifically, the node-related information is used to indicate node data or service requests. Node data refers to data that the home node periodically reports to the scheduling system 110, specifically including the operating parameters and attribute parameters of the home node. The attribute parameters specifically include the network address, service port, etc., and the operating parameters include the bandwidth required for operation, the remaining storage space, etc. A service request refers to a client request to obtain the target data in the home node. Therefore, the data sources of the node-related information are different when indicating different data types. When the data type of the node-related information is node data, the data source is the home node, and when the data type of the node-related information is a service request, the data source is the client.

[0051] Step S220, assigning a corresponding detection task and a target detection service 130 to the home node according to the node-related information, wherein the target detection service 130 is used to perform connectivity detection on the home node according to the detection task, and the target detection service 130 includes at least any one detection service 130.

[0052] Specifically, the target detection service 130 refers to the detection service 130 assigned by the detection management service 120 to the home node corresponding to the node-related information. It can be one or more detection services 130, that is, one detection service 130 can be used to perform connectivity detection on the home node, or multiple detection services 130 can be used at the same time to perform connectivity detection on the home node.

[0053] Step S230 , sending the detection task to the target detection service 130 .

[0054] Step S240, receiving the detection result from the target detection service 130, and forwarding the detection result to the scheduling system 110, wherein the scheduling system 110 is used to determine the availability status of the home node according to the detection result.

[0055] Specifically, when the detection management service 120 receives the detection result from the target detection service 130, it forwards the detection result to the scheduling system 110, so that the scheduling system 110 determines the availability status of the corresponding home node according to the detection result.

[0056] Specifically, the node-related information corresponding to the home node can be obtained regularly according to a preset period, and then the corresponding detection task and target detection service 130 are allocated to the home node according to the node-related information, so that the target detection service 130 regularly detects the connectivity status of the home node.

[0057] In one embodiment, Figure 3 As shown, the corresponding detection task and target detection service 130 are allocated to the home node according to the node related information, including:

[0058] Step S2201, assigning a corresponding detection task to the home node according to the data type of the node related information;

[0059] Step S2202: Determine the target detection service 130 corresponding to the home node according to the acquired task load of each detection service 130.

[0060] Specifically, if the data type of the node-related information is different, the detection management service 120 will assign different detection tasks to it. The detection management service 120 obtains the task load of each detection service 130. The task load is used to indicate the number of detection tasks to be executed by each detection service 130, and can also be used to indicate the available resources or idle state of each detection service 130, that is, the more task load, the fewer available resources of the detection service 130, and the idle state is busy; the less task load, the more available resources of the detection service 130, and the idle state is idle. In this way, the current operating status of each detection service 130 is combined to allocate a suitable detection service 130 to the home node corresponding to the node-related information, so as to realize the allocation of the detection service 130 for connectivity detection to the home node while satisfying the normal operation of the detection service 130.

[0061] In one embodiment, Figure 4 As shown, the allocation of corresponding detection tasks to the home node according to the data type of the node related information includes:

[0062] Step S22011, when the data type of the node-related information is node data, assigning a first detection task to the home node; or,

[0063] Step S22012, when the data type of the node-related information is a service request, assign a second detection task to the home node, wherein the detection task includes the first detection task and the second detection task, the first detection task includes a transport layer detection task and a network layer detection task, and the second detection task includes an application layer detection task.

[0064] Specifically, when the data type of the node-related information is node data, it means that the scheduling system 110 forwards the node data uploaded by the home node to the detection management service 120, and the detection management service 120 assigns a first detection task to the home node based on the node data. The first detection task includes a transport layer detection task and a network layer transmission task. The transport layer detection task is used to detect the transport layer status of the home node. The transport layer (TCP, UDP) is process- or application-oriented, provides end-to-end reliable transmission, and performs error control, flow control, etc.; the network layer transmission task is used to detect the network layer status of the home node. The network layer (Ping (ICMP)) is network service-oriented, used for addressing and routing selection, and can ensure accessibility across networks.

[0065] The data type of the node-related information is a service request, indicating that a client has initiated a service request to the scheduling system 110. At this time, the detection management service 120 assigns a second detection task to the home node based on the service request. The second detection task includes an application layer detection task, which is used to detect the application layer status of the home node. The application layer provides data transmission services for interactions between specific applications, such as HTTP, DNS and other protocols, and the data unit is a message. The application layer protocol of the application layer detection task is consistent with the communication protocol of the service request. The application layer detection task is used to determine whether the home node can respond to different types of service requests. The detection management service 120 supports detection of common application protocols for different service access situations. The main supported protocols are general HTTP, HTTPS, QUIC and private P2P. The detection management service 120 will simulate the service application layer protocol detection of the home node according to the service configuration based on the service request that each home node needs to serve. The service configuration includes domain name, TLS Server Name, URL parameters, request header, etc. The detection request is basically consistent with the real user request, which can effectively discover the access connectivity problems of specific services. This avoids the problem that the scheduling system 110 cannot grasp the complete connectivity of the home node when the home node can provide services for A service request but cannot provide services for B service request.

[0066] The consumption of the detection service 130 simulating the service application layer protocol for detection is much greater than that of the detection of the network layer or the transport layer. In addition, there are a large number of home nodes. If all home nodes are simulated for all services at the same time, it will bring a lot of costs. Therefore, the detection task can be dynamically scaled according to the data type of node-related information, and the application layer detection is performed only when a service request is received, so as to reduce unnecessary application layer detection and reduce the operating cost of the detection service 130.

[0067] That is, when the data type of the business-related information is node data, the detection management service 120 will only assign network layer detection tasks and transport layer detection tasks to it. When the scheduling service assigns the corresponding home node to the business request after receiving the business request, it will push the association information between the home node and the special parameters of the business request to the detection management service 120, that is, the node-related information also includes the association information between the home node and the special parameters of the business request. At this time, the detection management service 120 performs targeted business layer detection on the home node assigned by the scheduling system 110 to the business request. In this way, complex business detection can be avoided on idle home nodes, reducing the consumption of the entire detection management system (including the detection management service 120 and the detection service 130) and reducing the required detection point cost.

[0068] In one embodiment, Figure 5 As shown, determining the target detection service 130 corresponding to the home node according to the acquired task load of each detection service 130 includes:

[0069] Step S22021, obtaining the task load of each of the detection services 130;

[0070] Step S22022, determining the detection service 130 with the least task load as the target detection service 130 corresponding to the home node; or,

[0071] Step S22023, when the average task load of all the detection services 130 is lower than the preset load, a preset number of the detection services 130 are used as the target detection services 130 corresponding to the home node.

[0072] Specifically, the detection management service 120 selects the detection service 130 with the least task load as the target detection service 130 corresponding to the home node according to the task load of each detection service 130, that is, selects the most idle detection service 130 as the target detection service 130, which is used to perform connectivity detection on the home node according to the detection task.

[0073] Alternatively, when the average task load of all detection services 130 is lower than the preset load, it means that there are more detection services 130 that can be used for connectivity detection. In this case, a preset number of detection services 130 are selected as target detection services 130, and multiple detection services 130 are used to simultaneously perform connectivity detection on the same home node according to the detection task. The connectivity status of the home node is comprehensively determined based on the detection results of multiple detection services 130, thereby improving the accuracy of the detection results for the home node.

[0074] In one embodiment, Figure 6As shown, a node detection method is provided, which is applied to the detection service 130, and the method includes:

[0075] Step S310, obtaining the detection task corresponding to the target home node issued by the detection management service 120.

[0076] Specifically, the detection service 130 is centrally managed by the detection management service 120, and receives detection tasks for target home nodes issued by the detection management service 120. The target home node refers to any home node that needs to be connected to a detection.

[0077] Step S320: Perform connectivity detection on the target home node according to the detection task to obtain corresponding detection results.

[0078] Specifically, the detection service 130 performs a connectivity test on the target home node according to the detection task. The detection task specifically includes a network layer detection task, a transport layer detection task, and an application layer detection task. Corresponding connectivity detections are performed on the target home node according to different scenarios to obtain corresponding detection results. That is, when the detection task is the first detection task and only includes the network layer detection task and the transport layer detection task, the obtained detection result also only includes the network layer detection result and the transport layer detection result; when the detection task is the second detection task and only includes the application layer detection task, the obtained detection result only includes the application layer detection result.

[0079] The detection task is to send a detection request to the home node according to the corresponding detection method to receive a detection feedback signal, and then compare the detection feedback signal with the corresponding detection reference signal. If the comparison result is a successful comparison, a detection result indicating that the connectivity is normal and available is obtained. If the comparison result is a failed comparison, a detection result indicating that the connectivity is abnormal and unavailable is obtained.

[0080] Step S330 , sending the detection result to the detection management service 120 .

[0081] Specifically, the detection service 130 sends the detection results after detection according to the detection task to the detection management service 120, which is forwarded to the scheduling system 110, instructing the scheduling system 110 to determine the available status of the corresponding home node based on the detection results. The available status is used to indicate the connectivity status of the home node. When the available status is available, it indicates that the network connectivity of the home node is normal and available. When the available status is unavailable, it indicates that the network connectivity of the home node is abnormal and unavailable.

[0082] In one embodiment, Figure 7 As shown, the sending of the detection result to the detection management service 120 includes:

[0083] Step S3301, when the detection result fails to match the previous detection result, sending the detection result to the detection management service 120, wherein the previous detection result refers to the result obtained from the previous connectivity detection before the current connectivity detection.

[0084] Specifically, when the current detection result fails to match the previous detection result, it means that the detection results obtained from two adjacent detections have changed. The current changed detection result is sent to the detection management service 120, that is, the detection result is uploaded only when the detection result changes. Usually, the detection result obtained when the home node network connection is normally available will not be uploaded to the detection management service 120 because it has not changed, thereby saving the amount of reported data of the detection service 130, so that the detection system can perform connectivity detection on the home node at a higher detection frequency, that is, the value of the aforementioned preset period can be set to a smaller value, so that unavailable home nodes can be discovered more quickly.

[0085] In one embodiment, Figure 8 As shown, a node detection method is provided, which is applied to the scheduling system 110, and the method includes:

[0086] Step S410, obtaining node related information corresponding to the home node;

[0087] Step S420, sending the node related information to the detection management service 120, wherein the detection management service 120 is used to allocate a corresponding detection task and a target detection service 130 to the home node according to the node related information, and the target detection service 130 includes at least any one detection service 130;

[0088] Step S430, obtaining a detection result about the home node from the detection management service 120;

[0089] Step S440: Determine the availability status of the home node according to the detection result.

[0090] Specifically, the node-related information may be node data or a service request, and the scheduling system 110 may receive node data reported by the home node or a service request from the client. The scheduling system 110 forwards the node-related information to the detection management service 120, receives the detection result forwarded from the detection management service 120, and determines the availability status of the home node according to the detection result.

[0091] In one embodiment, Fig. 9 As shown, after determining the available state of the home node according to the detection result, the method further includes:

[0092] Step S450, when the data type of the node-related information is a service request and the availability status of the home node is available, assigning the home node to the client that initiates the service request, wherein the service request is used to request to obtain target data in the home node.

[0093] Specifically, when receiving a business request, the scheduling system 110 will allocate a corresponding home node to respond to the business request, and then push the association information between the home node and the special parameters of the business request to the detection management service 120, so that the detection management service 120 allocates the corresponding detection service 130 and detection task to the home node, so that the detection service 130 performs connectivity detection on the home node according to the detection task, thereby obtaining the detection result. The scheduling system 110 will only allocate the home node to the client that initiated the business request when it determines that the availability status of the detection result corresponding to the home node is available, allowing the client to access the home node to successfully obtain the required target data. That is, the scheduling system 110 will only allow the client to access the home node when it accurately determines that the home node corresponding to the business request is connected and available, thereby avoiding the client accessing the home node with abnormal connectivity and unavailable, thereby avoiding the problem of poor user access experience due to home node service failure.

[0094] The above method uses high-frequency detection to detect the connectivity of home nodes, and uses simulated business application layer protocol access to perform accurate detection. It can also dynamically adjust the detection task according to node-related information, thereby reducing the burden on the detection system.

[0095] Figure 2-9 FIG. 1 is a flow chart of a node detection method in an embodiment. It should be understood that although Figure 2-9 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-9 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0096] like Fig.10 As shown, an embodiment of the present application provides a computer device, including a processor 711, a communication interface 712, a memory 713 and a communication bus 714, wherein the processor 711, the communication interface 712, and the memory 713 communicate with each other through the communication bus 714;

[0097] Memory 713, used for storing computer programs;

[0098] The processor 711 is used to implement the node detection method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 713.

[0099] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0100] In one embodiment, the node detection system provided by the present application can be implemented in the form of a computer program. The computer program can be Fig.10 The computer device is run on the computer device shown. The memory of the computer device can store various program modules constituting the node detection system, and the computer program composed of the various program modules enables the processor to execute the steps of the node detection method in various embodiments of the present application described in this specification.

[0101] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the node detection method provided in any of the aforementioned method embodiments are implemented.

[0102] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0104] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0105] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A node detection system, characterized in that: The system comprises: The scheduling system is used to obtain node-related information of the home node, forward the node-related information to the detection management service, and determine the availability status of the corresponding home node according to the detection result returned by the detection management service; A detection management service, for allocating corresponding detection tasks and detection services to the home nodes corresponding to the node related information according to the acquired node related information; The detection service is used to perform connectivity detection on the corresponding home nodes according to the detection tasks issued by the detection management service, obtain corresponding detection results, and feed back the detection results to the scheduling system through the detection management service.

2. A node detection method, characterized in that: Applied to detection management services, the method comprises: Get the node-related information corresponding to the home node; According to the node-related information, a corresponding detection task and a target detection service are allocated to the home node, wherein the target detection service is used to perform connectivity detection on the home node according to the detection task, and the target detection service includes at least any one detection service; Sending the detection task to the target detection service; Receive a detection result from the target detection service, and forward the detection result to a scheduling system, wherein the scheduling system is used to determine the availability status of the home node according to the detection result.

3. The method according to claim 2, characterized in that The allocating corresponding detection tasks and target detection services to the home node according to the node related information includes: assigning corresponding detection tasks to the home nodes according to the data type of the node related information; The target detection service corresponding to the home node is determined according to the acquired task load of each detection service.

4. The method according to claim 3, characterized in that The allocating corresponding detection tasks to the home nodes according to the data type of the node related information includes: When the data type of the node-related information is node data, assigning a first detection task to the home node; or, When the data type of the node-related information is a service request, a second detection task is assigned to the home node, wherein the detection task includes the first detection task and the second detection task, the first detection task includes a transport layer detection task and a network layer detection task, and the second detection task includes an application layer detection task.

5. The method according to claim 3, characterized in that: The step of determining the target detection service corresponding to the home node according to the acquired task load of each detection service includes: Obtaining the task load of each of the detection services; Determine the detection service with the least task load as the target detection service corresponding to the home node; or, When the average task load of all the detection services is lower than a preset load, a preset number of the detection services are used as the target detection services corresponding to the home node.

6. A node detection method, characterized in that: Applied to the detection service, the method comprises: Obtain the detection task corresponding to the target home node issued by the detection management service; Performing connectivity detection on the target home node according to the detection task to obtain corresponding detection results; Send the detection result to the detection management service.

7. The method according to claim 6, characterized in that The sending the detection result to the detection management service includes: When the detection result fails to match the previous detection result, the detection result is sent to the detection management service, wherein the previous detection result refers to the result obtained from the previous connectivity detection before the current connectivity detection.

8. A node detection method, characterized in that: Applied to a dispatching system, the method comprises: Get the node-related information corresponding to the home node; Sending the node related information to a detection management service, wherein the detection management service is used to allocate corresponding detection tasks and target detection services to the home node according to the node related information, and the target detection service includes at least any one detection service; Obtaining a detection result about the home node from the detection management service; The availability status of the home node is determined according to the detection result.

9. The method according to claim 8, characterized in that After determining the available state of the home node according to the detection result, the method further includes: When the data type of the node-related information is a service request and the availability status of the home node is available, the home node is allocated to a client that initiates the service request, wherein the service request is used to request to obtain target data in the home node.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 2 to 9 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 2 to 9 are implemented.