Ad hoc network gateway data communication method and device and computer equipment

By designing a reasonable wireless communication frequency band and channel table in the underground pipeline monitoring system, the channel conflicts and frequency interference problems of multiple monitoring equipment are solved, efficient and reliable data transmission is achieved, and the communication efficiency and adaptability of the underground pipeline monitoring system is improved.

CN120343667APending Publication Date: 2025-07-18HUNAN JINLONG INTELLIGENT MFG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510361876.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In underground pipeline monitoring systems, the simultaneous operation of multiple monitoring equipment may cause channel conflicts and frequency interference, affecting the reliability and efficiency of data transmission. The existing wireless communication methods are difficult to adapt to the complex environment of underground pipelines.

Method used

By determining the working frequency band and network entry sequence of the wireless communication module, designing channel tables for uplink and downlink channels, reasonably allocating communication resources, avoiding channel conflicts and frequency point interference, using low-power wide area network LPWAN technology, using ISM band and instrument band, realizing dynamic channel allocation and clock synchronization.

Benefits of technology

It simplifies the complexity of channel management, improves network resource utilization, avoids equipment competition and conflicts, ensures the stability and reliability of communication, and improves the communication efficiency of underground pipeline monitoring systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343667A_ABST
    Figure CN120343667A_ABST
Patent Text Reader

Abstract

The invention relates to an ad hoc network gateway data communication method and device and computer equipment. Comprising the following steps: by determining a working frequency band associated with a wireless communication module and a network access sequence of each initial monitoring device, through channel table design of an uplink channel and a downlink channel, the monitoring device can select an optimal channel for communication according to a preset rule in a network access process, so that the complexity of channel management is simplified, and the network access efficiency is improved. And dynamic channel allocation can be realized, frequency point interference caused by simultaneous working of a plurality of monitoring devices can be avoided, and the utilization rate of network resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things technology, and in particular to a self-organizing network gateway data communication method, device, and computer equipment. Background Art

[0002] In an underground pipeline monitoring system, multiple monitoring devices are distributed under the same pipe network, responsible for collecting key data such as soil humidity, pipeline pressure, fluid flow rate, etc. These data are crucial for maintaining the safe and efficient operation of the underground pipeline system. Traditionally, the data transmission of these monitoring devices mainly relies on wired communication methods such as cables or optical fibers. However, the complex environment of underground pipelines poses many challenges to wired communication, such as difficult wiring, high maintenance costs, and susceptibility to environmental damage. Therefore, wireless communication technology has gradually emerged in the field of underground pipeline monitoring and become an important means to replace wired communication.

[0003] However, applying wireless communication to an underground pipeline monitoring system also faces a series of technical problems. First, the underground space is enclosed and the signal attenuation is severe, so the communication frequency band and channels need to be carefully planned to ensure the reliability and efficiency of data transmission. Second, multiple monitoring devices working simultaneously may cause channel conflicts, affecting the normal reception and parsing of data packets. In the prior art, although there are some networking methods and channel allocation strategies for wireless sensor networks, these methods are often designed for open spaces or relatively simple network environments and are difficult to be directly applied to the special scenario of underground pipelines. The complexity of underground pipelines and the wide distribution of monitoring devices require more refined channel planning and network access management strategies to address problems such as signal attenuation, multipath effects, and channel conflicts. Summary of the Invention

[0004] Based on this, the purpose of this application is to solve the possible frequency point interference situation caused by multiple monitoring devices working simultaneously, so as to ensure the improvement of the communication efficiency, reliability, and adaptability of the underground pipeline monitoring system.

[0005] In a first aspect, this application provides a self-organizing network gateway data communication method. Applied to multiple monitoring devices under the same pipe network of underground pipelines, it includes: Determine the working frequency band associated with the wireless communication module and the network access order of each initial monitoring device; Determine the first channel table associated with the upstream channel and the second channel table associated with the downstream channel; Determine the target upstream channel from the first channel table according to the network access order, so that the initial monitoring device sends an access packet request via the corresponding target upstream channel; Determine the target downstream channel from the second channel table according to the working frequency band and the number of initial monitoring devices, so that the target monitoring device sends an access confirmation packet via the target downstream channel.

[0006] In one embodiment, the initial monitoring device includes an IoT endpoint monitoring device installed in an underground pipeline, and the target monitoring device includes a gateway monitoring device installed at a position adjacent to a manhole cover; the gateway monitoring device includes at least one wireless communication module, which is applied to a low-power wide area network; the operating frequency band of the wireless communication module includes the ISM band and the instrument band; the wireless communication module adopts a transceiver half-duplex communication mode and has the ability to monitor channel activity.

[0007] In one embodiment, determining a target uplink channel from a first channel table according to the network access order includes: determining an uplink channel bandwidth and an uplink bandwidth interval according to the operating frequency band; determining a plurality of uplink frequency point groups in the first channel table according to the uplink channel bandwidth and the uplink bandwidth interval; there is a channel group interval between each uplink frequency point group; determining a target uplink frequency point group from the plurality of uplink frequency point groups according to the network access order; the frequency band in the target uplink frequency point group is used as the target uplink channel.

