Gas pipe network management method and system based on Internet of Things perception

Through the IoT sensor group, the data of the gas pipeline network is collected and encrypted in real time and the monitoring report is generated, which solves the problem that traditional manual inspections are difficult to detect fault hazards, realizes the automation and data security of gas pipeline network management, and improves the reliability of management and operation and maintenance efficiency.

CN119178111AInactive Publication Date: 2024-12-24ARCHITECTURAL DESIGN INST FUKIEN PROV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411579344.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2024-12-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional gas pipeline management relies on manual inspection, making it difficult to detect hidden faults and hidden dangers in a timely manner, and there are problems such as inconvenient data recording and easy to be tampered with.

Method used

Adopting a management method based on IoT perception, the displacement, weight, pressure value, wind direction, wind speed and positioning data are collected in real time through the IoT sensor group, periodically compressed and encrypted, and uploaded to the server for data decryption, preprocessing, analysis and generation. Monitor reports, and perform storage backup and early warning operations.

Benefits of technology

Improve the reliability and timeliness of gas pipeline management, can automatically collect and store data, avoid manual recording errors, realize timely discovery and positioning of potential faults, improve operation and maintenance efficiency, and ensure data through multiple encryption and blockchain Security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119178111A_ABST
    Figure CN119178111A_ABST
Patent Text Reader

Abstract

The invention provides a gas pipe network management method and system based on Internet of Things perception in the technical field of gas pipe network management. The method comprises the steps that S1, monitoring data of a gas pipe network are collected in real time through an Internet of Things sensor group; s2, periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data, and uploading the encrypted data to a server in real time; s3, the server decrypts the encrypted data to obtain compressed data, and decompresses the compressed data to obtain monitoring data; s4, the server preprocesses the monitoring data to obtain regular data; s5, the server analyzes the regular data and generates a gas pipe network monitoring report; s6, the server executes early warning operation based on the gas pipe network monitoring report; and S7, the server stores and backs up the regular data and the gas pipe network monitoring report. The method has the advantage that the reliability and timeliness of gas pipe network management are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas pipeline network management, and in particular to a gas pipeline network management method and system based on Internet of Things perception. Background Art

[0002] The gas pipeline network refers to the pipelines used to transport gas and related ancillary equipment. It is part of the city’s infrastructure. If a gas pipeline network fails, it will directly affect the city’s residents’ use of gas. Therefore, the gas pipeline network needs to be managed to ensure its normal operation.

[0003] External factors such as geological subsidence and road maintenance may cause displacement and weight changes in gas pipelines, which are common causes of gas pipeline failures. The management of gas pipelines has traditionally relied on manual inspections, which can only reveal some obvious problems. Some hidden dangers are often difficult to detect. For example, a small amount of displacement may not be detected, but may suddenly cause a failure over time. In addition, manual inspections have poor timeliness and inspection data needs to be recorded manually, which is not convenient for storage and traceability. In addition, data may be arbitrarily modified or filled in to pretend that an inspection has been performed.

[0004] Therefore, how to provide a gas pipeline network management method and system based on Internet of Things perception to improve the reliability and timeliness of gas pipeline network management has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a gas pipeline network management method and system based on Internet of Things perception, so as to improve the reliability and timeliness of gas pipeline network management.

[0006] In a first aspect, the present invention provides a gas pipeline network management method based on Internet of Things perception, comprising the following steps:

[0007] Step S1, collecting monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through the Internet of Things sensor group;

[0008] Step S2, periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to the server in real time;

[0009] Step S3: The server receives the encrypted data in real time, decrypts the encrypted data to obtain compressed data, and decompresses the compressed data to obtain monitoring data;

[0010] Step S4: the server pre-processes the monitoring data to obtain regularized data;

[0011] Step S5: The server analyzes the regularized data and generates a gas network monitoring report;

[0012] Step S6: the server performs an early warning operation based on the gas network monitoring report;

[0013] Step S7: the server stores and backs up the regularized data and the gas network monitoring report;

[0014] The step S1 is specifically as follows:

[0015] The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators;

[0016] The step S2 is specifically as follows:

[0017] The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data;

[0018] Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data;

[0019] Uploading the encrypted data to the server in real time via the SSL protocol;

[0020] The step S3 is specifically as follows:

[0021] The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs aging verification on the compressed data by using the timestamp;

[0022] The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

[0023] Furthermore, the step S4 is specifically as follows:

[0024] After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

[0025] Furthermore, the step S5 is specifically as follows:

[0026] The server performs big data analysis on each of the regular data through a distributed computing framework to obtain analysis results that include at least mutation data, abnormal data, and data change trends, matches the pipe section number of the gas pipeline network corresponding to the mutation data or abnormal data based on the equipment number, and generates a gas pipeline network monitoring report based on the analysis results, equipment number, pipe section number, and analysis time.

[0027] Furthermore, the step S6 is specifically as follows:

[0028] The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol;

[0029] The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows:

[0030] Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

[0031] Furthermore, the step S7 is specifically as follows:

[0032] The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain;

[0033] The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows:

[0034] A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

[0035] In a second aspect, the present invention provides a gas pipeline network management system based on Internet of Things perception, comprising the following modules:

[0036] A monitoring data acquisition module, used to collect monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through an Internet of Things sensor group;

[0037] A monitoring data compression and encryption module, used for periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to a server in real time;

[0038] An encrypted data decryption module is used for the server to receive the encrypted data in real time, decrypt the encrypted data to obtain compressed data, and decompress the compressed data to obtain monitoring data;

[0039] A monitoring data preprocessing module is used for the server to preprocess the monitoring data to obtain regularized data;

[0040] A data analysis module, used for the server to analyze the regularized data and generate a gas network monitoring report;

[0041] An early warning operation module, used for the server to perform early warning operations based on the gas pipeline network monitoring report;

[0042] A storage backup module is used for the server to store and back up the regularized data and the gas network monitoring report;

[0043] The monitoring data acquisition module is specifically used for:

[0044] The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators;

[0045] The monitoring data compression and encryption module is specifically used for:

[0046] The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data;

[0047] Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data;

[0048] Uploading the encrypted data to the server in real time via the SSL protocol;

[0049] The encrypted data decryption module is specifically used for:

[0050] The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs aging verification on the compressed data by using the timestamp;

[0051] The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

