Asynchronous communication method and device, computer device and storage medium

By constructing a hierarchical cluster structure in the asynchronous communication cluster and determining the master and slave nodes based on the processing performance parameters of the service nodes, the problem of high complexity in asynchronous communication under the microservice architecture is solved, and the reliability and efficiency of the system are improved.

CN119652977BActive Publication Date: 2026-01-09CHINA TELECOM CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411791321.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2026-01-09
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

In a microservice architecture, asynchronous communication methods suffer from high processing complexity, especially in scenarios where request results cannot be obtained synchronously. They also suffer from poor real-time performance, high resource consumption, and are greatly affected by network conditions.

Method used

By constructing a primary and secondary cluster in an asynchronous communication cluster, and determining the master and slave nodes based on the processing performance parameters of the service nodes, multi-level distribution of response messages is achieved, reducing the dependence on a unified intermediate proxy and improving message routing efficiency.

Benefits of technology

This improves system reliability and asynchronous communication efficiency, reduces the number of polling and callbacks, and lowers processing complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652977B_ABST
    Figure CN119652977B_ABST
Patent Text Reader

Abstract

The application relates to an asynchronous communication method and device, computer equipment and a storage medium. The method comprises the following steps: a target node in an asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster comprises a primary master node and a primary slave node, and the secondary cluster comprises a secondary master node and a secondary slave node; the target node receives a service request sent by other service nodes in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service nodes according to the service request. Through the hierarchical service structure of the cluster, the response message is implemented in multi-level distribution, the dependence on a unified intermediate agent is removed, the message routing efficiency is improved, the reliability of the system is greatly improved, and after the other service nodes initiate the service request, the reply request does not need to be obtained through multiple rounds, so that the efficiency of the asynchronous communication is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of asynchronous communication, and in particular to an asynchronous communication method and device, a computer device and a storage medium. BACKGROUND

[0002] With the development of software development technology, micro-service architecture is called a standard event of modern software development due to its flexibility, scalability and fault tolerance. However, under the micro-service architecture, the cooperative communication between services becomes more complex, especially in the asynchronous scenario where the request result cannot be obtained synchronously, and the calling party needs to obtain the execution result through polling, callback and other ways, which has the disadvantages of poor real-time performance, high resource consumption and great influence of network conditions.

[0003] In the traditional technology, a scheme based on a message queue is used to process long-time tasks and implement an event-driven architecture, and a scheme based on an event bus is used to process highly decoupled systems.

[0004] However, the traditional asynchronous communication method has the problem of high processing complexity. SUMMARY

[0005] Therefore, it is necessary to provide an asynchronous communication method, device, computer device and storage medium capable of reducing the processing complexity of asynchronous communication in order to solve the above technical problems.

[0006] In a first aspect, the present application provides an asynchronous communication method applied to any service node in an asynchronous communication cluster, and the method comprises:

[0007] A target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster comprises a primary master node and a primary slave node, and the secondary cluster comprises a secondary master node and a secondary slave node;

[0008] The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request.

[0009] In one embodiment, the sending of the reply message corresponding to the service request to the another service node according to the service request comprises:

[0010] determining a message transmission path according to an identifier in the service request; the identifier comprises a first identifier of a primary cluster where the another service node is located, a second identifier of the another service node, or a second identifier of a primary cluster where the another service node is located and a third identifier of a secondary cluster where the another service node is located, and a second identifier of the another service node;

[0011] transmit a reply message corresponding to the service request to the other service node according to the message transmission path.

[0012] In one of the embodiments, the determining the message transmission path according to the identifier in the service request comprises:

[0013] If the other service node is the primary slave node, determining a first identifier of a primary cluster where the other service node is located and a second identifier of the other service node according to the identifier in the service request;

[0014] If the other service node is the secondary slave node, determining a third identifier of a primary cluster where the other service node is located, a fourth identifier of a secondary cluster where the other service node is located, and a fifth identifier of the other service node according to the identifier in the service request.

[0015] In one of the embodiments, the constructing the primary cluster and the secondary cluster in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster comprises:

[0016] determining a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster, and constructing the secondary cluster in the asynchronous communication cluster according to the secondary master service nodes and the secondary slave service nodes;

[0017] determining a primary master service node and a plurality of primary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the secondary master service nodes, and constructing the primary cluster in the asynchronous communication cluster according to the primary master service node and the primary slave service nodes.

[0018] In one of the embodiments, the processing performance parameters comprise priority coefficients and request response times of historical processing requests in the service nodes, and the determining the plurality of secondary master service nodes and the plurality of secondary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster comprises:

[0019] determining waiting weights of the service nodes according to the priority coefficients and the request response times of the historical processing requests in the service nodes;

[0020] determining forwarding weights of the service nodes according to the waiting weights of the service nodes;

[0021] determining the secondary master service node as the service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster, and determining the secondary slave service nodes as the service nodes other than the secondary master service node.

[0022] In one of the embodiments, the determining of the forwarding weight of each service node according to the waiting weight of each service node comprises:

[0023] determining the forwarding service node corresponding to each service node according to the preset grouping information;