[0008] In one embodiment, determining a target uplink frequency point group from a plurality of uplink frequency point groups according to the network access order includes: screening an initial uplink frequency point group according to the network access order; determining a first deviation between the number of frequency points in the initial uplink frequency point group and the number of uplink channel frequency points associated with the target monitoring device; when the first deviation does not conform to a preset relationship with the uplink channel bandwidth, using the initial uplink frequency point group as the target uplink frequency point group.

[0009] In one embodiment, determining a target downlink channel from a second channel table according to the operating frequency band and the number of initial monitoring devices includes: determining a downlink channel bandwidth and a downlink bandwidth interval according to the operating frequency band and the number of initial monitoring devices; determining a plurality of downlink frequency point groups in the second channel table according to the downlink channel bandwidth and the downlink bandwidth interval; there is a channel group interval between each downlink frequency point group; determining a target downlink frequency point group from the plurality of downlink frequency point groups; the frequency band in the target downlink frequency point group is used as the target downlink channel.

[0010] In one embodiment, determining a target downlink frequency point group from a plurality of downlink frequency point groups includes: screening an initial downlink frequency point group according to the frequency point idle condition; determining a second deviation between the number of frequency points in the initial downlink frequency point group and the number of downlink channel frequency points associated with the target monitoring device; when the second deviation does not conform to a preset relationship with the downlink channel bandwidth, using the initial downlink frequency point group as the target downlink frequency point group.

[0011] In one embodiment, the above method further includes: determining a clock synchronization downlink channel from a second channel table; after being awakened at the clock synchronization moment, broadcasting a clock beacon data packet to an initial monitoring device based on the clock synchronization downlink channel; after the target monitoring device successively receives clock synchronization acknowledgment packets replied by the initial monitoring device, completing the clock synchronization of the ad-hoc network gateway data communication.

[0012] In a second aspect, the present application provides an ad-hoc network gateway data communication device. The device includes: A channel table determination module, configured to determine an operating frequency band associated with a wireless communication module, and the access order of each initial monitoring device; determine a first channel table associated with an uplink channel and a second channel table associated with a downlink channel; An access packet request module, configured to determine a target uplink channel from the first channel table according to the access order, so that an initial monitoring device sends an access packet request via a corresponding target uplink channel; An access packet acknowledgment module, configured to determine a target downlink channel from the second channel table according to the operating frequency band and the number of initial monitoring devices, so that a target monitoring device sends an access acknowledgment packet via the target downlink channel.

[0013] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps of the above ad-hoc network gateway data communication method are implemented.

[0014] In a fourth aspect, the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above ad-hoc network gateway data communication method are implemented.

[0015] For the above ad-hoc network gateway data communication method, device, computer device and readable storage medium, by determining the operating frequency band associated with the wireless communication module and the access order of each initial monitoring device, the channel tables of the uplink channel and the downlink channel can be designed, so that the monitoring device can select the optimal channel for communication according to the preset rules during the network access process. This not only simplifies the complexity of channel management, but also helps to achieve dynamic channel allocation, avoids the frequency point interference caused by multiple monitoring devices working simultaneously, and improves the utilization rate of network resources. In addition, by determining the target uplink channel and the target downlink channel from different channel tables, the monitoring device can be guided to complete the network access process in an orderly manner, avoiding the device competition and conflict problems that may occur in the traditional method. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is an application environment diagram of the ad-hoc network gateway data communication method in one embodiment; Figure 2Schematic flowchart of the data communication method of the ad-hoc network gateway in an embodiment; Figure 3 Schematic diagram of the content of the first channel table in an embodiment; Figure 4 Schematic diagram of the content of the second channel table in an embodiment; Figure 5 Internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0017] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] The ad-hoc network gateway data communication method provided by the embodiment of the present application can be applied to the application environment diagram of the underground pipeline equipment communication system as shown in Figure 1 Among them, the monitoring devices are installed at different positions inside the underground pipeline. The target monitoring device has the low-power ad-hoc network data interaction and communication ability with each of the multiple initial monitoring devices installed in the same shaft, and jointly constructs an underground pipeline equipment communication system of a low-power ad-hoc network wireless local area network inside the same underground pipe network, so as to realize the remote management of multiple monitoring devices through the application server and realize the reporting of the data acquired by the monitoring devices to the network server.

[0019] Among them, the application server can be different types of external devices, including but not limited to various personal computers, smart phones, unmanned aerial vehicle devices, intelligent vehicle-mounted devices, and portable wearable devices, etc. The network server is implemented by an independent server or a server cluster composed of multiple servers, and can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content delivery network), and big data and artificial intelligence platforms.

[0020] In one embodiment, the target monitoring device has the gateway function for a low-frequency band and low-power ad-hoc network wireless local area network (ugpLAN), can regularly collect the status and alarm information of other initial monitoring devices in the same shaft, and cache, analyze, process and report the data to the network server.

