CN-122002637-A - Dynamic connection method, device and equipment between multiple nodes
Abstract
The invention provides a dynamic connection method, a device and equipment among multiple nodes, which are applied to a first node in a first working mode, wherein the method comprises the steps of periodically broadcasting a binding request signal to a plurality of second nodes in a second node set, wherein the binding request signal comprises identification information of the first node; the method comprises the steps of receiving first response signals sent by at least one bindable second node, of which the number of first nodes which are currently binded is smaller than a preset threshold value, determining the signal strength of the at least one first response signal, determining a target second node according to the signal strength of the first response signal, and sending a target binding request signal to the target second node, wherein the first node and the target second node establish communication connection. The scheme of the invention can bind all the nodes on the basis that all the communication nodes are installed.
Inventors
- ZHAO LIUJUN
- XUE XIPENG
- HUO WENHUI
- WANG JINGYUAN
- SUN SHIWEI
- Sun Lincheng
- SUN YIQI
- SHAN XINYI
- XIAO FENG
- QI LIMEI
- YU SIYUAN
- WANG ZHIBIN
- JING YAN
- HAN LEI
- ZHOU TIANSHU
- REN CHAO
- JIANG LINGXIANG
- ZHANG QIANG
- SHI QUAN
Assignees
- 中国铁路设计集团有限公司
- 电信科学技术第一研究所有限公司
- 上海载讯智能科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260410
Claims (10)
- 1. A method of dynamic connection between multiple nodes, applied to a first node in a first mode of operation, comprising: Periodically broadcasting a binding request signal to a second node of a plurality of second working modes in a second node set, wherein the binding request signal comprises the identity information of the first node; In the second node set, receiving a first response signal sent by at least one bindable second node, wherein the number of first nodes which are currently bound is smaller than a preset threshold value, and the first response signal comprises the identity information of the bindable second node; determining a signal strength of at least one of the first response signals; Determining a target second node in a plurality of the bindable second nodes according to the signal strength of the first response signal; and sending a target binding request signal to the target second node, wherein the first node establishes communication connection with the target second node.
- 2. The method of claim 1, wherein receiving, in the second set of nodes, a first response signal sent by at least one bindable second node having a number of first nodes currently bound less than a preset threshold comprises: And in the second node set, receiving at least one bindable second node to judge the current binding number, determining that the number of the first nodes which are currently bound is smaller than a preset threshold, and adding message information agreeing to bind and a first response signal sent after the identity information of the bindable second node to a response message.
- 3. The method of claim 1, wherein determining the signal strength of at least one of the first response signals comprises: converting the at least one first response signal into a digital signal to obtain a digital baseband IQ sample; Performing power calculation according to the digital baseband IQ sample to obtain a signal power value; and carrying out linear mapping on the signal power value to obtain the signal strength of the first response signal.
- 4. The method of claim 1, wherein determining a target second node among the plurality of bindable second nodes based on the signal strength of the first response signal, comprises: Determining a first response signal with the strongest signal strength in at least one first response signal according to the signal strength of the first response signal; And determining the bindable second node corresponding to the first response signal with the strongest signal strength as a target second node.
- 5. The method of dynamic connection between multiple nodes according to claim 1, wherein sending a target binding request signal to the target second node, the first node establishing a communication connection with the target second node, comprises: Adding the identity information of the target second node to the target binding request signal, and periodically broadcasting the target binding request signal to the bindable second nodes in the second node set; and establishing communication connection between the first node and the target second node according to the identification information of the target second node in the target binding request signal.
- 6. The method of dynamic connection between multiple nodes according to claim 1, further comprising: and in the second node set, receiving a second response message sent by at least one other second node, and adding message information for refusing binding and identity information of the other second node to the response message to obtain a second response signal when the other second node determines that the number of the first nodes currently bound is equal to a preset threshold value.
- 7. A method of dynamic connection between multiple nodes, applied to a second node in a second mode of operation, comprising: Receiving a binding request signal periodically broadcasted by a first node in a first working mode, wherein the binding request signal comprises identification information of the first node; Acquiring the number of first nodes which are currently bound, determining that the number of the first nodes which are currently bound is smaller than a preset threshold, and transmitting a first response signal to the first nodes in the first working mode, wherein the first response signal comprises identification information of the second nodes which can be bound; and receiving a target binding request signal sent by the first node, and establishing communication connection between the second node and the first node according to the identification information of a target second node in the target binding request signal.
- 8. The method for dynamically connecting between multiple nodes according to claim 7, wherein receiving a target binding request signal sent by the first node, and establishing a communication connection between the second node and the first node according to identification information of a target second node in the target binding request signal, comprises: Acquiring the identity information of a target second node in the target binding request signal; when the identity information of the target second node is identical to the identity information of the second node, the identity information of the first node is added into a binding list, and the second node and the first node are in communication connection.
- 9. A first node operating in the first mode of operation of claim 1, comprising: the first sending module is used for periodically broadcasting a binding request signal to a second node of a plurality of second working modes in a second node set, wherein the binding request signal comprises the identity information of the first node; The first receiving module is used for receiving a first response signal sent by at least one bindable second node, of which the number of the first nodes which are currently bound is smaller than a preset threshold value, in the second node set, wherein the first response signal comprises the identity information of the bindable second node; The first sending module is further configured to determine a signal strength of at least one first response signal, determine a target second node among the plurality of bindable second nodes according to the signal strength of the first response signal, send a target binding request signal to the target second node, and establish a communication connection with the target second node.
- 10. A second node operating in the second mode of operation of claim 7, comprising: The device comprises a first receiving module, a second receiving module, a target binding request signal and a first node, wherein the first receiving module is used for receiving a binding request signal periodically broadcasted by a first node in a first working mode, the binding request signal comprises identification information of the first node, and the first working mode is different from a second working mode; The second sending module is used for obtaining the number of the first nodes which are bound currently, determining that the number of the first nodes which are bound currently is smaller than a preset threshold value, and sending a first response signal to the first nodes in the first working mode, wherein the first response signal comprises identification information of the second nodes which can be bound.
Description
Dynamic connection method, device and equipment between multiple nodes Technical Field The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for dynamically connecting multiple nodes. Background The star flash technology (NearLink) is a new generation short-distance wireless connection technology, integrates the advantages of Bluetooth and Wi-Fi, realizes breakthrough promotion on performances such as low time delay, high reliability, precise synchronization, multiple concurrency and the like, and can be widely applied to the fields of intelligent automobiles, industrial intelligent manufacturing, intelligent home furnishings and the like. The binding of the G node and the T node in the star-flash technology is divided into two stages of a pairing process and a safety control process. The authentication mode in the pairing flow is two modes of pre-sharing a secret key (the same secret key (PSK) is pre-configured by both parties, identity is verified through hash) and out-of-band pairing (near field interaction exchange of a temporary secret key (OOB) through NFC, a two-dimensional code and the like). In the existing authentication mode in the star-flash binding pairing process, the pre-shared key and the out-of-band pairing are required to be input into the key before installation and use or manually input the key by an installer after installation or through other modes such as NFC scanning. The method is not suitable for the scene that the binding is carried out after the installation is needed, and the manual operation of the binding by an installer cannot be carried out or is inconvenient. Disclosure of Invention The invention provides a dynamic connection method, a device and equipment among multiple nodes, which can bind all nodes on the basis that all communication nodes are installed. In order to solve the technical problems, the technical scheme of the invention is as follows: A dynamic connection method between multiple nodes is applied to a first node in a first working mode, and comprises the following steps: Periodically broadcasting a binding request signal to a second node of a plurality of second working modes in a second node set, wherein the binding request signal comprises the identity information of the first node; In the second node set, receiving a first response signal sent by at least one bindable second node, wherein the number of first nodes which are currently bound is smaller than a preset threshold value, and the first response signal comprises the identity information of the bindable second node; determining a signal strength of at least one of the first response signals; Determining a target second node in a plurality of the bindable second nodes according to the signal strength of the first response signal; and sending a target binding request signal to the target second node, wherein the first node establishes communication connection with the target second node. Optionally, in the second node set, receiving a first response signal sent by at least one bindable second node, where the number of first nodes currently bound is smaller than a preset threshold, including: And in the second node set, receiving at least one bindable second node to judge the current binding number, determining that the number of the first nodes which are currently bound is smaller than a preset threshold, and adding message information agreeing to bind and a first response signal sent after the identity information of the bindable second node to a response message. Optionally, determining the signal strength of at least one of the first response signals includes: converting the at least one first response signal into a digital signal to obtain a digital baseband IQ sample; Performing power calculation according to the digital baseband IQ sample to obtain a signal power value; and carrying out linear mapping on the signal power value to obtain the signal strength of the first response signal. Optionally, determining the target second node from the plurality of bindable second nodes according to the signal strength of the first response signal includes: Determining a first response signal with the strongest signal strength in at least one first response signal according to the signal strength of the first response signal; And determining the bindable second node corresponding to the first response signal with the strongest signal strength as a target second node. Optionally, sending a target binding request signal to the target second node, where the first node establishes a communication connection with the target second node, and includes: Adding the identity information of the target second node to the target binding request signal, and periodically broadcasting the target binding request signal to the bindable second nodes in the second node set; and establishing communication connection between the first node and the