Bluetooth equipment dynamic networking method and device and readable medium

By generating and updating node lists and network keys in Bluetooth devices, allowing new devices to join the existing network without requiring other devices to exit, the problem of collective exit when Bluetooth devices are grouped in the existing technology is solved, and networking efficiency is improved and flexibility.

CN119183078APending Publication Date: 2024-12-24BESTECHNIC SHANGHAI CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411208623.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

When forming the network, all devices need to collectively withdraw from the existing network and reorganize it, resulting in collective withdrawal during the networking process, affecting efficiency.

Method used

Generate and update node lists and network keys through central devices, and only send updated keys and lists to new devices when they are joined, allowing new devices to join the existing network without other devices exiting, realizing dynamic networking.

Benefits of technology

It improves networking efficiency and avoids collective exits. You can join the existing network by simply obtaining the network key with a new device, which enhances the flexibility and efficiency of networking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119183078A_ABST
    Figure CN119183078A_ABST
Patent Text Reader

Abstract

The invention relates to a Bluetooth device dynamic networking method and apparatus, and a readable medium. The method comprises the steps of establishing a first intercom network by at least two Bluetooth devices; the central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network; under the condition that second node equipment outside the first talkback network is added to the first talkback network, the central equipment updates the network key and the node list, and sends the updated network key and the node list to newly added second node equipment; and the first node equipment with the network key before updating sends a data packet which can be received by the second node equipment or the central equipment through the first intercom network, or updates the network key and the node list through the second node equipment or the central equipment when receiving the data packet of the second node equipment or the central equipment. According to the method, the condition that the Bluetooth devices exit collectively in the networking process can be avoided, and the networking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a method, device and readable medium for dynamic networking of Bluetooth devices. Background Art

[0002] In actual application scenarios, the number of data packets received by a Bluetooth device in a working state can be effectively limited by establishing a node list, thereby reducing the load on the Bluetooth device.

[0003] However, the node list cannot be updated after the Bluetooth device establishes a connection. Therefore, when a new Bluetooth device needs to access an already established Bluetooth intercom network, all Bluetooth devices in the network need to leave the network and then form a new network with the new Bluetooth device.

[0004] Therefore, a networking method is urgently needed to avoid the collective exit of Bluetooth devices during the networking process. Summary of the invention

[0005] The present application is provided to solve the above defects in the prior art. A method, apparatus and readable medium for dynamically networking Bluetooth devices are needed, so that when a new Bluetooth device joins the network, the Bluetooth devices that have been networked do not need to collectively exit the existing network and re-establish a new network.

[0006] According to a first solution of the present application, a method for dynamic networking of Bluetooth devices is provided, the method comprising:

[0007] A first intercom network is formed by at least two Bluetooth devices, wherein one Bluetooth device in the first intercom network is a central device, and Bluetooth devices other than the central device of the first intercom network are first node devices;

[0008] The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key;

[0009] When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device;

[0010] The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0011] According to a second solution of the present application, a device for dynamic networking of Bluetooth devices is provided, which is applied to a central device. The device includes a first Bluetooth module and a first node management module. The first Bluetooth module is configured to: form a first intercom network with a first node device; send a data packet to the first node device and receive a data packet sent by the first node device. The first node management module is configured to:

[0012] Generate a node list and a network key, and distribute the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key;

[0013] When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device;

[0014] When a data packet that can be received by the second node device or the central device is sent through the first intercom network, or a data packet of the second node device or the central device is received, the network key and the node list are updated through the second node device or the central device.

[0015] The method, apparatus and readable medium for dynamic networking of Bluetooth devices provided in various embodiments of the present application do not require all network members to obtain the node list of all members during the networking process. Only the network key verification is successful to establish a connection with each other. Therefore, when a new Bluetooth device joins an existing network, it only needs to obtain the network key without requiring the original Bluetooth device in the network to exit, which makes the networking more efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the embodiments applied for. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.

[0017] Figure 1 A flowchart showing a method for dynamic networking of Bluetooth devices provided by an embodiment of the present application is shown;

