A data security transmission method and system based on smart pipe network

By collecting and encrypting underground pipeline data through smart manhole covers, using graphic coding and splicing encryption technology to generate encrypted image codes, and combining convolutional neural network recognition features for multiple encrypted transmissions, the problem of data transmission security in smart pipe networks is solved and data is realized. Efficient and secure transmission.

CN118214813BActive Publication Date: 2024-08-23CETC BIGDATA RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410606404.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-23
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

There are security issues in data transmission in underground pipelines in smart pipe networks, which can easily lead to data loss and theft. Especially in complex areas with multiple ownership units, traditional wireless transmission methods cannot guarantee data confidentiality.

Method used

Intelligent manhole covers are used for data collection and encryption processing. The data is converted into image codes through graphic coding algorithms and splicing encryption methods. Convolutional neural network recognition features are used for encryption-assisted image generation and splicing fusion. Multiple encryption is performed through physically isolated receivers. transmission to ensure the security of data during transmission.

Benefits of technology

It improves the security of data transmission in smart pipe networks, prevents data loss and theft, and ensures the confidentiality of data during transmission. Data can only be decrypted and obtained through a specific identification network model, which enhances the security of transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214813B
    Figure CN118214813B
Patent Text Reader

Abstract

The present application discloses a data security transmission method and system based on a smart pipe network, which is used to improve the security of data transmission in the smart pipe network. The data security transmission method of the present application includes: using a smart manhole cover to collect underground data of underground pipelines in the jurisdiction area; dividing the underground data; encoding the underground data and the corresponding pipeline number ID by a graphic coding algorithm to generate a data graphic code image; converting the ownership ID into an ownership unit identity image; selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library; copying a data graphic code image; inputting the splicing feature image and the copied data graphic code image into a label fusion generator to generate an encrypted auxiliary image; splicing and fusing the data graphic code image and the encrypted auxiliary image according to the splicing encryption method to generate an encrypted graphic code; displaying the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart pipe networks, and in particular, to a method and system for secure data transmission based on smart pipe networks. Background Art

[0002] Urban integrated pipe network is an important part of urban construction. Strengthening the intelligent management of urban above-ground and underground pipe networks is of great significance to the healthy, safe and orderly development of cities. With the improvement of my country's urbanization level and the development of infrastructure, all cities have built large-scale and complex above-ground and underground integrated pipe network facilities, especially in the prosperous areas of the city center. Under each road, there are more than 20 underground pipelines such as water supply, drainage, gas, heat, electricity, and telecommunications. There is no efficient and suitable management method for the data of different underground lines. This makes it difficult to effectively integrate pipeline resources, resulting in frequent pipeline accidents, untimely emergency rescue, affecting the normal operation of the city, and the pipe network management has developed from extensive to intelligent.

[0003] Nowadays, the smart pipeline network is proposed to accurately detect and locate underground pipelines, implement monitoring and perception of pipeline damage and other faults, and build a comprehensive information platform system for the full life cycle management of underground pipelines, so as to timely warn and deal with abnormalities of underground pipelines to ensure the safety of people's lives and property. Its target is all underground pipelines from entering the city to serving the people's livelihood. Its main vein follows the urban road network (above ground and underground). The intelligent content includes a full life cycle integrated management system of accurate detection, underground identification, comprehensive perception and emergency linkage.

[0004] Traditional underground pipelines need to use data cables for data transmission for data collection. Now, smart manhole covers, as an important part of the smart pipe network, are an innovative product that uses modern scientific and technological means to improve the level of urban management and infrastructure management. Smart manhole covers are equipped with intelligent systems composed of sensors, communication modules, controllers, etc., which can not only realize real-time monitoring and data collection of information such as the manhole cover status, surrounding environment, and traffic conditions, but also respond quickly to abnormal situations and issue alarms and handle them in time. The most important thing is that ordinary manhole covers are widely distributed. After replacing them with smart manhole covers, the smart manhole covers can efficiently collect real-time data generated by sensors of underground pipe networks within a certain area through underground channels without the need to add dedicated data cables.

[0005] However, all cities have built large-scale and complex above-ground and underground integrated pipe network facilities, especially in the prosperous areas of the city center. Under each road, there are more than 20 underground pipelines for water supply, drainage, gas, heat, electricity, telecommunications, etc., and these pipelines belong to different ownership units. The data of the underground pipe network often needs to be transmitted confidentially. At present, after the smart manhole cover collects data, it is sent to a closer receiver through wireless transmission, which can easily cause data loss and data theft, reducing the security of data transmission in the smart pipe network. Summary of the invention

[0006] The present application discloses a data security transmission method and system based on a smart pipe network, which are used to improve the security of data transmission in the smart pipe network.

[0007] The first aspect of the present application discloses a data security transmission method based on a smart pipe network, comprising:

[0008] Use smart manhole covers to collect underground data of underground pipelines within the jurisdiction;

[0009] Divide underground data according to the ownership ID and pipeline number ID of underground pipelines;

[0010] Encode the downhole data and the corresponding pipeline number ID using a graphic encoding algorithm to generate a data graphic code image;

[0011] Convert the ownership ID into the identity image of the ownership unit;

[0012] Selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library according to the ownership ID;

[0013] Make a copy of the data graphic code image;

[0014] Input the spliced ​​feature image and the copied data graphic code image into the label fusion generator to generate an encrypted auxiliary image;

[0015] The data graphic code image and the encryption auxiliary image are spliced ​​and merged according to the splicing encryption method to generate an encrypted graphic code;

[0016] The encrypted graphic code and the identity image of the ownership unit are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the identity image of the ownership unit.

[0017] Optionally, the spliced ​​feature image and the copied data graphic code image are input into a label fusion generator to generate an encrypted auxiliary image, including:

[0018] Perform 1*1 convolution processing on the spliced ​​feature image to generate the first spliced ​​label feature;

[0019] Performing random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature;

[0020] Performing a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature;

[0021] Perform random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature;

[0022] Performing residual extraction and residual fusion processing on the first superimposed feature and the second superimposed feature respectively to generate a first fusion residual and a second fusion residual;

[0023] Perform random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature;

[0024] Performing Gaussian filtering on the third superimposed feature to generate a noise reduction feature;

[0025] The noise reduction features are restored and output to generate an encrypted auxiliary image.

[0026] Optionally, the data graphic code image and the encrypted auxiliary image are spliced ​​and merged according to the splicing encryption method to generate an encrypted graphic code, including:

[0027] A blank image is generated according to the splicing encryption method, and the area of ​​the blank image is larger than the data graphic code image;

[0028] Cutting the data graphic code image according to the splicing encryption method and placing it at a predetermined position in the blank image;

[0029] The encrypted auxiliary image is used to fill the empty parts in the blank image to generate an encrypted graphic code.

[0030] Optionally, after the encrypted graphic code and the ownership unit identity image are displayed by the transmitter of the smart manhole cover so that the physically isolated receiver at the wellside receives and sends the encrypted graphic code to the target ownership unit through the ownership unit identity image, the data security transmission method further includes:

[0031] Receiving the encrypted graphic code through the receiving device of the target ownership unit;

[0032] Determine at least one splicing feature image and a splicing encryption method corresponding to the splicing feature image from a decryption library;

[0033] Copy data graphic code;

[0034] The copied encrypted graphic code and at least one splicing feature image are spliced ​​and merged respectively to generate at least one enhanced graphic code;

