Underground pipeline equipment communication method and system based on ad hoc network, and storage medium

By implementing network access management and target wake-up functions between the gateway monitoring device and the IoT endpoint monitoring device, the underground pipeline equipment communication method based on the ad hoc network solves the problems of instability in signal, high energy consumption and insufficient data transmission reliability in the prior art, and achieves efficient, safe and energy-saving communication effects.

CN119893462AActive Publication Date: 2025-04-25HUNAN JINLONG INTELLIGENT MFG TECH CO LTD

Patent Information

Application Number
CN202510361875.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-04-25
Estimated Expiration
2045-03-26

AI Technical Summary

Technical Problem

The existing underground pipeline equipment communication technology faces the problems of instability in signal transmission, high energy consumption, insufficient data transmission reliability and real-time performance, especially in complex network environments, how to efficiently manage and optimize communication resources has become a challenge.

Method used

Through the network access management and target wake-up functions between the gateway monitoring device and the IoT endpoint monitoring device, an underground pipeline equipment communication method based on an ad hoc network is provided to achieve efficient, secure and energy-saving communication. The method includes determining a device and channel authorized to access the network, receiving and replying to an access packet request, and triggering and confirming data according to the target wake-up function.

Benefits of technology

This method improves the communication efficiency of underground pipeline equipment and the reliability of data transmission, reduces system power consumption, extends the service life of the equipment, optimizes the occupation time of the communication channel, and improves the communication efficiency of the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893462A_ABST
    Figure CN119893462A_ABST
Patent Text Reader

Abstract

The invention relates to an underground pipeline equipment communication method and system based on an ad hoc network and a storage medium. According to the method, through network access confirmation and data channel management between gateway monitoring equipment and Internet of Things endpoint monitoring equipment, communication connection can be quickly established, data can be efficiently transmitted, and the real-time performance of data transmission is improved. According to the invention, data triggering is carried out according to different target wake-up functions, a low power consumption mode can be entered in a dormant state, the power consumption of the system is effectively reduced, the occupation time of a communication channel is reduced, and the communication efficiency of the whole system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a communication method, system and storage medium for underground pipeline equipment based on a self-organizing network. Background Art

[0002] With the acceleration of urbanization, the underground pipeline network has become more and more complex, including various pipelines such as water supply, drainage, gas, and communications. The development of Internet of Things technology has provided new solutions for the monitoring of underground pipeline equipment in modern cities.

[0003] In recent years, a large number of IoT terminals have been connected to the underground pipeline network to realize real-time data collection and transmission of underground pipelines. However, existing underground communication technologies still face many challenges. On the one hand, the underground environment is complex and signal transmission is susceptible to interference, resulting in unstable communication; on the other hand, traditional communication mechanisms have high energy consumption and are difficult to meet the long-term operation requirements of large-scale IoT devices. In addition, existing technologies also have deficiencies in the reliability and real-time performance of data transmission. Especially in complex network environments, how to efficiently manage and optimize communication resources has become a key issue. Summary of the invention

[0004] Based on this, the purpose of this application is to provide an efficient, secure and energy-saving underground pipeline equipment communication method 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 of the existing technology and meet the needs of modern cities for communication efficiency and data transmission reliability when monitoring underground pipeline equipment.

[0005] In the first aspect, the present application provides a communication method for underground pipeline equipment based on a self-organizing network. The method is applied to a gateway monitoring device, including: Determine the IoT endpoint monitoring devices and network access information authorized to access the same network; the network access information includes the network access channel; 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 a data channel; When data is triggered according to the target wake-up function, the data request packet sent by the IoT endpoint monitoring device via the data channel is received, and a data confirmation packet is replied.

[0006] In one embodiment, after determining the IoT endpoint monitoring devices and network access information authorized for access under the same pipe network, it includes: when the manhole cover of the underground pipeline is at an angle exceeding the limit, reporting the manhole cover alarm to the network server, and determining the device identification of the IoT endpoint monitoring device; triggering the periodic tracking and monitoring function, monitoring the network access channel to receive the network access packet request associated with the device identification.

[0007] 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, a data request packet sent by the IoT endpoint monitoring device via a data channel is received, including: after waking up at the exact moment of the heartbeat reporting, reporting the heartbeat monitoring data to the network server, and receiving instructions or firmware upgrades from the network server; sending it to the corresponding IoT endpoint monitoring device through the downlink channel of the data channel at the associated inspection cycle to complete parameter updates or firmware upgrades.

[0008] In one embodiment, the target wake-up function of the gateway monitoring device includes patrol monitoring; when data is triggered according to the target wake-up function, a data request packet sent by the IoT endpoint monitoring device via a data channel is received, including: after the scheduled wake-up of the patrol monitoring, the current monitoring data of the IoT endpoint monitoring device and the historical intranet reported data are sent to the network server; the target IoT endpoint monitoring device that wakes up regularly at the same patrol cycle is determined, and the online status of the target IoT endpoint monitoring device is determined; when the target IoT endpoint monitoring device is online, the data request packet reported by the target IoT endpoint monitoring device is obtained through the downlink channel of the data channel.

