Communication method and device of cluster, cluster and target node

By adopting a tree-like transmission link mechanism in the cluster system, the target node receives and distributes data as a child node, which solves the problem of excessive resource occupation of the management server and improves the work efficiency of the management node.

CN118740922APending Publication Date: 2024-10-01XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410977077.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In a huge cluster system, the management server needs to establish a large number of connections to manage hundreds of devices, which causes excessive use of CPU, memory and network resources and affects the work efficiency of the management server.

Method used

Using a tree transmission link mechanism, the management node serves as the root node to distribute target data from the management node to the execution node. The target node serves as a child node to receive and process the parent node data, distributes data to the child nodes, and undertakes part of the information management work. Reduce management node resource usage.

Benefits of technology

By distributing and processing data, the target node can effectively reduce the resource occupation of the management node, improve the work efficiency of the management node, and is suitable for large-scale cluster systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740922A_ABST
    Figure CN118740922A_ABST
Patent Text Reader

Abstract

The invention relates to a cluster communication method and device, a cluster and a target node. The method comprises the steps of receiving target data sent by a father node of a target node, processing the target data to obtain data processing state information, sending the data processing state information to the father node of the target node, sending the target data to a child node of the target node, and receiving the data processing state information sent by the child node of the target node. Due to the fact that nodes of the cluster form the binary tree, the target nodes serve as child nodes, and an information distribution mechanism based on the binary tree not only can receive and process target data sent by father nodes of the cluster, but also can distribute the target data to the child nodes of the cluster, part of information management work of management nodes is undertaken, resources occupied by the management nodes can be reduced, and the management efficiency of the cluster is improved. Therefore, the working efficiency of node management is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a cluster communication method, device, cluster and target node. Background Art

[0002] In today's era of full digitalization and informatization, all kinds of data need to be stored in servers. The storage and computing power of a single machine (such as a computer) is limited. When storing massive amounts of information, such as the storage of real-time data from surveillance cameras in a city, a large number of clusters are required to complete the task. A cluster is composed of multiple machines, which can be two computers or a super cluster of tens of thousands of computers. For ease of management, a machine will be selected in the cluster as a management node. While processing data, it also sends management messages to other nodes in the cluster, such as log acquisition, configuration file upload, etc.

[0003] In a typical network-based data storage system, each server is interconnected by a switch, and one of the servers is selected as the management server. Users can connect to this management server through the network and manage each server in the cluster through the management server. In traditional system maintenance solutions, one-to-many is selected, that is, one management server is used to establish connections with multiple other servers in the cluster and send messages, which is convenient for operation.

[0004] However, when the cluster is particularly large, such as a storage system composed of hundreds of servers, the management server needs to establish hundreds of connections and send data to hundreds of devices at the same time. In this way, the management server will occupy a large amount of CPU resources, memory resources and network resources, affecting the work efficiency of the management server. Summary of the invention

[0005] The embodiments of the present invention provide a cluster communication method, device, cluster and target node, which can undertake part of the information management work of the management node, reduce the resources occupied by the management node, and thus improve the work efficiency of the management node.

[0006] In a first aspect, an embodiment of the present invention provides a communication method of a cluster, wherein the cluster includes a plurality of nodes, and data is transmitted between the plurality of nodes via a tree-like transmission link, wherein the tree-like transmission link includes: a root node, a branch node, and an execution node; the method includes:

[0007] If the target node is configured as a branch node at the current moment, the target node obtains the target data through the parent node configured at the current moment;

[0008] If the target node is currently configured with at least one child node, splitting and processing the target data according to the at least one child node;

[0009] Sending the split and processed target data to the at least one child node, and updating the tree-shaped transmission link;

[0010] If the target node is not currently configured with any child node, a disconnection request signal is generated, where the disconnection request signal is used to request to disconnect the link between the target node and the parent node of the target node.

[0011] In some embodiments, before receiving the target data sent by the parent node of the target node, the method further includes:

[0012] Before the target node obtains the target data through the parent node configured at the current moment, it also includes:

[0013] Receiving a link establishment request signal sent by a parent node configured by the target node at the current moment;

[0014] If the target node allows the link to be established, the target node generates a response signal in response to the link establishment request signal;

[0015] The response signal is sent to the parent node of the target node, so that the parent node establishes a tree structure link according to the link between the parent node and the target node.

[0016] In some embodiments, after the target node responds to the link establishment request signal, the method further includes:

[0017] Find at least one child node configured as the target node at the current moment;

[0018] Sending the link establishment request signal to at least one child node of the target node, so that the at least one child node confirms whether to allow the link to be established;

[0019] If the at least one child node allows the link to be established, receiving the sending request response signal sent by the child node of the target node;

[0020] At least one child node sends a response signal to the parent node of the target node, so that the parent node establishes a tree structure link according to the target node and the child nodes of the target node.

[0021] In some embodiments, after sending the split and processed target data to the at least one child node, the method includes:

[0022] After the at least one child node receives the processed target data, marking any child node as a target node;

[0023] It is determined step by step whether the target node is configured with a child node at the current moment, until the target node is not configured with a child node at the current moment, and the tree-like transmission link is updated.

[0024] In some embodiments, the method includes splitting and processing the target data according to the at least one child node, including:

[0025] Obtaining verification information of the at least one child node, and extracting identification information of the target data;

[0026] A protocol data packet is generated according to the verification information of the at least one sub-node and the identification information of the target data to implement the splitting process of the target data.

[0027] In some embodiments, the method further comprises:

[0028] If the parent node of the target node receives the disconnection request signal, the link between the target node and the parent node of the target node is disconnected, and the tree transmission link is updated;

[0029] The parent node confirms whether the links of all child nodes corresponding to the parent node are disconnected;