[0052] Furthermore, the monitoring data preprocessing module is specifically used for:

[0053] After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

[0054] Furthermore, the data analysis module is specifically used for:

[0055] The server performs big data analysis on each of the regular data through a distributed computing framework to obtain analysis results that include at least mutation data, abnormal data, and data change trends, matches the pipe section number of the gas pipeline network corresponding to the mutation data or abnormal data based on the equipment number, and generates a gas pipeline network monitoring report based on the analysis results, equipment number, pipe section number, and analysis time.

[0056] Furthermore, the early warning operation module is specifically used for:

[0057] The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol;

[0058] The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows:

[0059] Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

[0060] Furthermore, the storage backup module is specifically used for:

[0061] The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain;

[0062] The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows:

[0063] A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

[0064] The advantages of the present invention are:

[0065] 1. Collect monitoring data of the gas network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through the IoT sensor group, periodically compress the collected monitoring data to obtain compressed data, encrypt the compressed data into encrypted data and upload it to the server in real time; the server receives the encrypted data in real time, decrypts the encrypted data to obtain compressed data, decompresses the compressed data to obtain monitoring data, pre-processes the monitoring data to obtain regularized data, analyzes the regularized data to generate a gas network monitoring report, performs early warning operations based on the gas network monitoring report, and stores the regularized data and the gas network monitoring report Backup; that is, through the Internet of Things sensor group, the monitoring data of the gas pipeline network is collected in real time and uploaded periodically for analysis. Compared with traditional manual inspections, it can effectively and timely discover abnormal data in the monitoring data. Combined with the positioning data, equipment number and pipe section number, the faulty pipe section can be quickly located for maintenance. The storage and backup of monitoring data upload, gas pipeline network monitoring report push, regularized data and gas pipeline network monitoring report are all encrypted to prevent data from being stolen and tampered with in plain text. The data is automatically collected, uploaded and stored throughout the process to avoid errors caused by manual recording, which ultimately greatly improves the reliability and timeliness of gas pipeline network management.

[0066] 2. By collecting monitoring data of at least displacement, weight, pressure value, wind direction, wind speed and positioning data of each section of the gas pipeline network, that is, multi-dimensional fault monitoring of the gas pipeline network is carried out through displacement, weight, pressure value, wind direction and wind speed, so as to timely discover potential hidden dangers, and the faulty section can be quickly located through positioning data, thereby improving the operation and maintenance efficiency of the gas pipeline network.

[0067] 3. Collect positioning data simultaneously through GPS locator and Beidou locator, and then take the average of the positioning data collected by the two to effectively improve the positioning accuracy of the pipe section.

[0068] 4. By setting the upload cycle, based on the upload cycle, the collected monitoring data and the corresponding device number are periodically compressed through the differential compression algorithm to obtain compressed data. The upload cycle can be set as needed. The differential compression algorithm uses the difference between adjacent data to reduce the storage space of the data. It is suitable for continuous sensor data. For continuously collected similar data, it can significantly reduce the storage amount of data, thereby greatly reducing the bandwidth occupancy rate and greatly improving the data transmission efficiency.

[0069] 5. Obtain the current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value through the 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on the first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string through the RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on the second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string through the AES algorithm to obtain a fifth-level encrypted string, split the fifth-level encrypted string based on the ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, and perform the encryption according to the formula of "fourth substring + second substring + third substring + first substring". The six-level encrypted string is reassembled in the order of "string", and the six-level encrypted string is encrypted by BLOWFISH algorithm to obtain encrypted data, and the encrypted data is uploaded to the server in real time through SSL protocol; by adding timestamp, time verification can be performed later, and integrity verification can be performed later due to the irreversibility of hash calculation. SSL protocol is a network security protocol, which can improve the security of data transmission. If the corresponding encryption algorithm and data transformation rules are not known, the encrypted data cannot be cracked. At least 13 security measures are taken before and after (timestamp, hash calculation, 3DES algorithm, first displacement, right displacement, RSA algorithm, second displacement, left displacement, AES algorithm, segmentation ratio, reorganization order, BLOWFISH algorithm, SSL protocol) to avoid the theft and tampering of compressed data during upload, which greatly improves the security of upload.

[0070] 6. After interpolating missing values ​​and deleting outliers in the monitoring data, the positioning data collected by the GPS locator and the Beidou locator are averaged to obtain the corrected positioning data. The displacement, weight, pressure value, wind direction, wind speed and corrected positioning data are then converted into a format to effectively improve data quality, facilitate subsequent data analysis, and effectively improve the accuracy of gas pipeline network fault detection.

[0071] 7. Perform big data analysis on regular data through a distributed computing framework, that is, divide the big data analysis task into smaller subtasks and assign them to multiple computers for parallel processing, which can not only improve the computing speed, but also enhance the flexibility and reliability of the system.

[0072] 8. Display the monitoring reports of each gas pipeline network in a carousel on a pre-associated large screen, control the sound and light alarm based on the gas pipeline network monitoring report to issue an early warning, encrypt the gas pipeline network monitoring report into an encrypted report, and push the encrypted report to the pre-associated and authenticated management terminal in real time through the SSL protocol. That is, multi-channel early warning is carried out through large screens, sound and light alarms, and management terminals, effectively improving the timeliness and reliability of early warnings.

[0073] 9. Obtain a first MAC value by performing MAC calculation on the gas pipeline network monitoring report, encrypt the gas pipeline network monitoring report and the first MAC value into initial encrypted data by using the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block by using the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block by using the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block by using the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block by using the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block by using the IDEA algorithm. The first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block are encrypted to obtain an encrypted report, and the encrypted report is pushed in real time to the management terminal that has been pre-associated and authenticated through the SSL protocol; since the MAC calculation is based on a hash function with a secret key, it is more secure than ordinary hash calculations. The SSL protocol is a network security protocol and is also combined with data block encryption. At least 10 security measures are taken (MAC calculation, EdDSA algorithm, random proportional blocking, AES-KW algorithm, RC2 algorithm, ECDSA algorithm, ElGamal algorithm, IDEA algorithm, SSL protocol, identity authentication), which greatly improves the security of the push of gas pipeline network monitoring reports.

