Distributed information loosely coupled distribution method and device, electronic equipment and storage medium
By receiving node data exchange configuration information in the distributed simulation system for legality verification and dynamically reconstructing the data distribution channel, the complexity of the DDS data distribution service as the number of nodes increases is solved, achieving fast response and efficient data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU HAIGE COMMUNICATION GROUP INCORPORATED COMPANY
- Filing Date
- 2021-08-25
- Publication Date
- 2026-07-28
AI Technical Summary
In distributed multi-node simulation systems, the existing DDS data distribution service becomes increasingly complex as the number of nodes increases, making it difficult to achieve efficient dynamic connections and real-time updates.
By receiving the node data exchange configuration information generated by the terminal, the system performs legality verification, establishes a data distribution channel, and dynamically reconstructs the channel when the configuration information is updated, thus avoiding the need to reconstruct the receiving rules of each node.
In the event of dynamic node changes, it enables rapid response and efficient data transmission, reducing system complexity and cost.
Smart Images

Figure CN115733625B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a distributed loosely coupled information distribution method, apparatus, electronic device, and storage medium. Background Technology
[0002] In distributed multi-node simulation systems, the complex network topology between information nodes makes the information communication connection of the simulation system very complicated. Especially with the dynamic evolution of the simulation system, when it is necessary to dynamically update the connection relationship between nodes, how to perform dynamic connection in real time and efficiently to ensure the normal evolution of the simulation system is one of the urgent problems to be solved in the simulation system.
[0003] To address this issue and improve data exchange efficiency, the main approach is to decouple the connections between nodes, making each node relatively independent. By decoupling the sending and receiving logic between nodes, the complexity of system data transmission is reduced. Currently, the primary solution for distributed data distribution is the Data Distribution Service (DDS), described as follows: DDS, published by the Object Management Group (OMG), is a data distribution / subscription standard specifically designed for real-time systems. It employs a decentralized approach, establishing connections through a node "discovery" mechanism, thereby decoupling the connections between nodes. When sending data, the sending node publishes a topic through a publisher. The sending node does not care which nodes receive the data; the receiving node only needs to subscribe to the topic published by the sending node to receive the data. In this way, decoupling between sending and receiving is achieved.
[0004] However, the applicability of DDS data distribution service in simulation systems is limited by the number of nodes. As the number of nodes increases, when the system's node transmission and reception are mainly based on mesh nodes, each node needs to subscribe to multiple topics, and each topic requires a separate thread to listen for reception. When changes occur in the system simulation, such as new nodes joining or existing nodes leaving, each node needs to reconstruct its reception rules, increasing the overall complexity of the system. Summary of the Invention
[0005] To address the problems existing in the prior art, embodiments of the present invention provide a distributed loosely coupled information distribution method, apparatus, electronic device, and storage medium.
[0006] In a first aspect, embodiments of the present invention provide a distributed loosely coupled information distribution method, comprising:
[0007] The receiving terminal generates a request based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node;
[0008] The validity of the request is verified based on the node data exchange configuration information.
[0009] If the legitimacy verification is successful, the sending node is determined to be a legitimate sending node, and a data distribution channel is established for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node;
[0010] Receive data packets sent by the sending node and determine whether the node's data exchange configuration information has been updated;
[0011] If the node data exchange configuration information is updated, a data distribution channel is established for the legitimate information sending node based on the updated node data exchange configuration information.
[0012] Furthermore, it also includes:
[0013] After receiving the data packet sent by the sending node, the legitimacy of the sending node is determined to ascertain whether the sending node is a legitimate sending node.
[0014] Furthermore, it also includes:
[0015] If the node data exchange configuration information has not been updated, data distribution is performed based on the data distribution channel.
[0016] Furthermore, the legitimacy verification based on the node data exchange configuration information in the request specifically includes:
[0017] The validity of the node data exchange configuration information in the request is verified based on a preset mapping table; the preset mapping table is used to determine whether there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node when performing the validity verification.
[0018] If there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, then the legality verification is passed;
[0019] If there is no mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, the validity verification will fail.
[0020] Furthermore, the sending information node and the receiving information node have a one-to-one relationship, and / or the sending information node and the receiving information node have a one-to-many relationship.
[0021] Secondly, embodiments of the present invention provide a distributed loosely coupled information distribution device, comprising:
[0022] The first receiving module is used to receive a request generated by the terminal based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node;
[0023] The first judgment module is used to perform legality verification based on the node data exchange configuration information in the request;
[0024] The first establishment module is used to determine the sending node as a legitimate sending node if the legitimacy verification is passed, and to establish a data distribution channel for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node;
[0025] The second receiving module is used to receive data packets sent by the sending node and determine whether the node data exchange configuration information has been updated.
[0026] The second establishment module is used to establish a data distribution channel for legitimate information sending nodes based on the updated node data exchange configuration information if the node data exchange configuration information is updated.
[0027] Furthermore, it also includes:
[0028] The second judgment module is used to perform a legality judgment on the sending information node after receiving the data packet sent by the sending information node, and to determine whether the sending information node is a legitimate sending information node.
[0029] Furthermore, it also includes:
[0030] The distribution module is used to distribute data based on the data distribution channel if the node data exchange configuration information has not been updated.
[0031] Thirdly, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the distributed loosely coupled information distribution method described in the first aspect above.
[0032] Fourthly, embodiments of the present invention also provide a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the distributed loosely coupled information distribution method described in the first aspect above.
[0033] As can be seen from the above technical solutions, the distributed loosely coupled information distribution method, apparatus, electronic device, and storage medium provided in the embodiments of the present invention receive a request generated by a terminal based on node data exchange configuration information. The node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node. The system performs a validity verification based on the node data exchange configuration information in the request. If the validity verification passes, the sending information node is determined as a valid sending information node, and a data distribution channel is established for the valid sending information node based on the node data exchange configuration information. The data distribution channel is used to distribute valid data packets. The valid data packets are data packets sent by the valid sending information node. The system receives the data packets sent by the sending information node and determines whether the node data exchange configuration information has been updated. If the node data exchange configuration information has been updated, a data distribution channel is established for the valid sending information node based on the updated node data exchange configuration information. This invention can achieve rapid response by dynamically reconstructing the data distribution channel when nodes change dynamically, which is beneficial for reducing costs. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a flowchart illustrating a distributed loosely coupled information distribution method according to an embodiment of the present invention.
[0036] Figure 2 This is a schematic diagram of a system model provided in an embodiment of the present invention;
[0037] Figure 3 This is a schematic diagram of system deployment provided in an embodiment of the present invention;
[0038] Figure 4 This is a schematic diagram of system deployment provided for another embodiment of the present invention;
[0039] Figure 5 This is a schematic diagram of the operation process provided in an embodiment of the present invention;
[0040] Figure 6 This is a schematic diagram of the structure of a distributed loosely coupled information distribution device provided in an embodiment of the present invention;
[0041] Figure 7 This is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. The distributed loosely coupled information distribution method provided by the present invention will be explained and described in detail below through specific embodiments.
[0043] Figure 1 This is a flowchart illustrating a distributed information loosely coupled distribution method according to an embodiment of the present invention; as shown below. Figure 1 As shown, the method includes:
[0044] Step 101: Receive a request generated by the terminal based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node.
[0045] In this step, it should be noted that a data simulation distribution center or server is deployed in the system to receive requests generated by the terminal based on the node data exchange configuration information.
[0046] In this step, it should be noted that several information nodes are deployed on the terminal. These information nodes can be either sending or receiving information nodes.
[0047] In this step, it should be noted that the node data exchange configuration information includes sending information nodes and receiving information nodes corresponding to the sending information nodes. For example, sending information node 1 sends data to receiving information nodes 2, 3, and 4; or sending information node 1 sends data to receiving information nodes 2, 3, 5, and 6; or sending information node 2 sends data to receiving information nodes 3 and 4; or sending information node 4 sends data to receiving information node 3.
[0048] Step 102: Perform a validity verification based on the node data exchange configuration information in the request.
[0049] In this step, it is understood that a storage mapping table or a validity verification module is set up in the data simulation distribution center or server to verify the validity of the node data exchange configuration information in the request. For example, if the pre-stored information is for information node 1, and information nodes 2, 3, 4, 7, and 8 are valid receiving information nodes, then when sending information node 1 sends data to receiving information nodes 2, 3, and 4, the validity verification passes; when sending information node 1 sends data to receiving information nodes 2, 3, 5, and 6, the validity verification fails. If the pre-stored information is for receiving information node 3, and sending nodes 1 and 4 are valid sending information nodes, then when sending information node 2 distributes data to receiving information nodes 3 and 4, the validity verification fails.
[0050] Step 103: If the legitimacy verification is passed, the sending node is determined to be a legitimate sending node, and a data distribution channel is established for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node.
[0051] In this step, it can be understood that after a legitimate sending node is identified, if the node data exchange configuration information indicates that sending node 1 sends data to receiving nodes 2, 3, and 4, then a data distribution channel is established for nodes 1-2, nodes 1-3, and nodes 1-4. This process continues, establishing channels for all legitimate sending nodes, such as establishing a data distribution channel for nodes 4-3, etc.
[0052] Step 104: Receive the data packet sent by the sending node and determine whether the node data exchange configuration information has been updated.
[0053] In this step, based on the previous steps, when a data packet is received, check whether the node's data exchange configuration information has been updated.
[0054] Step 105: If the node data exchange configuration information is updated, a data distribution channel is established for the legitimate information sending node based on the updated node data exchange configuration information.
[0055] In this step, it is understood that if an update is found after comparing the latest node data exchange configuration information, a data distribution channel needs to be established for the legitimate information sending node so that the data packets can be correctly distributed.
[0056] In this embodiment, it should be noted that the purpose of this invention is to solve the problem of dynamic connection of information nodes as the simulation evolves in a distributed multi-node simulation system. When there is a need for dynamic connection and the interface connection between multiple nodes changes dynamically, it is only necessary to adjust the connection mapping of the data simulation distribution center, without having to reconstruct the receiving rules of each node. This invention is particularly suitable for distributed multi-node simulation networks with high real-time requirements and complex and rapidly changing node connection relationships.
[0057] The node connection model of the simulation system targeted in this embodiment of the invention is as follows: Figure 2 As shown. To simplify the problem, this example illustrates that the connection model only considers the link situation of simulated nodes within a local area network. The simulation system network has M information nodes. Information processing nodes can be deployed in one or more computers depending on the hardware's computing power. The computers are connected via a network interface, ensuring that each node can communicate with the others through the network. Simultaneously, a data simulation exchange and distribution center is deployed in the network. Data from the information nodes first enters the data simulation exchange and distribution center. The data simulation exchange and distribution center distributes the data to each node according to the node data exchange configuration information, achieving data sharing within the system, such as... Figure 3 As shown, M information nodes are deployed in 2 computers. All node data is connected to the data simulation exchange and distribution center via a switch. The data simulation exchange and distribution center distributes data according to the configuration information. When there are many information nodes, the number of data simulation exchange and distribution centers can be increased to achieve load balancing and also serve as redundancy backup. Figure 4 As shown.
[0058] To better understand the present invention, the following embodiments further illustrate the content of the present invention, but the present invention is not limited to the following embodiments.
[0059] For example:
[0060] All computers and data simulation switching and distribution centers are on the same IP segment and interconnected via network switches. The node switching configuration is as follows: Node 1 sends data and distributes it to Node 2 and Node M; Node 2 sends data and distributes it to Node 1 and Node M; Node M sends data and distributes it to Node 1 and Node 2. (See [link to configuration]). Figure 5 .
[0061] Step 1: M node programs start and actively send RTS packets to the data simulation exchange and distribution center.
[0062] Step 2: At this point, there are two different situations.
[0063] 1) Case 1: The data simulation exchange and distribution center receives an RTS packet sent by a node, verifies that it is a legitimate node, sends a CTS packet to the corresponding node, which contains access permission information, and establishes a data distribution channel for this node according to the node's data exchange configuration.
[0064] 2) Scenario 2: The data simulation exchange and distribution center receives an RTS packet sent by a node, verifies that it is an illegitimate node, and sends a CTS packet containing access prohibition information to the corresponding node.
[0065] Step 3: After the system displays that all legitimate nodes have connected to the data simulation exchange and distribution center, the user starts the system simulation, and all nodes begin sending data packets.
[0066] Step 4: The node sends a data packet. After the data simulation exchange and distribution center receives the data packet from the legitimate node, it distributes the data according to the established node data distribution channel.
[0067] Step 5: The data simulation exchange and distribution center determines whether the exchange configuration information has been updated.
[0068] 1) If the configuration information is not updated, return to step 4;
[0069] 2) If the exchange configuration information is updated, the data simulation exchange and distribution center reconstructs the node data distribution channel according to the latest exchange configuration information. After completion, it returns to step 4.
[0070] Based on the distributed loosely coupled information distribution method provided in this invention, a distributed network information on-demand distribution model based on a simulation system is defined, including the distributed access of multiple information nodes, channel logical mapping, and on-demand distribution processes. The distributed loosely coupled information distribution method provided in this invention can guarantee efficient data transmission between information nodes. Even with dynamic changes in nodes, this method can quickly respond to simulation system deductions by dynamically reconstructing the node data channels of the data simulation exchange and distribution center.
[0071] Compared to the DDS data distribution service, the distributed loosely coupled information distribution method provided in this embodiment of the invention can achieve an on-demand distribution mode through the settings of steps 101 to 105. The advantage is that each information node only needs to interface with the data simulation exchange and distribution center, and does not need to reconstruct the receiving channel of each node due to the addition or reduction of nodes. This can significantly reduce the complexity of the entire system implementation when there are many nodes. In contrast, the DDS data distribution service is limited by the scale of information nodes. In the case of many-to-many connections, it needs to instantiate multiple receiving channels, and dynamically reconstruct the receiving channel of each node when the system nodes change, which increases resources and overhead and increases the complexity of the system, especially on nodes with limited resources.
[0072] As can be seen from the above technical solution, the distributed loosely coupled information distribution method provided by this invention receives a request generated by a terminal based on node data exchange configuration information. The node data exchange configuration information includes a sending node and a receiving node corresponding to the sending node. The method performs a validity verification based on the node data exchange configuration information in the request. If the validity verification passes, the sending node is determined as a valid sending node, and a data distribution channel is established for the valid sending node based on the node data exchange configuration information. The data distribution channel is used to distribute valid data packets. The valid data packets are data packets sent by the valid sending node. The method receives the data packets sent by the sending node and determines whether the node data exchange configuration information has been updated. If the node data exchange configuration information has been updated, a data distribution channel is established for the valid sending node based on the updated node data exchange configuration information. This invention can achieve rapid response by dynamically reconstructing the data distribution channel when nodes change dynamically, which helps reduce costs.
[0073] Based on the above embodiments, this embodiment further includes:
[0074] After receiving the data packet sent by the sending node, the legitimacy of the sending node is determined to ascertain whether the sending node is a legitimate sending node.
[0075] In this implementation, it is understood that when there is a dynamic connection requirement, and the interface connection between multiple information nodes changes dynamically, the preset connection mapping needs to be adjusted. Therefore, for a certain receiving information node, the sending information node that has a mapping relationship with the receiving information node may change. In this case, it is necessary to further determine the legitimacy of the sending information node to determine whether the sending information node is still a legitimate sending information node.
[0076] As can be seen from the above technical solution, the distributed loosely coupled information distribution method provided by the embodiments of the present invention, by performing a legality judgment on the sending information node after receiving the data packet sent by the sending information node, determines whether the sending information node is a legitimate sending information node, which is beneficial to the accuracy of data distribution and avoids losses caused by untimely system response.
[0077] Based on the above embodiments, this embodiment further includes:
[0078] If the node data exchange configuration information has not been updated, data distribution is performed based on the data distribution channel.
[0079] In this implementation, it is understood that if the judgment result is that the node data exchange configuration information has not been updated, then the data distribution can be completed based on the data distribution channel established initially or in the previous opinion.
[0080] Based on the above embodiments, in this embodiment, the legitimacy verification based on the node data exchange configuration information in the request specifically includes:
[0081] The validity of the node data exchange configuration information in the request is verified based on a preset mapping table; the preset mapping table is used to determine whether there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node when performing the validity verification.
[0082] If there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, then the legality verification is passed;
[0083] If there is no mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, the validity verification will fail.
[0084] Based on the above embodiments, in this embodiment, the sending information node and the receiving information node have a one-to-one relationship, and / or the sending information node and the receiving information node have a one-to-many relationship.
[0085] In this embodiment, it can be understood that the sending information node and the receiving information node have a one-to-one relationship, such as sending information node 1 sending data to information node 2; the sending information node and the receiving information node have a one-to-many relationship, such as sending information node 1 sending data to information nodes 2 and M; the sending information node and the receiving information node have a one-to-one relationship, and the sending information node and the receiving information node have a one-to-many relationship, such as sending information node 1 sending data to information nodes 2 and M, and sending information node 2 sending data to information node 5.
[0086] As can be seen from the above technical solutions, the distributed loosely coupled information distribution method provided by the embodiments of the present invention, through the one-to-one relationship between the sending information node and the receiving information node, and / or the one-to-many relationship between the sending information node and the receiving information node, is conducive to achieving flexible configuration.
[0087] Figure 6 This is a schematic diagram of the structure of a distributed loosely coupled information distribution device provided in an embodiment of the present invention, as shown below. Figure 6As shown, the device includes: a first receiving module 201, a first judging module 202, a first establishing module 203, a second receiving module 204, and a second establishing module 205, wherein:
[0088] The first receiving module 201 is used to receive a request generated by the terminal based on node data exchange configuration information; wherein the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node.
[0089] The first judgment module 202 is used to perform legality verification based on the node data exchange configuration information in the request;
[0090] The first establishment module 203 is used to determine the sending node as a legitimate sending node if the legitimacy verification is passed, and to establish a data distribution channel for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node;
[0091] The second receiving module 204 is used to receive data packets sent by the sending information node and determine whether the node data exchange configuration information has been updated.
[0092] The second establishment module 205 is used to establish a data distribution channel for legitimate information sending nodes based on the updated node data exchange configuration information if the node data exchange configuration information is updated.
[0093] The distributed loosely coupled information distribution device provided in this embodiment of the invention can be used to execute the distributed loosely coupled information distribution method of the above embodiments. Its technical principle and beneficial effects are similar, and can be found in the above embodiments. It will not be repeated here.
[0094] Based on the same inventive concept, embodiments of the present invention provide an electronic device, see [link to relevant documentation]. Figure 7 The electronic device specifically includes the following components: processor 301, communication interface 303, memory 302, and communication bus 304;
[0095] The processor 301, communication interface 303, and memory 302 communicate with each other via communication bus 304. Communication interface 303 is used to realize information transmission between various modeling software and related devices such as intelligent manufacturing equipment module libraries. The processor 301 is used to call the computer program in memory 302. When the processor executes the computer program, it implements the methods provided in the above-mentioned method embodiments. For example, when the processor executes the computer program, it implements the following steps: receiving a request generated by a terminal based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node; based on the request... The node data exchange configuration information is validated for legitimacy. If the validation passes, the sending node is identified as a legitimate sending node, and a data distribution channel is established for the legitimate sending node based on the node data exchange configuration information. The data distribution channel is used to distribute legitimate data packets. The legitimate data packets are those sent by the legitimate sending node. The system receives the data packets sent by the sending node and determines whether the node data exchange configuration information has been updated. If the node data exchange configuration information has been updated, a data distribution channel is established for the legitimate sending node based on the updated node data exchange configuration information.
[0096] Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, this computer program performs the methods provided in the above-described method embodiments. For example, it receives a request generated by a terminal based on node data exchange configuration information; wherein the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node; performs a validity verification based on the node data exchange configuration information in the request; if the validity verification passes, the sending information node is determined as a valid sending information node, and a data distribution channel is established for the valid sending information node based on the node data exchange configuration information; wherein the data distribution channel is used to distribute valid data packets; the valid data packets are data packets sent by the valid sending information node; receives data packets sent by the sending information node, and determines whether the node data exchange configuration information has been updated; if the node data exchange configuration information has been updated, a data distribution channel is established for the valid sending information node based on the updated node data exchange configuration information.
[0097] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0098] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0099] Furthermore, in this invention, terms such as "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0100] Furthermore, in this invention, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0101] Furthermore, in the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A distributed information loosely coupled distribution method, characterized in that, include: The receiving terminal generates a request based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node; The validity of the request is verified based on the node data exchange configuration information. If the legitimacy verification is successful, the sending node is determined to be a legitimate sending node, and a data distribution channel is established for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node; The data sent by the information sending node first enters the data simulation exchange and distribution center, and the data simulation exchange and distribution center distributes the data according to the node data exchange configuration information. Receive data packets sent by the sending node and determine whether the node's data exchange configuration information has been updated; If the node data exchange configuration information is updated, the connection mapping relationship in the data simulation exchange and distribution center is adjusted, and a data distribution channel is established for the legitimate information sending node based on the updated node data exchange configuration information.
2. The distributed loosely coupled information distribution method according to claim 1, characterized in that, Also includes: After receiving the data packet sent by the sending node, the legitimacy of the sending node is determined to ascertain whether the sending node is a legitimate sending node.
3. The distributed loosely coupled information distribution method according to claim 1, characterized in that, Also includes: If the node data exchange configuration information has not been updated, data distribution is performed based on the data distribution channel.
4. The distributed loosely coupled information distribution method according to claim 1, characterized in that, The legitimacy verification based on the node data exchange configuration information in the request specifically includes: The validity of the node data exchange configuration information in the request is verified based on a preset mapping table; the preset mapping table is used to determine whether there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node when performing the validity verification. If there is a mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, then the legality verification is passed; If there is no mapping relationship between the sending information node and the receiving information node corresponding to the sending information node, the validity verification will fail.
5. The distributed loosely coupled information distribution method according to claim 1, characterized in that, The sending node and the receiving node have a one-to-one relationship, and / or the sending node and the receiving node have a one-to-many relationship.
6. A distributed information loosely coupled distribution device, characterized in that, The method for implementing any one of claims 1-5 includes: The first receiving module is used to receive a request generated by the terminal based on node data exchange configuration information; wherein, the node data exchange configuration information includes a sending information node and a receiving information node corresponding to the sending information node; The first judgment module is used to perform legality verification based on the node data exchange configuration information in the request; The first establishment module is used to determine the sending node as a legitimate sending node if the legitimacy verification is passed, and to establish a data distribution channel for the legitimate sending node based on the node data exchange configuration information; wherein, the data distribution channel is used to distribute legitimate data packets; the legitimate data packets are data packets sent by the legitimate sending node; The second receiving module is used to receive data packets sent by the sending node and determine whether the node data exchange configuration information has been updated. The second establishment module is used to establish a data distribution channel for legitimate information sending nodes based on the updated node data exchange configuration information if the node data exchange configuration information is updated.
7. The distributed loosely coupled information distribution device according to claim 6, characterized in that, Also includes: The second judgment module is used to perform a legality judgment on the sending information node after receiving the data packet sent by the sending information node, and to determine whether the sending information node is a legitimate sending information node.
8. The distributed loosely coupled information distribution device according to claim 6, characterized in that, Also includes: The distribution module is used to distribute data based on the data distribution channel if the node data exchange configuration information has not been updated.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the distributed loosely coupled information distribution method as described in any one of claims 1 to 5.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the distributed loosely coupled information distribution method as described in any one of claims 1 to 5.