[0030] If the links of all child nodes corresponding to the parent node are disconnected, the parent node disconnects the parent node connected to the parent node and updates the tree-like transmission links.

[0031] In some embodiments, after sending the split and processed target data to the at least one child node, the method includes:

[0032] If the child node is currently configured as an execution node, the server is configured according to the target data.

[0033] In a second aspect, an embodiment of the present invention further provides a communication device for a cluster, wherein each node in the cluster forms a tree-like transmission link, wherein the management node is a root node, the target node is a child node, and the execution node is a leaf node; the device comprises:

[0034] The receiving module, if the target node is configured as a branch node at the current moment, the target node obtains the target data through the parent node configured at the current moment;

[0035] A processing module, if the target node is currently configured with at least one child node, splits and processes the target data according to the at least one child node;

[0036] A sending module, sending the split and processed target data to the at least one child node, and updating the tree-like transmission link;

[0037] The disconnection module generates a disconnection request signal if the target node is not currently configured with any child node, wherein the disconnection request signal is used to request disconnection of a link between the target node and a parent node of the target node.

[0038] In a third aspect, an embodiment of the present invention further provides a cluster, wherein each node in the cluster forms a binary tree, and the cluster includes:

[0039] The management node is used to send the target data to the target node and receive the data processing status information sent by the target node. The execution node is used to receive the target data sent by the target node; process the target data to obtain the data processing status information, and send the data processing status information to the target node. The target node is used to execute the steps of any method provided in the first aspect.

[0040] Among them, the management node is a root node, the target node is a child node, and the execution node is a leaf node.

[0041] In a fourth aspect, an embodiment of the present invention further provides a target node, comprising: a processor, wherein the processor is used to execute a computer program stored in a memory, and when the processor executes the computer program, the processor implements the steps of any one of the methods provided in the first aspect.

[0042] In the technical solution provided by the embodiment of the present invention, by receiving the target data sent by the parent node of the target node, processing the target data to obtain data processing status information, and sending the data processing status information to the parent node of the target node, sending the target data to the child node of the target node, and receiving the data processing status information sent by the child node of the target node, since each node of the cluster constitutes a binary tree, and the management node is the root node, and the target node is the child node, therefore, the target data can be distributed from the management node, distributed downward step by step until it is sent to the execution node, so that all nodes in the cluster can receive the target data and process it. In this process, the target node, as a child node, can not only receive and process the target data sent by its parent node based on the information distribution mechanism of the binary tree, but also distribute the target data to its child nodes, and undertake part of the information management work of the management node, which can reduce the resources occupied by the management node, thereby improving the work efficiency of the management node. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] 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.

[0045] Figure 1 An architectural diagram of a video management system provided by the prior art;

[0046] Figure 2 A schematic diagram of the structure of a cluster provided by an embodiment of the present invention;

[0047] Figure 3 A flow chart of a communication method provided by an embodiment of the present invention Figure 1 ;

[0048] Figure 4 A flow chart of a communication method provided by an embodiment of the present invention Figure 2 ;

[0049] Figure 5 A flow chart of a communication method provided by an embodiment of the present invention Figure 3 ;

[0050] Figure 6 A flow chart of a communication method provided by an embodiment of the present invention Figure 4 ;

[0051] Figure 7 A flow chart of a communication method provided by an embodiment of the present invention Figure 5 ;

[0052] Figure 8 A schematic diagram of the structure of a communication device provided by an embodiment of the present invention;

[0053] Fig. 9 A schematic diagram of the structure of a target node provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0055] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0056] Figure 1An architecture diagram of a video management system provided by the prior art, such as Figure 1 As shown, the video management system includes a video acquisition subsystem, a background management subsystem, a video storage subsystem and a user operation interface.

[0057] In the video storage subsystem, each server is interconnected by a switch. One of the servers is selected as the management server. Users can connect to this management server through the network and manage each server in the cluster through the management server. In the traditional system maintenance solution, 1 to N is selected, that is, a management server is used to establish a connection with the other N nodes in the cluster and send messages, which is convenient for operation.

[0058] However, when a cluster is particularly large, such as a storage system composed of hundreds of servers, the management server needs to establish hundreds of connections and send data to hundreds of devices at the same time. In this way, the management server will occupy a large amount of CPU, memory and network resources, affecting the work efficiency of the management server.

[0059] In view of this, the present invention provides a communication method for a cluster, by receiving the target data sent by the parent node of the target node, processing the target data to obtain data processing status information, and sending the data processing status information to the parent node of the target node, sending the target data to the child node of the target node, receiving the data processing status information sent by the child node of the target node, because each node of the cluster constitutes a binary tree, and the management node is the root node, and the target node is the child node, therefore, the target data can be distributed from the management node, distributed downward step by step until it is sent to the execution node, so that all nodes in the cluster can receive the target data and process it. In this process, the target node, as a child node, can not only receive and process the target data sent by its parent node based on the information distribution mechanism of the binary tree, but also distribute the target data to its child node, undertake part of the information management work of the management node, can reduce the resources occupied by the management node, and thus improve the work efficiency of the management node.

[0060] The technical solution provided by the present invention is described in detail below with reference to several specific embodiments.

[0061] Figure 2 A schematic diagram of a cluster structure provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the cluster 10 includes one management node, multiple target nodes and multiple execution nodes. The management node, target node and execution node form a binary tree, and the management node is the root node of the binary tree, the target node is the child node of the binary tree, and the execution node is the leaf node of the binary tree.

