A data deduplication-based underwater acoustic sensor network data encryption transmission system

By employing NTRU multi-key fully homomorphic encryption and dynamic data deduplication, the problems of data security and storage efficiency in underwater acoustic sensor networks are solved, achieving efficient and secure data transmission and deduplication.

CN118413319BActive Publication Date: 2026-11-24SHANGHAI MARITIME UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410433528.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-11
Publication Date
2026-11-24
Estimated Expiration
2044-04-11

AI Technical Summary

Technical Problem

Underwater acoustic sensor networks face challenges in data security and data storage, including limited computing and storage resources, complex key management, data redundancy, and low deduplication efficiency.

Method used

The data is encrypted using a multi-key fully homomorphic encryption method based on NTRU, and combined with a dynamically partitioned data deduplication method. Secondary encryption is performed through data deduplication tag detection and identity-hidden proxy re-encryption to ensure data security and deduplication efficiency.

Benefits of technology

It improves the security and deduplication efficiency of data transmission, prevents data theft, reduces data redundancy, has resistance to quantum attacks, and protects user identity information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413319B_ABST
    Figure CN118413319B_ABST
Patent Text Reader

Abstract

This invention relates to a data encryption transmission system for underwater acoustic sensor networks based on data deduplication, comprising: a data collection module, including a surface relay device and multiple underwater acoustic sensor nodes connected thereto, for collecting data signals and sending them to the surface relay device for segmentation and processing; a computer, connected to the data collection module, for acquiring user identity information and download requests, controlling the surface relay device to encrypt the segmented and processed data signals into ciphertext data and upload it, and decrypting the ciphertext data after secondary encryption at the data storage center to obtain plaintext data; and a data storage center, for receiving user identity information and download requests, storing the uploaded ciphertext data, performing data deduplication on the ciphertext data, and performing secondary encryption on the deduplicated ciphertext data. Compared with existing technologies, this invention has advantages such as resistance to quantum attacks, reduced transmission redundancy, and improved data transmission security and integrity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data security technology, and in particular to a data encryption transmission system for underwater acoustic sensor networks based on data deduplication. Background Technology

[0002] Underwater acoustic sensor networks (ASNs) are networks that connect multiple underwater acoustic sensor nodes using underwater acoustic communication technology. They are typically deployed in underwater environments to monitor various parameters in oceans, lakes, or other bodies of water, such as water temperature, water quality, and water level. With the rapid development of the marine economy, the amount of data collected by ASN nodes is increasing exponentially. However, traditionally, ASNs have faced several challenges in data storage, including issues of data security and data storage capacity.

[0003] In existing technologies, various encryption methods exist for protecting the data security of underwater acoustic sensor networks. Common methods include the use of traditional public-key cryptosystems, such as RSA and elliptic curve cryptography. These methods aim to ensure the security and integrity of data transmission within underwater acoustic sensor networks by encrypting the transmitted data. However, these traditional public-key cryptosystems face several challenges in resource-constrained environments like underwater acoustic sensor networks. First, these systems typically require significant computational and storage resources to perform encryption and decryption operations, while underwater acoustic sensor nodes often have very limited computational and storage capabilities. Second, traditional methods may face the complexity and security issues of key management, especially in dynamic underwater environments where the secure distribution and management of keys can be challenging.

[0004] Furthermore, to enhance data security, existing technologies store data in encrypted form in data storage centers. However, large volumes of data inevitably lead to redundancy, necessitating deduplication. Current deduplication methods identify and remove duplicate data by dividing the data into blocks, calculating hash values, and comparing these hash values ​​with those of known data. However, the granularity of the data blocks affects deduplication efficiency. If the block granularity is too large, data duplication is less likely, resulting in insignificant deduplication; if the block granularity is too small, hash collisions occur, reducing deduplication efficiency. Therefore, to address the problems in existing underwater acoustic sensor network data encryption and deduplication technologies, a more efficient and secure solution is needed. Summary of the Invention

[0005] The purpose of this invention is to provide a data encryption transmission system for underwater acoustic sensor networks based on data deduplication to improve data transmission security.

[0006] The objective of this invention can be achieved through the following technical solutions:

[0007] A data encryption transmission system for underwater acoustic sensor networks based on data deduplication includes a data collection module, a computer, and a data storage center.

[0008] Data collection module: includes a surface relay device and multiple underwater acoustic sensor nodes connected to it. The data collection module is used to collect the data signals collected by the underwater acoustic sensor nodes and send the data signals to the surface relay device for segmentation and processing.

[0009] Computer: Connected to the data collection module, used to obtain user identity information and download requests, encrypt the segmented and organized data signals into ciphertext data and upload it by controlling the water surface relay device, and decrypt the ciphertext data after secondary encryption in the data storage center to obtain plaintext data;

[0010] Data storage center: used to receive user identity information and download requests, store uploaded encrypted data, perform deduplication on the encrypted data, and perform secondary encryption on the deduplicated encrypted data.

[0011] Furthermore, a multi-key fully homomorphic encryption method based on NTRU is used to encrypt the segmented and organized data signal into ciphertext data and upload it.

[0012] Furthermore, the step of encrypting the segmented and organized data signal into ciphertext data and uploading it includes:

[0013] Initialization: Set the safety parameter λ and the cyclic multiplication groups G0 and G1, and define the bilinear mapping. and three safe and collision-resistant hash functions and parameters Where p is a generator. It is a bilinear mapping;

[0014] Generate key pair: based on data signal m i Using the properties of the NTRU one-way function and the discrete Gaussian distribution The public key pk is obtained by calculating the polynomial g in the polynomial. i and private key sk i For all user IDs i Output (pk) i ,sk i );

[0015] Encryption: Enter pk i and m i ,from The sampling polynomial r∈R q and polynomial e∈R q Calculate the ciphertext c of each data block i =hr+ep+mi (mod q)∈R q And output the entire ciphertext c=c add (c1+...c i +...), where R q Let h be a polynomial ring, q be a part of the public key, and c be the modulus. add This is homomorphic addition;

[0016] No certificate signature: Obtain a random number r, calculate parameter u = v r And further calculate the hash value h = H1(c i ID i ,u), S=(r+h)sk i Then the signature is δ=(h,S);

[0017] Send: Send the ciphertext c i Signature, User ID i PK with public key i Send to the data storage center;

[0018] Signature verification: The data storage center verifies the received ciphertext c. i Signature, User ID i PK with public key i Calculation parameters And further calculate the hash value Determine h = h * If the signature verification is successful, the data storage center will accept it; otherwise, the signature verification will fail and the data storage center will reject it.

[0019] Furthermore, the specific steps for generating the key pair include:

[0020] Using the properties of the NTRU one-way function, based on m i Generate the corresponding f′=F(m) i ), where f′ is a part of the private key, and F is the NTRU one-way function;

[0021] From Discrete Gaussian Distribution Given the sampling polynomial g, calculate f = pf' + 1 (mod p), where f is the private key;

[0022] Determine if f and g exist in R. q If yes, repeat all the above steps; otherwise, calculate h = pg / f to obtain the public key pk. i =h, private key sk i =f.

[0023] Furthermore, a data deduplication method based on dynamic partitioning is used to perform data deduplication on the encrypted data.