[0024] performing summation operation on the waiting weight of the forwarding service node corresponding to each service node to determine the forwarding weight of each service node.

[0025] In one of the embodiments, the determining of the waiting weight of each service node according to the priority coefficient and the request response time of each historical processing request of each service node comprises:

[0026] determining the weight identifier of each historical processing request according to the request response time of each historical processing request and a preset time range;

[0027] performing weighted summation operation on the priority coefficient of each historical processing request according to the weight identifier of each historical processing request to determine the waiting weight of each service node.

[0028] In a second aspect, the present application further provides an asynchronous communication device, comprising:

[0029] a construction module configured to construct a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster comprises a primary master node and a primary slave node, and the secondary cluster comprises a secondary master node and a secondary slave node;

[0030] a sending module configured to receive a service request sent by another service node in the asynchronous communication cluster, and send a reply message corresponding to the service request to the another service node according to the service request.

[0031] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0032] a target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster comprises a primary master node and a primary slave node, and the secondary cluster comprises a secondary master node and a secondary slave node;

[0033] the target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request.

[0034] In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0035] The target node in the asynchronous communication cluster constructs a first cluster and a second cluster in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster; the first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node.

[0036] The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request.

[0037] In a fifth aspect, the present application provides a computer program product, comprising a computer program which, when executed by a processor, implements the following steps:

[0038] The target node in the asynchronous communication cluster constructs a first cluster and a second cluster in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster; the first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node.

[0039] The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request.

[0040] The asynchronous communication method, device, computer device and storage medium, the target node in the asynchronous communication cluster constructs a first cluster and a second cluster in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster; the first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node; the target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request. Through the service structure of cluster classification, the response message is implemented multi-level distribution, the dependence on the unified intermediate agent is removed, the message routing efficiency is improved, the system reliability is greatly improved, and after the service request is initiated by the other service node, the reply request does not need to be obtained multiple times, and the efficiency of asynchronous communication is improved. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained on the basis of these drawings without creative labor.

[0042] Figure 1 An application environment diagram of an asynchronous communication method in an embodiment;

[0043] Figure 2 A flowchart of an asynchronous communication method in an embodiment;

[0044] Figure 3 A flowchart of an asynchronous communication method in another embodiment;

[0045] Figure 4 A flowchart of an asynchronous communication method in another embodiment;

[0046] Figure 4A A schematic diagram of an asynchronous communication cluster in an embodiment;

[0047] Figure 5 A flowchart of an asynchronous communication method in another embodiment;

[0048] Figure 6 A flowchart of an asynchronous communication method in another embodiment;

[0049] Figure 7 A flowchart of an asynchronous communication method in another embodiment;

[0050] Figure 8 A flowchart of an asynchronous communication method in another embodiment;

[0051] Figure 9 A flowchart of an asynchronous communication method in another embodiment;

[0052] Figure 10 A structural block diagram of an asynchronous communication device in an embodiment;

[0053] Figure 11 An internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0054] In order to make the purposes, technical solutions and advantages of the present application clearer, the following will further describe the present application in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0055] The asynchronous communication method provided in the embodiments of the present application can be applied to an application environment as shown in Figure 1 . In the application environment, the target service node 102 communicates with each service node 104 in the asynchronous communication cluster through a network. The processing performance parameters of each service node 104 are obtained, and a first cluster and a second cluster of the asynchronous communication cluster are constructed according to the processing performance parameters of each service node.

[0056] In one embodiment, as shown in Figure 2 , an asynchronous communication method is provided. The asynchronous communication method is applied to the target service node in Figure 1 , and includes the following steps.

[0057] In S201, the target node in the asynchronous communication cluster constructs a first cluster and a second cluster of the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster. The first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node.

[0058] In the embodiments of the present application, each service node generates a voting request according to its own processing performance parameter, and sends the voting request to the target service node. Optionally, each service node can read the processing performance parameter from a preset database, or each service node can analyze historical processing information to determine its own processing performance parameter. Further, the target service node analyzes each voting request to obtain the processing performance parameter of each service node, and thus constructs a first cluster and a second cluster of the asynchronous communication cluster according to the processing performance parameter of each service node. Optionally, the asynchronous communication cluster includes multiple clusters. In the embodiments of the present application, the asynchronous communication cluster at least includes a first cluster and a second cluster. According to the processing requirement of the asynchronous communication cluster, the number of service nodes in the asynchronous communication cluster, etc., the asynchronous communication cluster can include a third cluster, a fourth cluster, etc.

[0059] Optionally, the target node can evaluate each service node according to the processing performance parameter of each service node to obtain an evaluation value of each service node. The service node with the highest evaluation value can be determined as the first master node, the service node with the evaluation value within a preset range can be determined as the second master node, i.e., the first slave node, and the service node other than the first master node and the second master node can be determined as the second slave node.

[0060] Optionally, when a preset election requirement is met, the voting request sent by each service node in the asynchronous communication cluster is received. The preset election condition can include: (1) the slave service node does not receive the signal of the master service node beyond a preset timeout time; (2) , wherein , respectively represent the message waiting weight of the current service node and the master service node. is a constant, and represents a node switching overhead coefficient.