[0062] For example, multiple computers or embedded devices can be interconnected through switches to form a cluster. Figure 2 As shown, the cluster 10 includes 1 management node, 6 transmission nodes and 7 execution nodes. Among them, the 6 transmission nodes are respectively the first transmission node, the second transmission node, the third transmission node, the fourth transmission node, the fifth transmission node and the sixth transmission node. The 7 execution nodes are respectively the first execution node, the second execution node, the third execution node, the fourth execution node, the fifth execution node, the sixth execution node and the seventh execution node.

[0063] The management node is the parent node of the first transmission node and the second transmission node, the third transmission node and the fourth transmission node are the child nodes of the first transmission node, and the fifth transmission node and the sixth transmission node are the child nodes of the second transmission node. The first execution node and the second execution node are the child nodes of the third transmission node, the third execution node and the fourth execution node are the child nodes of the fourth transmission node, the fifth execution node and the sixth execution node are the child nodes of the fifth transmission node, and the seventh execution node is the child node of the sixth transmission node.

[0064] When there is target data to be sent, the management node first sends the target data to the first transmission node and the second transmission node. After receiving the target data sent by the management node, the first transmission node processes the target data, obtains data processing status information, and sends the data processing status information to the management node. Similarly, after receiving the target data sent by the management node, the second transmission node processes the target data, obtains data processing status information, and sends the data processing status information to the management node.

[0065] The first transmission node may also send the target data to the third transmission node and the fourth transmission node. After receiving the target data sent by the first transmission node, the third transmission node processes the target data to obtain data processing status information, and sends the data processing status information to the first transmission node. After receiving the target data sent by the first transmission node, the fourth transmission node processes the target data to obtain data processing status information, and sends the data processing status information to the first transmission node.

[0066] The third transmission node may also send the target data to the first execution node and the second execution node. After receiving the target data sent by the third transmission node, the first execution node processes the target data to obtain data processing status information, and sends the data processing status information to the third transmission node. After receiving the target data sent by the third transmission node, the second execution node processes the target data to obtain data processing status information, and sends the data processing status information to the third transmission node.

[0067] The fourth transmission node may also send the target data to the third execution node and the fourth execution node. After receiving the target data sent by the fourth transmission node, the third execution node processes the target data to obtain data processing status information, and sends the data processing status information to the fourth transmission node. After receiving the target data sent by the fourth transmission node, the fourth execution node processes the target data to obtain data processing status information, and sends the data processing status information to the fourth transmission node.

[0068] The second transmission node may also send the target data to the fifth transmission node and the sixth transmission node. After receiving the target data sent by the second transmission node, the fifth transmission node processes the target data to obtain data processing status information, and sends the data processing status information to the second transmission node. After receiving the target data sent by the second transmission node, the sixth transmission node processes the target data to obtain data processing status information, and sends the data processing status information to the second transmission node.

[0069] The fifth transmission node may also send the target data to the fifth execution node and the sixth execution node. After receiving the target data sent by the fifth transmission node, the fifth execution node processes the target data, obtains data processing status information, and sends the data processing status information to the fifth transmission node. After receiving the target data sent by the fifth transmission node, the sixth execution node processes the target data, obtains data processing status information, and sends the data processing status information to the fifth transmission node.

[0070] The sixth transmission node can also send the target data to the seventh execution node. After receiving the target data sent by the sixth transmission node, the seventh execution node processes the target data, obtains data processing status information, and sends the data processing status information to the sixth transmission node.

[0071] In this way, the management node can send the target data to the transmission node and receive the data processing status information sent by the transmission node. The transmission node can receive the target data sent by the parent node of the transmission node, process the target data to obtain the data processing status information, and send the data processing status information to the parent node of the transmission node. It can also send the target data to the child node of the transmission node and receive the data processing status information sent by the child node of the transmission node. The execution node can receive the target data sent by the transmission node, process the target data to obtain the data processing status information, and send the data processing status information to the transmission node.

[0072] It should be noted that this embodiment is only illustrative by taking the cluster 10 including 6 transmission nodes and 7 execution nodes as an example. In actual application functions, the number of transmission nodes and execution nodes in the cluster 10 is not limited.

[0073] The transfer node can execute the steps of any method embodiment provided by the present invention, and the method embodiment will be described in detail later.

[0074] In the embodiment of the present invention, each node in the cluster constitutes a tree transmission link, such as a binary tree, wherein the management node is the root node, the transmission node is the child node, and the execution node is the leaf node. The management node can send the target data to the transmission node and receive the data processing status information sent by the transmission node. The execution node can receive the target data sent by the transmission node, process the target data to obtain the data processing status information, and send the data processing status information to the transmission node. The transmission node can receive the target data sent by the parent node of the transmission node, process the target data to obtain the data processing status information, and send the data processing status information to the parent node of the transmission node. The target data can also be sent to the child node of the transmission node and receive the data processing status information sent by the child node of the transmission node. In this way, the target data can be distributed from the management node, distributed downward step by step until it is sent to the execution node, so that all nodes in the cluster can receive the target data and process it. In this process, the transmission node, as a child node, can not only receive and process the target data sent by its parent node, but also distribute the target data to its child node based on the information distribution mechanism of the binary tree, and undertake part of the information management work of the management node, which can reduce the resources occupied by the management node, thereby improving the work efficiency of the management node.

[0075] Figure 3 A flow chart of a communication method provided by an embodiment of the present invention is provided. Figure 3 The embodiment shown is applied to Figure 2 In the cluster shown in FIG. 1 , it is specifically applied to the transmission node in the cluster. The specific steps of the communication method are as follows: Figure 3 As shown, including:

[0076] S101, receiving target data sent by the parent node of the transmission node.

[0077] Exemplarily, the parent node of the transfer node may be a management node, for example, Figure 2 As shown, the parent node of the first transmission node and the second transmission node is a management node. The parent node of the transmission node may still be a transmission node, for example, Figure 2 As shown, the parent node of the third transmission node and the fourth transmission node is the first transmission node, and the parent node of the fifth transmission node and the sixth transmission node is the second transmission node.