[0009] In one embodiment, determining the online status of a target IoT endpoint monitoring device includes: sending a patrol request packet representing the downlink channel status of a data channel to the target IoT endpoint monitoring device; determining whether a patrol confirmation packet replied by the target IoT endpoint monitoring device is received within a preset time period, and if so, determining that the target IoT endpoint monitoring device is online; if not, determining that the target IoT endpoint monitoring device is off-network, and waiting for the next round of heartbeat reporting and scheduled wake-up of the patrol cycle and repeating the check.

[0010] In one embodiment, the network access confirmation packet also includes a clock synchronization channel and a clock synchronization time; the above method also includes: after being awakened at the clock synchronization time, broadcasting a clock beacon data packet to the Internet of Things endpoint monitoring device based on the downlink channel of the clock synchronization channel; after receiving the clock synchronization confirmation packets replied by the Internet of Things endpoint monitoring devices in turn, completing the clock synchronization of the underground pipeline equipment communication based on the self-organizing network, so that the second cycle of the patrol monitoring and the first cycle of the tracking monitoring of the Internet of Things endpoint monitoring device are kept in time synchronization with the second cycle of the patrol monitoring and the first cycle of the tracking monitoring of the gateway monitoring device respectively.

[0011] 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.

[0012] 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.

[0013] 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.

[0014] 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: Authorize network access and obtain network access information under the same network; the network access information includes the network access channel; Sending a network access packet request to the 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 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.

[0015] 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.

[0016] In a third aspect, the present application also provides an underground pipeline equipment communication system based on a self-organizing network. The system includes an application server, a network server, a gateway monitoring device and an IoT endpoint monitoring device, wherein: The application server is used to send a network access authorization request to the network server according to the acquired network access information, so as to determine the IoT endpoint monitoring device authorized to access the same pipe network; the network access information includes a network access channel; The gateway monitoring device is used to 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 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 reporting information after the gateway monitoring device processes the monitoring data.

[0017] In one embodiment, an 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 of sending and receiving, and has the ability to monitor channel activity.

[0018] In a fourth aspect, the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned underground pipeline equipment communication method based on a self-organizing network are implemented.

[0019] The above-mentioned underground pipeline equipment communication method, system and readable storage medium based on self-organizing network can quickly establish a communication connection and efficiently transmit data through network access confirmation and data channel management between the gateway monitoring device and the IoT endpoint monitoring device, thereby improving the real-time performance of data transmission. Even if errors occur during data transmission, they can be discovered and retransmitted in time through the confirmation packet mechanism, thus avoiding the problem of incomplete data. In addition, data triggering can be performed according to different target wake-up functions, and low-power consumption mode can be entered in the sleep state, which effectively reduces the power consumption of the system, prolongs the service life of the equipment, reduces the occupation time of the communication channel, and improves the communication efficiency of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is an application environment diagram of an underground pipeline equipment communication system based on a self-organizing network in one embodiment; Figure 2 A schematic diagram of the structure of an IoT endpoint monitoring device in one embodiment; Figure 3 A schematic diagram of a flow chart of a communication method for underground pipeline equipment based on a self-organizing network in one embodiment; Figure 4 It is a schematic diagram of the principle of a communication method for underground pipeline equipment based on a self-organizing network in one embodiment; Figure 5 A schematic diagram of a process of monitoring a device being awakened periodically in one embodiment; Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0022] The present application provides an underground pipeline equipment communication system based on a self-organizing network. The system includes an application server, a network server, a gateway monitoring device and an Internet of Things endpoint monitoring device, wherein: the application server is used to send a network access authorization request to the network server according to the obtained network access information to determine the Internet of Things endpoint monitoring device authorized to access the network under the same pipe network; the gateway monitoring device is used to receive the network access packet request sent by the Internet of Things endpoint monitoring device via the network access channel and reply to the network access confirmation packet; the network access confirmation packet includes a data channel; the Internet of Things 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 reporting information of the gateway monitoring device after processing the monitoring data.

[0023] Among them, 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.

[0024] 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.

[0025] 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.

[0026] 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.

[0027] Specifically, for the first step of the network application for devices under the same pipe network ugpLAN, the installation and operation personnel submit a network authorization request for the IoT endpoint monitoring device (ugpMIEM_ID) to the cloud network server through the application server (such as a mobile phone APP). After the network server sends back confirmation that the network authorization has been passed, the second step of network application is carried out. The network 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 the network access confirmation packet to the IoT endpoint monitoring device that has entered the network.

[0028] The network access confirmation package also includes information such as the network access device serial number ugpMIEM_sn, data channel, clock synchronization channel, etc. assigned to the IoT endpoint monitoring device (ugpMIEM_ID).

[0029] The IoT endpoint monitoring device needs to transmit different types of data information when triggering data in different target wake-up functions. After packaging various data information, it sends a data packet request 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 network registration is completed. Therefore, when the gateway monitoring device obtains the monitoring data of the IoT endpoint monitoring device of the same pipe network, and reports it to the network server after data processing, the remote parameter distribution of the application server is realized based on the gateway monitoring device.