[0035] Inputting at least one enhanced graphic code into a convolutional neural network recognizer to recognize splicing features and generate analysis results;

[0036] Determine the target splicing feature image with the highest probability according to the analysis result;

[0037] Use the splicing encryption method corresponding to the target splicing feature image to cut, splice and decrypt the data graphic code to generate a data graphic code image;

[0038] The data graphic code image is decoded using a graphic coding algorithm to generate downhole data and the corresponding pipeline number ID.

[0039] Optionally, the copied encrypted graphic code and at least one splicing feature image are spliced ​​and fused respectively to generate at least one enhanced graphic code, including:

[0040] Perform 1*1 convolution processing on the first spliced ​​feature image to generate the second spliced ​​label feature;

[0041] Perform channel superposition processing on the first spliced ​​feature image and the second spliced ​​label feature to generate a fourth superposition feature;

[0042] Performing a 1*1 convolution operation on the copied encrypted graphic code to generate a convolution feature of the second graphic code;

[0043] Perform channel superposition processing on the copied data graphic code image and the convolution feature of the second graphic code to generate a fifth superposition feature;

[0044] Performing a regional pixel attention generation process and a channel multiplication process on the fourth superposition feature to generate a first processing feature;

[0045] Performing residual extraction and residual fusion processing on the first processed features to generate a third fused residual;

[0046] Channel-superimpose the third fusion residual, the fourth superposition feature, and the fifth superposition feature to generate a second processing feature;

[0047] Performing mean filtering on the second processing feature to generate a third processing feature;

[0048] Allocating attention to each neuron corresponding to the third processing feature, and screening out neurons whose attention is less than a first preset threshold, to generate a fourth processing feature;

[0049] Performing Gaussian filtering on the fourth processing feature to generate a noise reduction feature;

[0050] The noise reduction features are restored and output as an image to generate an enhanced graphic code corresponding to the first spliced ​​feature image;

[0051] According to the above method, the spliced ​​feature image is fused with the encrypted graphic code to generate the corresponding enhanced graphic code.

[0052] Optionally, after dividing the downhole data according to the ownership ID and pipeline number ID of the underground pipeline, encoding the downhole data and the corresponding pipeline number ID by a graphic encoding algorithm, and before generating a data graphic code image, the data security transmission method further includes:

[0053] Obtain the public key of the ownership unit according to the ownership ID. The public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using the homomorphic encryption algorithm;

[0054] Use the public key of the ownership unit to encrypt the downhole data and the corresponding pipeline number ID.

[0055] Optionally, after decoding the data graphic code image using a graphic coding algorithm to generate downhole data and a corresponding pipeline number ID, the data security transmission method further includes:

[0056] Use the private key of the ownership unit to decode the downhole data and the corresponding pipeline number ID.

[0057] The second aspect of the present application discloses a data security transmission system based on a smart pipe network, comprising:

[0058] A collection unit, used to collect underground data of underground pipelines within the jurisdiction area using the intelligent manhole cover;

[0059] A division unit is used to divide the underground data according to the ownership ID and pipeline number ID of the underground pipeline;

[0060] The first generating unit is used to perform graphic coding algorithm encoding on the downhole data and the corresponding pipeline number ID to generate a data graphic code image;

[0061] A conversion unit, used to convert the ownership ID into an identity image of the ownership unit;

[0062] A selection unit, used for selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from an encryption library according to the ownership ID;

[0063] A first copying unit, used to copy a data graphic code image;

[0064] The second generating unit is used to input the spliced ​​feature image and the copied data graphic code image into the label fusion generator to generate an encrypted auxiliary image;

[0065] The third generating unit is used to splice and fuse the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code;

[0066] The display unit is used to display the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the ownership unit identity image.

[0067] Optionally, the second generation unit includes:

[0068] Perform 1*1 convolution processing on the spliced ​​feature image to generate the first spliced ​​label feature;

[0069] Performing random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature;

[0070] Performing a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature;

[0071] Perform random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature;

[0072] Performing residual extraction and residual fusion processing on the first superimposed feature and the second superimposed feature respectively to generate a first fusion residual and a second fusion residual;

[0073] Perform random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature;

[0074] Performing Gaussian filtering on the third superimposed feature to generate a noise reduction feature;

[0075] The noise reduction features are restored and output to generate an encrypted auxiliary image.

[0076] Optionally, the third generation unit includes:

[0077] A blank image is generated according to the splicing encryption method, and the area of ​​the blank image is larger than the data graphic code image;

[0078] Cutting the data graphic code image according to the splicing encryption method and placing it at a predetermined position in the blank image;

[0079] The encrypted auxiliary image is used to fill the empty parts in the blank image to generate an encrypted graphic code.

[0080] Optionally, after the display unit, the data security transmission system further includes:

[0081] A receiving unit, used for receiving the encrypted graphic code through a receiving device of a target ownership unit;

[0082] A first determining unit is used to determine at least one splicing feature image and a splicing encryption method corresponding to the splicing feature image from a decryption library;

[0083] A second copying unit, used for copying the data graphic code;

[0084] A fourth generating unit, used for splicing and fusing the copied encrypted graphic code and at least one splicing feature image to generate at least one enhanced graphic code;

[0085] A fifth generating unit, used for inputting at least one enhanced graphic code into a convolutional neural network recognizer to recognize splicing features and generate an analysis result;

[0086] A second determination unit is used to determine the target splicing feature image with the highest probability according to the analysis result;

[0087] A sixth generating unit, used to cut, splice and decrypt the data graphic code using the splicing encryption method corresponding to the target splicing feature image to generate a data graphic code image;

[0088] The seventh generating unit is used to decode the data graphic code image using a graphic coding algorithm to generate downhole data and a corresponding pipeline number ID.

[0089] Optionally, the fourth generating unit includes:

[0090] Perform 1*1 convolution processing on the first spliced ​​feature image to generate the second spliced ​​label feature;

[0091] Perform channel superposition processing on the first spliced ​​feature image and the second spliced ​​label feature to generate a fourth superposition feature;

[0092] Performing a 1*1 convolution operation on the copied encrypted graphic code to generate a convolution feature of the second graphic code;

[0093] Perform channel superposition processing on the copied data graphic code image and the convolution feature of the second graphic code to generate a fifth superposition feature;

[0094] Performing a regional pixel attention generation process and a channel multiplication process on the fourth superposition feature to generate a first processing feature;

[0095] Performing residual extraction and residual fusion processing on the first processed features to generate a third fused residual;

[0096] Channel-superimpose the third fusion residual, the fourth superposition feature, and the fifth superposition feature to generate a second processing feature;

[0097] Performing mean filtering on the second processing feature to generate a third processing feature;

[0098] Allocating attention to each neuron corresponding to the third processing feature, and screening out neurons whose attention is less than a first preset threshold, to generate a fourth processing feature;

[0099] Performing Gaussian filtering on the fourth processing feature to generate a noise reduction feature;

[0100] The noise reduction features are restored and output as an image to generate an enhanced graphic code corresponding to the first spliced ​​feature image;

[0101] According to the above method, the spliced ​​feature image is fused with the encrypted graphic code to generate the corresponding enhanced graphic code.

[0102] Optionally, after the division unit and before the first generation unit, the data security transmission system further includes:

[0103] An acquisition unit is used to acquire a public key of an ownership unit according to an ownership ID, wherein the public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using a homomorphic encryption algorithm;