[0024] Furthermore, the step of performing data deduplication on the encrypted data includes:

[0025] Obtaining Deduplicated Tags: The data storage center obtains the deduplicated tags B uploaded by the computer via the control of the water surface relay equipment. β ;

[0026] Data deduplication: The data storage center will deduplicat B β Compare each deduplication tag with the existing deduplication tags stored in the data storage center, and calculate... Determine ||Δ|| ∞ If the value belongs to [-q / 4, q / 4], then perform overall ownership verification. After successful verification, perform deduplication of the entire data block and return a pointer x and the user's identity information ID to the computer. β If not, proceed to the next step, where B * , These are part of the deduplication label detection and data M. β Overall hash value encryption, data M α Encrypting the overall hash value, ||Δ|| ∞ As part of the deduplication label detection, q is the modulus;

[0027] Value comparison: Data storage center through Compare and determine if there is a match. If the values ​​are the same, further compare the partial hash values ​​bhash until they are not equal, then stop comparing and record the number of comparisons as s, and proceed to the next step. If not, determine B. β This is the first upload; proceed to the next step.

[0028] Comparison by number of comparisons: Compare the number of comparisons s-1 with the minimum number of block repetitions c, and determine if s-1 is less than c. If so, issue an upload command to the computer and receive the relevant data to be uploaded (c). β ||H β ||B β User identity information ID β and its public key pk βi If not, based on the numbers with the same hash value, the data block is further divided to obtain the preprocessed data block {(m β1 ,...m βc ),(m βc ,...,m βb The system performs partial ownership verification and, upon successful verification, returns a pointer x and the public key (pk) corresponding to the data block to the computer. β1 ,...,pkβc ) and upload commands to obtain the relevant data to be uploaded (c β ||H β ||B β User identity information ID β and its public key pk βi , where c β H β Data M β The entire ciphertext, the hash value of the entire ciphertext, m β1 m βc m βb M respectively β The first block of data, M β The c-th block of data, M β The b-th block of data in the dataset.

[0029] Furthermore, the deduplication tags include deduplication tags for the first upload and deduplication tags for repeated uploads. The deduplication tags for repeated uploads include deduplication tags for completely repeated uploads and deduplication tags for partially repeated uploads.

[0030] The steps for determining that the deduplication tag is a deduplication tag uploaded for the first time include:

[0031] By setting the minimum block granularity 'a' and the minimum number of data blocks to be merged 'b', we obtain the preprocessed data blocks 'm' that need to be uploaded. α1 ,...,m αb ;

[0032] Each preprocessed data block is encrypted using an NTRU-based multi-key fully homomorphic encryption method to obtain a public-key / private-key pair (pk). αi ,sk αi ), the ciphertext c of each data block αi and the entire encrypted text c α =(c α1 ||...||c αi ||...||c αb );

[0033] Calculate the overall hash value zhash α =H(M) α ) and the hash value bhash of each data block portion αi =H(m) αi ), hash value H α =H(c α );

[0034] Encrypt the overall hash value and the hash value of each data block separately.

[0035] Calculate the overall deduplication value by sampling the polynomial t from the discrete Gaussian distribution Ψ1n. Deduplication tags are

[0036] B α Uploaded to the data storage center, a computer upload command is returned, and B is determined. α These are the deduplicated tags for the first upload;

[0037] The steps for determining that the deduplication tag is a duplicate upload deduplication tag include:

[0038] By setting the minimum block size β and the minimum number of data blocks to be merged b, we obtain the preprocessed data blocks m that need to be uploaded. β1 ,...,m βb ;

[0039] Each preprocessed data block is encrypted using an NTRU-based multi-key fully homomorphic encryption method to obtain a public-key / private-key pair (pk). βj ,sk βj ), the ciphertext c of each data block βi and the entire encrypted text c β ={c β1 ||...||c βj ||...||c βb};

[0040] Calculate the overall hash value zhash β =H(M) β ) and the hash value bhash of each data block portion βj =H(m) βj ), hash value H β =(c β );

[0041] Encrypt the overall hash value and the hash value of each data block separately.

[0042] From Discrete Gaussian Distribution Using the sampling polynomial t, calculate the overall deduplication value. Deduplication tags are

[0043] B β If the data is uploaded to the data storage center and a computer pointer x is returned, then B is determined. β For deduplication tags of overall duplicate uploads, if the computer pointer x and upload command are returned, then B is determined. β This is a tag for deduplicating partially duplicate uploads.

[0044] Furthermore, the deduplicated ciphertext data is further encrypted and decrypted based on the initial or repeated upload deduplication tags.

[0045] Furthermore, the method used to re-encrypt and decrypt the deduplicated ciphertext data is an identity-hiding proxy re-encryption method.

[0046] Furthermore, the step of performing secondary encryption and decryption on the deduplicated ciphertext data includes:

[0047] If the deduplication tags uploaded by the computer are the same as the deduplication tags uploaded for the first time, then:

[0048] The data storage center receives download requests from computers and user identification information (ID). α , for ID α Perform verification. If the verification is successful, proceed to the next step. If the verification fails, return an error message.

[0049] The data storage center selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). α ||Seed,pk α );

[0050] Based on public key pk α Encrypt the ciphertext data c using the re-encryption key gk. α Encryption is performed to obtain the ciphertext C of the re-encryption key. gk =Encap(pk α (,gk) and proxy ciphertext C α =Encap(gk,c α );

[0051] The data storage center sets the clock t, and sets C gk and C α Send to computer;

[0052] The computer receives the C gk and C α The data storage center uses the private key to store C within time t. gk The initial decryption yields the re-encryption key gk = Decap(sk) α C gk Then, it is decrypted again to obtain the ciphertext c. α =Decap(gk,C α );

[0053] The computer uses the raw private keys sk1, sk2, ... sk N For c α Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated.N )×c∈R q Obtain plaintext M α = u(mod p), where u is a portion of the plaintext, c is the original ciphertext data, and R q It is a polynomial ring;

[0054] If the deduplication tag uploaded by the computer is a duplicate upload deduplication tag, then:

[0055] The data storage center receives download requests from computers and user identity information (ID). β And pointer x, to ID β Perform verification. If the verification is successful, proceed to the next step. If the verification fails, return an error message.

[0056] The data storage center uses pointer x to determine whether it is a whole preprocessed data block after deduplication or a partial preprocessed data block after deduplication.

