Power distribution secondary equipment internet-of-things open communication networking method based on Bluetooth Mesh
Through the IoT open communication networking method of power distribution secondary equipment based on Bluetooth Mesh, the problems of data security and high deployment cost in traditional power distribution system monitoring and management methods are solved, and self-synchronization and versioning between devices are realized. Management, improves system flexibility and scalability, simplifies device deployment, and improves transmission rate and network stability.
Patent Information
- Application Number
- CN202410783320.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-10
Smart Images

Figure CN118632224A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of the Internet of Things for power distribution systems, and in particular to an open communication networking method for the Internet of Things of power distribution secondary equipment based on Bluetooth Mesh. Background Art
[0002] IoT technology for power distribution systems has become a key area of development for smart grids. Traditional methods for monitoring and managing power distribution systems suffer from issues such as insecure data transmission and high deployment costs. With the development of smart grids, demand for monitoring, management, and control of power distribution systems is increasing, leading to a surge in interest in IoT technology for these systems. Applying IoT technology to power distribution systems enables intelligent monitoring, management, and control of power equipment, improving the efficiency and reliability of distribution systems.
[0003] Currently, the main communication networking methods include wired communication and wireless communication based on Modbus and gateways. Modbus-based communication suffers from issues such as poor data security and high deployment costs. While direct wireless communication reduces deployment complexity, it also faces challenges such as signal interference, device disconnection, and data loss, limiting its stability and reliability in practical applications. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an open communication networking method for the Internet of Things of power distribution secondary equipment based on Bluetooth Mesh, which simplifies and accelerates equipment deployment and ensures transmission rate.
[0005] The technical solution adopted by the present invention to solve the technical problem is to provide an open communication networking method for power distribution secondary equipment based on Bluetooth Mesh, including the following steps:
[0006] Use Bluetooth Mesh devices and network adapters to build a Bluetooth Mesh network;
[0007] Use a network provisioner to provision Bluetooth Mesh devices.
[0008] The power distribution secondary device scans the Bluetooth Mesh network, finds a Bluetooth Mesh device capable of network distribution, establishes a connection with the Bluetooth Mesh device, and sends a join request;
[0009] The power distribution secondary device determines the corresponding device model, binds itself to the Bluetooth Mesh network through the application identifier, and automatically completes the network access operation.
[0010] Before using Bluetooth Mesh devices and network adapter devices to build a Bluetooth Mesh network, the method further includes: initializing the Bluetooth Mesh devices.
[0011] The network distribution device is a mobile terminal with Bluetooth function.
[0012] When the network provisioning device is used to configure the Bluetooth Mesh device, in the beacon phase, if the unconfigured Bluetooth Mesh device supports the PB-ADV bearer layer, the unconfigured Bluetooth Mesh device will broadcast itself as an unconfigured device frame. If the unconfigured Bluetooth Mesh device uses the PB-GATT bearer, it directly sends a linkable advertising data packet.
[0013] After the power distribution secondary device determines the corresponding device model, the method further includes a step in which the power distribution secondary device performs a driver update according to the determined device model.
[0014] After the network access operation is automatically completed, the step further includes: the power distribution secondary device enters the application and selects the Bluetooth Mesh device to perform collection and control testing.
[0015] The Bluetooth Mesh device includes a Bluetooth gateway, which is used to communicate the Bluetooth Mesh network with external systems or devices.
[0016] Beneficial effects
[0017] Due to the adoption of the above-mentioned technical solution, the present invention has the following advantages and positive effects compared to the existing technology: The present invention uses Bluetooth Mesh-based inter-device self-communication to achieve self-synchronization and version management between data and drivers. At the same time, through Bluetooth's multi-hop communication mechanism, it achieves wide coverage and increases the coverage area, improving the flexibility and scalability of the system. Compared with traditional Modbus wiring, the present invention uses Bluetooth Mesh technology to simplify and accelerate device deployment, and sensor deployment can be completed without extensive electrical knowledge. Furthermore, compared with traditional LoRa and ZigBee technologies, Bluetooth Mesh has better power consumption performance and transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Schematic diagram of the Bluetooth Mesh protocol stack structure used in an embodiment of the present invention;
[0019] Figure 2 This is a flowchart of an open communication networking method for power distribution secondary equipment IoT based on Bluetooth Mesh in an embodiment of the present invention. DETAILED DESCRIPTION
[0020] Below in conjunction with specific embodiment, further set forth the present invention.Should be understood that these embodiments are only used to illustrate the present invention and are not used in limiting the scope of the present invention.In addition, should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall equally within the scope limited by the appended claims of the application.
[0021] The embodiments of the present invention relate to an open communication networking method for the Internet of Things of power distribution secondary equipment based on Bluetooth Mesh, which aims to realize intelligent connection and data exchange between various secondary devices in the power distribution system. At the same time, relying on the cloud master station, it can send control strategies, dynamic update strategies, update device firmware, etc. to the gateway device, and combine the collector information to update the collection strategy and device firmware and other functions.
[0022] The Bluetooth Mesh networking technology in this embodiment relies on low-power Bluetooth technology, which is the wireless communication protocol stack of Bluetooth Mesh (see Figure 1 ).
[0023] Bluetooth Mesh networks use a technique called managed flooding to deliver messages. Messages published by a node are broadcast. Unlike routing, this ensures that all nodes receive the message, rather than routing it directly to one or more specific nodes. Furthermore, if set to broadcast, relay nodes in the network will also relay the message and then rebroadcast it, ensuring that other nodes farther from the original node receive the broadcasted message.
[0024] Bluetooth Mesh uses flooding to send messages to multiple destinations within the network, achieving multi-path delivery. Managing these communication messages primarily utilizes "managed flooding" within Bluetooth Mesh. The main measures are as follows:
[0025] Heartbeats: The device will periodically send heartbeat messages to other nodes in the network, including their topology and hop count information, to quickly understand the status of devices in the network.
[0026] TTL (Time to Live): This field is included in all Bluetooth Mesh PDUs. It controls the maximum number of relay hops (up to 126). The TTL value decreases by 1 with each forwarding. When the TTL value reaches 1, no further forwarding is performed. Setting the TTL ensures that nodes do not relay too many times, allowing them to control relaying and save energy. Heartbeat messages allow nodes to determine the optimal TTL value for each published message.
[0027] Message Cache: All nodes implement a message cache. The message cache contains all recently received messages. If a message is found in the message cache, it indicates that the node has received and processed the message before, and it is immediately discarded.
[0028] Random Delay: By using a random number advDelay to adjust the broadcast event time of each node, the probability of collision on the broadcast channel is reduced.
[0029] Friendship mechanism: Through the combination of Friend nodes and LowPower nodes, Friend nodes are used to provide message storage and forward services to associated LowPower nodes, enabling LowPower nodes to operate in an efficient and energy-saving manner.
[0030] A node receiving a message passes it from the underlying Bluetooth Low Energy protocol stack through the bearer layer to the mesh protocol stack, ultimately reaching the network layer. The network layer applies various checks to decide whether to pass the message to higher protocol stacks or discard it. Furthermore, the PDU has a Network ID field, which provides a quick way to determine which NetKey was used to encrypt the message. If the network layer on the receiving node doesn't recognize the NetKey, it indicates that it doesn't have the corresponding NetKey and isn't a member of the subnet, so the PDU is discarded. There's also a Network Message Integrity Check (MIC) field. If the MIC check fails, the NetKey corresponding to the PDU's Network ID is used, and the message is discarded. Messages are received by all nodes within range of the sending node, but many messages are quickly discarded when these nodes belong to networks or subnets that are clearly unrelated to them. The same principle applies in the upper transport layer as it moves up the protocol stack. However, the check here is against the application identifier (AppKey) associated with the message, identified by the Application Identifier (AID) field in the PDU. If the node doesn't recognize the AID, the PDU is discarded by the upper transport layer. If the Transmit Message Integrity Check (TransMIC) fails, the message will be discarded.
[0031] The Bluetooth Mesh-based open communication networking method for power distribution secondary equipment IoT in this embodiment mainly includes the following steps:
[0032] Step 1: Initialize the Bluetooth Mesh device.
[0033] Step 2: Use Bluetooth Mesh devices and network adapters to build a Bluetooth Mesh network. The network adapter can use a mobile terminal with Bluetooth function.
[0034] Step 3: Use the network provisioning device to perform network provisioning operations. In this step, in the Bluetooth Mesh network, the network provisioning device is used to configure the corresponding Bluetooth Mesh device. Network provisioning mainly consists of five stages: beaconing, invitation, public key exchange, authentication, and sending allocated network provisioning data. In the beaconing stage, if the unconfigured Bluetooth Mesh device supports the PB-ADV bearer layer, the unconfigured Bluetooth Mesh device will broadcast itself as an unconfigured device frame. If the unconfigured Bluetooth Mesh device uses the PB-GATT bearer, it can directly send a linkable advertising data packet. The purpose is to allow the new device to indicate to the network provisioning device that it is ready to join the network and can proceed with the subsequent network provisioning process.
[0035] Step 4: Scan and select secondary power distribution devices. The details are as follows: The user opens the network configuration program in the secondary power distribution device. The program first scans the surrounding network for available nodes. After scanning the Bluetooth Mesh network, the secondary power distribution device displays information about available Bluetooth Mesh devices. Select Bluetooth Mesh Device Information to view details of the scanned Bluetooth Mesh devices. Click Join Network Configuration to select Bluetooth Mesh devices and join the Bluetooth Mesh network. Joining a Bluetooth Mesh network typically involves establishing a connection with one or more Bluetooth Mesh devices in the network and sending a join request.
[0036] Step 5: Device model selection and AppKey binding. In this step, after clicking to join the Bluetooth Mesh network, you need to select the device model corresponding to the power distribution secondary device. After selection, the power distribution secondary device will update its driver based on the selected device model, facilitating subsequent device data collection and device control. After selecting the corresponding device model, enter the AppKey to bind the power distribution secondary device to the Bluetooth Mesh network. The bound power distribution secondary device will communicate autonomously and complete the network configuration operation. Once the device successfully joins the Bluetooth Mesh network, it will obtain relevant information about the Bluetooth Mesh network, such as the network topology, node list, routing information, etc. This information is very important for subsequent communication of the network distribution device because it guides the power distribution secondary device to find the best communication path in the network.
[0037] Step 6, equipment network access and communication test: After completing the network access operation of the secondary distribution equipment, you can first enter the application, click the corresponding device, and test whether the collection program and equipment control program can be used, and whether the corresponding collection information is consistent with the actual data.
[0038] Step 7, Bluetooth Gateway Configuration: This implementation also includes a Bluetooth gateway, which is used to enable communication between the Bluetooth Mesh network and external systems or devices. The Bluetooth gateway has data conversion and interface conversion capabilities, converting data within the Bluetooth Mesh network into standard interfaces or protocols, facilitating data exchange and communication with external systems.
[0039] Bluetooth Mesh devices can access the Internet through a Bluetooth gateway in the same network, through wireless WiFi or wired connection, and transmit the corresponding networking devices and collected information to the cloud master station. The Bluetooth gateway contains an operating system in which the corresponding local control logic and data processing can be executed. If you use a WiFi link, you need to enter the network configuration app, click on the Bluetooth gateway, and find the wireless network link in the device. At this time, the wireless network indicator light will flash blue, indicating that the network connection operation is in progress. When the link is successful, it will turn into a solid blue light after the network has been joined. If the indicator light turns solid pink, it means that the network is connected, but the network cannot access the Internet. Similarly, when using a wired link, the wired link indicator light will flash blue. When the network is successfully connected, it will turn into a solid blue light. If the indicator light turns solid pink, it means that the network is connected, but the network cannot access the Internet.
[0040] After using the method of this embodiment, the distribution secondary equipment can realize real-time data exchange and control command transmission through the Bluetooth Mesh network, and at the same time provide an open interface to the outside through the Bluetooth gateway, so that external systems or devices can easily connect and communicate with the secondary equipment in the distribution system, realizing the open communication networking of the Internet of Things of distribution secondary equipment.
[0041] It's easy to see that in this implementation, Bluetooth Mesh allows devices to interconnect and form a distributed network, providing greater flexibility and scalability. Devices in the distribution network can dynamically join or leave the network without affecting the stability and performance of the entire network. This not only stabilizes the distribution network environment but also facilitates device upgrades. A Bluetooth Mesh network is a decentralized network structure that doesn't rely on a single central node for control and management. Each device can act as a router or repeater in the network, communicating and controlling other devices directly, reducing the risk of single points of failure and improving network stability and reliability. Bluetooth Mesh features low latency, enabling real-time communication and response between devices, making localized control operations faster and more efficient. Bluetooth Mesh supports many-to-many communication and broadcast capabilities, allowing messages or control commands to be sent to multiple devices simultaneously. This simplifies group operations within the network and enables the control of multiple devices at once, improving operational efficiency. Bluetooth Mesh networks utilize low-power Bluetooth technology, along with optimized communication protocols and routing algorithms, to reduce device energy consumption and extend battery life. This is particularly important for battery-powered devices (such as monitoring equipment that cannot be wired), reducing the frequency of battery replacements and improving device availability and reliability. Connecting and controlling devices through Bluetooth Mesh enables intelligent interoperability between devices, improving overall system performance and availability, and providing users with a more convenient and intelligent user experience.
Claims
1. A method for connecting power distribution secondary equipment to the Internet of Things (IoT) based on Bluetooth Mesh, characterized in that: The following steps are involved: Use Bluetooth Mesh devices and network adapters to build a Bluetooth Mesh network; Use a network provisioner to provision Bluetooth Mesh devices. The power distribution secondary device scans the Bluetooth Mesh network, finds a Bluetooth Mesh device that can perform network distribution, establishes a connection with the Bluetooth Mesh device, and sends a joining request; The power distribution secondary device determines the corresponding device model, binds itself to the Bluetooth Mesh network through the application identifier, and automatically completes the network access operation.
2. According to the Bluetooth Mesh-based open communication networking method for power distribution secondary equipment Internet of Things according to claim 1, it is characterized in that: Before using the Bluetooth Mesh device and the network adapter device to build a Bluetooth Mesh network, the method also includes: initializing the Bluetooth Mesh device.
3. The method for connecting power distribution secondary equipment to the Internet of Things based on Bluetooth Mesh according to claim 1 is characterized in that: The network distributor device is a mobile terminal with Bluetooth function.
4. The method for connecting power distribution secondary equipment to the Internet of Things based on Bluetooth Mesh according to claim 1 is characterized in that: When the network provisioner device is used to perform network provisioning operations on the Bluetooth Mesh device, in the beacon stage, if the unconfigured Bluetooth Mesh device supports the PB-ADV bearer layer, the unconfigured Bluetooth Mesh device will broadcast itself as an unconfigured device frame. If the unconfigured Bluetooth Mesh device uses the PB-GATT bearer, it directly sends a linkable advertising data packet so that the network provisioner can discover and identify it.
5. The method for connecting power distribution secondary equipment to the Internet of Things based on Bluetooth Mesh according to claim 1 is characterized in that: After the power distribution secondary device determines the corresponding device model, the method further includes a step in which the power distribution secondary device performs a driver update according to the determined device model.
6. The method for connecting power distribution secondary equipment to the Internet of Things based on Bluetooth Mesh according to claim 1 is characterized in that: After the network access operation is automatically completed, the step also includes: the power distribution secondary device enters the application program to select the Bluetooth Mesh device for collection and control testing.
7. The method for connecting power distribution secondary equipment to the Internet of Things based on Bluetooth Mesh according to claim 1 is characterized in that: The Bluetooth Mesh device includes a Bluetooth gateway, and the Bluetooth gateway is used to communicate the Bluetooth Mesh network with an external system or device.
Citation Information
Cited By
Strong Bluetooth and Wi-Fi cooperative communication method, system and device
CN118945750A
Production test method suitable for WIFI and Bluetooth equipment
CN119497133A
Provisioning method and device for bluetooth mesh network
TWI918331B