[0061] S202, the target node receives a service request sent by other service nodes in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service nodes according to the service request.

[0062] In the embodiments of the present application, after the target node receives the service request sent by other service nodes in the asynchronous communication cluster, the target node processes the service request, generates a reply message of the service request after the processing of the service request is completed, determines an initiating node initiating the service request and a position of the initiating node in the asynchronous communication cluster according to the service request, and then sends the reply message corresponding to the service request to the initiating node.

[0063] In the above asynchronous communication method, the target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster includes a primary master node and a primary slave node, and the secondary cluster includes a secondary master node and a secondary slave node; the target node receives a service request sent by other service nodes in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service nodes according to the service request. Through the hierarchical service structure of the cluster, the response message is implemented in multiple levels of distribution, and the dependence on the unified intermediate agent is removed, which improves the efficiency of message routing and greatly improves the reliability of the system. After the service request is initiated by the other service nodes, there is no need to obtain the reply request multiple times, and the efficiency of asynchronous communication is improved.

[0064] In one embodiment, an implementation of S202 is provided, as shown in Figure 3 According to the service request, the reply message corresponding to the service request is sent to the other service nodes, which includes:

[0065] S301, determining a message transmission path according to an identifier in the service request.

[0066] In the embodiments of the present application, the message transmission path can be directly determined according to the identifier in the service request; or the path node in the transmission path can be determined according to the identifier in the service request, so as to determine the message transmission path according to the path node.

[0067] S302, transmitting the reply message corresponding to the service request to the other service nodes according to the message transmission path.

[0068] In the embodiments of the present application, the reply message corresponding to the service request is sent to the secondary master node corresponding to the target node according to the message transmission path, the secondary master node sends the reply message to the primary master node, and the primary master node transmits the reply message to other service nodes according to the message transmission path.

[0069] In the above embodiments, the message transmission path is determined according to the service request, and the reply message corresponding to the service request is transmitted to other service nodes according to the message transmission path, thereby improving the accuracy of message transmission.

[0070] In one embodiment, an implementation of S301 is provided, as shown in Figure 4 According to the identification in the service request, the message transmission path is determined, which includes:

[0071] S401, if the other service node is a primary slave node, the first identification of the primary cluster in which the other service node is located and the second identification of the other service node are determined according to the identification in the service request.

[0072] In the embodiments of the present application, if the other service node is a primary slave node, since the secondary master node corresponding to the target node is a primary master node or a primary slave node of the primary cluster, the path from the secondary master node corresponding to the target node to the other service node is determined, the field of target position in the identification in the service request is read, and the first identification of the other service node and the second identification of the other service node are determined.

[0073] S402, if the other service node is a secondary slave node, the third identification of the primary cluster in which the other service node is located, the fourth identification of the secondary cluster in which the other service node is located, and the fifth identification of the other service node are determined according to the identification in the service request.

[0074] In the embodiments of the present application, if the other service node is a secondary slave node, the path from the secondary master node corresponding to the target node to the secondary master node of the other service node and the path from the secondary master node of the other service node to the other service node are determined, and the third identification of the primary cluster in which the other service node is located, the fourth identification of the secondary cluster in which the other service node is located, and the fifth identification of the other service node are determined by reading the field of target position in the identification in the service request.

[0075] Optionally, a schematic diagram of the first cluster and the secondary cluster is as shown in Figure 4AAs shown, the primary master service node is responsible for consuming the response message queue and routing the message to the primary slave service node; the secondary master service node is the same as the primary slave service node, responsible for receiving and forwarding the message from the primary master service node, and the primary slave service node and the secondary slave service node are execution nodes, which start asynchronous processing after receiving the request and synchronously return the request success message. After the asynchronous task processing is completed, the execution result is combined with the request unique identifier and pushed to the public response message queue. After the primary master service node consumes the message, it first judges whether it is the current secondary cluster message, if so, it is forwarded within the secondary cluster, otherwise it is forwarded to the corresponding secondary cluster according to the request identifier.

[0076] In the embodiment of the present application, the asynchronous communication process of the asynchronous communication cluster can include:

[0077] (1) When the asynchronous communication cluster is started, the three service nodes of the same name service are regarded as a secondary cluster, and first, an internal election is initiated to confirm the master service node, and the master service node is initially defaulted as the slave service node of the primary cluster, and the primary cluster initiates an election to confirm the master service node of the primary cluster. In particular, in the first election period, if there is only one service node started in the cluster, the service node automatically becomes the master service node until it receives a voting request of a service node with a higher election value;

[0078] (2) After the initialization networking is completed, the master service node starts to consume and forward the response message;

[0079] (3) After the networking is completed, the service node 1 of the micro service A becomes a slave service node, and initiates an HTTP request in the business operation, and the request unique identifier of this request is generated based on the service identifier A and the service node identifier 1, and is sent to the receiver in the form of a request header.