[0104] The encryption unit is used to encrypt the downhole data and the corresponding pipeline number ID using the public key of the ownership unit.

[0105] Optionally, after the seventh generation unit, the data security transmission system further includes:

[0106] The decryption unit is used to decode the downhole data and the corresponding pipeline number ID using the private key of the ownership unit.

[0107] The third aspect of the present application provides a data security transmission system based on a smart pipe network, comprising:

[0108] Processor, memory, input-output unit, and bus;

[0109] The processor is connected to the memory, the input and output unit, and the bus;

[0110] The memory stores a program, and the processor calls the program to execute the first aspect and any optional data security transmission method of the first aspect.

[0111] The fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, it executes the first aspect and any optional data security transmission method of the first aspect.

[0112] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0113] In this application, firstly, a smart manhole cover is used to collect downhole data of underground pipelines within the jurisdiction area. The downhole data is divided according to the ownership ID and pipeline number ID of the underground pipeline. The downhole data and the corresponding pipeline number ID are encoded by a graphic coding algorithm to generate a data graphic code image. First, the data is encrypted to the image code. The ownership ID is converted into an identity image of the ownership unit. According to the ownership ID, a splicing encryption method and a splicing feature image corresponding to the splicing encryption method are selected from the encryption library. The splicing encryption method and the splicing feature image corresponding to the splicing encryption method here are determined in advance in the agreement with the ownership unit. At this time, a copy of the data graphic code image is made. The splicing feature image and the copied data graphic code image are input into the label fusion generator to generate an encrypted auxiliary image. That is, the encrypted auxiliary image not only has the characteristics of the data graphic code, but also has the splicing characteristics. The data graphic code image and the encryption auxiliary image are spliced ​​and fused according to the splicing encryption method to generate an encrypted graphic code. Finally, the encrypted graphic code and the identity image of the ownership unit are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the identity image of the ownership unit.

[0114] By splicing and fusing the data graphic code image and the encryption auxiliary image, an encrypted graphic code is generated, so that the encrypted graphic code has a complete data graphic code image, but it is mixed with the encryption auxiliary image. If the reverse splitting and splicing is not performed, the data graphic code image cannot be obtained. In addition, the encryption auxiliary image has both the characteristics of the data graphic code and the splicing characteristics. Ordinary people cannot distinguish which part is the data graphic code image and which part is the encryption auxiliary image, that is, they cannot split and reassemble. Only through a specific recognition network model can we accurately identify what kind of splicing features exist in the image, and then determine the decryption method corresponding to the splicing encryption method according to the splicing features, so as to correctly obtain the data graphic code image and the data in the data graphic code image. In addition, the manhole cover transmits data through physical isolation. It only needs to set up a controller with image receiving function at the side of the well to realize multiple encrypted transmission and improve the security of data transmission in the smart pipe network. BRIEF DESCRIPTION OF THE DRAWINGS

[0115] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0116] Figure 1 This is a structural diagram of a data security transmission method based on a smart pipe network in this application;

[0117] Figure 2 This is a schematic diagram of an embodiment of the first stage of the data security transmission method based on the smart pipe network of the present application;

[0118] Figure 3 This is a schematic diagram of an embodiment of the second phase of the data security transmission method based on the smart pipe network of the present application;

[0119] Figure 4 This is a schematic diagram of an embodiment of the third stage of the data security transmission method based on the smart pipe network of the present application;

[0120] Figure 5 This is a schematic diagram of an embodiment of the fourth stage of the data security transmission method based on the smart pipe network of the present application;

[0121] Figure 6 This is a schematic diagram of an embodiment of the fifth stage of the data security transmission method based on the smart pipe network of the present application;

[0122] Figure 7 This is a schematic diagram of an embodiment of the data security transmission system based on the smart pipe network of the present application;

[0123] Figure 8 This is a schematic diagram of another embodiment of the data security transmission system based on the smart pipe network of the present application;

[0124] Fig. 9 This is a schematic diagram of another embodiment of the data security transmission system based on the smart pipe network of the present application. DETAILED DESCRIPTION

[0125] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0126] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0127] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0128] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0129] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0130] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0131] In the existing technology, it is proposed that the smart pipe network is based on accurate detection and positioning of underground pipelines, implements monitoring and perception of pipeline damage and other faults, and builds a comprehensive information platform system for the full life cycle management of underground pipelines, so as to timely warn and deal with abnormalities of underground pipelines to ensure the safety of people's lives and property. Its object is all underground pipelines from entering the city to serving the people's livelihood. Its main vein follows the urban road network (above and below ground). The intelligent content includes a full life cycle integrated management system of accurate detection, underground identification, comprehensive perception and emergency linkage. Traditional underground pipelines need to use data cables for data transmission for data collection. Now, as an important part of the smart pipe network, smart manhole covers are an innovative product that uses modern scientific and technological means to improve the level of urban management and infrastructure management. Smart manhole covers can not only realize real-time monitoring and data collection of information such as manhole cover status, surrounding environment, and traffic conditions, but also respond quickly to abnormal situations and make alarms and handle them in time. The most important thing is that ordinary manhole covers are widely distributed. After replacing them with smart manhole covers, the smart manhole covers can efficiently collect real-time data generated by sensors of underground pipe networks within a certain area through underground channels, without the need to add dedicated data lines. However, each city has built large-scale and complex above-ground and underground integrated pipe network facilities, especially in the prosperous areas of the city center. Under each road, there are more than 20 underground pipelines such as water supply, drainage, gas, heat, electricity, and telecommunications. These pipelines belong to different ownership units, and the data of underground pipe networks often need to be transmitted confidentially. At present, after the smart manhole cover collects data, it is sent to a closer receiver through wireless transmission, which can easily cause data loss and data theft, reducing the security of data transmission in the smart pipe network.

[0132] Based on this, the present application discloses a data security transmission method and system based on a smart pipe network, which is used to improve the security of data transmission in the smart pipe network.

[0133] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0134] The method of the present application can be applied to a server, a device, a terminal or other devices with logic processing capabilities, and the present application does not limit this. For the convenience of description, the following description is made by taking the execution subject as an example of a terminal.

[0135] See also Figure 1The present application provides an embodiment of a data security transmission method based on a smart pipe network, including:

[0136] 101. Use intelligent manhole covers to collect underground data of underground pipelines within the jurisdiction;

[0137] In this embodiment, the terminal uses a smart manhole cover to collect underground data of underground pipelines within the jurisdiction area. This method does not require the setting of additional data lines and controllers for each sensor of the underground pipeline, and can also realize data collection in the underground space. The smart manhole cover will greatly increase the underground space.

[0138] 102. Divide the underground data according to the ownership ID and pipeline number ID of the underground pipeline;

[0139] After the terminal collection of the smart manhole cover is completed, the underground data needs to be divided according to the ownership ID and pipeline number ID of the underground pipeline. The underground data of different ownership units needs to be managed through the smart manhole cover. At this time, the smart manhole cover is a data processing device that is not connected to the network and is isolated from external data. Only after the data is completely encrypted can it be reconnected to the external network.

[0140] 103. Encode the downhole data and the corresponding pipeline number ID using a graphic encoding algorithm to generate a data graphic code image;

[0141] The terminal encodes the downhole data and the corresponding pipeline number ID using a graphic encoding algorithm to generate a data graphic code image.

[0142] Graphics encoding algorithms are used to convert numbers into information such as color, size, and shape of a graphic, so as to generate a visual graphic.

