Urban gas pipe network detection method, device and system and medium
Through multi-parameter and multi-dimensional detection methods, the LSTM model is used to detect leaks in the urban gas pipeline network, which solves the problem of low detection efficiency and accuracy in the existing technology and achieves efficient and accurate gas pipeline network monitoring.
Patent Information
- Application Number
- CN202411267260.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-09-11
AI Technical Summary
The efficiency and accuracy of existing urban gas pipeline network detection methods are not high, and detection efficiency and accuracy need to be improved.
It adopts a multi-parameter and multi-dimensional detection method and relies on a pre-trained artificial intelligence model based on long short-term memory network (LSTM) to detect leaks in the gas pipeline network, and averages the time series data of pipeline pressure, flow and temperature. Calculate the value and variance value, compare the difference between the prediction model and the actual data, determine whether there is a leak, and generate push information on the monitoring platform.
It achieves convenient and accurate detection of gas pipeline networks, improves detection efficiency and accuracy, and can promptly detect leaks and notify managers.
Smart Images

Figure CN118780184A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of urban gas pipeline networks, and in particular to an urban gas pipeline network detection method, device, system and medium. Background Art
[0002] In municipal monitoring, the city's gas pipeline network will be uniformly monitored and managed. Generally, the city's gas pipeline network is monitored and managed through the city's gas pipeline network monitoring platform. In the monitoring of the gas pipeline network, regular monitoring will be carried out to see if the target gas pipeline is leaking. The existing method generally uses manual leak detection on a specific gas pipeline network, and then reports the leak detection. This method is not efficient and accurate. Therefore, how to improve the efficiency and accuracy of gas pipeline network detection is a technical problem that urgently needs to be studied in the industry. Summary of the invention
[0003] The present invention provides a city gas pipeline network detection method, device, system and medium to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0004] The present invention provides a city gas pipeline network detection method, the city gas pipeline network detection method comprising: determining a gas pipeline network to be detected from a city gas pipeline network monitoring platform, recording the gas pipeline network to be detected as a target gas pipeline network; obtaining a segmentation rule of the target gas pipeline network from a rule server according to the identity number of the target gas pipeline network; dividing the target gas pipeline network into a plurality of gas pipelines to be detected according to the segmentation rule; and sequentially performing leakage detection on the divided gas pipelines to be detected until the detection of the entire target gas pipeline network is completed; Among them, the current gas pipeline to be detected is recorded as the target gas pipeline; The leak detection of the target gas pipeline includes: obtaining the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; performing a variance value calculation on the pipeline pressure time series data to obtain a pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain the pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain the pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain the pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain the pipeline temperature variance value; Inputting the pipeline pressure average value into a pre-trained first average feature prediction model, and obtaining the predicted pipeline pressure average value within the preset time period after the historical moment through the first average feature prediction model; Inputting the pipeline flow average value into a pre-trained second average feature prediction model, and obtaining the predicted pipeline flow average value within the preset time period after the historical moment through the second average feature prediction model; Inputting the pipeline temperature average value into a pre-trained third average feature prediction model, and obtaining the predicted pipeline temperature average value within the preset time period after the historical moment through the third average feature prediction model; Inputting the pipeline pressure variance value into a pre-trained first variance feature prediction model, and obtaining a predicted pipeline pressure variance value within the preset time period after the historical moment through the first variance feature prediction model; Inputting the pipeline flow variance value into a pre-trained second variance feature prediction model, and obtaining the predicted pipeline flow variance value within the preset time period after the historical moment through the second variance feature prediction model; Inputting the pipeline temperature variance value into a pre-trained third-party difference feature prediction model, and obtaining the predicted pipeline temperature variance value within the preset time period after the historical moment through the third-party difference feature prediction model; Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure average value; performing a variance value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain an actual pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain an actual pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature variance value; When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
[0005] Furthermore, the city gas pipeline network detection method further includes: when it is considered that the target gas pipeline has a leak, a push message is generated in a monitoring interface of the city gas pipeline network monitoring platform.
[0006] Furthermore, the first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0007] Furthermore, the first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0008] On the other hand, a city gas pipeline network detection device is provided, including: a processor and a memory, the memory is used to store a computer-readable program; when the computer-readable program is executed by the processor, the processor implements the city gas pipeline network detection method as described in any one of the above technical solutions.
[0009] On the other hand, a city gas network detection system is provided, comprising: a determination module, an acquisition module, a division module and a detection module; The determination module is used to determine the gas pipeline network to be detected from the city gas pipeline network monitoring platform, and record the gas pipeline network to be detected as the target gas pipeline network; The acquisition module is used to acquire the segmentation rule of the target gas pipeline network from the rule server according to the identity number of the target gas pipeline network; The division module is used to divide the target gas pipeline network into a plurality of gas pipelines to be detected according to the segmentation rule; The detection module is used to perform leakage detection on the divided gas pipelines to be detected in sequence until the detection of the entire target gas pipeline network is completed; Among them, the current gas pipeline to be detected is recorded as the target gas pipeline; The leak detection of the target gas pipeline includes: obtaining the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; performing a variance value calculation on the pipeline pressure time series data to obtain a pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain the pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain the pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain the pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain the pipeline temperature variance value; Inputting the pipeline pressure average value into a pre-trained first average feature prediction model, and obtaining the predicted pipeline pressure average value within the preset time period after the historical moment through the first average feature prediction model; Inputting the pipeline flow average value into a pre-trained second average feature prediction model, and obtaining the predicted pipeline flow average value within the preset time period after the historical moment through the second average feature prediction model; Inputting the pipeline temperature average value into a pre-trained third average feature prediction model, and obtaining the predicted pipeline temperature average value within the preset time period after the historical moment through the third average feature prediction model; Inputting the pipeline pressure variance value into a pre-trained first variance feature prediction model, and obtaining a predicted pipeline pressure variance value within the preset time period after the historical moment through the first variance feature prediction model; Inputting the pipeline flow variance value into a pre-trained second variance feature prediction model, and obtaining the predicted pipeline flow variance value within the preset time period after the historical moment through the second variance feature prediction model; Inputting the pipeline temperature variance value into a pre-trained third-party difference feature prediction model, and obtaining the predicted pipeline temperature variance value within the preset time period after the historical moment through the third-party difference feature prediction model; Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure average value; performing a variance value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain an actual pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain an actual pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature variance value; When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
[0010] Furthermore, the city gas pipeline network detection system also includes a push module, and the push module is used to generate push information in the monitoring interface of the city gas pipeline network monitoring platform when it is considered that there is a leak in the target gas pipeline.
[0011] Furthermore, the first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0012] Furthermore, the first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0013] On the other hand, a computer-readable storage medium is provided, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the urban gas pipeline network detection method as described in any one of the above technical solutions.
[0014] The present invention has at least the following beneficial effects: When the method of the present invention is used to detect the gas pipeline network by the urban gas pipeline network monitoring platform, the gas pipeline network is broken down into parts, and a multi-parameter and multi-dimensional detection method relying on an artificial intelligence model is used to realize leakage detection of the gas pipeline network. The convenience and accuracy of the urban gas pipeline network are improved. The present invention also provides corresponding devices, systems and media, and the beneficial effects of the devices, systems and media are similar to those of the method, so they will not be described repeatedly here. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0016] Figure 1 It is a flow chart of the steps of the city gas pipeline network detection method; Figure 2 It is a structural diagram of a city gas network detection device; Figure 3 It is a schematic diagram of the system connection structure of the urban gas pipeline network detection system. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention 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 invention and are not used to limit the present invention.
[0018] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0019] The purpose of the present invention is to provide a convenient detection of a gas pipeline network under a city gas pipeline network monitoring platform, so as to complete the conventional gas pipeline network maintenance task under the city gas pipeline network monitoring platform. The city gas pipeline network monitoring platform refers to a platform for monitoring the situation of the gas pipeline network in a specific administrative area.
[0020] Reference Figure 1 , Figure 1 It is a step flow chart of the urban gas pipeline network detection method.
[0021] In order to realize convenient detection of gas pipeline network, the present invention discloses a method for detecting urban gas pipeline network. The method for detecting urban gas pipeline network can be operated by intelligent devices. During the operation of the intelligent device, the steps that can be implemented include: Step 1: determine a gas pipeline network to be detected from the city gas pipeline network monitoring platform, and record the gas pipeline network to be detected as a target gas pipeline network.
[0022] The smart device establishes a connection with the city gas network monitoring platform through the Internet, and determines the gas network that the city gas network monitoring platform needs to perform routine inspection on through the corresponding interface. For ease of description, the gas network is recorded as the target gas network.
[0023] Step 2: According to the identity number of the target gas pipeline network, obtain the segmentation rule of the target gas pipeline network from the rule server.
[0024] After the smart device determines the target gas pipeline network, it can query the relevant information of the target gas pipeline network according to the identity number of the target gas pipeline network. Among them, in order to realize the detection of the target gas pipeline network, the target gas pipeline network needs to be broken down into parts. That is, the target gas pipeline network is subjected to segmented detection. Before performing segmented detection, it is necessary to obtain the segmentation rules of the target gas pipeline network. This segmentation rule has been formulated when the target gas pipeline network was laid, and its entire segmentation rule is stored in the rule server. Therefore, the smart device can access the rule server and use the identity number of the target gas pipeline network to request the rule server to feedback the corresponding segmentation rule information.
[0025] Step 3: Divide the target gas pipeline network into multiple gas pipelines to be detected according to the segmentation rule.
[0026] After obtaining the segmentation rules from the feedback of the planning server, the smart device can divide the target gas pipeline network according to the segmentation rules, thereby determining multiple gas pipelines to be detected.
[0027] Step 4: Leak detection is performed on the divided gas pipelines to be detected in sequence until the detection of the entire target gas pipeline network is completed.
[0028] After the intelligent device has determined multiple gas pipelines to be inspected, it only needs to inspect the multiple gas pipelines to be inspected one by one until the inspection of the entire target gas pipeline network is completed.
[0029] In order to improve the efficiency and accuracy of detection, a multi-parameter and multi-dimensional detection method that relies on an artificial intelligence model is adopted in gas pipeline leakage detection.
[0030] In this specific embodiment, for the convenience of description, the current gas pipeline to be detected is recorded as the target gas pipeline. The detection method for the leakage of the target gas pipeline is: Step 11: Obtain the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment.
[0031] The smart device establishes a connection with the monitoring device responsible for monitoring the target gas pipeline, thereby obtaining the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment from the monitoring device.
[0032] The historical moment here refers to the time point of observation. The time point of observation is generally set at the middle time point between two inspections of the gas pipeline. For example: when the gas pipeline is inspected on July 1 and inspected again on August 1, the historical moment point is selected at the middle time point between July 1 and August 1, that is, July 15 or July 16. The preset time period is pre-set. According to experience, it is more appropriate to set the preset time period to one-third to one-half of the interval between two inspections. For example, if the interval between two inspections is 30 days, then the preset time is generally 10 to 15 days.
[0033] Step 12: Perform an average calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; perform a variance calculation on the pipeline pressure time series data to obtain a pipeline pressure variance. Perform an average calculation on the pipeline flow time series data to obtain an average value of the pipeline flow; perform a variance calculation on the pipeline flow time series data to obtain a pipeline flow variance. Perform an average calculation on the pipeline temperature time series data to obtain an average value of the pipeline temperature; perform a variance calculation on the pipeline temperature time series data to obtain a pipeline temperature variance.
[0034] After obtaining the corresponding pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data, the intelligent device can process these data to calculate the pipeline pressure average value, pipeline pressure variance value, pipeline flow average value, pipeline flow variance value, pipeline temperature average value and pipeline temperature variance value.
[0035] Step 13: Input the average value of pipeline pressure into the pre-trained first average feature prediction model, and obtain the predicted average value of pipeline pressure in the preset time period after the historical moment through the first average feature prediction model. Input the average value of pipeline flow into the pre-trained second average feature prediction model, and obtain the predicted average value of pipeline flow in the preset time period after the historical moment through the second average feature prediction model. Input the average value of pipeline temperature into the pre-trained third average feature prediction model, and obtain the predicted average value of pipeline temperature in the preset time period after the historical moment through the third average feature prediction model.
[0036] The pipeline pressure variance value is input into a pre-trained first variance feature prediction model, and the predicted pipeline pressure variance value within the preset time period after the historical moment is obtained through the first variance feature prediction model. The pipeline flow variance value is input into a pre-trained second variance feature prediction model, and the predicted pipeline flow variance value within the preset time period after the historical moment is obtained through the second variance feature prediction model. The pipeline temperature variance value is input into a pre-trained third variance feature prediction model, and the predicted pipeline temperature variance value within the preset time period after the historical moment is obtained through the third variance feature prediction model.
[0037] After obtaining the average value of pipeline pressure, pipeline pressure variance value, average value of pipeline flow, pipeline flow variance value, average value of pipeline temperature and pipeline temperature variance value, the intelligent device can use the prediction model to predict the predicted value between the preset time periods after the historical moment.
[0038] Among them, the first average feature prediction module is used for the prediction of the average value of pipeline pressure, the second average feature prediction model is used for the prediction of the average value of pipeline flow, and the third average feature prediction model is used for the prediction of the average value of pipeline temperature. The first variance feature prediction model is used for the prediction of the variance value of pipeline pressure, the second variance feature prediction model is used for the prediction of the variance value of pipeline flow, and the third variance feature prediction model is used for the prediction of the variance value of pipeline temperature.
[0039] Among them, in some further specific embodiments, the first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0040] The first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0041] Long Short-Term Memory (LSTM) is a special recurrent neural network (RNN) that introduces a "gate" mechanism to solve the gradient vanishing or gradient exploding problems that are prone to occur in traditional RNNs when dealing with long-term dependencies. Through research, it is found that the artificial intelligence model built based on the LSTM network has a high accuracy in predicting the average value of pipeline pressure, pipeline pressure variance, pipeline flow average value, pipeline flow variance value, pipeline temperature average value, and pipeline temperature variance value.
[0042] The smart device predicts the average value of pipeline pressure by using the first average feature prediction model to obtain the predicted average value of pipeline pressure. The smart device predicts the average value of pipeline flow by using the second average feature prediction model to obtain the predicted average value of pipeline flow. The smart device predicts the average value of pipeline temperature by using the third average feature prediction model to obtain the predicted average value of pipeline temperature.
[0043] The smart device predicts the pipeline pressure variance value by using the first variance feature prediction model to obtain the predicted pipeline pressure variance value. The smart device predicts the pipeline flow variance value by using the second variance feature prediction model to obtain the predicted pipeline flow variance value. The smart device predicts the pipeline temperature variance value by using the third variance feature prediction model to obtain the predicted pipeline temperature variance value.
[0044] Step 14, obtain the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment. Perform an average value operation on the pipeline pressure value time series data to obtain the actual pipeline pressure average value. Perform a variance value operation on the pipeline pressure value time series data to obtain the actual pipeline pressure variance value. Perform an average value operation on the pipeline flow value time series data to obtain the actual pipeline flow average value. Perform a variance value operation on the pipeline flow value time series data to obtain the actual pipeline flow variance value. Perform an average value operation on the pipeline temperature value time series data to obtain the actual pipeline temperature average value. Perform a variance value operation on the pipeline temperature value time series data to obtain the actual pipeline temperature variance value.
[0045] After the intelligent device obtains each predicted quantity through the model, it is also necessary to obtain the data in the preset time period after the historical moment to obtain the actual quantity. The concept of the present invention is to determine whether there is a leak in the target gas pipeline by comparing the predicted quantity with the actual quantity. Among them, the actual quantities to be obtained include: the actual pipeline pressure average value, the actual pipeline pressure variance value, the actual pipeline flow average value, the actual pipeline flow variance value, the actual pipeline temperature average value and the actual pipeline temperature variance value.
[0046] Step 15: When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
[0047] The intelligent device calculates the difference between the predicted value and the actual value to obtain the corresponding difference, and calls different thresholds to compare with the difference to determine whether there is a leak in the gas pipeline.
[0048] The intelligent device obtains a first average characteristic difference by performing a difference operation between the actual pipeline pressure average value and the predicted pipeline pressure average value, and compares the first average characteristic difference value with the first average threshold value. When the first average characteristic difference value is greater than or equal to the first average threshold value, it can be considered that the actual pipeline pressure average value differs greatly from the predicted pipeline pressure average value, and there is a leakage problem in the target gas pipeline.
[0049] The smart device performs a difference operation between the actual pipeline flow average value and the predicted pipeline flow average value to obtain a second average characteristic difference value, and compares the second average characteristic difference value with the second average threshold value. When the second average characteristic difference value is greater than or equal to the second average threshold value, it can be considered that the actual pipeline flow average value differs greatly from the predicted pipeline flow average value, and there is a leakage problem in the target gas pipeline.
[0050] The intelligent device performs a difference operation between the actual pipeline temperature average value and the predicted pipeline temperature average value to obtain a third average characteristic difference value, and compares the third average characteristic difference value with the third average threshold value. When the third average characteristic difference value is greater than or equal to the third average threshold value, it can be considered that the actual pipeline temperature average value differs greatly from the predicted pipeline temperature average value, and there is a leakage problem in the target gas pipeline.
[0051] The intelligent device performs a difference operation between the actual pipeline pressure variance value and the predicted pipeline pressure variance value to obtain a first variance characteristic difference value, and compares the first variance characteristic difference value with a first variance threshold value. When the first variance characteristic difference value is greater than or equal to the first variance threshold value, it can be considered that the actual pipeline pressure variance value differs greatly from the predicted pipeline pressure variance value, and there is a leakage problem in the target gas pipeline.
[0052] The smart device performs a difference operation between the actual pipeline flow variance value and the predicted pipeline flow variance value to obtain a second variance characteristic difference value, and compares the second variance characteristic difference value with the second variance threshold. When the second variance characteristic difference value is greater than or equal to the second variance threshold, it can be considered that the actual pipeline flow variance value differs greatly from the predicted pipeline flow variance value, and there is a leakage problem in the target gas pipeline.
[0053] The intelligent device performs a difference operation between the actual pipeline temperature variance value and the predicted pipeline temperature variance value to obtain a third difference characteristic difference value, and compares the third difference characteristic difference value with a third difference threshold value. When the third difference characteristic difference value is greater than or equal to the third difference threshold value, it can be considered that the actual pipeline temperature variance value differs greatly from the predicted pipeline temperature variance value, and there is a leakage problem in the target gas pipeline.
[0054] When dealing with the detection of the gas pipeline network by the urban gas pipeline network monitoring platform, the present invention breaks down the gas pipeline network into parts, adopts multi-parameter and multi-dimensional detection methods, and relies on artificial intelligence models to realize leakage detection of the gas pipeline network.
[0055] In some further specific embodiments, the city gas network detection method further includes: when it is considered that the target gas pipeline has a leak, the smart device generates a push message in the monitoring interface of the city gas network monitoring platform, and informs the gas network manager by pushing the message.
[0056] On the other hand, reference Figure 2 , Figure 2 It is a structural diagram of a city gas pipeline network detection device.
[0057] A city gas pipeline network detection device is provided, comprising: a processor and a memory; wherein the memory is used to store a computer-readable program. When the computer-readable program is executed by the processor, the processor implements the city gas pipeline network detection method as described in any one of the above technical solutions.
[0058] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. As is well known to those skilled in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0059] On the other hand, reference Figure 3 , Figure 3 It is a schematic diagram of the system connection structure of the urban gas pipeline network detection system.
[0060] A city gas pipe network detection system is provided, comprising: a determination module, an acquisition module, a division module and a detection module.
[0061] The determination module is used to determine the gas pipeline network to be detected from the urban gas pipeline network monitoring platform, and record the gas pipeline network to be detected as the target gas pipeline network.
[0062] The determination module establishes a connection with the city gas network monitoring platform through the Internet, and determines the gas network that the city gas network monitoring platform needs to perform routine inspection on through the corresponding interface. For ease of description, the gas network is recorded as the target gas network.
[0063] The acquisition module is used to acquire the segmentation rule of the target gas pipeline network from a rule server according to the identity number of the target gas pipeline network.
[0064] After the acquisition module determines the target gas pipeline network, it can query the relevant information of the target gas pipeline network according to the identity number of the target gas pipeline network. Among them, in order to realize the detection of the target gas pipeline network, it is necessary to break the target gas pipeline network into parts. That is, the target gas pipeline network is subjected to segmented detection. Before performing segmented detection, it is necessary to obtain the segmentation rules of the target gas pipeline network. This segmentation rule has been formulated when the target gas pipeline network was laid, and its entire segmentation rule is stored in the rule server. Therefore, the acquisition module can access the rule server and use the identity number of the target gas pipeline network to request the rule server to feedback the corresponding segmentation rule information.
[0065] The division module is used to divide the target gas pipeline network into a plurality of gas pipelines to be detected according to the segmentation rule.
[0066] After obtaining the segmentation rules from the feedback of the planning server, the segmentation module can divide the target gas pipeline network according to the segmentation rules, thereby determining a plurality of gas pipelines to be detected.
[0067] The detection module is used to perform leakage detection on the divided gas pipelines to be detected in sequence until the detection of the entire target gas pipeline network is completed.
[0068] After the detection module has determined the multiple gas pipelines to be detected, it only needs to detect the multiple gas pipelines to be detected one by one until the detection of the entire target gas pipeline network is completed.
[0069] In order to improve the efficiency and accuracy of detection, a multi-parameter and multi-dimensional detection method that relies on an artificial intelligence model is adopted in gas pipeline leakage detection.
[0070] In this specific embodiment, for the convenience of description, the current gas pipeline to be detected is recorded as the target gas pipeline. The detection method for the leakage of the target gas pipeline is: Step 11: Obtain the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment.
[0071] The detection module establishes a connection with the monitoring device responsible for monitoring the target gas pipeline, thereby obtaining the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment from the monitoring device.
[0072] The historical moment here refers to the time point of observation. The time point of observation is generally set at the middle time point between two inspections of the gas pipeline. For example: when the gas pipeline is inspected on July 1 and inspected again on August 1, the historical moment point is selected at the middle time point between July 1 and August 1, that is, July 15 or July 16. The preset time period is pre-set. According to experience, it is more appropriate to set the preset time period to one-third to one-half of the interval between two inspections. For example, if the interval between two inspections is 30 days, then the preset time is generally 10 to 15 days.
[0073] Step 12: Perform an average calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; perform a variance calculation on the pipeline pressure time series data to obtain a pipeline pressure variance. Perform an average calculation on the pipeline flow time series data to obtain an average value of the pipeline flow; perform a variance calculation on the pipeline flow time series data to obtain a pipeline flow variance. Perform an average calculation on the pipeline temperature time series data to obtain an average value of the pipeline temperature; perform a variance calculation on the pipeline temperature time series data to obtain a pipeline temperature variance.
[0074] After obtaining the corresponding pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data, the detection module can process these data to calculate the pipeline pressure average value, pipeline pressure variance value, pipeline flow average value, pipeline flow variance value, pipeline temperature average value and pipeline temperature variance value.
[0075] Step 13: Input the average value of pipeline pressure into the pre-trained first average feature prediction model, and obtain the predicted average value of pipeline pressure in the preset time period after the historical moment through the first average feature prediction model. Input the average value of pipeline flow into the pre-trained second average feature prediction model, and obtain the predicted average value of pipeline flow in the preset time period after the historical moment through the second average feature prediction model. Input the average value of pipeline temperature into the pre-trained third average feature prediction model, and obtain the predicted average value of pipeline temperature in the preset time period after the historical moment through the third average feature prediction model.
[0076] The pipeline pressure variance value is input into a pre-trained first variance feature prediction model, and the predicted pipeline pressure variance value within the preset time period after the historical moment is obtained through the first variance feature prediction model. The pipeline flow variance value is input into a pre-trained second variance feature prediction model, and the predicted pipeline flow variance value within the preset time period after the historical moment is obtained through the second variance feature prediction model. The pipeline temperature variance value is input into a pre-trained third variance feature prediction model, and the predicted pipeline temperature variance value within the preset time period after the historical moment is obtained through the third variance feature prediction model.
[0077] After obtaining the pipeline pressure average value, pipeline pressure variance value, pipeline flow average value, pipeline flow variance value, pipeline temperature average value and pipeline temperature variance value, the detection module can use the prediction model to predict the prediction value between the preset time periods after the historical moment.
[0078] Among them, the first average feature prediction module is used for the prediction of the average value of pipeline pressure, the second average feature prediction model is used for the prediction of the average value of pipeline flow, and the third average feature prediction model is used for the prediction of the average value of pipeline temperature. The first variance feature prediction model is used for the prediction of the variance value of pipeline pressure, the second variance feature prediction model is used for the prediction of the variance value of pipeline flow, and the third variance feature prediction model is used for the prediction of the variance value of pipeline temperature.
[0079] Among them, in some further specific embodiments, the first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0080] The first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
[0081] Long Short-Term Memory (LSTM) is a special recurrent neural network (RNN) that introduces a "gate" mechanism to solve the gradient vanishing or gradient exploding problems that are prone to occur in traditional RNNs when dealing with long-term dependencies. Through research, it is found that the artificial intelligence model built based on the LSTM network has a high accuracy in predicting the average value of pipeline pressure, pipeline pressure variance, pipeline flow average value, pipeline flow variance value, pipeline temperature average value, and pipeline temperature variance value.
[0082] The detection module predicts the average value of pipeline pressure by using the first average feature prediction model to obtain the predicted average value of pipeline pressure. The detection module predicts the average value of pipeline flow by using the second average feature prediction model to obtain the predicted average value of pipeline flow. The detection module predicts the average value of pipeline temperature by using the third average feature prediction model to obtain the predicted average value of pipeline temperature.
[0083] The detection module predicts the pipeline pressure variance value by using the first variance feature prediction model to obtain the predicted pipeline pressure variance value. The detection module predicts the pipeline flow variance value by using the second variance feature prediction model to obtain the predicted pipeline flow variance value. The detection module predicts the pipeline temperature variance value by using the third variance feature prediction model to obtain the predicted pipeline temperature variance value.
[0084] Step 14, obtain the pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment. Perform an average value operation on the pipeline pressure value time series data to obtain the actual pipeline pressure average value. Perform a variance value operation on the pipeline pressure value time series data to obtain the actual pipeline pressure variance value. Perform an average value operation on the pipeline flow value time series data to obtain the actual pipeline flow average value. Perform a variance value operation on the pipeline flow value time series data to obtain the actual pipeline flow variance value. Perform an average value operation on the pipeline temperature value time series data to obtain the actual pipeline temperature average value. Perform a variance value operation on the pipeline temperature value time series data to obtain the actual pipeline temperature variance value.
[0085] After the detection module obtains each predicted quantity through the model, it is also necessary to obtain the data in the preset time period after the historical moment to obtain the actual quantity. The concept of the present invention is to determine whether there is a leak in the target gas pipeline by comparing the predicted quantity with the actual quantity. Among them, the actual quantities to be obtained include: the actual pipeline pressure average value, the actual pipeline pressure variance value, the actual pipeline flow average value, the actual pipeline flow variance value, the actual pipeline temperature average value and the actual pipeline temperature variance value.
[0086] Step 15: When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
[0087] The detection module performs a difference operation between the predicted value and the actual value to obtain a corresponding difference, and calls different thresholds to compare with the difference to determine whether there is a leak in the gas pipeline.
[0088] The detection module obtains a first average characteristic difference by performing a difference operation between the actual pipeline pressure average value and the predicted pipeline pressure average value, and compares the first average characteristic difference value with the first average threshold value. When the first average characteristic difference value is greater than or equal to the first average threshold value, it can be considered that the actual pipeline pressure average value differs greatly from the predicted pipeline pressure average value, and there is a leakage problem in the target gas pipeline.
[0089] The detection module performs a difference operation between the actual pipeline flow average value and the predicted pipeline flow average value to obtain a second average characteristic difference value, and compares the second average characteristic difference value with the second average threshold value. When the second average characteristic difference value is greater than or equal to the second average threshold value, it can be considered that the actual pipeline flow average value differs greatly from the predicted pipeline flow average value, and there is a leakage problem in the target gas pipeline.
[0090] The detection module performs a difference operation between the actual pipeline temperature average value and the predicted pipeline temperature average value to obtain a third average characteristic difference value, and compares the third average characteristic difference value with a third average threshold value. When the third average characteristic difference value is greater than or equal to the third average threshold value, it can be considered that the actual pipeline temperature average value differs greatly from the predicted pipeline temperature average value, and there is a leakage problem in the target gas pipeline.
[0091] The detection module performs a difference operation between the actual pipeline pressure variance value and the predicted pipeline pressure variance value to obtain a first variance characteristic difference value, and compares the first variance characteristic difference value with a first variance threshold value. When the first variance characteristic difference value is greater than or equal to the first variance threshold value, it can be considered that the actual pipeline pressure variance value differs greatly from the predicted pipeline pressure variance value, and there is a leakage problem in the target gas pipeline.
[0092] The detection module performs a difference operation between the actual pipeline flow variance value and the predicted pipeline flow variance value to obtain a second variance characteristic difference value, and compares the second variance characteristic difference value with the second variance threshold. When the second variance characteristic difference value is greater than or equal to the second variance threshold, it can be considered that the actual pipeline flow variance value differs greatly from the predicted pipeline flow variance value, and there is a leakage problem in the target gas pipeline.
[0093] The detection module performs a difference operation between the actual pipeline temperature variance value and the predicted pipeline temperature variance value to obtain a third difference characteristic difference value, and compares the third difference characteristic difference value with a third difference threshold value. When the third difference characteristic difference value is greater than or equal to the third difference threshold value, it can be considered that the actual pipeline temperature variance value differs greatly from the predicted pipeline temperature variance value, and there is a leakage problem in the target gas pipeline.
[0094] In some further specific implementations, the city gas pipeline network detection system also includes a push module, and the push module is used to generate push information in the monitoring interface of the city gas pipeline network monitoring platform when it is considered that there is a leak in the target gas pipeline.
[0095] On the other hand, a computer-readable storage medium is also provided, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the urban gas pipeline network detection method as described in any one of the above specific embodiments.
[0096] An embodiment of the present application also discloses a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the urban gas pipeline network detection method as described in any of the previous embodiments.
[0097] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0098] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0099] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0103] Although the description of the present application has been quite detailed and specifically describes several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope of the present application. In addition, the above description of the present application is based on the embodiments foreseeable by the inventor, and its purpose is to provide a useful description, and those non-substantial changes to the present application that have not yet been foreseen may still represent equivalent changes to the present application.
Claims
1. A city gas pipeline network detection method, characterized in that: The city gas pipeline network detection method comprises: Determine a gas pipeline network to be detected from the city gas pipeline network monitoring platform, and record the gas pipeline network to be detected as a target gas pipeline network; According to the identity number of the target gas pipeline network, obtaining the segmentation rule of the target gas pipeline network from the rule server; Dividing the target gas pipeline network into a plurality of gas pipelines to be detected according to the segmentation rule; Performing leak detection on the divided gas pipelines to be detected in sequence until the detection of the entire target gas pipeline network is completed; Among them, the current gas pipeline to be detected is recorded as the target gas pipeline; Performing leakage detection on the target gas pipeline includes: Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; performing a variance value calculation on the pipeline pressure time series data to obtain a pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain the pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain the pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain the pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain the pipeline temperature variance value; Inputting the pipeline pressure average value into a pre-trained first average feature prediction model, and obtaining the predicted pipeline pressure average value within the preset time period after the historical moment through the first average feature prediction model; Inputting the pipeline flow average value into a pre-trained second average feature prediction model, and obtaining the predicted pipeline flow average value within the preset time period after the historical moment through the second average feature prediction model; Inputting the pipeline temperature average value into a pre-trained third average feature prediction model, and obtaining the predicted pipeline temperature average value within the preset time period after the historical moment through the third average feature prediction model; Inputting the pipeline pressure variance value into a pre-trained first variance feature prediction model, and obtaining a predicted pipeline pressure variance value within the preset time period after the historical moment through the first variance feature prediction model; Inputting the pipeline flow variance value into a pre-trained second variance feature prediction model, and obtaining the predicted pipeline flow variance value within the preset time period after the historical moment through the second variance feature prediction model; Inputting the pipeline temperature variance value into a pre-trained third-party difference feature prediction model, and obtaining the predicted pipeline temperature variance value within the preset time period after the historical moment through the third-party difference feature prediction model; Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure average value; performing a variance value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain an actual pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain an actual pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature variance value; When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
2. A city gas pipeline network detection method according to claim 1, characterized in that: Also includes: When it is considered that there is a leak in the target gas pipeline, a push message is generated in the monitoring interface of the city gas pipeline network monitoring platform.
3. A city gas pipeline network detection method according to claim 1, characterized in that: The first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
4. A city gas pipeline network detection method according to claim 1, characterized in that: The first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
5. A city gas pipeline network detection device, characterized in that: include: processor; A memory for storing a computer readable program; When the computer-readable program is executed by the processor, the processor implements the city gas pipeline network detection method according to any one of claims 1 to 4.
6. A city gas pipeline network detection system, characterized in that: include: Determine module, acquire module, divide module and detect module; The determination module is used to determine the gas pipeline network to be detected from the city gas pipeline network monitoring platform, and record the gas pipeline network to be detected as the target gas pipeline network; The acquisition module is used to acquire the segmentation rule of the target gas pipeline network from the rule server according to the identity number of the target gas pipeline network; The division module is used to divide the target gas pipeline network into a plurality of gas pipelines to be detected according to the segmentation rule; The detection module is used to perform leakage detection on the divided gas pipelines to be detected in sequence until the detection of the entire target gas pipeline network is completed; Among them, the current gas pipeline to be detected is recorded as the target gas pipeline; Performing leakage detection on the target gas pipeline includes: Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within a preset time period before the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an average value of the pipeline pressure; performing a variance value calculation on the pipeline pressure time series data to obtain a pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain the pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain the pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain the pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain the pipeline temperature variance value; Inputting the pipeline pressure average value into a pre-trained first average feature prediction model, and obtaining the predicted pipeline pressure average value within the preset time period after the historical moment through the first average feature prediction model; Inputting the pipeline flow average value into a pre-trained second average feature prediction model, and obtaining the predicted pipeline flow average value within the preset time period after the historical moment through the second average feature prediction model; Inputting the pipeline temperature average value into a pre-trained third average feature prediction model, and obtaining the predicted pipeline temperature average value within the preset time period after the historical moment through the third average feature prediction model; Inputting the pipeline pressure variance value into a pre-trained first variance feature prediction model, and obtaining a predicted pipeline pressure variance value within the preset time period after the historical moment through the first variance feature prediction model; Inputting the pipeline flow variance value into a pre-trained second variance feature prediction model, and obtaining the predicted pipeline flow variance value within the preset time period after the historical moment through the second variance feature prediction model; Inputting the pipeline temperature variance value into a pre-trained third-party difference feature prediction model, and obtaining the predicted pipeline temperature variance value within the preset time period after the historical moment through the third-party difference feature prediction model; Acquire pipeline pressure value time series data, pipeline flow value time series data and pipeline temperature value time series data of the target gas pipeline within the preset time period after the historical moment; Performing an average value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure average value; performing a variance value calculation on the pipeline pressure time series data to obtain an actual pipeline pressure variance value; Performing an average value calculation on the pipeline flow value time series data to obtain an actual pipeline flow average value; performing a variance value calculation on the pipeline flow value time series data to obtain an actual pipeline flow variance value; Performing an average value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature average value; performing a variance value calculation on the pipeline temperature time series data to obtain an actual pipeline temperature variance value; When the difference between the actual pipeline pressure average value and the predicted pipeline pressure average value is greater than or equal to a preset first average threshold, or when the difference between the actual pipeline flow average value and the predicted pipeline flow average value is greater than or equal to a preset second average threshold, or when the difference between the actual pipeline temperature average value and the predicted pipeline temperature average value is greater than or equal to a preset third average threshold, or when the difference between the actual pipeline pressure variance value and the predicted pipeline pressure variance value is greater than or equal to a preset first variance threshold, or when the difference between the actual pipeline flow variance value and the predicted pipeline flow variance value is greater than or equal to a preset second variance threshold, or when the difference between the actual pipeline temperature variance value and the predicted pipeline temperature variance value is greater than or equal to a preset third variance threshold; it is considered that there is a leak in the target gas pipeline.
7. A city gas pipeline network detection system according to claim 6, characterized in that: It also includes a push module, which is used to generate push information in the monitoring interface of the city gas pipeline monitoring platform when it is considered that there is a leak in the target gas pipeline.
8. A city gas pipeline network detection system according to claim 6, characterized in that: The first average feature prediction model, the second average feature prediction model and the third average feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
9. A city gas pipe network detection system according to claim 6, characterized in that: The first variance feature prediction model, the second variance feature prediction model and the third variance feature prediction model are all artificial intelligence models built based on the long short-term memory network LSTM.
10. A computer-readable storage medium, characterized in that: A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the urban gas pipeline network detection method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
System and method for automatic monitoring pipeline network of fuel gas in city
CN101093058A
Gas pipeline leakage detection method, device and equipment and storage medium
CN113944888A
Gas pipeline leakage detection method, system and device and storage medium
CN114352947A
Intelligent gas pipe network reliability monitoring method and Internet of Things system
CN116006908A
Forecasting leaks in pipeline network
US9558453B1
