A method and system for implementing cross-network device networking in a distributed soft bus
By using distributed soft bus technology and proxy nodes to monitor the status of cross-network interfaces, cross-network discovery, authentication, and data synchronization are achieved. This solves the problems of high deployment costs and poor scalability in device interconnection and data sharing in heterogeneous networks, and realizes secure and efficient cross-network device networking and data management.
Patent Information
- Application Number
- CN202411404992.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-10-10
AI Technical Summary
Existing technologies for device interconnection and data sharing in heterogeneous networks suffer from high deployment costs, poor scalability and flexibility, and traditional gateway solutions are difficult to meet the needs of dynamic network topologies.
It adopts distributed soft bus technology, and realizes cross-network discovery, authentication and data synchronization by listening to cross-network interface status changes through proxy nodes. It uses pre-shared keys or Diffie-Hellman algorithm for authentication, combines policy configuration and similarity measurement for device networking and data management, and uses distributed ledger to store device information.
It enables secure and efficient networking and differentiated data synchronization of devices in heterogeneous networks, and builds a scalable and dynamically programmable cross-network device interconnection system.
Smart Images

Figure CN119544502B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of network communication, and particularly relates to a method and system for realizing cross-network device networking in a distributed soft bus. BACKGROUND
[0002] With the rapid development of the Internet of Things, the Internet of Vehicles and other fields, more and more devices need to be interconnected to realize real-time sharing of data and business collaboration. However, due to the fact that different devices may belong to different network segments and use different protocol stacks, the interconnection between devices and the sharing of data face many challenges.
[0003] Traditional solutions usually deploy gateways and other middleware at the network boundary to realize protocol conversion and data forwarding across networks. 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 has emerged as the times require. It separates network control from data transmission and dynamically manages and configures the entire network through a centralized controller, making the network logic more flexible and programmable and enabling it to quickly respond to network changes.
[0005] Based on distributed soft bus technology, seamless interconnection and communication across networks and platforms can be realized. The proxy nodes in the distributed soft bus system can act as network boundary proxies and establish secure channels with the proxy nodes of other networks to realize discovery, authentication and data synchronization of cross-network resources. At the same time, through distributed ledger technology, device information and relationship topology in the network can be managed and recorded in a decentralized manner. SUMMARY
[0006] Therefore, the present application provides a method for realizing 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 listens to the on-line message on the cross-network port 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 the authentication between the proxy node and the leaf nodes, respectively.
[0009] Step 3, after the device networking is completed, the cross-network data synchronization is started, the leaf node information under the proxy node at the local end is synchronized to the proxy node at the opposite end, the information of the leaf node at the opposite end is synchronized to the leaf node at the local end, and the information of the leaf node under the proxy node at the opposite end is synchronized to the leaf node at the local end.
[0010] Step 4, after the cross-network data synchronization is completed, the proxy node and the leaf node information and their affiliation are saved.
[0011] In particular, the step 1 specifically includes that the proxy node listens to the state change of the cross-network port through a network interface or a specific network listener.
[0012] When the cross-network port is online, that is, connected to the cross-network, the proxy node can perceive the change of the port state, and once the proxy node detects the online message of the cross-network port, it triggers the cross-network discovery process.
[0013] The cross-network discovery refers to the process in which the proxy node actively explores other nodes in the network to establish the network topology and obtain the information of the other nodes. The proxy node communicates with other nodes by sending specific discovery messages or probe packets in the cross-network to obtain the information of the other nodes. The proxy node constructs the topology of the cross-network according to the collected information of the other nodes to understand the connection relationship between the nodes.
[0014] In particular, the step 2 selects the pre-shared key authentication mode or the authentication mode based on the Diffie-Hellman key exchange algorithm to complete the authentication between the proxy nodes and the authentication between the proxy node and the leaf node.
[0015] In particular, in the step 3, the synchronization between the leaf nodes is first performed through a policy configuration mode, and then the synchronization between the leaf nodes is performed through a similarity measurement mode.
[0016] In particular, the synchronization between the leaf nodes through the policy configuration mode includes that the synchronization between the leaf nodes is performed through a business relationship policy, a data importance level policy or a data life cycle policy.
[0017] In particular, the synchronization between the leaf nodes through the similarity measurement mode specifically includes that the similarity measurement between the leaf nodes is calculated through the following algorithm:
[0018]
[0019] wherein, Q (i) respectively represent the information of the leaf node at the local end and the leaf node at the opposite end.
[0020] FT represents Fourier transform, IFT represents inverse Fourier transform, conj represents taking complex conjugate, p represents an index used to adjust the measure of correlation; wherein the information of the nodes includes sensor data, device status, network traffic, wherein there is periodicity or frequency domain characteristics;
[0021] A similarity threshold θ is set, if it indicates that the data of the two leaf nodes are highly similar, and the data synchronization of the leaf nodes is skipped; if it indicates that the data of the two leaf nodes are quite different, and the data synchronization is needed.
[0022] In particular, in step 4, the step of saving the information of the proxy node and the leaf node and the affiliation relationship thereof includes:
[0023] The mapping relationship between the network ID of the proxy node and the leaf node thereunder is stored using a Map structure;
[0024] The device information of each device node is stored in the distributed ledger, taking the device network ID as the key and the device information as the value.
[0025] In particular, the method further includes:
[0026] Listening to the offline message of the cross-network port to trigger the offline processing of the cross-network device;
[0027] After the cross-network device is offline, the cross-network data synchronization is performed, and the information of the offline device is deleted.
[0028] In particular, listening to the offline message of the cross-network port to trigger the offline processing of the cross-network device specifically includes:
[0029]
[0030] δ t represents the standard deviation of the data change at time t, which is explained as a stability indicator of the online state of the device;
[0031] x i,t represents the online state of device i at time t, which is a binary value indicating whether the device is online or not; N represents the total number of devices; the standard deviation δ of the online state of all devices in the system is calculated t to evaluate the stability of the system; represents the average value of the online state of all devices at time t, which is regarded as the overall online rate of the system; when δ t exceeds a first threshold, offline processing is triggered; and the operation of data synchronization; the first threshold is determined by adjusting λ.
[0032] The application further discloses a distributed soft bus system comprising a plurality of software defined radios (SDRs), a plurality of agent nodes and a plurality of leaf nodes, and the bus system adopts the cross-network device networking method as described above.
[0033] Advantages:
[0034] The application scheme describes a specific method for implementing cross-network device networking and data synchronization in a distributed soft bus system. The method enables devices in a heterogeneous network to be safely and efficiently networked and interconnected through steps such as cross-network discovery, device authentication and cross-network data synchronization, and realizes differentiated data synchronization management based on policy configuration, and finally constructs an extensible and dynamically programmable cross-network device interconnection system. BRIEF DESCRIPTION OF DRAWINGS
[0035] Figure 1 The application scheme describes a specific method for implementing cross-network device networking in a distributed soft bus. DETAILED DESCRIPTION
[0036] The application will be described in detail below with reference to the accompanying drawings and examples.
[0037] The application provides a method for implementing cross-network device networking in a distributed soft bus, as Figure 1 The distributed soft bus system comprises at least one software defined radio (SDR), at least one agent node and at least one leaf node, and the method comprises the following steps:
[0038] Step 1: the at least one agent node listens to the cross-network port online message and triggers cross-network discovery; the step 1 specifically comprises: the agent node listens to the state change of the cross-network port through a network interface or a specific network listener;
[0039] When the cross-network port is online, i.e. connected to the cross-network, the agent node can perceive the change of the port state, and once the agent node detects the cross-network port online message, it triggers the cross-network discovery process;
[0040] Cross-network discovery refers to the process in which the agent node actively explores other nodes in the network to establish a network topology and obtain relevant information of the other nodes. The agent node communicates with other nodes by sending specific discovery messages or probe packets in the cross-network to obtain information of the other nodes. The agent node constructs the topology structure of the cross-network according to the collected information of the other nodes to understand the connection relationship between the nodes.
[0041] 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 subordinate leaf nodes, and completes the authentication between the proxy nodes and the authentication between the proxy node and the leaf nodes; in the step 2, the pre-shared key authentication mode or the authentication mode based on the Diffie-Hellman key exchange algorithm is selected to complete the authentication between the proxy nodes and the authentication between the proxy node and the leaf nodes.
[0042] Step 3, after the device networking is completed, the cross-network data synchronization is started, the leaf node information under the proxy node is synchronized to the opposite end proxy node, the opposite end proxy node information is synchronized to the local leaf node, and the leaf node information under the opposite end proxy node is synchronized to the local leaf node; in the step 3, the synchronization between the leaf nodes is first performed through the strategy configuration mode, and then the synchronization between the leaf nodes is performed through the similarity measurement mode.
[0043] The synchronization between the leaf nodes through the strategy configuration mode includes: the synchronization between the leaf nodes is realized through a business relationship strategy, a data importance level strategy or a data life cycle strategy.
[0044] The synchronization between the leaf nodes through the similarity measurement mode includes: the similarity measurement between the leaf nodes is calculated through the following algorithm:
[0045]
[0046] Wherein, Q (i) Respectively represent the information of the local leaf node and the opposite end leaf node;
[0047] FT represents the Fourier transform, IFT represents the inverse Fourier transform, conj represents the complex conjugate, p represents an index used to adjust the correlation measurement; wherein the information of the node includes sensor data, device state, network traffic, wherein the information has periodicity or frequency domain characteristics;
[0048] A similarity threshold θ is set, if It is indicated that the data of the two leaf nodes is highly similar, and the data synchronization of the leaf node is skipped; if It is indicated that the data of the two leaf nodes is highly similar, and the data synchronization of the leaf node is skipped; if
[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 the subordinate relationship thereof.
[0050] In the step 4, the step of saving the proxy node and leaf node information and the subordinate relationship thereof includes:
[0051] The mapping relationship between the network ID of the proxy node and the subordinate leaf node is stored using a Map structure;
[0052] The device information of each device node is stored in the distributed ledger, taking the device network ID as the key and the device information as the value.
[0053] And the method further comprises: listening to the cross-network interface offline message to trigger the cross-network device offline processing;
[0054] After the cross-network device is offline, the cross-network data synchronization is performed, and the information of the offline device is deleted. The listening to the cross-network interface offline message to trigger the cross-network device offline processing specifically comprises:
[0055]
[0056] delta t The standard deviation of the data change at time t, which can be interpreted as a stability indicator of the online state of the device;
[0057] x i,t Indicates the online state of device i at time t, which is a binary value indicating whether the device is online or not; N represents the total number of devices; the standard deviation delta t of all device online states in the system is calculated to evaluate the stability of the system; Indicates the average value of all device online states at time t, which can be regarded as the overall online rate of the system; when delta t exceeds a certain first threshold, offline processing and data synchronization operations can be triggered; and the first threshold is determined by adjusting lambda. Apply this formula to the described scenario. In this scenario, we can assume that x i,t is a binary variable indicating whether the device is online (online is 1 and offline is 0). Then, we can calculate the standard deviation delta t of all device online states in the system to evaluate the stability of the system. If the value of delta t is large, it indicates that the online state of the device fluctuates greatly, and the system is not stable enough, which may need to be offline and synchronized.
[0058] The application also discloses 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 described in the previous embodiment. The embodiments of the system correspond one-to-one to the solutions of the previous method embodiment, so they will not be described again.
[0059] In conclusion, the above only is the preferred embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the protection scope of the present application.
[0060] It is obvious for those skilled in the art that the embodiments of the present application are not limited to the details of the above exemplary embodiments, and the embodiments of the present application can be realized in other specific forms without departing from the spirit or essential characteristics of the embodiments of the present application. Therefore, the embodiments should be regarded as exemplary and non-limiting, and the scope of the embodiments of the present application is defined by the appended claims rather than the above description, and all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the embodiments of the present application. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprise" does not exclude other units or steps, and the singular does not exclude the plural. The plurality of units, modules or devices stated in the system, device or terminal claims can also be realized by the same unit, module or device through software or hardware. The words first, second, etc. are used to express the name, and do not express any specific order.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, and are not limited. Although the embodiments of the present application are described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that the technical solutions of the embodiments of the present application can be modified or replaced without departing from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for implementing cross-network device networking in a distributed soft bus, characterized in that, The distributed soft bus system comprises at least one software defined radio (SDR), at least one proxy node and at least one leaf node, and the method comprises the following steps: Step 1: The at least one proxy node listens to the online message of the cross-network interface 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 nodes and the networking between the proxy node and the subordinate leaf nodes, and respectively completes the authentication between the proxy nodes and the authentication between the proxy node and the leaf nodes; Step 3: After the device networking is completed, the cross-network data synchronization is started, the leaf node information of the proxy node is synchronized to the opposite end proxy node, the opposite end proxy node information is synchronized to the leaf node, and the leaf node information of the opposite end proxy node is synchronized to the 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 the subordinate relationship thereof.
2. The method for implementing cross-network device networking in a distributed soft bus according to claim 1, wherein, The step 1 specifically comprises: the proxy node listens to the state change of the cross-network interface through a network interface or a specific network listener; When the cross-network interface is online, that is, connected to the cross-network, the proxy node can perceive the change of the interface state, and once the proxy node detects the online message of the cross-network interface, the cross-network discovery process is triggered; The cross-network discovery refers to the process that the proxy node actively explores other nodes in the network to establish the network topology and obtain the information of the other nodes, and the proxy node communicates with other nodes by sending specific discovery messages or probe packets in the cross-network to obtain the information of the other nodes; the proxy node constructs the topology of the cross-network according to the collected information of the other nodes to understand the connection relationship between the 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, the pre-shared key authentication mode or the authentication mode based on the Diffie-Hellman key exchange algorithm is selected to complete the authentication between the proxy nodes and the authentication between the proxy node and the 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 the leaf nodes is first realized through the policy configuration mode, and then realized through the similarity measurement mode.
5. The method for implementing cross-network device networking in a distributed soft bus according to claim 4, wherein, The synchronization between the leaf nodes through the policy configuration mode comprises: realizing the synchronization between the leaf nodes through the business relationship strategy, the data importance level strategy or the data life cycle strategy.
6. The method for implementing cross-network device networking in a distributed soft bus according to claim 5, wherein, The synchronization between the leaf nodes through the similarity measurement mode comprises: calculating the similarity measurement between the leaf nodes through the following algorithm: wherein Q (i) respectively represent information of the local leaf node and the opposite end leaf node. FT represents the Fourier transform, IFT represents the inverse Fourier transform, conj represents the complex conjugate, p represents an index used to adjust the measure of correlation; wherein the information of the nodes comprises sensor data, device state and network traffic, wherein there is periodicity or frequency domain characteristics; A similarity threshold θ is set, if it indicates that the data of two leaf nodes are similar, and the data synchronization of the leaf node is skipped; if it indicates that the data of two leaf nodes are quite different, and the data synchronization is needed.
7. The method for implementing cross-network device networking in a distributed soft bus according to claim 6, wherein, In the step 4, the step of saving the proxy node and leaf node information and the subordinate relationship thereof comprises: Using the Map structure to store the mapping relationship between the network ID of the proxy node and the subordinate leaf nodes; Storing the device information of each device node in the distributed ledger, taking 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 comprises: listening to a cross-network port offline message to trigger cross-network device offline processing; after the cross-network device is offline, performing cross-network data synchronization and deleting 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: The listening to the cross-network port offline message to trigger the cross-network device offline processing specifically comprises: delta t standard deviation of the data variation representing the time t, interpreted as an indicator of stability of the device in line condition; x i,t Xi(t) represents the online status of device i at time t, which is a binary value indicating whether the device is online or not; N represents the total number of devices; δ represents the standard deviation of the online status of all devices in the system t , to assess the stability of the system; Xi(t) represents the online status of device i at time t, which is a binary value indicating whether the device is online or not; N represents the total number of devices; δ represents the standard deviation of the online status of all devices in the system t , to assess the stability of the system; Xi(t) represents the online status of device i at time t, which is a binary value indicating whether the device is online or not; N represents the total number of devices; δ represents the standard deviation of the online status of all devices in the system t , to assess the stability of the system; 10. A distributed soft bus system comprising a number of software defined radios (SDRs), a number of broker nodes and a number of leaf nodes, characterized in that, The bus system adopts the cross-network device networking method according to 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