[0030] The data in the data packet request packet includes basic device information (ugpMIEM_info), such as ugpMIEM model, ugpMIEM manufacturer, ugpMIEM firmware version, ugpMIEM reporting network server IP address and port number, etc.

[0031] The application server can be different types of external devices, including but not limited to various personal computers, smart phones, drones, smart car devices, portable wearable devices, etc. The network server is implemented by an independent server or a server cluster composed of multiple servers. It 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), and big data and artificial intelligence platforms.

[0032] The above-mentioned underground pipeline equipment communication system based on self-organizing network, the first step of network access ensures that only authorized devices can access the system, effectively preventing unauthorized device access, enhancing the security and reliability of the system, and ensuring unified network management of equipment from different manufacturers. According to different target wake-up functions, data is triggered, and it can enter low-power mode in sleep state, which effectively reduces the power consumption of the system and extends the service life of the equipment. Through the mechanism of network access confirmation package and data confirmation package, the system ensures the integrity and reliability of data communication of internal on-line monitoring equipment in low-power self-organizing network, which is suitable for application scenarios that require rapid response, so that it can support the access of large-scale equipment, and can flexibly expand system functions according to actual needs.

[0033] Therefore, this underground pipeline equipment communication system based on ad hoc networks significantly improves the efficiency and reliability of underground pipeline monitoring while reducing operation and maintenance costs through efficient equipment management, optimized communication processes, reliable data transmission and good scalability.

[0034] 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 ugpMIEM0 device in the underground pipeline equipment communication system upgLAN based on the self-organizing network. The gateway monitoring device also has the functions of collecting, caching, processing, sending and reporting the monitoring data of the IoT endpoint monitoring device.

[0035] In one embodiment, a gateway monitoring device ugpMCGM and several IoT endpoint monitoring devices ugpMIEM devices together form a star-shaped wireless local area network ugpLAN, thereby realizing remote management of the gateway monitoring devices and IoT endpoint monitoring devices based on the pipe network.

[0036] In one embodiment, an 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 of sending and receiving, and has the ability to monitor channel activity.

[0037] Among them, Figure 1The IoT endpoint monitoring devices shown are, for example: gas leak monitoring terminal (ugpMIEM1), manhole temperature and humidity monitoring terminal (ugpMIEM2), underground pipeline pressure monitoring terminal (ugpMIEM3), Doppler flow velocity monitoring terminal (ugpMIEM4), optical fiber pipeline damage monitoring terminal (ugpMIEM5), pressure liquid level monitoring terminal (ugpMIEM6), pipe well water quality monitoring terminal (ugpMIEM7), pipeline valve opening monitoring terminal (ugpMIEM8).

[0038] Among them, the IoT endpoint monitoring equipment inside the pipeline network includes but is not limited to underground harmful gas leakage monitoring, underground pipeline pressure over-limit monitoring, underground liquid level height over-limit monitoring, underground water quality data over-standard monitoring, underground rainy period flow rate monitoring, underground valve opening angle monitoring and other functions.

