A multi-layer message mechanism distributed cluster communication management method and system

By adopting a hierarchical multi-layer message mechanism and message ring signal transmission in distributed devices, the problem of inefficient message transmission in distributed devices is solved, and efficient message transmission and clustering scheme are realized.

CN115348277BActive Publication Date: 2025-01-03BEIJING TANWEIXINLIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210972475.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2025-01-03
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

The message channels of currently distributed devices are relatively single, resulting in horizontal and vertical message storage isolation, resulting in inefficient cluster message transmission.

Method used

Using a hierarchical multi-layer message mechanism, a multi-layer message ring is built, and through signal transmission between each layer message ring, the message transmission efficiency in a distributed cluster is improved.

Benefits of technology

Through the multi-layer message ring mechanism, the message transmission efficiency of distributed clusters is improved, efficient message transmission is realized, the problem of multi-message layers is solved, and a cluster solution with message mechanism is built.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348277B_ABST
    Figure CN115348277B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-layer message mechanism distributed cluster communication management method and system, and relates to the field of communication technology. The method comprises: constructing a multi-layer message ring; acquiring and using each layer of message rings according to task requirements to transmit messages between working nodes in a distributed cluster according to a preset message ring transmission packet protocol. The present invention adopts a multi-layer message mechanism with distinct hierarchies, and the message rings also complete signal transmission with each other, which solves the problem of multiple message layers of distributed clusters, greatly improves the efficiency of distributed cluster message transmission, and constructs a cluster solution based on a message mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multi-layer message mechanism distributed cluster communication management method and system. Background Art

[0002] The current distributed device message channel is relatively simple, and there is a phenomenon of horizontal and vertical message storage isolation, which leads to low cluster message transmission efficiency. Therefore, it is necessary to effectively improve the message transmission and message transmission speed of message rings at different levels and latitudes. Summary of the invention

[0003] In order to overcome the above-mentioned problems or at least partially solve the above-mentioned problems, an embodiment of the present invention provides a distributed cluster communication management method and system with a multi-layer message mechanism, which adopts a multi-layer message mechanism with clear hierarchy, and the message rings also complete signal transmission with each other, thereby solving the multi-message layer problem of the distributed cluster, greatly improving the distributed cluster message transmission efficiency, and constructing a cluster solution based on the message mechanism.

[0004] The embodiment of the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides a multi-layer message mechanism distributed cluster communication management method, comprising the following steps:

[0006] Build a multi-layer message ring;

[0007] Obtain and use each layer of message ring according to the preset message ring transmission packet protocol to transmit messages between each working node in the distributed cluster according to task requirements.

[0008] In order to solve the problems in the prior art, the present invention adopts a multi-layer message ring mechanism to transmit messages between distributed cluster storage computing nodes, which greatly improves the transmission efficiency. The independence and decoupling of the single-layer message ring; the hierarchical message ring combines messages and data according to the needs; the present invention realizes the high-efficiency transmission of cluster messages. By adopting a hierarchical message mechanism, the message rings can also complete signal transmission with each other, which solves the problem of multiple message layers in distributed clusters, greatly improves the transmission efficiency of distributed cluster messages, and constructs a cluster solution based on the message mechanism.

[0009] Based on the first aspect, in some embodiments of the present invention, the multi-layer message ring includes a first-layer message ring, a second-layer message ring and a third-layer message ring, wherein:

[0010] The first layer message ring includes service control information, which is used in conjunction with the MPI distributed computing model;

[0011] The second layer message ring includes routing information and triggering information, which is used to complete the routing forwarding of signaling, and the triggering and synchronization of the working sequence between low-level execution modules;

[0012] The third-layer message ring has a timing feature, which is used to implement the working timing and resource management within the low-level execution module.

[0013] Based on the first aspect, in some embodiments of the present invention, the multi-layer message mechanism distributed cluster communication management method further includes the following steps:

[0014] Longitude signaling is transmitted between message rings at each layer.