[0018] Figure 2A flowchart showing a method for dynamic networking of Bluetooth devices for inviting other nodes to join a network provided by an embodiment of the present application;

[0019] Figure 3 A flowchart showing a method for dynamic networking of Bluetooth devices in response to network access applications of other nodes provided by an embodiment of the present application;

[0020] Figure 4 A flowchart of a method for dynamic networking of Bluetooth devices for deleting nodes that have joined a network provided by an embodiment of the present application is shown;

[0021] Figure 5 A flowchart of a method for dynamic networking of Bluetooth devices for deleting nodes that have joined a network provided by another embodiment of the present application is shown;

[0022] Figure 6 A schematic diagram showing an apparatus for dynamic networking of Bluetooth devices provided by an embodiment of the present application;

[0023] Figure 7 A schematic diagram of an apparatus for dynamic networking of Bluetooth devices provided by another embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solution of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods, but are not intended to limit the present application.

[0025] The words "first", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish. The words "include" or "comprise" and similar words mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of including other elements.

[0026] like Figure 1 As shown, the embodiment of the present application provides a method for dynamic networking of Bluetooth devices, the method comprising:

[0027] Step 101: A first intercom network is formed by at least two Bluetooth devices, one of which is a central device and the other Bluetooth devices other than the central device of the first intercom network are first node devices.

[0028] In the established network, there are two types of members, central devices and terminal devices. Bluetooth devices other than the central device are terminal devices, such as the first node device and the subsequent second node device. The central device is responsible for maintaining the update of the network key.

[0029] Step 102: The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key.

[0030] Step 103: When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device.

[0031] Step 104: The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0032] After entering the state of preparing for networking, each Bluetooth device first turns on the Bluetooth scanning function and sends out an extended broadcast containing the intercom logo. In this state, each Bluetooth device will constantly explore and report the surrounding Bluetooth devices in the same state. Finally, the user selects the node list that needs to establish a network and generates a network key and sends it to the remaining Bluetooth devices. In this process, the Bluetooth device that screens out the node list and generates the network key will serve as the central device. The central device has network control permissions such as inviting other nodes to join the network, kicking out nodes that have joined the network, responding to other nodes' network access applications, and is responsible for maintaining the update of the network key.

[0033] In the networking process of the embodiment of the present application, it is not necessary for all network members to obtain the node list of all members. Only the network key verification is successful to establish a connection with each other. Therefore, when a new Bluetooth device joins an existing network, it only needs to obtain the network key without the original Bluetooth device in the network exiting, which makes the networking efficiency higher.

[0034] In one embodiment of the present application, the network key includes a key fixed field and key version information, the fixed field is data information generated by a node list and clock information, and the central device updates the network key by modifying the key version information of the network key, wherein the node list corresponding to the generated data information is each Bluetooth device initially joined after the first intercom network is established.

[0035] Specifically, the fixed field is a piece of data randomly generated by the central device based on the node list and the crystal clock, which remains unchanged during the entire network existence. When the central device changes the node list, it will update the key version information and publish it to other Bluetooth devices. After other Bluetooth devices receive the new network key, they will verify the new network key with the Bluetooth device that has established the link, and prompt the nodes that have not been updated to update the network key in time.

[0036] In one embodiment of the present application, the network key also includes key manager information, the key manager information includes address information of the central device, and the method also includes: when the first node device receives a data packet sent from another first node device of the first intercom network, comparing the source address information and the key manager information corresponding to the data packet; when the source address information and the key manager information are consistent, determining that the data packet comes from the central device; when the source address information and the key manager information are inconsistent, determining that the data packet comes from another first node device of the first intercom network that sent the data packet.

[0037] The first node device checks the key manager information with the source address information to determine whether the data packet comes from the central device to ensure the security of the networking process. The key manager information remains unchanged throughout the network.

[0038] The central device has network control permissions such as inviting other nodes to join the network, responding to other nodes' network access applications, and deleting nodes that have joined the network. The following will explain the different control permissions in detail.

[0039] (1) Invite other nodes to join the network

