Approximate networking and automatic addressing method, system and device based on Openthread and medium

Through the proximity networking and automatic addressing method based on Openthread, the problem of cumbersome configuration of IoT devices and difficulty in automatically entering the network when forming the network is solved, and automatic scanning networking and automatic addressing are realized, which simplifies the network configuration process and improves network stability.

CN119629039AInactive Publication Date: 2025-03-14SHENZHEN TOPRIE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411466914.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-03-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing IoT devices require manual configuration when forming networks, which are cumbersome and difficult to automatically access the network in industrial scenarios, making it easy to cause network congestion and address conflicts.

Method used

It provides a proximity networking and automatic addressing method based on Openthread. By obtaining the network connection access request of the device to be linked in real time, checking the preset verification mechanism, calculating the load value of the connection node, performing weighted polling processing, dynamically adjusting the number of nodes transmission traffic of the gateway server, realizing automatic scanning and automatic addressing.

Benefits of technology

Simplifies the on-site network configuration process, improves the convenience of equipment access to the network, reduces network connection failures and address conflicts, and ensures that the Openthread gateway server always maintains the optimal connection status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629039A_ABST
    Figure CN119629039A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things communication, in particular to an Openthread-based approach networking and automatic addressing method, system and device and a medium, and the method comprises the steps: obtaining a network connection access request sent by a to-be-linked device to an Openthread gateway in real time; checking the network connection access request through a preset checking mechanism, and according to a checking result, calculating connection node load values between to-be-linked equipment conforming to the checking mechanism and servers of all Openthread gateways; performing weighted polling processing on the servers of the Openthread gateways according to the load values of the connection nodes to obtain performance evaluation results of the servers of all the Openthread gateways; and according to the performance evaluation result, linking the to-be-linked device with the server of the Openthread gateway with the optimal performance evaluation result, so as to carry out multi-node shunt transmission on the server of the Openthread gateway. According to the invention, when industrial equipment or intelligent furniture equipment is close to the gateway, automatic scanning network access and automatic addressing are realized, and the on-site network configuration process is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things communications, and in particular to a method, system, device and medium for proximity networking and automatic addressing based on Openthread. Background Art

[0002] When IoT devices are currently networking, users usually need to manually configure them, such as connecting devices to the network via Bluetooth or WiFi. This method is not only cumbersome to operate, but also makes it more difficult to connect devices to the network in some industrial scenarios because it is impossible to carry configuration tools such as computers.

[0003] In the prior art, devices are manually configured to access the network and rely on fixed network addresses for communication. However, the manual configuration process is cumbersome and increases the user threshold. Fixed network addresses may cause network congestion and address conflicts. Therefore, there is room for improvement. Summary of the invention

[0004] In order to enable industrial equipment or smart furniture equipment to automatically scan and access the network and automatically find address when approaching a gateway, and to simplify the on-site network configuration process, the present application provides a work order-based spatiotemporal data processing method, system, equipment and medium.

[0005] The above-mentioned invention objective of the present application is achieved through the following technical solutions: Provided is a method for proximity networking and automatic addressing based on Openthread, the method for proximity networking and automatic addressing based on Openthread comprising: Obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; The network connection access request is inspected by a preset inspection mechanism, and according to the inspection result, the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated; Performing weighted polling on the servers of the Openthread gateway according to the connection node load value to obtain performance evaluation results of all Openthread gateway servers; According to the performance evaluation result, the device to be linked is linked to the server of the Openthread gateway with the best performance evaluation result, so as to perform multi-node shunting transmission on the server of the Openthread gateway.

[0006] By adopting the above technical solution, since the server of the Openthread gateway built on a single node is prone to network connection failure when processing multi-device connection access, affecting the user's access to the network, the network connection access request of the device to be connected is received by the Openthread gateway, and the network connection access request is inspected through a preset inspection mechanism to determine whether the device to be connected is an industrial device or a smart furniture device, and the connection node load value between the device to be connected that meets the inspection mechanism and all Openthread gateway servers is calculated, so as to obtain the transmission pressure when accessing the connection node through the Openthread gateway server, and then dynamically adjust the node number transmission flow of the Openthread gateway server, and the Openthread gateway is inspected according to the connection node load value. The server is weighted polled, and the performance of all Openthread gateway servers is evaluated according to the polling results. According to the performance evaluation results, the best Openthread gateway server is selected to transmit data to the connected device. According to the network connection requirements of the device to be connected, the Openthread gateway server with the best performance evaluation result is dynamically selected to adjust the network connection of the device to be connected, so that the Openthread gateway server is always kept in the best connection state, reducing the impact of load failure on the Openthread gateway server caused by the access pressure of multiple devices. According to the actual network connection requirements of the device to be connected, the number of nodes of the Openthread gateway is dynamically adjusted, and the transmission flow is realized, thereby realizing automatic scanning and automatic addressing, and simplifying the on-site network configuration process.

[0007] In a preferred example, the present application can be further configured as follows: the network connection access request is inspected by the inspection mechanism preset by the server of the Openthread gateway, and the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated according to the inspection result, specifically including: Receiving in real time the inventory data of the devices to be connected in the system, and performing encryption calculation on the inventory data of the devices to be connected in the system to obtain an authentication identification code that complies with the device verification mechanism; Obtaining a unique device identification code carried in the network connection access request; Input the unique identification code of the device into the server of the Openthread gateway and compare it with the authentication identification code to obtain the identification code comparison result; According to the identification code comparison result, the network connection access request of the to-be-linked device that matches the comparison is subjected to node data connection processing.