[0074] 10. Create a pair of public and private keys through the RSA algorithm, encrypt the public key through the EDA algorithm to obtain a primary key, encrypt the primary key through the 3DES algorithm to obtain a secondary key, perform MAC calculation on the regular data and the gas pipeline monitoring report to obtain a second MAC value, encrypt the regular data, the gas pipeline monitoring report and the second MAC value through the private key to obtain primary encrypted data, map the primary encrypted data through the mapping rule to obtain mapping data, encrypt the mapping data and the secondary key through the ECC algorithm to obtain archived data, and back up the archived data to the blockchain; since the data encrypted by the private key can only be decrypted by the public key, the public key is encrypted multiple times, and the regular data and the gas pipeline monitoring report are also encrypted multiple times. If the corresponding encryption algorithm or data transformation rule is not known, the archived data cannot be cracked. At least 8 security measures (RSA algorithm, public and private keys, EDA algorithm, 3DES algorithm, MAC calculation, mapping rule, ECC algorithm, blockchain) have been taken, which greatly improves the security of storage and backup of regular data and gas pipeline monitoring reports.

[0075] 11. Data security is further improved by adopting different encryption schemes in each link of monitoring data uploading, gas pipeline network monitoring report pushing, data organization and storage and backup of gas pipeline network monitoring reports. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0077] Figure 1 It is a flow chart of a gas pipeline network management method based on Internet of Things perception of the present invention.

[0078] Figure 2 It is a structural schematic diagram of a gas pipe network management system based on Internet of Things perception in the present invention. DETAILED DESCRIPTION

[0079] The technical solution in the embodiments of the present application has the following overall idea: the monitoring data of the gas pipeline network is collected in real time through the Internet of Things sensor group and uploaded periodically for analysis. Compared with traditional manual inspections, it can effectively and timely discover abnormal data in the monitoring data. Combined with the positioning data, equipment number and pipe section number, the faulty pipe section can be quickly located for maintenance. The monitoring data upload, gas pipeline network monitoring report push, regularized data and storage and backup of the gas pipeline network monitoring report are all encrypted to prevent data from being stolen and tampered with in plain text. The data of the entire process is automatically collected, uploaded and stored to avoid errors caused by manual recording, which ultimately greatly improves the reliability and timeliness of gas pipeline network management.

[0080] Please refer to Figure 1 to Figure 2As shown, a preferred embodiment of a gas pipeline network management method based on Internet of Things perception of the present invention includes the following steps:

[0081] Step S1, collecting monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through the Internet of Things sensor group;

[0082] Step S2, periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to the server in real time;

[0083] Step S3: The server receives the encrypted data in real time, decrypts the encrypted data to obtain compressed data, and decompresses the compressed data to obtain monitoring data;

[0084] Step S4: the server pre-processes the monitoring data to obtain regularized data;

[0085] Step S5: The server analyzes the regularized data and generates a gas network monitoring report;

[0086] Step S6: the server performs an early warning operation based on the gas network monitoring report;

[0087] Step S7: the server stores and backs up the regularized data and the gas network monitoring report;

[0088] The step S1 is specifically as follows:

[0089] The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators;

[0090] By collecting monitoring data of at least displacement, weight, pressure value, wind direction, wind speed and positioning data from each section of the gas pipeline network, that is, multi-dimensional fault monitoring of the gas pipeline network is carried out through displacement, weight, pressure value, wind direction and wind speed, so as to timely discover potential hidden dangers, and the faulty section can be quickly located through positioning data, thereby improving the operation and maintenance efficiency of the gas pipeline network.

[0091] The positioning data is collected simultaneously by GPS locator and Beidou locator, and the average of the positioning data collected by the two is subsequently taken to effectively improve the positioning accuracy of the pipeline section.

[0092] The step S2 is specifically as follows:

[0093] The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data;

[0094] By setting the upload cycle, based on the upload cycle, the collected monitoring data and the corresponding device number are periodically compressed through the differential compression algorithm to obtain compressed data. The upload cycle can be set as needed. The differential compression algorithm uses the differences between adjacent data to reduce the storage space of the data. It is suitable for continuous sensor data. For continuously collected similar data, it can significantly reduce the storage amount of data, thereby greatly reducing the bandwidth occupancy rate and greatly improving the data transmission efficiency.

[0095] Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data;

[0096] Uploading the encrypted data to the server in real time via the SSL protocol;

[0097] By obtaining the current timestamp, performing hash calculation on the compressed data and the timestamp to obtain a hash value, encrypting the compressed data, the timestamp and the hash value through the 3DES algorithm to obtain a first-level encrypted string, right-shifting each character in the first-level encrypted string based on the first displacement to obtain a second-level encrypted string, encrypting the second-level encrypted string through the RSA algorithm to obtain a third-level encrypted string, left-shifting each character in the third-level encrypted string based on the second displacement to obtain a fourth-level encrypted string, encrypting the fourth-level encrypted string through the AES algorithm to obtain a fifth-level encrypted string, dividing the fifth-level encrypted string based on the ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, and dividing the first substring into a first substring, a second substring, a third substring and a fourth substring according to the ratio of "fourth substring + second substring + third substring + first substring " is reassembled in the order of " to obtain a six-level encrypted string, and the six-level encrypted string is encrypted by the BLOWFISH algorithm to obtain encrypted data, and the encrypted data is uploaded to the server in real time through the SSL protocol; by adding a timestamp, a time verification can be performed later, and due to the irreversibility of the hash calculation, an integrity verification can be performed later. The SSL protocol is a network security protocol that can improve the security of data transmission. If the corresponding encryption algorithm and data transformation rules are not known, the encrypted data cannot be cracked. At least 13 security measures are taken before and after (timestamp, hash calculation, 3DES algorithm, first displacement, right displacement, RSA algorithm, second displacement, left displacement, AES algorithm, segmentation ratio, reorganization order, BLOWFISH algorithm, SSL protocol) to avoid the theft and tampering of compressed data during upload, which greatly improves the security of upload.

[0098] The step S3 is specifically as follows:

[0099] The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs aging verification on the compressed data by using the timestamp;

[0100] The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

[0101] The step S4 is specifically as follows:

[0102] After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

[0103] After interpolating missing values ​​and deleting outliers in the monitoring data, the positioning data collected by the GPS locator and the Beidou locator are averaged to obtain the corrected positioning data. The displacement, weight, pressure value, wind direction, wind speed and corrected positioning data are then converted into a format to effectively improve data quality, facilitate subsequent data analysis, and effectively improve the accuracy of gas pipeline network fault detection.

