Network equipment control method and device
By unifying the network keys and encryption processes of node devices in the network device control device, the interoperability problem of Bluetooth mesh devices from different developers is solved, and a single operating software is realized to control Bluetooth mesh devices from multiple manufacturers, improving the efficiency Use experience.
Patent Information
- Application Number
- CN202011580981.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-15
- Filing Date
- 2020-12-28
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2040-12-28
AI Technical Summary
Due to different developers of existing Bluetooth mesh devices, their respective encryption processes and application software are incompatible. Users need to use different software to control devices from different developers, resulting in inconvenience.
By using an intermediary node in the network device control device, the network keys of the node devices are unified, and the encryption process in the function library is identified according to the node name, and the encryption process is switched to achieve cross-platform control, ensuring that Bluetooth mesh devices from different manufacturers can communicate with each other. Transfer data and be uniformly controlled.
It achieves cross-platform integrated control of Bluetooth mesh devices from different manufacturers, improves ease of use, avoids connection problems caused by different encryption processes, and enables a single operating software to control devices from multiple manufacturers.
Smart Images

Figure CN114697366B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a network device control method and device, and in particular to a network device control method and device for integrating and controlling different Bluetooth mesh devices. Background Art
[0002] There are many Bluetooth mesh device developers on the market today that sell various Bluetooth mesh devices. These Bluetooth mesh devices can communicate with each other as nodes, thereby achieving a larger communication range, flexibility, and scalability. When any of the Bluetooth mesh devices fails, other Bluetooth mesh devices can still provide the function of node transmission of information, so the mesh network can still operate normally.
[0003] However, since these Bluetooth mesh devices are all from different developers, they are not compatible with other developers, resulting in each developer having their own Bluetooth application software, and each developer will set different network encryption processes for their own Bluetooth mesh devices. If Bluetooth mesh devices from different developers are forcibly paired with Bluetooth application software from other manufacturers, problems will occur with the Bluetooth application software, or the Bluetooth mesh device will not be able to connect due to different network encryption processes. Therefore, users must use different Bluetooth application software for Bluetooth mesh devices from different developers, which is very inconvenient for users.
[0004] Therefore, it is necessary to provide a new method for integrated control in a mesh network, which can integrate and control different Bluetooth mesh devices. Summary of the invention
[0005] The main purpose of the present invention is to provide a network device control method for integrating and controlling different Bluetooth mesh devices.
[0006] To achieve the above-mentioned purpose, a network device control method of the present invention is applied to a network device control device to control multiple node devices of a mesh network in a mesh network environment. The multiple node devices respectively include a function library and a device name corresponding to the function library. The function library includes a network key. The network device control device includes a database. The database stores data of the function libraries and device names of the multiple node devices. The multiple node devices include an intermediate node device. The network device control method includes: in a device setting stage, the function libraries of the multiple node devices have the same network key; a signal is connected to the intermediate node device; the device name of the intermediate node device is obtained; according to the device name, the function library of the intermediate node device and the content of the function library are identified to confirm a connection encryption process used by the function library; switching to the connection encryption process used by the corresponding function library to complete the connection encryption process between the network device control device and the intermediate node device, so that the network device control device can transmit a command data to the multiple node devices in the mesh network through the intermediate node device.
[0007] According to an embodiment of the present invention, the network key is a 32-bit password.
[0008] According to an embodiment of the present invention, the network key includes an application layer encryption key (application key) and a network layer key (network key).
[0009] According to an embodiment of the present invention, during the device setting phase, the step of making the function libraries of the plurality of node devices have the same network key further comprises: generating a network key.
[0010] According to one embodiment of the present invention, the network device control device also includes a network key generation module and a device management module. The device setting stage is when the network device control device is connected to each of the multiple node devices for the first time, the network key generation module generates a network key, and the device management module sets the network key.
[0011] According to one embodiment of the present invention, the instruction data includes a setting instruction, and the network equipment control device is connected to the intermediate node device through the network key to obtain the setting authority of the function library corresponding to the intermediate node device to set the function library corresponding to the intermediate node device.
[0012] According to an embodiment of the present invention, the instruction data includes a control instruction, and the network device control device transmits the control instruction to one of the plurality of node devices in the mesh network through a function library corresponding to the intermediate node device.
[0013] The main purpose of the present invention is to provide a network device control device that integrates and controls different Bluetooth mesh devices.
[0014] To achieve the above-mentioned purpose, the network device control device of the present invention is applied to a mesh network, wherein the mesh network is composed of a plurality of node devices, the plurality of node devices respectively include a function library and a device name corresponding to the function library, the function library includes a network key, and the plurality of node devices include an intermediate node device. The network device control device includes a database, a device management module, a network module, a node name acquisition module, a function library identification module and a setting module. The database is used to store data of function libraries and device names of a plurality of node devices. The device management module is used in a device setting stage to enable the function libraries of a plurality of node devices to have the same network key. The network module is used to connect signals with the intermediate node device. The node name acquisition module is used to obtain the device name of the intermediate node device. The function library identification module is used to identify the function library corresponding to the intermediate node device and the content of the function library according to the device name, so as to confirm a connection encryption process used by the function library. The setting module is used to switch to the connection encryption process used by the corresponding function library to complete the connection encryption process between the network device control device and the intermediate node device, so that the network device control device can transmit a command data to multiple node devices in the mesh network through the intermediate node device.
[0015] According to an embodiment of the present invention, the network device control apparatus further includes a network key generation module for generating a network key in a device setting phase.
[0016] According to an embodiment of the present invention, the network device control apparatus further comprises a device management module, wherein the device setting stage is when the network device control apparatus is connected to each of the plurality of node devices for the first time, the network key generation module generates a network key, and the device management module sets the network key. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a system architecture diagram of a network device control device and each node device forming a mesh network according to an embodiment of the present invention;
[0018] Figure 2 It is a flowchart of the steps of a network device control method according to an embodiment of the present invention.
[0019]
Explanation of symbols
[0020] Network equipment control device 1
[0021] Database 10
[0022] Network Module 20
[0023] Node name acquisition module 30
[0024] Function library identification module 40
[0025] Setting module 50
[0026] Network key generation module 60
[0027] Device management module 70
[0028] Memory 80
[0029] Node devices 100, 200, 300
[0030] Function library 110, 210, 310
[0031] Mesh Network 900 DETAILED DESCRIPTION
[0032] In order to better understand the technical content of the present invention, preferred specific embodiments are described below.
[0033] Please refer to the following Figure 1 to Figure 2 A method for integrated control in a mesh network and a network device control device are provided according to an embodiment of the present invention. Figure 1 is a system architecture diagram of a network device control device and each node device forming a mesh network according to an embodiment of the present invention; Figure 2 It is a flowchart of the steps of a network device control method according to an embodiment of the present invention.
[0034] like Figure 1 As shown, in one embodiment of the present invention, a network device control device 1 and a network device control method are used to control Bluetooth mesh devices produced by different Bluetooth manufacturers in a Bluetooth network environment, so that users do not need to use different operating software for Bluetooth mesh devices produced by different Bluetooth manufacturers, thereby improving ease of use. The network device control device 1 is, for example, a smart phone, which is installed with an operating software to integrate and control multiple node devices 100, 200, 300. The multiple node devices 100, 200, 300 are household items with Bluetooth mesh network functions. The node devices 100, 200, 300 of the present invention are lamps, refrigerators, and speakers, respectively; but their types are not limited to the above.
[0035] A plurality of node devices 100, 200, 300 respectively include a function library 110, 210, 310 and a device name corresponding to the function library 110, 210, 310. The device names of the node devices 100, 200, 300 are respectively "lamp A01", "refrigerator B02", and "audio C03", and the plurality of node devices 100, 200, 300 are signal-connected to each other to form a mesh network 900. Each function library 110, 210, 310 can manage and execute the functions of each node device 100, 200, 300, for example, they can be connected to each other through the Bluetooth function and act as nodes to transmit data to each other, and each function library 110, 210, 310 has different network function encryption processes and network keys to ensure the security of transmitted data. The network key is a 32-bit password, and the network key includes an application layer encryption key and a network layer key. The application layer encryption key is used to protect application layer messages, which can protect the security of data related to specific applications (such as lighting, temperature control, etc.). The network layer key provides connection permissions to a specific network or subnet. A node must have a network layer key to become a member of the network, allowing the node to decrypt and verify data at the network layer. In addition, each function library 110, 210, 310 also records the relevant data of the node device 100, 200, 300, such as the manufacturer and device name of each node device 100, 200, 300; when each function library 110, 210, 310 is transmitting data, the function library 110, 210, 310 will make the data of the manufacturer and device name of each node device 100, 200, 300 into a packet and transmit it together with the rest of the data.In this embodiment, the network device control device 1 and the node devices 100, 200, and 300 all use the Bluetooth Mesh Profile specification released by the Bluetooth Special Interest Group (SIG); those skilled in the art should understand that the Bluetooth Special Interest Group (SIG) released the Bluetooth Mesh Profile 1.0 specification on July 13, 2017, and released version 1.0.1 on January 21, 2019; wherein the node (Node) of the Bluetooth mesh device includes Provisioner / Node Features / Element / Model, and the node of the Bluetooth mesh device has a configuration function, and the configuration is mainly through a security specification mechanism to configure the relevant keys (such as application layer encryption keys, network layer keys, unicast addresses) to unprovisioned devices (unprovisioned devices). When the device has a legitimate application layer encryption key and a network layer key, it becomes a node (Node) in a Bluetooth mesh network 900, and can transmit data to other nodes. It should be noted that the keys and principles for configuring nodes of a Bluetooth mesh network have been widely disclosed in the field of Bluetooth network technology, so they will not be described in detail.
[0036] The network device control apparatus 1 includes a database 10 , a network module 20 , a node name acquisition module 30 , a function library identification module 40 , a setting module 50 , a network key generation module 60 , a device management module 70 and a memory 80 .
[0037] The database 10 stores the function libraries 110, 210, 310 and device name data and connection records of multiple node devices 100, 200, 300. The network module 20 is a chip supporting the Bluetooth communication protocol, which is used to connect to any of the multiple node devices 100, 200, 300 by signal. Any node device 100, 200, 300 connected to is an intermediate node device. The intermediate node device will transfer the received data to other node devices, and the database 10 can switch to a corresponding encryption process in accordance with the encryption process of the function library 110, 210, 310 corresponding to each node device 100, 200, 300, the application layer encryption key of the network key and the network layer key. The intermediate node device is one of the multiple node devices 100, 200, 300. The intermediate node device is used as a transmission node of the mesh network, so that the network device control device 1 can be connected to other Bluetooth devices on the mesh network 900 through the node.
[0038] The node name acquisition module 30 is a chip or software with a Bluetooth packet parsing function, which is used to obtain the device name of the intermediate node device. The function library identification module 40 is used to identify the function library corresponding to the node device according to the device name obtained by the node name acquisition module 30. After the function library identification module 40 identifies the corresponding function library, it can further identify the encryption process adopted by the network function in the function library, and transmit the encryption process to the setting module 50, so that the setting module 50 switches to the encryption process that can correspond to the function library, so that the encryption process of the network device control device 1 and the intermediate node device are compatible and can transmit data to each other.
[0039] The setting module 50 is a chip or software with a connection encryption setting function, which is used to complete the connection encryption process between the network device control device 1 and the intermediate node device according to the function library, so that the network device control device 1 can transmit a command data to multiple node devices 100, 200, 300 in the mesh network 900 through the intermediate node device.
[0040] The network key generation module 60 is a chip or software with a network key generation function, and is used to generate a network key in a device setting phase. The device management module 70 is a chip or software with a network key setting function, and is used to set the network key generated by the network key generation module 60 to the node device 100, 200, 300 in the device setting phase. The device setting phase refers to when the network device control device 1 is connected to each node device 100, 200, 300 for the first time.
[0041] The memory 80 signal connects the database 10, the network module 20, the node name acquisition module 30, the function library identification module 40, the setting module 50, the network key generation module 60 and the device management module 70. The memory 80 is used to store the data and software required for the method of integrated control in the mesh network.
[0042] like Figure 1 and Figure 2 As shown, the network device control method of the present invention is programmed as an application and stored in the memory 80, and the application is presented on the touch screen of the network device control device 1 for user operation. When the user wants to set or control multiple node devices 100, 200, 300, the user can use the network device control device 1 to execute step 101 of the network device control method: generate a network key in a device setting stage so that the function libraries of multiple node devices have the same network key.
[0043] When the network device control device 1 is connected to each node device 100, 200, 300 for the first time through the network module 20, the network device control device 1 will check the connection record stored in the database 10 to determine whether the connection is the first connection. If it is determined to be the first connection, the device setting phase will be generated, and the network key generation module 60 will generate a network key for the Bluetooth network. The network key is a randomly generated 32-bit password, and the network key includes an application layer encryption key and a network layer key; but the format of the network key is not limited to the above. The device management module 70 will set the network key generated by the network key generation module 60 to the function library 110, 210, 310 of the node device 100, 200, 300, so that each function library 110, 210, 310 has the same network key; in this way, the network device control device 1 can use the same network key to connect to each node device 100, 200, 300 and obtain the use authority of each node device 100, 200, 300. In addition, during the device setting stage, when the network equipment control device 1 is connected to each node device 100, 200, 300, it will also analyze the packets transmitted by each node device 100, 200, 300 to obtain the function library 110, 210, 310 and device name data of the node device 100, 200, 300 and store it in the database 10.
[0044] Next, the network device control device 1 executes step 102 of the method for integrated control in the mesh network: signal connection to the intermediate node device.
[0045] As described above, multiple node devices have been set to have the same network key; thereby, the network module 20 can be signal-connected to any one of the multiple node devices 100, 200, 300 through the same network key, and regard the any one of the connected node devices 100, 200, 300 as an intermediate node device. In this embodiment, the network module 20 is signal-connected to the node device 100, and regards it as an intermediate node device.
[0046] Next, the network device control device 1 executes step 103 of the method for integrated control in the mesh network: obtaining the device name of the intermediate node device.
[0047] When the network module 20 signals the node device 100, it will also receive the Bluetooth network packet from the node device 100, and the Bluetooth network packet will be transmitted to the node name acquisition module 30. In this embodiment, the node name acquisition module 30 will parse the packet and parse out a name of the node device 100 of the intermediate node device, which is "Lighting A01" and the manufacturer is X Company.
[0048] Next, the network device control device 1 executes step 104 of the method for integrated control in the mesh network: identifying the function library of the intermediate node device and the content of the function library according to the device name to confirm a connection encryption process used by the function library.
[0049] After the node name acquisition module 30 parses out that the name of the node device 100 of the intermediate node device is "Lighting A01" and the manufacturer is X Company, since each function library 110, 210, 310 respectively records the relevant data of the node devices 100, 200, 300, such as the manufacturer and device name of each node device 100, 200, 300, the function library identification module 40 will identify the device corresponding to the name "Lighting A01" as the node device 100 and the function library 110 corresponding to the node device 100 from the packet content according to the name; wherein the content of the function library 110 records the type of encryption process of the network function executed by it, so the function library identification module 40 will further identify the encryption process adopted by the network function in the function library 110. The function library identification module 40 will confirm the encryption process adopted by the function library 110 according to the identified content of the function library 110, and transmit the confirmed encryption process to the setting module 50.
[0050] Finally, the network device control device 1 will execute step 105 of the mesh network integrated control method: switch to the connection encryption process used by the corresponding function library to complete the connection encryption process between the network device control device and the intermediate node device, so that the network device control device can transmit a command data to multiple node devices in the mesh network through the intermediate node device.
[0051] After the function library transmits the confirmed encryption process to the identification module 40, the setting module 50 will switch to a connection encryption process that can correspond to the function library to complete the connection encryption process between the network device control device 1 and the intermediate node device, so that the network device control device 1 and the node device 100 of the intermediate node device are compatible and can transmit data to each other.
[0052] After completing the connection encryption process, the network device control device 1 can transmit a command data to other node devices 200 and 300 in the mesh network 900 through the node device 100 of the intermediate node device. The command data includes a setting command. The network device control device 1 connects to the node device 100 of the intermediate node device through the network key to obtain the setting authority of the function library 110 corresponding to the node device 100 of the intermediate node device, so as to set the function library 110 corresponding to the node device 100 of the intermediate node device.
[0053] In addition, the instruction data may also include a control instruction (for example, "play music"). The network device control device 1 transmits the control instruction to other node devices 300 to be controlled in the mesh network 900 through the function library 110 corresponding to the node device 100 of the intermediate node device; thereby, the network device control device 1 can control the node device 300 to play music through the node of the intermediate node device.
[0054] Through the network device control device 1 of the present invention and the method for integrated control in a mesh network, cross-platform integrated control of node devices of different manufacturers can be achieved. Although the encryption process, operating software and network key of each manufacturer are different, they are all based on the common Bluetooth mesh architecture and principle. Therefore, by unifying the network key of each node device, issuing instructions through a single operating software, and switching the encryption process by identifying the function library to which each node device belongs, mesh network compatibility can be achieved, so that node devices developed by multiple different manufacturers can transmit information and control each other, achieving the effect that a single operating software can simultaneously control devices of multiple manufacturers, thereby improving ease of use.
[0055] It should be noted that the above is only an example and is not limited to the example. For example, anything that does not depart from the basic structure of the present invention should be within the scope of the rights claimed by this patent and should be subject to the claims.
Claims
1. A network device control method, applied to a network device control device, so as to control a plurality of node devices of different manufacturers in a Bluetooth mesh network environment, characterized in that: The plurality of node devices of different manufacturers respectively include a function library and a device name corresponding to the function library, the function library includes a network key, the network device control device includes a database, the database stores the data of the function library and the device name of the plurality of node devices of different manufacturers, the plurality of node devices of different manufacturers respectively include an intermediate node device, and the network device control method includes: In a device setting phase, the function libraries of the plurality of node devices of different manufacturers are made to have the same network key; signally connected to the intermediate node device; Obtain the device name and the manufacturer of the intermediate node device; Identify the function library of the intermediate node device and the content of the function library according to the device name and the manufacturer to confirm a connection encryption process used by the function library; and Switch to the connection encryption process corresponding to the function library to complete a connection encryption process between the network device control device and the intermediate node device, so that the network device control device can transmit a command data to the multiple node devices of different manufacturers in the Bluetooth mesh network through the intermediate node device.
2. The network device control method according to claim 1, characterized in that: The network key is a 32-bit password.
3. The network device control method according to claim 1, characterized in that: The network key includes an application layer encryption key and a network layer key.
4. The network device control method according to any one of claims 1 to 3, characterized in that: In the device setting stage, the step of making the function libraries of the plurality of node devices of different manufacturers have the same network key also includes: generating the network key.
5. The network device control method according to claim 4, characterized in that: The network equipment control device also includes a network key generation module and a device management module. The device setting stage is when the network equipment control device is connected to the multiple node devices of different manufacturers for the first time, the network key generation module generates the network key, and the device management module sets the network key.
6. The network device control method according to claim 1, characterized in that: The instruction data includes a setting instruction. The network device control device is connected to the intermediate node device through the network key to obtain the setting authority of the function library corresponding to the intermediate node device to set the function library corresponding to the intermediate node device.
7. The network device control method according to claim 1, characterized in that: The instruction data includes a control instruction, and the network device control device transmits the control instruction to one of the plurality of node devices of different manufacturers in the Bluetooth mesh network through the function library corresponding to the intermediate node device.
8. A network device control device, applied to a Bluetooth mesh network, characterized in that: The Bluetooth mesh network is composed of a plurality of node devices of different manufacturers, each of which includes a function library and a device name corresponding to the function library, the function library includes a network key, wherein each of the plurality of node devices of different manufacturers includes an intermediate node device, and the network device control device includes: A database for storing data of the function libraries and device names of the plurality of node devices of different manufacturers; A device management module, used in a device setting phase, to make the function libraries of the plurality of node devices of different manufacturers have the same network key; a network module, used for signal connection with the intermediate node device; a node name acquisition module, used to obtain the device name and the manufacturer of the intermediate node device; a function library identification module, for identifying the function library corresponding to the intermediate node device and the content of the function library according to the device name and the manufacturer, so as to confirm a connection encryption process used by the function library; A setting module is used to switch to the connection encryption process used by the corresponding function library to complete the connection encryption process between the network device control device and the intermediate node device, so that the network device control device can transmit a command data to the multiple node devices of different manufacturers in the Bluetooth mesh network through the intermediate node device.
9. The network device control device according to claim 8, characterized in that: The network key is a 32-bit password.
10. The network device control device according to claim 8, characterized in that: The network key includes an application layer encryption key and a network layer key.
11. The network device control device according to any one of claims 8 to 10, characterized in that: The invention also comprises a network key generation module for generating the network key in the device setting stage.
12. The network device control device according to claim 11, characterized in that: The device setting stage is when the network equipment control device is connected to the plurality of node devices of different manufacturers for the first time, the network key generation module generates the network key, and the device management module sets the network key.
13. The network device control device according to claim 8, characterized in that: The instruction data includes a setting instruction. The network device control device is connected to the intermediate node device through the network key to obtain the setting authority of the function library corresponding to the intermediate node device to set the function library corresponding to the intermediate node device.
14. The network device control device according to claim 8, characterized in that: The instruction data includes a control instruction, and the network device control device transmits the control instruction to the multiple node devices of different manufacturers in the Bluetooth mesh network through the function library corresponding to the intermediate node device.
Citation Information
Patent Citations
Bluetooth network phone and its wireless device
CN101127539A
Method of Packet Transmission in a Mesh Network
CN107770812A
Security network distribution method for MESH network and MESH equipment
CN108366362A
Electronic device and method for controlling node in network
CN109951362A
Mesh network encryption scheme based on non-public encryption algorithm
CN110267267A
