Dual-mode star flash water meter ad hoc network communication method based on SLE + SLB
By using SLE+SLB's dual -mold flash water meter self -collection communication method in the wireless intelligent metering network, the problem of low network coverage and poor transmission quality are solved, and efficient network coverage and secure data communication is achieved.
Patent Information
- Application Number
- CN202411300067.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-24
AI Technical Summary
The existing wireless intelligent meter reading network has problems such as low network coverage and poor transmission quality, which is difficult to meet the needs of smart devices for high-quality short-range wireless connections.
The dual-mode StarLight water meter self-organizing network communication method based on SLE+SLB is adopted. Through the combination of SLB and SLE modes, multiple network access methods for StarLight water meter terminals and peripheral routing terminals are realized to improve network coverage and network access success rate.
It significantly improves the network coverage and the success of the network, reduces the cost of installation and maintenance, and ensures the security of data communication through custom protocol frame structure.
Smart Images

Figure CN119364331A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB. Background Art
[0002] With the continuous development of Internet of Things technology, the number of Internet of Things smart devices (hereinafter referred to as smart devices) has grown exponentially. After combining water meter reading services with Internet of Things technology, wireless meter reading technology has emerged. Traditional wireless meter reading services mostly use Internet of Things devices such as LoRa (Long Range), NB-IOT (Narrow Band-Internet of Things), and Bluetooth. However, wireless meter reading using LoRa technology has high transmission delay; wireless meter reading using NB-IOT technology is prone to failures that lead to communication interruption, poor communication quality, and long construction time; wireless meter reading using Bluetooth technology may have interference problems, affecting transmission quality and the number of connections that can be supported at the same time is limited.
[0003] Therefore, in recent years, a new wireless short-range communication Star Flash technology has been introduced, commonly known as a "Wi-Fi + Bluetooth" hybrid. This technology is a major revolution in wireless communication technology and can meet the needs of smart cars, smart terminals, smart manufacturing, and smart homes for high-quality short-range wireless connections. Summary of the invention
[0004] The purpose of the present invention is to solve the problems of low network coverage and poor transmission quality of wireless intelligent meter reading networks in the prior art, and to provide a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, which greatly improves the network coverage, increases the network access success rate, and reduces the installation and maintenance costs.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions: A dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, characterized in that it includes the following steps: S1: The Xingshan water meter terminal uses the SLB mode to establish a connection with the surrounding Xingshan routing terminals. If it fails, it uses the SLE mode to establish a connection with the surrounding Xingshan routing terminals; S2: If the connection cannot be established in SLE mode, use SLE mode to scan other surrounding Xingshan water meter nodes, obtain the device list information of other Xingshan water meter nodes within the preset range, and establish a connection; S3: Select the second star flash water meter node with the best signal strength among the connected devices, and update the device list information of the star flash water meter node; S4: Determine the communication mode according to the relationship between the signal strengths of the current star flash water meter node and the second star flash water meter node.
[0006] The dual-mode star flash water meter self-organizing network communication method based on SLE+SLB provided by the present invention utilizes the wireless short-distance communication star flash technology and adopts the "SLE+SLB" dual-mode star flash water meter networking method. Each communication can carry out data communication through three network access methods: separate SLB mode, separate SLE mode, and SLE+SLB networking according to the network status, which greatly improves the network coverage, improves the network access success rate, and reduces the installation and maintenance costs.
[0007] Preferably, step S4 includes: if the signal strength of the local Star Flash water meter node is greater than the signal strength of the second Star Flash water meter node, then the sending and receiving data is placed to all device list nodes of the local Star Flash water meter node and the second Star Flash water meter node, and all connectable Star Flash water meter nodes are used to communicate with the routing terminal; otherwise, the local Star Flash water meter node searches for the optimal communication path, places the data to be sent and received on the second Star Flash water meter node, and uses the second Star Flash water meter node as a communication hub for communication.
[0008] Preferably, the Starlight water meter terminal uses the SLB mode to establish a connection with the surrounding Starlight routing, including: the Starlight water meter node searches for the routing terminal name, if the search is successful, the Starlight water meter node initiates a connection through the Starlight routing terminal key, if the connection is successful, the Starlight water meter node and the Starlight routing terminal exchange data.
[0009] Preferably, the Star Flash water meter terminal uses the SLE mode to establish a connection with the surrounding Star Flash routers, including: the Star Flash water meter node sends a broadcast signal to the outside, the Star Flash router terminal receives the broadcast signal to be connected, and performs pairing connection according to the Star Flash water meter node name and pairing code.
[0010] Preferably, in step S1, if the Xingshan water meter node establishes a connection with the Xingshan routing terminal, the Xingshan routing terminal checks whether there is data to be sent in the cache. If so, the cached data is sent to the Xingshan water meter node, and then normal data communication is carried out.
[0011] Preferably, a breadth-first path finding traversal algorithm is used to search for the optimal communication path, and its average time complexity is 0(n+e) and space complexity is 0(n), where n is the number of nodes and e is the number of communication links.
[0012] Preferably, step S2 includes: the Star Flash water meter node sends a scanning signal to the network area block where it is located using the SLE networking mode, scans other Star Flash water meter nodes in the network area block, and obtains the device list information of all other Star Flash water meter nodes within a preset range.
[0013] Preferably, step S3 includes: selecting a second Star Flash water meter node with the strongest signal strength according to the device information in the scan response package received from all other connected Star Flash water meter node devices, completing the pairing connection through a key, and obtaining the latest device list information of the second Star Flash water meter node after the connection is completed. The network status of the Star Flash water meter node itself changes, thereby updating the device list information of the Star Flash water meter node.
[0014] Preferably, in step S2, after the connection is established, a query broadcast packet is sent, and a scan response packet fed back by all other connected StarShine water meter node devices is received.
[0015] Preferably, the data frame format of the scan response packet and the broadcast packet is a customized transmission protocol based on the SLE protocol stack, and the protocol format includes a protocol header, data, CRC checksum and a protocol frame tail.
[0016] Therefore, the present invention has the following beneficial effects: 1. The dual-mode Star Flash water meter networking method of "SLE+SLB" is adopted. Each communication can carry out data communication through three network access methods: separate SLB mode, separate SLE mode, and SLE+SLB networking according to the network status, which greatly improves the network coverage, improves the network access success rate, and reduces the installation and maintenance costs.
[0017] 2. A custom protocol frame structure is introduced based on the communication protocol stack to ensure the security of data communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of the steps of the dual-mode star flash water meter self-organizing network communication method based on SLE+SLB in the present invention.
[0019] Figure 2 This is a schematic diagram of the SLB networking of the Xingshan water meter terminal in the present invention.
[0020] Figure 3 It is a schematic diagram of the SLE networking of the Xingshan water meter terminal in the present invention.
[0021] Figure 4 This is a schematic diagram of the SLE+SLB networking of the Xingshan water meter terminal in the present invention. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments: Embodiment 1: This embodiment provides a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, such as Figure 1As shown, the operation process is as follows: Step 1, the Star Flash water meter terminal uses the SLB mode to establish a connection with the surrounding Star Flash routing terminals. If it fails, it uses the SLE mode to establish a connection with the surrounding Star Flash routing terminals; Step 2, if the connection cannot be established in the SLE mode, use the SLE mode to scan other surrounding Star Flash water meter nodes, obtain the device list information of other Star Flash water meter nodes within the preset range, and establish a connection; Step 3, select the second Star Flash water meter node with the best signal strength among the connected devices, and update the device list information of this Star Flash water meter node; Step 4, determine the communication method according to the relationship between the signal strength between the current Star Flash water meter node and the second Star Flash water meter node.
[0023] The dual-mode star flash water meter self-organizing network communication method based on SLE+SLB provided in this embodiment uses the wireless short-distance communication star flash technology and adopts the "SLE+SLB" dual-mode star flash water meter networking method. Each communication can be carried out according to the network status through three network access methods: separate SLB mode, separate SLE mode, and SLE+SLB networking. First, the SLB mode is used for data communication. If data communication cannot be carried out in the SLB mode, the SLE mode is used for data communication. If data communication cannot be carried out in the SLE mode, the SLE+SLB networking is used for data communication, which greatly improves the network coverage, improves the network access success rate, and reduces the installation and maintenance costs.
[0024] The technical scheme and technical effects of the present invention will be further described below through specific examples. The following examples are explanations of the present invention and the present invention is not limited to the following examples.
[0025] In the prior art, the wireless intelligent meter reading network technology methods generally include the following: (1) LoRa+concentrator network mode.
[0026] The water meter is equipped with a LoRa module, which is responsible for sending the meter reading data to the nearest concentrator via LoRa wireless signals. The concentrator then transmits this data to the water company's central monitoring system via a wired or wireless network.
[0027] However, the disadvantages of the LoRa+concentrator network mode are: the payload of LoRa transmission data is relatively small and has a byte limit. As the number of devices and network deployments continues to increase, there will be certain spectrum interference between them. Due to the use of spread spectrum technology, LoRa's transmission delay is relatively high and is not suitable for fields with high real-time requirements.
[0028] (2) NB-iot communication technology.
[0029] The NB-iot module communicates wirelessly with the IoT communication base station. When water flows through the water meter, the water meter will automatically record and transmit the water consumption data to the cloud server. The water supply management department can grasp the water consumption of the water meter in real time, find and solve problems in time, and improve the efficiency of water supply management.
[0030] However, the disadvantages of NB-iot communication technology are: less data transmission, based on low power consumption, resulting in NB-iot can only transmit a small amount of data. The technology is not mature. Although NB-iot technology is widely used, in actual application, what kind of failure often leads to communication interruption. Telecom's IoT platform uses the Coap protocol, which is complex to connect. In order to be compatible with traditional TCP and UDP communications, the construction time is often too long.
[0031] (3) Bluetooth communication technology + mobile phone APP.
[0032] Establish a network connection between the mobile phone (Bluetooth host) and the water meter (Bluetooth slave), use the meter reading APP software on the mobile phone to read the device data in the slave network, and then upload it to the server terminal to realize the meter reading function.
[0033] However, the disadvantages of Bluetooth communication technology + mobile phone APP are: the transmission distance of Bluetooth technology is usually short and is greatly affected by physical obstacles. Since Bluetooth works in the 2.4GHz frequency band, there may be interference with other wireless devices, affecting the transmission quality. The number of connections that Bluetooth technology can support at the same time is limited, which may be a limitation for applications that need to connect multiple devices at the same time.
[0034] Therefore, this embodiment provides a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, which is used to solve the following technical problems: (1) Solve the technical problem of the limited number of connections that can be made in the existing water meter reading network communication.
[0035] (2) Solve the problem of information reception delay caused by heavy communication pressure on water meter reading network nodes.
[0036] (3) Solve the problem that the existing water meter reading network communication equipment does not meet the low power consumption requirements.
[0037] (4) Solve the problem of limited transmission distance due to poor network signal quality of existing water meter reading network communication equipment.
[0038] SLB (Server Load Balancer) is a network technology used to distribute network traffic evenly to multiple servers to ensure that each server can effectively process requests. This technology is implemented by using specialized equipment or software, aiming to improve the overall performance of the system, prevent a server from being overloaded, and improve the availability and stability of services. The core idea of SLB is to distribute requests to multiple servers to achieve server load balancing, thereby improving system performance and availability. It can forward requests to different servers for processing based on the characteristics of client access requests, achieving flexible and efficient load balancing functions. SLB can operate at the content layer, network layer, or transport layer to achieve this load balancing.
[0039] SLE (Super Low Energy) networking generally refers to a special operating mode or configuration designed to reduce power consumption to an extremely low level in order to extend the life of battery-powered devices. This mode achieves the lowest power consumption by reducing the device's active time and reducing the frequency of data transmission1. In the Internet of Things (IoT) and smart home systems, SLE mode is particularly suitable for devices that need to run for a long time but have low data transmission requirements, such as smart watches, health monitoring devices, environmental monitoring sensors, remote monitoring equipment, smart street lights, and trash bin monitoring, etc.
[0040] In Star Flash technology, SLE and SLB refer to two special working modes or configurations that are used to meet the extremely low power consumption and extremely low bandwidth requirements in specific scenarios. The SLE mode is designed to reduce power consumption to an extremely low level to extend the life of battery-powered devices. This mode achieves the lowest power consumption by reducing the active time of the device and reducing the frequency of data transmission. The SLB mode is designed to greatly reduce the data transmission bandwidth to adapt to scenarios with low bandwidth requirements but high power consumption and stability requirements. In SLB mode, the data transmission rate is low and is suitable for transmitting simple status information or periodic data. That is, the SLE mode focuses on reducing power consumption to extend the battery life of the device. The SLB mode focuses on reducing bandwidth requirements to adapt to low data volume transmission scenarios while ensuring low power consumption.
[0041] These two modes enable the Star Flash technology to be flexibly deployed in a wider range of application scenarios, especially in environments with strict restrictions on power consumption and data transmission requirements. This embodiment uses the Star Flash technology to perform wireless meter reading of water meters.
[0042] Specifically, Figure 1 As shown, a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB includes the following steps: Step 1: Wake up the Xingshan water meter terminal and use the SLB mode to establish a network connection with the surrounding Xingshan routing devices.
[0043] like Figure 1 As shown in step 102 and step 103, once the Star Flash water meter node wakes up from low power consumption, it starts to establish connections with surrounding Star Flash routing terminals using the SLB network mode.
[0044] Once the connection is successful in SLB mode, the Xingshan water meter node can interact with the routing terminal device for data; once the connection fails in SLB mode, the Xingshan water meter node turns off the SLB network mode and switches to the SLE network mode.
[0045] Specific implementation method Figure 2 As shown, a part of the network topology diagram of the Xingshan water meter node using the SLB network mode transmission is shown. The Xingshan routing terminal establishes a connection with the surrounding Xingshan water meter nodes (G / T1, G / T2, G / T3, G / T4) under the SLB network mode.
[0046] The networking process is as follows: the Star Flash water meter node searches for the Star Flash routing terminal name (SSID). Once the search is successful, the Star Flash water meter node initiates a connection through the Star Flash routing terminal key.
[0047] Because the Star Flash Water Meter Node cannot transmit data under low power consumption conditions, once the Star Flash Water Meter Node establishes a connection with the Star Flash Routing Terminal, the terminal routing will first check whether there is data to be sent in the cache. If there is data to be sent, the cached data will be sent to the Star Flash Water Meter Node, and then normal data communication will be carried out.
[0048] Step 2: On the Xingshan water meter terminal, turn off the SLB network mode, turn on the SLE network mode, and use the SLE network mode to connect to the Xingshan routing terminal.
[0049] like Figure 1 As shown in steps 102 and 103, the Star Flash water meter node begins to establish a connection with the Star Flash routing terminal using the SLE network mode. Once the connection is successful in the SLE network mode, the Star Flash water meter node can exchange data with the terminal routing device.
[0050] Specific implementation method Figure 3 As shown, the Xingshan routing terminal establishes a connection with the surrounding Xingshan water meter nodes (G / T1, G / T2, G / T3, G / T4) under the SLE network mode.
[0051] The networking process is as follows: the Star Flash water meter node sends a broadcast signal to the outside, the Star Flash routing terminal receives the broadcast signal to be connected, and pairs and connects according to the Star Flash water meter node name and pairing code. Because the Star Flash water meter node cannot transmit data under low power consumption, once the Star Flash water meter node successfully establishes a connection with the Star Flash routing terminal, the Star Flash routing terminal will first check whether there is data to be sent in the cache. If there is data to be sent, the cached data will be sent to the Star Flash water meter node, and then normal data communication will be carried out.
[0052] Step 3: Use the SLE network mode to scan other nearby StarShan water meter nodes, obtain the list of StarShan water meter node devices within the preset range, and establish a connection.
[0053] like Figure 2 As shown in step 104, once the Xingshan water meter node fails to connect to the Xingshan routing terminal in the SLE network mode, it starts to use the SLE network mode to scan other surrounding Xingshan water meter nodes, obtain the list of Xingshan water meter node devices within the preset range, and establish a network connection. Then it sends a query broadcast packet and receives scan response packets fed back by all other connected Xingshan water meter node devices.
[0054] Specific implementation method Figure 4 As shown, a part of the network topology diagram is shown. There are three network area blocks (network area block 1, network area block 2 and network area block 3). The Xingshan routing terminal establishes a connection with the network area block through the "SLE+SLB" networking method. For each network area block, it includes several Xingshan water meter nodes, and the Xingshan water meter nodes are connected through the SLE network mode.
[0055] The networking process is as follows: first, specify the Star Flash water meter node as G / T11, and G / T11 starts to use the SLE networking mode to send a scanning signal to the network area block 1 where it is located, and scans other Star Flash water meter nodes in the network area block 1 (other Star Flash water meter nodes include G / T12, G / T13, ... G / T1n, where n is not greater than 4096), and obtains the device list information of all other Star Flash water meter nodes within the preset range.
[0056] The local Star Flash water meter node sends query broadcast packets to all other Star Flash water meter nodes, and receives scan response packets fed back by all Star Flash water meter nodes within a preset range.
[0057] For example, in network area block 2, the local Star Flash water meter node is designated as G / T21. G / T21 starts to use the SLE networking mode to send a scan signal to the network area block 2 where it is located, scans other Star Flash water meter nodes in network area block 2 (other Star Flash water meter nodes include G / T22, G / T23, ... G / T2n, where n is not greater than 4096), and obtains the device list information of all other Star Flash water meter nodes within the preset range. The local Star Flash water meter node sends a query broadcast packet to all other Star Flash water meter nodes, and receives the scan response packet fed back by all Star Flash water meter nodes within the preset range. The scan response packet contains the device list information of the Star Flash water meter node.
[0058] The above examples are based on other Xingshan water meter nodes in network area block 1 and network area block 2. The networking modes of other network area blocks are the same as above.
[0059] Step 4: Select the second Star Flash node with the strongest signal strength to connect and obtain the list of devices connected to the second Star Flash water meter node.
[0060] like Figure 1 As shown in step 105, according to the device list information in the received scan response packet, the second Star Flash node with the strongest signal strength is selected for connection, and the second Star Flash water meter node connection device list information is obtained.
[0061] Specific implementation method: According to the device information in the scan response package returned by other Star Flash nodes in network area block 1, the second Star Flash node with the strongest signal strength is selected to complete the pairing connection through the key, and the latest device list information of the second Star Flash node is obtained after the connection is completed.
[0062] Step 5: Update the device list information of this star flash water meter node.
[0063] like Figure 1 As shown in step 106, the specific implementation method is: When the Star Flash water meter node establishes a network connection with the second Star Flash water meter node, the network status of the Star Flash water meter node itself will change. The device list information includes the device status, network parameters, and device information of the connected Star Flash water meter node. These parameter information is an important basis for a Star Flash water meter node to search for another Star Flash water meter node. After each networking is completed, the Star Flash water meter nodes in the network will update this information.
[0064] Step 6: According to the signal strength relationship between the current Star Flash water meter node and the second Star Flash water meter node, determine the data communication mode between the Star Flash water meter node and the Star Flash routing terminal.
[0065] like Figure 1As shown in step 107, determine whether the network signal strength of the current Star Flash water meter node is greater than the network signal strength of the second Star Flash water meter node with the best signal strength to which it is connected. If the network signal strength of the current Star Flash water meter node is less than the network signal strength of the second Star Flash water meter node, select the optimal communication path, and then place the data to be sent and received on the second Star Flash water meter node for communication with the terminal routing device; if the network signal strength of the current Star Flash water meter node is greater than the network signal strength of the second Star Flash water meter node, then send the data of the current Star Flash water meter node to all connectable Star Flash water meter nodes in the device list, and use all connectable Star Flash water meter nodes to communicate data with the Star Flash routing terminal to achieve the data transmission effect.
[0066] The dual-mode star flash water meter self-organizing network communication method based on SLE+SLB provided in this embodiment can achieve the following beneficial effects: 1. Reduce the incremental requirements for storage after the network capacity increases, reducing hardware costs.
[0067] 2. Make the network scale controllable and easy to deploy.
[0068] 3. Reduce retrieval time and link re-acquisition to reduce node power consumption and save energy.
[0069] 4. The network access success rate has been significantly improved, which is suitable for wireless communications.
[0070] Embodiment 2: This embodiment provides a dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, which optimizes the method in embodiment one.
[0071] The installation environment of water meters is relatively complex. They are mainly installed in corridors, indoors, and underground. Therefore, wireless water meter reading technology needs to overcome many difficulties. Although many existing wireless remote transmission technologies have initially met some business needs, there are still many problems due to technical limitations, including: data security and stability issues, power consumption issues, signal penetration capabilities, and maintenance costs. Limited by usage scenario restrictions and product performance issues, traditional wireless short-range communication technology is difficult to meet these requirements, which also makes the entire water meter wireless meter reading intelligent enough.
[0072] The six core technical advantages of Star Flash technology are low latency, high throughput, high concurrency, high reliability, anti-interference, and precise positioning. Compared with traditional wireless communication technology, the transmission speed of "Star Flash" has increased by 6 times, the transmission distance has increased by 2 times, the number of networking terminals has increased by 10 times, the positioning accuracy has reached the decimeter level, the energy consumption has been reduced by 40%, and the connection is more stable.
[0073] The dual-mode Star Flash water meter self-organizing network communication method based on SLE+SLB provided in this embodiment is based on Star Flash technology and adopts the "SLE+SLB" dual-mode Star Flash water meter networking method. Each communication can carry out data communication through three network access methods: separate SLB mode, separate SLE mode, and SLE+SLB networking according to the network status.
[0074] At the same time, in order to ensure the security of data communication, based on the first embodiment, the data frame format of the scan response packet and the broadcast packet is a customized transmission protocol based on the SLE protocol stack. The protocol format of the transmission protocol includes a protocol header, data, CRC check and a protocol frame tail.
[0075] The protocol frame can be extended according to specific functions. In this embodiment, the query broadcast packet and the scan response packet are generally filled in the following format: 0xFEFE frame header + flag (to distinguish between broadcast packets and response packets) + length data length + information transmission data information + Star Flash water meter node address address + crc check code + 0x16 frame tail.
[0076] Specific implementation method: Compare the signal strength of this Star Flash water meter node and the connected second Star Flash water meter node to determine the data sending method. The network signal strength is a key indicator that directly affects the communication distance and communication quality of wireless devices. When the network signal quality is poor and the signal interference is strong, normal communication cannot be achieved.
[0077] In this example, when the signal strength of the second star flash water meter node is greater than the signal strength of the current star flash water meter node, in order to find the optimal communication path, the breadth-first path finding traversal algorithm is used to calculate the optimal path. The average time complexity of the breadth-first algorithm is O(n+e), and the space complexity is O(n), where n is the number of nodes and e is the number of links.
[0078] Once the optimal path is determined, the data to be sent and received by this Star Flash module will be placed in the cache area of the second Star Flash water meter node. The second Star Flash module will perform data communication as an important hub of the communication link. When the signal strength of the second Star Flash water meter node is less than the signal strength of this Star Flash water meter node, the communication data will be placed in the node cache of all device lists that can be connected to this Star Flash water meter node and the second Star Flash water meter node, and all connectable Star Flash water meter nodes will be used to communicate with the Star Flash routing terminal, greatly improving the communication success rate.
[0079] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.
Claims
1. A dual-mode star flash water meter self-organizing network communication method based on SLE+SLB, characterized in that: The following steps are involved: S1: The Xingshan water meter terminal uses the SLB mode to establish a connection with the surrounding Xingshan routing terminals. If it fails, it uses the SLE mode to establish a connection with the surrounding Xingshan routing terminals; S2: If the connection cannot be established in SLE mode, use SLE mode to scan other surrounding Xingshan water meter nodes, obtain the list information of other Xingshan node devices within the preset range, and establish a connection; S3: Select the second star flash water meter node with the best signal strength among the connected devices, and update the device list information of the star flash water meter node; S4: Determine the communication mode according to the relationship between the signal strengths of the current star flash water meter node and the second star flash water meter node.
2. According to the SLE+SLB-based dual-mode star flash water meter ad hoc network communication method of claim 1, it is characterized in that: The step S4 includes: if the signal strength of the current Star Flash node is greater than the signal strength of the second Star Flash node, then placing the received and sent data to all device list nodes of the current Star Flash node and the second Star Flash node, and using all connectable Star Flash water meter nodes to communicate with the routing terminal; otherwise, the current Star Flash node searches for the optimal communication path, places the data to be sent and received on the second Star Flash node, and uses the second Star Flash node as a communication hub for communication.
3. According to the SLE+SLB-based dual-mode star flash water meter ad hoc network communication method of claim 1, it is characterized in that: The Star Flash water meter terminal uses the SLB mode to establish a connection with the surrounding Star Flash routers, including: the Star Flash water meter node searches for the router terminal name, if the search is successful, the Star Flash water meter node initiates a connection through the Star Flash router terminal key, if the connection is successful, the Star Flash water meter node and the Star Flash router terminal perform data exchange.
4. According to the SLE+SLB-based dual-mode star flash water meter ad hoc network communication method of claim 1, it is characterized in that: The Xingshan water meter terminal uses the SLE mode to establish a connection with the surrounding Xingshan routers, including: the Xingshan water meter node sends a broadcast signal to the outside, the Xingshan router terminal receives the broadcast signal to be connected, and pairs and connects according to the Xingshan node name and pairing code.
5. A dual-mode star flash water meter ad hoc network communication method based on SLE+SLB according to claim 3 or 4, characterized in that: In step S1, if the Xingshan water meter node establishes a connection with the Xingshan routing terminal, the Xingshan routing terminal checks whether there is data to be sent in the cache. If so, the cached data is sent to the Xingshan water meter node, and then normal data communication is carried out.
6. According to the SLE+SLB-based dual-mode star flash water meter ad hoc network communication method of claim 2, it is characterized in that: The breadth-first path finding algorithm is used to search for the optimal communication path, with an average time complexity of 0(n+e) and a space complexity of 0(n), where n is the number of nodes and e is the number of communication links.
7. A dual-mode star flash water meter ad hoc network communication method based on SLE+SLB according to claim 1 or 2 or 3 or 4, characterized in that: The step S2 includes: the Star Flash water meter node sends a scanning signal to the network area block where it is located using the SLE networking mode, scans other Star Flash water meter nodes in the network area block, and obtains the device list information of all other Star Flash water meter nodes within a preset range.
8. A dual-mode star flash water meter ad hoc network communication method based on SLE+SLB according to claim 1, 2, 3 or 4, characterized in that: The step S3 includes: selecting the second Star Flash water meter node with the strongest signal strength according to the device information in the scan response package received from all other connected Star Flash water meter node devices, completing the pairing connection through the key, and obtaining the latest device list information of the second Star Flash water meter node after the connection is completed. The network status of the Star Flash water meter node itself changes, thereby updating the device list information of the Star Flash water meter node.
9. The dual-mode star flash water meter ad hoc network communication method based on SLE+SLB according to claim 7 is characterized in that: In step S2, after the connection is established, a query broadcast packet is sent, and a scan response packet fed back by all other connected Star Flash water meter node devices is received.
10. A dual-mode star flash water meter ad hoc network communication method based on SLE+SLB according to claim 9, characterized in that: The data frame format of the scan response packet and the broadcast packet is a customized transmission protocol based on the SLE protocol stack. The protocol format includes a protocol header, data, a CRC checksum, and a protocol frame tail.
Citation Information
Cited By
Equipment operation and maintenance method and device based on satellite flash technology, electronic equipment and medium
CN119671547A
Intelligent water meter supporting dual-mode communication and data synchronization method thereof
CN122138074A
Intelligent water meter supporting dual-mode communication and data synchronization method thereof
CN122138074B