[0021] In one embodiment, the initial monitoring device includes an IoT endpoint monitoring device installed in an underground pipeline, and the target monitoring device includes a gateway monitoring device installed adjacent to a manhole cover; the gateway monitoring device includes at least one wireless communication module, which is applied to a low-power wide area network; the working frequency band of the wireless communication module includes an ISM band and an instrument band; the wireless communication module adopts a half-duplex communication mode for transmitting and receiving, and has the ability to monitor channel activity.

[0022] Specifically, IoT endpoint monitoring equipment 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 rainwater period flow rate and flow monitoring, underground valve opening angle monitoring and other functions. The gateway monitoring equipment is installed in the underground pipeline and is adjacent to the manhole cover. The gateway monitoring equipment has built-in communication channels for reporting data in three frequency bands: near field, medium distance, and long distance, and a high-gain and high-sensitivity antenna optimized by the standing wave ratio adjustment of the entire device. Its internal wireless communication module can efficiently send and receive weak wireless communication signals that penetrate into the pipe well through the opening of the manhole cover or the gap at the edge of the manhole cover. The gateway monitoring equipment also has the functions of collecting, caching, processing, sending and reporting monitoring data of IoT endpoint monitoring equipment and others.

[0023] Among them, the working frequency band of the low-frequency wireless communication module of the gateway includes but is not limited to the low-frequency free ISM band (Industrial Scientific Medical) and the instrument band restricted and opened by the National Radio Management Committee. The ISM band is usually 433.00-434.79MHz, and the instrument band is usually 470-510MHz. Therefore, different LPWAN technologies have their own characteristics and advantages, and wireless communication modules integrating multiple different frequency bands have different propagation characteristics. They can flexibly select appropriate communication methods according to different application scenarios and needs, thereby improving the applicability and flexibility of the system.

[0024] In one embodiment, Figure 2 As shown, a self-organizing network gateway data communication method is provided, which is applied to multiple monitoring devices under the same pipe network of underground pipelines, including the following steps: Step 202: determine the working frequency band associated with the wireless communication module and the network access order of each initial monitoring device.

[0025] Specifically, the wireless communication modules in the monitoring devices mostly use low-power wide area networks (LPWANs) that support the low-frequency free ISM band (usually 433.00 - 434.79 MHz) and the instrument band opened by the State Radio Regulatory Commission (usually 470 - 510 MHz). In view of the fact that the enclosure of the wellbore and pipeline is likely to shield and absorb and attenuate the wireless communication signals, it is necessary to ensure the efficient communication of gateway data in the low-power wireless ad hoc network of the pipe network.

[0026] For the process of the initial monitoring devices in the same pipe network reporting and registering for network access: The user sends an access authorization request for each initial monitoring device to the network server in the cloud through the application server (such as a mobile phone APP) according to the preset network access sequence until the network server returns a confirmation that the access authorization is passed. After each initial monitoring device completes network access, a corresponding network access device serial number will be obtained.

[0027] Step 204: Determine the first channel table associated with the upstream channel and the second channel table associated with the downstream channel.

[0028] Specifically, the first channel table and the second channel table associated with the low-power ad hoc network are pre-stored in the microcontroller firmware program of the target monitoring device and can be queried and modified through the supporting Bluetooth mobile phone APP. As Figure 3 and Figure 4 shown, Figure 3 is an exemplary content of the first channel table, Figure 4 is an exemplary content of the second channel table. Since the channel table of the pipe network adopts a multi-group frequency point deployment method with multiple channel intervals and multiple packet intervals, the available upstream channels and the corresponding frequency points for each upstream channel in different manhole cover scenarios are pre-divided. And the pipe network adopts a synchronous half-duplex communication method with different frequencies for sending and receiving, and only one direction of the channel can transmit data at any time for the upstream channel and the downstream channel.

[0029] Among them, the first channel table includes the corresponding available channel number I up , the channel actually allocated by the pipe network, the upstream channel bandwidth BW up , multiple upstream frequency point groups J up and the channel group interval q up etc. The user pre-sets the channel actually allocated by the pipe network according to actual needs. For example, the available channel number 1 is used as the access upstream channel, and the available channel number 2 is used as the clock synchronization upstream channel, etc.

[0030] Similarly, the second channel table includes the corresponding available channel number I down , the channel actually allocated by the pipe network, the downstream channel bandwidth BW down , multiple downstream frequency point groups J down and the channel group interval q downetc. Considering that the number of data bytes sent upstream by the initial monitoring device is small, generally not higher than 400 Byte, while the amount of data received downstream may be large, usually less than 128 KB, it is considered to divide the upstream channel bandwidth BW up less than or equal to the downstream channel bandwidth BW down , ensuring faster data download speed for the initial monitoring devices in the network.

[0031] In one embodiment, an upstream operating frequency band and a downstream operating frequency band are divided from the operating frequency bands associated with the wireless communication module. The user pre-divides the number of channels according to the upstream operating frequency band to obtain the available channel number I up .

[0032] Step 206: Determine the target upstream channel from the first channel table according to the network access order, so that the initial monitoring device sends a network access packet request via the corresponding target upstream channel.