[0104] The step S5 is specifically as follows:

[0105] The server performs big data analysis on each of the regular data through a distributed computing framework (such as Apache Hadoop, Apache Spark, etc.), obtains analysis results including at least mutation data, abnormal data and data change trends, matches the pipe section number of the gas pipe network corresponding to the mutation data or abnormal data based on the device number, and generates a gas pipe network monitoring report based on the analysis results, device number, pipe section number and analysis time. The gas pipe network monitoring report also carries corrected positioning data. That is, the Internet of Things devices that collect each of the monitoring data correspond to a device number, and each of the device numbers corresponds to a pipe section number. The device number can be matched through abnormal data, and the pipe section number can be matched through the device number for operation and maintenance. The mutation data and abnormal data can be defined as needed. For example, when the displacement changes from 0 to 0.5m, the displacement is mutation data; when the ground regularly generates a certain displacement due to settlement, but the pipe section does not send the displacement, the displacement is abnormal data.

[0106] Big data analysis is performed on various regular data through a distributed computing framework, that is, dividing the big data analysis task into smaller sub-tasks and assigning them to multiple computers for parallel processing. This can not only improve the computing speed, but also enhance the flexibility and reliability of the system.

[0107] The step S6 is specifically as follows:

[0108] The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol;

[0109] The gas pipeline network monitoring reports are displayed in a carousel on a pre-associated large screen. The sound and light alarms are controlled based on the gas pipeline network monitoring reports to issue early warnings. The gas pipeline network monitoring reports are encrypted into encrypted reports, and the encrypted reports are pushed in real time to the pre-associated and authenticated management terminals through the SSL protocol. That is, multi-channel early warnings are issued through large screens, sound and light alarms, and management terminals, effectively improving the timeliness and reliability of early warnings.

[0110] The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows:

[0111] Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

[0112] A first MAC value is obtained by performing MAC calculation on the gas pipeline network monitoring report, the gas pipeline network monitoring report and the first MAC value are encrypted into initial encrypted data through the EdDSA algorithm, the initial encrypted data is divided into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, the first data block is encrypted through the AES-KW algorithm to obtain a first encrypted data block, the second data block is encrypted through the RC2 algorithm to obtain a second encrypted data block, the third data block is encrypted through the ECDSA algorithm to obtain a third encrypted data block, the fourth data block is encrypted through the ElGamal algorithm to obtain a fourth encrypted data block, the first encrypted data block, The second encrypted data block, the third encrypted data block and the fourth encrypted data block are encrypted to obtain an encrypted report, and the encrypted report is pushed in real time to the management terminal that has been pre-associated and authenticated through the SSL protocol; since the MAC calculation is based on a hash function with a secret key, it is more secure than ordinary hash calculations. The SSL protocol is a network security protocol and is also combined with data block encryption. At least 10 security measures are taken (MAC calculation, EdDSA algorithm, random proportional blocking, AES-KW algorithm, RC2 algorithm, ECDSA algorithm, ElGamal algorithm, IDEA algorithm, SSL protocol, identity authentication), which greatly improves the security of the push of gas pipeline network monitoring reports.

[0113] The decryption process of the encrypted report is:

[0114] The encrypted report is decrypted by the IDEA algorithm to obtain a first encrypted data block, a second encrypted data block, a third encrypted data block and a fourth encrypted data block, the first encrypted data block is decrypted by the AES-KW algorithm to obtain a first data block, the second encrypted data block is decrypted by the RC2 algorithm to obtain a second data block, the third encrypted data block is decrypted by the ECDSA algorithm to obtain a third data block, the fourth encrypted data block is decrypted by the ElGamal algorithm to obtain a fourth data block, the first data block, the second data block, the third data block and the fourth data block are spliced ​​into initial encrypted data, the initial encrypted data is decrypted by the EdDSA algorithm to obtain a gas pipeline network monitoring report and a first MAC value, and the integrity of the gas pipeline network monitoring report is checked by the first MAC value.

[0115] The step S7 is specifically as follows:

[0116] The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain;

[0117] The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows:

[0118] A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

[0119] A pair of public and private keys are created through the RSA algorithm, the public key is encrypted through the EDA algorithm to obtain a primary key, the primary key is encrypted through the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regular data and the gas pipeline monitoring report to obtain a second MAC value, the regular data, the gas pipeline monitoring report and the second MAC value are encrypted through the private key to obtain primary encrypted data, the primary encrypted data is mapped through the mapping rule to obtain mapping data, the mapping data and the secondary key are encrypted through the ECC algorithm to obtain archived data, and the archived data is backed up to the blockchain; since the data encrypted by the private key can only be decrypted by the public key, the public key is encrypted multiple times, and the regular data and the gas pipeline monitoring report are also encrypted multiple times. If the corresponding encryption algorithm or data transformation rule is not known, the archived data cannot be cracked. At least 8 security measures (RSA algorithm, public and private keys, EDA algorithm, 3DES algorithm, MAC calculation, mapping rule, ECC algorithm, blockchain) have been taken before and after, which greatly improves the security of storage and backup of regular data and gas pipeline monitoring reports.

[0120] Data security is further improved by adopting different encryption schemes in each link of monitoring data uploading, gas pipeline network monitoring report pushing, data organization and storage and backup of gas pipeline network monitoring reports.

[0121] The decryption process of the archived data is as follows:

[0122] The archived data is decrypted by the ECC algorithm to obtain mapping data and a secondary key, the mapping data is mapped by the mapping rule to obtain primary encrypted data, the secondary key is decrypted by the 3DES algorithm to obtain a primary key, the primary key is decrypted by the EDA algorithm to obtain a public key, the primary encrypted data is decrypted by the public key to obtain regularized data, a gas pipeline network monitoring report and a second MAC value, and the regularized data and the gas pipeline network monitoring report are integrity checked by the second MAC value.

[0123] A preferred embodiment of a gas pipe network management system based on Internet of Things perception of the present invention includes the following modules:

[0124] A monitoring data acquisition module, used to collect monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through an Internet of Things sensor group;

[0125] A monitoring data compression and encryption module, used for periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to a server in real time;

[0126] An encrypted data decryption module is used for the server to receive the encrypted data in real time, decrypt the encrypted data to obtain compressed data, and decompress the compressed data to obtain monitoring data;