[0039] Specifically, Figure 2 The schematic diagram of the structure of the IoT endpoint monitoring device is shown. The IoT endpoint monitoring device includes 21-endpoint low-power microcontroller MCU (also known as endpoint microcontroller), 22-endpoint 1-n IoT monitoring sensor group (also known as endpoint sensor group), 23-endpoint low-frequency band wireless communication module (also known as wireless communication module), 24-endpoint battery pack, 25-endpoint Bluetooth communication module (also known as endpoint Bluetooth module, 26-endpoint buzzer, 27-endpoint water immersion sensor. The low-frequency band wireless communication module adopts a half-duplex communication mode for sending and receiving, and has CAD (channel activity monitoring) capability. The number and types of sensors in the endpoint sensor group inside the IoT endpoint monitoring device should be determined according to different monitoring requirements, including but not limited to water immersion sensors, temperature and humidity sensors, flow rate sensors, harmful gas concentration sensors, damage minimally invasive sensors, pressure sensors, liquid level sensors or valve opening and closing angle sensors, etc.

[0040] The above-mentioned IoT endpoint monitoring devices can be flexibly configured according to specific monitoring needs by integrating multiple sensors, realizing comprehensive and accurate monitoring of different environmental parameters. The introduction of endpoint water immersion sensors not only enhances the device's early warning capability for specific water immersion, but also effectively triggers the microcontroller to wake up, reduce energy consumption, and improve response speed. In addition, the wireless communication module that uses half-duplex communication mode ensures the stability and reliability of data transmission. At the same time, the channel activity monitoring capability enables the device to intelligently select the best communication path in complex environments, avoid interference, and improve communication efficiency.

[0041] In one embodiment, the IoT endpoint monitoring equipment inside the same pipe network is usually installed in an underground pipe with a well depth of 5 to 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".

[0042] In one embodiment, a gateway monitoring device installed at a position adjacent to a manhole cover includes a gateway microcontroller, a communication array module, and a gateway sensor group, wherein: the communication array module includes a Bluetooth module, a cellular communication module, and a wireless communication module for 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 adopts a half-duplex communication mode of transmitting and receiving, 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.

[0043] Specifically, the gateway microcontroller controls the sleep and wake-up cycles of the device. The Bluetooth module is used to realize information recognition and interaction between the user's application server and the gateway monitoring device. Since existing equipment usually has a built-in cellular communication module, a single communication channel and a high communication signal frequency, it is easily shielded and absorbed by the ductile iron manhole cover used in the mainstream urban infrastructure equipment. The success rate of on-site equipment data reporting is low. Therefore, it is considered to add a low-frequency wireless communication module with a low signal frequency, long wavelength and strong winding ability. The signal can not only penetrate the inside of the well more effectively, but also easily and stably penetrate to the low-frequency wireless communication gateway base station on the ground, so as to achieve high success rate data reporting without dead angles.

[0044] Therefore, the gateway microcontroller can stably transmit monitoring data under different environments and conditions based on the multi-channel integrated structure, avoiding data transmission interruption caused by failure of a single communication channel or poor signal, thereby improving the integrity and accuracy of the monitoring data.

[0045] In one embodiment, Figure 3 As shown, a communication method for underground pipeline equipment based on a self-organizing network is provided, which is implemented by a communication system for underground pipeline equipment based on a self-organizing network. Figure 1 The gateway monitoring device in the example is used as an example to illustrate, including the following steps: Step 302, determine the IoT endpoint monitoring devices and network access information that are authorized to access the same network.

[0046] The network access information includes the network access channel.

[0047] 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 connected to the network through a mobile phone APP. For example, when the entire IoT endpoint monitoring device fails and needs to be replaced with a new device, the national standard coded nameplate on the outer surface of the manhole cover is scanned and after identity recognition authorization, the gateway ID (ugpMCGM_ID) of the internal pipe network ugpLAN, the network identification ID (ugpLAN_ID), the uplink and downlink frequencies and channel bandwidths of the access channel and the time synchronization channel and other access information are read.

[0048] Next, the operation and maintenance personnel submit a network access authorization request for the IoT endpoint monitoring device (ugpMIEM_ID) to the network server through the application server. After the network server sends back the confirmation that the network access authorization has been passed, the operation and maintenance personnel will send the obtained network access information to the IoT endpoint monitoring device (ugpMIEM) to be installed and connected to the network through Bluetooth communication to save and complete the corresponding program initialization. The gateway monitoring device can directly determine the IoT endpoint monitoring device and network access information that have been authorized to access the network based on the internal pipe network ugpLAN.

[0049] Step 304: 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.

[0050] The network access confirmation packet includes a data channel.

[0051] Specifically, Figure 4 As shown, Figure 4 The schematic diagram of the principle of the underground pipeline equipment communication method based on the self-organizing network in one embodiment is shown. The gateway microcontroller monitors the network access channel by starting the wireless communication module to receive the network access packet request corresponding to the device identification of the IoT endpoint monitoring device. After receiving the network access packet request from the IoT endpoint monitoring device through the uplink channel of the network access channel of the pipe network ugpLAN, the gateway monitoring device replies with a network access confirmation packet on the downlink channel of the network access channel.

[0052] The network access confirmation packet at this time also includes pre-filtered, idle data channels, clock synchronization beacons, heartbeat reporting hours, clock synchronization channels, clock synchronization hour network access device serial number ugpMIEM_sn, reporting working mode (ugpMODE) and other parameter information.

[0053] In one embodiment, the network identification ID (ugpLAN_ID) of the pipe network ugpLAN, the upgLAN network access channel, and the ugpLAN clock synchronization channel support default fixation, and can also be authorized and adjusted by the operation and maintenance personnel through the mobile phone APP at the installation site. During the installation stage, all IoT endpoint monitoring devices can be obtained by the on-site operation and maintenance personnel after identity recognition authorization by scanning the national standard code nameplate of the manhole cover at the point.

[0054] In one embodiment, the gateway monitoring device ugpMCGM does not receive the network access packet request sent by the IoT endpoint monitoring device ugpMIEM, and the IoT endpoint monitoring device ugpMIEM continues to send an illegal network access packet request. At this time, the gateway monitoring device ugpMCGM can receive but does not reply to the confirmation packet.

[0055] In one embodiment, the IoT endpoint monitoring device ugpMIEM sends a sealed network access packet request and the gateway monitoring device also receives it. The IoT endpoint monitoring device ugpMIEM does not receive the network access confirmation packet replied by the gateway monitoring device ugpMCGM. The IoT endpoint monitoring device ugpMIEM will continue to resend the network access packet request until it receives the network access confirmation packet.

[0056] Step 306, when data triggering is performed 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.

[0057] 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.

[0058] Specifically, the gateway monitoring device has a periodic wake-up function for patrol monitoring, which enables off-line inspection of the on-line IoT endpoint monitoring device inside the well after the patrol wake-up, and receives the sensor data of patrol monitoring reported by the on-line IoT endpoint monitoring device. That is, after the gateway monitoring device wakes up at the patrol monitoring cycle, it actively queries and receives the data request packets reported by the on-line IoT endpoint monitoring device that wakes up at the same patrol cycle, and caches, analyzes, processes and forwards the data information in the data request packet to the network server.

[0059] Similarly, the gateway monitoring device has a periodic wake-up function for heartbeat reporting, which can query the data of the IoT endpoint monitoring device in the well after the heartbeat reporting is woken up regularly, and start the wireless communication module through the gateway microcontroller to obtain the data request package reported by the IoT endpoint monitoring device through the downlink channel of the corresponding data channel. Figure 4 The gateway monitoring device replies with a data confirmation packet and receives and stores the data, and transmits the processed data to the associated application server according to the application requirements of the IoT endpoint monitoring device through the internal gateway microcontroller.

[0060] In the above-mentioned underground pipeline equipment communication method based on self-organizing network, through the network access confirmation and data channel management between the gateway monitoring device and the IoT endpoint monitoring device, the communication connection can be quickly established and data can be efficiently transmitted, which improves the real-time performance of data transmission under the low-power self-organizing network. Even if errors occur during data transmission, they can be discovered and retransmitted in time through the confirmation packet mechanism, avoiding the problem of incomplete data. In addition, data triggering is performed according to different target wake-up functions, and low-power mode can be entered in the sleep state, which effectively reduces the power consumption of the system, prolongs the service life of the equipment, and reduces the occupation time of the communication channel, thereby improving the communication efficiency of the entire system under the low-power self-organizing network.

[0061] In one embodiment, after determining the IoT endpoint monitoring devices and network access information authorized for access under the same pipe network, it includes: when the manhole cover of the underground pipeline is at an angle exceeding the limit, reporting the manhole cover alarm to the network server, and determining the device identification of the IoT endpoint monitoring device; triggering the periodic tracking and monitoring function, monitoring the network access channel to receive the network access packet request associated with the device identification.

[0062] The target wake-up function also includes a tracking and monitoring function, and the first cycle of the tracking and monitoring is less than the third cycle of the heartbeat reporting, for example, 5 minutes.

[0063] Specifically, the gateway monitoring device has the function of dormant monitoring of the tilt angle of the manhole cover and automatic alarm reporting when it is awakened. Usually, when the operation and maintenance personnel open the manhole cover at the point and implement the on-site construction and installation of the IoT endpoint monitoring device, if the manhole cover is in an open state with an over-limit tilt angle, the gateway monitoring device immediately reports the manhole cover opening alarm to the network server, and queries the device identification (ugpMIEM_ID) of the IoT endpoint monitoring device that has obtained the new authorization to access the network, and then triggers the periodic timing tracking and monitoring function. At the same time, the gateway microcontroller inside the gateway monitoring device starts the internal low-frequency wireless communication module, and implements low-power reception monitoring of the access channel at a second interval. Once the monitoring receives the access packet request from the authorized access IoT endpoint monitoring device ugpMIEM_ID to be installed, the gateway microcontroller sends the access confirmation packet through the internal low-frequency wireless communication module on the downlink channel of the access channel until the application server receives the successful access reminder, and the buzzer will also beep to indicate the successful access.

[0064] In this embodiment, when the underground pipe manhole cover tilts beyond the safety range, the system can respond quickly and report the manhole cover alarm to the network server, improving the safety management level of urban infrastructure. At the same time, the periodic timing tracking and monitoring function triggered by the system can continuously monitor the network access channel, timely receive and process the network access packet request associated with the device identification, ensure the stable connection between the IoT endpoint monitoring device and the network, and effectively prevent unauthorized device access, thereby improving the safety and reliability of the entire monitoring system.

[0065] In one embodiment, when replacing the battery and other components of the IoT endpoint monitoring device, if the IoT endpoint monitoring device fails to report data in a preset number of inspections or tracking monitoring, for example, three times for 15 minutes in a row, it switches to a low-power target monitoring mode that represents a second-level interval of a downlink channel, and the average sleep current increases by more than 100uA. When the gateway monitoring device is powered on, the IoT endpoint monitoring devices are reconnected to the network one by one through the downlink channel.

[0066] 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, a data request packet sent by the IoT endpoint monitoring device via a data channel is received, including: after waking up at the exact moment of the heartbeat reporting, reporting the heartbeat monitoring data to the network server, and receiving instructions or firmware upgrades from the network server; sending it to the corresponding IoT endpoint monitoring device through the downlink channel of the data channel at the associated inspection cycle to complete parameter updates or firmware upgrades.

[0067] The data request packet includes reporting of heartbeat monitoring data, etc.

[0068] Specifically, after the gateway monitoring device is woken up regularly at the periodic moment of the synchronous heartbeat reporting, it reports the heartbeat monitoring data to the cloud network server, checks and receives the instructions issued by the network server or the OTA upgrade firmware, and at the appropriate synchronous inspection cycle moment, sends it to the corresponding on-line IoT endpoint monitoring device through the downlink channel of the data channel of the gateway's low-frequency band wireless communication module, so that the IoT endpoint monitoring device can complete the parameter update and firmware upgrade.

[0069] In this embodiment, when the gateway monitoring device performs data triggering based on the heartbeat reporting mechanism, it can accurately realize real-time monitoring of the device status, making it convenient for the server to issue instructions or push firmware upgrades in a timely manner according to the reported data, thereby improving the system's response speed and operation and maintenance efficiency.

[0070] In one embodiment, the target wake-up function of the gateway monitoring device includes patrol monitoring; when data is triggered according to the target wake-up function, a data request packet sent by the IoT endpoint monitoring device via a data channel is received, including: after the scheduled wake-up of the patrol monitoring, the current monitoring data of the IoT endpoint monitoring device and the historical intranet reported data are sent to the network server; the target IoT endpoint monitoring device that wakes up regularly at the same patrol cycle is determined, and the online status of the target IoT endpoint monitoring device is determined; when the target IoT endpoint monitoring device is online, the data request packet reported by the target IoT endpoint monitoring device is obtained through the downlink channel of the data channel.

[0071] Specifically, after the scheduled wake-up of 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 regularly at the same inspection cycle. The gateway monitoring device sends inspection confirmation packets to the target IoT endpoint monitoring device in turn 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 starts the gateway low-frequency wireless communication module, calls the target IoT endpoint monitoring device on the network in the downlink channel of the corresponding data channel to report the monitoring data request packet, and replies to the monitoring data confirmation packet to complete the scheduled intranet data reporting task.

[0072] In this embodiment, after the inspection and monitoring function of the gateway monitoring device is awakened at a scheduled time, it efficiently uploads the current and historical monitoring data of the IoT endpoint monitoring device to the network server, realizing real-time update and comprehensive recording of data, and providing strong support for data analysis and decision-making. At the same time, by accurately determining the target IoT endpoint monitoring device awakened at the same 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.

[0073] In one embodiment, determining the online status of a target IoT endpoint monitoring device includes: sending a patrol request packet representing the downlink channel status of a data channel to the target IoT endpoint monitoring device; determining whether a patrol confirmation packet replied by the target IoT endpoint monitoring device is received within a preset time period, and if so, determining that the target IoT endpoint monitoring device is online; if not, determining that the target IoT endpoint monitoring device is off-network, and waiting for the next round of heartbeat reporting and scheduled wake-up of the patrol cycle and repeating the check.

[0074] Specifically, the gateway microcontroller inside the gateway monitoring device sends inspection request packets representing the downlink channel status of the data channel to the target IoT endpoint monitoring device in sequence through the built-in gateway low-frequency band wireless communication module. 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 is off-network, and the next round of heartbeat reporting and inspection cycle timed wake-up are repeated. When the inspection confirmation packet replied by the target IoT endpoint monitoring device is received, it is on the network.

[0075] In this embodiment, the online status of the target IoT endpoint monitoring device is determined through the inspection request packet, which achieves accurate judgment of the device status, effectively avoids the monitoring blind spot 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 efficiency of operation and maintenance.

[0076] In one embodiment, the above 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 the downlink channel of the clock synchronization channel; after receiving the clock synchronization confirmation packets replied by the IoT endpoint monitoring device in turn, completing the clock synchronization of the underground pipeline equipment communication based on the self-organizing 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 kept in time synchronization with the second cycle of the patrol monitoring and the first cycle of the tracking monitoring of the gateway monitoring device respectively.

[0077] The network access confirmation packet also includes a clock synchronization channel and a clock synchronization time.

[0078] Among them, the gateway monitoring device and the IoT endpoint monitoring device are usually in a dormant state, and both have three periodic automatic wake-up functions: heartbeat reporting, inspection monitoring, and tracking monitoring. The heartbeat reporting time of the gateway monitoring device can be fixed to the 00:00 time of the day. After the IoT endpoint monitoring device completes the network registration of the pipe network ugpLAN, the heartbeat reporting time can be adjusted to the assigned fixed daily hour punctual time.

[0079] Specifically, after the gateway monitoring device is awakened at the clock synchronization time, the gateway microcontroller starts the wireless communication module and broadcasts the 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 IoT endpoint monitoring devices connected to the network on the downlink channel of the clock synchronization channel, the clock synchronization frame is sent through the clock synchronization channel to complete the clock synchronization with the IoT endpoint monitoring device on the network. Then, the gateway monitoring device switches to the receiving port of the internal low-frequency wireless communication module to receive the monitoring status data or monitoring indicator over-limit alarm information reported by the IoT endpoint monitoring device. The gateway monitoring device caches, analyzes and classifies the received data information, and the internal gateway microcontroller promptly reports the data information to the agreed application server according to the application requirements of the target IoT endpoint monitoring device.

[0080] 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 confirmation packet replied by each device, the clock synchronization of the entire underground pipeline equipment communication network based on the self-organizing network is achieved, 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, troubleshooting, etc.

[0081] 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.

[0082] 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.

[0083] 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) .