[0015] Based on the first aspect, in some embodiments of the present invention, the multi-layer message mechanism distributed cluster communication management method further includes the following steps:

[0016] Dimensional message transmission is performed within each layer of the message ring.

[0017] Based on the first aspect, in some embodiments of the present invention, the first layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols includes a frame header, a valid communication byte, a backup code, a protocol type, a default code, a data type, a request ID+communication type, a signaling content, a checksum high eight bits, a checksum middle eight bits, a checksum eighth bit, and a frame tail.

[0018] Based on the first aspect, in some embodiments of the present invention, the second layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols includes CRC check, signaling and packet header, routing, source address, destination ID, trigger type and semaphore type.

[0019] Based on the first aspect, in some embodiments of the present invention, the third layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols includes CRC check, signaling + data flow information and packet header, source address, destination ID, executor status, mutex address and mutex type.

[0020] In a second aspect, an embodiment of the present invention provides a multi-layer message mechanism distributed cluster communication management system, including: a multi-layer construction module and a hierarchical transmission module, wherein:

[0021] Multi-layer building blocks for building multi-layer message rings;

[0022] The hierarchical transmission module is used to obtain and use each layer of message rings according to the preset message ring transmission packet protocols to transmit messages between the working nodes in the distributed cluster according to the task requirements.

[0023] In order to solve the problems in the prior art, this system builds a multi-layer message ring by cooperating with a multi-layer construction module and a hierarchical transmission module, and then transmits messages between different message rings based on the preset message ring transmission packet protocol of each layer in combination with different task requirements. The use of a multi-layer message ring mechanism for message transmission between distributed cluster storage and computing nodes greatly improves the transmission efficiency. The independence and decoupling of individual layer message rings; the hierarchical message ring combines messages and data according to requirements; the present invention realizes efficient transmission of cluster messages. With a clearly hierarchical message mechanism, signal transmission can be completed between message rings, which solves the problem of multiple message layers in distributed clusters, greatly improves the efficiency of distributed cluster message transmission, and constructs a cluster solution based on a message mechanism.

[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing one or more programs and a processor. When the one or more programs are executed by the processor, any method in the first aspect is implemented.

[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method as described in any one of the first aspects above.

[0026] The embodiments of the present invention have at least the following advantages or beneficial effects:

[0027] The embodiment of the present invention provides a multi-layer message mechanism distributed cluster communication management method and system, which adopts a multi-layer message ring mechanism to transmit messages between distributed cluster storage computing nodes, greatly improving the transmission efficiency. The independence and decoupling of the individual layer message rings; the hierarchical message rings combine messages and data according to the needs; the present invention realizes the high-efficiency transmission of cluster messages. By adopting a hierarchical message mechanism, the message rings can also complete signal transmission with each other, solving the problem of multiple message layers of distributed clusters, greatly improving the transmission efficiency of distributed cluster messages, and constructing a cluster solution based on the message mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 A schematic diagram of data transmission between distributed cluster nodes through a three-layer message ring according to an embodiment of the present invention;

[0030] Figure 2A flowchart of a multi-layer message mechanism distributed cluster communication management method according to an embodiment of the present invention;

[0031] Figure 3 A flowchart of the logical association of data transmission of each layer of message rings in an embodiment of the present invention;

[0032] Figure 4 A schematic diagram of the composition of the layer 2 message ring transmission packet protocol according to an embodiment of the present invention;

[0033] Figure 5 A schematic diagram of the composition of the layer 3 message ring transmission packet protocol according to an embodiment of the present invention;

[0034] Figure 6 A principle block diagram of a multi-layer message mechanism distributed cluster communication management system according to an embodiment of the present invention;

[0035] Figure 7 A structural block diagram of an electronic device provided by an embodiment of the present invention.

[0036] Explanation of reference numerals: 100, multi-layer building module; 200, hierarchical transmission module; 101, memory; 102, processor; 103, communication interface. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0038] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0040] It should be noted that, in this article, relational terms such as first and second, etc. 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 term "comprise" or any other variant thereof is 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.