[0057] If the data is a pre-processed data block after deduplication, the data storage center selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). β ||Seed,pk β ); based on public key pk β Encrypt the ciphertext data c using the re-encryption key gk. β Encryption is performed to obtain the ciphertext C of the re-encryption key. gk =Encap(pk β (,gk) and proxy ciphertext C β =Encap(gk,c β The data storage center sets the clock t, and sets C... gk and C β Send to the computer; the computer receives the C gk and C β The data storage center uses the private key to store C within time t. gk The initial decryption yields the re-encryption key gk = H2(ID). β ||seek,pk β Then, it is decrypted again to obtain the ciphertext c. β =Decap(gk,C β The computer uses the original private keys sk1, sk2, ... sk N For c β Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated. N )×c∈R q Obtain plaintext M β =u(mod p);

[0058] If it is a preprocessed data block after deduplication, locate the data block position using pointer x and extract the ciphertext (c β1 ,...c βc ), and (c β1 ,...c βc ) and (c β(c+1) ,...c βb The complete ciphertext c is obtained by merging the two. β =((c β1 ,...c βc )||(c β(c+1) ,...c βb ))=(c β1 ,...c βc ,c β(c+1) ,...c βb ), for ciphertext c β Perform proxy re-encryption to obtain proxy ciphertext C β The data storage center selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). β ||Seed,pk β ); based on public key pk β Encrypt the ciphertext data c using the re-encryption key gk. β Encryption is performed to obtain the ciphertext C of the re-encryption key. gk =Encap(pk β (,gk); The data storage center sets the clock t, and sets C gk and C β Send to the computer; the computer receives the C gk and C β The data storage center uses the private key to store C within time t. gk The initial decryption yields the re-encryption key gk = H2(ID). β ||seek,pk β Then, it is decrypted again to obtain the ciphertext c. β =Decap(gk,C β The computer uses the original private keys sk1, sk2, ... sk N For c β Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated. N )×c∈R q Obtain plaintext M β =u(modp).

[0059] Compared with the prior art, the present invention has the following beneficial effects:

[0060] (1) The system of the present invention stores the collected data signals in a data storage center after being sorted and encrypted in blocks. The data storage center not only needs to verify the user's identity information for download requests, but also needs to perform secondary encryption, so that attackers cannot steal data through simple replay attacks. Therefore, it can also prevent attackers from obtaining data by replaying previously captured ciphertext. Thus, the system improves the security of the data transmission process.

[0061] (2) The present invention combines NTRU multi-key fully homomorphic encryption technology and certificateless signature technology in the data encryption and uploading stage, which effectively protects the security and privacy of the data, prevents the data from being stolen during transmission, and has a certain resistance to quantum attacks.

[0062] (3) In the data deduplication stage, this invention combines homomorphic computation with dynamic partitioning algorithms to achieve data deduplication, thereby reducing the redundancy in data transmission and improving data transmission efficiency and bandwidth utilization. In addition, dynamic partitioning only occurs when the data headers of preprocessed data blocks are identical, balancing computational overhead and optimizing performance.

[0063] (4) The present invention uses an identity-hiding proxy re-encryption method for secondary encryption, which protects the identity information of the user storing the data and increases the difficulty for attackers to crack the ciphertext. Since the ciphertext generated by each proxy re-encryption is different, attackers cannot obtain the data. At the same time, secondary encryption can also deal with the situation where the current or future encryption algorithm is cracked or the vulnerability is discovered, thereby providing users with a more reliable and secure data download service. Attached Figure Description

[0064] Figure 1 This is a schematic diagram of the overall structure of the system of the present invention;

[0065] Figure 2 This is a model diagram for data deduplication in this invention;

[0066] Figure 3 This is a flowchart of the multi-key fully homomorphic encryption process based on NTRU of the present invention;

[0067] Figure 4 This is a flowchart of the data deduplication process based on dynamic partitioning according to the present invention;

[0068] Figure 5 This is a flowchart of the data download process of the present invention;

[0069] Figure 6 This is a graph showing the relationship between the number of selected data blocks and the success rate of deduplication data block detection in an embodiment of the present invention.

[0070] Figure 7This is a comparison chart of the amount of data stored under the data deduplication method of this invention. Detailed Implementation

[0071] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.

[0072] This embodiment provides a data encryption transmission system for underwater acoustic sensor networks based on data deduplication, such as... Figure 1 As shown, the system includes a data collection module 1, a computer 2, and a data storage center 3.

[0073] Data collection module 1: includes surface relay device 1-2 and multiple underwater acoustic sensor nodes 1-1 connected to it. Surface relay device 1-2 is an aggregator with strong computing power and energy storage, responsible for integrating the data collected by sensor nodes 1-1. Data collection module 1 is used to collect the data signals collected by underwater acoustic sensor nodes 1-1 and send the data signals to surface relay device 1-2 for block processing.

[0074] Computer 2: Connected to the data collection module 1, it is used for user operation. Computer 2 processes user commands, meaning the operations performed by the user below are the operations performed by Computer 2 based on user commands. For example, it encrypts the collected data signal (plaintext data) into ciphertext data and uploads it to the data storage center 3. After deduplication, if the data has not been uploaded before, the user is considered the first uploader; otherwise, they are considered a repeat uploader. Computer 2 decrypts the ciphertext data after secondary encryption based on the user's download request to obtain the plaintext data.

[0075] Data storage center 3 is used to receive and verify user identity information, store uploaded encrypted data, perform deduplication on the encrypted data, and re-encrypt the deduplicated encrypted data. Data storage center 3 is a device with large-capacity storage capabilities, providing data storage services to users. However, as the number of clients increases, the amount of data that needs to be stored also increases. Therefore, in addition to providing storage services, data storage center 3 also undertakes the function of data deduplication.

[0076] According to the aforementioned underwater acoustic sensor network data encryption system, the steps performed by the system include the following:

[0077] Step 1: Data collection, including the following steps:

[0078] Step 1.1: The underwater acoustic sensor node 1-1 is responsible for detecting and collecting data underwater.

[0079] Step 1.2: Organize the collected data and send it to the surface relay device 1-2 according to the user-controlled commands. The surface relay device 1-2 then sends the data to the data storage center 3.

[0080] Furthermore, the underwater acoustic sensor node 1-1 in step 1.1 is described in detail:

[0081] The underwater acoustic sensor node 1-1 is a key component of this invention, used to collect data from the underwater environment and transmit it to the underwater acoustic sensor node 1-2 for further processing and analysis. Specifically, the underwater acoustic sensor node 1-1 collects various data from the underwater environment in real time, including water temperature, water pressure, water quality, and sound information. Through its built-in sensors, the underwater acoustic sensor node 1-1 can efficiently monitor and record various parameters of the underwater environment and convert them into digital signals for processing. Furthermore, the underwater acoustic sensor node 1-1 can operate stably for extended periods under harsh underwater conditions. By employing high-quality materials and reliable components, and through rigorous quality control processes, the underwater acoustic sensor node 1-1 possesses excellent resistance to water pressure, water, and corrosion, ensuring long-term stable data acquisition and transmission.

[0082] Furthermore, the data collection in step 1.1 is described in detail: First, the underwater acoustic sensor node 1-2 ensures that the movement trajectory of the underwater acoustic sensor node 1-1 on the water surface achieves optimal coverage, and adjusts the movement speed and direction of the underwater acoustic sensor node 1-1 as needed. Then, the underwater acoustic sensor node 1-2 sends the collected data to the data storage center 3 to ensure the timeliness and integrity of the data.

[0083] Step 2: Data encryption, including the following steps:

[0084] Underwater acoustic sensor node 1-1 collects underwater data, which is then processed by underwater acoustic sensor node 1-2 and encrypted using a multi-key fully homomorphic encryption method based on NTRU.

[0085] The aforementioned NTRU-based multi-key fully homomorphic encryption method is as follows:

[0086] The system is initializing.

[0087] After the data is processed by underwater acoustic sensor nodes 1-2, the data is divided into blocks as required, and the data blocks are encrypted using a public key to obtain ciphertext.

[0088] Users sign encrypted text without a certificate.

[0089] Users upload encrypted text without certificate signing.

[0090] The data storage center performs signature verification.

[0091] Specifically, such as Figure 3 As shown, the execution steps of the multi-key fully homomorphic encryption method based on NTRU in this embodiment include:

[0092] Step 2.1: In the system initialization phase, the following is specifically included: Given a security parameter λ, G0 and G1 are cyclic multiplicative groups of two p generators. Here, this embodiment defines a bilinear mapping. Define three safe and collision-resistant hash functions: Define parameters

[0093] Step 2.2: Generation of public and private key pairs, specifically including the following steps:

[0094] Step 2.2.1: Utilize the property of the NTRU one-way function to input the plaintext data m collected from underwater. i Generate the corresponding f′=F(m) i ).

[0095] Step 2.2.2: From Discrete Gaussian Distribution We take a sample polynomial g and then calculate f = pf' + 1 (mod p), where p is an integer.

[0096] Step 2.2.3: Determine if f and g exist in R. q If it does not exist, the above two steps need to be repeated; otherwise, calculate h = pg / f to obtain the public key pk. i =h, private key sk i =f.

[0097] Step 2.2.4: For all user IDs i Output (pk) i ,sk i ).