[0040] like Figure 2 As shown, the embodiment of the present application provides a method for dynamic networking of Bluetooth devices, the method comprising:

[0041] Step 201: A first intercom network is formed by at least two Bluetooth devices, one of which is a central device and the other Bluetooth devices other than the central device of the first intercom network are first node devices.

[0042] Step 202: The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key.

[0043] Step 203: The central device scans the second node devices outside the first intercom network.

[0044] Step 204: When a second node device outside the first intercom network is searched, a network access invitation is sent to the second node device.

[0045] Step 205: After the central device receives the invitation success information, the second node device joins the first intercom network.

[0046] Step 206: When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device.

[0047] Step 207: The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0048] Through the embodiment of the present application, the central device can actively invite other nodes to join the network. In actual application scenarios, since different devices have different success rates in receiving data packets from the central device, when nodes A and B belong to the same network but have different versions of keys, they can still verify each other and let the node with the lower version refresh the key, unless the node list corresponding to the latest key does not contain the node with the lower version key.

[0049] (2) Respond to other nodes’ network access requests

[0050] like Figure 3 As shown, the embodiment of the present application provides a method for dynamic networking of Bluetooth devices, the method comprising:

[0051] Step 301: A first intercom network is formed by at least two Bluetooth devices, one of which is a central device and the other Bluetooth devices other than the central device of the first intercom network are first node devices.

[0052] Step 302: The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key.

[0053] Step 303: The central device of the first intercom network broadcasts the networking information.

[0054] The central device makes the first intercom network discoverable through the networking information.

[0055] Step 304: After receiving the networking information, the second node device outside the first intercom network sends a network access application to the central device.

[0056] Step 305: After receiving the network access consent information sent by the central device within the first time interval, the second node device joins the first intercom network.

[0057] Step 306: When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device.

[0058] Step 307: The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0059] When a node that has not joined the network wants to join an established network, the central device of the network allows the network to be discovered. The central device can also choose to reply to the network access application by rejecting the network access or directly not replying. At this time, the service layer of the node that has not joined the network will return the result of the network rejecting the network access or the application timeout to the application layer, and terminate the application process.

[0060] (3) Delete nodes that have joined the network through the network key and node list

[0061] like Figure 4 As shown, the embodiment of the present application provides a method for dynamic networking of Bluetooth devices, the method comprising:

[0062] Step 401: A first intercom network is formed by at least two Bluetooth devices, one of the Bluetooth devices in the first intercom network is a central device, and the Bluetooth devices other than the central device of the first intercom network are first node devices.

[0063] Step 402: The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key.

[0064] Step 403: When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device.

[0065] Step 404: The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0066] The first node device sends a data packet carrying the network key and node list before the update to the second node device or the central device through the first intercom network, so that the second node device or the central device can verify the first node device. When the second node device or the central device determines that the network key in the first node device is before the update, the updated network key is obtained through the second node device or the central device.

[0067] Step 405: When the central device determines the first node device to be deleted, it synchronizes the updated network key and node list to all first node devices except the first node device to be deleted corresponding to the first intercom network.

[0068] Step 406: When the first node device to be deleted establishes a communication connection with the first node device corresponding to the first intercom network, the first node device corresponding to the first intercom network sends the updated node list to the node device to be deleted.

[0069] Step 407: the first node device to be deleted checks the updated node list. If there is no relevant information of the first node device to be deleted in the updated node list, the first node device to be deleted exits the first intercom network.

[0070] When node A uses the old key to communicate with other nodes, the first step is to verify the keys with each other. At this time, the node holding the new key will send the latest node list to node A. After checking the node list, node A finds that it has been asked to leave the network, so it will execute the network exit operation. Through the network key and node list, the first node device can actively exit the first intercom network without receiving a deletion command.

[0071] It should be noted that in actual application scenarios, after the central device determines the node to be deleted, the central device updates the network key and node list, and sends a broadcast message based on the first intercom network, the broadcast message including the updated network key and node list; the first node device that receives the broadcast message updates the network key and node list based on the broadcast message; the first node device that does not receive the broadcast message obtains the updated network key and node list through the central device or the first node device that has updated the network key and node list.