[0008] By adopting the above technical solution, the inventory data of the devices to be connected in the industrial equipment system or the smart furniture system is received, and the Openthread gateway performs encryption calculation to obtain the authentication identification code that complies with the equipment inspection mechanism, and the inventory data of the devices to be connected and the corresponding authentication identification code are associated and stored. When a network connection access request is received, the device unique identification code is obtained through the corresponding authentication field identification, and the device unique identification code is input into the server of the Openthread gateway for comparison with the authentication identification code. According to the comparison result of the identification code, it is determined whether the device to be connected is still in the list of devices to be connected in the system, and then the access permission data of the device to be connected to the intranet is obtained, so as to process the network connection access request with the same comparison result, that is, the device to be connected belongs to the access permission range of the list of devices to be connected in the system, and build a node data transmission link between the device to be connected and the server of the Openthread gateway with the best performance evaluation result through the Openthread gateway, thereby improving the convenience of device access to the network, reducing the probability of devices that do not belong to the system accessing the network, and improving the network security of the server of the Openthread gateway.

[0009] In a preferred example, the present application can be further configured as follows: the network connection access request is inspected by the inspection mechanism preset by the server of the Openthread gateway, and the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated according to the inspection result, and also includes: Obtaining a node data transmission bandwidth value of a device to be connected that complies with the verification mechanism; According to the preset load sharing rules of the Openthread gateway, the access processing time of the server of each Openthread gateway to the data transmission bandwidth value of the node is calculated; According to the access processing time, the Openthread gateway is called to connect the server of the Openthread gateway with the optimal access processing time to the device to be connected, so as to facilitate the diversion processing of the network connection of the device to be connected.

[0010] By adopting the above technical scheme, according to the processing of the network connection access request by the server of the Openthread gateway, the node data transmission bandwidth value of the server of the Openthread gateway that the device to be connected needs to occupy is obtained, and according to the preset load sharing rule of the Openthread gateway, the access processing time of the server of the Openthread gateway for the node data transmission bandwidth value of the device to be connected is calculated, which helps to quickly select the server of the Openthread gateway with the best network connection performance according to the access processing time, and call the Openthread gateway to connect the server of the Openthread gateway with the best access processing time, that is, the server of the Openthread gateway with the best performance evaluation result to the device to be connected, so as to dynamically select the best Openthread gateway server for connection according to the actual node bandwidth of the network connection of the device to be connected, so as to achieve the effect of dynamic diversion according to the actual network access demand of the device to be connected, and improve the adaptability between the server of the Openthread gateway and the actual bandwidth demand of the device to be connected.

[0011] In a preferred example, the present application can be further configured as follows: after obtaining the network connection access request sent by the to-be-linked device to the Openthread gateway in real time, and before checking the network connection access request through the inspection mechanism preset by the server of the Openthread gateway, and calculating the connection node load value between the to-be-linked device that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result, it also includes: Each IP address of the server of the Openthread gateway is routed to each network segment to obtain an initialized IP address pool connected to the intranet; Get the routing time of each IP address and each network segment in the initialized IP address pool; According to the routing time, a flow control policy is matched for each IP address to obtain a flow control policy that conforms to the initialized IP address pool; A flow control strategy matching process is performed on the device to be linked, and the node number transmission flow of the device to be linked is adjusted according to the matching result to obtain the node number transmission flow with the best matching degree with the device to be linked.

[0012] By adopting the above technical solution, before calculating the connection node load value of the device to be linked, the server of the Openthread gateway is initialized first, and each IP address of the server of the Openthread gateway is routed and connected to each network segment according to the size of the authority, and whether the node data transmission link between each IP address and the corresponding network segment is normal is judged according to the routing connection result, so as to obtain an initialized IP address pool connected to the network, which is helpful to verify the access status between the server of the Openthread gateway and the network in real time, and reduce the impact of network access error caused by the disconnection of the access link, and judge the actual flow demand of each IP address to obtain feedback data according to the routing time between each IP address and the corresponding network segment, and match the flow control strategy for each IP address in a targeted manner, so as to obtain a flow control strategy that conforms to the initialized IP address pool, and after receiving the network connection access request of the device to be linked, the initialized flow control strategy is matched with the device to be linked according to the IP address of the device to be linked, and the node number transmission flow of the device to be linked is accurately adjusted through the flow control strategy, so as to achieve the purpose of accurately regulating the node number transmission flow of the server of the Openthread gateway, and improve the accuracy of the node number transmission flow distribution of the server of the Openthread gateway.

[0013] In a preferred example, the present application can be further configured as follows: according to the performance evaluation result, the device to be linked is linked to the server of the Openthread gateway with the best performance evaluation result, so as to facilitate multi-node shunting transmission to the server of the Openthread gateway, specifically including: According to the performance evaluation result, the server of the Openthread gateway with the best adaptability to the device to be connected is selected as the server of the main Openthread gateway; Linking the device to be linked to the server of the main Openthread gateway, and processing the network connection access request of the device to be linked; According to the network connection access request, searching for a target network segment that is compatible with the device to be connected, and receiving feedback data of the target network segment; According to the preset node data transmission rules of the Openthread gateway, the feedback data is synchronously pushed to the server of the subordinate Openthread gateway which is secondary to the server of the main Openthread gateway.