[0098] Step 2.3: Encrypt the plaintext using a public key, specifically including the following steps:

[0099] Step 2.3.1: Input public key pk i and plaintext m i ,from The sampling polynomial r∈R in the distribution q and polynomial e∈R q .

[0100] Step 2.3.2: Calculate the ciphertext c i =hr+ep+m i (mod q)∈R qOutput the ciphertext c = c in the homomorphic addition algorithm. add (c1+...c i +...).

[0101] Step 2.4: Perform certificate-free signing on the encrypted text, which includes the following steps:

[0102] Step 2.4.1: The user randomly selects a random number r, and calculates the parameter u = v. r .

[0103] Step 2.4.2: The user calculates the hash value h = H1(c i ID i ,u), S=(r+h)sk i Then the signature is δ=(h,S).

[0104] Step 2.5: The user will send the encrypted text c i Signature, User ID i Public key pk i Send to data storage center 3.

[0105] Step 2.6: Data storage center 3 performs signature verification, which includes the following steps:

[0106] Step 2.6.1: Data storage center 3, based on the received ciphertext c i Signature, User ID i Identity information, public key PK i Calculation parameters

[0107] Step 2.6.2: Calculate the hash value h based on parameter u′. * =H1(c i ID i ,u′).

[0108] Step 2.6.3: Determine if h = h * If the equation is true, data storage center 3 accepts the data and proceeds to the next step. Otherwise, data storage center 3 rejects the data.

[0109] Furthermore, the properties of the NTRU one-way function in step 2.2.1 are as follows: In simple terms, although the function can be computed in polynomial time, finding its inverse is extremely difficult for a PPT attacker. Definition: Let F: {0,1} * →{0,1} * It is a polynomial-time computable function, if for any PPT opponent A, when There exists a negligible function ε(x):

[0110] Pr[x←{0,1}l ;y=F(x):A(1 l ,y)∈F -1 If (F(x))]<=ε(x), then F is called a one-way function.

[0111] Furthermore, the polynomial in step 2.2.2 is described in detail: The NTRU multi-key fully homomorphic encryption method in the business ring... and R q =Constructed on R / qR, in order to give n greater selectivity and greater safety, this embodiment chooses a polynomial prime power cyclotrigonal polynomial ring. n = d v-1 d is a prime number, q is a prime number, and the polynomial coefficients are R. q It needs to be between [-q / 2, q / 2].

[0112] This embodiment combines NTRU multi-key fully homomorphic encryption technology and certificateless signature technology in the data encryption and uploading stage, which effectively protects the security and privacy of the data, prevents the data from being stolen during transmission, and has a certain degree of resistance to quantum attacks.

[0113] Furthermore, the homomorphism of the NTRU-based multi-key fully homomorphic encryption method is examined, including the following:

[0114] For two different plaintext data m1 and m2 collected underwater, the above encryption method can be used to obtain the public key-private key pair denoted as (pk1, sk1) and (pk2, sk2), ciphertext c1 and ciphertext c2.

[0115] The detailed description of the homomorphic addition test is as follows:

[0116] First, calculate c1 = h1r1 + e1p + m1 (mod q) and c2 = h2r2 + e2p + m2 (mod q); second, add the ciphertexts together. add =c1+c2=h1r1+e1p+m1+h2r2+e2p+m2∈R q Then, the ciphertext c obtained after addition is... add Decrypt using private key f1 and private key f2, and calculate f1 × f2 × c. add =f2pg1r1+f1f2e1p+f1f2m1+f1pg2r2+f1f2e2p+f1f2m2(mod p)=f1f2m1+f1f2m2; Finally, by modulo q, we can get f1f2m1+f1f2m2(mod q)=m1+m2.

[0117] In conclusion, it can be proven that the multi-key fully homomorphic encryption method satisfies homomorphic addition.

[0118] The detailed description of the homomorphic multiplication test is as follows:

[0119] First, calculate c1 = h1r1 + e1p + m1 (mod q) and c2 = h2r2 + e2p + m2 (mod q); second, multiply the ciphertext by c. mult =c1×c2=(h1r1+e1p+m1)×(h2r2+e2p+m2)∈R q Then, the ciphertext c obtained after multiplication is... mult Decrypt using private key f1 and private key f2, and calculate f1 × f2 × c. mult =(f2pg1r1+f1f2e1p+f1f2m1)×(f1pg2r2+f1f2e2p+f1f2m2)(mod p)=f1f2m1m2; Finally, by modulo q, we can get f1f2m1m2(mod q)=m1m2.

[0120] In conclusion, it can be proven that the multi-key fully homomorphic encryption method satisfies homomorphic multiplication.

[0121] Step 3: Data deduplication, including the following steps:

[0122] After the data is encrypted, a data deduplication method based on dynamic partitioning is used to remove duplicates, including the following steps:

[0123] Set parameters for initial data block granularity, minimum number of data blocks to merge, and minimum number of duplicate blocks.

[0124] The data processed by underwater acoustic sensor nodes 1-2 is divided into blocks according to the set initial data block granularity, merged according to the minimum data block merging number, and the hash value is calculated.

[0125] The deduplication tags are uploaded, and the deduplication tags are checked and compared. If there are no duplicates, the data storage center 3 returns an upload command, and the underwater acoustic sensor nodes 1-2 upload the data. Otherwise, the data storage center 3 checks whether it is a duplicate of the overall preprocessed data block. If not, a second partitioning is required. If it is, the data storage center 3 returns a pointer, completing the deduplication at the overall preprocessed data block level.

[0126] Upload the data as required based on the information returned by data storage center 3.

[0127] Specifically, such as Figure 4 As shown, the execution steps of the data deduplication method based on dynamic partitioning in this embodiment include:

[0128] Step 3.1: The user controls underwater acoustic sensor nodes 1-2 to upload deduplication tags, specifically including the following steps:

[0129] During the data upload phase, there are two main scenarios: first-time upload and repeated upload.

[0130] Step 3.1.1: Let the user α controlling the underwater acoustic sensor node 1-2α be data M. α The first uploader's identity information is ID. α Specifically, it includes the following steps:

[0131] Step 3.1.1.1: Divide the underwater data collected by the underwater acoustic sensor node 1-1 into blocks according to the set minimum block granularity 'a' using a dynamic partitioning method. Then, obtain the preprocessed data block 'm' to be uploaded based on the minimum data block merging number 'b'. α1 ,...,m αb .

[0132] Step 3.1.1.2: Each preprocessed data block is encrypted using the encryption method in the NTRU-based multi-key fully homomorphic encryption method. For example, the i-th preprocessed data block is encrypted using Gen(1) encryption. λ ,m αi Encrypt the public key and private key pair (pk) to obtain the public key-private key pair. αi ,sk αi ). In Encap(pk αi ,m i ) Obtain the ciphertext c αi Then the entire ciphertext c α =(c α1 ||...||c αi ||...||c αb ).

[0133] Among them, Gen(1 λ ,m αi The steps include:

[0134] 1:f′←F(m)

[0135] 2: repeat

[0136] 3:

[0137] 4: f = pf' + 1 (mod p)

[0138] 5:until f,g exit in R q

[0139] 6:h=pg / f

[0140] 7:pk=h

[0141] 8:sk=f

[0142] Encap(pkαi ,m i The steps include:

[0143] 1:

[0144] 2: c = hr + ep + m (mod q) ∈ R q .

[0145] Step 3.1.1.3: Calculate the overall hash value zhash α =H(M) α ) and the hash value of each part, bhash αi =H(m) αi ), hash value H α =H(c α ).

[0146] Step 3.1.1.4: Encrypt the overall hash value and the partial hash value separately.

[0147] Step 3.1.1.5: Using the sampling polynomial t, calculate the overall deduplication value. Deduplication tags are

[0148] Step 3.1.1.6: Remove duplicate tags After uploading to data storage center 3, the user receives an upload instruction and can identify themselves as the first uploader, with the deduplication tag being the same as the deduplication tag for the first upload.

[0149] Step 3.1.2: Let the user β controlling the underwater acoustic sensor nodes 1-2β be the data M. β The identity information of the duplicate uploader is ID. β The process should be the same as for the initial uploader, and the data should be calculated accordingly. This is represented as follows: User β needs to upload m preprocessed data blocks. β1 ,...,m βb The public-private key pair for the j-th preprocessed data block is (pk βj ,sk βj The overall ciphertext is c β ={c β1 ||...||c βj ||...||c βb Hash value H β =H(c β The overall hash value and the partial hash value are zhash. β =H(M) β ), bhash βj =H(m) βj The overall hash value is encrypted as follows: Encrypting part of the hash value Overall deduplication value Deduplication tags are Then deduplication tags After uploading to data storage center 3, data storage center 3 returns a pointer x to the user based on the data mapping table, indicating that the user is a complete duplicate uploader, and the deduplication tag is the same as the deduplication tag for complete duplicate uploads. If the user receives pointer x and also receives the upload instruction, then the user is a partial duplicate uploader, and the deduplication tag is the same as the deduplication tag for partial duplicate uploads.

[0150] Step 3.2: Data storage center 3 begins detection to deduplicate the data, such as... Figure 2 As shown, the specific steps include:

[0151] Step 3.2.1: Data storage center 3 receives deduplication tag B β Then, B β The deduplication tags are compared one by one with those stored in data storage center 3, and the calculation is performed.

[0152] Step 3.2.2: Determine ||Δ|| ∞ Whether a value belongs to [-q / 4, q / 4] depends on the following two cases.

[0153] Step 3.2.2.1: If ||Δ|| ∞ If the value is in the range [-q / 4, q / 4], it indicates that the data block is completely duplicated with the data block in data storage center 3. Data storage center 3 performs overall ownership verification. After successful verification, the entire data block can be deduplicated directly, and a pointer x is returned to the user, with the user's identity information ID added to the relevant data. β .

[0154] Step 3.2.2.2: If This indicates that there are no completely duplicate preprocessed data blocks in data storage center 3, so proceed to the next step.

[0155] Step 3.2.3: Data storage center 3 begins to process... There are two possible scenarios when making a comparison.

[0156] Step 3.2.3.1: Data storage center 3 compares... If no matching value is found, it indicates the uploader is a first-time uploader, and an upload command is issued to the user. Upon receiving the upload command, the user begins uploading the relevant data (c β ||H β ||B β ) and user identity information ID β and its public key pk βi .

[0157] Step 3.2.3.2: Data storage center 3 in comparison When a matching value is found, it is compared with the hash values ​​of other parts, bhash, until they are not equal. The comparison is stopped, the number of comparisons is recorded as s, and the next step is performed.

[0158] Step 3.2.4: Compare the number of comparisons s-1 with the minimum number of block repetitions c. There are two possible outcomes.

[0159] Step 3.2.4.1: If the number of comparisons s-1 is less than the minimum block repetition number c, issue an upload command to the user, and the user uploads the relevant data (c). β ||H β ||B β ) and user identity information ID β and its public key pk βi .

[0160] Step 3.2.4.2: When the number of comparisons s-1 is greater than or equal to the minimum block repetition number c, the data block is further divided into two new preprocessed data blocks {(m β1 ,...m βc ),(m βc ,...,m βb Then, data storage center 3 begins partial ownership proof. Upon successful verification, it returns a pointer x and the public key (pk) corresponding to the data block to the user. β1 ,...,pk βc ) and upload commands, users upload relevant data (c β ||H β ||B β ) and user identity information ID β and its public key pk βi Data storage center 3 only stores information that is not duplicated.

[0161] Furthermore, the parameters in step 3.1 are explained in detail: The initial data block granularity *a* is the size at which the data is divided after collection. If the initial data block granularity *a* is too large, it will reduce data deduplication efficiency; if it is too small, it will increase the computational load. The minimum data block merging number *b* is used to merge the divided data blocks into a single preprocessed data block. The minimum block repetition number *c* is used to determine whether a secondary partitioning is necessary. If the repetition number is too small, the increase in computational load from secondary partitioning is greater than the increase in storage efficiency.

[0162] Furthermore, a detailed explanation of the overall ownership proof in step 3.2.2.1 is provided: The overall ownership proof consists of the following three stages. First, challenge information needs to be generated: Since a preprocessed data block contains b data blocks, there are b ciphertexts for each data block. Therefore, d ciphertexts from 1 to b are randomly generated: R = {r1, r2, ..., r...} d} is the challenge message T, where 1 < d < b, r i ≠r j Data storage center 3 encrypts the challenge message. T =Encap(pk β The challenge message (T) is sent to user β. Next, user β must respond to the challenge by decrypting it using their private key: T = Decap(sk). β C T ), calculate the hash value H based on the received challenge message T. proof ={H(r1),H(r2),...,H(r)} d The data is sent to data storage center 3. Finally, ownership verification is performed. Data storage center 3 receives user β's verification information and compares the hash value with the original hash value. If the verification result is true, the user identity information ID of user β is verified. β Add it; otherwise, return an error message. The steps for decapping Decap include:

[0163] 1:u=(sk1×sk2×...×sk N )×c∈R q

[0164] 2: m = u (mod p)

[0165] Furthermore, a detailed explanation is provided for the partial ownership proof in step 3.2.4.2: The partial ownership proof is essentially similar to the overall ownership proof. In the first stage, the range of the number d of ciphertext blocks in the generated partial challenge information T is 1 < d < s. If the verification result in the third stage ownership proof is true, the partial block is satisfied, and a pointer to that partial block will be returned.

[0166] This embodiment employs a combination of homomorphic computation and dynamic partitioning algorithms in the data deduplication stage to achieve data deduplication, thereby reducing data transmission redundancy and improving data transmission efficiency and bandwidth utilization. Furthermore, dynamic partitioning only occurs when the headers of preprocessed data blocks are identical, balancing computational overhead and optimizing performance.

[0167] Step 4: Data download stage, including the following steps:

[0168] When a user wants to download a file from data storage center 3, the data storage center verifies the user's identity and then performs identity-hidden proxy re-encryption on the encrypted text. The user then decrypts the encrypted text to obtain the downloaded data.

[0169] Furthermore, the identity-hiding-based proxy re-encryption method is as follows:

[0170] Users can download encrypted data with pointers.

[0171] The user sends a request to download data.

[0172] After receiving the request, Data Storage Center 3 calculates the re-encryption key by downloading the user's identity information, the identity information of the stored data, and random parameters.

[0173] Data storage center 3 uses a re-encryption key to re-encrypt the ciphertext to obtain the proxy ciphertext.

[0174] Users decrypt the proxy ciphertext into ciphertext within a specified time.

[0175] Users decrypt the ciphertext into plaintext using the original private key.

[0176] The user receives the data and the download is complete.

[0177] Specifically, such as Figure 5 As shown, the execution steps of the identity-hidden proxy re-encryption method in this embodiment include:

[0178] Step 4.1: When the user downloading the data is the first-time uploader, user α, the specific steps include:

[0179] Step 4.1.1: User α sends a download request to data storage center 3 and uploads user identity information ID. α Data storage center 3 receives a request from user α and verifies the user's identity information ID. α If the verification is successful, the data to be downloaded will be re-encrypted by the proxy. Otherwise, data storage center 3 will return an error message to the user.

[0180] Step 4.1.2: Data storage center 3 selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). α ||Seed,pk α )