[0084] 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.

[0085] In this embodiment, the immediate response to water flooding events reduces false alarms caused by water flooding, and dynamically adjusts or switches to monitoring functions with different cycle lengths based on the changes in water flooding and the exceeding of sensor data, which can achieve a balance between energy consumption and monitoring needs and enable the system to adapt to a variety of application scenarios and needs.

[0086] In one embodiment, when sensor data monitoring is performed based on the patrol monitoring function, the tracking monitoring function of the first cycle is started according to the data exceeding the limit, including: after the patrol monitoring is woken up at a scheduled time and the sensor data monitoring of the second cycle is performed, it is determined whether the sensor data exceeds the limit; 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 monitoring function of the first cycle is started.

[0087] Among them, the first cycle of tracking monitoring is shorter than the second cycle of patrol monitoring; the second cycle of patrol monitoring is shorter than the third cycle of heartbeat reporting.

[0088] Specifically, Figure 5 As shown in S14, when the second cycle of patrol monitoring function is started and it is awakened at the corresponding patrol monitoring time, the corresponding sensor data is read. This patrol monitoring report is required for most monitoring equipment many times a day, and is usually divided into two situations. One is that during the second cycle of patrol monitoring, it is not determined whether the sensor data exceeds the limit, and it must be reported to the cloud network server for decision-making. The other is that during the second cycle of patrol monitoring, it is determined whether the sensor data exceeds the limit. If it does not exceed the limit, the cloud data will not be reported, and the next round of patrol monitoring will continue; if it exceeds the limit, the patrol alarm and the detected sensor data will be reported. At this time, the patrol monitoring function is turned off and the tracking monitoring function of the first cycle is started.