[0080] (4) After receiving the request, the receiver B performs preprocessing operation, and starts asynchronous task execution based on the request identifier, and then returns the request success to inform the requester to wait asynchronously. After receiving the response, the service node 1 registers the request to the listening queue, and waits for the master service node to push the message result.

[0081] (5) After the asynchronous task execution of the micro service B is completed, the execution result is combined with the request unique identifier, sent to the asynchronous task response message queue, and the request processing is ended;

[0082] (6) After the primary cluster master service node consumes the response message, the message is pushed to the primary cluster slave service node A according to the service identifier A, and the primary cluster slave service node A is also the master service node of the secondary cluster, and at this time, the message is pushed to the service node 1 according to the node identifier 1;

[0083] (7) After the service node 1 receives the response message, the request waiting state is ended, and the request identifier is removed from the listening queue, completing the entire life cycle of the asynchronous request.

[0084] Optionally, within the secondary cluster, the abnormal message can be processed by identifying the slave service node state. For example, if the micro service B2 is unexpectedly terminated during task execution as a slave service node, and the micro service B1 is the master service node that discovers the abnormality through heartbeat detection, the master service node can push an abnormal response to the exception interrupt request identifier held by the micro service B2, reducing the invalid waiting of the requestor. For a large-scale system, by adjusting the cluster level, the service cluster is divided into two parts according to specific rules, and the election process is repeated to control the number of messages forwarded by a single master service node. For scenarios where the service scale is moderate and the number of messages is large, exceeding the load range of a single primary cluster master service node, a multi-primary cluster master service node mode is adopted, and the response queue is consumed simultaneously, and the messages are exchanged between each other.

[0085] In the above application embodiments, the path from the target node to the initiating node is determined according to the unique identifier in the service request, so that the reply message of the service request is returned to the initiating node.

[0086] In one embodiment, an implementation of S201 is provided, as shown in Figure 5 According to the processing performance parameters of the service nodes in the asynchronous communication cluster, a primary cluster and a secondary cluster in the asynchronous communication cluster are constructed.

[0087] S501, according to the processing performance parameters of the service nodes in the asynchronous communication cluster, a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster are determined, and a secondary cluster in the asynchronous communication cluster is constructed according to the secondary master service nodes and the secondary slave service nodes.

[0088] In the embodiments of the present application, the asynchronous communication cluster includes a plurality of service nodes, and the plurality of service nodes in the asynchronous communication cluster are divided into a plurality of service node groups according to preset grouping information. Further, the target service node obtains the processing performance parameters of the service nodes in the asynchronous communication cluster. For each service node group, the service nodes in the service node group are sorted according to the processing performance parameters of the service nodes in the service node group, the service node with the best performance is determined as the secondary master service node in the service node group, and the other service nodes in the service node group except the secondary master service node are determined as the secondary slave service nodes, so as to construct the service node group into a secondary cluster. Optionally, the processing performance parameter can be the hardware parameter of the service node, so as to evaluate the hardware parameter to obtain the evaluation value of each service node, and further, the service nodes are sorted according to the evaluation value of each service node.

[0089] Optionally, according to the ranking result of the performance sorting of the service nodes in the service node group according to the processing performance parameters of the service nodes, voting is performed on the service nodes, for example, a vote of approval is cast for the service node ranked first, and a vote of disapproval is cast for the service nodes other than the service node ranked first.

[0090] S502, according to the processing performance parameters of the secondary master service nodes, determining the primary master service node and the plurality of primary slave service nodes in the asynchronous communication cluster, and constructing a primary cluster according to the primary master service node and the primary slave service nodes.

[0091] In the embodiments of the present application, the plurality of secondary master service nodes are grouped into a primary cluster, and the primary master service node and the primary slave service nodes are determined from the plurality of secondary master service nodes, the secondary master service nodes in the primary cluster are sorted according to the processing performance parameters of the secondary master service nodes, the secondary master service node with the best performance is determined as the primary master service node in the primary cluster, and the other service nodes in the primary cluster other than the primary master service node are determined as the primary slave service nodes. It should be noted that the method of constructing the primary cluster is the same as the method of constructing the secondary cluster.

[0092] In the above embodiments, the asynchronous communication cluster is divided into a primary cluster and a secondary cluster, multi-level distribution is implemented on the response message, the dependence on the unified intermediate agent is removed, the complexity of asynchronous processing is reduced, the efficiency of message routing is improved, the reliability of the system is greatly improved, and the accuracy of the primary cluster and the secondary cluster is improved according to the processing performance parameters of the service nodes to determine the primary master service node, the primary slave service node, the secondary master service node and the secondary slave service node.

[0093] In one embodiment, an implementation of S501 is provided, and the processing performance parameters include the priority coefficient and the request response time of each historical processing request in each service node, as shown in Figure 6 According to the processing performance parameters of the service nodes in the asynchronous communication cluster, determining a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster, including:

[0094] S601, according to the priority coefficient and the request response time of each historical processing request in each service node, determining the waiting weight of each service node.

[0095] As an optional implementation, for each service node, the waiting weight range of the service node can be determined according to the priority coefficient of each historical processing request in the service node, and further, the waiting weight of the service node is determined from the waiting weight range according to the request response time of each historical processing request in the service node.