[0181] Step 4.1.3: Use user α's public key pk α Encrypt the ciphertext c using the re-encryption key gk, and then use the re-encryption key to encrypt the ciphertext c. α Encryption yields the ciphertext C of the re-encryption key. gk =Encap(pk α,gk), proxy ciphertext C α =Encap(gk,c α ).

[0182] Step 4.1.4: Set a clock t in data storage center 3, and set C... gk and C α Send to user α.

[0183] Step 4.1.5: User α receives the information sent by data storage center 3 and will C gk and C α Then, within time t, use the private key to transfer C. gk Decryption yields the re-encryption key gk = Decap(sk) α C gk The ciphertext c is obtained by decrypting it using the re-encryption key gk. α =Decap(gk,C α If the process is not completed within time t, data storage center 3 will return an error message to the user.

[0184] Step 4.1.6: User α uses their existing private keys sk1, sk2, ... sk N For c α Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated. N )×c∈R q Obtain plaintext M α =u(mod p).

[0185] Step 4.2: When the user downloading the data is the duplicate uploader user β, the following steps must be performed:

[0186] Step 4.2.1: User β sends a download request to data storage center 3 and uploads user identity information ID. β And pointer x. Data storage center 3 receives a request from user β and verifies the user's identity information ID. β If the verification fails, data storage center 3 returns an error message to the user. Otherwise, proceed to the next step.

[0187] Step 4.2.2: Data storage center 3 determines whether it is deduplicating the entire preprocessed data block based on pointer x. If so, the process is the same as the data download steps for the first uploader, user α, which is:

[0188] Data storage center 3 receives download requests and user identity information ID from computer 2. β , for ID βVerification is performed. If verification is successful, proceed to the next step. If verification fails, an error message is returned. Data storage center 3 selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). β ||Seed,pk β According to the public key pk β Encrypt the ciphertext data c using the re-encryption key gk. β Encryption is performed to obtain the ciphertext C of the re-encryption key. gk =Encap(pk β (,gk) and proxy ciphertext C β =Encap(gk,c β ), Data storage center 3 sets clock t, and C gk and C β Send to computer 2; computer 2 receives the C gk and C β Data storage center 3 uses the private key to store C within time t. gk The initial decryption yields the re-encryption key gk = H2(ID). β ||seek,pk β Then, it is decrypted again to obtain the ciphertext c. β =Decap(gk,C β Computer 2 uses the original private keys sk1, sk2, ... sk N For c β Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated. N )×c∈R q Obtain plaintext M β =u(modp).

[0189] Step 4.2.3: Data storage center 3 determines that it is partially deduplicating preprocessed data blocks, locates the data block position based on pointer x, and extracts the ciphertext (c β1 ,...c βc ).

[0190] Step 4.2.4: Data storage center 3 will extract the ciphertext (c β1 ,...c βc ) and (c β(c+1) ,...c βb The complete ciphertext c is obtained by merging the two. β =((c β1 ,...c βc )||(c β(c+1) ,...c βb ))=(c β1 ,...c βc ,c β(c+1),...c βb ).

[0191] Step 4.2.5: Process the ciphertext c β Perform proxy re-encryption to obtain proxy ciphertext C β The subsequent download process is the same as that of the initial uploader, that is:

[0192] Data storage center 3 selects a random number seed (Seed) and calculates the re-encryption key gk = H2(ID). β ||Seed,pk β ); based on public key pk β Encrypt the ciphertext data c using the re-encryption key gk. β Encryption is performed to obtain the ciphertext C of the re-encryption key. gk =Encap(pk β ,gk); Data storage center 3 sets clock t, and C gk and C β Send to computer 2; computer 2 receives the C gk and C β Data storage center 3 uses the private key to store C within time t. gk The initial decryption yields the re-encryption key gk = H2(ID). β ||seek,pk β Then, it is decrypted again to obtain the ciphertext c. β =Decap(gk,C β Computer 2 uses the original private keys sk1, sk2, ... sk N For c β Decryption is performed, and u = (sk1 × sk2 × ... × sk) is calculated. N )×c∈R q Obtain plaintext M β =u(mod p)

[0193] Furthermore, the necessity of proxy re-encryption is explained in detail: Proxy re-encryption protects the identity information of users storing data, increasing the difficulty for attackers to crack the ciphertext. Since each proxy re-encryption generates different ciphertext, attackers cannot steal data through simple replay attacks, thus preventing attackers from obtaining data by replaying previously captured ciphertext. At the same time, proxy re-encryption can also address situations where current or future encryption algorithms are cracked or vulnerabilities are discovered.

[0194] Furthermore, the data security and integrity of the system were analyzed: Under NTRU's multi-key fully homomorphic encryption, data storage center 3 stores the ciphertext. The key is generated by a random generator and the user, which avoids malicious attacks. Attackers also find it difficult to directly obtain the plaintext, thus ensuring data security. After downloading the data needed by the user, the user can calculate the desired result using the ciphertext. Then with your original H α A comparison is performed. By checking if they are equal, it can be determined whether data storage center 3 has tampered with the original data, thus ensuring data integrity.

[0195] This embodiment employs an identity-hidden proxy re-encryption method during the data download stage to perform secondary encryption on the ciphertext. This protects the privacy of the user's identity while ensuring the security and integrity of data transmission, thereby providing users with a more reliable and secure data download service.

[0196] To evaluate the effectiveness of the proposed scheme in underwater acoustic sensor network scenarios, this embodiment conducts a comparative study on deduplication data block detection success rate, storage space, communication overhead, computational overhead, and resistance to quantum attacks. Specifically:

[0197] 1. Deduplication Block Detection Success Rate: Assume a user has a preprocessed data block containing b data blocks. During the ownership proof challenge, the user randomly selects d data blocks, the number of corrupted blocks during the challenge response is k, and the number of corrupted blocks that can be detected is w. Then, the probability of detecting at least one corrupted challenge block is: And because the actual data block that the user has is smaller than b, therefore To determine the number of data blocks to select while maintaining a success rate greater than 99%, this embodiment of the invention sets a ratio p between the number of corrupted data blocks k and the number of different selected data blocks d during the challenge-handling process. An iterative method is used to reflect the relationship between the number of selected data blocks and the success rate of deduplication data block detection. Figure 6 As shown. Figure 6 This indicates that the success rate of deduplication block detection increases with the number of data blocks in the challenge. Therefore, when the success rate of deduplication block detection is greater than 99%, according to... It can be calculated that the number of challenge blocks corresponding to p=0.005 is 919, the number of challenge blocks corresponding to p=0.01 is 459, and the number of challenge blocks corresponding to p=0.02 and p=0.1 are 228 and 44 respectively.

[0198] 2. Storage Space: First, the data is divided according to the initial data block granularity. In this embodiment, the minimum data block merging number b = 20 and the minimum block repetition number c = 10 are set. When four users, namely User A, User B, User C, and User D, need to store data blocks in data storage center 3, each user's data block is A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 20, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...}. 20}, B={1,2,3,4,5,6,7,8,9,20,11,12,13,14,15,16,17,18,18,20}, C={1,2,3,4,5,6,7,8,9,20,11,12,13,14,15,16,21,22,23,24}, D={1,2,3,4,5,6,21,22,23,24,25,26,27,28,29,0,1,2,3}. A comparison of the amount of data stored under different data deduplication methods is as follows: Figure 7 As shown. Figure 7 This demonstrates that without data deduplication, data storage center 3 would store 80 data entries. With simple deduplication without secondary partitioning, data storage center 3 stores 60 data entries, saving 25% of storage space. Using the dynamic partitioning method of this embodiment, data storage center 3 only needs to store 44 data entries, saving 45% of storage space, effectively reducing the need to store duplicate data, saving storage space, and improving data storage efficiency.

[0199] 3. Communication Overhead: The communication overhead operations in this embodiment of the invention mainly consist of three parts: initial upload, repeated upload, and data download. The main information for a preprocessed data block that needs to be uploaded or downloaded includes: verifying identity information and size D. ID ciphertext size D C Signature size D QM Ownership challenge message size D TZ Ownership proof message size D ZM Deduplicated tag size D B The size of the public and private keys, D GS Therefore, the communication overhead of this embodiment of the invention is shown in Table 1. Table 1 shows that repeat uploaders have fewer duplicate data than first-time uploaders. Furthermore, this embodiment of the invention does not use traditional trusted third-party servers for data deduplication, thus reducing communication overhead and saving network resources.

[0200] Table 1 Communication Overhead

[0201]

[0202] 4. Computational Overhead: The computational overhead operations in this embodiment of the invention mainly consist of two parts: data upload and data download. Information related to computational overhead during the data upload stage includes: ciphertext generation time T. C Signature generation time T QM The time T for generating deduplication tags B Information related to computational overhead during the data download phase includes: the time T for generating the ownership challenge. TZ Ownership proof time T ZM Re-encryption time T GK Decryption time T JM Therefore, the computational overhead of this embodiment is shown in Table 2:

[0203] Table 2 Calculation Costs

[0204]

[0205] 5. Quantum attack resistance: This embodiment uses multi-key fully homomorphic encryption technology, which has quantum attack resistance, effectively ensuring the security of data transmission, and is very suitable for underwater environments with limited space.

[0206] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0207] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A data encryption transmission system for underwater acoustic sensor networks based on data deduplication, characterized in that, It includes a data collection module (1), a computer (2), and a data storage center (3). Data collection module (1): includes a water surface relay device (1-2) and multiple underwater acoustic sensor nodes (1-1) connected to it. The data collection module (1) is used to collect the data signals collected by the underwater acoustic sensor nodes (1-1) and send the data signals to the water surface relay device (1-2) for block processing. Computer (2): Connected to the data collection module (1), used to obtain user identity information and download requests, encrypt the data signal after block organization into ciphertext data by controlling the water surface relay device (1-2) to use the NTRU-based multi-key fully homomorphic encryption method and upload it, and decrypt the ciphertext data after secondary encryption of the data storage center (3) to obtain plaintext data; Data storage center (3): used to receive user identity information and download requests, store uploaded encrypted data, perform data deduplication processing on the encrypted data using a dynamic partitioning-based data deduplication method, and perform secondary encryption on the deduplicated encrypted data. The steps for performing data deduplication processing on the encrypted data include: Obtaining deduplication tags: Data storage center (3) obtains deduplication tags uploaded by computer (2) through control of water surface relay equipment (1-2). ; Data deduplication: The data storage center (3) will Compare each deduplication tag with the existing deduplication tags stored in the data storage center (3) one by one, and calculate... , ,judge Does it belong to If so, then perform overall ownership verification, and after successful verification, perform deduplication of the entire data block and return a pointer to the computer (2). x and user identity information If not, proceed to the next step, in which... , , These are part of the deduplication label detection and data. Overall hash value encryption, data Encrypting the overall hash value. As part of the deduplication label detection, q Modulus; Value comparison: Data storage center (3) through Compare and determine if there is a match. If the values ​​are the same, then further compare the partial hash values. The comparison continues until the results are not equal, and the number of comparisons is recorded. Proceed to the next step; otherwise, determine... This is the first upload; proceed to the next step. Comparison of frequency: The number of times will be compared. Minimum number of repeated blocks Compare and judge Is it less than If so, then issue an upload command to computer (2) and receive the relevant data to be uploaded. User identity information and its public key If not, based on the number of elements with the same hash value, the data block is further divided to obtain preprocessed data blocks. And perform partial ownership verification, and return a pointer to the computer (2) after successful verification. x The public key corresponding to the data block and upload commands to obtain relevant upload data. User identity information and its public key ,in, , Data respectively The entire ciphertext, the hash value of the entire ciphertext, , , They are respectively The first piece of data in The c-th block of data in The b-th block of data in the dataset.