[0078] If the parent node of the transmission node is a management node, the management node splits the target data into at least one protocol packet and sends all the protocol packets to the two transmission nodes, that is, the two transmission nodes can receive all the protocol packets sent by the management node. Figure 2As shown, the first transmission node and the second transmission node can receive all protocol packets sent by the management node.

[0079] The above-mentioned target data splitting process can be split according to the identification information of the target data and the verification information of the next child node, so as to generate the above-mentioned protocol packet, for example, it can be defined as a structure including command code, data type, data size, checksum and file data, etc. It can not only facilitate the recognition of the receiving party, but also improve the security of data transmission.

[0080] If the parent node of a transmission node is a transmission node, the transmission node can receive all protocol packets sent by another transmission node. Figure 2 As shown, the third transmission node and the fourth transmission node can receive all protocol packets sent by the first transmission node, and the fifth transmission node and the sixth transmission node can receive all protocol packets sent by the second transmission node.

[0081] Generally, files need to be split when they are transferred across hosts over the network. There are two reasons for this: First, the network transmission protocol limits the size of the transferred file. For example, using UDP will limit the size of the data packet. Second, it can reduce memory and CPU overhead. If the file is large, a one-time transfer will take a long time and a lot of memory.

[0082] S102, processing target data to obtain data processing status information.

[0083] Exemplarily, the data processing status information includes data processing completed and data processing incomplete. If the data processing status information is data processing completed, it indicates that the node has completed the processing of the target data. If the data processing status information is data processing incomplete, it indicates that the node has not completed the processing of the target data.

[0084] After receiving all the protocol packets, the delivery node verifies the data in all the protocol packets based on the verification code in each protocol packet. When the verification succeeds, all the protocol packets are saved, and the generated data processing status information is data processing completed. For example, if the target data is a configuration file, all the protocol packets corresponding to the configuration file are saved when all the protocol packets are verified successfully, so that the delivery node can configure the server. When the verification fails, the generated data processing status information is data processing incomplete.

[0085] S103, sending the data processing status information to the parent node of the transfer node.

[0086] Exemplarily, if the parent node of the transmission node is a management node, the transmission node sends the generated data processing status information to the management node. Figure 2 As shown, the first transmission node and the second transmission node send the data processing status information generated by each node to the management node.

[0087] If the parent node of a transmission node is a transmission node, the transmission node can send the generated data processing status information to another transmission node. Figure 2 As shown, the third transmission node and the fourth transmission node send the data processing status information generated by each of them to the first transmission node, and the fifth transmission node and the sixth transmission node send the data processing status information generated by each of them to the second transmission node.

[0088] S104, sending the target data to the child node of the transfer node.

[0089] Exemplarily, the child nodes of a transitive node may still be transitive nodes, for example, Figure 2 As shown, the child nodes of the first transmission node are the third transmission node and the fourth transmission node, and the child nodes of the second transmission node are the fifth transmission node and the sixth transmission node. The child nodes of the transmission node may also be execution nodes, for example, Figure 2 As shown, the child nodes of the third transmission node are the first execution node and the second execution node, the child nodes of the fourth transmission node are the third execution node and the fourth execution node, the child nodes of the fifth transmission node are the fifth execution node and the sixth execution node, and the child node of the sixth transmission node is the seventh execution node.

[0090] If the child node of a transmission node is a transmission node, the transmission node can send all protocol packets to the other two transmission nodes. Figure 2 As shown, the first transmission node sends all protocol packets to the third transmission node and the fourth transmission node, and the second transmission node sends all protocol packets to the fifth transmission node and the sixth transmission node.

[0091] If the child nodes of the transmission node are execution nodes, the transmission node can send all protocol packets to one or two execution nodes. Figure 2 As shown, the third transmission node sends all protocol packets to the first execution node and the second execution node, the fourth transmission node sends all protocol packets to the third execution node and the fourth execution node, the fifth transmission node sends all protocol packets to the fifth execution node and the sixth execution node, and the sixth transmission node sends all protocol packets to the seventh execution node.

[0092] S105, receiving data processing status information sent by a child node of the transmission node.

[0093] Exemplarily, after receiving all protocol packets, the child node of the transmission node processes them accordingly, generates data processing status information, and sends the data processing status information to the transmission node.

[0094] If the child node of the transmission node is a transmission node, the transmission node can send the generated data processing status information to another transmission node, that is, the transmission node can receive the data processing status information generated by the other two transmission nodes. Figure 2 As shown, the first delivery node receives the data processing status information generated by the third delivery node and the fourth delivery node respectively, and the second delivery node receives the data processing status information generated by the fifth delivery node and the sixth delivery node respectively.

[0095] If the child node of the transmission node is an execution node, the execution node sends the generated data processing status information to the transmission node, that is, the transmission node can receive the data processing status information generated by one or two execution nodes. Figure 2 As shown, the third transmission node receives the data processing status information generated by the first execution node and the second execution node respectively, the fourth transmission node receives the data processing status information generated by the third execution node and the fourth execution node respectively, the fifth transmission node receives the data processing status information generated by the fifth execution node and the sixth execution node respectively, and the sixth transmission node receives the data processing status information generated by the seventh execution node.

[0096] In summary, the target data can be distributed from the management node, distributed downward step by step until it is sent to the execution node, so that all nodes in the cluster can receive and process the target data. In this process, the transfer node, as a child node, can not only receive and process the target data sent by its parent node, but also distribute the target data to its child nodes based on the information distribution mechanism of the binary tree, thus taking on part of the information management work of the management node, reducing the resources occupied by the management node, and thus improving the work efficiency of the management node.