[0041] In the description of the embodiments of the present invention, it should be noted that if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invented product is usually placed when used. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0042] In the description of the embodiments of the present invention, "plurality" means at least 2.

[0043] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0044] Example:

[0045] like Figure 1-Figure 5 As shown, in a first aspect, an embodiment of the present invention provides a multi-layer message mechanism distributed cluster communication management method, comprising the following steps:

[0046] S1. Build a multi-layer message ring;

[0047] Further, based on the first aspect, in some embodiments of the present invention, the multi-layer message ring includes a first-layer message ring, a second-layer message ring and a third-layer message ring, wherein:

[0048] The first-layer message ring includes service control information, which is used in conjunction with the MPI distributed computing model; the second-layer message ring includes routing information and triggering information, which is used to complete the routing forwarding of signaling, the triggering and synchronization of the working sequence between low-level execution modules; the third-layer message ring has timing characteristics, which is used to realize the working sequence and resource management within the low-level execution module. The low-level execution module includes an instruction executor, an execution management unit, a computing unit, a transmission unit, etc.

[0049] In some embodiments of the present invention, the first-layer message ring: a variable-length message ring, which has certain business control information inside and can be used in conjunction with the MPI distributed computing model. For example, for a multi-server cluster system using multi-layer messages, the cluster system is composed of traditional servers and slave device ends, and has the characteristics of multi-tasking. Assuming that there are multiple tasks (a single task corresponds to a process) in the current multi-server cluster system. Data transmission or communication between, the message protocol package of the first-layer message ring can be applied to both traditional servers (dimensional transmission) and between traditional servers and slave device ends (longitude transmission).

[0050] For the multi-tasking of traditional servers, the processing function of the first-layer message ring will call the MPI distributed computing model interface for transmission processing;

[0051] For the use of traditional servers and slave devices in conjunction, in addition to the above transmission, message transmission between the traditional server and the slave device is also added.

[0052] The second layer message ring: has routing information, source address and destination address information, and control information (trigger type and semaphore type), which can complete the routing forwarding of signaling and combine with the third layer message ring to realize the triggering and synchronization of the working sequence between low-level execution modules.

[0053] The third-level message ring has a more compact timing feature and provides synchronization and mutual exclusion features. The third-level message package contains the executor status, mutex address and type, and data flow information. Using the above information, the internal working timing and resource management of the low-level execution module can be realized. Through the executor status and mutex, the start, wait, and stop states of the corresponding processing unit can be controlled to complete the control of the working timing of the low-level execution module; combined with the data flow information, the communication transmission process can also be controlled, thereby realizing the resource scheduling of multiple tasks (a single task occupies multiple execution bodies).

[0054] Further, based on the first aspect, in some embodiments of the present invention, the multi-layer message mechanism distributed cluster communication management method further includes the following steps: performing longitude signaling transmission between message rings of each layer.

[0055] Further, based on the first aspect, in some embodiments of the present invention, the multi-layer message mechanism distributed cluster communication management method further includes the following steps: dimensional message transmission is performed within each layer of the message ring.

[0056] The message ring is divided into three layers, including the first layer message ring, the second layer message ring and the third layer message ring, which have the following characteristics:

[0057] Messages can be transmitted between the first-layer message ring, the second-layer message ring and the third-layer message ring, which is called longitude signaling transmission.

[0058] Message passing within the first-layer message ring, message passing within the second-layer message ring, and message passing within the third-layer message ring are called: dimensional message passing.

[0059] The message rings at each layer are interrelated, mainly including the relationship between the content formats of the protocol packets at each layer and the logical relationship between the data transmission at each layer, including:

[0060] The relationship between protocol packets at each layer: the signaling content of the first layer message is the second layer message packet, and the message content of the second layer message is the third layer message packet.