2. The underwater acoustic sensor network data encryption transmission system based on data deduplication as described in claim 1, characterized in that, The step of encrypting the segmented and organized data signal into ciphertext data and uploading it includes: Initialization: Set security parameters and cyclic multiplication group and Define a bilinear mapping and three safe and collision-resistant hash functions , , and parameters ,in p For generators, It is a bilinear mapping; Generate key pairs: based on data signals Using the properties of the NTRU one-way function and the discrete Gaussian distribution polynomials in g The public key is obtained by calculation. and private key For all users Output ; Encryption: Input and ,from Middle sampling polynomial and polynomial Calculate the ciphertext of each data block and output the complete ciphertext. ,in It is a polynomial ring. As part of the public key, For modulus, This is homomorphic addition; No certificate signature: Get random numbers Calculate parameters And further calculate the hash value. , The signature is ; Send: Send the encrypted text ,sign User identity information and public key Send to the data storage center (3); Signature verification: Data storage center (3) verifies the received ciphertext. ,sign User identity information and public key Calculation parameters And further calculate the hash value. ,judge If the signature verification is successful, the data storage center (3) will accept it; otherwise, the signature verification will fail and the data storage center (3) will reject it.

3. The underwater acoustic sensor network data encryption transmission system based on data deduplication according to claim 2, characterized in that, The specific steps for generating the key pair include: Utilizing the properties of the NTRU one-way function, according to Generate the corresponding ,in As part of the private key, This is a one-way function for NTRU; From Discrete Gaussian Distribution Middle sampling polynomial g ,calculate ,in f For private key; judge , Does it exist? If yes, repeat all the above steps; otherwise, calculate... Obtain the public key private key .

4. The underwater acoustic sensor network data encryption transmission system based on data deduplication according to claim 1, characterized in that, The deduplication tags include deduplication tags for the first upload and deduplication tags for repeated uploads. The deduplication tags for repeated uploads include deduplication tags for completely repeated uploads and deduplication tags for partially repeated uploads. The steps for determining that the deduplication tag is a deduplication tag uploaded for the first time include: Set minimum block size and minimum number of data blocks merged The preprocessed data block to be uploaded is obtained. ; Each preprocessed data block is encrypted using a multi-key fully homomorphic encryption method based on NTRU to obtain a public-key-private key pair. The ciphertext of each data block and the entire encrypted text ; Calculate the overall hash value and the hash value of each data block portion hash value ; Encrypt the overall hash value and the hash value of each data block separately. , ; From Discrete Gaussian Distribution Sampling polynomial Calculate the overall deduplication value The deduplication tag is ; Will Uploaded to the data storage center (3), returned to the computer (2) upload instruction, and determined. These are the deduplicated tags for the first upload; The steps for determining that the deduplication tag is a duplicate upload deduplication tag include: Set minimum block size and minimum number of data blocks merged The preprocessed data block to be uploaded is obtained. ; Each preprocessed data block is encrypted using a multi-key fully homomorphic encryption method based on NTRU to obtain a public-key-private key pair. The ciphertext of each data block and the entire encrypted text ; Calculate the overall hash value and the hash value of each data block portion hash value ; Encrypt the overall hash value and the hash value of each data block separately. , ; From Discrete Gaussian Distribution Sampling polynomial Calculate the overall deduplication value The deduplication tag is ; Will Uploaded to the data storage center (3), if the computer (2) pointer is returned Then determine For deduplication tags of the entire repeated upload, if the computer (2) pointer is returned. And the upload command, then determine This is a tag for deduplicating partially duplicate uploads.

5. A data encryption transmission system for underwater acoustic sensor networks based on data deduplication according to claim 4, characterized in that, The deduplicated ciphertext data is then re-encrypted and decrypted based on the initial or repeated upload deduplication tags.

6. The underwater acoustic sensor network data encryption transmission system based on data deduplication according to claim 5, characterized in that, The method used to re-encrypt and decrypt the deduplicated ciphertext data is an identity-hidden proxy re-encryption method.

7. A data encryption transmission system for underwater acoustic sensor networks based on data deduplication according to claim 6, characterized in that, The steps of encrypting and decrypting the deduplicated ciphertext data a second time include: If the deduplication tag uploaded by computer (2) is the same as the deduplication tag uploaded for the first time, then: Data storage center (3) receives download requests and user identity information from computer (2). ,right Perform verification. If the verification is successful, proceed to the next step. If the verification fails, return an error message. Data storage center (3) Select random number seed Calculate the re-encryption key ; Based on the public key Re-encrypt the key Encrypt the ciphertext data using the re-encryption key. Encryption is performed to obtain the ciphertext of the re-encryption key. and proxy ciphertext ; Data storage center (3) sets the clock ,Will and Send to computer (2); Computer (2) receives the and Data storage center (3) in Use the private key within the time limit The initial decryption yields the re-encryption key. Then, it is decrypted again to obtain the ciphertext. ; Computer (2) uses the original private key right Decrypt and calculate Obtain plaintext ,in, u As part of the plaintext, c For the original encrypted data, R q It is a polynomial ring; If the deduplication tag uploaded by computer (2) is a duplicate upload deduplication tag, then: Data storage center (3) receives download requests from computers and user identity information. and pointers ,right Perform verification. If the verification is successful, proceed to the next step. If the verification fails, return an error message. Data storage center (3) according to pointer x Determine whether the data is a complete preprocessed data block after deduplication or a partial preprocessed data block after deduplication. If it is a preprocessed data block after deduplication, the data storage center (3) receives the download request and user identity information from the computer (2). ,right Verification is performed. If the verification is successful, proceed to the next step. If the verification fails, return an error message. The data storage center (3) selects a random number seed. Calculate the re-encryption key According to the public key Re-encrypt the key Encrypt the ciphertext data using the re-encryption key. Encryption is performed to obtain the ciphertext of the re-encryption key. and proxy ciphertext Data storage center (3) sets the clock ,Will and Send to computer (2); computer (2) receives the and Data storage center (3) in Use the private key within the time limit The initial decryption yields the re-encryption key. Then, it is decrypted again to obtain the ciphertext. The computer (2) uses the original private key. right Decrypt and calculate Obtain plaintext ; If it is a preprocessed data block after deduplication, according to the pointer Locate the data block and extract the ciphertext. and will and Merging yields the complete ciphertext. , for ciphertext Perform proxy re-encryption to obtain proxy ciphertext The data storage center (3) receives the download request and user identity information from the computer (2). ,right Verification is performed. If the verification is successful, proceed to the next step. If the verification fails, return an error message. The data storage center (3) selects a random number seed. Calculate the re-encryption key According to the public key Re-encrypt the key Encrypt the ciphertext data using the re-encryption key. Encryption is performed to obtain the ciphertext of the re-encryption key. Data storage center (3) sets the clock ,Will and Send to computer (2); computer (2) receives the and Data storage center (3) in Use the private key within the time limit The initial decryption yields the re-encryption key. Then, it is decrypted again to obtain the ciphertext. The computer (2) uses the original private key. right Decrypt and calculate Obtain plaintext .

Citation Information

Patent Citations

  • Multi-encryption based data transmission method

    CN108683647A

  • Intelligent contract method for data communication based on block chain

    CN116668167A