[0127] A monitoring data preprocessing module is used for the server to preprocess the monitoring data to obtain regularized data;

[0128] A data analysis module, used for the server to analyze the regularized data and generate a gas network monitoring report;

[0129] An early warning operation module, used for the server to perform early warning operations based on the gas pipeline network monitoring report;

[0130] A storage backup module is used for the server to store and back up the regularized data and the gas network monitoring report;

[0131] The monitoring data acquisition module is specifically used for:

[0132] The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators;

[0133] By collecting monitoring data of at least displacement, weight, pressure value, wind direction, wind speed and positioning data from each section of the gas pipeline network, that is, multi-dimensional fault monitoring of the gas pipeline network is carried out through displacement, weight, pressure value, wind direction and wind speed, so as to timely discover potential hidden dangers, and the faulty section can be quickly located through positioning data, thereby improving the operation and maintenance efficiency of the gas pipeline network.

[0134] The positioning data is collected simultaneously by GPS locator and Beidou locator, and the average of the positioning data collected by the two is subsequently taken to effectively improve the positioning accuracy of the pipeline section.

[0135] The monitoring data compression and encryption module is specifically used for:

[0136] The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data;

[0137] By setting the upload cycle, based on the upload cycle, the collected monitoring data and the corresponding device number are periodically compressed through the differential compression algorithm to obtain compressed data. The upload cycle can be set as needed. The differential compression algorithm uses the differences between adjacent data to reduce the storage space of the data. It is suitable for continuous sensor data. For continuously collected similar data, it can significantly reduce the storage amount of data, thereby greatly reducing the bandwidth occupancy rate and greatly improving the data transmission efficiency.

[0138] Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data;

[0139] Uploading the encrypted data to the server in real time via the SSL protocol;

[0140] By obtaining the current timestamp, performing hash calculation on the compressed data and the timestamp to obtain a hash value, encrypting the compressed data, the timestamp and the hash value through the 3DES algorithm to obtain a first-level encrypted string, right-shifting each character in the first-level encrypted string based on the first displacement to obtain a second-level encrypted string, encrypting the second-level encrypted string through the RSA algorithm to obtain a third-level encrypted string, left-shifting each character in the third-level encrypted string based on the second displacement to obtain a fourth-level encrypted string, encrypting the fourth-level encrypted string through the AES algorithm to obtain a fifth-level encrypted string, dividing the fifth-level encrypted string based on the ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, and dividing the first substring into a first substring, a second substring, a third substring and a fourth substring according to the ratio of "fourth substring + second substring + third substring + first substring " is reassembled in the order of " to obtain a six-level encrypted string, and the six-level encrypted string is encrypted by the BLOWFISH algorithm to obtain encrypted data, and the encrypted data is uploaded to the server in real time through the SSL protocol; by adding a timestamp, a time verification can be performed later, and due to the irreversibility of the hash calculation, an integrity verification can be performed later. The SSL protocol is a network security protocol that can improve the security of data transmission. If the corresponding encryption algorithm and data transformation rules are not known, the encrypted data cannot be cracked. At least 13 security measures are taken before and after (timestamp, hash calculation, 3DES algorithm, first displacement, right displacement, RSA algorithm, second displacement, left displacement, AES algorithm, segmentation ratio, reorganization order, BLOWFISH algorithm, SSL protocol) to avoid the theft and tampering of compressed data during upload, which greatly improves the security of upload.

[0141] The encrypted data decryption module is specifically used for:

[0142] The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs aging verification on the compressed data by using the timestamp;

[0143] The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

[0144] The monitoring data preprocessing module is specifically used for:

[0145] After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

[0146] After interpolating missing values ​​and deleting outliers in the monitoring data, the positioning data collected by the GPS locator and the Beidou locator are averaged to obtain the corrected positioning data. The displacement, weight, pressure value, wind direction, wind speed and corrected positioning data are then converted into a format to effectively improve data quality, facilitate subsequent data analysis, and effectively improve the accuracy of gas pipeline network fault detection.

[0147] The data analysis module is specifically used for:

[0148] The server performs big data analysis on each of the regular data through a distributed computing framework (such as Apache Hadoop, Apache Spark, etc.), obtains analysis results including at least mutation data, abnormal data and data change trends, matches the pipe section number of the gas pipe network corresponding to the mutation data or abnormal data based on the device number, and generates a gas pipe network monitoring report based on the analysis results, device number, pipe section number and analysis time. The gas pipe network monitoring report also carries corrected positioning data. That is, the Internet of Things devices that collect each of the monitoring data correspond to a device number, and each of the device numbers corresponds to a pipe section number. The device number can be matched through abnormal data, and the pipe section number can be matched through the device number for operation and maintenance. The mutation data and abnormal data can be defined as needed. For example, when the displacement changes from 0 to 0.5m, the displacement is mutation data; when the ground regularly generates a certain displacement due to settlement, but the pipe section does not send the displacement, the displacement is abnormal data.

[0149] Big data analysis is performed on various regular data through a distributed computing framework, that is, dividing the big data analysis task into smaller sub-tasks and assigning them to multiple computers for parallel processing. This can not only improve the computing speed, but also enhance the flexibility and reliability of the system.

[0150] The early warning operation module is specifically used for:

[0151] The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol;

[0152] The gas pipeline network monitoring reports are displayed in a carousel on a pre-associated large screen. The sound and light alarms are controlled based on the gas pipeline network monitoring reports to issue early warnings. The gas pipeline network monitoring reports are encrypted into encrypted reports, and the encrypted reports are pushed in real time to the pre-associated and authenticated management terminals through the SSL protocol. That is, multi-channel early warnings are issued through large screens, sound and light alarms, and management terminals, effectively improving the timeliness and reliability of early warnings.

[0153] The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows:

[0154] Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