[0014] By adopting the above technical scheme, according to the performance evaluation results of all Openthread gateway servers, the Openthread gateway selects the server of the Openthread gateway with the best adaptability to the device to be connected as the server of the main Openthread gateway, which is helpful to select the most suitable Openthread gateway server according to the actual node data transmission requirements, and reduce the operating pressure of the single-node Openthread gateway server to handle the network connection access data of multiple devices at the same time. The Openthread gateway builds a link channel between the device to be connected and the server of the main Openthread gateway, and calls the server of the main Openthread gateway to process the network connection access request of the device to be connected. The server of the main Openthread gateway searches for the target network segment that is compatible with the device to be connected, which helps to reduce the unauthorized network access of the device to be connected and improve the security of network access. According to the preset Openthread gateway data transmission rules, when the Openthread gateway sends the received feedback data to the server of the main Openthread gateway, the feedback data is synchronously pushed to the server of the subordinate Openthread gateway that is secondary to the server of the main Openthread gateway, which helps to reduce the network connection data asynchronism caused by the single point failure of the server of the main Openthread gateway, thereby improving the node data transmission stability of the server of the Openthread gateway.

[0015] In a preferred example, the present application can be further configured as follows: according to the preset data transmission rules of the Openthread gateway, the feedback data is synchronously pushed to the server of the subordinate Openthread gateway that is secondary to the server of the main Openthread gateway, and further includes: Obtain the node data transmission status of the device to be linked and the server of the main Openthread gateway in real time; When the data transmission state of the node fails, the authority value of all the slave Openthread gateway servers is calculated, and the slave Openthread gateway server with the best authority value is selected as the master Openthread gateway server; According to the unique IP address of the device to be linked, a node data transmission channel is established between the device to be linked and the server of the main Openthread gateway; The internal feedback data is synchronously sent to the device to be linked via the node data transmission channel.

[0016] By adopting the above technical solution, the node data transmission status between the device to be linked and the server of the main Openthread gateway is monitored in real time through the heartbeat detection of the Openthread gateway. When the node data transmission status fails, the Openthread gateway is called to recalculate the authority values ​​of all the slave Openthread gateway servers, and the slave Openthread gateway server with the best authority value is selected as the server of the main Openthread gateway to take over the network access work of the failed main Openthread gateway server, thereby reducing the network access delay caused by the server failure of the main Openthread gateway, and according to the unique IP address of the device to be linked, the Openthread gateway is used to build the connection between the device to be linked and the server of the main Openthread gateway in the slave Openthread gateway server. Node data transmission channel, and process the network connection access request of the device to be linked through the server of the main Openthread gateway. While sending the intranet feedback data to the device to be linked, it is simultaneously pushed to the node of the slave Openthread gateway, thereby improving the data synchronization of all Openthread gateway servers in the Openthread gateway, reducing the network access delay caused by the single point failure of the Openthread gateway server, and judging whether the server of the main Openthread gateway fails through the real-time monitoring of the server load of the main Openthread gateway by the Openthread gateway, so as to switch to the optimal slave Openthread gateway server for network access in time, reducing the network fluctuation when the server of the main Openthread gateway fails, and improving the stability of the network access of the Openthread gateway.

[0017] The second object of the invention is achieved by the following technical solutions: Provided is an Openthread-based proximity networking and automatic addressing system, the Openthread-based proximity networking and automatic addressing system comprising: A network access acquisition module is used to obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; A network access inspection module is used to inspect the network connection access request through the inspection mechanism preset by the server of the Openthread gateway, and calculate the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result; A network access processing module, used to perform weighted polling processing on the server of the Openthread gateway according to the load value of the connection node, and obtain the performance evaluation results of all the servers of the Openthread gateway; The network access shunting module is used to link the device to be linked with the server of the Openthread gateway with the best performance evaluation result according to the performance evaluation result, so as to facilitate multi-node shunting transmission to the server of the Openthread gateway.

[0018] By adopting the above technical solution, since the server of the Openthread gateway built on a single node is prone to network connection failure when processing multi-device connection access, affecting the user's access to the network, the network connection access request of the device to be connected is received by the Openthread gateway, and the network connection access request is inspected through a preset inspection mechanism to determine whether the device to be connected is an industrial device or a smart furniture device, and the connection node load value between the device to be connected that meets the inspection mechanism and all Openthread gateway servers is calculated, so as to obtain the transmission pressure when accessing the connection node through the Openthread gateway server, and then dynamically adjust the node number transmission flow of the Openthread gateway server, and the Openthread gateway is inspected according to the connection node load value. The server is weighted polled, and the performance of all Openthread gateway servers is evaluated according to the polling results. According to the performance evaluation results, the best Openthread gateway server is selected to transmit data to the connected device. According to the network connection requirements of the device to be connected, the Openthread gateway server with the best performance evaluation result is dynamically selected to adjust the network connection of the device to be connected, so that the Openthread gateway server is always kept in the best connection state, reducing the impact of load failure on the Openthread gateway server caused by the access pressure of multiple devices. According to the actual network connection requirements of the device to be connected, the number of nodes of the Openthread gateway is dynamically adjusted, and the transmission flow is realized, thereby realizing automatic scanning and automatic addressing, and simplifying the on-site network configuration process.

[0019] In a preferred example, the present application can be further configured as follows: after obtaining the network connection access request sent by the to-be-linked device to the Openthread gateway in real time, and before checking the network connection access request through the inspection mechanism preset by the server of the Openthread gateway, and calculating the connection node load value between the to-be-linked device that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result, it also includes: The routing processing module is used to route each IP address of the server of the Openthread gateway to each network segment to obtain an initialized IP address pool connected to the intranet; The routing time acquisition module is used to obtain the routing time of each IP address and each network segment in the initialization IP address pool; A flow control policy matching module, used to match the flow control policy for each IP address according to the routing time, and obtain a flow control policy that conforms to the initialized IP address pool; The flow regulation module is used to match the flow control strategy of the device to be linked, and to regulate the node-to-node transmission flow of the device to be linked according to the matching result to obtain the node-to-node transmission flow with the best matching degree with the device to be linked.