[0072] In other words, in addition to synchronizing the updated network key and node list to all first node devices except the first node device to be deleted corresponding to the first intercom network, the first node device can also obtain the updated network key and node list by sending broadcast information.

[0073] (4) Delete nodes that have joined the network through the delete command

[0074] like Figure 5 As shown, the embodiment of the present application provides a method for dynamic networking of Bluetooth devices, the method comprising:

[0075] Step 501: A first intercom network is formed by at least two Bluetooth devices, one of the Bluetooth devices in the first intercom network is a central device, and the Bluetooth devices other than the central device of the first intercom network are first node devices.

[0076] Step 502: The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key.

[0077] Step 503: When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device.

[0078] Step 504: The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

[0079] Step 505: The central device sends a deletion instruction to the first node device to be deleted.

[0080] Step 506: After receiving the deletion instruction, the first node device to be deleted exits the first intercom network.

[0081] Through the embodiment of the present application, the central device can make the first node device exit the first intercom network in a timely manner through a deletion instruction.

[0082] It can be seen from the above embodiments that a node can join a network in an active or passive manner, and can also exit a network in an active or passive manner. The above four situations are respectively applicable to different scenarios.

[0083] like Figure 6 As shown, an embodiment of the present application provides a device for dynamic networking of Bluetooth devices, which is applied to a central device. The device includes a first Bluetooth module 601 and a first node management module 602.

[0084] The first Bluetooth module is configured to: form a first intercom network with the first node device; send data packets to the first node device and receive data packets sent by the first node device. The first node management module is configured to: generate a node list and a network key, and distribute the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices in the first intercom network can establish a communication connection through the network key; when a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and node list to the newly joined second node device; when a data packet that can be received by the second node device or the central device is sent through the first intercom network, or a data packet of the second node device or the central device is received, the network key and the node list are updated through the second node device or the central device.

[0085] In one embodiment of the present application, the first node management module is further configured to: after determining the node to be deleted, update the network key and the node list, and send broadcast information based on the first intercom network, the broadcast information including the updated network key and node list.

[0086] In one embodiment of the present application, the first node management module is also configured to: broadcast networking information; after receiving the networking information, the second node device outside the first intercom network sends a network access application to the central device; after the second node device receives the information sent by the central device agreeing to access the network within the first time interval, it joins the first intercom network.

[0087] In one embodiment of the present application, the first node management module is also configured to: scan second node devices outside the first intercom network; when a second node device outside the first intercom network is searched, send a network access invitation to the second node device; after the central device receives the invitation success information, the second node device joins the first intercom network.

[0088] In one embodiment of the present application, the first node management module is further configured to: send a deletion instruction to the first node device to be deleted, so that the node to be deleted exits the first intercom network after receiving the deletion instruction.

[0089] In one embodiment of the present application, the first node management module is further configured to: when the first node device to be deleted is determined, synchronize the updated network key and node list to all first node devices of the first intercom network other than the first node device to be deleted, so that the first node device to be deleted can receive the updated node list sent by the first node device corresponding to the first intercom network when establishing a communication connection with the first node device corresponding to the first intercom network; when there is no relevant information of the first node device to be deleted in the updated node list, the first node device to be deleted exits the first intercom network.

[0090] like Figure 7 As shown, an embodiment of the present application provides a device for dynamic networking of Bluetooth devices, which is applied to a first node device. The device includes a second Bluetooth module 701 and a second node management module 702.

[0091] The second Bluetooth module is configured to: join the first intercom network when the first intercom network is established; send data packets to any Bluetooth device corresponding to the first intercom network and receive data packets sent by any Bluetooth device.

[0092] The second node management module is configured to: receive the network key and node list sent by the central device corresponding to the first intercom network; send the network key and node list to the second Bluetooth module to establish a communication connection with any Bluetooth device in the first intercom network.