[0155] A first MAC value is obtained by performing MAC calculation on the gas pipeline network monitoring report, the gas pipeline network monitoring report and the first MAC value are encrypted into initial encrypted data through the EdDSA algorithm, the initial encrypted data is divided into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, the first data block is encrypted through the AES-KW algorithm to obtain a first encrypted data block, the second data block is encrypted through the RC2 algorithm to obtain a second encrypted data block, the third data block is encrypted through the ECDSA algorithm to obtain a third encrypted data block, the fourth data block is encrypted through the ElGamal algorithm to obtain a fourth encrypted data block, the first encrypted data block, The second encrypted data block, the third encrypted data block and the fourth encrypted data block are encrypted to obtain an encrypted report, and the encrypted report is pushed in real time to the management terminal that has been pre-associated and authenticated through the SSL protocol; since the MAC calculation is based on a hash function with a secret key, it is more secure than ordinary hash calculations. The SSL protocol is a network security protocol and is also combined with data block encryption. At least 10 security measures are taken (MAC calculation, EdDSA algorithm, random proportional blocking, AES-KW algorithm, RC2 algorithm, ECDSA algorithm, ElGamal algorithm, IDEA algorithm, SSL protocol, identity authentication), which greatly improves the security of the push of gas pipeline network monitoring reports.

[0156] The decryption process of the encrypted report is:

[0157] The encrypted report is decrypted by the IDEA algorithm to obtain a first encrypted data block, a second encrypted data block, a third encrypted data block and a fourth encrypted data block, the first encrypted data block is decrypted by the AES-KW algorithm to obtain a first data block, the second encrypted data block is decrypted by the RC2 algorithm to obtain a second data block, the third encrypted data block is decrypted by the ECDSA algorithm to obtain a third data block, the fourth encrypted data block is decrypted by the ElGamal algorithm to obtain a fourth data block, the first data block, the second data block, the third data block and the fourth data block are spliced ​​into initial encrypted data, the initial encrypted data is decrypted by the EdDSA algorithm to obtain a gas pipeline network monitoring report and a first MAC value, and the integrity of the gas pipeline network monitoring report is checked by the first MAC value.

[0158] The storage backup module is specifically used for:

[0159] The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain;

[0160] The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows:

[0161] A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

[0162] A pair of public and private keys are created through the RSA algorithm, the public key is encrypted through the EDA algorithm to obtain a primary key, the primary key is encrypted through the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regular data and the gas pipeline monitoring report to obtain a second MAC value, the regular data, the gas pipeline monitoring report and the second MAC value are encrypted through the private key to obtain primary encrypted data, the primary encrypted data is mapped through the mapping rule to obtain mapping data, the mapping data and the secondary key are encrypted through the ECC algorithm to obtain archived data, and the archived data is backed up to the blockchain; since the data encrypted by the private key can only be decrypted by the public key, the public key is encrypted multiple times, and the regular data and the gas pipeline monitoring report are also encrypted multiple times. If the corresponding encryption algorithm or data transformation rule is not known, the archived data cannot be cracked. At least 8 security measures (RSA algorithm, public and private keys, EDA algorithm, 3DES algorithm, MAC calculation, mapping rule, ECC algorithm, blockchain) have been taken before and after, which greatly improves the security of storage and backup of regular data and gas pipeline monitoring reports.

[0163] Data security is further improved by adopting different encryption schemes in each link of monitoring data uploading, gas pipeline network monitoring report pushing, data organization and storage and backup of gas pipeline network monitoring reports.

[0164] The decryption process of the archived data is as follows:

[0165] The archived data is decrypted by the ECC algorithm to obtain mapping data and a secondary key, the mapping data is mapped by the mapping rule to obtain primary encrypted data, the secondary key is decrypted by the 3DES algorithm to obtain a primary key, the primary key is decrypted by the EDA algorithm to obtain a public key, the primary encrypted data is decrypted by the public key to obtain regularized data, a gas pipeline network monitoring report and a second MAC value, and the regularized data and the gas pipeline network monitoring report are integrity checked by the second MAC value.

[0166] In summary, the advantages of the present invention are:

[0167] 1. Collect monitoring data of the gas network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through the IoT sensor group, periodically compress the collected monitoring data to obtain compressed data, encrypt the compressed data into encrypted data and upload it to the server in real time; the server receives the encrypted data in real time, decrypts the encrypted data to obtain compressed data, decompresses the compressed data to obtain monitoring data, pre-processes the monitoring data to obtain regularized data, analyzes the regularized data to generate a gas network monitoring report, performs early warning operations based on the gas network monitoring report, and stores the regularized data and the gas network monitoring report Backup; that is, through the Internet of Things sensor group, the monitoring data of the gas pipeline network is collected in real time and uploaded periodically for analysis. Compared with traditional manual inspections, it can effectively and timely discover abnormal data in the monitoring data. Combined with the positioning data, equipment number and pipe section number, the faulty pipe section can be quickly located for maintenance. The storage and backup of monitoring data upload, gas pipeline network monitoring report push, regularized data and gas pipeline network monitoring report are all encrypted to prevent data from being stolen and tampered with in plain text. The data is automatically collected, uploaded and stored throughout the process to avoid errors caused by manual recording, which ultimately greatly improves the reliability and timeliness of gas pipeline network management.

[0168] 2. By collecting monitoring data of at least displacement, weight, pressure value, wind direction, wind speed and positioning data of each section of the gas pipeline network, that is, multi-dimensional fault monitoring of the gas pipeline network is carried out through displacement, weight, pressure value, wind direction and wind speed, so as to timely discover potential hidden dangers, and the faulty section can be quickly located through positioning data, thereby improving the operation and maintenance efficiency of the gas pipeline network.

[0169] 3. Collect positioning data simultaneously through GPS locator and Beidou locator, and then take the average of the positioning data collected by the two to effectively improve the positioning accuracy of the pipe section.

[0170] 4. By setting the upload cycle, based on the upload cycle, the collected monitoring data and the corresponding device number are periodically compressed through the differential compression algorithm to obtain compressed data. The upload cycle can be set as needed. The differential compression algorithm uses the difference between adjacent data to reduce the storage space of the data. It is suitable for continuous sensor data. For continuously collected similar data, it can significantly reduce the storage amount of data, thereby greatly reducing the bandwidth occupancy rate and greatly improving the data transmission efficiency.