[0020] By adopting the above technical solution, before calculating the connection node load value of the device to be linked, the server of the Openthread gateway is initialized first, and each IP address of the server of the Openthread gateway is routed and connected to each network segment according to the size of the authority, and whether the node data transmission link between each IP address and the corresponding network segment is normal is judged according to the routing connection result, so as to obtain an initialized IP address pool connected to the network, which is helpful to verify the access status between the server of the Openthread gateway and the network in real time, and reduce the impact of network access error caused by the disconnection of the access link, and judge the actual flow demand of each IP address to obtain feedback data according to the routing time between each IP address and the corresponding network segment, and match the flow control strategy for each IP address in a targeted manner, so as to obtain a flow control strategy that conforms to the initialized IP address pool, and after receiving the network connection access request of the device to be linked, the initialized flow control strategy is matched with the device to be linked according to the IP address of the device to be linked, and the node number transmission flow of the device to be linked is accurately adjusted through the flow control strategy, so as to achieve the purpose of accurately regulating the node number transmission flow of the server of the Openthread gateway, and improve the accuracy of the node number transmission flow distribution of the server of the Openthread gateway.

[0021] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned Openthread-based proximity networking and automatic addressing method are implemented.

[0022] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned Openthread-based proximity networking and automatic addressing method are implemented.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. Since the server of the Openthread gateway built on a single node is prone to network connection failure when processing multi-device connection access, affecting user access to the network, the network connection access request of the device to be connected is received through the Openthread gateway, and the network connection access request is inspected through a preset inspection mechanism to determine whether the device to be connected is an industrial device or a smart furniture device, and the connection node load value between the device to be connected that meets the inspection mechanism and all Openthread gateway servers is calculated, so as to obtain the transmission pressure when accessing the connection node through the Openthread gateway server, and then dynamically adjust the node number transmission flow of the Openthread gateway server, and the server of the Openthread gateway is checked according to the connection node load value. Perform weighted polling, evaluate the performance of all Openthread gateway servers based on the polling results, select the best Openthread gateway server to transmit data to the connected device based on the performance evaluation results, and dynamically select the Openthread gateway server with the best performance evaluation result to adjust the network connection of the connected device based on the network connection requirements of the connected device, so that the Openthread gateway server always maintains the best connection state, reduces the impact of load failure on the Openthread gateway server caused by the access pressure of multiple devices, and dynamically adjusts the number of nodes of the Openthread gateway according to the actual network connection requirements of the connected device, so as to realize automatic scanning and automatic addressing, and simplify the on-site network configuration process; 2. According to the processing of the network connection access request by the server of the Openthread gateway, the node data transmission bandwidth value of the server of the Openthread gateway that the device to be connected needs to occupy is obtained, and according to the preset load sharing rules of the Openthread gateway, the access processing time of the server of the Openthread gateway for the node data transmission bandwidth value of the device to be connected is calculated, which is helpful to quickly select the server of the Openthread gateway with the best network connection performance according to the access processing time, and call the Openthread gateway to connect the server of the Openthread gateway with the best access processing time, that is, the server of the Openthread gateway with the best performance evaluation result to the device to be connected, so as to dynamically select the best Openthread gateway server for connection according to the actual node bandwidth of the device to be connected, so as to achieve the effect of dynamic diversion according to the actual network access demand of the device to be connected, and improve the adaptability between the server of the Openthread gateway and the actual bandwidth demand of the device to be connected; 3. Before calculating the connection node load value of the device to be linked, the server of the Openthread gateway is initialized first, and each IP address of the server of the Openthread gateway is routed and connected to each network segment according to the size of the authority. According to the routing connection result, it is judged whether the node data transmission link between each IP address and the corresponding network segment is normal, so as to obtain the initialized IP address pool connected to the network, which is helpful to verify the access status between the server of the Openthread gateway and the network in real time, and reduce the impact of network access error caused by the disconnection of the access link. According to the routing time between each IP address and the corresponding network segment, the actual flow demand of each IP address to obtain feedback data is judged, and the flow control strategy is matched for each IP address in a targeted manner, so as to obtain the flow control strategy that meets the initialized IP address pool. After receiving the network connection access request of the device to be linked, according to the IP address of the device to be linked, the initialized flow control strategy is matched with the device to be linked, and the node transmission flow of the device to be linked is accurately adjusted through the flow control strategy, so as to achieve the purpose of accurately regulating the node transmission flow of the server of the Openthread gateway, and improve the accuracy of the node transmission flow distribution of the server of the Openthread gateway. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flow chart of an implementation of an Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0025] Figure 2This is another implementation flowchart of step S10 of the Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0026] Figure 3 It is a flowchart for implementing step S20 of the Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0027] Figure 4 This is another implementation flowchart of step S20 of the Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0028] Figure 5 It is a flowchart for implementing step S40 of the Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0029] Figure 6 This is another implementation flow chart of step S404 of the Openthread proximity networking and automatic addressing method according to an embodiment of the present application.

[0030] Figure 7 It is a structural diagram of an Openthread-based proximity networking and automatic addressing system according to an embodiment of the present application.

[0031] Figure 8 It is a schematic diagram of the internal structure of a computer device that implements the Openthread proximity networking and automatic addressing method. DETAILED DESCRIPTION

[0032] The following is combined with Figure 1-8 This application is described in further detail.