[0097] In some embodiments, Figure 4 A flow chart of another communication method provided by an embodiment of the present invention, Figure 4 for Figure 3 Based on the embodiment shown, before executing S101, the following step is also included:

[0098] S201, receiving a connection request signal sent by a parent node of a target node.

[0099] For example, if the parent node of the target node is a management node, the management node initiates a connection request, that is, sends a connection request signal. Figure 2 As shown, the management node sends a connection request signal, and the first target node and the second target node can receive the connection request signal sent by the management node.

[0100] If the parent node of the target node is the target node, the target node can receive a connection request signal sent by another target node. Figure 2As shown, the third target node and the fourth target node can receive the connection request signal sent by the first target node, and the fifth target node and the sixth target node can receive the connection request signal sent by the second target node.

[0101] S202: If the target node allows the link to be established, a connection request response signal is generated in response to the connection request signal.

[0102] Exemplarily, after receiving the connection request signal, the target node responds to the connection request signal and generates a connection request response signal to indicate that establishment of the communication connection is allowed.

[0103] S203: Send a connection request response signal to the parent node of the target node.

[0104] Exemplarily, if the parent node of the target node is a management node, the target node sends the generated connection request response signal to the management node. Figure 2 As shown, the first target node and the second target node send the connection request response signals generated by each of them to the management node.

[0105] If the parent node of the target node is the target node, the target node may send the generated connection request response signal to another target node. Figure 2 As shown, the third target node and the fourth target node send their own generated connection request response signals to the first target node, and the fifth target node and the sixth target node send their own generated connection request response signals to the second target node.

[0106] S204, searching for a child node configured as a target node at the current moment.

[0107] For example, the search may be performed based on a preset node connection relationship graph, wherein the preset node connection relationship graph includes the connection relationship between nodes in the cluster; or the search may be performed based on the request response mode in the current transmission link.

[0108] Exemplarily, each node in the cluster is configured based on a preset node connection relationship diagram. When a node in the cluster loses power or migrates, the node connection relationship in the cluster changes, and the preset node connection relationship diagram needs to be dynamically updated to ensure the accuracy of the preset node connection relationship diagram.

[0109] The management node can find the child nodes of the management node according to the preset node connection relationship diagram, and the target node can find the child nodes of the target node according to the preset node connection relationship diagram.

[0110] S205: Send a connection request signal to the child node of the target node.

[0111] Exemplarily, if the child node of the target node is the target node, the target node can send a connection request signal to the other two target nodes. Figure 2 As shown, the first target node sends a connection request signal to the third target node and the fourth target node, and the second target node sends a connection request signal to the fifth target node and the sixth target node.

[0112] If the child nodes of the target node are execution nodes, the target node can send a connection request signal to one or two execution nodes. Figure 2 As shown, the third target node sends a connection request signal to the first execution node and the second execution node, the fourth target node sends a connection request signal to the third execution node and the fourth execution node, the fifth target node sends a connection request signal to the fifth execution node and the sixth execution node, and the sixth target node sends a connection request signal to the seventh execution node.

[0113] S206: If the child node of the target node allows the link to be established, a connection request response signal sent by the child node of the target node is received.

[0114] Exemplarily, after receiving the connection request signal, the child node of the target node responds to it, generates a connection request response signal, and sends the connection request response signal to the target node.

[0115] If the child node of the target node is a target node, the target node can send the generated connection request response signal to another target node, that is, the target node can receive the connection request response signals generated by the other two target nodes. Figure 2 As shown, the first target node receives the connection request response signals generated by the third target node and the fourth target node respectively, and the second target node receives the connection request response signals generated by the fifth target node and the sixth target node respectively.

[0116] If the child node of the target node is an execution node, the execution node sends a connection request response signal to the target node, that is, the target node can receive the connection request response signal generated by one or two execution nodes. Figure 2 As shown, the third target node receives the connection request response signal generated by the first execution node and the second execution node respectively, the fourth target node receives the connection request response signal generated by the third execution node and the fourth execution node respectively, the fifth target node receives the connection request response signal generated by the fifth execution node and the sixth execution node respectively, and the sixth target node receives the connection request response signal generated by the seventh execution node.

[0117] S207: The target node sends at least one child node response signal to the parent node of the target node, so that the parent node establishes a tree structure link according to the target node and the child nodes of the target node.

[0118] The target node simultaneously sends the connection establishment status between itself and its child node to the parent node, and the child node receives the connection establishment status message of its subsequent node.

[0119] The connection establishment message of any child node in the tree-like transmission link will be gradually sent to the top-level management node. When all connections are established, the root node will update the tree-like transmission link and the preset node connection relationship diagram, and then send commands or data according to the preset node connection relationship diagram.

[0120] In summary, the connection request can be sent from the management node, and then sent down step by step until it is sent to the execution node, so that all nodes in the cluster can receive the connection request and respond. In this process, the target node, as a child node, can not only receive and respond to the connection request signal sent by its parent node, but also send a connection request signal to its child node based on the information distribution mechanism of the binary tree, so that the communication connection between the nodes in the cluster can be established.

[0121] In some embodiments, Figure 5 A flow chart of another communication method provided by an embodiment of the present invention is provided. Figure 5 for Figure 3 Based on the illustrated embodiment, the specific steps of the communication method further include:

[0122] S301, receiving connection status information of all child nodes corresponding to the target node.

[0123] Among them, all child nodes corresponding to the target node include the child nodes and subsequent child nodes of the target node.

[0124] Exemplarily, the connection status information is used to characterize the connection status between two nodes, and the connection status information includes normal connection and disconnected connection. The subsequent child nodes of the target node include the child nodes of the child nodes of the target node, the execution node corresponding to the target node, and all nodes between the child nodes of the child nodes of the target node and the execution node corresponding to the target node, for example, Figure 2 As shown, the child nodes of the first target node are the third target node and the fourth target node, and the subsequent child nodes of the first target node are the first execution node, the second execution node, the third execution node and the fourth execution node.

