Cross-network device discovery framework protocol implementation method
Through layered discovery and data soft bus technology, cross-network device discovery and information interaction are realized, cross-network device discovery problems are solved, channel bandwidth overhead is reduced, and system destruction resistance and reliability are improved.
Patent Information
- Application Number
- CN202411696993.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-11-26
AI Technical Summary
The prior art is difficult to realize cross-network device discovery in multiple different networks, limiting the transmission of information and data between devices.
The automatic mutual discovery of B-level devices is realized through the CoAP protocol, and the data soft bus technology is used to realize the information concentration and interaction between F-level and Y-level devices.
It greatly reduces the channel bandwidth overhead required for device discovery and basic information interaction, improves the system's destructive resistance and reliability, expands the network connection range, and supports distributed applications.
Smart Images

Figure CN119766806A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of cross-network communications, and in particular relates to a method for implementing a cross-network device discovery framework protocol. Background Art
[0002] The Hongmeng soft bus is limited to device discovery within the local area network, restricting it to information and data transmission only between limited networks and limited devices. In multiple different networks, how to discover different devices across networks is a technical problem that currently needs to be solved. Summary of the invention
[0003] In view of the above technical problems, the present invention proposes a method for implementing a cross-network device discovery framework protocol.
[0004] In the method: the cross-network device discovery adopts hierarchical discovery, layer-by-layer aggregation, and cross-network information exchange to realize broadcast within the local area network, cross-network unicast, and no cross-network broadcast; in the cross-network application scenario under the cross-network device discovery framework protocol, it is divided into three levels: B, F, and Y; the Y level is higher than the F level, and the F level is higher than the B level; wherein:
[0005] For Class B device discovery: CoAP protocol broadcast technology is used to achieve automatic mutual discovery between the AI Euler controller and its connected equipment; the AI Euler controller is used as the terminal logic center, and data soft bus technology is used to achieve the centralization, authentication and interaction of basic information between all Class B devices in the local area network; the basic information includes IP, name, type, and ID;
[0006] Multiple B-class devices form an F-class device. For F-class device discovery, a master node is selected from multiple B-class devices included in each F-class device as the logical center, and data bus technology is used to realize information concentration and interaction between F-class devices;
[0007] Multiple F-class devices form a Y-class device. For Y-class device discovery, a master node is selected from the multiple F-class devices included in each Y-class device as the logical center, and data bus technology is used to realize information concentration and interaction between Y-class devices.
[0008] For Class B device discovery, the concentration, authentication and interaction of basic information between Class B devices in the local area network include: TX is a Class B device, which is equipped with a corresponding radio device SDR and various downstream devices; different SDRs form a network through radio; TX is connected to the corresponding SDR through a network cable; various downstream devices are connected to TX through wireless wifi and Bluetooth network cables.
[0009] For Class B device discovery, TX and the downstream devices discover each other and establish a network; TX and SDR connect to obtain the TX status and IP information of the SDR notification to enter the network; send a broadcast to the specified SDR port; TX receives the SDR unicast, parses the IP information and port, and establishes a TCP connection; subscribes to SDR message events, and receives a list of information changes.
[0010] For Class B device discovery, SDR reports device online and offline notifications to TX and performs corresponding processing; among them, when offline, it cleans up the device information that has been offline; when online, it synchronizes the device information.
[0011] For Class B device discovery, configure the gateway route on the downstream device and point it to TX; configure dual network cards on TX, with one network card pointing to the LAN and the other network card pointing to the network where the SDR is located; configure NAT from the LAN to the SDR network; perform NAT processing on incoming and outgoing packets.
[0012] For Class B device discovery, the current TX sends unicast CoAP to the peer TX to complete information exchange, including IP, name, version, discovery mode, device type, and authentication port; all devices use the CA certificate issued by the same root server to build trust credentials in the network environment and interact through encrypted channels; through the interactive authentication information and port, a TCP connection is established to negotiate secret keys; and SessionPort port information is exchanged for data transmission.
[0013] For Class B device discovery, TX synchronizes cross-network device information to the downstream devices; transmits online information to the downstream devices in JSON format; and transmits offline information to the downstream devices in JSON format.
[0014] For Class B device discovery, each device in the network generates random values as weight values to achieve information exchange between each device, and the maximum value is used as the main device; the CPU performance, GPU performance, memory size, and battery capacity are comprehensively considered to evaluate the weight ratio; each device sets a group ID, and each group is confirmed as a group through the group ID; different groups use the selected host in the group as the logical main node of the group; each logical main node communicates with each other; when the main node is offline, the other nodes select the one with the largest weight value as the main node.
[0015] In summary, in the technical solution proposed by the present invention, cross-domain device discovery adopts the technical route of hierarchical discovery, layer-by-layer aggregation, and cross-network exchange, which greatly reduces the channel bandwidth overhead required for device discovery and basic information interaction. Cross-domain device discovery adopts a dynamic master election mechanism. When the F-level or Y-level logical center is destroyed, the automatic master election algorithm will quickly elect a new logical center and ensure data consistency, thereby improving the system's anti-destruction capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a schematic diagram of three levels in a cross-network application scenario under a cross-network device discovery framework protocol according to an embodiment of the present invention.
[0018] Figure 2 Schematic diagram of a Class B device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0020] The present invention provides a method for implementing a cross-network device discovery framework protocol.
[0021] In the method: the cross-network device discovery adopts hierarchical discovery, layer-by-layer aggregation, and cross-network information exchange to realize broadcast within the local area network, cross-network unicast, and no cross-network broadcast; in the cross-network application scenario under the cross-network device discovery framework protocol, it is divided into three levels: B, F, and Y; the Y level is higher than the F level, and the F level is higher than the B level; wherein:
[0022] For Class B device discovery: CoAP protocol broadcast technology is used to achieve automatic mutual discovery between the AI Euler controller and its connected equipment; the AI Euler controller is used as the terminal logic center, and data soft bus technology is used to achieve the centralization, authentication and interaction of basic information between all Class B devices in the local area network; the basic information includes IP, name, type, and ID;
[0023] Multiple B-class devices form an F-class device. For F-class device discovery, a master node is selected from multiple B-class devices included in each F-class device as the logical center, and data bus technology is used to realize information concentration and interaction between F-class devices;
[0024] Multiple F-class devices form a Y-class device. For Y-class device discovery, a master node is selected from the multiple F-class devices included in each Y-class device as the logical center, and data bus technology is used to realize information concentration and interaction between Y-class devices.
[0025] For Class B device discovery, the concentration, authentication and interaction of basic information between Class B devices in the local area network include: TX is a Class B device, which is equipped with a corresponding radio device SDR and various downstream devices; different SDRs form a network through radio; TX is connected to the corresponding SDR through a network cable; various downstream devices are connected to TX through wireless wifi and Bluetooth network cables.
[0026] For Class B device discovery, TX and the downstream devices discover each other and establish a network; TX and SDR connect to obtain the TX status and IP information of the SDR notification to enter the network; send a broadcast to the specified SDR port; TX receives the SDR unicast, parses the IP information and port, and establishes a TCP connection; subscribes to SDR message events, and receives a list of information changes.
[0027] For Class B device discovery, SDR reports device online and offline notifications to TX and performs corresponding processing; among them, when offline, it cleans up the device information that has been offline; when online, it synchronizes the device information.
[0028] For Class B device discovery, configure the gateway route on the downstream device and point it to TX; configure dual network cards on TX, with one network card pointing to the LAN and the other network card pointing to the network where the SDR is located; configure NAT from the LAN to the SDR network; perform NAT processing on incoming and outgoing packets.
[0029] For Class B device discovery, the current TX sends unicast CoAP to the peer TX to complete information exchange, including IP, name, version, discovery mode, device type, and authentication port; all devices use the CA certificate issued by the same root server to build trust credentials in the network environment and interact through encrypted channels; through the interactive authentication information and port, a TCP connection is established to negotiate secret keys; and SessionPort port information is exchanged for data transmission.
[0030] For Class B device discovery, TX synchronizes cross-network device information to the downstream devices; transmits online information to the downstream devices in JSON format; and transmits offline information to the downstream devices in JSON format.
[0031] For Class B device discovery, each device in the network generates random values as weight values to achieve information exchange between each device, and the maximum value is used as the main device; the CPU performance, GPU performance, memory size, and battery capacity are comprehensively considered to evaluate the weight ratio; each device sets a group ID, and each group is confirmed as a group through the group ID; different groups use the selected host in the group as the logical main node of the group; each logical main node communicates with each other; when the main node is offline, the other nodes select the one with the largest weight value as the main node.
[0032] In some embodiments, the cross-network soft bus is a scenario-customized global communication middleware solution. In the cross-network, terminals and other manned equipment use the Hongmeng operating system, and AI controllers and unmanned platforms use the Euler operating system; by uniformly deploying the soft bus on the Hongmeng operating system and the Euler operating system, cross-domain and cross-system device discovery and automatic discovery can be easily realized.
[0033] In some embodiments, cross-domain device discovery adopts the technical route of hierarchical discovery, layer-by-layer convergence, and cross-network information exchange to achieve broadcasting only within the local area network, cross-network unicast, and no cross-network broadcast. In the cross-network application scenario, it is divided into three levels: B, F, and Y.
[0034] In some embodiments, Class B device discovery uses CoAP protocol broadcast technology to achieve automatic mutual discovery between the AI Euler controller and its downstream equipment; on this basis, with the AI Euler controller as the terminal logic center, data soft bus technology is used to achieve the centralization, authentication and interaction of basic information (IP, name, type, ID) between all devices in the local area network.
[0035] In some embodiments, the F-team-level device selects a master node from all F-teams as the logical center, and uses data bus technology to achieve information concentration and interaction within the F-team.
[0036] In some embodiments, the Y-level device discovers and selects a master node from all F teams as the logical center, and uses data bus technology to achieve information concentration and interaction between F teams.
[0037] In some embodiments, cross-domain device discovery adopts the technical route of hierarchical discovery, layer-by-layer aggregation, and cross-network exchange. This greatly reduces the channel bandwidth overhead required for device discovery and basic information interaction. Cross-domain device discovery adopts a dynamic master election mechanism. When the F-team or Y-level logic center is destroyed, the automatic master election algorithm will quickly elect a squadron or battalion-level logic center and ensure data consistency, thereby improving the system's anti-destruction capability.
[0038] In some embodiments, Figure 1As shown in the network diagram: the radios between SDRs form a large fullmesh network; the main TX (Euler) is connected to the SDR via a network cable; the Hongmeng device can be directly connected to the Euler via wireless WiFi or network cable.
[0039] In some embodiments, Figure 2 As shown in the figure, Euler and the devices connected to it discover each other through WIFI, Bluetooth, etc. Euler connects with SDR to obtain the Euler status and IP information of SDR’s notification of network access; sends a broadcast to the specified SDR port; receives the SDR unicast, parses the IP and port, and establishes a TCP connection with it to receive TYW information changes in the future; subscribes to SDR message events; and receives a list of information changes.
[0040] In some embodiments, the SDR reports the device online and offline notifications to Euler and performs corresponding processing; when offline, the device information that has been offline is cleared; when online, the device is synchronized.
[0041] In some embodiments, a gateway route is configured on the Hongmeng XX terminal, pointing to the Euler system; the Euler system is configured with dual network cards, one network card points to the local area network; the other network card points to the network where the SDR is located; NAT is configured from the local area network to the SDR network; and NAT processing is performed on incoming and outgoing packets.
[0042] In some embodiments, Euler sends a unicast CoAP to the peer Euler to complete information exchange; the information includes IP, name, version, discovery mode, device type, authentication port, etc.; all devices in the network are CA certificates issued by the same root server, thereby building a solid trust credential in a complex network environment to ensure that the identity is indisputable and to enable a secure, reliable and efficient encryption channel; through the interactive authentication information and port, a TCP connection is established to negotiate keys to ensure device reliability; SessionPort port information is exchanged to ensure data transmission.
[0043] In some embodiments, Euler synchronizes cross-network device information to the downstream devices; transmits the online information to the downstream devices in JSON format; and transmits the offline information to the downstream devices in JSON format.
[0044] In some embodiments, each device in the network randomly generates a random value within 100 as a weight value, and each device exchanges information with each other, and the maximum value is used as the main device; the weight ratio can be evaluated by comprehensively considering comprehensive data such as CPU, GPU performance, memory size, battery, etc.; each device can set a group ID, and each group is confirmed as a group through the group ID; different groups use the selected host in the group as the logical main node of the group; the logical main nodes communicate with each other; when the main node is offline, the other nodes select the largest weight value as the main node.
[0045] In some embodiments, Euler and the SDR radio broadcast to obtain radio port information; Euler establishes a TCP connection with the SDR radio; the SDR radio notifies Euler of other Eulers going online and offline; CoAP unicast messages are sent to the online Euler devices; device information is exchanged between Euler systems; Euler exchanges information with the downstream Hongmeng system; Euler synchronizes the device information it obtains to other Euler systems; Euler synchronizes the received other device information to the downstream Hongmeng system; Euler systems are grouped, and the master node is selected through the interactive information within the group; Euler groups continue to be grouped to form a new topology, and the master node is selected between the new topologies.
[0046] In summary, in the technical solution proposed by the present invention, cross-domain device discovery adopts the technical route of hierarchical discovery, layer-by-layer aggregation, and cross-network exchange, which greatly reduces the channel bandwidth overhead required for device discovery and basic information interaction. Cross-domain device discovery adopts a dynamic master election mechanism. When the F-level or Y-level logical center is destroyed, the automatic master election algorithm will quickly elect a new logical center and ensure data consistency, thereby improving the system's anti-destruction capability.
[0047] By adopting the present invention, the connection between multiple different subnets can be greatly expanded, avoiding the limitations of Hongmeng LAN discovery, increasing the network connection range, and accommodating more devices; the failure of a single LAN does not affect the work of other networks, thereby improving reliability; different networks are managed independently, and the network flexibility is high, adapting to the development and changes of network services; multiple network interconnections can support distributed applications, and tasks can be distributed to different networks for processing, thereby improving the overall performance and efficiency of the system.
[0048] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.
Claims
1. A method for implementing a cross-network device discovery framework protocol, characterized in that: In the method: the cross-network device discovery adopts hierarchical discovery, layer-by-layer aggregation, and cross-network information exchange to realize broadcast within the local area network, cross-network unicast, and no cross-network broadcast; in the cross-network application scenario under the cross-network device discovery framework protocol, it is divided into three levels: B, F, and Y; the Y level is higher than the F level, and the F level is higher than the B level; wherein: For Class B device discovery: CoAP protocol broadcast technology is used to achieve automatic mutual discovery between the AI Euler controller and its connected equipment; the AI Euler controller is used as the terminal logic center, and data soft bus technology is used to achieve the centralization, authentication and interaction of basic information between all Class B devices in the local area network; the basic information includes IP, name, type, and ID; Multiple B-class devices form an F-class device. For F-class device discovery, a master node is selected from multiple B-class devices included in each F-class device as the logical center, and data bus technology is used to realize information concentration and interaction between F-class devices; Multiple F-class devices form a Y-class device. For Y-class device discovery, a master node is selected from the multiple F-class devices included in each Y-class device as the logical center, and data bus technology is used to realize information concentration and interaction between Y-class devices.
2. According to claim 1, a method for collecting edge cloud system logs at a limited speed is characterized in that: For Class B device discovery, the concentration, authentication and interaction of basic information between Class B devices in the local area network include: TX is a Class B device, which is equipped with a corresponding radio device SDR and various downstream devices; different SDRs form a network through radio; TX is connected to the corresponding SDR through a network cable; various downstream devices are connected to TX through wireless wifi and Bluetooth network cables.
3. A method for collecting edge cloud system logs at a limited speed according to claim 2, characterized in that: For Class B device discovery, TX and the downstream devices discover each other and establish a network; TX and SDR connect to obtain the TX status and IP information of the SDR’s notification of network access; Send a broadcast to the specified SDR port; TX receives SDR unicast, parses IP information and port, establishes TCP connection, subscribes to SDR message events, and receives information change list.
4. A method for collecting edge cloud system logs at a limited speed according to claim 3, characterized in that: For Class B device discovery, SDR reports device online and offline notifications to TX and performs corresponding processing; among them, when offline, it cleans up the device information that has been offline; when online, it synchronizes the device information.
5. A method for collecting edge cloud system logs at a limited speed according to claim 4, characterized in that: For Class B device discovery, configure the gateway routing on the downstream device to point to TX; configure dual network cards on TX, one network card points to the LAN, and the other network card points to the network where the SDR is located; Configure NAT from LAN to SDR network; perform NAT processing on inbound and outbound packets.
6. A method for collecting edge cloud system logs at a limited speed according to claim 5, characterized in that: For Class B device discovery, the current TX sends unicast CoAP to the peer TX to complete information exchange, including IP, name, version, discovery mode, device type, and authentication port; all devices use the CA certificate issued by the same root server to build trust credentials in the network environment and interact through encrypted channels; Through the interactive authentication information and port, a TCP connection is established to negotiate the key; Exchange SessionPort information for data transmission.
7. A method for collecting edge cloud system logs at a limited speed according to claim 6, characterized in that: For Class B device discovery, TX synchronizes cross-network device information to the downstream devices; transmits online information to the downstream devices in JSON format; and transmits offline information to the downstream devices in JSON format.
8. A method for collecting edge cloud system logs at a limited speed according to claim 7, characterized in that: For Class B device discovery, each device in the network generates random values as weight values to achieve information exchange between each device, and the maximum value is used as the main device; the CPU performance, GPU performance, memory size, and battery capacity are comprehensively considered to evaluate the weight ratio; each device sets a group ID, and each group is confirmed as a group through the group ID; different groups use the selected host in the group as the logical main node of the group; each logical main node communicates with each other; when the main node is offline, the other nodes select the one with the largest weight value as the main node.
Citation Information
Patent Citations
Configuring SDR-capable user equipment
CN114642013A
Cross-domain service discovery method based on distributed soft bus
CN118400420A
Private multefire network with SDR-based massive MIMO, multefire and network slicing
US20180343567A1
Configuring an SDR capable user equipment
US20220353796A1