[0033] In one embodiment, if Figure 1 As shown, the present application discloses a method for proximity networking and automatic addressing based on Openthread, which specifically includes the following steps: S10: Obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time.

[0034] Specifically, when the device to be linked needs network access to access the server of the Openthread gateway, the server of the Openthread gateway automatically obtains the information of the device to be linked and generates a network connection access request and sends it to the Openthread gateway for data verification. Through the login access of the device to be linked to the Openthread gateway, a node data transmission channel is established between the device to be linked and the Openthread gateway, and the network connection access request sent by the device to be linked to the Openthread gateway is obtained through the node data transmission channel, wherein the network connection access request carries the device information of the device to be linked.

[0035] In one embodiment, in order to better accurately control the flow of each IP address, such as Figure 2 As shown, after obtaining the network connection access request sent by the device to be connected to the Openthread gateway in real time, and before checking the network connection access request through a preset inspection mechanism, and calculating the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result, it also includes: S101: Each IP address of the server of the Openthread gateway is routed to each network segment to obtain an initialized IP address pool connected to the intranet.

[0036] Specifically, according to the network access access rights of each IP address of the server of the Openthread gateway, each IP address in the server of the Openthread gateway is routed to each network segment respectively, which helps to pre-check the network access access rights of each IP address and the feasibility of network access, so as to obtain an initialized IP address pool that is interconnected with the corresponding network segment according to the routing results.

[0037] S102: Obtain the routing time of each IP address and each network segment in the initialized IP address pool.

[0038] Specifically, during the routing connection process between each IP address and the corresponding network segment, the timing starts when the IP address starts to attempt routing, and ends when the feedback signal of successful network segment routing is obtained. The time from the start of routing to the end of successful routing is counted to obtain the routing time between each IP address and each network segment. The routing time helps to reasonably allocate the number of nodes required for IP address routing to transmit traffic.

[0039] S103: Matching a flow control policy for each IP address according to the routing time to obtain a flow control policy that complies with the initialized IP address pool.

[0040] Specifically, according to the routing time of each IP address to the intranet, the traffic control strategy is matched for each IP address respectively, wherein the traffic control strategy is pre-trained by several historical node transmission traffic and the corresponding routing time, and stored in the Openthread gateway. According to the traffic control strategy matching result, the traffic control strategy is associated with the corresponding initialization IP address pool respectively to obtain the traffic control strategy that conforms to the initialization IP address pool. In the routing time of the constantly updated IP address pool, the pre-stored traffic control strategy can be further optimized and updated to make the traffic control strategy more in line with the actual traffic transmission needs of the server of the Openthread gateway.

[0041] S104: Perform flow control strategy matching processing on the device to be linked, and adjust the node number transmission flow of the device to be linked according to the matching result to obtain the node number transmission flow with the best matching degree with the device to be linked.

[0042] Specifically, the IP address of the device to be connected is compared with the IP address in the initialized IP address pool, and the corresponding flow control strategy is matched to the device to be connected according to the comparison result, so that the corresponding node number transmission flow is called according to the corresponding flow control strategy to perform data transmission on the device to be connected, thereby obtaining the node number transmission flow that best matches the device to be connected, and achieving the purpose of reasonably regulating the node number transmission flow of the device to be connected.

[0043] S20: The network connection access request is inspected through a preset inspection mechanism, and based on the inspection result, the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated.

[0044] Specifically, Figure 3 As shown, step S20 includes: S201: receiving in real time the inventory data of the devices to be connected in the system, and performing encryption calculation on the inventory data of the devices to be connected in the system to obtain an authentication identification code that complies with the device verification mechanism.

[0045] Specifically, the inventory data of the devices to be connected in the industrial equipment system or the smart furniture system is pulled into the database, the inventory data of the devices to be connected is generated, and the inventory data of the devices to be connected is calculated according to the encryption algorithm to obtain an authentication identification code that complies with the user verification mechanism of the database. The calculation parameters can be the name, number, model, etc. of the device, which can be set according to actual needs. The authentication identification code is unique in the inventory data of the same device to be connected.

[0046] S202: Obtain the device unique identification code carried in the network connection access request.

[0047] Specifically, based on the network connection access request received by the Openthread gateway, specific authentication fields in the network connection access request, such as the device name, number, model, etc., are identified, and then the specific authentication fields are calculated through a preset encryption algorithm to obtain a unique device identification code, thereby reducing the traditional certificate authorization login steps.

[0048] S203: Input the unique identification code of the device into the server of the Openthread gateway for comparison with the authentication identification code to obtain the identification code comparison result.

[0049] Specifically, the device unique identification code is input into the server of the Openthread gateway. When the server of the Openthread gateway receives the device unique identification code, the verification mechanism is triggered to compare the device unique identification code with the authentication identification code, and based on the comparison result, it is determined whether the device to be linked belongs to the list of devices to be connected in the system, thereby obtaining the identification code comparison result, which helps to confirm in real time whether the device can access the network.

[0050] It should be noted that the identification code comparison result can also be used to determine whether the location of the device is within the accessible range, and the access area of ​​the network access can be restricted according to the identification code comparison result to improve the security of network access.

[0051] S204: According to the identification code comparison result, the network connection access request with consistent comparison is processed for data connection.

[0052] Specifically, based on the identification code comparison results, the network connection access request of the device to be connected that is consistent with the comparison will be processed for data connection, such as establishing a connection channel between the device to be connected and the target access network segment through the Openthread gateway, and sending the feedback data of the corresponding network segment to the device to be connected according to the network connection access request.