[0061] Each layer of message ring performs logical association for data transmission, such as Figure 3 As shown, including:

[0062] A1. The first-layer message packet enters the dimension judgment step: judge whether the first-layer message packet is dimension transmission, if yes, enter the first-layer message loop for transmission, otherwise, enter the longitude transmission, enter the second-layer message loop, and execute step A2;

[0063] A2, the second layer message packet enters the dimension judgment step: judge whether the second layer message packet is dimension transmission, if so, enter the second layer message ring for transmission, otherwise, enter the longitude transmission and enter the third layer message ring;

[0064] A3. Entering the third layer message ring, it is transmitted to the final processing unit.

[0065] S2. Acquire and use each layer of message rings according to the preset message ring transmission packet protocols of each layer to transmit messages between the working nodes in the distributed cluster according to the task requirements.

[0066] Further, as shown in Table 1 (Table 1 is the first layer message ring transmission packet protocol), based on the first aspect, in some embodiments of the present invention, the first layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols of each layer includes a frame header, a valid communication byte, a spare code, a protocol type, a default code, a data type, a request ID+communication type, a signaling content, a checksum high eight bits, a checksum middle eight bits, a checksum eighth bit, and a frame tail.

[0067] Table 1:

[0068]

[0069] Furthermore, if Figure 4 As shown, based on the first aspect, in some embodiments of the present invention, the second layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols includes CRC check, signaling and packet header, routing, source address, destination ID, trigger type and semaphore type.

[0070] Furthermore, if Figure 5 As shown, based on the first aspect, in some embodiments of the present invention, the third layer message ring transmission packet protocol in the above-mentioned preset message ring transmission packet protocols includes CRC check, signaling + data flow information and packet header, source address, destination ID, executor status, mutex address and mutex type.

[0071] In some embodiments of the present invention, after the corresponding multi-layer message ring is constructed, each distributed cluster storage computing node uses the above-constructed message rings to transmit different data, and the message rings of different levels in each cluster correspond to each other, and transmit different data in a targeted manner. The message rings of each layer in each cluster can also transmit data to each other. The three-layer message ring constructed based on the present invention is associated with each other, and each layer of the message ring can also transmit data independently, so as to realize the efficient transmission of messages of each working node of the distributed cluster.

[0072] In order to solve the problems in the prior art, the present invention adopts a multi-layer message ring mechanism to transmit messages between distributed cluster storage computing nodes, which greatly improves the transmission efficiency. The independence and decoupling of the single-layer message ring; the hierarchical message ring combines messages and data according to demand; the present invention realizes efficient transmission of cluster messages. The present invention adopts a hierarchical message mechanism, the multi-layer message ring protocol is clearly decoupled, the message package protocols at each level are rich, and the message rings also complete signal transmission with each other, which solves the problem of multiple message layers in distributed clusters (the division of multiple message layers is unclear, and the problem of mutual invasion of message layers), greatly improves the transmission efficiency of distributed cluster messages, and constructs a cluster solution based on a message mechanism.

[0073] like Figure 6As shown, in a second aspect, an embodiment of the present invention provides a multi-layer message mechanism distributed cluster communication management system, including: a multi-layer construction module 100 and a hierarchical transmission module 200, wherein:

[0074] A multi-layer construction module 100 is used to construct a multi-layer message ring;

[0075] The hierarchical transmission module 200 is used to obtain and use each layer of message rings according to the preset message ring transmission packet protocols of each layer to transmit messages between the working nodes in the distributed cluster according to the task requirements.

[0076] In order to solve the problems in the prior art, the system builds a multi-layer message ring through the cooperation of a multi-layer construction module 100 and a hierarchical transmission module 200, and then transmits messages between different message rings based on the preset message ring transmission packet protocol of each layer in combination with different task requirements. The use of a multi-layer message ring mechanism for message transmission between distributed cluster storage and computing nodes greatly improves the transmission efficiency. The independence and decoupling of individual layer message rings; the hierarchical message ring combines messages and data according to requirements; the present invention realizes efficient transmission of cluster messages. With a clearly hierarchical message mechanism, signal transmission can be completed between message rings, which solves the problem of multiple message layers in distributed clusters, greatly improves the efficiency of distributed cluster message transmission, and constructs a cluster solution based on a message mechanism.