[0125] It can be understood that the target node can receive the connection status information of all child nodes corresponding to the target node. Figure 2As shown, the first target node can receive connection status information between the first target node and the third target node, connection status information between the first target node and the fourth target node, connection status information between the first execution node and the third target node, connection status information between the second execution node and the third target node, connection status information between the third execution node and the fourth target node, and connection status information between the fourth execution node and the fourth target node.

[0126] S302: Send connection status information of all child nodes corresponding to the target node to the parent node of the target node.

[0127] For example, if the parent node of the target node is the target node, the target node can send the connection status information of all corresponding child nodes to another target node. Figure 2 As shown, the third target node and the fourth target node send the connection status information of all corresponding child nodes to the first target node, and the fifth target node and the sixth target node send the connection status information of all corresponding child nodes to the second target node.

[0128] If the parent node of the target node is a management node, the target node sends the connection status information of all corresponding child nodes to the management node. Figure 2 As shown, the first target node and the second target node send the connection status information of all their corresponding child nodes to the management node.

[0129] In this way, the connection status information of all nodes is sent to the management node step by step, so that the management node can obtain the connection status information of all nodes. When all the connection status information is normal, the management node can send target data or other signals.

[0130] In some embodiments, Figure 6 A flow chart of another communication method provided by an embodiment of the present invention is provided. Figure 6 for Figure 3 Based on the embodiment shown, before executing S101, the following step is also included:

[0131] S401, receiving a data sending request signal sent by a parent node of a target node.

[0132] For example, if the parent node of the target node is a management node, the management node initiates a data transmission request, that is, sends a data transmission request signal. Figure 2 As shown, the management node sends a data sending request signal, and the first target node and the second target node can receive the data sending request signal sent by the management node.

[0133] If the parent node of the target node is the target node, the target node can receive a data transmission request signal sent by another target node. Figure 2 As shown, the third target node and the fourth target node can receive the data sending request signal sent by the first target node, and the fifth target node and the sixth target node can receive the data sending request signal sent by the second target node.

[0134] S402, generating a data sending request response signal in response to the data sending request signal.

[0135] Exemplarily, after receiving the data sending request signal, the target node responds to the data sending request signal and generates a data sending request response signal to indicate that it has been prepared to receive the target data.

[0136] S403, sending a data sending request response signal to the parent node of the target node.

[0137] Exemplarily, if the parent node of the target node is a management node, the target node sends the generated data transmission request response signal to the management node. Figure 2 As shown, the first target node and the second target node send the data sending request response signals generated by each of them to the management node.

[0138] If the parent node of the target node is the target node, the target node can send the generated data sending request response signal to another target node. Figure 2 As shown, the third target node and the fourth target node send their own generated data sending request response signals to the first target node, and the fifth target node and the sixth target node send their own generated data sending request response signals to the second target node.

[0139] S404: searching for a child node configured as a target node at the current moment according to a preset node connection relationship diagram.

[0140] The preset node connection relationship diagram includes the connection relationship between the nodes in the cluster.

[0141] Exemplarily, the implementation method is the same as that of step S204. Please refer to the specific description of S204 for details, which will not be repeated here.

[0142] S405, sending a data sending request signal to the child node of the target node.

[0143] Exemplarily, if the child node of the target node is the target node, the target node can send a data transmission request signal to the other two target nodes. Figure 2As shown, the first target node sends a data sending request signal to the third target node and the fourth target node, and the second target node sends a data sending request signal to the fifth target node and the sixth target node.

[0144] If the child nodes of the target node are execution nodes, the target node can send a data sending request signal to one or two execution nodes. Figure 2 As shown, the third target node sends a data sending request signal to the first execution node and the second execution node, the fourth target node sends a data sending request signal to the third execution node and the fourth execution node, the fifth target node sends a data sending request signal to the fifth execution node and the sixth execution node, and the sixth target node sends a data sending request signal to the seventh execution node.

[0145] S406, receiving a data sending request response signal sent by a child node of the target node.

[0146] Exemplarily, after receiving the data sending request signal, the child node of the target node responds to it, generates a data sending request response signal, and sends the data sending request response signal to the target node.

[0147] If the child node of the target node is the target node, the target node can send the generated data sending request response signal to another target node, that is, the target node can receive the data sending request response signals generated by the other two target nodes. Figure 2 As shown, the first target node receives the data sending request response signals generated by the third target node and the fourth target node respectively, and the second target node receives the data sending request response signals generated by the fifth target node and the sixth target node respectively.

[0148] If the child node of the target node is an execution node, the execution node sends a data sending request response signal to the target node, that is, the target node can receive the data sending request response signal generated by one or two execution nodes. Figure 2 As shown, the third target node receives the data sending request response signal generated by the first execution node and the second execution node respectively, the fourth target node receives the data sending request response signal generated by the third execution node and the fourth execution node respectively, the fifth target node receives the data sending request response signal generated by the fifth execution node and the sixth execution node respectively, and the sixth target node receives the data sending request response signal generated by the seventh execution node.

[0149] In summary, the data sending request signal can be sent from the management node, and then sent down step by step until it is sent to the execution node, so that all nodes in the cluster can receive the data sending request and respond. In this process, the target node, as a child node, can not only receive and respond to the data sending request signal sent by its parent node, but also send the data sending request signal to its child node based on the information distribution mechanism of the binary tree, so that each node in the cluster is ready to receive the target data.

[0150] In some embodiments, Figure 7 A flow chart of another communication method provided by an embodiment of the present invention is provided. Figure 7 for Figure 5 Based on the illustrated embodiment, the specific steps of the communication method further include:

[0151] S501: If the connection status information of all child nodes corresponding to the target node is disconnected, disconnect the connection with the parent node of the target node.

[0152] Exemplarily, when the connection status information of all child nodes corresponding to the target node is disconnected, it can be understood that the target node has no connection relationship with all child nodes, and a disconnection request signal can be sent to the parent node of the target node. After receiving the disconnection request, the parent node of the target node responds to it and generates a disconnection request response signal to indicate that it agrees to disconnect the connection with the target node. After receiving the disconnection request response signal sent by the parent node of the target node, the target node disconnects the connection with the parent node of the target node.

[0153] In other implementations, after receiving the disconnection request sent by its child node, the target node disconnects the connection with the child node of the target node.

[0154] If the child node of the target node is an execution node, and the parent node of the target node is the target node, when the connection status information sent by one or two execution nodes received by the target node indicates that the connection is disconnected, the connection between the target node and another target node is disconnected. Figure 2 As shown, when the connection status information between the third target node and the first execution node is disconnected, and the connection status information between the third target node and the second execution node is disconnected, the connection between the third target node and the first target node is disconnected. When the connection status information between the fourth target node and the third execution node is disconnected, and the connection status information between the fourth target node and the fourth execution node is disconnected, the connection between the fourth target node and the first target node is disconnected.

[0155] If the parent node of the target node is the management node and the child node of the target node is the target node, when the connection status information sent by the two target nodes received by the target node indicates that the connection is disconnected, the connection between the target node and the management node is disconnected. Figure 2 As shown, when the connection status information between the third target node and the first target node is disconnected, and the connection status information between the fourth target node and the first target node is disconnected, the connection between the first target node and the management node is disconnected. When the connection status information between the fifth target node and the second target node is disconnected, and the connection status information between the sixth target node and the second target node is disconnected, the connection between the second target node and the management node is disconnected.

[0156] In this way, the connection status information of each target node and each execution node can be targeted to the management node, so that the connection between the nodes in the cluster is destroyed starting from disconnecting the connection between the target node and the execution node, from bottom to top until disconnecting the connection between the target node and the management node.

[0157] S502: If the received data processing status information of all child nodes corresponding to the target node indicates that data processing is completed, disconnect the connection with the parent node of the target node.

[0158] For example, if the child node of the target node is an execution node and the parent node of the target node is the target node, when the data processing status information received by the target node from one or two execution nodes indicates that data processing is completed, the connection between the target node and another target node is disconnected. Figure 2 As shown, when the data processing status information of the first execution node is data processing completed, and the data processing status information of the second execution node is data processing completed, the connection between the third target node and the first target node is disconnected. When the data processing status information of the third execution node is data processing completed, and the data processing status information of the fourth execution node is data processing completed, the connection between the fourth target node and the first target node is disconnected.

[0159] If the parent node of the target node is the management node, and the child node of the target node is the target node, when the data processing status information of the two target nodes received by the target node indicates that the data processing is completed, the connection between the target node and the management node is disconnected. Figure 2 As shown, when the data processing status information of the third target node is data processing completed, and the data processing status information of the fourth target node is data processing completed, the connection between the first target node and the management node is disconnected. When the data processing status information of the fifth target node is data processing completed, and the data processing status information of the sixth target node is data processing completed, the connection between the second target node and the management node is disconnected.

[0160] In this way, the data processing status information of each target node and each execution node can be targeted to the management node, so that the connection between the nodes in the cluster is destroyed from the bottom up, starting from disconnecting the connection between the target node and the execution node until disconnecting the connection between the target node and the management node.

[0161] The embodiment of the present invention further provides a communication device, Figure 8 A schematic diagram of the structure of a communication device provided by an embodiment of the present invention, Figure 8 The embodiment shown is applied to Figure 2 In the cluster shown in FIG. 1 , the communication device 100 is specifically applied to the target node in the cluster. Figure 8 As shown, including:

[0162] The receiving module 110 is used for, if the target node is configured as a branch node at the current moment, the target node obtains the target data through the parent node configured at the current moment;

[0163] The processing module 120 is configured to split and process the target data according to the at least one child node if the target node is currently configured with at least one child node;

[0164] The sending module 130 is used to send the split target data to the at least one child node and update the tree transmission link;

[0165] The disconnection module 140 is configured to generate a disconnection request signal if the target node is not currently configured with any child node, wherein the disconnection request signal is used to request to disconnect the link between the target node and the parent node of the target node.

[0166] In some embodiments, the receiving module 110 is further configured to receive a connection request signal sent by a parent node of the target node.

[0167] The processing module 120 is also used to generate a connection request response signal in response to the connection request signal, and search for the child nodes of the target node according to a preset node connection relationship diagram, wherein the preset node connection relationship diagram includes the connection relationship between the nodes in the cluster.

[0168] The sending module 130 is further configured to send the connection request response signal to the parent node of the target node, and send the connection request signal to the child node of the target node.

[0169] The receiving module 110 is further configured to receive the connection request response signal sent by the child node of the target node.

[0170] In some embodiments, the sending module 130 in the device is further used to obtain verification information of the at least one child node and extract identification information of the target data;

[0171] A protocol data packet is generated according to the verification information of the at least one sub-node and the identification information of the target data to implement the splitting process of the target data.

[0172] In some embodiments, the disconnection module 140 in the device is further configured to disconnect the link between the target node and the parent node of the target node if the parent node of the target node receives the disconnection request signal, and update the tree transmission link;

[0173] The parent node confirms whether the links of all child nodes corresponding to the parent node are disconnected;