[0053] In one embodiment, in order to better handle the load distribution of the Openthread gateway, such as Figure 4 As shown, step S20 also includes: S301: Obtain the node data transmission bandwidth value of the device to be connected that complies with the verification mechanism.

[0054] Specifically, based on the network connection access request of the device to be connected that meets the inspection mechanism, the data bit width between the device to be connected and the server of the Openthread gateway and the local data transmission frequency of the location of the device to be connected are obtained, and the node data transmission bandwidth value is the product of the data bit width of the server of the Openthread gateway and the local data transmission frequency.

[0055] S302: According to the preset load sharing rule of the Openthread gateway, the access processing time of the server of each Openthread gateway to the node data transmission bandwidth value is calculated.

[0056] Specifically, according to the load sharing rules of the Openthread gateway preset by the Openthread gateway, the size of the intranet feedback data is obtained, and the target transmission bandwidth required to transmit the corresponding intranet feedback data to the device to be connected is calculated; based on the target transmission bandwidth and the data transmission frequency of the current Openthread gateway server, the access processing time of each Openthread gateway server is calculated.

[0057] S303: According to the access processing time, the Openthread gateway is called to connect the server of the Openthread gateway with the best access processing time to the device to be connected, so as to facilitate the data transmission of the device to be connected to be diverted.

[0058] Specifically, according to the access processing time of each Openthread gateway server, all Openthread gateway servers are ranked by performance. For example, the shorter the access processing time, the higher the performance. According to the access processing time ranking result, the Openthread gateway with the shortest access processing time is linked to the device to be connected through the call of OPENOpenthread gateway, thereby achieving the purpose of dynamically selecting the server of the main Openthread gateway for data transmission, so that the server of the main Openthread gateway can divert the data transmission of the device to be connected. According to the actual data transmission needs of the device to be connected, the server of the main Openthread gateway can be dynamically selected for diversion processing, reducing the parallel data processing pressure of the server of the single-point Openthread gateway.

[0059] S30: Perform weighted polling on the servers of the Openthread gateway according to the connection node load value to obtain performance evaluation results of all Openthread gateway servers.

[0060] Specifically, according to the connection node load value of each Openthread gateway server, all Openthread gateway servers are assigned initial weight values, and all Openthread gateway servers are polled according to the weight from high to low. The higher the weight value, the greater the number of polling times, and the more times the access node requests. The performance evaluation results of all Openthread gateway servers are obtained based on the polling results. The more polling times, the better the performance of the Openthread gateway server.

[0061] S40: According to the performance evaluation result, the device to be connected is connected to the server of the Openthread gateway with the best performance evaluation result, so as to perform multi-node diversion transmission on the server of the Openthread gateway.

[0062] Specifically, Figure 5 As shown, step S40 includes: S401: According to the performance evaluation result, the server of the Openthread gateway with the best adaptability to the device to be connected is selected as the server of the main Openthread gateway.

[0063] Specifically, according to the performance evaluation results of all Openthread gateway servers within the framework of the Openthread gateway, all Openthread gateway servers are ranked by performance, and according to the ranking results, the Openthread gateway is called to select the Openthread gateway server that is most compatible with the device to be connected. For example, performance ranking can be performed according to the access processing time of intranet feedback data, or according to the idleness of the Openthread gateway server, so as to obtain the main Openthread gateway server connected to the device to be connected, adjust the weight of the main Openthread gateway server to the main Openthread gateway server, and adjust the weight of other Openthread gateway servers to the subordinate Openthread gateway servers.

[0064] S402: Link the device to be linked to the server of the main Openthread gateway, and process the network connection access request of the device to be linked.

[0065] Specifically, according to the unique identification code of the device to be linked, the device to be linked is linked to the server of the main Openthread gateway through the Openthread gateway, and the network connection access request of the device to be linked is processed by the server of the main Openthread gateway, such as allocating the corresponding number of node transmission traffic according to the network connection access request, and searching for the corresponding feedback data in the network segment of the corresponding network access access permission, and sending the intranet feedback data to the device to be linked according to the constructed node data transmission channel.

[0066] S403: According to the network connection access request, find a target intranet segment that matches the authority of the device to be connected, and receive feedback data of the target intranet segment.

[0067] Specifically, the server of the main Openthread gateway searches for the target network segment that meets the network access permission of the device to be connected in each network segment of the intranet based on the network connection access request, and receives feedback data from the target network segment based on the search result, and feeds back to the device to be connected through the node data transmission channel built by the Openthread gateway framework.

[0068] S404: According to the preset data transmission rule of the Openthread gateway, the feedback data is synchronously pushed to the server of the subordinate Openthread gateway which is secondary to the server of the main Openthread gateway.

[0069] Specifically, according to the preset data transmission rules of Openthread gateway, Openthread gateway will synchronously push feedback data to the server of subordinate Openthread gateway which is secondary to the server of main Openthread gateway, so as to perform synchronous backup processing on feedback data, and the linked device will receive feedback data sent by the server of main Openthread gateway, such as Openthread gateway will synchronize feedback data to multiple subordinate Openthread gateway servers through broadcast, so that when single point failure occurs in the server of main Openthread gateway, the server of subordinate Openthread gateway can be called in time through Openthread gateway to transmit data to the linked device, so as to reduce network access delay error in case of single point failure.

[0070] In one embodiment, in order to more timely switch the server of the main Openthread gateway where the data transmission failure occurs, such as Figure 6 As shown, step S404 also includes: S501: Obtain the node data transmission status between the device to be linked and the server of the main Openthread gateway in real time.