[0033] Specifically, according to the upstream operating frequency band and downstream operating frequency band divided from the operating frequency band, as well as the data requirements of the actual initial monitoring device, the upstream channel bandwidth and downstream channel bandwidth can be preset. For example, for the initial monitoring device M = 8 and the operating frequency band of 470 - 510 MHz, the divided upstream operating frequency band is 470 - 490 MHz and the downstream operating frequency band is 490 - 510 MHz. The preset upstream channel bandwidth BW up = 250 KHZ, and the downstream channel bandwidth BW down = 500 KHZ. Determine multiple upstream frequency point groups according to the available channel numbers in the first channel table. Then, after removing the interference frequency point groups to which the frequency points that are likely to interfere with the wireless communication module of the target monitoring device belong, determine the target upstream frequency point group from the remaining multiple upstream frequency point groups according to the network access order. Among them, the frequency points that are likely to interfere include the frequency points with a large isolation degree between the communication channels of the target monitoring device and the ground low-frequency wireless base station. Generally, the higher the isolation degree, the smaller the signal interference between channels and the higher the communication quality.

[0034] The microcontroller inside the target monitoring device activates the low-frequency wireless communication module to perform low-power reception monitoring on the network access channel at second-level intervals until the network access packet requests sent by the initial monitoring device via the corresponding target upstream channel are received in sequence.

[0035] In one embodiment, the network access channels and clock synchronization channels of the pipe network support default fixation, or can also be authorized and adjusted by the operation and maintenance personnel through the mobile phone APP at the installation site.

[0036] Step 208: Determine the target downstream channel from the second channel table according to the operating frequency band and the number of initial monitoring devices, so that the target monitoring device sends a network access confirmation packet via the target downstream channel.

[0037] Specifically, according to the downlink working frequency band divided in the working frequency band and the data requirements of the actual initial monitoring device, the downlink channel bandwidth can be preset. Multiple uplink frequency point groups are determined according to the available channel numbers in the second channel table. Then, after removing the interference frequency point groups to which the frequency points that are likely to interfere with the wireless communication module of the target monitoring device belong, the target downlink frequency point group is determined from the remaining multiple idle downlink frequency point groups.

[0038] After the target monitoring device receives the network entry packet request sent by the initial monitoring device through the target uplink channel of the low-power self-organizing network gateway, the microcontroller inside it uses the wireless communication module in the internal low-frequency band to send the network entry confirmation packets such as the same-group clock synchronization channel and the available target uplink frequency point group to the initial monitoring device through the target downlink channel in sequence or at intervals according to the network entry order.

[0039] In the above self-organizing network gateway data communication method, by determining the working frequency band associated with the wireless communication module and the network entry order of each initial monitoring device, communication resources can be reasonably allocated to reduce channel conflicts. Through the channel table design of the uplink channel and the downlink channel, the monitoring device can select the optimal channel according to the preset rules for low-power self-organizing network communication during the network entry process, which not only simplifies the complexity of channel management but also helps to achieve dynamic channel allocation, avoids the frequency point interference caused by multiple monitoring devices working simultaneously, and improves the utilization rate of network resources. In addition, by determining the target uplink channel and the target downlink channel from different channel tables, the monitoring device can be guided to complete the network entry process in an orderly manner, avoiding the device competition and conflict problems that may occur in the traditional method.

[0040] In one embodiment, determining the target uplink channel from the first channel table according to the network entry order includes: determining the uplink channel bandwidth and the uplink bandwidth interval according to the working frequency band; determining multiple uplink frequency point groups in the first channel table according to the uplink channel bandwidth and the uplink bandwidth interval; and determining the target uplink frequency point group from the multiple uplink frequency point groups according to the network entry order.

[0041] Wherein, there is a channel group interval q between each uplink frequency point group up ; the frequency band in the target uplink frequency point group is used as the target uplink channel.

[0042] Specifically, according to the uplink working frequency band divided in the working frequency band and the data requirements of the actual initial monitoring device, the uplink channel bandwidth can be preset as BW up =250KHZ, and the uplink bandwidth interval k up is determined according to a preset multiple of the uplink channel bandwidth. For example, k up ≥1.5*BW up and k up≥1. The Spreading Factor (SF) is set to 7, and a lower spreading factor is selected to improve the data transmission rate.

[0043] Reference Figure 3 As shown, for multiple uplink frequency point groups existing in the first channel table of the low-power self-organizing network, for each frequency point in the first group of uplink frequency point groups, it is determined according to the uplink channel bandwidth BW with an interval of 2 times up And increase in arithmetic progression until for each frequency point in the group where the uplink bandwidth interval number k up is located, it is determined according to the uplink channel bandwidth with an interval of k up times. For example, when the available channel number 1 in the first group is used as the uplink channel for network access and the frequency band of the uplink channel is 472 MHz, then the calculated frequency band of the available channel number 2 is: 2 * BW up (250KHZ) + 472 MHz = 472.5 MHz.

[0044] Since the first channel table is used to represent the division table of the frequency points of the pipeline network uplink data transmission channels, reflecting the characteristics of multi-channel intervals and multi-group intervals, it is only used for the network access devices inside the pipeline network. If there are interference frequency point groups similar to those in the first channel table in the data channel frequency points obtained when the target monitoring device itself accesses the ground low-frequency wireless gateway base station, the microcontroller of the target monitoring device will automatically filter and shield the effective action of the interference frequency point group. Finally, according to the network access order of the initial monitoring device, the target uplink frequency point group is determined from the remaining multiple uplink frequency point groups after filtering the interference frequency point group.