[0096] As another optional implementation, the waiting weight of each service node can be determined according to the priority coefficient and the request response time of each historical processing request in each service node, and a preset first relationship.

[0097] S602, determine the forwarding weight of each service node according to the waiting weight of each service node.

[0098] In the embodiment of the application, for each service node, the forwarding weight of each service node is determined according to the waiting weight of all service nodes in each service node group except the service node.

[0099] Optionally, the corresponding relationship between the waiting weight and the forwarding weight can be established in advance, so that the forwarding weight of each service node is determined according to the waiting weight of each service node; or the forwarding weight of each service node can be determined according to the waiting weight of each service node and a preset second relationship.

[0100] S603, determine the service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster as the secondary master service node, and determine the service nodes other than the secondary master service node as the secondary slave service nodes.

[0101] In the embodiment of the application, the service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster is determined as the secondary master service node, and the service nodes other than the secondary master service node are determined as the secondary slave service nodes. Optionally, the service node with the lowest forwarding weight can be removed from the secondary cluster.

[0102] In the above application embodiment, the waiting weight of the service node is determined according to the priority coefficient and the request response time, which improves the credibility of the waiting weight. Further, the forwarding weight is determined according to the waiting weight, which improves the credibility of the forwarding weight, thereby improving the accuracy of the secondary master service node and the secondary slave service node in the secondary cluster.

[0103] In one embodiment, an implementation of S602 is provided, as shown in Figure 7 According to the waiting weight of each service node, the forwarding weight of each service node is determined.

[0104] S701, determine the forwarding service node corresponding to each service node according to the preset grouping information.

[0105] S702, sum the waiting weight of the forwarding service node corresponding to each service node to determine the forwarding weight of each service node.

[0106] In the embodiments of the present application, for each service node, other service nodes in the same group as the service node are determined according to preset group information, and the other service nodes in the same group as the service node are determined as forwarding service nodes corresponding to the service node. Further, the forwarding weight of the service node is determined according to the waiting weight of the forwarding service node. Optionally, the message forwarding weight of the nth service node is shown as formula 1:

[0107] (Formula 1)

[0108] wherein, is the waiting weight of the nth service node, and the message forwarding weight represents the forwarding cost coefficient required for routing all messages of the current cluster to other nodes. It should be noted that the larger the message forwarding weight, the smaller the election value of the current node.

[0109] In the above embodiments, for each service node, the forwarding weight of the service node is determined according to the waiting weight of the other service nodes, which improves the accuracy of the forwarding weight.

[0110] In one embodiment, an implementation of S301 is provided, as shown in formula 2, the above “determining the waiting weight of each service node according to the priority coefficient and the request response time of each historical processing request in each service node” includes: Figure 8

[0111] S801, determining the weight identifier of each historical processing request according to the request response time of each historical processing request and a preset time range.

[0112] In the embodiments of the present application, the weight identifier of the jth historical request in the service node can be represented as , the request response time of the jth historical request is , when , , when , , , , and the expected response time minimum value and maximum value of the nth request type are represented as

[0113] S802, weighted summing the priority coefficient of each historical processing request according to the weight identifier of each historical processing request to determine the waiting weight of each service node.

[0114] In the embodiments of the present application, the waiting weight of the nth service node is

[0115] ​​​​​ (Formula 2)

[0116] wherein, represents the priority coefficient of the th request.

[0117] In the embodiments of the present application, the waiting weights of the service nodes are determined according to the processing information of the historical requests in the service nodes, that is, the waiting weights of the service nodes are determined through actual historical processing data, thereby improving the credibility and accuracy of the waiting weights.

[0118] In one embodiment, as shown in Figure 9 , a complete asynchronous communication method is provided, comprising:

[0119] S1, determining the weight identifiers of the historical processing requests according to the request response times of the historical processing requests and the preset time range.

[0120] S2, performing weighted summation on the priority coefficients of the historical processing requests according to the weight identifiers of the historical processing requests, to determine the waiting weights of the service nodes.

[0121] S3, determining the forwarding service nodes corresponding to the service nodes according to the preset grouping information.

[0122] S4, performing summation operation on the waiting weights of the forwarding service nodes corresponding to the service nodes, to determine the forwarding weights of the service nodes.

[0123] S5, determining the service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster as the secondary master service node, and determining the service nodes other than the secondary master service node as the secondary slave service nodes.

[0124] S6, constructing the secondary cluster in the asynchronous communication cluster according to the secondary master service nodes and the secondary slave service nodes.

[0125] S7, determining the primary master service node and the plurality of primary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the secondary master service nodes, and constructing the primary cluster in the asynchronous communication cluster according to the primary master service node and the primary slave service nodes.

[0126] S8, if the other service node is a primary slave node, determining the first identifier of the primary cluster in which the other service node is located and the second identifier of the other service node according to the identifier in the service request; if the other service node is a secondary slave node, determining the third identifier of the primary cluster in which the other service node is located and the fourth identifier of the secondary cluster in which the other service node is located, and the fifth identifier of the other service node according to the identifier in the service request.