[0071] Specifically, after the node data transmission channel between the device to be connected and the server of the main Openthread gateway is established, the node data transmission status between the device to be connected and the server of the main Openthread gateway is monitored through the heartbeat detection mechanism preset by the Openthread gateway, such as sending detection packets to the server of the main Openthread gateway at regular time intervals, and receiving feedback data packets sent by the server of the main Openthread gateway. When the corresponding feedback data packet is not received within the preset time interval, it is determined that the node data transmission status is faulty.

[0072] S502: When a node data transmission state fails, authority values ​​are calculated for all slave Openthread gateway servers, and a slave Openthread gateway server with the best authority value is selected as the master Openthread gateway server.

[0073] Specifically, when the Openthread gateway detects that a failure occurs in the node data transmission status between the device to be linked and the server of the main Openthread gateway, it calculates the authority values ​​of all slave Openthread gateway servers within the framework of the Openthread gateway, such as the access processing time or data transmission performance of the slave Openthread gateway server. The higher the performance of the slave Openthread gateway server, the higher the authority value. Or, based on the idleness of the slave servers, such as the more load nodes each slave Openthread gateway server is attached to, the lower the idleness, and the corresponding authority value is also lower. It can be set according to actual needs, and the slave Openthread gateway server with the best authority value is selected as the main Openthread gateway server according to the authority value calculation result. The main Openthread gateway is mainly used to process feedback data, and other slave Openthread gateway servers adjust their own status to slave servers secondary to the main Openthread gateway server, and synchronize and back up the data of the main Openthread gateway server.

[0074] S503: According to the unique IP address of the device to be linked, a node data transmission channel is established between the device to be linked and the server of the main Openthread gateway.

[0075] Specifically, when a failure occurs in the node data transmission status between the device to be linked and the server of the main Openthread gateway, the Openthread gateway will automatically disconnect the node data transmission channel in the faulty state, and after electing the server of the slave Openthread gateway to replace the server of the original main Openthread gateway, it will build a node data transmission channel between the device to be linked and the server of the main Openthread gateway elected by the server of the slave Openthread gateway according to the unique IP address of the device to be linked, so as to facilitate timely receipt of feedback data from the server of the main Openthread gateway of the server of the slave Openthread gateway, thereby reducing the network access delay error caused by single point failure.

[0076] S504: Synchronously send the intranet feedback data to the device to be linked through the node data transmission channel, so as to reduce the data asynchrony caused by the single point failure of the server of the Openthread gateway.

[0077] Specifically, after the Openthread gateway has established a node data transmission channel between the device to be connected and the server of the main Openthread gateway, the Openthread gateway is called to synchronously send the intranet feedback data to the device to be connected through the node data transmission channel. The rebuilt node data transmission channel can reduce the interference of the original Openthread gateway server to the current data transmission after the fault is repaired, thereby reducing the data asynchrony caused by the single point failure of the Openthread gateway server and improving the data transmission stability of the Openthread gateway framework.

[0078] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0079] In one embodiment, a proximity networking and automatic addressing system based on Openthread is provided, and the proximity networking and automatic addressing system based on Openthread corresponds one to one with the proximity networking and automatic addressing method based on Openthread in the above embodiment. Figure 7 As shown, the Openthread-based proximity networking and automatic addressing system includes a network access acquisition module, a network access verification module, a network access processing module, and a network access diversion module. The detailed description of each functional module is as follows: A network access acquisition module is used to obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; A network access inspection module is used to inspect the network connection access request through the inspection mechanism preset by the server of the Openthread gateway, and calculate the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result; A network access processing module, used to perform weighted polling processing on the server of the Openthread gateway according to the load value of the connection node, and obtain the performance evaluation results of all the servers of the Openthread gateway; The network access distribution module is used to connect the device to be connected with the server of the Openthread gateway with the best performance evaluation result according to the performance evaluation result, so as to facilitate multi-node distribution transmission to the server of the Openthread gateway. For the specific definition of the proximity networking and automatic addressing system based on Openthread, please refer to the definition of the proximity networking and automatic addressing method based on Openthread above, which will not be repeated here. Each module in the above-mentioned proximity networking and automatic addressing system based on Openthread can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0080] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store intermediate file data generated during the process of the linked device accessing the intranet. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements the Openthread-based proximity networking and automatic addressing method.

[0081] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; The network connection access request is inspected by a preset inspection mechanism, and according to the inspection result, the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated; Performing weighted polling on the servers of the Openthread gateway according to the connection node load value to obtain performance evaluation results of all Openthread gateway servers; According to the performance evaluation result, the device to be linked is linked to the server of the Openthread gateway with the best performance evaluation result, so as to perform multi-node shunting transmission on the server of the Openthread gateway.

[0082] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; The network connection access request is inspected by a preset inspection mechanism, and according to the inspection result, the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated; Performing weighted polling on the servers of the Openthread gateway according to the connection node load value to obtain performance evaluation results of all Openthread gateway servers; According to the performance evaluation result, the device to be linked is linked to the server of the Openthread gateway with the best performance evaluation result, so as to perform multi-node shunting transmission on the server of the Openthread gateway.

[0083] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0084] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.

[0085] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for proximity networking and automatic addressing based on Openthread, characterized in that: The Openthread-based proximity networking and automatic addressing method comprises the following steps: Obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; The network connection access request is inspected by a preset inspection mechanism, and according to the inspection result, the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated; Performing weighted polling on the servers of the Openthread gateway according to the connection node load value to obtain performance evaluation results of all Openthread gateway servers; According to the performance evaluation result, the device to be linked is linked to the server of the Openthread gateway with the best performance evaluation result, so as to perform multi-node shunting transmission on the server of the Openthread gateway.