[0045] For example, if the first group is filtered as the interference frequency point group, for the first initial monitoring device accessing the network, the target uplink frequency point group is determined as the uplink frequency point group of the second group. After determining that the available channel number 1 is used as the uplink channel for network access and the available channel number 2 is used as the clock synchronization uplink channel, it is determined that the frequency band of 472.75 MHz in the second group is the frequency band of the target uplink channel, and the frequency band of 473.5 MHz is the frequency band of the clock synchronization uplink channel.

[0046] In this embodiment, the uplink channel bandwidth and uplink bandwidth interval of the low-power self-organizing network are determined through a clear working frequency band, and then multiple uplink frequency point groups in the first channel table are determined, improving the utilization rate of frequency point resources and making the frequency point allocation more flexible and efficient. Selecting the target uplink frequency point group from multiple uplink frequency point groups according to the network access order of the device not only ensures the orderliness of device access, but also ensures that there is only one group of channel frequency points effective in the same pipeline network, effectively avoiding frequency point conflicts and improving the overall performance of the network.

[0047] In one embodiment, determining a target uplink frequency band group from multiple uplink frequency band groups according to the network access order includes: screening an initial uplink frequency band group according to the network access order; determining a first deviation between the number of frequency points in the initial uplink frequency band group and the number of uplink channel frequency points associated with the target monitoring device; and when the first deviation does not conform to a preset relationship with the uplink channel bandwidth, using the initial uplink frequency band group as the target uplink frequency band group.

[0048] Specifically, referring to Figure 3 As shown, for multiple uplink frequency band groups existing in the first channel table of the low-power self-organizing network, the initial uplink frequency band group is determined in sequence according to the grouping order, such as the first group. Calculate the number of uplink channel frequency points ugpMCGM_J of the target monitoring device in sequence up and the number of frequency points J of the initial uplink frequency band group in the first channel table up (K up )(I up ) of the first deviation, and determine the absolute value S of the first deviation up . If the preset relationship between the first deviation and the uplink channel bandwidth is: S up ≤ 1.5 times the uplink channel bandwidth BW up , then shield the frequency point allocation permission of this initial uplink frequency band group, and continue to screen and judge a new initial uplink frequency band group until the k up th group is screened. Otherwise, use it as the target uplink frequency band group according to the network access order.

[0049] In one embodiment, the frequency band relationship of the frequency points in any uplink frequency band group in the first channel table is: J up (K up )(I up ) = J up (K up1 ) + the uplink channel bandwidth BW up * the uplink bandwidth interval k up + the channel group interval q up .

[0050] In this embodiment, by calculating the deviation between the number of frequency points and the number of uplink channel frequency points and combining the uplink channel bandwidth for judgment, it can ensure that the selected frequency band group matches the communication requirements of the device, thereby improving the stability and reliability of communication within the low-power self-organizing network, and effectively reducing the network frequency point interference of the low-frequency wireless communication between the ground and the inside of the pipe network, the communication frequency point interference of multiple network access monitoring devices within the same pipe network, and the communication crosstalk phenomenon of network access monitoring devices between adjacent pipe networks.

[0051] In one embodiment, the first channel table includes multiple uplink frequency point groups. Any one of the uplink frequency point groups includes multiple frequency points, and each frequency point under the available channel number increases sequentially according to a first arithmetic progression relationship. For example, each frequency point in the first group is determined according to an arithmetic progression relationship with an interval of 2 times the uplink channel bandwidth BW up And the first arithmetic progression relationship corresponding to each uplink frequency point group increases according to a second arithmetic progression relationship with a common difference of the uplink channel bandwidth BW up For example, the arithmetic progression relationship of the second group is 3 times the uplink channel bandwidth BW up The arithmetic progression relationship of the third group is 4 times the uplink channel bandwidth BW up .

[0052] In one embodiment, determining a target downlink channel from the second channel table according to the operating frequency band and the number of initial monitoring devices includes: determining the downlink channel bandwidth and the downlink bandwidth interval according to the operating frequency band and the number of initial monitoring devices; determining multiple downlink frequency point groups in the second channel table according to the downlink channel bandwidth and the downlink bandwidth interval; determining a target downlink frequency point group from the multiple downlink frequency point groups.

[0053] Wherein, there is a channel group interval q down between each downlink frequency point group; the frequency band in the target downlink frequency point group is used as the target downlink channel.

[0054] Specifically, according to the downlink operating frequency band (490 - 510 MHz) divided from the operating frequency band and the data requirements of the actual initial monitoring devices, the downlink channel bandwidth can be preset as BW down = 500 KHZ, and the downlink bandwidth interval k down is determined according to a preset multiple of the downlink channel bandwidth. For example, k down ≥ 1.5 * BW Down , and k down ≥ 1. The downlink bandwidth interval and the uplink bandwidth interval can be different. The spreading factor SF (Spreading Factor) is set to 7, and a lower spreading factor is selected to improve the data transmission rate.