[0093] In one embodiment of the present application, the second node management module is further configured as: the first node device that receives the broadcast information updates the network key and the node list based on the broadcast information; the first node device that does not receive the broadcast information obtains the updated network key and the node list through the central device or the first node device that has updated the network key and the node list.

[0094] In one embodiment of the present application, the network key includes key manager information, the key manager information includes address information of the central device, and the first node management module is further configured to: when receiving a data packet sent from another first node device of the first intercom network, compare the source address information and the key manager information corresponding to the data packet; when the source address information and the key manager information are consistent, determine that the data packet comes from the central device; when the source address information and the key manager information are inconsistent, determine that the data packet comes from another first node device of the first intercom network that sent the data packet.

[0095] In one embodiment of the present application, the second node management module is also configured to: when creating a communication connection with the first node device corresponding to the first intercom network based on the locally stored network key and node list, receive an updated node list sent by the first node device corresponding to the first intercom network; check the updated node list, and if there is no relevant information of the first node device in the updated node list, exit the first intercom network.

[0096] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the claims and the full scope of their equivalents.

[0097] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as a feature of an application that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of the embodiments of a specific application. Thus, the claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the full scope of the equivalent forms of the attached claims and these claims.

[0098] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.

Claims

1. A method for dynamic networking of Bluetooth devices, characterized in that: The method comprises: A first intercom network is formed by at least two Bluetooth devices, wherein one Bluetooth device in the first intercom network is a central device, and Bluetooth devices other than the central device of the first intercom network are first node devices; The central device generates a node list and a network key, and distributes the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key; When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device; The first node device having the network key before updating sends a data packet that can be received by the second node device or the central device through the first intercom network, or when receiving a data packet from the second node device or the central device, updates the network key and the node list through the second node device or the central device.

2. The method according to claim 1, characterized in that The method further comprises: After the central device determines the node to be deleted, the network key and the node list are updated, and broadcast information is sent based on the first intercom network, where the broadcast information includes the updated network key and the node list; The first node device receiving the broadcast information updates the network key and the node list based on the broadcast information; The first node device that has not received the broadcast information obtains the updated network key and node list through the central device or the first node device that has updated the network key and node list.

3. The method according to claim 1, characterized in that The network key includes a key fixed field and key version information, wherein the fixed field is data information generated by a node list and clock information, and the central device updates the network key by modifying the key version information of the network key, wherein the node list corresponding to the generated data information is each Bluetooth device initially joined after the first intercom network is established.

4. The method according to claim 2, characterized in that: The network key also includes key manager information, and the key manager information includes address information of a central device. The method further includes: When the first node device receives a data packet sent from another first node device of the first intercom network, comparing the source address information corresponding to the data packet with the key manager information; When the source address information and the key manager information are consistent, determining that the data packet comes from the central device; When the source address information and the key manager information are inconsistent, it is determined that the data packet comes from another first node device of the first intercom network that sends the data packet.

5. The method according to claim 1, characterized in that The method further comprises: The central device of the first intercom network broadcasts the networking information; After receiving the networking information, the second node device outside the first intercom network sends a network access application to the central device; After receiving the network access consent information sent by the central device within the first time interval, the second node device joins the first intercom network.

6. The method according to claim 1, characterized in that The method further comprises: The central device scans the second node device outside the first intercom network; In case a second node device outside the first intercom network is searched, sending a network access invitation to the second node device; After the central device receives the invitation success information, the second node device joins the first intercom network.

7. The method according to claim 1, characterized in that The method further comprises: The central device sends a deletion instruction to the first node device to be deleted; After receiving the deletion instruction, the first node device to be deleted exits the first intercom network.

8. The method according to claim 1, characterized in that The method further comprises: When the central device determines the first node device to be deleted, the central device synchronizes the updated network key and node list to all first node devices other than the first node device to be deleted corresponding to the first intercom network; When the first node device to be deleted establishes a communication connection with the first node device corresponding to the first intercom network, the first node device corresponding to the first intercom network sends the updated node list to the node device to be deleted; The first node device to be deleted checks the updated node list. If there is no relevant information of the first node device to be deleted in the updated node list, the first node device to be deleted exits the first intercom network.