[0171] 5. Obtain the current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value through the 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on the first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string through the RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on the second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string through the AES algorithm to obtain a fifth-level encrypted string, split the fifth-level encrypted string based on the ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, and perform the encryption according to the formula of "fourth substring + second substring + third substring + first substring". The six-level encrypted string is reassembled in the order of "string", and the six-level encrypted string is encrypted by BLOWFISH algorithm to obtain encrypted data, and the encrypted data is uploaded to the server in real time through SSL protocol; by adding timestamp, time verification can be performed later, and integrity verification can be performed later due to the irreversibility of hash calculation. SSL protocol is a network security protocol, which can improve the security of data transmission. If the corresponding encryption algorithm and data transformation rules are not known, the encrypted data cannot be cracked. At least 13 security measures are taken before and after (timestamp, hash calculation, 3DES algorithm, first displacement, right displacement, RSA algorithm, second displacement, left displacement, AES algorithm, segmentation ratio, reorganization order, BLOWFISH algorithm, SSL protocol) to avoid the theft and tampering of compressed data during upload, which greatly improves the security of upload.

[0172] 6. After interpolating missing values ​​and deleting outliers in the monitoring data, the positioning data collected by the GPS locator and the Beidou locator are averaged to obtain the corrected positioning data. The displacement, weight, pressure value, wind direction, wind speed and corrected positioning data are then converted into a format to effectively improve data quality, facilitate subsequent data analysis, and effectively improve the accuracy of gas pipeline network fault detection.

[0173] 7. Perform big data analysis on regular data through a distributed computing framework, that is, divide the big data analysis task into smaller subtasks and assign them to multiple computers for parallel processing, which can not only improve the computing speed, but also enhance the flexibility and reliability of the system.

[0174] 8. Display the monitoring reports of each gas pipeline network in a carousel on a pre-associated large screen, control the sound and light alarm based on the gas pipeline network monitoring report to issue an early warning, encrypt the gas pipeline network monitoring report into an encrypted report, and push the encrypted report to the pre-associated and authenticated management terminal in real time through the SSL protocol. That is, multi-channel early warning is carried out through large screens, sound and light alarms, and management terminals, effectively improving the timeliness and reliability of early warnings.

[0175] 9. Obtain a first MAC value by performing MAC calculation on the gas pipeline network monitoring report, encrypt the gas pipeline network monitoring report and the first MAC value into initial encrypted data by using the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block by using the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block by using the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block by using the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block by using the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block by using the IDEA algorithm. The first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block are encrypted to obtain an encrypted report, and the encrypted report is pushed in real time to the management terminal that has been pre-associated and authenticated through the SSL protocol; since the MAC calculation is based on a hash function with a secret key, it is more secure than ordinary hash calculations. The SSL protocol is a network security protocol and is also combined with data block encryption. At least 10 security measures are taken (MAC calculation, EdDSA algorithm, random proportional blocking, AES-KW algorithm, RC2 algorithm, ECDSA algorithm, ElGamal algorithm, IDEA algorithm, SSL protocol, identity authentication), which greatly improves the security of the push of gas pipeline network monitoring reports.

[0176] 10. Create a pair of public and private keys through the RSA algorithm, encrypt the public key through the EDA algorithm to obtain a primary key, encrypt the primary key through the 3DES algorithm to obtain a secondary key, perform MAC calculation on the regular data and the gas pipeline monitoring report to obtain a second MAC value, encrypt the regular data, the gas pipeline monitoring report and the second MAC value through the private key to obtain primary encrypted data, map the primary encrypted data through the mapping rule to obtain mapping data, encrypt the mapping data and the secondary key through the ECC algorithm to obtain archived data, and back up the archived data to the blockchain; since the data encrypted by the private key can only be decrypted by the public key, the public key is encrypted multiple times, and the regular data and the gas pipeline monitoring report are also encrypted multiple times. If the corresponding encryption algorithm or data transformation rule is not known, the archived data cannot be cracked. At least 8 security measures (RSA algorithm, public and private keys, EDA algorithm, 3DES algorithm, MAC calculation, mapping rule, ECC algorithm, blockchain) have been taken, which greatly improves the security of storage and backup of regular data and gas pipeline monitoring reports.

[0177] 11. Data security is further improved by adopting different encryption schemes in each link of monitoring data uploading, gas pipeline network monitoring report pushing, data organization and storage and backup of gas pipeline network monitoring reports.

[0178] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A gas pipeline network management method based on Internet of Things perception, characterized in that: The steps include: Step S1, collecting monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through the Internet of Things sensor group; Step S2, periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to the server in real time; Step S3: The server receives the encrypted data in real time, decrypts the encrypted data to obtain compressed data, and decompresses the compressed data to obtain monitoring data; Step S4: the server pre-processes the monitoring data to obtain regularized data; Step S5: The server analyzes the regularized data and generates a gas network monitoring report; Step S6: the server performs an early warning operation based on the gas network monitoring report; Step S7: the server stores and backs up the regularized data and the gas network monitoring report; The step S1 is specifically as follows: The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators; The step S2 is specifically as follows: The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data; Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data; Uploading the encrypted data to the server in real time via the SSL protocol; The step S3 is specifically as follows: The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs time validity verification on the compressed data by using the timestamp; The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

2. A gas pipeline network management method based on Internet of Things perception as claimed in claim 1, characterized in that: The step S4 is specifically as follows: After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

3. A gas pipeline network management method based on Internet of Things perception as claimed in claim 1, characterized in that: The step S5 is specifically as follows: The server performs big data analysis on each of the regular data through a distributed computing framework to obtain analysis results that include at least mutation data, abnormal data, and data change trends, matches the pipe section number of the gas pipeline network corresponding to the mutation data or abnormal data based on the equipment number, and generates a gas pipeline network monitoring report based on the analysis results, equipment number, pipe section number, and analysis time.

4. A gas pipeline network management method based on Internet of Things perception as claimed in claim 1, characterized in that: The step S6 is specifically as follows: The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol; The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows: Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

5. A gas pipeline network management method based on Internet of Things perception as claimed in claim 1, characterized in that: The step S7 is specifically as follows: The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain; The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows: A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