[0143] Graphic coding algorithms include one-dimensional graphic coding algorithms and two-dimensional graphic coding algorithms. QRCode coding algorithm is a type of two-dimensional graphic coding algorithm, which can generate two-dimensional code graphics, that is, data graphic code images, from numbers.

[0144] 104. Convert the ownership ID into the identity image of the ownership unit;

[0145] The terminal converts the ownership ID into an identity image of the ownership unit. The ownership ID here is not encrypted, but is simply converted into an image that can be received and recognized by the image receiver.

[0146] 105. Select a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library according to the ownership ID;

[0147] The terminal selects a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library according to the ownership ID. The splicing encryption method here is to cut the data graphic code image according to certain rules and then reassemble it. The splicing encryption method also needs to use its associated splicing feature image.

[0148] A stitching feature image is an image that can leave a specific label on the image, such as defect features such as ghosting defects in an image and exposure defects in a photo. It can also be defect features in other fields, such as mura defects in a display screen. It only needs to be able to be displayed on the image but cannot be detected by the naked eye. It can only be recognized by a convolutional neural network recognition model, which is not limited here.

[0149] 106. Copy a data graphic code image;

[0150] 107. Input the spliced ​​feature image and the copied data graphic code image into a label fusion generator to generate an encrypted auxiliary image;

[0151] The terminal copies a data graphic code image, inputs the splicing feature image and the copied data graphic code image into the label fusion generator, and generates an encrypted auxiliary image. The generated encrypted auxiliary image has the characteristics of the image code, that is, it is consistent with the data graphic code image in type, but has a splicing feature that is not easily detected. The splicing feature requires a specially trained convolutional neural network recognition model to be well recognized. After the recognition is completed, the splicing encryption method associated with the splicing feature can be determined and decrypted, otherwise it cannot be decrypted.

[0152] 108. Splice and fuse the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code;

[0153] 109. The encrypted graphic code and the identity image of the ownership unit are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well receives and sends the encrypted graphic code to the target ownership unit through the identity image of the ownership unit.

[0154] The terminal splices and fuses the data graphic code image and the encrypted auxiliary image according to the splicing encryption method to generate an encrypted graphic code. Finally, the terminal displays the encrypted graphic code and the identity image of the ownership unit through the transmitter of the smart manhole cover, so that the physical isolation receiver at the side of the well receives and sends the encrypted graphic code to the target ownership unit through the identity image of the ownership unit. The transmitter of the smart manhole cover is a device that can display images, and the physical isolation receiver at the side of the well can receive the encrypted graphic code and the identity image of the ownership unit, and can directly identify the information of the identity image of the ownership unit, and send the encrypted graphic code to the platform of the ownership unit.

[0155] In this embodiment, first, the smart manhole cover is used to collect the underground data of the underground pipelines in the jurisdiction area. The underground data is divided according to the ownership ID and pipeline number ID of the underground pipeline. The underground data and the corresponding pipeline number ID are encoded by a graphic coding algorithm to generate a data graphic code image. First, the data is encrypted to the image code. The ownership ID is converted into an identity image of the ownership unit. According to the ownership ID, a splicing encryption method and a splicing feature image corresponding to the splicing encryption method are selected from the encryption library. The splicing encryption method and the splicing feature image corresponding to the splicing encryption method here are determined in advance with the ownership unit in the agreement. At this time, a copy of the data graphic code image is copied. The splicing feature image and the copied data graphic code image are input into the label fusion generator to generate an encrypted auxiliary image. That is, the encrypted auxiliary image not only has the characteristics of the data graphic code, but also has the splicing characteristics. The data graphic code image and the encryption auxiliary image are spliced ​​and fused according to the splicing encryption method to generate an encrypted graphic code. Finally, the encrypted graphic code and the identity image of the ownership unit are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the identity image of the ownership unit.

[0156] By splicing and fusing the data graphic code image and the encryption auxiliary image, an encrypted graphic code is generated, so that the encrypted graphic code has a complete data graphic code image, but it is mixed with the encryption auxiliary image. If the reverse splitting and splicing is not performed, the data graphic code image cannot be obtained. In addition, the encryption auxiliary image has both the characteristics of the data graphic code and the splicing characteristics. Ordinary people cannot distinguish which part is the data graphic code image and which part is the encryption auxiliary image, that is, they cannot split and reassemble. Only through a specific recognition network model can we accurately identify what kind of splicing features exist in the image, and then determine the decryption method corresponding to the splicing encryption method according to the splicing features, so as to correctly obtain the data graphic code image and the data in the data graphic code image. In addition, the manhole cover transmits data through physical isolation. It only needs to set up a controller with image receiving function at the side of the well to realize multiple encrypted transmission and improve the security of data transmission in the smart pipe network.

[0157] See also Figure 2 , Figure 3 , Figure 4 , Figure 5 and Figure 6 The present application provides another embodiment of a data security transmission method based on a smart pipe network, including:

[0158] 201. Use intelligent manhole covers to collect underground data of underground pipelines within the jurisdiction;

[0159] 202. Divide the underground data according to the ownership ID and pipeline number ID of the underground pipeline;

[0160] Steps 201 to 202 in this embodiment are similar to steps 101 to 102 in the aforementioned embodiment, and are not described again here.

[0161] 203. Obtain the public key of the ownership unit according to the ownership ID. The public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using a homomorphic encryption algorithm;

[0162] 204. Use the public key of the ownership unit to encrypt the downhole data and the corresponding pipeline ID;

[0163] In this embodiment, the terminal obtains the public key of the ownership unit based on the ownership ID. The public key of the ownership unit is determined by the ownership unit in the protocol. Specifically, the public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using the homomorphic encryption algorithm. The terminal uses the public key of the ownership unit to encrypt the downhole data and the corresponding pipeline number ID, thereby further increasing confidentiality.

[0164] The public key is the non-secret half of a key pair used with a private key algorithm. Public keys are often used to encrypt session keys, verify digital signatures, or encrypt data that can be decrypted with the corresponding private key. The public key and private key are a key pair (i.e., a public key and a private key) obtained through an algorithm, one of which is made public to the outside world, called the public key, and the other is kept by oneself, called the private key. The key pair obtained by this algorithm is guaranteed to be unique worldwide. When using this key pair, if one of the keys is used to encrypt a piece of data, the other key must be used to decrypt it. If the data is encrypted with the public key, it must be decrypted with the private key. If it is encrypted with the private key, it must also be decrypted with the public key, otherwise the decryption will not be successful.

[0165] Homomorphic encryption is a cryptographic technique based on the computational complexity theory of mathematical problems. The homomorphic encrypted data is processed to obtain an output, and the output is decrypted, and the result is the same as the output result obtained by processing the unencrypted original data in the same way. In this embodiment, the public key gpk and the corresponding private key gsk are calculated in advance using the homomorphic encryption algorithm, and the public key gpk and the private key gsk are used for encryption and decryption.

[0166] In this embodiment, the public key and the private key are calculated using a homomorphic encryption algorithm, which may be additive homomorphism, multiplicative homomorphism, mixed multiplicative homomorphism, subtractive homomorphism, division homomorphism, algebraic homomorphism, arithmetic homomorphism, etc., which are not limited here.

[0167] 205. Encode the downhole data and the corresponding pipeline number ID using a graphic encoding algorithm to generate a data graphic code image;