[0089] In this embodiment, preliminary monitoring is performed through the patrol monitoring function, and tracking monitoring is started only when the data exceeds the limit, avoiding unnecessary waste of resources and data processing burden. The design of turning off the patrol monitoring function and starting the tracking monitoring function further focuses on the in-depth monitoring of abnormal data, thereby improving the monitoring accuracy and efficiency.

[0090] 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.

[0091] Specifically, 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.

[0092] 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.

[0093] 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.

[0094] 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.

[0095] 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.

[0096] 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.

[0097] 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 network access under the same network and obtaining network access information; the network access information includes a network access channel; sending a network access packet request to the 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, sending a data packet request to the gateway monitoring device according to the data channel.

[0098] It is easy to understand that the specific process of realizing the underground pipeline equipment communication method based on self-organizing network through the Internet of Things endpoint monitoring device can be found in the above-mentioned related process of realizing the underground pipeline equipment communication method based on self-organizing network through the gateway monitoring device, and this application will not repeat it here.

[0099] 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.

[0100] Specifically, after the IoT endpoint monitoring device is awakened at the scheduled time of the inspection cycle, the internal endpoint microcontroller starts the wireless communication module after completing the sensor data monitoring, and monitors 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 time 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 performs sensor data monitoring and data reporting after being awakened at the scheduled time of the synchronous heartbeat reporting cycle.