9. A device for dynamic networking of Bluetooth devices, characterized in that: Applied to a central device, the device includes a first Bluetooth module and a first node management module, the first Bluetooth module is configured to: form a first intercom network with a first node device; send a data packet to the first node device and receive a data packet sent by the first node device, and the first node management module is configured to: Generate a node list and a network key, and distribute the node list and the network key to all first node devices of the first intercom network, so that any two Bluetooth devices of the first intercom network can establish a communication connection through the network key; When a second node device outside the first intercom network joins the first intercom network, the central device updates the network key and the node list, and sends the updated network key and the node list to the newly joined second node device; When a data packet that can be received by the second node device or the central device is sent through the first intercom network, or a data packet of the second node device or the central device is received, the network key and the node list are updated through the second node device or the central device.

10. The device according to claim 9, characterized in that The first node management module is further configured to: after determining the node to be deleted, update the network key and the node list, and send broadcast information based on the first intercom network, wherein the broadcast information includes the updated network key and the node list.

11. The device according to claim 9, characterized in that The first node management module is further configured to: Broadcast networking information; After receiving the networking information, the second node device outside the first intercom network sends a network access application to the central device; After receiving the network access consent information sent by the central device within the first time interval, the second node device joins the first intercom network.

12. The device according to claim 9, characterized in that The first node management module is further configured to: Scanning a second node device outside the first intercom network; In case a second node device outside the first intercom network is searched, sending a network access invitation to the second node device; After the central device receives the invitation success information, the second node device joins the first intercom network.

13. The device according to claim 9, characterized in that The first node management module is further configured to: A deletion instruction is sent to the first node device to be deleted, so that the node to be deleted exits the first intercom network after receiving the deletion instruction.

14. The device according to claim 9, characterized in that The first node management module is further configured to: When the first node device to be deleted is determined, the updated network key and node list are synchronized to all first node devices of the first intercom network except the first node device to be deleted, so that the first node device to be deleted can receive the updated node list sent by the first node device corresponding to the first intercom network when establishing a communication connection with the first node device corresponding to the first intercom network; when there is no relevant information of the first node device to be deleted in the updated node list, the first node device to be deleted exits the first intercom network.

15. A device for dynamic networking of Bluetooth devices, characterized in that: Applied to a first node device, the device includes a second Bluetooth module and a second node management module, the second Bluetooth module is configured to: join the first intercom network when establishing the first intercom network; send a data packet to any Bluetooth device corresponding to the first intercom network and receive a data packet sent by any Bluetooth device; the second node management module is configured to: Receiving a network key and a node list sent by a central device corresponding to the first intercom network; The network key and the node list are sent to the second Bluetooth module so as to establish a communication connection with any Bluetooth device in the first intercom network.

16. The device according to claim 15, characterized in that The second node management module is further configured as: The first node device receiving the broadcast information updates the network key and the node list based on the broadcast information; The first node device that has not received the broadcast information obtains the updated network key and node list through the central device or the first node device that has updated the network key and node list.

17. The device according to claim 15, characterized in that The network key includes key manager information, and the key manager information includes address information of a central device. The first node management module is further configured as follows: When receiving a data packet sent from another first node device of the first intercom network, comparing the source address information corresponding to the data packet with the key manager information; When the source address information and the key manager information are consistent, determining that the data packet comes from the central device; When the source address information and the key manager information are inconsistent, it is determined that the data packet comes from another first node device of the first intercom network that sends the data packet.

18. The device according to claim 15, characterized in that The second node management module is further configured as: When establishing a communication connection with a first node device corresponding to the first intercom network based on the locally stored network key and node list, receiving an updated node list sent by the first node device corresponding to the first intercom network; Check the updated node list, and if there is no relevant information of the first node device in the updated node list, exit the first intercom network.

Citation Information

Cited By

  • Multi-device automatic configuration encryption method and system based on Bluetooth

    CN121099315A

  • Bluetooth-based multi-device automatic configuration encryption method and system

    CN121099315B