[0127] S9, according to the message passing path, passing the reply message corresponding to the service request to other service nodes.

[0128] In the asynchronous communication method, a target node in the asynchronous communication cluster constructs a first cluster and a second cluster in the asynchronous communication cluster according to processing performance parameters of each service node in the asynchronous communication cluster; the first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node; the target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service node according to the service request. Through the hierarchical service structure of the cluster, the response message is implemented in multiple levels, the dependence on the unified intermediate agent is removed, the message routing efficiency is improved, the reliability of the system is greatly improved, and after the other service node initiates the service request, the reply request does not need to be obtained multiple times, and the efficiency of the asynchronous communication is improved.

[0129] It should be understood that although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.

[0130] Based on the same inventive concept, the embodiments of the present application also provide an asynchronous communication device for implementing the above-mentioned asynchronous communication method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more asynchronous communication device embodiments provided below can refer to the limitations of the asynchronous communication method described above, which will not be repeated here.

[0131] In one embodiment, as shown in Figure 10 An asynchronous communication device is provided, comprising: a construction module 10 and a sending module 11, wherein:

[0132] The construction module 10 is configured to construct a first cluster and a second cluster in the asynchronous communication cluster according to processing performance parameters of each service node in the asynchronous communication cluster; the first cluster includes a first master node and a first slave node, and the second cluster includes a second master node and a second slave node;

[0133] The sending module 11 is configured to receive a service request sent by another service node in the asynchronous communication cluster, and send a reply message corresponding to the service request to the other service node according to the service request.

[0134] In one embodiment, the sending module 11 comprises a first determining unit and a delivery unit.

[0135] The first determining unit is configured to determine a message delivery path according to the identifier in the service request.

[0136] The delivery unit is configured to deliver the reply message corresponding to the service request to the other service node according to the message delivery path.

[0137] In one embodiment, the delivery unit is specifically configured to, if the other service node is a first-level slave node, determine a first identifier of a first-level cluster where the other service node is located and a second identifier of the other service node according to the identifier in the service request; if the other service node is a second-level slave node, determine a third identifier of the first-level cluster where the other service node is located and a fourth identifier of a second-level cluster where the other service node is located, and a fifth identifier of the other service node according to the identifier in the service request.

[0138] In one embodiment, the construction module 10 comprises a second determining unit and a third determining unit.

[0139] The second determining unit is configured to determine a plurality of second-level master service nodes and a plurality of second-level slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster, and construct a second-level cluster in the asynchronous communication cluster according to the second-level master service nodes and the second-level slave service nodes.

[0140] The third determining unit is configured to determine a first-level master service node and a plurality of first-level slave service nodes in the asynchronous communication cluster according to the processing performance parameters of the second-level master service nodes, and construct a first-level cluster in the asynchronous communication cluster according to the first-level master service node and the first-level slave service nodes.

[0141] In one embodiment, the second determining unit is specifically configured to determine a waiting weight of each service node according to a priority coefficient and a request response time of each historical processing request in each service node, determine a forwarding weight of each service node according to the waiting weight of each service node, and determine a second-level master service node in each group of service nodes in the asynchronous communication cluster as the service node with the highest forwarding weight, and determine the service nodes other than the second-level master service node as second-level slave service nodes.

[0142] In one embodiment, the second determining unit is specifically configured to determine the forwarding service node corresponding to each service node according to the preset grouping information; and sum the waiting weights of the forwarding service nodes corresponding to each service node to determine the forwarding weight of each service node.

[0143] In one embodiment, the second determining unit is specifically configured to determine the weight identifier of each historical processing request according to the request response time of each historical processing request and the preset time range; and weight-sum the priority coefficients of each historical processing request according to the weight identifier of each historical processing request to determine the waiting weight of each service node.

[0144] The modules in the asynchronous communication device can be implemented by software, hardware, or a combination thereof, in whole or in part. The modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.

[0145] In one exemplary embodiment, a computer device is provided, which can be a service node, and an internal structure diagram of the computer device can be as shown in Figure 11 The computer device includes a processor, a memory, an input / output interface (I / O), and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store asynchronous communication data. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement an asynchronous communication method.

[0146] Those skilled in the art can understand that Figure 11 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0147] In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the following steps:

[0148] The target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of the service nodes in the asynchronous communication cluster; the primary cluster includes a primary master node and a primary slave node, and the secondary cluster includes a secondary master node and a secondary slave node.

[0149] The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service node according to the service request.

[0150] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0151] Determine the message transmission path according to the identifier in the service request;

[0152] Transmit the reply message corresponding to the service request to the other service node according to the message transmission path.

[0153] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0154] If the other service node is a primary slave node, determine the first identifier of the primary cluster in which the other service node is located and the second identifier of the other service node according to the identifier in the service request;

[0155] If the other service node is a secondary slave node, determine the third identifier of the primary cluster in which the other service node is located and the fourth identifier of the secondary cluster in which the other service node is located, and the fifth identifier of the other service node according to the identifier in the service request.