[0174] If the links of all child nodes corresponding to the parent node are disconnected, the parent node disconnects the parent node connected to the parent node and updates the tree-like transmission links.

[0175] In some embodiments, the device further includes an execution module, and the execution module is used to: if the child node obtains the split and processed target data and the child node is configured as an execution node at the current moment, configure the server according to the target data.

[0176] The device provided in the embodiment of the present invention can be used to execute the technical solutions of the above-mentioned method embodiments accordingly. Its implementation principles and technical effects are similar and will not be repeated here.

[0177] The embodiment of the present invention further provides a target node, comprising: at least one processor; and a memory in communication connection with the at least one processor. The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the target node executes any one of the above method embodiments.

[0178] Fig. 9 A schematic diagram of a target node structure provided by an embodiment of the present invention, Fig. 9 A block diagram of an exemplary target node suitable for implementing an embodiment of the present invention is shown.

[0179] Fig. 9 The displayed target node is only an example and shall not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0180] like Fig. 9As shown, the target node 12 is in the form of a general purpose computing device. The components of the target node 12 may include, but are not limited to: one or more processors 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processor 16).

[0181] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0182] The target node 12 typically includes a variety of computer system readable media. These media can be any media that can be accessed by the target node 12, including volatile and non-volatile media, removable and non-removable media.

[0183] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The target node 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the embodiments of the present invention.

[0184] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described in the embodiments of the present invention.

[0185] The processor 16 executes various functional applications and data processing by running at least one program among a plurality of programs stored in the system memory 28 , such as implementing the steps of the white balance processing method provided in the embodiment of the present invention.

[0186] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the above method embodiments is implemented.

[0187] Any combination of one or more computer-readable media can be used. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0188] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0189] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0190] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN) domain, or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0191] An embodiment of the present invention further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to enable the computer to execute any one of the above method embodiments.

[0192] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0193] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. 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 disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A cluster communication method, characterized in that: The cluster includes a plurality of nodes, and data is transmitted between the plurality of nodes via a tree-like transmission link, wherein the tree-like transmission link includes: a root node, a branch node, and an execution node; the method includes: If the target node is configured as a branch node at the current moment, the target node obtains the target data through the parent node configured at the current moment; If the target node is currently configured with at least one child node, splitting and processing the target data according to the at least one child node; Sending the split and processed target data to the at least one child node, and updating the tree-shaped transmission link; If the target node is not currently configured with any child node, a disconnection request signal is generated, where the disconnection request signal is used to request to disconnect the link between the target node and the parent node of the target node.

2. The method according to claim 1, characterized in that Before the target node obtains the target data through the parent node configured at the current moment, the method further includes: Receiving a link establishment request signal sent by a parent node configured by the target node at the current moment; If the target node allows the link to be established, the target node generates a response signal in response to the link establishment request signal; The response signal is sent to the parent node of the target node, so that the parent node establishes a tree-like transmission link according to the link between the parent node and the target node.

3. The method according to claim 2, characterized in that After the target node responds to the link establishment request signal, the further comprising: Find at least one child node configured as the target node at the current moment; Sending the link establishment request signal to at least one child node of the target node, so that the at least one child node confirms whether to allow the link to be established; If the at least one child node allows the link to be established, receiving the sending request response signal sent by the child node of the target node; At least one child node sends a response signal to the parent node of the target node, so that the parent node establishes a tree-like transmission link according to the target node and the child nodes of the target node.

4. The method according to claim 1, characterized in that: After sending the split and processed target data to the at least one child node, the method includes: After the at least one child node receives the processed target data, marking any child node as a target node; It is determined step by step whether the target node is configured with a child node at the current moment, until the target node is not configured with a child node at the current moment, and the tree-like transmission link is updated.

5. The method according to claim 1, characterized in that The step of splitting and processing the target data according to the at least one child node includes: Obtaining verification information of the at least one child node, and extracting identification information of the target data; A protocol data packet is generated according to the verification information of the at least one sub-node and the identification information of the target data to implement the splitting process of the target data.

6. The method according to claim 1, characterized in that The method further comprises: If the parent node of the target node receives the disconnection request signal, the link between the target node and the parent node of the target node is disconnected, and the tree transmission link is updated; The parent node confirms whether the links of all child nodes corresponding to the parent node are disconnected; If the links of all child nodes corresponding to the parent node are disconnected, the parent node disconnects the parent node connected to the parent node and updates the tree-like transmission links.

7. The method according to claim 1, characterized in that After sending the split and processed target data to the at least one child node in the method, the method includes: If the child node is currently configured as an execution node, the server is configured according to the target data.

8. A cluster communication device, characterized in that: Each node in the cluster forms a tree-like transmission link, wherein the management node is a root node, the target node is a child node, and the execution node is a leaf node; the device includes: A receiving module, configured to, if the target node is configured as a branch node at the current moment, cause the target node to obtain target data through the parent node configured at the current moment; A processing module, configured to split and process the target data according to the at least one child node if the target node is currently configured with at least one child node; A sending module, used to send the split target data to the at least one child node and update the tree transmission link; The disconnection module is used to generate a disconnection request signal if the target node is not currently configured with any child node, wherein the disconnection request signal is used to request to disconnect the link between the target node and the parent node of the target node.

9. A cluster, characterized in that: Each node in the cluster forms a tree-like transmission link, and the cluster includes: The management node is used to send the target data to the target node and receive the data processing status information sent by the target node; The execution node is used to receive the target data sent by the target node; process the target data to obtain the data processing status information, and send the data processing status information to the target node; The target node is used to perform the steps of the method described in any one of claims 1 to 7; Among them, the management node is a root node, the target node is a child node, and the execution node is a leaf node.

10. A target node, characterized in that: include: A processor, wherein the processor is used to execute a computer program stored in a memory, and when the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.