Underground Pipeline Equipment Communication Method, System and Storage Medium Based on Ad Hoc Network
Through self-organized networking technology, efficient, safe and energy-saving communication is achieved in underground pipeline equipment, which solves the problems of unstable signal, high energy consumption and insufficient data transmission reliability, and improves the efficiency and reliability of underground pipeline equipment monitoring.
Patent Information
- Application Number
- CN202510361875.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2045-03-26
AI Technical Summary
The existing underground pipeline equipment communication technology faces the problems of unstable signal transmission, high energy consumption, insufficient data transmission reliability and real-time performance, especially in complex network environments, it is difficult to efficiently manage and optimize communication resources.
Using a communication method based on ad hoc network, efficient, secure and energy-saving communication is achieved through the network access management and target wake-up functions between the gateway monitoring device and the IoT endpoint monitoring device, including determining the network access device, receiving and sending network access confirmation packets, data request packets, and data triggering according to different wake-up functions, supporting clock synchronization and water-damp sleep wake-up mechanisms.
It improves the real-time and reliability of data transmission, reduces system power consumption, extends device life, optimizes communication efficiency, reduces communication channel occupation time, and is suitable for large-scale device access and flexible expansion.
Smart Images

Figure CN119893462B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of the Internet of Things, and particularly to a communication method, system, and storage medium for underground pipeline equipment based on ad-hoc networking. Background Art
[0002] With the acceleration of the urbanization process, the underground pipeline network has become increasingly complex, including various pipelines such as water supply, drainage, gas, and communication. The development of the Internet of Things technology has provided a new solution for the monitoring of modern urban underground pipeline equipment.
[0003] In recent years, a large number of Internet of Things terminals have been connected to the underground pipeline network to achieve real-time data collection and transmission of underground pipelines. However, the existing underground communication technology still faces many challenges. On the one hand, the underground environment is complex, and signal transmission is vulnerable to interference, resulting in unstable communication. On the other hand, the traditional communication mechanism has high energy consumption and is difficult to meet the long-term operation requirements of a large number of Internet of Things devices. In addition, the existing technology also has deficiencies in the reliability and real-time performance of data transmission. Especially in a complex network environment, how to efficiently manage and optimize communication resources has become a key issue. Summary of the Invention
[0004] Based on this, the purpose of the present application is to provide an efficient, secure, and energy-saving communication method for underground pipeline equipment through the network access management and target wake-up functions between the gateway monitoring device and the IoT endpoint monitoring device, which can effectively solve the limitations in the existing technology and meet the requirements of modern cities for communication efficiency and data transmission reliability in the monitoring of underground pipeline equipment.
[0005] In a first aspect, the present application provides a communication method for underground pipeline equipment based on ad-hoc networking. Applied to a gateway monitoring device, it includes:
[0006] Determine the IoT endpoint monitoring devices authorized to access the network and the network access information under the same pipeline network; the network access information includes the network access channel;
[0007] Receive the network access packet request sent by the IoT endpoint monitoring device via the network access channel and reply with a network access confirmation packet; the network access confirmation packet includes the data channel;
[0008] When data is triggered according to the target wake-up function, receive the data request packet sent by the IoT endpoint monitoring device via the data channel and reply with a data confirmation packet.
[0009] In one embodiment, after determining the IoT endpoint monitoring devices authorized to access the network and the network access information under the same pipeline network, it includes: when the inclination angle of the manhole cover of the underground pipeline exceeds the limit, report the manhole cover alarm to the network server and determine the device identifier of the IoT endpoint monitoring device; trigger the periodic timing tracking monitoring function to listen to the network access channel to receive the network access packet request associated with the device identifier.
[0010] In one embodiment, the target wake-up function of the gateway monitoring device includes heartbeat reporting; when data is triggered according to the target wake-up function, it receives a data request packet sent by the IoT endpoint monitoring device via the data channel, including: after waking up at the exact time of heartbeat reporting, reporting heartbeat monitoring data to the network server and receiving a downstream instruction or firmware upgrade from the network server; and sending it to the corresponding IoT endpoint monitoring device through the downstream channel of the data channel at the associated inspection cycle time to complete parameter update or firmware upgrade.
[0011] In one embodiment, the target wake-up function of the gateway monitoring device includes inspection monitoring; when data is triggered according to the target wake-up function, it receives a data request packet sent by the IoT endpoint monitoring device via the data channel, including: after waking up regularly during inspection monitoring, sending the current monitoring data of the IoT endpoint monitoring device and the historical intranet reporting data to the network server; determining the target IoT endpoint monitoring device that wakes up regularly at the same inspection cycle time and determining the online status of the target IoT endpoint monitoring device; when the target IoT endpoint monitoring device is online, obtaining the data request packet reported by the target IoT endpoint monitoring device through the downstream channel of the data channel.
[0012] In one embodiment, determining the online status of the target IoT endpoint monitoring device includes: sending an inspection request packet representing the status of the downstream channel of the data channel to the target IoT endpoint monitoring device; determining whether an inspection confirmation packet replied by the target IoT endpoint monitoring device is received within a preset period. If received, it is determined that the target IoT endpoint monitoring device is online; if not received, it is determined that the target IoT endpoint monitoring device has an off-grid fault, waiting until the next round of heartbeat reporting and regular wake-up of the inspection cycle and repeating the check.
[0013] In one embodiment, the network access confirmation packet further includes a clock synchronization channel and a clock synchronization time; the above method further includes: after waking up at the clock synchronization time, broadcasting a clock beacon data packet to the IoT endpoint monitoring device based on the downstream channel of the clock synchronization channel; after successively receiving the clock synchronization confirmation packets replied by the IoT endpoint monitoring device, completing the clock synchronization of the underground pipeline equipment communication based on the self-organizing network, so that the second cycle of the inspection monitoring and the first cycle of the tracking monitoring of the IoT endpoint monitoring device are respectively kept in a time synchronization state with the second cycle of the inspection monitoring and the first cycle of the tracking monitoring of the gateway monitoring device.
[0014] In one embodiment, the above method also includes: starting the tracking and monitoring function of the first cycle when waking up from water immersion hibernation; water immersion hibernation wakeup is implemented by a dedicated hardware circuit; the priority of water immersion hibernation wakeup is higher than the function wakeup of heartbeat reporting, patrol monitoring, and tracking monitoring; when it is determined that the water immersion is relieved based on the tracking and monitoring function, the tracking and monitoring function is turned off and the patrol monitoring function of the second cycle is started; when sensor data monitoring is performed based on the patrol monitoring function, the tracking and monitoring function of the first cycle is started according to the data over-limit situation.
[0015] In one embodiment, the tracking and monitoring function of the first cycle is started according to the data over-limit situation, including: after the scheduled wake-up of the patrol monitoring and the second cycle of sensor data monitoring, it is determined whether the sensor data is over-limit; the first cycle of the tracking and monitoring is less than the second cycle of the patrol monitoring; the second cycle of the patrol monitoring is less than the third cycle of the heartbeat reporting; if not, the next round of patrol monitoring is continued without data reporting; if so, the patrol monitoring function is turned off and the tracking and monitoring function of the first cycle is started.
[0016] In one embodiment, the tracking and monitoring function of the first cycle is started, including: timed wake-up of the tracking and monitoring and monitoring of sensor data changes in the first cycle; judging whether the sensor data exceeds the limit, and if so, reporting the monitored data cyclically to complete the data reporting task of the tracking and monitoring through the uplink channel of the data channel; if not, reporting the alarm cancellation, turning off the tracking and monitoring function and starting the patrol monitoring function.
[0017] In a second aspect, the present application provides an underground pipeline equipment communication method based on a self-organizing network. The method is applied to an IoT endpoint monitoring device installed in an underground pipeline, including:
[0018] Authorize access to the same network and obtain access information; the access information includes the access channel;
[0019] Sending a network access packet request to a gateway monitoring device according to a network access channel, and receiving a network access confirmation packet; the network access confirmation packet includes a data channel;
[0020] When data triggering is performed according to the target wake-up function, a data packet request is sent to the gateway monitoring device according to the data channel.
[0021] In one embodiment, the target wake-up function of the IoT endpoint monitoring device includes patrol monitoring; when data is triggered according to the target wake-up function, a data packet request is sent to the gateway monitoring device according to the data channel, including: after the scheduled wake-up of the patrol monitoring and monitoring of sensor data, the patrol request packet sent by the gateway monitoring device is listened to through the downlink channel of the data channel; when it is determined that the IoT endpoint monitoring device is online according to the received patrol confirmation packet, a monitoring data request packet is reported.
[0022] In a third aspect, the present application also provides an underground pipeline equipment communication system based on an ad-hoc network. The system includes an application server, a network server, a gateway monitoring device, and an IoT endpoint monitoring device, where:
[0023] The application server is configured to send an access authorization request to the network server according to the obtained access information to determine the IoT endpoint monitoring devices authorized to access under the same pipe network; the access information includes an access channel.
[0024] The gateway monitoring device is configured to receive an access packet request sent by the IoT endpoint monitoring device via the access channel and reply with an access confirmation packet; the access confirmation packet includes a data channel.
[0025] The IoT endpoint monitoring device is configured to send a data packet request to the gateway monitoring device according to the data channel when data is triggered according to the target wake-up function.
[0026] The network server is configured to obtain the reported information after the gateway monitoring device processes the monitoring data.
[0027] In one embodiment, the IoT endpoint monitoring device includes an endpoint microcontroller, an endpoint sensor group, an endpoint water immersion sensor, and a wireless communication module, where: the number and types of sensors in the endpoint sensor group are determined according to monitoring requirements, including at least one of a temperature and humidity sensor, a flow rate and flow sensor, a harmful gas concentration sensor, a damage and micro-injury sensor, a pressure sensor, a liquid level sensor, or a valve opening and closing angle sensor; the endpoint water immersion sensor is used to trigger the function of waking up the endpoint microcontroller; the wireless communication module of the IoT endpoint monitoring device adopts a transceiver half-duplex communication method and has the ability to monitor channel activity.
[0028] In a fourth aspect, the present application also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned underground pipeline equipment communication method based on an ad-hoc network are implemented.
[0029] Through the access confirmation and data channel management between the gateway monitoring device and the IoT endpoint monitoring device, the above-mentioned underground pipeline equipment communication method, system, and readable storage medium can quickly establish a communication connection and efficiently transmit data, improve the real-time performance of data transmission, and even if an error occurs during data transmission, it can be detected and retransmitted in a timely manner through the confirmation packet mechanism, avoiding the problem of incomplete data. In addition, data triggering according to different target wake-up functions can enter the low-power mode in the sleep state, effectively reducing the power consumption of the system, extending the service life of the device, and reducing the occupancy time of the communication channel, improving the communication efficiency of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is an application environment diagram of an underground pipeline equipment communication system based on an ad hoc network in an embodiment;
[0031] Figure 2 It is a schematic structural diagram of an IoT endpoint monitoring device in an embodiment;
[0032] Figure 3 It is a schematic flowchart of a communication method for underground pipeline equipment based on an ad hoc network in an embodiment;
[0033] Figure 4 It is a schematic principle diagram of a communication method for underground pipeline equipment based on an ad hoc network in an embodiment;
[0034] Figure 5 It is a schematic flowchart of the monitoring device being periodically awakened in an embodiment;
[0035] Figure 6 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0036] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0037] The present application provides an underground pipeline equipment communication system based on an ad hoc network. The system includes an application server, a network server, a gateway monitoring device and an IoT endpoint monitoring device, where: The application server is used to send an access authorization request to the network server according to the obtained access information to determine the IoT endpoint monitoring devices authorized to access under the same pipeline network; The gateway monitoring device is used to receive the access packet request sent by the IoT endpoint monitoring device via the access channel and reply with an access confirmation packet; The access confirmation packet includes a data channel; The IoT endpoint monitoring device is used to send a data packet request to the gateway monitoring device according to the data channel when data is triggered according to the target wake-up function; The network server is used to obtain the reported information after the gateway monitoring device processes the monitoring data.
[0038] Among them, as Figure 1The application environment diagram of the underground pipeline equipment communication system based on self-organizing network is shown. The system includes multiple monitoring devices, among which the gateway monitoring device (ugpMCGM, underground pipeline ManholeCover Gate-way Monitor) is installed in the underground pipeline and adjacent to the manhole cover; and multiple IoT endpoint monitoring devices (ugpMIEM, underground pipeline Manhole Inside EndpointMonitor) are installed in different positions inside the underground pipeline network. The gateway monitoring device (ugpMCGM) has the low-power self-organizing network data interactive communication capability with each IoT endpoint monitoring device (ugpMIEM) installed in the same well, and jointly builds a low-power self-organizing network wireless local area network (ugpLAN, underground pipeline low-power wireless Local Area Network) system (upgLAN) for the inside of the pipeline network.
[0039] For example, when the number of IoT endpoint monitoring devices M is ≤ 8 and the well depth is 10 meters, the same pipe network ugpLAN can stably and efficiently report on overall low-power self-organizing network communication when the average sleep current of the gateway monitoring terminal increases slightly and the average sleep current of other IoT endpoint monitoring devices decreases slightly.
[0040] Among them, the production, manufacturing, quality assurance and operation and maintenance of existing monitoring equipment may usually be managed by different units or enterprises. The equipment installation and delivery also presents a phenomenon of gradual installation in stages, and each equipment installation will open the manhole cover and perform multiple debugging. How to reduce the difficulty of debugging and delivery, so that each device can automatically network, work together, and report stably is the focus of the entire industry. At the same time, monitoring equipment is equipped with a long-term flow card to realize the data reporting function, there is repeated investment in communication hard costs and flow soft costs, and the success rate of data reporting of equipment inside the pipe well cannot be guaranteed.
[0041] The wireless network (ugpLAN) data communication replaces the traditional flow card, reducing hardware costs and traffic fees. In addition, the device identification ID of all IoT endpoint monitoring devices (ugpMIEM) in the same pipe network is grouped and bound with the device identification ID number of the gateway monitoring device (ugpMCGM), and the unique network identification ID of the internal self-organizing network of the pipe well is automatically generated, and then the overall association with the national standard code of the well cover is completed, providing a convenient and efficient method for the traceability management of all monitoring equipment in the underground pipe network.
[0042] Specifically, for the first step of device reporting and network access under the same pipe network ugpLAN, the installation and maintenance personnel send a network access authorization request for the IoT endpoint monitoring device (ugpMIEM_ID) to the network server in the cloud through the application server (such as a mobile phone APP). After the network server returns and confirms that the network access authorization is passed, the second step of reporting and network access is carried out. An access packet request is sent to the gateway monitoring device through the network access channel of the pipe network ugpLAN, and the gateway monitoring device sends an access confirmation packet to the accessing IoT endpoint monitoring device.
[0043] Among them, the access confirmation packet also includes information such as the access device serial number ugpMIEM_sn, data channel, clock synchronization channel, etc. assigned to the IoT endpoint monitoring device (ugpMIEM_ID).
[0044] When the IoT endpoint monitoring device triggers data for different target wake-up functions, it needs to transmit different types of data information. After packing various data information, a data packet request is sent to the gateway monitoring device (ugpMCGM) according to the data channel. After the gateway monitoring device (ugpMCGM) successfully receives and stores it, the third step of all network access registrations is completed. Therefore, when the gateway monitoring device obtains the monitoring data of the IoT endpoint monitoring device for the same pipe network and reports it to the network server after data processing, and then realizes the remote parameter distribution of the application server based on the gateway monitoring device.
[0045] Among them, the data in the data packet request packet includes device basic information (ugpMIEM_info), such as ugpMIEM model, ugpMIEM manufacturer, ugpMIEM firmware version, ugpMIEM reporting network server IP address and port number, etc.
[0046] Among them, the application server can be different types of external devices, including but not limited to various personal computers, smart phones, drone devices, intelligent vehicle-mounted devices, and portable wearable devices, etc. The network server is implemented by an independent server or a server cluster composed of multiple servers, and can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), as well as big data and artificial intelligence platforms.
[0047] The above communication system for underground pipeline equipment based on ad-hoc network ensures that only authorized devices can access the system in the first step of network access, effectively preventing unauthorized device access, enhancing the security and reliability of the system, and also ensuring unified pipeline network management for devices from different manufacturers. Triggering data according to different target wake-up functions can enter the low-power mode in the sleep state, effectively reducing the power consumption of the system and extending the service life of the device. Through the mechanism of network access confirmation packets and data confirmation packets, the system ensures the integrity and reliability of data communication of internal in-network monitoring devices under low-power ad-hoc networking, is applicable to application scenarios that require quick response, enables the access of a large number of devices, and can also flexibly expand the system functions according to actual needs.
[0048] Therefore, the communication system for underground pipeline equipment based on ad-hoc network significantly improves the efficiency and reliability of underground pipeline monitoring, while reducing the operation and maintenance costs, through efficient device management, optimized communication processes, reliable data transmission, and good scalability.
[0049] In one embodiment, the gateway monitoring device ugpMCGM has the function of the IoT endpoint monitoring device ugpMIEM and can be regarded as a super ugpMIRM device, and can be regarded as the ugpMIEM No. 0 device in the underground pipeline equipment communication system upgLAN based on ad-hoc network. The gateway monitoring device also has the functions of collecting, caching, processing, and issuing and reporting the monitoring data of the IoT endpoint monitoring device and the like.
[0050] In one embodiment, a gateway monitoring device ugpMCGM and several IoT endpoint monitoring devices ugpMIEM together form a wireless local area network ugpLAN with a star network topology, that is, realizing the remote management of the gateway monitoring device and the IoT endpoint monitoring device based on the pipeline network.
[0051] In one embodiment, the IoT endpoint monitoring device includes an endpoint microcontroller, an endpoint sensor group, an endpoint water immersion sensor, and a wireless communication module, where: the number and types of sensors in the endpoint sensor group are determined according to the monitoring requirements, including at least one of a temperature and humidity sensor, a flow velocity and flow sensor, a harmful gas concentration sensor, a damage and micro-wound sensor, a pressure sensor, a liquid level sensor, or a valve opening and closing angle sensor; the endpoint water immersion sensor is used to trigger the function of waking up the endpoint microcontroller; the wireless communication module of the IoT endpoint monitoring device uses a transceiver half-duplex communication method and has the ability to monitor channel activities.
[0052] Among them, such as Figure 1The Internet of Things (IoT) endpoint monitoring devices shown are, for example: gas leakage monitoring terminals (ugpMIEM1), manhole temperature and humidity monitoring terminals (ugpMIEM2), underground pipeline pressure monitoring terminals (ugpMIEM3), Doppler flow velocity monitoring terminals (ugpMIEM4), optical fiber pipeline damage monitoring terminals (ugpMIEM5), pressure and liquid level monitoring terminals (ugpMIEM6), pipe well water quality monitoring terminals (ugpMIEM7), pipeline valve opening monitoring terminals (ugpMIEM8).
[0053] Among them, the IoT endpoint monitoring devices inside the pipe network include but are not limited to functions such as underground harmful gas leakage monitoring, underground pipeline pressure overlimit monitoring, underground liquid level height overlimit monitoring, underground water quality data overstandard monitoring, underground rainwater period flow velocity and flow rate monitoring, underground valve opening angle monitoring, etc.
[0054] Specifically, as Figure 2 shown in the structural schematic diagram of the IoT endpoint monitoring device. The IoT endpoint monitoring device includes 21 - endpoint low - power microcontroller MCU (i.e., endpoint microcontroller), 22 - endpoint first - to - n IoT monitoring sensor group (i.e., endpoint sensor group), 23 - endpoint low - frequency wireless communication module (i.e., wireless communication module), 24 - endpoint battery pack, 25 - endpoint Bluetooth communication module (i.e., endpoint Bluetooth module), 26 - endpoint buzzer, 27 - endpoint water immersion sensor. The low - frequency wireless communication module uses a transceiver half - duplex communication method and has the CAD (Channel Activity Detection) ability. The number and types of sensors in the endpoint sensor group inside the IoT endpoint monitoring device are determined according to different monitoring requirements. The types include but are not limited to water immersion sensors, temperature and humidity sensors, flow velocity and flow rate sensors, harmful gas concentration sensors, damage and micro - injury sensors, pressure sensors, liquid level sensors, or valve opening and closing angle sensors, etc.
[0055] The above - mentioned IoT endpoint monitoring device, by integrating multiple sensors, can be flexibly configured according to specific monitoring requirements, achieving comprehensive and accurate monitoring of different environmental parameters. The introduction of the endpoint water immersion sensor not only enhances the device's early warning ability for specific water immersions but also can effectively trigger the wake - up of the microcontroller, reducing energy consumption and improving the response speed. In addition, the wireless communication module using the transceiver half - duplex communication method ensures the stability and reliability of data transmission. At the same time, the Channel Activity Detection ability enables the device to intelligently select the best communication path in complex environments, avoid interference, and improve communication efficiency.
[0056] In one embodiment, the IoT endpoint monitoring devices inside the same pipe network are usually installed in underground pipelines with a well depth of 5 - 10 meters and a wellhead spacing of less than 100 meters in accordance with the requirements of the national standard GB 50014 - 2021 "Outdoor Drainage Design Standard".
[0057] In one embodiment, the gateway monitoring device installed adjacent to the manhole cover includes a gateway microcontroller, a communication array module, and a gateway sensor group, where: the communication array module includes a Bluetooth module, a cellular communication module, and a wireless communication module with different communication channels; the gateway microcontroller is integrated with at least one of the Bluetooth module and the wireless communication module; the wireless communication module of the IoT endpoint monitoring device uses a transceiver half-duplex communication method and has the ability to monitor channel activities; the cellular communication module includes a narrowband Internet of Things module NB-IoT, a low-power 4G or 5G module.
[0058] Specifically, the gateway microcontroller controls the sleep-wake cycle of the device. The Bluetooth module is used to realize the information identification and interaction between the application server where the user is located and the gateway monitoring device. Since existing devices usually have a built-in cellular communication module, the communication channel is single and the communication signal frequency is high, which is easily shielded, absorbed, and attenuated by the ductile iron manhole cover, the mainstream application of urban infrastructure. The success rate of on-site device data reporting is relatively low. Therefore, it is considered to add a low-frequency wireless communication module. The signal frequency is low, the wavelength is long, and the winding ability is strong. The signal can not only penetrate more effectively into the wellbore, but also penetrate stably to the low-frequency wireless communication gateway base station on the ground, realizing high-success-rate data reporting without dead angles.
[0059] Therefore, the gateway microcontroller can stably transmit monitoring data under different environments and conditions according to the multi-channel integrated structure, avoiding data transmission interruption caused by a single communication channel failure or poor signal, thereby improving the integrity and accuracy of the monitoring data.
[0060] In one embodiment, as Figure 3 shown, a communication method for underground pipeline equipment based on self-organizing network is provided, which is realized through a communication system for underground pipeline equipment based on self-organizing network. Taking the gateway monitoring device in Figure 1 as an example, the method includes the following steps:
[0061] Step 302, determine the IoT endpoint monitoring devices authorized to access the network and the access network information under the same pipe network.
[0062] Among them, the access network information includes the access network channel.
[0063] Specifically, the operation and maintenance personnel obtain the device identification ID (ugpMIEM_ID) by scanning the nameplate QR code of the IoT endpoint monitoring device to be installed and accessed through, for example, a mobile phone APP. For example, in the scenario where the whole machine of the IoT endpoint monitoring device needs to be replaced due to a failure, scan the national standard coding nameplate on the outer surface of the manhole cover again and, after identity recognition and authorization, read the gateway ID (ugpMCGM_ID), network identification ID (ugpLAN_ID), access network channel, and uplink and downlink frequencies and channel bandwidths of the time synchronization channel of the internal pipe network ugpLAN, etc. as the access network information.
[0064] Next, the operation and maintenance personnel send an access authorization request for the Internet of Things endpoint monitoring device (ugpMIEM_ID) to the network server through the application server. After the network server returns and confirms that the access authorization has passed, the operation and maintenance personnel send the obtained access information to the Internet of Things endpoint monitoring device (ugpMIEM) to be installed and accessed through Bluetooth communication for storage and complete the corresponding program initialization. The gateway monitoring device can directly determine the authorized Internet of Things endpoint monitoring device and access information based on the internal pipe network ugpLAN.
[0065] Step 304: Receive the access packet request sent by the Internet of Things endpoint monitoring device via the access channel and reply with an access confirmation packet.
[0066] Among them, the access confirmation packet includes a data channel.
[0067] Specifically, as Figure 4 shown, Figure 4 is a schematic diagram of the principle of a communication method for underground pipeline equipment based on an ad hoc network in an embodiment. The gateway microcontroller listens to the access channel by starting the wireless communication module to receive the access packet request corresponding to the device identifier of the Internet of Things endpoint monitoring device. After the gateway monitoring device receives the access packet request from the Internet of Things endpoint monitoring device through the upstream channel of the access channel of the pipe network ugpLAN, it replies with an access confirmation packet on the downstream channel of the access channel.
[0068] At this time, the access confirmation packet also includes parameters such as a pre-filtered and idle data channel, a clock synchronization beacon, a heartbeat reporting hour, a clock synchronization channel, a clock synchronization hour access device serial number ugpMIEM_sn, and a reporting working mode (ugpMODE).
[0069] In one embodiment, the network identification ID (ugpLAN_ID), the upgLAN access channel, and the ugpLAN clock synchronization channel of the pipe network ugpLAN support default fixing, or can be authorized and adjusted by the operation and maintenance personnel through the mobile phone APP at the installation site. All Internet of Things endpoint monitoring devices can be obtained by the on-site operation and maintenance personnel scanning the manhole cover national standard coding nameplate at this point after identity recognition authorization during the installation phase.
[0070] In one embodiment, if the gateway monitoring device ugpMCGM does not receive the access packet request sent by the Internet of Things endpoint monitoring device ugpMIEM, and the Internet of Things endpoint monitoring device ugpMIEM continues to send an illegal access packet request, at this time, the gateway monitoring device ugpMCGM can receive it but does not reply with a confirmation packet.
[0071] In one embodiment, the IoT endpoint monitoring device ugpMIEM sends a combined network entry packet request and the gateway monitoring device also receives it. However, the IoT endpoint monitoring device ugpMIEM does not receive the network entry confirmation packet replied by the gateway monitoring device ugpMCGM. The IoT endpoint monitoring device ugpMIEM will continue to resend the network entry packet request until it receives the network entry confirmation packet.
[0072] Step 306, when triggering data according to the target wake-up function, receive the data request packet sent by the IoT endpoint monitoring device via the data channel and reply with a data confirmation packet.
[0073] Among them, the target wake-up function includes patrol monitoring and heartbeat reporting. The second cycle of patrol monitoring is less than the third cycle of heartbeat reporting. For example, the third cycle of heartbeat reporting is 1440 minutes, and the second cycle of patrol monitoring is 15 minutes.
[0074] Specifically, the gateway monitoring device has a periodic timing wake-up function for patrol monitoring, which realizes off-network inspection of the in-network IoT endpoint monitoring devices inside the shaft after periodic wake-up for patrol, and receives the sensor data of the patrol monitoring reported by the in-network IoT endpoint monitoring devices. That is, after the gateway monitoring device is periodically woken up at the cycle time of patrol monitoring, it actively queries and receives the data request packets reported by the in-network IoT endpoint monitoring devices that wake up regularly at the same patrol cycle time, and caches, analyzes, processes, and forwards the data information in the data request packets to the network server.
[0075] Similarly, the gateway monitoring device has a periodic timing wake-up function for heartbeat reporting, which realizes data query of the in-network IoT endpoint monitoring devices inside the shaft after periodic wake-up for heartbeat reporting, and starts the wireless communication module through the gateway microcontroller to obtain the data request packets reported by the IoT endpoint monitoring devices through the downlink channel of the corresponding data channel, as shown in Figure 4 shown. The gateway monitoring device replies with a data confirmation packet, receives and stores the data, and through the internal gateway microcontroller, forwards the processed data to the associated application server according to the application requirements of the IoT endpoint monitoring device.
[0076] In the above self-organizing network-based underground pipeline equipment communication method, through the network entry confirmation and data channel management between the gateway monitoring device and the IoT endpoint monitoring device, a communication connection can be quickly established and data can be efficiently transmitted, improving the real-time performance of data transmission under low-power self-organizing networks. And even if an error occurs during data transmission, it can be timely detected and retransmitted through the confirmation packet mechanism, avoiding the problem of incomplete data. In addition, triggering data according to different target wake-up functions can enter the low-power mode in the sleep state, effectively reducing the power consumption of the system, extending the service life of the device, and reducing the occupation time of the communication channel, improving the system communication efficiency of the entire low-power self-organizing network.
[0077] In one embodiment, after determining the authorized network-connected IoT endpoint monitoring devices and network access information under the same pipe network, it includes: when the manhole cover of the underground pipeline is at an excessive inclination angle, reporting a manhole cover alarm to the network server and determining the device identifier of the IoT endpoint monitoring device; triggering the periodic timing tracking and monitoring function to listen to the network access channel to receive the network access packet request associated with the device identifier.
[0078] Among them, the target wake-up function further includes a tracking and monitoring function, and the first period of the tracking and monitoring is less than the third period of the heartbeat report, for example, 5 minutes.
[0079] Specifically, the gateway monitoring device has the function of monitoring the inclination angle of the manhole cover in the sleep state and waking up to automatically report the alarm. Usually, when the maintenance personnel open the manhole cover of the point and carry out on-site construction and installation of the IoT endpoint monitoring device, if the manhole cover is in an over-limit opening state with an excessive inclination angle, the gateway monitoring device immediately reports the manhole cover opening alarm to the network server and queries to obtain the device identifier (ugpMIEM_ID) of the newly authorized network-connected IoT endpoint monitoring device. Thereafter, the periodic timing tracking and monitoring function is triggered. At the same time, the gateway microcontroller inside the gateway monitoring device starts the internal low-frequency wireless communication module to perform low-power reception and listening on the network access channel at a second-level interval. Once the network access packet request from the to-be-installed authorized access IoT endpoint monitoring device ugpMIEM_ID is received by listening, the gateway microcontroller sends a network access confirmation packet on the downlink channel of the network access channel through the internal low-frequency wireless communication module until the application server receives the network access success reminder, and the buzzer will also beep to indicate the network access success.
[0080] In this embodiment, when the inclination of the underground pipeline manhole cover exceeds the safe range, the system can respond quickly, report the manhole cover alarm to the network server, and improve the safety management level of urban infrastructure. At the same time, the periodic timing tracking and monitoring function triggered by the system can continuously listen to the network access channel, timely receive and process the network access packet request associated with the device identifier, ensure the stable connection between the IoT endpoint monitoring device and the network, effectively prevent unauthorized device access, and improve the security and reliability of the entire monitoring system.
[0081] In one embodiment, when replacing components such as the battery of the IoT endpoint monitoring device, if the IoT endpoint monitoring device fails to report data during the preset number of inspection and monitoring or tracking and monitoring, for example, continuously 3 times for 15 minutes, it switches to the target listening mode with a low power consumption characterized by a second-level interval of the downlink channel. At this time, the average sleep current increases by more than 100 uA. When the gateway monitoring device is powered on, it completes the re-networking of the IoT endpoint monitoring device one by one through the downlink channel.
[0082] In one embodiment, the target wake-up function of the gateway monitoring device includes heartbeat reporting; when data is triggered according to the target wake-up function, it receives a data request packet sent by the IoT endpoint monitoring device via the data channel, including: after waking up at the punctual moment of heartbeat reporting, reporting heartbeat monitoring data to the network server, and receiving the issued instructions or firmware upgrade from the network server; at the associated inspection cycle moment, sending it to the corresponding IoT endpoint monitoring device through the downlink channel of the data channel to complete parameter update or firmware upgrade.
[0083] Among them, the data request packet includes reporting heartbeat monitoring data, etc.
[0084] Specifically, after the gateway monitoring device is regularly woken up at the cycle moment of synchronous heartbeat reporting, it reports heartbeat monitoring data to the cloud network server, checks and receives the issued instructions or OTA firmware upgrade from the network server, and at the appropriate synchronous inspection cycle moment, sends it to the in-network IoT endpoint monitoring device corresponding to this channel through the downlink channel of the data channel of the gateway's low-frequency wireless communication module, so that the IoT endpoint monitoring device can complete parameter update and firmware upgrade.
[0085] In this embodiment, when the gateway monitoring device triggers data based on the heartbeat reporting mechanism, it can accurately achieve real-time monitoring of the device status, facilitating the server to issue instructions or push firmware upgrades in a timely manner according to the reported data, improving the response speed and operation and maintenance efficiency of the system.
[0086] In one embodiment, the target wake-up function of the gateway monitoring device includes inspection monitoring; when data is triggered according to the target wake-up function, it receives a data request packet sent by the IoT endpoint monitoring device via the data channel, including: after being regularly woken up during inspection monitoring, sending the current monitoring data of the IoT endpoint monitoring device and the historical intranet reporting data to the network server; determining the target IoT endpoint monitoring device that wakes up regularly at the same inspection cycle moment, and determining the online status of the target IoT endpoint monitoring device; when the target IoT endpoint monitoring device is online, obtaining the data request packet reported by the target IoT endpoint monitoring device through the downlink channel of the data channel.
[0087] Specifically, after the timed wake-up during the inspection cycle, the gateway microcontroller inside the gateway monitoring device sends the current monitoring data of the IoT endpoint monitoring device and the historical intranet reporting data to the network server, and determines the target IoT endpoint monitoring device that wakes up at the same moment of the inspection cycle. The gateway monitoring device sequentially sends inspection confirmation packets to the target IoT endpoint monitoring device through the built-in low-frequency wireless communication module to determine the online status of the corresponding target IoT endpoint monitoring device based on the reply of the inspection confirmation packet. When it is determined that the target IoT endpoint monitoring device is online, the gateway microcontroller inside the gateway monitoring device activates the low-frequency wireless communication module of the gateway, calls the online target IoT endpoint monitoring device to report a monitoring data request packet on the downlink channel of the corresponding data channel, and replies with a monitoring data confirmation packet to complete the task of timed intranet data reporting.
[0088] In this embodiment, after the timed wake-up, the inspection and monitoring function of the gateway monitoring device efficiently uploads the current and historical monitoring data of the IoT endpoint monitoring device to the network server, realizes the real-time update and comprehensive recording of the data, and provides strong support for data analysis and decision-making. At the same time, by accurately determining the target IoT endpoint monitoring device that wakes up at the same moment of the inspection cycle and evaluating its online status in real time, the integrity of the monitoring network and the continuity of subsequent data transmission are ensured.
[0089] In one embodiment, determining the online status of the target IoT endpoint monitoring device includes: sending an inspection request packet representing the status of the downlink channel of the data channel to the target IoT endpoint monitoring device; determining whether an inspection confirmation packet replied by the target IoT endpoint monitoring device is received within a preset time period. If received, it is determined that the target IoT endpoint monitoring device is online; if not received, it is determined that the target IoT endpoint monitoring device has an off-grid fault, and wait until the next round of heartbeat reporting and the timed wake-up of the inspection cycle and repeat the check.
[0090] Specifically, the gateway microcontroller inside the gateway monitoring device sequentially sends an inspection request packet representing the status of the downlink channel of the data channel to the target IoT endpoint monitoring device through the built-in low-frequency wireless communication module of the gateway. If the inspection confirmation packet replied by the target IoT endpoint monitoring device is not received within the agreed preset time period, it is determined that the target IoT endpoint monitoring device has an off-grid fault, and repeat the check again after the next round of heartbeat reporting and the timed wake-up of the inspection cycle. When the inspection confirmation packet replied by the target IoT endpoint monitoring device is received, it is online.
[0091] In this embodiment, determining the online status of the target IoT endpoint monitoring device through the inspection request packet realizes the accurate judgment of the device status, effectively avoids the monitoring blind area caused by the device being offline, and ensures the stability and reliability of the entire monitoring network. At the same time, the automated inspection process also greatly reduces the burden of manual operation and maintenance and improves the operation and maintenance efficiency.
[0092] In one embodiment, the above method further includes: after being awakened at the clock synchronization moment, broadcasting a clock beacon data packet to the IoT endpoint monitoring device based on the downlink channel of the clock synchronization channel; after successively receiving the clock synchronization acknowledgement packets replied by the IoT endpoint monitoring device, completing the clock synchronization of the communication of the underground pipeline devices based on the ad hoc network, so that the second cycle of the patrol monitoring and the first cycle of the tracking monitoring of the IoT endpoint monitoring device are respectively kept in a time synchronization state with the second cycle of the patrol monitoring and the first cycle of the tracking monitoring of the gateway monitoring device.
[0093] Wherein, the network access acknowledgement packet further includes a clock synchronization channel and a clock synchronization moment.
[0094] Wherein, the gateway monitoring device and the IoT endpoint monitoring device are in a dormant state during normal times, and both respectively have three periodic timing automatic wake-up functions of heartbeat reporting, patrol monitoring, and tracking monitoring. The heartbeat reporting moment of the gateway monitoring device can be fixed at the exact zero o'clock moment every day. After the IoT endpoint monitoring device completes the network registration of the pipe network ugpLAN, the heartbeat reporting moment can be adjusted to the allocated fixed hourly exact moment every day.
[0095] Specifically, after the gateway monitoring device is periodically awakened at the clock synchronization moment, the gateway microcontroller starts the wireless communication module and broadcasts a clock beacon data packet to the IoT endpoint monitoring device based on the downlink channel of the clock synchronization channel. After broadcasting the time synchronization beacon to all the networked IoT endpoint monitoring devices on the downlink channel of the clock synchronization channel, a clock synchronization frame is sent through the clock synchronization channel to complete the clock synchronization with the in-network IoT endpoint monitoring devices. Then, the gateway monitoring device switches to the receiving port of the wireless communication module in the internal low-frequency band to receive the monitoring status data or the monitoring index over-limit warning information reported by the IoT endpoint monitoring device. The gateway monitoring device performs caching, analysis, and data classification processing on the received data information, and the internal gateway microcontroller timely forwards the data information to the agreed application server according to the application requirements of the target IoT endpoint monitoring device.
[0096] In this embodiment, a clock beacon data packet is broadcast to the IoT endpoint monitoring device through the downlink channel at the clock synchronization moment, and after receiving the synchronization acknowledgement packets replied by each device, the clock synchronization of the entire communication network of the underground pipeline devices based on the ad hoc network is realized, ensuring the consistency of the time reference of each monitoring device, improving the accuracy and timeliness of data recording, and providing a solid foundation for subsequent data analysis, fault troubleshooting, etc.
[0097] Due to the complexity and concealment of the underground environment, monitoring equipment often needs to face various harsh conditions. Traditional monitoring strategies often adopt fixed monitoring cycles and cannot be flexibly adjusted according to changes in environmental conditions such as water flow in the pipeline, changes in sensor detection conditions, etc. This results in the monitoring equipment performing a large amount of unnecessary monitoring when the pipeline state is stable; and when the pipeline state is abnormal, key information may be missed due to insufficient monitoring frequency, affecting the speed of emergency response. In addition, for flooding problems in underground pipelines, it is impossible to provide early warning or conduct effective follow-up monitoring after the flooding is lifted. This application is to solve technical problems such as flexible monitoring of abnormal states of monitoring equipment, rapid response and accurate judgment of flooding events, so as to further improve the safety and stability of underground pipeline systems.
[0098] In one embodiment, the above method also includes: starting the tracking and monitoring function of the first cycle when waking up from water immersion hibernation; when it is determined that the water immersion is relieved based on the tracking and monitoring function, turning off the tracking and monitoring function and starting the patrol monitoring function of the second cycle; when sensor data monitoring is performed based on the patrol monitoring function, starting the tracking and monitoring function of the first cycle according to the data over-limit situation.
[0099] Among them, water immersion sleep wake-up is realized through a dedicated hardware circuit; the priority of water immersion sleep wake-up is higher than the heartbeat report, inspection monitoring, and tracking monitoring function wake-up. The IoT endpoint monitoring device corresponds to the third cycle T of the heartbeat report HR(sn) , the second cycle of inspection and monitoring T PM(sn) , the first cycle of tracking and monitoring T TM(sn) , sn represents the serial number of the endpoint device entering the network, in minutes. The gateway monitoring device corresponds to the third cycle T of the heartbeat report HR(MCGM) , the second cycle of inspection and monitoring T HR(MCGM) , the first cycle of tracking and monitoring T HR(MCGM) .
[0100] Specifically, Figure 5 As shown, Figure 5 The following is a flow chart of monitoring equipment being awakened periodically. Figure 5 In S13 shown in the figure, after the monitoring device wakes up from the water immersion dormancy, it triggers the internal microcontroller to promptly shut down the power supply of the monitored target sensor to prevent it from being immersed in water while powered, thus ensuring the long-term stable operation of the device, and reporting the water immersion alarm to the cloud network server. At the same time, the tracking and monitoring function of the first cycle is started to determine the water immersion change, until the water immersion is relieved and the alarm is lifted, and then the device is delayed to resume normal operation, and finally the tracking and monitoring function of the first cycle is turned off and the inspection and monitoring function of the second cycle is started. After continuing to monitor the sensor data based on the inspection and monitoring function, the process returns to starting the tracking and monitoring function of the first cycle according to the data exceeding the limit.
[0101] In this embodiment, the immediate response to the water immersion event reduces the false alarms caused by water immersion. According to the water immersion change situation and the sensor data overlimit situation, dynamically adjusting or switching to the monitoring functions with different cycle durations can achieve the balance between energy consumption and monitoring requirements, and also enable the system to adapt to various application scenarios and requirements.
[0102] In one embodiment, when monitoring sensor data based on the patrol monitoring function, the tracking monitoring function of the first cycle is started according to the data overlimit situation, including: after the timed wake-up of the patrol monitoring and the sensor data monitoring of the second cycle, determining whether the sensor data is overlimit; if not, continuing the next round of patrol monitoring without data reporting; if so, closing the patrol monitoring function and starting the tracking monitoring function of the first cycle.
[0103] Among them, the first cycle of the tracking monitoring is less than the second cycle of the patrol monitoring; the second cycle of the patrol monitoring is less than the third cycle of the heartbeat reporting.
[0104] Specifically, as Figure 5 shown in S14, when the patrol monitoring function of the second cycle is started and the corresponding patrol monitoring time is timed to wake up, the corresponding sensor data is read. This patrol monitoring report occurs multiple times every day for the vast majority of monitoring devices. Generally, there are two cases. One is that when the patrol monitoring of the second cycle is carried out, it is not judged whether the sensor data is overlimit, and it must be reported to the network server in the cloud for decision-making. The other is that when the patrol monitoring of the second cycle is carried out, it is judged whether the sensor data is overlimit. If it is not overlimit, no cloud data reporting is carried out, and the next round of patrol monitoring is continued; if it is overlimit, the patrol alarm and the detected sensor data are reported, and at this time, the patrol monitoring function is closed and the tracking monitoring function of the first cycle is started.
[0105] In this embodiment, preliminary monitoring is carried out through the patrol monitoring function, and the tracking monitoring is only started when the data is overlimit, avoiding unnecessary resource waste and data processing burden. The design of closing the patrol monitoring function and starting the tracking monitoring function further focuses on the in-depth monitoring of abnormal data, improving the monitoring accuracy and efficiency.
[0106] In one embodiment, starting the tracking monitoring function of the first cycle includes: the timed wake-up of the tracking monitoring and the monitoring of the sensor data change of the first cycle; determining whether the sensor data is overlimit. If so, the monitored data is reported cyclically to complete the data reporting task of the tracking monitoring through the uplink channel of the data channel; if not, the alarm is reported to be lifted, and the tracking monitoring function is closed and the patrol monitoring function is started.
[0107] Specifically, as Figure 5In S15 shown, when the tracking and monitoring function of the first cycle is started and it is awakened at the corresponding tracking and monitoring time, the changes in the corresponding sensor data are read. This tracking and monitoring is usually divided into two situations. One is to wake up regularly after the first cycle of dormancy after closing the inspection and monitoring function of the second cycle, and cyclically review the over-limit data, and continue the tracking and monitoring of the first cycle until it is found that the over-limit alarm state is lifted, and then report to the cloud network server to lift the alarm, and finally restore the inspection and monitoring function and close the tracking and monitoring function. The other is that if the sensor data exceeds the limit and needs to be reported, continue the tracking and monitoring of the first cycle, cycle until the alarm is lifted, and finally restore the inspection and monitoring function and close the tracking and monitoring function.
[0108] In this embodiment, the intelligent design of the data reporting mechanism enables the system to report cyclically when the data exceeds the limit, ensuring the timely transmission and processing of abnormal data, and timely reporting the alarm cancellation when the data returns to normal, avoiding unnecessary alarm interference. The tracking monitoring function automatically shuts down and restarts the inspection monitoring function after completing the task, realizing seamless switching of the monitoring mode, and further optimizing the efficiency and flexibility of system resource utilization.
[0109] In one embodiment, Figure 5 In S11 shown in the figure, after the monitoring device is powered on and initialized, the heartbeat reporting function of clock synchronization, the inspection monitoring function and the tracking monitoring function, and the water immersion sleep wake-up mechanism will be started, and the microcontroller inside the monitoring device will enter the sleep working mode.
[0110] In one embodiment, the above method further includes: after waking up at the punctual moment of heartbeat reporting, reporting heartbeat monitoring data to a network server, and starting a synchronous patrol monitoring function and a tracking monitoring function.
[0111] Specifically, Figure 5 In S12 shown, when the heartbeat reporting function of the third cycle is started and the corresponding heartbeat reporting time is awakened regularly, the synchronous patrol monitoring function and tracking monitoring function are turned off, and the latest heartbeat monitoring data or status of the monitoring device is read, until the heartbeat monitoring data or status is reported to the cloud network server, and then the patrol monitoring function and tracking monitoring function are synchronously turned on. This heartbeat reporting occurs every day for each monitoring device. From the perspective of occurrence probability: heartbeat reporting> patrol monitoring> tracking monitoring, from the perspective of communication pressure and power consumption, it is just the opposite.
[0112] In one embodiment, the method further comprises: when the manhole cover of the underground pipeline is in the cover-up stage, starting the tracking and monitoring function of the second cycle.
[0113] In one embodiment, another underground pipeline equipment communication method based on a self-organizing network is provided, which is applied to Figure 1The IoT endpoint monitoring device includes: authorizing access to the network under the same pipe network and obtaining access information; the access information includes the access channel; sending an access packet request to the gateway monitoring device according to the access channel and receiving an access confirmation packet; the access confirmation packet includes the data channel; when data is triggered according to the target wake-up function, sending a data packet request to the gateway monitoring device according to the data channel.
[0114] It is easy to understand that for the specific process of implementing the communication method for underground pipeline equipment based on self-organizing network through the IoT endpoint monitoring device, refer to the relevant process of implementing the communication method for underground pipeline equipment based on self-organizing network through the gateway monitoring device above. This application will not elaborate here.
[0115] In one embodiment, the target wake-up function of the IoT endpoint monitoring device includes inspection and monitoring; when data is triggered according to the target wake-up function, sending a data packet request to the gateway monitoring device according to the data channel includes: after waking up regularly for inspection and monitoring the sensor data, listening for the inspection request packet sent by the gateway monitoring device through the downlink channel of the data channel; when it is determined that the IoT endpoint monitoring device is online according to the received inspection confirmation packet, reporting a monitoring data request packet.
[0116] Specifically, after the IoT endpoint monitoring device wakes up regularly during the inspection cycle, the internal endpoint microcontroller starts the wireless communication module after completing the sensor data monitoring, and listens for the inspection request packet sent by the gateway monitoring device through the downlink channel of the corresponding data channel. When the IoT endpoint monitoring device sends an inspection confirmation packet during the agreed preset period, it is determined that the IoT endpoint monitoring device is online. Then, the IoT endpoint monitoring device can report the monitored data request packet to the gateway monitoring device to complete the data reporting task through the gateway monitoring device. Similarly, the target wake-up function of the IoT endpoint monitoring device also includes heartbeat reporting, which wakes up regularly at the cycle time of synchronous heartbeat reporting for sensor data monitoring and data reporting.
[0117] In this embodiment, the inspection cycle function enables the IoT endpoint monitoring device to quickly monitor and process sensor data after waking up regularly, and listen for the inspection request packet from the gateway monitoring device through the downlink channel of the data channel. After receiving the inspection confirmation packet and confirming its online status, it actively reports the monitoring data request packet, realizing real-time update and efficient transmission of data, ensuring effective communication between the IoT endpoint monitoring device and the gateway monitoring device under low-power self-organizing network, and avoiding data loss caused by device offline or communication failure.
[0118] In one embodiment, the target wake-up function of the IoT endpoint monitoring device includes tracking monitoring; the method further includes: when the monitored sensor data exceeds the limit and the current data request packet reporting is completed, turning off the patrol monitoring function and triggering the tracking monitoring function to complete the data reporting task of tracking monitoring through the uplink channel of the data channel.
[0119] Specifically, when the endpoint microcontroller inside the IoT endpoint monitoring device detects that the device sensor data exceeds the limit and after completing the reporting of the internal network sensor data this time, it turns off the periodic timing function of patrol monitoring and enters the periodic synchronous timing wake-up monitoring mode of tracking monitoring. After the IoT endpoint monitoring device is synchronously timed and woken up in the first cycle of tracking monitoring, after the internal endpoint microcontroller completes the tracking monitoring of the fault or excessive data, it starts the wireless communication module in the low-frequency band of the endpoint and wakes up the gateway monitoring device through the uplink channel of the data channel allocated for network access, and reports the tracking monitoring data packet to the gateway monitoring device to complete the internal network reporting task of this tracking monitoring data.
[0120] In this embodiment, when the monitored sensor data exceeds the preset threshold, the system will automatically turn off the patrol monitoring function and quickly trigger the tracking monitoring function, ensuring that it can immediately switch to the state of closely monitoring the abnormal data, efficiently complete the data reporting task of tracking monitoring through the uplink channel of the low-power self-organizing network data channel, and improve the response speed and processing ability of the system to abnormal events.
[0121] This example describes the low-power wireless data communication method for synchronous wake-up at the punctual reporting period by taking the working scenario of networking one gateway monitoring device and M = 8 IoT endpoint monitoring devices.
[0122] The pipe network ugpLAN completes time synchronization with the gateway monitoring device during the network access registration phase of the IoT endpoint monitoring device, and knows the heartbeat reporting time allocated to each network-accessed IoT endpoint monitoring device. The fixed heartbeat reporting time for the gateway monitoring terminal to report to the network server is fixed at zero o'clock every day.
[0123] Informing the network-accessed devices that 12 o'clock every day is the clock synchronization time, and at this time, all devices in the ugpLAN are synchronously timed and woken up periodically. The gateway monitoring device broadcasts the clock beacon data packet on the downlink channel of the clock synchronization channel. After successively receiving the clock synchronization confirmation packets of the network-accessed IoT endpoint monitoring devices, it completes the daily network-wide clock synchronization task. To further improve the daily time synchronization accuracy of all devices in the ugpLAN, a clock synchronization link can also be added in the second cycle of patrol monitoring.
[0124] Thus, the inspection and monitoring times and cycles, as well as the tracking and monitoring times and cycles of the upgLAN full-pipeline network monitoring devices (upgMCGM, ugpMIEM) are automatically synchronized. Even if there are several time asynchronisms, it does not affect the system monitoring and reporting quality, and the system clock calibration and correction can be implemented through the clock synchronization time.
[0125] When a short-term blockage occurs during the data interaction process of the upgLAN full-pipeline network monitoring devices in the second cycle of inspection and monitoring and the first cycle of tracking and monitoring, it can be effectively solved through the CAD channel activity detection function mechanism of the wireless communication module, combined with the device roll call and timeout mechanisms.
[0126] Based on the respective heartbeat reporting times of the gateway microcontroller and the endpoint microcontroller inside the upgLAN full-pipeline network monitoring devices (upgMCGM, ugpMIEM), the hourly punctual time correction method can be adopted to make the inspection and monitoring times and the tracking and monitoring times resume counting from zero minutes and zero seconds, ensuring strict synchronization between the second cycle of inspection and monitoring and the first cycle of tracking and monitoring of the full-pipeline network monitoring devices within the third week interval of each heartbeat reporting.
[0127] In summary, a low-power wireless self-organizing network communication method for a pipeline with multiple coordinated cycle optimization and wake-up proposed in this application is based on the monitoring cycle characteristics of monitoring devices under the same pipeline network, and adopts a mode of sleeping and waking up for collaborative work at the punctual reporting cycle time (CLASS U). On the premise of reducing the communication hard costs and traffic soft costs of each device and keeping the low-power sleep working logic of the gateway monitoring device ugpMCGM and the IoT endpoint monitoring device ugpMIEM basically unchanged, stable data interaction of low-power self-organizing networks of all in-network monitoring devices under the pipeline ugpLAN is achieved. And with the help of the gateway monitoring device ugpMCGM, timely, accurate, and stable device sensor monitoring data reporting or over-limit alarms of IoT monitoring devices within the same pipeline network are realized, the data reporting success rate of each in-network monitoring device is improved, and remote monitoring of all in-network monitoring devices inside the pipeline network by the application server is supported.
[0128] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same moment, but can be executed at different moments.
[0129] Based on the same inventive concept, an embodiment of the present application further provides a communication device for underground pipeline equipment based on an ad-hoc network for implementing the above-mentioned communication method for underground pipeline equipment based on an ad-hoc network. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the communication device for underground pipeline equipment based on an ad-hoc network provided below can refer to the limitations on the communication method for underground pipeline equipment based on an ad-hoc network in the foregoing, and will not be repeated here.
[0130] In one embodiment, a computer device is provided. This computer device can be a terminal, and its internal structure diagram can be as Figure 6 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of this computer device is used to provide computing and control capabilities. The memory of this computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of this computer device is used for exchanging information between the processor and external devices. The communication interface of this computer device is used for communicating with external terminals in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a communication method for underground pipeline equipment based on an ad-hoc network. The display unit of this computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of this computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0131] Those skilled in the art can understand that Figure 6 the structure shown in
[0132] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, it implements the steps in the above-mentioned method embodiments.
[0133] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0134] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.
[0135] Those of ordinary skill in the art can understand that all or part of the processes of implementing the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, a database, or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0136] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered that the scope described in this specification is covered.
[0137] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several deformations and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A communication method for underground pipeline equipment based on ad hoc network, characterized in that, Applied in gateway monitoring equipment, including: Determine the IoT endpoint monitoring devices and network access information authorized to access the same pipe network; the network access information includes the network access channel; multiple IoT endpoint monitoring devices are installed at different locations inside the underground pipeline; Receive a network access packet request sent by the IoT endpoint monitoring device via the network access channel, and reply with a network access confirmation packet; the network access confirmation packet includes a data channel; When data is triggered according to the target wake-up function, a data request packet sent by the IoT endpoint monitoring device via the data channel is received, and a data confirmation packet is replied; the target wake-up function includes tracking monitoring, inspection monitoring, and heartbeat reporting; the first cycle of tracking monitoring is less than the second cycle of inspection monitoring; the second cycle of inspection monitoring is less than the third cycle of heartbeat reporting; It also includes: starting the tracking and monitoring function of the first cycle when waking up from water immersion sleep; When it is determined based on the tracking and monitoring function that the flooding is relieved, the tracking and monitoring function is turned off and the second cycle of the inspection and monitoring function is started; When the sensor data is monitored based on the patrol monitoring function, the tracking monitoring function of the first cycle is started according to the data exceeding the limit.
2. The method according to claim 1, characterized in that, After determining the IoT endpoint monitoring devices and network access information authorized to access the same network, the following steps are included: When the manhole cover of the underground pipeline exceeds the tilt angle limit, a manhole cover alarm is reported to the network server, and the device identification of the IoT endpoint monitoring device is determined; The periodic tracking and monitoring function is triggered to monitor the network access channel to receive the network access packet request associated with the device identification.
3. The method according to claim 1, wherein When data triggering is performed according to the target wake-up function, receiving a data request packet sent by the IoT endpoint monitoring device via the data channel includes: After waking up at the exact time of heartbeat reporting, report the heartbeat monitoring data to the network server, and receive instructions or firmware upgrades from the network server; At the associated inspection cycle, it is sent to the corresponding IoT endpoint monitoring device through the downlink channel of the data channel to complete parameter update or firmware upgrade.
4. The method according to claim 1, wherein When data triggering is performed according to the target wake-up function, receiving a data request packet sent by the IoT endpoint monitoring device via the data channel includes: After the scheduled wake-up of the inspection monitoring, the current monitoring data of the IoT endpoint monitoring device and the historical intranet reporting data are sent to the network server; Determine a target IoT endpoint monitoring device that wakes up regularly at the same inspection cycle time, and determine the online status of the target IoT endpoint monitoring device; When the target IoT endpoint monitoring device is online, a data request packet monitored and reported by the target IoT endpoint monitoring device is obtained through a downlink channel of the data channel.
5. The method according to claim 4, characterized in that, Determining the online status of the target IoT endpoint monitoring device includes: Sending a patrol request packet representing the downlink channel status of the data channel to the target IoT endpoint monitoring device; Determine whether an inspection confirmation packet replied by the target IoT endpoint monitoring device is received within a preset period of time, and if received, determine that the target IoT endpoint monitoring device is online; If not received, it is determined that the target IoT endpoint monitoring device is off-grid, and the device waits for the next round of heartbeat reporting and inspection cycle to wake up and repeat the inspection.
6. The method according to any one of claims 1 to 5, characterized in that The network access confirmation packet also includes a clock synchronization channel and a clock synchronization time; the method also includes: After being awakened at the clock synchronization moment, broadcasting a clock beacon data packet to the IoT endpoint monitoring device based on a downlink channel of the clock synchronization channel; After receiving the clock synchronization confirmation packets replied by the IoT endpoint monitoring device in turn, the clock synchronization of the underground pipeline equipment communication based on the self-organizing network is completed, so that the second cycle of patrol monitoring and the first cycle of tracking monitoring of the IoT endpoint monitoring device are kept in time synchronization with the second cycle of patrol monitoring and the first cycle of tracking monitoring of the gateway monitoring device respectively.
7. The method according to claim 1, characterized in that, The water immersion sleep awakening is realized by a dedicated hardware circuit; the priority of the water immersion sleep awakening is higher than the function awakening of heartbeat reporting, inspection monitoring, and tracking monitoring.
8. The method according to claim 1, wherein The first cycle tracking and monitoring function is started according to the data exceeding limit condition, including: After the inspection monitoring is woken up at a fixed time and the sensor data is monitored for the second cycle, it is determined whether the sensor data exceeds the limit; If not, the next round of inspection and monitoring will continue without reporting data; If yes, the patrol monitoring function is turned off and the tracking monitoring function of the first cycle is started.
9. The method according to claim 1 or 8, characterized in that, The tracking and monitoring function of starting the first cycle includes: Track the timed wake-up of monitoring and monitor the sensor data changes in the first cycle; Determine whether the sensor data exceeds the limit. If so, report the monitored data cyclically to complete the data reporting task of tracking and monitoring through the uplink channel of the data channel; If not, the alarm is reported to be lifted, and the tracking monitoring function is turned off and the patrol monitoring function is started.
10. A communication method for underground pipeline equipment based on ad hoc network, characterized in that, The IoT endpoint monitoring devices installed at different locations inside underground pipelines include: Authorize network access under the same pipe network and obtain network access information; the network access information includes the network access channel; Sending a network access packet request to a gateway monitoring device according to the network access channel, and receiving a network access confirmation packet; the network access confirmation packet includes a data channel; When data is triggered according to the target wake-up function, a data packet request is sent to the gateway monitoring device according to the data channel; the target wake-up function includes tracking monitoring, inspection monitoring, and heartbeat reporting; the first cycle of tracking monitoring is less than the second cycle of inspection monitoring; the second cycle of inspection monitoring is less than the third cycle of heartbeat reporting; It also includes: starting the tracking and monitoring function of the first cycle when waking up from water immersion sleep; When it is determined based on the tracking and monitoring function that the flooding is relieved, the tracking and monitoring function is turned off and the second cycle of the inspection and monitoring function is started; When the sensor data is monitored based on the patrol monitoring function, the tracking monitoring function of the first cycle is started according to the data exceeding the limit.
11. The method according to claim 10, characterized in that, When data triggering is performed according to the target wake-up function, sending a data packet request to the gateway monitoring device according to the data channel includes: After the inspection monitoring is woken up at a fixed time and the sensor data is monitored, the inspection request packet sent by the gateway monitoring device is listened to through the downlink channel of the data channel; When it is determined that the IoT endpoint monitoring device is online according to the received inspection confirmation packet, a monitoring data request packet is reported.
12. An underground pipeline equipment communication system based on an ad hoc network, characterized in that, The system includes an application server, a network server, a gateway monitoring device, and a plurality of IoT endpoint monitoring devices installed at different locations inside the underground pipeline, wherein: The application server is used to send a network access authorization request to the network server according to the acquired network access information to determine the IoT endpoint monitoring device authorized to access the same pipe network; the network access information includes a network access channel; A gateway monitoring device, used to receive a network access packet request sent by the IoT endpoint monitoring device via the network access channel, and reply to a network access confirmation packet; the network access confirmation packet includes a data channel; and further includes: starting the tracking and monitoring function of the first cycle when awakened from water immersion sleep; when determining that the water immersion is relieved based on the tracking and monitoring function, shutting down the tracking and monitoring function and starting the patrol monitoring function of the second cycle; when performing sensor data monitoring based on the patrol monitoring function, starting the tracking and monitoring function of the first cycle according to the data over-limit situation; An IoT endpoint monitoring device, used for sending a data packet request to a gateway monitoring device according to the data channel when data is triggered according to a target wake-up function; the target wake-up function includes tracking monitoring, inspection monitoring, and heartbeat reporting; the first cycle of tracking monitoring is less than the second cycle of inspection monitoring; the second cycle of inspection monitoring is less than the third cycle of heartbeat reporting; The network server is used to obtain the reporting information after the gateway monitoring device processes the monitoring data.
13. The system according to claim 12, wherein The IoT endpoint monitoring device includes an endpoint microcontroller, an endpoint sensor group, an endpoint water immersion sensor, and a wireless communication module, wherein: The number and type of sensors in the endpoint sensor group are determined according to monitoring requirements, including at least one of a temperature and humidity sensor, a flow rate sensor, a harmful gas concentration sensor, a damage minimally invasive sensor, a pressure sensor, a liquid level sensor, or a valve opening and closing angle sensor; The endpoint water immersion sensor is used to trigger a function of waking up the endpoint microcontroller; The wireless communication module of the IoT endpoint monitoring device adopts a half-duplex communication mode for transmitting and receiving, and has the ability to monitor channel activities.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Urban cable channel intelligent operation inspection system based on LoRa technology
CN113068143A
LoRa networking method and system, electronic equipment and storage medium
CN114585100A