[0156] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0157] According to the processing performance parameters of the service nodes in the asynchronous communication cluster, determine a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster, and construct a secondary cluster in the asynchronous communication cluster according to the secondary master service nodes and the secondary slave service nodes;

[0158] According to the processing performance parameters of the secondary master service nodes, determine a primary master service node and a plurality of primary slave service nodes in the asynchronous communication cluster, and construct a primary cluster in the asynchronous communication cluster according to the primary master service node and the primary slave service nodes.

[0159] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0160] Determine the waiting weight of each service node according to the priority coefficient and the request response time of each historical processing request in each service node;

[0161] Determine the forwarding weight of each service node according to the waiting weight of each service node;

[0162] Determine the service node with the highest forwarding weight in each group of service nodes of the asynchronous communication cluster as a secondary master service node, and determine the service nodes other than the secondary master service node as secondary slave service nodes.

[0163] In one embodiment, the processor executing the computer program also implements the following steps:

[0164] Determine the forwarding service node corresponding to each service node according to the preset grouping information;

[0165] Sum the waiting weights of the forwarding service nodes corresponding to each service node to determine the forwarding weight of each service node.

[0166] In one embodiment, the processor executing the computer program also implements the following steps:

[0167] Determine the weight identifier of each historical processing request according to the request response time of each historical processing request and the preset time range;

[0168] According to the weight identifier of each historical processing request, weight the priority coefficient of each historical processing request to determine the waiting weight of each service node.

[0169] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the following steps:

[0170] The target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster includes a primary master node and a primary slave node, and the secondary cluster includes a secondary master node and a secondary slave node;

[0171] The target node receives a service request sent by other service nodes in the asynchronous communication cluster, and sends a reply message corresponding to the service request to other service nodes according to the service request.

[0172] In one embodiment, the computer program is executed by the processor to further implement the following steps:

[0173] Determine the message transmission path according to the identifier in the service request;

[0174] According to the message transmission path, the reply message corresponding to the service request is transmitted to other service nodes.

[0175] In one embodiment, the computer program is executed by the processor to further implement the following steps:

[0176] If the other service node is a first-level slave node, the first identifier of the first-level cluster in which the other service node is located and the second identifier of the other service node are determined according to the identifier in the service request;

[0177] If the other service node is a second-level slave node, the third identifier of the first-level cluster in which the other service node is located, the fourth identifier of the second-level cluster in which the other service node is located, and the fifth identifier of the other service node are determined according to the identifier in the service request.

[0178] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0179] According to the processing performance parameters of the service nodes in the asynchronous communication cluster, a plurality of second-level master service nodes and a plurality of second-level slave service nodes in the asynchronous communication cluster are determined, and a second-level cluster in the asynchronous communication cluster is constructed according to the second-level master service nodes and the second-level slave service nodes.

[0180] According to the processing performance parameters of the service nodes in the asynchronous communication cluster, a plurality of second-level master service nodes and a plurality of second-level slave service nodes in the asynchronous communication cluster are determined, and a second-level cluster in the asynchronous communication cluster is constructed according to the second-level master service nodes and the second-level slave service nodes.

[0181] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0182] According to the priority coefficients and the request response times of the historical processing requests in each service node, a waiting weight of each service node is determined;

[0183] According to the waiting weights of the service nodes, a forwarding weight of each service node is determined;

[0184] The service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster is determined as a second-level master service node, and the service nodes other than the second-level master service node are determined as second-level slave service nodes.

[0185] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0186] According to the preset grouping information, a forwarding service node corresponding to each service node is determined;

[0187] The waiting weights of the forwarding service nodes corresponding to each service node are summed to determine the forwarding weight of each service node.

[0188] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0189] According to the request response times of the historical processing requests and a preset time range, a weight identifier of each historical processing request is determined;

[0190] According to the weight identification of each historical processing request, the priority coefficients of each historical processing request are weighted and summed to determine the waiting weight of each service node.

[0191] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps:

[0192] The target node in the asynchronous communication cluster constructs a primary cluster and a secondary cluster in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster; the primary cluster comprises a primary master node and a primary slave node, and the secondary cluster comprises a secondary master node and a secondary slave node.

[0193] The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the other service node according to the service request.

[0194] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0195] According to the identification in the service request, a message transmission path is determined;

[0196] According to the message transmission path, a reply message corresponding to the service request is transmitted to the other service node.

[0197] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0198] If the other service node is a primary slave node, a first identification of a primary cluster in which the other service node is located and a second identification of the other service node are determined according to the identification in the service request;

[0199] If the other service node is a secondary slave node, a third identification of a primary cluster in which the other service node is located and a fourth identification of a secondary cluster in which the other service node is located, and a fifth identification of the other service node are determined according to the identification in the service request.

[0200] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0201] According to the processing performance parameters of each service node in the asynchronous communication cluster, a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster are determined, and a secondary cluster in the asynchronous communication cluster is constructed according to the secondary master service nodes and the secondary slave service nodes.