2. The Openthread-based proximity networking and automatic addressing method according to claim 1, characterized in that: The network connection access request is inspected by the inspection mechanism preset by the server of the Openthread gateway, and the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated according to the inspection result, specifically including: Receiving in real time the inventory data of the devices to be connected in the system, and performing encryption calculation on the inventory data of the devices to be connected in the system to obtain an authentication identification code that complies with the device verification mechanism; Obtaining a unique device identification code carried in the network connection access request; Input the unique identification code of the device into the server of the Openthread gateway and compare it with the authentication identification code to obtain the identification code comparison result; According to the identification code comparison result, the network connection access request of the to-be-linked device that matches the comparison is subjected to node data connection processing.

3. The Openthread-based proximity networking and automatic addressing method according to claim 2, characterized in that: The network connection access request is inspected by the inspection mechanism preset by the server of the Openthread gateway, and the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways is calculated according to the inspection result, and also includes: Obtaining a node data transmission bandwidth value of a device to be connected that complies with the verification mechanism; According to the preset load sharing rules of the Openthread gateway, the access processing time of the server of each Openthread gateway to the data transmission bandwidth value of the node is calculated; According to the access processing time, the Openthread gateway is called to connect the server of the Openthread gateway with the optimal access processing time to the device to be connected, so as to facilitate the diversion processing of the network connection of the device to be connected.

4. The Openthread-based proximity networking and automatic addressing method according to claim 1, characterized in that: After obtaining the network connection access request sent by the to-be-linked device to the Openthread gateway in real time, and before checking the network connection access request by the inspection mechanism preset by the server of the Openthread gateway, and calculating the connection node load value between the to-be-linked device that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result, it also includes: Each IP address of the server of the Openthread gateway is routed to each network segment to obtain an initialized IP address pool connected to the intranet; Get the routing time of each IP address and each network segment in the initialized IP address pool; According to the routing time, a flow control policy is matched for each IP address to obtain a flow control policy that conforms to the initialized IP address pool; A flow control strategy matching process is performed on the device to be linked, and the node number transmission flow of the device to be linked is adjusted according to the matching result to obtain the node number transmission flow with the best matching degree with the device to be linked.

5. The Openthread-based proximity networking and automatic addressing method according to claim 1, characterized in that: The method of linking the device to be linked with the server of the Openthread gateway having the best performance evaluation result according to the performance evaluation result, so as to perform multi-node shunting transmission on the server of the Openthread gateway, specifically includes: According to the performance evaluation result, the server of the Openthread gateway with the best adaptability to the device to be connected is selected as the server of the main Openthread gateway; Linking the device to be linked to the server of the main Openthread gateway, and processing the network connection access request of the device to be linked; According to the network connection access request, searching for a target network segment that is compatible with the device to be connected, and receiving feedback data of the target network segment; According to the preset node data transmission rules of the Openthread gateway, the feedback data is synchronously pushed to the server of the subordinate Openthread gateway which is secondary to the server of the main Openthread gateway.

6. The Openthread-based proximity networking and automatic addressing method according to claim 1, characterized in that: The method of synchronously pushing the feedback data to a server of a subordinate Openthread gateway that is secondary to the server of the main Openthread gateway according to the preset data transmission rule of the Openthread gateway also includes: Obtain the node data transmission status of the device to be linked and the server of the main Openthread gateway in real time; When the data transmission state of the node fails, the authority value of all the slave Openthread gateway servers is calculated, and the slave Openthread gateway server with the best authority value is selected as the master Openthread gateway server; According to the unique IP address of the device to be linked, a node data transmission channel is established between the device to be linked and the server of the main Openthread gateway; The internal feedback data is synchronously sent to the device to be linked via the node data transmission channel.

7. A proximity networking and automatic addressing system based on Openthread, characterized in that: The Openthread-based proximity networking and automatic addressing system includes: A network access acquisition module is used to obtain the network connection access request sent by the device to be connected to the Openthread gateway in real time; A network access inspection module is used to inspect the network connection access request through the inspection mechanism preset by the server of the Openthread gateway, and calculate the connection node load value between the device to be connected that meets the inspection mechanism and the servers of all Openthread gateways according to the inspection result; A network access processing module, used to perform weighted polling processing on the server of the Openthread gateway according to the load value of the connection node, and obtain the performance evaluation results of all the servers of the Openthread gateway; The network access shunting module is used to link the device to be linked with the server of the Openthread gateway with the best performance evaluation result according to the performance evaluation result, so as to facilitate multi-node shunting transmission to the server of the Openthread gateway.

8. The Openthread-based proximity networking and automatic addressing system according to claim 7, characterized in that: Also includes: The routing processing module is used to route each IP address of the server of the Openthread gateway to each network segment to obtain an initialized IP address pool connected to the intranet; The routing time acquisition module is used to obtain the routing time of each IP address and each network segment in the initialization IP address pool; A flow control policy matching module, used to match the flow control policy for each IP address according to the routing time, and obtain a flow control policy that conforms to the initialized IP address pool; The flow regulation module is used to match the flow control strategy of the device to be linked, and to regulate the node transmission flow of the device to be linked according to the matching result to obtain the node transmission flow with the best matching degree with the device to be linked.

9. A computer 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 computer program, the steps of the Openthread-based proximity networking and automatic addressing method are implemented as described in any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the Openthread-based proximity networking and automatic addressing method as described in any one of claims 1 to 6 are implemented.