[0101] In this embodiment, the inspection cycle function enables the IoT endpoint monitoring device to quickly monitor and process sensor data after being awakened at a fixed time, and monitor 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 that it is online, it actively reports the monitoring data request packet, realizing real-time data update and efficient transmission, ensuring effective communication between the IoT endpoint monitoring device and the gateway monitoring device in a low-power self-organizing network, and avoiding data loss due to device offline or communication failure.

[0102] In one embodiment, the target wake-up function of the IoT endpoint monitoring device includes tracking monitoring; the above method also includes: when the monitored sensor data exceeds the limit and the data request packet is reported, the patrol monitoring function is turned off and the tracking monitoring function is triggered to complete the data reporting task of tracking monitoring through the uplink channel of the data channel.

[0103] Specifically, after the endpoint microcontroller in the IoT endpoint monitoring device detects that the device sensor data exceeds the limit and completes the reporting of the intranet sensor data, it turns off the periodic timing function of the patrol monitoring and enters the periodic synchronous timing wake-up monitoring mode of the tracking monitoring. After the IoT endpoint monitoring device is synchronously and regularly awakened in the first cycle of tracking monitoring, the internal endpoint microcontroller starts the low-frequency wireless communication module of the endpoint and wakes up the gateway monitoring device through the uplink channel of the data channel allocated by the network after completing the tracking and monitoring of the fault or over-limit data, and reports the tracking and monitoring data packet to the gateway monitoring device to complete the task of reporting the tracking and monitoring data intranet this time.

[0104] In this embodiment, when the monitored sensor data exceeds the preset threshold, the system will automatically shut down the patrol monitoring function and quickly trigger the tracking monitoring function, ensuring that it can immediately switch to a close monitoring state of abnormal data, and efficiently complete the tracking monitoring data reporting task through the uplink channel of the low-power self-organizing network data channel, thereby improving the system's response speed and processing capabilities to abnormal events.

[0105] This example uses a working scenario of a network of 1 gateway monitoring device and M=8 IoT endpoint monitoring devices to illustrate a low-power wireless data communication method that can achieve synchronous wake-up at punctual reporting cycle times.

[0106] The ugpLAN of the pipe network completes the time synchronization with the gateway monitoring device during the registration phase of the IoT endpoint monitoring device, and obtains the heartbeat reporting time assigned to each IoT endpoint monitoring device. The fixed heartbeat reporting time for the gateway monitoring terminal to report to the network server is fixed at 0:00 every day.