[0202] According to the processing performance parameters of each secondary master service node, a primary master service node and a plurality of primary slave service nodes in the asynchronous communication cluster are determined, and a primary cluster in the asynchronous communication cluster is constructed according to the primary master service node and the primary slave service nodes.

[0203] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0204] According to the priority coefficient and the request response time of each historical processing request in each service node, the waiting weight of each service node is determined;

[0205] According to the waiting weight of each service node, the forwarding weight of each service node is determined;

[0206] The service node with the highest forwarding weight in each group of service nodes of the asynchronous communication cluster is determined as a secondary master service node, and the service nodes other than the secondary master service node are determined as secondary slave service nodes.

[0207] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0208] According to the preset grouping information, the forwarding service node corresponding to each service node is determined;

[0209] The waiting weights of the forwarding service nodes corresponding to each service node are summed to determine the forwarding weight of each service node.

[0210] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0211] According to the request response time of each historical processing request and the preset time range, the weight identification of each historical processing request is determined;

[0212] According to the weight identification of each historical processing request, the priority coefficient of each historical processing request is weighted and summed to determine the waiting weight of each service node.

[0213] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, the processes of the above-mentioned embodiment methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., and is not limited thereto. The processor involved in the embodiments provided in the present application can be a general processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., and is not limited thereto.

[0214] The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, it should be considered as the scope of the present application.

[0215] The above embodiments only express several implementation ways of the present application, and the description is specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. An asynchronous communication method, characterized by, The method is applied to any service node in an asynchronous communication cluster, and the method comprises: A target node in the asynchronous communication cluster determines a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster according to processing performance parameters of each service node in the asynchronous communication cluster, and constructs a secondary cluster in the asynchronous communication cluster according to the secondary master service nodes and the secondary slave service nodes; The target node determines a primary master service node and a plurality of primary slave service nodes in the asynchronous communication cluster according to processing performance parameters of each secondary master service node, and constructs a primary cluster in the asynchronous communication cluster according to the primary master service node and the primary slave service nodes; The target node receives a service request sent by another service node in the asynchronous communication cluster, and sends a reply message corresponding to the service request to the another service node according to the service request.

2. The method of claim 1, wherein, The sending of the reply message corresponding to the service request to the another service node according to the service request comprises: Determining a message transmission path according to an identifier in the service request; Transmitting the reply message corresponding to the service request to the another service node according to the message transmission path.

3. The method of claim 2, wherein, The determination of the message transmission path according to the identifier in the service request comprises: If the another service node is the primary slave service node, determining a first identifier of a primary cluster in which the another service node is located and a second identifier of the another service node according to the identifier in the service request; If the another service node is the secondary slave service node, determining a third identifier of a primary cluster in which the another service node is located, a fourth identifier of a secondary cluster in which the another service node is located, and a fifth identifier of the another service node according to the identifier in the service request.

4. The method of claim 1, wherein, The processing performance parameters comprise priority coefficients and request response times of each historical processing request in each service node, and the determination of the plurality of secondary master service nodes and the plurality of secondary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster comprises: Determining waiting weights of each service node according to the priority coefficients and the request response times of each historical processing request in each service node; Determining forwarding weights of each service node according to the waiting weights of each service node; Determining the secondary master service node as a service node with the highest forwarding weight in each group of service nodes in the asynchronous communication cluster, and determining the secondary slave service nodes as service nodes other than the secondary master service node.

5. The method of claim 4, wherein, The determination of the forwarding weights of each service node according to the waiting weights of each service node comprises: Determining forwarding service nodes corresponding to each service node according to preset grouping information; Summing the waiting weights of the forwarding service nodes corresponding to each service node to determine the forwarding weight of each service node.

6. The method of claim 4, wherein, The determination of the waiting weights of each service node according to the priority coefficients and the request response times of each historical processing request in each service node comprises: According to the request response time of each historical processing request and a preset time range, a weight identifier of each historical processing request is determined; According to the weight identifier of each historical processing request, a priority coefficient of each historical processing request is weighted and summed to determine a waiting weight of each service node.

7. An asynchronous communication device, characterized by The apparatus comprises: The construction module is configured to determine a plurality of secondary master service nodes and a plurality of secondary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of each service node in the asynchronous communication cluster, and construct a secondary cluster in the asynchronous communication cluster according to the secondary master service nodes and the secondary slave service nodes; determine a primary master service node and a plurality of primary slave service nodes in the asynchronous communication cluster according to the processing performance parameters of each secondary master service node, and construct a primary cluster in the asynchronous communication cluster according to the primary master service node and the primary slave service nodes; The sending module is configured to receive a service request sent by another service node in the asynchronous communication cluster, and send a reply message corresponding to the service request to the another service node according to the service request.

8. The apparatus of claim 7, wherein, The sending module comprises: The first determination unit is configured to determine a message transmission path according to an identifier in the service request; The transmission unit is configured to transmit the reply message corresponding to the service request to the another service node according to the message transmission path. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor executes the computer program to implement the steps of the method of any one of claims 1 to 6.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Cluster node communication method and system

    CN107124469A

  • Computing node scheduling method, device and equipment and computer storage medium

    CN118796439A