Method and system for realizing cross-network equipment networking in distributed soft bus
By using proxy nodes in a distributed soft bus system for cross-network device networking and data synchronization, the problem of difficulty in interconnecting and sharing of data in traditional networks is solved, and efficient interconnection and flexible data synchronization management of devices in heterogeneous networks is realized.
Patent Information
- Application Number
- CN202411404992.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-10-10
AI Technical Summary
Due to different network segments and protocol stacks, different devices make it difficult to achieve seamless interconnection and data sharing in traditional networks, and traditional solutions have shortcomings in heterogeneous networks, dynamic network topology, scalability and flexibility.
The distributed soft bus technology is used to separate network control from data transmission, and the networking of cross-network equipment is realized in the distributed soft bus system through proxy nodes, including cross-network discovery, device authentication and cross-network data synchronization, and differentiated data synchronization management is used to use technologies such as policy configuration and similarity measurement.
It realizes the network interconnection of devices in heterogeneous networks safely and efficiently, and builds a scalable, dynamically programmable cross-network device interconnection system, which improves the flexibility and programmability of the network.
Smart Images

Figure CN119544502A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of network communication, and in particular relates to a method and system for realizing cross-network device networking in a distributed soft bus. Background Art
[0002] With the rapid development of the Internet of Things and the Internet of Vehicles, more and more devices need to be interconnected to achieve real-time data sharing and business collaboration. However, since different devices may belong to different network segments and use different protocol stacks, the interconnection and data sharing between devices face many challenges.
[0003] Traditional solutions usually deploy middleware such as gateways at the network edge to achieve cross-network protocol conversion and data forwarding. However, this approach increases deployment costs and has poor scalability and flexibility for heterogeneous networks and dynamic network topologies.
[0004] Distributed soft bus (SDN, Software Defined Network) technology came into being. It separates network control from data transmission, dynamically manages and configures the entire network through a centralized controller, makes network logic more flexible and programmable, and can quickly respond to network changes.
[0005] Based on distributed soft bus technology, seamless interconnection and communication across networks and platforms can be achieved. The proxy node in the distributed soft bus system can act as a network boundary agent to establish a secure channel with the proxy nodes of other networks to achieve cross-network resource discovery, authentication and data synchronization. At the same time, through technologies such as distributed ledgers, device information and relationship topology in the network can be managed and recorded in a decentralized manner. Summary of the invention
[0006] In view of this, the present invention provides a method for implementing cross-network device networking in a distributed soft bus, the distributed soft bus system includes at least one software defined radio (SDR), at least one proxy node and at least one leaf node, the method includes the following steps:
[0007] Step 1: The at least one proxy node monitors the cross-network port online message and triggers cross-network discovery;
[0008] Step 2, after the cross-network discovery is completed, the at least one proxy node triggers the networking between the proxy node and other proxy nodes, and the networking between the proxy node and its subordinate leaf nodes, and completes the authentication between the proxy nodes and between the proxy nodes and the leaf nodes respectively;
[0009] Step 3: After the device networking is completed, start cross-network data synchronization, synchronize the leaf node information under the local proxy node to the peer proxy node, synchronize the peer proxy node information to the local leaf node, and synchronize the leaf node information under the peer proxy node to the local leaf node;
[0010] Step 4: After the cross-network data synchronization is completed, the at least one proxy node saves the proxy node and leaf node information and their subordinate relationships.
[0011] In particular, the step 1 specifically includes: the proxy node monitors the state change of the cross-network port through the network interface or a specific network monitor;
[0012] When the inter-network port is online, that is, when it is connected to the inter-network network, the proxy node can sense the change in the port status. Once the proxy node detects the inter-network port online message, it triggers the inter-network discovery process;
[0013] Cross-network discovery refers to the process in which the proxy node begins to actively explore other nodes in the network to establish the network topology and obtain relevant information of other nodes. The proxy node communicates with other nodes by sending specific discovery messages or detection packets in the cross-network to obtain information about other nodes. The proxy node builds the topology of the cross-network based on the collected information of other nodes to understand the connection relationship between nodes.
[0014] In particular, in step 2, a pre-shared key authentication method or an authentication method based on a Diffie-Hellman key exchange algorithm is selected to complete authentication between proxy nodes and authentication between proxy nodes and leaf nodes.
[0015] In particular, in step 3, synchronization between leaf nodes is first performed by policy configuration, and then synchronization between leaf nodes is performed by similarity measurement.
[0016] In particular, the synchronization between leaf nodes is achieved by means of policy configuration, including: synchronization between leaf nodes is achieved by means of business relationship policy, data importance level policy or data life cycle policy.
[0017] In particular, synchronizing leaf nodes by similarity measurement specifically includes: calculating the similarity measurement between leaf nodes by the following algorithm:
[0018]
[0019] in, Q (i) 'Represents the information of the local leaf node and the peer leaf node respectively;
[0020] FT stands for Fourier transform, IFT stands for inverse Fourier transform, conj stands for complex conjugate, and p stands for an index used to adjust the correlation metric. The node information includes sensor data, device status, and network traffic, which have periodic or frequency domain characteristics.
[0021] Set a similarity threshold θ if This means that the data of the two leaf nodes are highly similar, so data synchronization of the leaf node is skipped; if This means that the data of the two leaf nodes are quite different and data synchronization is required.
[0022] In particular, in step 4, the step of saving the proxy node and leaf node information and their subordinate relationships includes:
[0023] Use the Map structure to store the mapping relationship between the proxy node and the network ID of its subordinate leaf nodes;
[0024] The device information of each device node is stored in the distributed ledger, with the device network ID as the key and the device information as the value.
[0025] In particular, the method further comprises:
[0026] Monitor the offline message of the cross-network port and trigger the offline processing of the cross-network device;
[0027] After the cross-network device goes offline, cross-network data synchronization is performed to delete the information of the offline device.
[0028] In particular, monitoring the offline message of the cross-network port and triggering the cross-network device offline processing specifically include:
[0029]
[0030] δ t It represents the standard deviation of the data variation at time t, which is interpreted as a stability indicator of the online status of the device;
[0031] x i,t represents the online status of device i at time t, which is a binary value indicating whether the device is online; N represents the total number of devices; the standard deviation of the online status of all devices in the calculation system δ t , to evaluate the stability of the system; represents the average value of the online status of all devices at time t, which is regarded as the overall online rate of the system; when δ t When a first threshold is exceeded, offline processing is triggered; and data synchronization operations are triggered; the first threshold is determined by adjusting λ.
[0032] The present invention also discloses a distributed soft bus system, including a plurality of software defined radios (SDRs), a plurality of proxy nodes and a plurality of leaf nodes. The bus system adopts the cross-network device networking method as described above.
[0033] Beneficial effects:
[0034] The solution of the present invention describes a specific method for realizing cross-network device networking and data synchronization in a distributed soft bus system. Through the steps of cross-network discovery, device authentication, cross-network data synchronization, etc., the method enables devices in heterogeneous networks to be networked and interconnected safely and efficiently, and realizes differentiated data synchronization management based on policy configuration, and finally builds an extensible, dynamically programmable cross-network device interconnection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The invention provides a method for realizing cross-network device networking in a distributed soft bus. DETAILED DESCRIPTION
[0036] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0037] The present invention provides a method for realizing cross-network device networking in a distributed soft bus, such as Figure 1 The distributed soft bus system includes at least one software defined radio (SDR), at least one proxy node and at least one leaf node, and the method includes the following steps:
[0038] Step 1, the at least one proxy node monitors the cross-network port online message and triggers cross-network discovery; the step 1 specifically includes: the proxy node monitors the state change of the cross-network port through a network interface or a specific network monitor;
[0039] When the inter-network port is online, that is, when it is connected to the inter-network network, the proxy node can sense the change in the port status. Once the proxy node detects the inter-network port online message, it triggers the inter-network discovery process;
[0040] Cross-network discovery refers to the process in which the proxy node begins to actively explore other nodes in the network to establish the network topology and obtain relevant information of other nodes. The proxy node communicates with other nodes by sending specific discovery messages or detection packets in the cross-network to obtain information about other nodes. The proxy node builds the topology of the cross-network based on the collected information of other nodes to understand the connection relationship between nodes.
[0041] Step 2. After the cross-network discovery is completed, at least one proxy node triggers the networking between the proxy node and other proxy nodes, as well as the networking between the proxy node and its subordinate leaf nodes, and completes the authentication between the proxy nodes and the authentication between the proxy nodes and the leaf nodes respectively; in the step 2, the pre-shared key authentication method or the authentication method based on the Diffie-Hellman key exchange algorithm is selected to complete the authentication between the proxy nodes and the authentication between the proxy nodes and the leaf nodes.
[0042] Step 3, after the device networking is completed, start cross-network data synchronization, synchronize the leaf node information under the local proxy node to the opposite proxy node, synchronize the opposite proxy node information to the local leaf node, and synchronize the leaf node information under the opposite proxy node to the local leaf node; in step 3, the synchronization between leaf nodes is first performed by policy configuration, and then by similarity measurement.
[0043] The synchronization between leaf nodes is achieved by means of policy configuration, including: synchronization between leaf nodes is achieved by means of business relationship policy, data importance level policy or data life cycle policy.
[0044] The synchronization between leaf nodes by similarity measurement specifically includes: calculating the similarity measurement between leaf nodes by the following algorithm:
[0045]
[0046] in, Q (i) 'Represents the information of the local leaf node and the peer leaf node respectively;
[0047] FT stands for Fourier transform, IFT stands for inverse Fourier transform, conj stands for complex conjugate, and p stands for an index used to adjust the correlation metric. The node information includes sensor data, device status, and network traffic, which have periodic or frequency domain characteristics.
[0048] Set a similarity threshold θ if This means that the data of the two leaf nodes are highly similar, so data synchronization of the leaf node is skipped; if This means that the data of the two leaf nodes are quite different and data synchronization is required.
[0049] Step 4: After the cross-network data synchronization is completed, the at least one proxy node saves the proxy node and leaf node information and their subordinate relationships.
[0050] In step 4, the step of saving the proxy node and leaf node information and their subordinate relationships includes:
[0051] Use the Map structure to store the mapping relationship between the proxy node and the network ID of its subordinate leaf nodes;
[0052] The device information of each device node is stored in the distributed ledger, with the device network ID as the key and the device information as the value.
[0053] And the method also includes: monitoring the offline message of the cross-network port, triggering the cross-network device offline processing;
[0054] After the cross-network device goes offline, the cross-network data is synchronized and the information of the offline device is deleted. The cross-network port offline message is monitored and the cross-network device offline processing is triggered, which includes:
[0055]
[0056] δ t The standard deviation of the data variation at time t can be interpreted as a stability indicator of the online status of the device;
[0057] x i,t represents the online status of device i at time t, which is a binary value indicating whether the device is online; N represents the total number of devices; the standard deviation of the online status of all devices in the calculation system δ t , to evaluate the stability of the system; represents the average value of the online status of all devices at time t, which can be regarded as the overall online rate of the system; when δ t When a first threshold is exceeded, offline processing and data synchronization operations can be triggered; the first threshold is determined by adjusting λ. This formula is applied to describe the described scenario. In this scenario, we can assume that x i,t is a binary variable indicating whether the device is online (1 for online and 0 for offline). Then, we can calculate the standard deviation of the online status of all devices in the system δ t , to evaluate the stability of the system. If δ t A large value indicates that the online status of the device fluctuates greatly, the system is not stable enough, and offline processing and data synchronization may be required.
[0058] The present invention also discloses a distributed soft bus system, including a plurality of software defined radios (SDRs), a plurality of proxy nodes and a plurality of leaf nodes, characterized in that the bus system adopts the cross-network device networking method described in the previous embodiment. The embodiment of the system corresponds to the scheme of the previous method embodiment one by one, so it will not be repeated.
[0059] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0060] It is obvious to those skilled in the art that the embodiments of the present invention are not limited to the details of the exemplary embodiments described above, and that the embodiments of the present invention can be implemented in other specific forms without departing from the spirit or basic features of the embodiments of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the embodiments of the present invention is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the embodiments of the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units, modules or devices stated in the system, device or terminal claims can also be implemented by the same unit, module or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0061] Finally, it should be noted that the above implementation modes are only used to illustrate the technical solutions of the embodiments of the present invention and are not intended to limit them. Although the embodiments of the present invention have been described in detail with reference to the above preferred implementation modes, those skilled in the art should understand that the technical solutions of the embodiments of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for implementing cross-network device networking in a distributed soft bus, characterized in that: The distributed soft bus system includes at least one software defined radio (SDR), at least one proxy node and at least one leaf node, and the method includes the following steps: Step 1: The at least one proxy node monitors the cross-network port online message and triggers cross-network discovery; Step 2, after the cross-network discovery is completed, the at least one proxy node triggers the networking between the proxy node and other proxy nodes, and the networking between the proxy node and its subordinate leaf nodes, and completes the authentication between the proxy nodes and the authentication between the proxy nodes and the leaf nodes respectively; Step 3: After the device networking is completed, start cross-network data synchronization, synchronize the leaf node information under the local proxy node to the peer proxy node, synchronize the peer proxy node information to the local leaf node, and synchronize the leaf node information under the peer proxy node to the local leaf node; Step 4: After the cross-network data synchronization is completed, the at least one proxy node saves the proxy node and leaf node information and their subordinate relationships.
2. The method for implementing cross-network device networking in a distributed soft bus according to claim 1, characterized in that: The step 1 specifically includes: the proxy node monitors the state change of the cross-network port through the network interface or a specific network monitor; When the inter-network port is online, that is, when it is connected to the inter-network network, the proxy node can sense the change in the port status. Once the proxy node detects the inter-network port online message, it triggers the inter-network discovery process; Cross-network discovery refers to the process in which the proxy node begins to actively explore other nodes in the network to establish the network topology and obtain relevant information of other nodes. The proxy node communicates with other nodes by sending specific discovery messages or detection packets in the cross-network to obtain information about other nodes. The proxy node builds the topology of the cross-network based on the collected information of other nodes to understand the connection relationship between nodes.
3. The method for implementing cross-network device networking in a distributed soft bus according to claim 2, characterized in that: In the step 2, a pre-shared key authentication method or an authentication method based on a Diffie-Hellman key exchange algorithm is selected to complete authentication between proxy nodes and authentication between proxy nodes and leaf nodes.
4. The method for implementing cross-network device networking in a distributed soft bus according to claim 3, characterized in that: In the step 3, the synchronization between leaf nodes is first performed by means of policy configuration, and then by means of similarity measurement.
5. The method for realizing cross-network device networking in a distributed soft bus according to claim 4, characterized in that: The synchronization between leaf nodes is achieved by means of policy configuration, including: synchronization between leaf nodes is achieved by means of business relationship policy, data importance level policy or data life cycle policy.
6. The method for implementing cross-network device networking in a distributed soft bus according to claim 5, characterized in that: The synchronization between leaf nodes by similarity measurement specifically includes: calculating the similarity measurement between leaf nodes by the following algorithm: in, Q (i) 'Represents the information of the local leaf node and the peer leaf node respectively; FT stands for Fourier transform, IFT stands for inverse Fourier transform, conj stands for complex conjugate, and p stands for an index used to adjust the correlation metric. The node information includes sensor data, device status, and network traffic, which have periodic or frequency domain characteristics. Set a similarity threshold θ if This means that the data of the two leaf nodes are highly similar, so data synchronization of the leaf node is skipped; if This means that the data of the two leaf nodes are quite different and data synchronization is required.
7. The method for implementing cross-network device networking in a distributed soft bus according to claim 6, characterized in that: In step 4, the step of saving the proxy node and leaf node information and their subordinate relationships includes: Use the Map structure to store the mapping relationship between the proxy node and the network ID of its subordinate leaf nodes; The device information of each device node is stored in the distributed ledger, with the device network ID as the key and the device information as the value.
8. The method for implementing cross-network device networking in a distributed soft bus according to claim 7, characterized in that: The method further includes: Monitor the offline message of the cross-network port and trigger the offline processing of the cross-network device; After the cross-network device goes offline, cross-network data synchronization is performed to delete the information of the offline device.
9. The method for implementing cross-network device networking in a distributed soft bus according to claim 8, further comprising: Monitor the offline message of the cross-network port and trigger the offline processing of the cross-network device, including: δ t It represents the standard deviation of the data variation at time t, which is interpreted as a stability indicator of the online status of the device; x i,t represents the online status of device i at time t, which is a binary value indicating whether the device is online; N represents the total number of devices; the standard deviation of the online status of all devices in the system is calculated δ t , to evaluate the stability of the system; represents the average value of the online status of all devices at time t, which is regarded as the overall online rate of the system; when δ t When a first threshold is exceeded, offline processing is triggered; and data synchronization operations are triggered; the first threshold is determined by adjusting λ.
10. A distributed soft bus system, comprising a plurality of software defined radios (SDRs), a plurality of proxy nodes and a plurality of leaf nodes, characterized in that: The bus system adopts the cross-network device networking method as described in any one of claims 1-9.
Citation Information
Patent Citations
Device discovery method supporting cross-network
CN117997662A
Cross-domain service discovery method based on distributed soft bus
CN118400420A
Method and apparatus for implementing leaf node proxy in a network
WO2001043367A1
Cited By
Cross-domain large file transmission method based on distributed soft bus
CN120281765A
A cross-domain large file transmission method based on a distributed soft bus
CN120281765B
Multistage hierarchical networking method and device based on openharmony soft bus
CN120956556A
Cross-system trusted identity authentication and secure communication method based on distributed soft bus
CN121418183A