[0055] Referring to Figure 4 shown, for the multiple downlink frequency point groups existing in the second channel table of the low-power self-organizing network, for each frequency point in the first group of downlink frequency point groups, it is determined according to an interval of 1.5 times the downlink channel bandwidth BW Down and increases arithmetically in this way until for each frequency point in the group where the downlink bandwidth interval number k down is located, it is determined according to an interval of k upIt is determined by multiplying the downlink channel bandwidth. For example, when the available channel number 1 in the first group is used as the network access downlink channel and the frequency band of the downlink channel is 490 MHz, the frequency band of the available channel number 2 is calculated as: 1.5*BW Down (500KHZ) + 492 MHz = 472.75MHz.

[0056] Since the second channel table is used to represent the division table of the frequency points of the pipe network downlink data transmission channel groups, which reflects the characteristics of multi-channel intervals and multi-group intervals, it is only used for the in-network devices within the pipe network. If there are interference frequency point groups in the data channel frequency points obtained when the target monitoring device itself accesses the ground low-frequency wireless gateway base station that are similar to those in the second channel table, the microcontroller of the target monitoring device will automatically filter and shield the effectiveness of this interference frequency point group, and determine the target downlink frequency point group from the remaining multiple downlink frequency point groups after filtering the interference frequency point group.

[0057] In this embodiment, the downlink channel bandwidth and the downlink bandwidth interval are determined through the clear working frequency band, and then multiple downlink frequency point groups in the second channel table are determined until the interference frequency point group is automatically filtered and shielded. Therefore, the utilization rate of frequency point resources is improved, the frequency point allocation is made more flexible and efficient, and it is ensured that there is only one group of channel frequency points that takes effect in the same pipe network, improving the overall performance of the network.

[0058] In one embodiment, determining the target downlink frequency point group from multiple downlink frequency point groups includes: screening the initial downlink frequency point group according to the frequency point idle situation; determining the second deviation between the number of frequency points in the initial downlink frequency point group and the number of downlink channel frequency points associated with the target monitoring device; when the second deviation does not conform to the preset relationship with the downlink channel bandwidth, using the initial downlink frequency point group as the target downlink frequency point group.

[0059] Specifically, referring to Figure 4 As shown, for the multiple downlink frequency point groups existing in the second channel table of the low-power self-organizing network, the initial downlink frequency point group is determined in sequence according to the group order, such as the first group. Calculate the number of uplink channel frequency points ugpMCGM_J of the target monitoring device in sequence down and the number of frequency points J of the initial downlink frequency point group in the second channel table down (K down ) (I down ) of the second deviation, and determine the absolute value S of the second deviation down . If the preset relationship between the second deviation and the downlink channel bandwidth is: S down ≤ 1.5 times of the downlink channel bandwidth BW down , then shield the frequency point allocation permission of this initial downlink frequency point group, continue to screen new initial downlink frequency point groups for judgment until the k down th group is screened.

[0060] In one embodiment, the frequency band relationship of the frequency points in any downlink frequency point group in the second channel table is: J down (K down )(I down ) = J down (K down1 ) + downlink channel bandwidth BW down * downlink bandwidth interval k down + channel group interval q down 。

[0061] In this embodiment, the low-power self-organizing network pipeline in the underground pipeline equipment communication system adopts a multi-group channel frequency point deployment method with multiple channel intervals and multiple packet intervals. By calculating the deviation between the number of frequency points and the number of downlink channel frequency points and combining with the downlink channel bandwidth for judgment, potential interference frequency points are removed, which can ensure that the selected frequency point group matches the communication requirements of the equipment, thereby improving the stability and reliability of communication, and effectively reducing the network frequency point interference of the low-frequency wireless communication between the ground and the inside of the pipeline, the communication frequency point interference of multiple access monitoring devices inside the same pipeline, and the communication crosstalk phenomenon of access monitoring devices between adjacent pipelines.

[0062] In one embodiment, the second channel table includes multiple downlink frequency point groups, and each downlink frequency point group includes multiple frequency points. Each frequency point under the available channel number increases in sequence according to the third arithmetic progression relationship. For example, each frequency point in the first group is determined according to the third arithmetic progression relationship with a common difference of 1.5 times the downlink channel bandwidth BW down 。 And the third arithmetic progression relationship corresponding to each downlink frequency point group increases according to the fourth arithmetic progression relationship with a common difference of 0.5 times the downlink channel bandwidth BW down according to the grouping order. For example, the arithmetic progression relationship of the second group is 2 times the downlink channel bandwidth BW down , and the arithmetic progression relationship of the third group is 2.5 times the downlink channel bandwidth BW down 。

[0063] In one embodiment, the above method further includes: determining a clock synchronization downlink channel from the second channel table; after being awakened at the clock synchronization moment, broadcasting a clock beacon data packet to the initial monitoring device based on the clock synchronization downlink channel; after the target monitoring device sequentially receives the clock synchronization confirmation packets replied by the initial monitoring device, completing the clock synchronization of the self-organizing network gateway data communication.