[0107] Inform the networked devices to use 12:00 every day as the clock synchronization time. At that time, the ugpLAN network-wide devices will be synchronized and woken up regularly. The gateway monitoring device will broadcast the clock beacon data packet in the downlink channel of the clock synchronization channel. After receiving the clock synchronization confirmation packets of the IoT endpoint monitoring devices in turn, the daily network-wide clock synchronization task will be completed. In order to further improve the daily time synchronization accuracy of the ugpLAN network-wide devices, the clock synchronization link can also be added in the second cycle of the inspection and monitoring.

[0108] As a result, the inspection monitoring time and cycle, tracking monitoring time and cycle of upgLAN full pipe network monitoring equipment (upgMCGM, ugpMIEM) are automatically synchronized. Even if there are some time asynchronizations, it will not affect the quality of system monitoring and reporting, and the system clock calibration and correction can be implemented through the clock synchronization time.

[0109] When the upgLAN full-pipeline network monitoring device encounters a brief blockage in the data exchange process between the second cycle of patrol monitoring and the first cycle of tracking monitoring, the problem can be effectively resolved through the CAD channel activity detection function mechanism of the wireless communication module, combined with the device roll call and timeout mechanism.

[0110] The gateway microcontroller and endpoint microcontroller inside the upgLAN full-pipeline network monitoring device (upgMCGM, ugpMIEM) use their own heartbeat reporting time as the benchmark, and can use the punctual time correction method every hour to restore the inspection monitoring time and tracking monitoring time to count from zero minutes and zero seconds, ensuring that within the third cycle interval of each heartbeat report, the second cycle of inspection monitoring and the first cycle of tracking monitoring of the full-pipeline network monitoring device are strictly synchronized.

[0111] In summary, the present application proposes a low-power wireless self-organizing network communication method for pipe networks with multiple coordinated cycle optimized wake-up, based on the monitoring cycle characteristics of the monitoring equipment under the same pipe network, and adopts a sleep and wake-up collaborative work mode (CLASS U) at the punctual reporting cycle moment. Under the premise of reducing the hard communication cost and soft traffic cost of each device, and keeping the low-power sleep working logic of the gateway monitoring device ugpMCGM device and the low-power sleep working logic of the Internet of Things endpoint monitoring device ugpMIEM device basically unchanged, the low-power self-organizing network of all online monitoring devices under the pipe network ugpLAN has stable data interaction. In addition, with the help of the gateway monitoring device ugpMCGM, timely, accurate and stable device sensor monitoring data reporting or over-limit alarms of the Internet of Things monitoring devices in the same pipe network are realized, which improves the data reporting success rate of each monitoring device on the network, and supports the application server to remotely monitor all online monitoring devices within the pipe network.

[0112] It should be understood that, although the steps in the flowcharts of 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 otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times.

[0113] Based on the same inventive concept, the embodiment of the present application also provides an underground pipeline equipment communication device based on a self-organizing network for implementing the underground pipeline equipment communication method based on a self-organizing network involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the underground pipeline equipment communication device based on a self-organizing network provided below can refer to the limitations of the underground pipeline equipment communication method based on a self-organizing network above, and will not be repeated here.

[0114] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to 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 the computer device is used to provide computing and control capabilities. The memory of the 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 the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method 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, a communication method for underground pipeline equipment based on a self-organizing network is implemented. The display unit of the computer device is used to form a visually visible image, and 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 the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0115] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure 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 certain components, or have a different arrangement of components.

[0116] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0117] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0118] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0119] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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 embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0121] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, 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 attached 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 network; the network access information includes the network access channel; 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 triggering is performed 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.

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, characterized in that The target wake-up function of the gateway monitoring device includes heartbeat reporting; when data is triggered 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, characterized in that: The target wake-up function of the gateway monitoring device includes patrol monitoring; when data is triggered 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 method further comprises: The tracking and monitoring function of the first cycle is started when the water immersion dormancy is awakened; the water immersion dormancy awakening is realized by a dedicated hardware circuit; the priority of the water immersion dormancy awakening is higher than the function awakening of heartbeat reporting, inspection monitoring, and tracking monitoring; 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 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.

8. The method according to claim 7, characterized in that The first cycle tracking and monitoring function is started according to the data exceeding limit condition, including: After the inspection monitoring is woken up regularly and the sensor data is monitored for the second cycle, it is determined whether the sensor data exceeds the limit; the first cycle of the tracking monitoring is less than the second cycle of the inspection monitoring; the second cycle of the inspection monitoring is less than the third cycle of the heartbeat reporting; 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 7 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: IoT endpoint monitoring devices installed in 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 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.

11. The method according to claim 10, characterized in that 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, 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 a self-organizing network, characterized in that: The system includes an application server, a network server, a gateway monitoring device and an IoT endpoint monitoring device, 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, configured to 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; 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 triggering is performed according to the target wake-up function; 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, characterized in that 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

  • Communication monitoring method and Internet of Things server

    CN107454153A

  • Urban cable channel intelligent operation inspection system based on LoRa technology

    CN113068143A

  • Ultra-narrow-band municipal facility monitoring system and control method thereof

    CN114221982A

  • LoRa networking method and system, electronic equipment and storage medium

    CN114585100A

  • Reliable communication method and system based on NB-IoT

    CN115623434A

Cited By

  • Communication terminal and low-power-consumption control method and system thereof

    CN120583496A