6. A gas pipeline network management system based on Internet of Things perception, characterized by: Includes the following modules: A monitoring data acquisition module, used to collect monitoring data of the gas pipeline network including at least displacement, weight, pressure value, wind direction, wind speed and positioning data in real time through an Internet of Things sensor group; A monitoring data compression and encryption module, used for periodically compressing the collected monitoring data to obtain compressed data, encrypting the compressed data into encrypted data and uploading it to a server in real time; An encrypted data decryption module is used for the server to receive the encrypted data in real time, decrypt the encrypted data to obtain compressed data, and decompress the compressed data to obtain monitoring data; A monitoring data preprocessing module is used for the server to preprocess the monitoring data to obtain regularized data; A data analysis module, used for the server to analyze the regularized data and generate a gas network monitoring report; An early warning operation module, used for the server to perform early warning operations based on the gas pipeline network monitoring report; A storage backup module is used for the server to store and back up the regularized data and the gas network monitoring report; The monitoring data acquisition module is specifically used for: The edge device collects monitoring data of each section of the gas pipeline network in real time, including at least displacement, weight, pressure value, wind direction, wind speed and positioning data, through an IoT sensor group including at least displacement sensors, weight sensors, air pressure sensors, wind direction and wind speed sensors, GPS locators and Beidou locators; The monitoring data compression and encryption module is specifically used for: The edge device sets an upload cycle, and based on the upload cycle, periodically compresses the collected monitoring data and the corresponding device number through a differential compression algorithm to obtain compressed data; Obtain a current timestamp, perform hash calculation on the compressed data and the timestamp to obtain a hash value, encrypt the compressed data, the timestamp and the hash value by using a 3DES algorithm to obtain a first-level encrypted string, right-shift each character in the first-level encrypted string based on a preset first displacement to obtain a second-level encrypted string, encrypt the second-level encrypted string by using an RSA algorithm to obtain a third-level encrypted string, left-shift each character in the third-level encrypted string based on a preset second displacement to obtain a fourth-level encrypted string, encrypt the fourth-level encrypted string by using an AES algorithm to obtain a fifth-level encrypted string, divide the fifth-level encrypted string based on a ratio of 1:3:2:4 to obtain a first substring, a second substring, a third substring and a fourth substring, reassemble in the order of "fourth substring+second substring+third substring+first substring" to obtain a sixth-level encrypted string, and encrypt the sixth-level encrypted string by using a BLOWFISH algorithm to obtain encrypted data; Uploading the encrypted data to the server in real time via the SSL protocol; The encrypted data decryption module is specifically used for: The server receives the encrypted data in real time, decrypts the encrypted data by using the BLOWFISH algorithm to obtain a level-6 encrypted string, divides the level-6 encrypted string based on a ratio of 4:3:2:1 to obtain a fourth substring, a second substring, a third substring and a first substring, and recombines them in the order of "first substring + second substring + third substring + fourth substring" to obtain a level-5 encrypted string, decrypts the level-5 encrypted string by using the AES algorithm to obtain a level-4 encrypted string, right-shifts each character in the level-4 encrypted string based on a preset second shift amount to obtain a level-3 encrypted string, decrypts the level-3 encrypted string by using the RSA algorithm to obtain a level-2 encrypted string, left-shifts each character in the level-2 encrypted string based on a preset first shift amount to obtain a level-1 encrypted string, decrypts the level-1 encrypted string by using the 3DES algorithm to obtain compressed data, a timestamp and a hash value, performs integrity verification on the compressed data and the timestamp by using the hash value, and then performs time validity verification on the compressed data by using the timestamp; The compressed data is decompressed by a differential compression algorithm to obtain monitoring data and device numbers.

7. A gas pipe network management system based on Internet of Things perception as claimed in claim 6, characterized in that: The monitoring data preprocessing module is specifically used for: After the server interpolates missing values ​​and deletes outliers in the monitoring data, it takes the average of the positioning data collected by the GPS locator and the Beidou locator to obtain corrected positioning data, and then converts the format of the displacement, weight, pressure value, wind direction, wind speed and corrected positioning data to complete the preprocessing of the monitoring data and obtain regularized data.

8. A gas pipe network management system based on Internet of Things perception as claimed in claim 6, characterized in that: The data analysis module is specifically used for: The server performs big data analysis on each of the regular data through a distributed computing framework to obtain analysis results that include at least mutation data, abnormal data, and data change trends, matches the pipe section number of the gas pipeline network corresponding to the mutation data or abnormal data based on the equipment number, and generates a gas pipeline network monitoring report based on the analysis results, equipment number, pipe section number, and analysis time.

9. A gas pipe network management system based on Internet of Things perception as claimed in claim 6, characterized in that: The early warning operation module is specifically used for: The server displays each of the gas pipeline network monitoring reports in a pre-associated large-screen carousel, controls the sound and light alarm to issue an early warning based on the gas pipeline network monitoring report, encrypts the gas pipeline network monitoring report into an encrypted report, and pushes the encrypted report in real time to the pre-associated and authenticated management terminal through the SSL protocol; The step of encrypting the gas pipe network monitoring report into an encrypted report is specifically as follows: Perform MAC calculation on the gas pipeline monitoring report to obtain a first MAC value, encrypt the gas pipeline monitoring report and the first MAC value into initial encrypted data through the EdDSA algorithm, divide the initial encrypted data into a first data block, a second data block, a third data block and a fourth data block based on a random ratio, encrypt the first data block through the AES-KW algorithm to obtain a first encrypted data block, encrypt the second data block through the RC2 algorithm to obtain a second encrypted data block, encrypt the third data block through the ECDSA algorithm to obtain a third encrypted data block, encrypt the fourth data block through the ElGamal algorithm to obtain a fourth encrypted data block, and encrypt the first encrypted data block, the second encrypted data block, the third encrypted data block and the fourth encrypted data block through the IDEA algorithm to obtain an encrypted report.

10. A gas pipe network management system based on Internet of Things perception as claimed in claim 6, characterized in that: The storage backup module is specifically used for: The server encrypts the regularized data and the gas network monitoring report into archived data, stores the archived data in a structured manner in a pre-created database, records the index of the archived data in the database, and backs up the archived data to the blockchain; The encryption of the regularized data and the gas network monitoring report into archived data is specifically as follows: A pair of public keys and private keys are created based on the RSA algorithm, the public key is encrypted by the EDA algorithm to obtain a primary key, the primary key is encrypted by the 3DES algorithm to obtain a secondary key, MAC calculation is performed on the regularized data and the gas pipeline monitoring report to obtain a second MAC value, the regularized data, the gas pipeline monitoring report and the second MAC value are encrypted by the private key to obtain primary encrypted data, the primary encrypted data is mapped by a preset mapping rule to obtain mapping data, and the mapping data and the secondary key are encrypted by the ECC algorithm to obtain archived data.

Citation Information

Cited By

  • City drainage pipe network management method and system based on thermodynamic diagram

    CN120068333A