[0064] Specifically, after the user pre-sets the actual allocation channels of the low-power self-organizing network pipe network according to actual needs, the clock synchronization uplink channel can be determined from the first channel table, and the clock synchronization downlink channel can be determined from the second channel table. For example, the available channel number 1 in the first channel table is used as the uplink channel for network access, and the available channel number 2 is used as the clock synchronization uplink channel, etc.

[0065] After the target monitoring device is periodically awakened at the clock synchronization moment, the internal microcontroller starts the wireless communication module and broadcasts a clock beacon data packet to the initial monitoring device based on the downlink channel of the clock synchronization channel, so as to send a clock synchronization frame through the clock synchronization channel to complete the clock synchronization with the initial monitoring device in the network. Then, the target monitoring device switches to the receiving port of the internal low-frequency wireless communication module to receive the monitoring status data reported by the initial monitoring device through the data channel. The target monitoring device caches, analyzes, and classifies the received data information, and forwards the data information to the agreed application server according to the application requirements.

[0066] In this embodiment, at the clock synchronization moment, a clock beacon data packet is broadcast to the initial monitoring device through the downlink channel, and after receiving the synchronization confirmation packets replied by each device, the clock synchronization of the entire underground pipeline equipment communication network is achieved. Therefore, the consistency of the time reference of each monitoring device is ensured, and the accuracy and timeliness of data recording are improved.

[0067] In one embodiment, the shaft pipe network is long, narrow, and enclosed, with long-term high temperature and humidity, and is also soaked by rain / sewage. These have absorption attenuation and reflection superposition effects on wireless signals, and there is a possibility of a decrease in the reliability of underground wireless communication. The low-power wide area network LPWAN supports spread spectrum modulation and has good communication reliability guarantee. By planning multiple reasonably divided access channels, increasing the interval between channels, and using the difference optimization method to filter out the similar channel groups allocated by the gateway monitoring device and the ground low-frequency gateway base station to divide the channels, interference can be further avoided, and the low-frequency band can also provide enough channels.

[0068] In this embodiment, according to the description of the technical personnel, in the case of a small number of monitoring devices and a short transmission distance, the 125KHZ channel bandwidth can reach the data transmission rate of 15kbps (2KB / s) at the fastest, the 250KHZ channel bandwidth can reach the data transmission rate of 30kbps (4KB / s), and the 500KHZ channel bandwidth can reach the data transmission rate of 60kbps (8KB / s).

[0069] Taking the 128KHZ uplink channel bandwidth (the monitoring device reports 400Byte Payload data, plus auxiliary frame data such as preambles) which can be completed in 0.25 seconds and can be relaxed to ~5 seconds for measurement to prevent individual IoT endpoint monitoring devices from reporting extremely large amounts of data.

[0070] With an uplink channel bandwidth of 256 KHZ (when the monitoring device reports 400 Byte Payload data, plus auxiliary frame data such as the pilot code), it can be completed in 0.125 seconds, and can be relaxed to about 5 seconds for measurement to prevent the data volume reported by individual IoT endpoint monitoring devices from being extremely large. For M = 8 IoT endpoint monitoring devices, it takes up to 40 seconds at most, which means that under normal circumstances, it can complete the data reporting of all IoT endpoint monitoring devices to the gateway monitoring device within 40 seconds at most; as long as the channel allocation is reasonable and the isolation degree is large, the co-channel interference between each monitoring device in the same pipe network ugpLAN will be very small.

[0071] With a downlink channel bandwidth of 500 KHZ (when the monitoring device reports 128 KByte Payload data, plus auxiliary frame data such as the pilot code), it is completed in about 16 seconds. Considering the resumption of data transmission in case of network interruption in the middle, it can be relaxed to about 30 seconds to prevent the firmware of individual IoT endpoint monitoring devices from reaching 256 KB. For M = 8 IoT endpoint monitoring devices, it takes 240 seconds to complete the firmware upgrade of all IoT endpoint monitoring devices, but generally only one IoT endpoint monitoring device needs to upgrade the firmware at the same time. The gateway monitoring device ugpMCGM can also adjust the order and number of firmware downloads from the network server by itself, as well as the upgrade order of the IoT endpoint monitoring devices ugpMIEM inside the pipe network ugpLAN, so as to adopt a way of upgrading one by one in each round to reduce the time consumption of each round and the requirement for the data cache capacity of the gateway monitoring device. Therefore, as long as the channel allocation is reasonable and the isolation degree is large, the adjacent channel interference between each monitoring device in the same pipe network ugpLAN will be very small.

[0072] In one embodiment, the self-organizing network gateway data communication includes but is not limited to the AES encryption method.

[0073] It should be understood that although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times.

[0074] Based on the same inventive concept, an embodiment of the present application further provides a self-organizing network gateway data communication device for implementing the self-organizing network gateway data communication method involved above. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the self-organizing network gateway data communication device provided below can refer to the limitations on the self-organizing network gateway data communication method in the above text, and will not be repeated here.