[0168] 206. Convert the ownership ID into an identity image of the ownership unit;

[0169] 207. Selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library according to the ownership ID;

[0170] 208. Copy a data graphic code image;

[0171] Steps 205 to 208 in this embodiment are similar to steps 103 to 106 in the above-mentioned embodiment and will not be described again here.

[0172] 209. Perform 1*1 convolution processing on the spliced ​​feature image to generate a first spliced ​​label feature;

[0173] 210. Perform random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature;

[0174] 211. Perform a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature;

[0175] 212. Perform random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature;

[0176] 213. Perform residual extraction and residual fusion processing on the first superimposed feature and the second superimposed feature respectively to generate a first fusion residual and a second fusion residual;

[0177] 214. Perform random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature;

[0178] 215. Perform Gaussian filtering on the third superimposed feature to generate a noise reduction feature;

[0179] 216. Perform image restoration and output of the noise reduction features to generate an encrypted auxiliary image;

[0180] In this embodiment, the terminal performs 1*1 convolution processing on the spliced ​​feature image to generate a first spliced ​​label feature, and performs random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature. A 1*1 convolution operation is performed on the copied data graphic code image to generate a first graphic code convolution feature, and a random channel superposition processing is performed on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature. In this embodiment, only random channel superposition processing is needed to fully fuse the image features of the two, without the need to select fusion according to specific rules.

[0181] Next, the terminal performs residual extraction and residual fusion processing on the first superimposed feature and the second superimposed feature respectively to generate a first fused residual and a second fused residual. Specifically, the terminal performs residual extraction on the first superimposed feature to generate a first residual, then performs residual extraction on the first residual to generate a second residual, then performs residual extraction on the second residual to generate a third residual, and finally fuses the three residuals according to a preset superposition coefficient to generate the final fused residual, in order to prevent the gradient vanishing and gradient explosion caused by the deepening of the residual network depth, as well as the network overfitting problem. The second superimposed feature is also processed as above.

[0182] The residual is calculated as follows: Assume that the input of the lth residual layer is , the formula is as follows:

[0183]

[0184] is the output of the lth residual layer, F is the residual function, for The residual calculation value of .

[0185] Secondly, It is also the input of the second residual layer. is the output of the l+1th residual layer, and F is the residual function. All outputs are fused to obtain the fused residual.

[0186] The terminal randomly superimposes the first fusion residual, the second fusion residual, the first superposition feature and the second superposition feature to generate a third superposition feature, in order to fully mix the two features. The terminal performs Gaussian filtering on the third superposition feature to generate a noise reduction feature. The noise reduction feature is restored and output to generate an encrypted auxiliary image. Because the features of the graphic code are obvious, and the splicing features cannot be accurately recognized by the naked eye, they can only be accurately judged through the convolutional neural network recognition model.

[0187] 217. Generate a blank image according to the splicing encryption method, wherein the area of ​​the blank image is larger than the data graphic code image;

[0188] 218. Cut the data graphic code image according to the splicing encryption method and place it at a predetermined position in the blank image;

[0189] 219. Fill the blank part of the blank image with the encrypted auxiliary image to generate an encrypted graphic code;

[0190] The terminal generates a blank image according to the splicing encryption method. The area of ​​the blank image is larger than the data graphic code image. Then, the data graphic code image is cut according to the splicing encryption method and placed at a predetermined position in the blank image. The cutting can be uniform or random, but it is necessary to ensure that each piece of the image is larger than a certain volume and the shape needs to be easy to restore.

[0191] The terminal uses an encrypted auxiliary image to fill in the missing parts of the blank image to generate an encrypted graphic code. At this time, because the features of the graphic code are obvious, and the splicing features cannot be accurately identified by the naked eye, the filled parts look indistinguishable to the naked eye and can only be distinguished through a convolutional neural network model.

[0192] 220. Display the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover, so that the physically isolated receiver at the well side receives and sends the encrypted graphic code to the target ownership unit through the ownership unit identity image;

[0193] Step 220 in this embodiment is similar to step 109 in the above embodiment and will not be described again here.

[0194] 221. Receiving the encrypted graphic code through the receiving device of the target ownership unit;

[0195] 222. Determine at least one splicing feature image and a splicing encryption method corresponding to the splicing feature image from the decryption library;

[0196] 223. Copy data graphic code;

[0197] In this embodiment, the terminal receives the encrypted graphic code through the receiving device of the target ownership unit, mainly the platform of the smart pipe network sends it to the device of the target ownership unit.

[0198] The terminal determines at least one splicing feature image and the splicing encryption method corresponding to the splicing feature image from the decryption library, the splicing feature image here corresponds to the splicing feature image in the smart manhole cover, and the splicing encryption method associated with the splicing feature image here also corresponds to the splicing encryption method associated with the splicing feature image in the smart manhole cover. The terminal copies the data graphic code in order to identify the splicing features in the data graphic code.

[0199] 224. Perform 1*1 convolution processing on the first spliced ​​feature image to generate a second spliced ​​label feature;

[0200] 225. Perform channel superposition processing on the first spliced ​​feature image and the second spliced ​​label feature to generate a fourth superposition feature;

[0201] 226. Perform a 1*1 convolution operation on the copied encrypted graphic code to generate a convolution feature of a second graphic code;

[0202] 227. Perform channel superposition processing on the copied data graphic code image and the convolution feature of the second graphic code to generate a fifth superposition feature;

[0203] 228. Performing a regional pixel attention generation process and a channel multiplication process on the fourth superposition feature to generate a first processed feature;

[0204] 229. Perform residual extraction and residual fusion processing on the first processed features to generate a third fused residual;

[0205] 330. Perform channel superposition on the third fusion residual, the fourth superposition feature, and the fifth superposition feature to generate a second processing feature;

[0206] 331. Perform mean filtering on the second processing feature to generate a third processing feature;

[0207] 332. Allocate attention to each neuron corresponding to the third processing feature, and screen out neurons whose attention is less than a first preset threshold, to generate a fourth processing feature;

[0208] 333. Perform Gaussian filtering on the fourth processing feature to generate a noise reduction feature;

[0209] 334. Perform image restoration and output of the noise reduction feature to generate an enhanced graphic code corresponding to the first spliced ​​feature image;

[0210] 335. According to the above method, the spliced ​​feature image is merged with the encrypted graphic code to generate a corresponding enhanced graphic code;

[0211] In this embodiment, the terminal performs a 1*1 convolution process on the first spliced ​​feature image to generate a second spliced ​​label feature. The first spliced ​​feature image and the second spliced ​​label feature are subjected to channel superposition processing to generate a fourth superposition feature. A 1*1 convolution operation is performed on the copied encrypted graphic code to generate a second graphic code convolution feature. The copied data graphic code image and the second graphic code convolution feature are subjected to channel superposition processing to generate a fifth superposition feature. The channel superposition at this time can be either a random channel superposition or a superposition according to a preset rule, which is not limited here.

[0212] The terminal performs regional pixel attention generation processing and channel multiplication processing on the fourth superposition feature to generate a first processing feature. Specifically, the terminal can use the regional pixel attention module RPA to perform regional pixel attention generation processing and channel multiplication processing on the fourth superposition feature. The regional pixel attention module RPA in this step includes a BatchNorm-DefConv-ReLU, a BatchNorm-DefConv, a SigMoid function module and a bilinear interpolation module. BatchNorm-DefConv-ReLU, BatchNorm-DefConv, SigMoid function module and bilinear interpolation module are connected in series in sequence. The BatchNorm-DefConv-ReLU layer and the BatchNorm-DefConv layer here are both commonly used feature processing layers in convolutional neural networks, the SigMoid function is a known function, and the bilinear interpolation operation method is also a known algorithm. The regional pixel attention module RPA is the first attention mechanism. Since a weight is assigned to each regional pixel of the fourth superposition feature, the neural network model pays more attention to the area with obvious splicing features.