[0077] like Figure 7 As shown, in a third aspect, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs and a processor 102. When the one or more programs are executed by the processor 102, any method in the first aspect described above is implemented.

[0078] The memory 101, the processor 102 and the communication interface 103 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 101. The communication interface 103 can be used to communicate signaling or data with other node devices.

[0079] Among them, the memory 101 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0080] The processor 102 may be an integrated circuit chip with signal processing capability. The processor 102 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0081] In the embodiments provided in the present application, it should be understood that the disclosed methods, systems and methods can also be implemented in other ways. The method and system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the methods, systems, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0082] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0083] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor 102, a method as in any one of the first aspects described above is implemented. If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

[0084] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0085] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A multi-layer message mechanism distributed cluster communication management method, characterized in that: The following steps are involved: Construct a multi-layer message ring; the multi-layer message ring includes a first-layer message ring, a second-layer message ring and a third-layer message ring, wherein: the first-layer message ring includes business control information for use with the MPI distributed computing model; the second-layer message ring includes routing information and triggering information for completing the routing forwarding of signaling, triggering and synchronization of the working sequence between low-level execution modules; the third-layer message ring has a timing feature for realizing the working sequence and resource management within the low-level execution module; Obtain and use each layer of message ring according to the preset message ring transmission packet protocol to transmit messages between each working node in the distributed cluster according to task requirements.

2. A multi-layer message mechanism distributed cluster communication management method according to claim 1, characterized in that: The following steps are also included: Longitude signaling is transmitted between message rings at each layer.

3. A multi-layer message mechanism distributed cluster communication management method according to claim 1, characterized in that: The following steps are also included: Dimensional message transmission is performed within each layer of the message ring.

4. A multi-layer message mechanism distributed cluster communication management method according to claim 1, characterized in that: The first layer message ring transmission packet protocol in the preset message ring transmission packet protocols of each layer includes a frame header, a valid communication byte, a spare code, a protocol type, a default code, a data type, a request ID+communication type, a signaling content, a checksum high eight bits, a checksum middle eight bits, a checksum eighth bit and a frame tail.

5. A multi-layer message mechanism distributed cluster communication management method according to claim 1, characterized in that: The second layer message ring transmission packet protocol in the preset message ring transmission packet protocols of each layer includes CRC check, signaling and packet header, routing, source address, destination ID, trigger type and semaphore type.

6. A multi-layer message mechanism distributed cluster communication management method according to claim 1, characterized in that: The third layer message ring transmission packet protocol in the preset message ring transmission packet protocols of each layer includes CRC check, signaling+data flow information and packet header, source address, destination ID, actuator status, mutex address and mutex type.

7. A multi-layer message mechanism distributed cluster communication management system, characterized in that: include: Multi-layer building blocks and multi-layer transmission modules, where: A multi-layer construction module is used to construct a multi-layer message ring; the multi-layer message ring includes a first-layer message ring, a second-layer message ring and a third-layer message ring, wherein: the first-layer message ring includes business control information for use with the MPI distributed computing model; the second-layer message ring includes routing information and triggering information for completing the routing forwarding of signaling, triggering and synchronization of the working sequence between low-level execution modules; the third-layer message ring has a timing feature for realizing the working sequence and resource management inside the low-level execution module; The hierarchical transmission module is used to obtain and use each layer of message rings according to the preset message ring transmission packet protocols to transmit messages between the working nodes in the distributed cluster according to the task requirements.

8. An electronic device, characterized in that: include: A memory for storing one or more programs; processor; When the one or more programs are executed by the processor, the method according to any one of claims 1 to 6 is implemented.

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