[0075] In one embodiment, a self-organizing network gateway data communication device is provided, including: a channel table determination module, an access packet request module, and an access packet confirmation module, where: The channel table determination module is configured to determine the working frequency band associated with the wireless communication module and the access order of each initial monitoring device; determine the first channel table associated with the uplink channel and the second channel table associated with the downlink channel.

[0076] The access packet request module is configured to determine a target uplink channel from the first channel table according to the access order, so that the initial monitoring device sends an access packet request via the corresponding target uplink channel.

[0077] The access packet confirmation module is configured to determine a target downlink channel from the second channel table according to the working frequency band and the number of initial monitoring devices, so that the target monitoring device sends an access confirmation packet via the target downlink channel.

[0078] Each module in the above simulation process scheduling can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor in the computer device in hardware form or independent of the processor, or stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0079] In one embodiment, a computer device is provided. This computer device can be a terminal, and its internal structure diagram can be as Figure 5As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of 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 computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program, when executed by the processor, implements a method for self-organizing network gateway data communication. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0080] Those skilled in the art can understand that Figure 5 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0081] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0082] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

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

[0084] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, a database, or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., and are not limited thereto.

[0085] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as within the scope described in this specification.

[0086] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A data communication method for an ad-hoc network gateway, characterized in that, Multiple monitoring devices applied under the same pipe network of underground pipelines, including: Determine the working frequency band associated with the wireless communication module and the network access order of each initial monitoring device; Determine the first channel table associated with the uplink channel and the second channel table associated with the downlink channel; Determine the target uplink channel from the first channel table according to the network access order, so that the initial monitoring device sends a network access packet request via the corresponding target uplink channel; Determine the target downlink channel from the second channel table according to the working frequency band and the number of initial monitoring devices, so that the target monitoring device sends a network access confirmation packet via the target downlink channel.

2. The method according to claim 1, wherein The initial monitoring device includes an IoT endpoint monitoring device installed in the underground pipeline, and the target monitoring device includes a gateway monitoring device installed at a position adjacent to the manhole cover; The gateway monitoring device includes at least one wireless communication module, which is applied to the low-power wide area network LPWAN; the working frequency band of the wireless communication module includes the ISM band and the instrument band; the wireless communication module adopts a transceiver half-duplex communication method and has the ability to monitor channel activities.

3. The method according to claim 1, characterized in that, The determining the target uplink channel from the first channel table according to the network access order includes: Determine the uplink channel bandwidth and uplink bandwidth interval according to the working frequency band; Determine multiple uplink frequency point groups in the first channel table according to the uplink channel bandwidth and uplink bandwidth interval; there is a channel group interval between each uplink frequency point group; Determine the target uplink frequency point group from multiple uplink frequency point groups according to the network access order; the frequency band in the target uplink frequency point group is used as the target uplink channel.

4. The method according to claim 3, characterized in that, The determining the target uplink frequency point group from multiple uplink frequency point groups according to the network access order includes: Screen the initial uplink frequency point group according to the network access order; Determine the first deviation between the number of frequency points in the initial uplink frequency point group and the number of uplink channel frequency points associated with the target monitoring device; When the first deviation does not conform to the preset relationship with the uplink channel bandwidth, use the initial uplink frequency point group as the target uplink frequency point group.

5. The method according to claim 1, wherein The determining the target downlink channel from the second channel table according to the working frequency band and the number of initial monitoring devices includes: Determine the downlink channel bandwidth and downlink bandwidth interval according to the working frequency band and the number of initial monitoring devices; Determine multiple downlink frequency point groups in the second channel table according to the downlink channel bandwidth and downlink bandwidth interval; there is a channel group interval between each downlink frequency point group; Determine the target downlink frequency point group from multiple downlink frequency point groups; the frequency band in the target downlink frequency point group is used as the target downlink channel.

6. The method according to claim 5, wherein The determining the target downlink frequency point group from multiple downlink frequency point groups includes: Screen the initial downlink frequency point group according to the frequency point idle situation; Determine the second deviation between the number of frequency points in the initial downlink frequency point group and the number of downlink channel frequency points associated with the target monitoring device; When the second deviation does not conform to the preset relationship with the downlink channel bandwidth, use the initial downlink frequency point group as the target downlink frequency point group.

7. The method according to claim 1, wherein The method further includes: Determine the clock synchronization downlink channel from the second channel table; After being awakened at the clock synchronization moment, broadcast a clock beacon data packet to the initial monitoring device based on the clock synchronization downlink channel; After the target monitoring device sequentially receives the clock synchronization acknowledgement packets replied by the initial monitoring device, complete the clock synchronization of the self-organizing network gateway data communication.

8. A self-organizing network gateway data communication device, characterized in that, The device includes: A channel table determination module, configured to determine the working frequency band associated with the wireless communication module and the access order of each initial monitoring device; determine the first channel table associated with the uplink channel and the second channel table associated with the downlink channel; An access packet request module, configured to determine a target uplink channel from the first channel table according to the access order, so that the initial monitoring device sends an access packet request via the corresponding target uplink channel; An access packet acknowledgement module, configured to determine a target downlink channel from the second channel table according to the working frequency band and the number of the initial monitoring devices, so that the target monitoring device sends an access acknowledgement packet via the target downlink channel.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.