[0213] The terminal performs residual extraction and residual fusion processing on the first processing feature to generate a third fused residual, performs channel superposition on the third fused residual, the fourth superimposed feature and the fifth superimposed feature to generate a second processing feature, performs edge reconstruction on the second processing feature to generate a third processing feature. Its purpose is similar to steps 213 to 215 and will not be repeated here.

[0214] The terminal allocates attention to each neuron corresponding to the third processing feature through the attention Dropout module ADO, and screens out neurons whose attention is less than the first preset threshold to generate a fourth processing feature, the purpose of which is to eliminate some invalid neurons.

[0215] In this embodiment, the attention Dropout module ADO is BatchNorm-2*2Conv-LeakyReLU plus BatchNorm-2*2Conv-LeakySigMiod. The third processing feature is input into the attention Dropout module ADO, the neuron output of the attention Dropout module ADO is screened, and the neurons with attention below the threshold are zeroed and screened out.

[0216] The attention-based Dropout method is different from the random method used in general Dropout. It uses attention to retain more important feature information, making the performance and generalization of the convolutional neural network model better.

[0217] The terminal performs Gaussian filtering on the fourth processing feature to generate a noise reduction feature, restores and outputs the noise reduction feature, generates an enhanced graphic code corresponding to the first spliced ​​feature image, and specifically restores and outputs it through the output module Conv_out. And according to the above method, the spliced ​​feature image is fused with the encrypted graphic code to generate a corresponding enhanced graphic code.

[0218] 336. Input at least one enhanced graphic code into a convolutional neural network recognizer to recognize splicing features and generate an analysis result;

[0219] 337. Determine the target splicing feature image with the highest probability according to the analysis result;

[0220] 338. Use the splicing encryption method corresponding to the target splicing feature image to cut, splice and decrypt the data graphic code to generate a data graphic code image;

[0221] 339. Decode the data graphic code image using a graphic coding algorithm to generate downhole data and a corresponding pipeline number ID;

[0222] After the terminal completes the feature enhancement of the image, at least one enhanced graphic code can be input into the convolutional neural network recognizer to identify the splicing features and generate analysis results. The convolutional neural network recognizer here is a convolutional neural network model that has been trained to identify multiple splicing features. The convolutional neural network recognizer can recognize images that have been enhanced with splicing features, which can greatly improve the detection efficiency and quality. The target splicing feature image with the highest probability is determined according to the analysis results, and the terminal uses the splicing encryption method corresponding to the target splicing feature image to cut, splice and decrypt the data graphic code to generate a data graphic code image. Then, the terminal decodes the data graphic code image using a graphic coding algorithm to generate downhole data and the corresponding pipeline number ID.

[0223] 340. Use the private key of the ownership unit to decode the downhole data and the corresponding pipeline number ID.

[0224] The terminal uses the private key of the ownership unit corresponding to the public key of the ownership unit to decode the downhole data and the corresponding pipeline number ID.

[0225] In this embodiment, firstly, the smart manhole cover is used to collect the underground data of the underground pipelines in the jurisdiction area. The underground data is divided according to the ownership ID and pipeline number ID of the underground pipeline. The public key of the ownership unit is obtained according to the ownership ID. The public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using the homomorphic encryption algorithm. The public key of the ownership unit is used to encrypt the underground data and the corresponding pipeline number ID.

[0226] The downhole data and the corresponding pipeline number ID are encoded by a graphic coding algorithm to generate a data graphic code image. First, the data is encrypted into an image code. The ownership ID is converted into an identity image of the ownership unit. According to the ownership ID, a splicing encryption method and a splicing feature image corresponding to the splicing encryption method are selected from the encryption library. The splicing encryption method and the splicing feature image corresponding to the splicing encryption method are determined in advance in the agreement with the ownership unit. At this time, a copy of the data graphic code image is made.

[0227] Perform 1*1 convolution processing on the spliced ​​feature image to generate a first spliced ​​label feature. Perform random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature. Perform 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature. Perform random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature. Perform residual extraction and residual fusion processing on the first superposition feature and the second superposition feature respectively to generate a first fusion residual and a second fusion residual. Perform random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature and the second superposition feature to generate a third superposition feature. Perform Gaussian filtering on the third superposition feature to generate a noise reduction feature. Perform image restoration and output on the noise reduction feature to generate an encryption auxiliary image. That is, the encryption auxiliary image not only has the characteristics of the data graphic code, but also has the splicing feature.

[0228] A blank image is generated according to the splicing encryption method, and the area of ​​the blank image is larger than the data graphic code image. The data graphic code image is cut according to the splicing encryption method and placed at a predetermined position in the blank image. The encrypted auxiliary image is used to fill the blank part of the blank image to generate an encrypted graphic code.

[0229] Finally, the encrypted graphic code and the identity image of the ownership unit are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the identity image of the ownership unit.

[0230] The encrypted graphic code is received by the receiving device of the target ownership unit. At least one splicing feature image and the splicing encryption method corresponding to the splicing feature image are determined from the decryption library. The data graphic code is copied. The first splicing feature image is subjected to 1*1 convolution processing to generate a second splicing label feature. The first splicing feature image and the second splicing label feature are subjected to channel superposition processing to generate a fourth superposition feature. The copied encrypted graphic code is subjected to 1*1 convolution operation to generate a second graphic code convolution feature. The copied data graphic code image and the second graphic code convolution feature are subjected to channel superposition processing to generate a fifth superposition feature. The fourth superposition feature is subjected to regional pixel attention generation processing and channel multiplication processing to generate a first processing feature. The first processing feature is subjected to residual extraction and residual fusion processing to generate a third fused residual. The third fused residual, the fourth superposition feature and the fifth superposition feature are subjected to channel superposition to generate a second processing feature. The second processing feature is subjected to mean filtering to generate a third processing feature. Attention is allocated to each neuron corresponding to the third processing feature, and neurons whose attention is less than the first preset threshold are screened out to generate a fourth processing feature. Perform Gaussian filtering on the fourth processing feature to generate a noise reduction feature. Perform image restoration and output of the noise reduction feature to generate an enhanced graphic code corresponding to the first splicing feature image. Use the splicing feature image and the encrypted graphic code to fuse according to the above method to generate a corresponding enhanced graphic code. Input at least one enhanced graphic code into the convolutional neural network identifier to identify the splicing features and generate an analysis result. Determine the target splicing feature image with the highest probability based on the analysis result. Use the splicing encryption method corresponding to the target splicing feature image to cut, splice and decrypt the data graphic code to generate a data graphic code image. Decode the data graphic code image using a graphic coding algorithm to generate downhole data and the corresponding pipeline number ID.

[0231] Use the private key of the ownership unit to decode the downhole data and the corresponding pipeline number ID.

[0232] By splicing and fusing the data graphic code image and the encryption auxiliary image, an encrypted graphic code is generated, so that the encrypted graphic code has a complete data graphic code image, but it is mixed with the encryption auxiliary image. If the reverse splitting and splicing is not performed, the data graphic code image cannot be obtained. In addition, the encryption auxiliary image has both the characteristics of the data graphic code and the splicing characteristics. Ordinary people cannot distinguish which part is the data graphic code image and which part is the encryption auxiliary image, that is, they cannot split and reassemble. Only through a specific recognition network model can we accurately identify what kind of splicing features exist in the image, and then determine the decryption method corresponding to the splicing encryption method according to the splicing features, so as to correctly obtain the data graphic code image and the data in the data graphic code image. In addition, the manhole cover transmits data through physical isolation. It only needs to set up a controller with image receiving function at the side of the well to realize multiple encrypted transmission and improve the security of data transmission in the smart pipe network.

[0233] Secondly, double encryption of the public key and private key generated by the homomorphic encryption algorithm further increases security.

[0234] See also Figure 7 The present application provides an embodiment of a data security transmission system based on a smart pipe network, including:

[0235] The collection unit 701 is used to collect underground data of underground pipelines in the jurisdiction area using the intelligent manhole cover;

[0236] A division unit 702 is used to divide the underground data according to the ownership ID and pipeline number ID of the underground pipeline;

[0237] The first generating unit 703 is used to perform graphic coding algorithm encoding on the downhole data and the corresponding pipeline number ID to generate a data graphic code image;

[0238] A conversion unit 704, used to convert the ownership ID into an identity image of the ownership unit;

[0239] A selection unit 705 is used to select a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from an encryption library according to the ownership ID;

[0240] The first copying unit 706 is used to copy a data graphic code image;

[0241] The second generating unit 707 is used to input the spliced ​​feature image and the copied data graphic code image into the label fusion generator to generate an encrypted auxiliary image;

[0242] The third generating unit 708 is used to splice and fuse the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code;

[0243] The display unit 709 is used to display the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the ownership unit identity image.

[0244] See also Figure 8 The present application provides another embodiment of a data security transmission system based on a smart pipe network, including:

[0245] The collection unit 801 is used to collect underground data of underground pipelines in the jurisdiction area using the intelligent manhole cover;

[0246] A division unit 802 is used to divide the underground data according to the ownership ID and pipeline number ID of the underground pipeline;

[0247] An acquisition unit 803 is used to acquire a public key of an ownership unit according to the ownership ID, where the public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using a homomorphic encryption algorithm;

[0248] The encryption unit 804 is used to encrypt the downhole data and the corresponding pipeline ID using the public key of the ownership unit;

[0249] The first generating unit 805 is used to perform graphic coding algorithm encoding on the downhole data and the corresponding pipeline number ID to generate a data graphic code image;

[0250] A conversion unit 806, used to convert the ownership ID into an identity image of the ownership unit;

[0251] A selection unit 807 is used to select a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from the encryption library according to the ownership ID;

[0252] The first copying unit 808 is used to copy a data graphic code image;

[0253] The second generating unit 809 is used to input the spliced ​​feature image and the copied data graphic code image into the label fusion generator to generate an encrypted auxiliary image;

[0254] Optionally, the second generating unit 809 includes:

[0255] Perform 1*1 convolution processing on the spliced ​​feature image to generate the first spliced ​​label feature;

[0256] Performing random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature;

[0257] Performing a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature;

[0258] Perform random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature;

[0259] Performing residual extraction and residual fusion processing on the first superimposed feature and the second superimposed feature respectively to generate a first fusion residual and a second fusion residual;

[0260] Perform random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature;

[0261] Performing Gaussian filtering on the third superimposed feature to generate a noise reduction feature;

[0262] The noise reduction features are restored and output to generate an encrypted auxiliary image.

[0263] The third generating unit 810 is used to splice and fuse the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code;

[0264] Optionally, the third generating unit 810 includes:

[0265] A blank image is generated according to the splicing encryption method, and the area of ​​the blank image is larger than the data graphic code image;

[0266] Cutting the data graphic code image according to the splicing encryption method and placing it at a predetermined position in the blank image;

[0267] The encrypted auxiliary image is used to fill the empty parts in the blank image to generate an encrypted graphic code.

[0268] The display unit 811 is used to display the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover, so that the physically isolated receiver at the well side receives and sends the encrypted graphic code to the target ownership unit through the ownership unit identity image;

[0269] The receiving unit 812 is used to receive the encrypted graphic code through the receiving device of the target ownership unit;

[0270] A first determining unit 813 is used to determine at least one splicing feature image and a splicing encryption method corresponding to the splicing feature image from a decryption library;

[0271] The second copying unit 814 is used to copy the data graphic code;

[0272] The fourth generating unit 815 is used to splice and fuse the copied encrypted graphic code and at least one splicing feature image to generate at least one enhanced graphic code;

[0273] Optionally, the fourth generating unit 815 includes:

[0274] Perform 1*1 convolution processing on the first spliced ​​feature image to generate the second spliced ​​label feature;

[0275] Perform channel superposition processing on the first spliced ​​feature image and the second spliced ​​label feature to generate a fourth superposition feature;

[0276] Performing a 1*1 convolution operation on the copied encrypted graphic code to generate a convolution feature of the second graphic code;

[0277] Perform channel superposition processing on the copied data graphic code image and the convolution feature of the second graphic code to generate a fifth superposition feature;

[0278] Performing a regional pixel attention generation process and a channel multiplication process on the fourth superposition feature to generate a first processing feature;

[0279] Performing residual extraction and residual fusion processing on the first processed features to generate a third fused residual;

[0280] Channel-superimpose the third fusion residual, the fourth superposition feature, and the fifth superposition feature to generate a second processing feature;

[0281] Performing mean filtering on the second processing feature to generate a third processing feature;

[0282] Allocating attention to each neuron corresponding to the third processing feature, and screening out neurons whose attention is less than a first preset threshold, to generate a fourth processing feature;

[0283] Performing Gaussian filtering on the fourth processing feature to generate a noise reduction feature;

[0284] The noise reduction features are restored and output as an image to generate an enhanced graphic code corresponding to the first spliced ​​feature image;

[0285] According to the above method, the spliced ​​feature image is fused with the encrypted graphic code to generate the corresponding enhanced graphic code.

[0286] A fifth generating unit 816, configured to input at least one enhanced graphic code into a convolutional neural network recognizer to recognize splicing features and generate an analysis result;

[0287] A second determining unit 817 is used to determine the target splicing feature image with the highest probability according to the analysis result;

[0288] The sixth generating unit 818 is used to cut, splice and decrypt the data graphic code using the splicing encryption method corresponding to the target splicing feature image to generate a data graphic code image;

[0289] The seventh generating unit 819 is used to decode the data graphic code image using a graphic coding algorithm to generate downhole data and a corresponding pipeline number ID;

[0290] The decryption unit 820 is used to decode the downhole data and the corresponding pipeline number ID using the private key of the ownership unit.

[0291] See also Fig. 9 , the present application provides a data security transmission system based on a smart pipe network, including:

[0292] Processor 901 , memory 902 , input-output unit 903 , and bus 904 .

[0293] The processor 901 is connected to the memory 902 , the input and output unit 903 , and the bus 904 .

[0294] The memory 902 stores a program, and the processor 901 calls the program to execute the following steps: Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5 A method for secure data transmission in .

[0295] The present application provides a computer-readable storage medium, on which a program is stored, and when the program is executed on a computer, the program performs the following steps: Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5 A method for secure data transmission in .

[0296] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0297] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0298] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0299] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A data security transmission method based on smart pipe network, It is characterized in that include: Use smart manhole covers to collect underground data of underground pipelines within the jurisdiction; Dividing the underground data according to the ownership ID and pipeline number ID of the underground pipeline; Performing graphic coding algorithm encoding on the downhole data and the corresponding pipeline number ID to generate a data graphic code image; Converting the ownership ID into an identity image of the ownership unit; Selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from an encryption library according to the ownership ID; Copying a copy of the data graphic code image; Perform 1*1 convolution processing on the spliced ​​feature image to generate the first spliced ​​label feature; Performing random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature; Performing a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature; Performing random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature; Performing residual extraction and residual fusion processing on the first superimposed features and the second superimposed features respectively to generate a first fused residual and a second fused residual; Performing random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature; Performing Gaussian filtering on the third superposition feature to generate a noise reduction feature; Perform image restoration and output of the noise reduction features to generate an encrypted auxiliary image; splicing and fusing the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code; The encrypted graphic code and the ownership unit identity image are displayed through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well receives and sends the encrypted graphic code to the target ownership unit through the ownership unit identity image.

2. The data security transmission method according to claim 1, It is characterized in that The data graphic code image and the encryption auxiliary image are spliced ​​and merged according to the splicing encryption method to generate an encrypted graphic code, including: Generate a blank image according to the splicing encryption method, wherein the area of ​​the blank image is larger than the data graphic code image; Cutting the data graphic code image according to the splicing encryption method and placing it at a predetermined position in the blank image; The encrypted auxiliary image is used to fill the vacant part in the blank image to generate an encrypted graphic code.

3. The data security transmission method according to any one of claims 1 to 2, It is characterized in that After the encrypted graphic code and the ownership unit identity image are displayed by the transmitter of the smart manhole cover so that the physically isolated receiver at the wellside receives and sends the encrypted graphic code to the target ownership unit through the ownership unit identity image, the data security transmission method further includes: Receiving the encrypted graphic code through a receiving device of the target ownership unit; Determine at least one splicing feature image and a splicing encryption method corresponding to the splicing feature image from a decryption library; Copying the data graphic code; Splicing and fusing the copied encrypted graphic code and at least one of the splicing feature images to generate at least one enhanced graphic code; Inputting at least one enhanced graphic code into a convolutional neural network recognizer to recognize splicing features and generate analysis results; Determine the target splicing feature image with the highest probability according to the analysis result; Cut, splice and decrypt the data graphic code using the splicing encryption method corresponding to the target splicing feature image to generate the data graphic code image; The data graphic code image is decoded using a graphic coding algorithm to generate the downhole data and the corresponding pipeline number ID.

4. The data security transmission method according to claim 3, It is characterized in that The copied encrypted graphic code and at least one of the splicing feature images are spliced ​​and merged to generate at least one enhanced graphic code, including: Performing 1*1 convolution processing on the first splicing feature image to generate a second splicing label feature; Perform channel superposition processing on the first stitching feature image and the second stitching label feature to generate a fourth superposition feature; Performing a 1*1 convolution operation on the copied encrypted graphic code to generate a convolution feature of a second graphic code; Perform channel superposition processing on the copied data graphic code image and the second graphic code convolution feature to generate a fifth superposition feature; Performing a regional pixel attention generation process and a channel multiplication process on the fourth superposition feature to generate a first processing feature; Performing residual extraction and residual fusion processing on the first processing features to generate a third fused residual; Channel-superimpose the third fusion residual, the fourth superposition feature, and the fifth superposition feature to generate a second processing feature; performing mean filtering on the second processing feature to generate a third processing feature; Allocating attention to each neuron corresponding to the third processing feature, and screening out neurons whose attention is less than a first preset threshold, to generate a fourth processing feature; Performing Gaussian filtering on the fourth processing feature to generate a noise reduction feature; The noise reduction feature is restored and output as an image to generate an enhanced graphic code corresponding to the first spliced ​​feature image; According to the above method, the spliced ​​feature image is fused with the encrypted graphic code to generate a corresponding enhanced graphic code.

5. The data security transmission method according to claim 3, It is characterized in that After the downhole data is divided according to the ownership ID and pipeline number ID of the underground pipeline, the downhole data and the corresponding pipeline number ID are encoded by a graphic encoding algorithm, and before the data graphic code image is generated, the data security transmission method further includes: Obtaining a public key of the ownership unit according to the ownership ID, wherein the public key of the ownership unit and the corresponding private key of the ownership unit are a set of encryption and decryption keys generated in advance using a homomorphic encryption algorithm; The downhole data and the corresponding pipeline number ID are encrypted using the public key of the ownership unit.

6. The data security transmission method according to claim 5, It is characterized in that After decoding the data graphic code image using a graphic coding algorithm to generate the downhole data and the corresponding pipeline number ID, the data security transmission method further includes: The downhole data and the corresponding pipeline number ID are decoded using the private key of the ownership unit.

7. A data security transmission system based on smart pipe network, It is characterized in that include: A collection unit, used to collect underground data of underground pipelines within the jurisdiction area using the intelligent manhole cover; A division unit, used for dividing the downhole data according to the ownership ID and pipeline number ID of the underground pipeline; A first generating unit, used for encoding the downhole data and the corresponding pipeline number ID by a graphic encoding algorithm to generate a data graphic code image; A conversion unit, used to convert the ownership ID into an identity image of the ownership unit; A selection unit, used for selecting a splicing encryption method and a splicing feature image corresponding to the splicing encryption method from an encryption library according to the ownership ID; A first copying unit, used to copy a copy of the data graphic code image; A second generating unit, used for inputting the spliced ​​feature image and the copied data graphic code image into a label fusion generator to generate an encrypted auxiliary image; The second generation unit includes: Perform 1*1 convolution processing on the spliced ​​feature image to generate the first spliced ​​label feature; Performing random channel superposition processing on the spliced ​​feature image and the first spliced ​​label feature to generate a first superposition feature; Performing a 1*1 convolution operation on the copied data graphic code image to generate a first graphic code convolution feature; Performing random channel superposition processing on the copied data graphic code image and the first graphic code convolution feature to generate a second superposition feature; Performing residual extraction and residual fusion processing on the first superimposed features and the second superimposed features respectively to generate a first fused residual and a second fused residual; Performing random channel superposition on the first fusion residual, the second fusion residual, the first superposition feature, and the second superposition feature to generate a third superposition feature; Performing Gaussian filtering on the third superposition feature to generate a noise reduction feature; Perform image restoration and output of the noise reduction features to generate an encrypted auxiliary image; A third generating unit is used to splice and fuse the data graphic code image and the encryption auxiliary image according to the splicing encryption method to generate an encrypted graphic code; The display unit is used to display the encrypted graphic code and the ownership unit identity image through the transmitter of the smart manhole cover, so that the physically isolated receiver at the side of the well can receive and send the encrypted graphic code to the target ownership unit through the ownership unit identity image.

8. The data security transmission system according to claim 7, It is characterized in that The third generation unit includes: Generate a blank image according to the splicing encryption method, wherein the area of ​​the blank image is larger than the data graphic code image; Cutting the data graphic code image according to the splicing encryption method and placing it at a predetermined position in the blank image; The encrypted auxiliary image is used to fill the vacant part in the blank image to generate an encrypted graphic code.