Distributed storage method, system, device and storage medium based on RCRT

By adopting a distributed storage method based on RCRT in wireless sensor networks and using the robust Chinese remainder theorem to compress and reconstruct sensing data, the problems of limited storage resources of sensor nodes and insufficient tolerance of measurement errors are solved, and high coding is achieved. rate and reliability of transmission.

CN116016571BActive Publication Date: 2024-10-25UNIV OF SCI & TECH OF CHINA
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202211703923.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-10-25
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

Existing Technology In wireless sensor networks, sensor nodes have limited storage resources, and it is difficult to simultaneously meet the requirements of high coding rate, reliability and tolerance of measurement errors.

Method used

Using a distributed storage method based on RCRT, the sensing data is compressed and reconstructed by selecting prime numbers as modulus, and the robust Chinese remainder theorem is used to achieve reliable transmission and recovery of data.

Benefits of technology

It achieves the ability to save storage resources, improve coding rate, provide lightweight encryption and tolerate small measurement errors, and is suitable for the actual needs of wireless sensor networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016571B_ABST
    Figure CN116016571B_ABST
Patent Text Reader

Abstract

The present invention discloses a distributed storage method, system, device and storage medium based on RCRT, and the related methods include: selecting prime numbers according to the number of source nodes to form the modulus corresponding to each source node; each source node senses the measured physical data, and compresses the sensed data in combination with its own modulus, and then stores and transmits the compressed sensed data to a mobile base station; the mobile base station receives the compressed sensed data of a part of the source nodes, selects any compressed sensed data as a reference for adjustment, obtains the adjusted data, and then reconstructs the sensed data using RCRT. The above scheme is a distributed storage scheme that simultaneously meets the limited storage resources of sensor nodes, reliability, lightweight encryption, a high coding rate, and tolerance to small measurement errors. It can solve the problem of data stream loss caused by limited storage resources of sensor nodes in real situations and the large gap between the recovered data and the true value of the measured physical quantity due to measurement error interference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed storage technology, and in particular to a distributed storage method, system, device and storage medium based on RCRT. Background Art

[0002] Wireless sensor networks (WSNs) are multi-hop self-organizing network systems that have been successfully applied in different fields such as data collection, security monitoring and smart factories. In order to improve the perception accuracy and coverage, a large number of sensor nodes are usually deployed in the monitoring area. The high density makes the same physical quantity measured by multiple Source nodes, generating the same or similar data streams and saving them in each Source node. Wireless sensor networks are usually deployed in harsh environments that are unfavorable to humans. A mobile base station, such as a drone, can be used to poll and access the Source node, and the perception data of the Source node can be downloaded through wireless communication. Since the energy, storage and computing resources of the Source node are limited, in order to avoid data stream loss due to insufficient storage, the data can be split into fragments, each of which is a compression of perception data.

[0003] In order to solve the storage problem caused by the limited storage resources of Source nodes in high-density scenarios, distributed storage technology based on residue number system encoding came into being. In 2012, Chessa et al. proposed a distributed storage solution based on the Residue Number System with Nonpairwise-Prime Moduli (RNS-NPM), which achieved good results. Since the amount of stored data is greatly reduced, the data flow loss caused by limited storage resources is effectively reduced. In addition, the solution also has the characteristics of reliability, lightweight encryption, and tolerance of measurement errors.

[0004] However, there are some problems with Chessa et al.'s scheme, the most important of which is that the upper bound of the coding rate in the scheme is only 1 / 2, so the perceived data can be further compressed. To address this problem, researchers have proposed distributed storage schemes based on the Chinese Remainder Theorem. For example, in 2020, Yatskiv et al. proposed a reliable distributed storage scheme based on the Redundant Residue Number System (RRNS). The upper bound of the coding rate of this scheme can reach 1, and it can also meet reliability and lightweight encryption. However, the Chinese Remainder Theorem is not robust, that is, it requires that the data perceived by all Source nodes is the same, which is difficult to guarantee in reality due to the interference of perception accuracy and various faults.

[0005] Therefore, it is necessary to design a distributed storage solution that can simultaneously meet the requirements of limited storage resources of sensor nodes, reliability, lightweight encryption, high coding rate and tolerance to measurement errors. Summary of the invention

[0006] The purpose of the present invention is to provide a distributed storage method, system, device and storage medium based on RCRT, which is a distributed storage solution that simultaneously meets the limited storage resources of sensor nodes, reliability, lightweight encryption, higher coding rate and tolerance to small measurement errors.

[0007] The objective of the present invention is achieved through the following technical solutions:

[0008] A distributed storage method based on RCRT, comprising:

[0009] Select a corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node;

[0010] Each source node senses the measured physical data, compresses the sensed data based on its own modulus, and then stores and transmits the compressed sensed data to the mobile base station;

[0011] After receiving the compressed sensing data of a part of the source nodes, the mobile base station selects the compressed sensing data of any source node as a reference, adjusts the received compressed sensing data based on RCRT, and reconstructs the sensing data using the adjusted data. RCRT stands for the Robust Chinese Remainder Theorem.

[0012] A distributed storage based on RCRT includes:

[0013] The modulus selection part selects the corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node;

[0014] In the perception data compression and storage part, each source node perceives the measured physical data, compresses the perception data based on its own modulus, and then stores and transmits the compressed perception data to the mobile base station;

[0015] In the perception data reconstruction part, after the mobile base station receives the compressed perception data of a part of the source nodes, it selects the compressed perception data of any source node as a reference, adjusts the received compressed perception data based on RCRT, and reconstructs the perception data using the adjusted data. RCRT stands for the robust Chinese remainder theorem.

[0016] A processing device, comprising: one or more processors; a memory for storing one or more programs;

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned method.

[0018] A readable storage medium stores a computer program, which implements the above method when the computer program is executed by a processor.

[0019] It can be seen from the technical solution provided by the present invention that: 1) storage resources are saved: each source node only stores compressed data, that is, fragments of perception data; 2) reliability: the problem of fragment erasure caused by failures or unreliability of the wireless network can be tolerated; 3) lightweight encryption: the compression of perception data by the source node is essentially a lightweight encryption. If the corresponding modulus is not known, the perception data cannot be obtained even if the fragment is obtained; 4) higher coding rate: compared with the solution of Chessa et al., the coding rate has been improved, and the length of the fragment has been further shortened; 5) measurement error tolerance: compared with the solution of Yatskiv et al., small measurement errors can be tolerated, which is more in line with the actual needs of wireless sensor networks. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 A flowchart of a distributed storage method based on RCRT provided in an embodiment of the present invention;

[0022] Figure 2 A schematic diagram of a distributed storage system based on RCRT provided in an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of a processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.

[0025] First, the terms that may be used in this article are explained as follows:

[0026] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.

[0027] The following is a detailed description of a distributed storage method, system, device and storage medium based on RCRT provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If no specific conditions are specified in the embodiments of the present invention, they shall be carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer.

[0028] Embodiment 1

[0029] The embodiment of the present invention provides a distributed storage method based on RCRT (robust Chinese Remainder Theorem), which is a distributed storage solution that meets the requirements of limited storage resources of sensor nodes, reliability, lightweight encryption, high coding rate and tolerance of small measurement errors, and solves the problems of data stream loss caused by limited storage resources of sensor nodes in real situations and the large gap between the recovered data and the real value of the measured physical quantity caused by measurement error interference. Figure 1 As shown, the method mainly includes the following steps:

[0030] 1. Select the corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node.

[0031] This step is mainly to select the modulus. Let the number of source nodes be n, and select n pairs of different prime numbers Γi i , 1i≤n, then the modulus M corresponding to the i-th source node i =mΓi i , where m>4μ, μ is a known positive integer.

[0032] Considering that some source nodes may fail or the unreliability of the wireless network during the download process may cause the mobile base station to be unable to access some fragments, these fragments are considered to be erased. Assuming that at most f < n fragments are erased, that is, f source nodes are working abnormally, all measurement errors are small errors, in order to obtain a reasonable approximation of the true value of the measured physical quantity, it is necessary to make the true value X of the measured physical quantity satisfy X∈[μ,B), where the parameter quantity lcm(.) represents the least common multiple function, T = (M1, M2, ..., M n ), that is, the set of moduli corresponding to all source nodes; nf means that the mobile base station receives compressed sensing data from nf source nodes. It means selecting a subset with a basis of nf from the set T, S represents the set consisting of the modulus of nf source nodes, and |S| represents the number of elements in the set S.

[0033] 2. Each source node senses the measured physical data, compresses the sensed data based on its own modulus, and then stores and transmits the compressed sensed data to the mobile base station.

[0034] In the embodiment of the present invention, in order to save storage resources, the sensed data will be compressed by the source node. Due to the existence of measurement error, for the i-th source node, its sensed data is X i =X+e i , e i is the measurement error of the i-th source node; the i-th source node compresses the sensed data based on its own modulus: in, represents the compressed sensing data of the i-th source node, r i It represents the compressed perception data when there is no measurement error. mod is the remainder function. The symbol ≡ combined with the symbol mod represents the meaning of congruence. M i is the modulus corresponding to the i-th source node.

[0035] 3. After receiving the compressed sensing data of a part of the source nodes, the mobile base station selects the compressed sensing data of any source node as a reference, adjusts the received compressed sensing data based on RCRT (Robust Chinese Remainder Theorem), and reconstructs the sensing data using the adjusted data.

[0036] Assume that the mobile base station receives a total of k ≥ nf compressed sensing data. Without loss of generality, assume that it is the first k remainders and record the compressed sensing data of k source nodes as the set The modulus of k source nodes is denoted as set T A =(M1,M2,…,M k ),in, M s They represent the compressed sensing data and modulus of the s-th source node, 1s≤k.

[0037] The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s,A)=(λ1,λ2,…,λ k ), where λ sRepresents the compressed sensing data of the sth source node after adjustment; constructs a group of congruence equations using the adjusted data G(s,A), and uses RCRT to solve the solution of the group of congruence equations That is, the reconstructed perception data; specifically:

[0038] 1) The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s,A)=(λ1,λ2,…,λ k )include:

[0039] calculate:

[0040]

[0041] Where m>4μ, μ is a known positive integer, mod is the remainder function, Represents the compressed sensing data of the lth source node.

[0042] Then, calculate:

[0043]

[0044]

[0045] in, Indicates rounding up. ξ ss , sl All are intermediate parameters.

[0046] Then calculate:

[0047]

[0048] Among them, λ l is the compressed sensing data of the lth source node after adjustment;

[0049] Finally, the compressed sensing data of k source nodes after adjustment λ1,λ2,…,λ k , and the adjusted data G(s,A)=(λ1,λ2,…,λ k ).

[0050] 2) Use the adjusted data G(s,A) to construct a system of congruence equations and use RCRT to solve the system of congruence equations include:

[0051] Use the adjusted data G(s,A) to construct a system of congruence equations:

[0052]

[0053] Using RCRT to solve the congruence equations

[0054] Among them, the parameters Parameter r c ≡λ l (mod m), parameters Γ l To calculate the modulus M l The prime number selected when parameter μ is a known positive integer, and mod is the remainder function.

[0055] Perception data reconstructed by mobile base stations so Right now is a reasonable approximation of X.

[0056] The principle of RCRT involved in the above solution of the present invention is introduced below.

[0057] For the following congruence equations:

[0058]

[0059] right Let modulus M i =mΓi i , where m>1 and Γi i are pairwise different prime numbers, then gcd(M i ,M j )=m, where lcm(.) represents the function of the least common multiple, and gcd(.) represents the function of the greatest common divisor.

[0060] Let R = (r1, r2, ..., r n ), according to the generalized Chinese remainder theorem, if R is consistent, that is, m|(r i -r j ), that is, m divides (r i -r j ), then the above system of equations has a unique solution X, X∈[0,M).

[0061] When the remainder has no error, the original value X can be restored; however, since the source node is measured independently, an independent measurement error e will be introduced i The remainder is set up The positive integer μ satisfies 4μ<m. i)≤μ is a small error, otherwise it is an unlimited error, where abs(.) represents the absolute value. Assuming that the measurement errors are all small errors, the recovered value is There may be a large error compared to the original value X or the system of equations may not have a solution at all, so you need to pick a remainder As a reference, the adjusted value is obtained and recorded as The process is as follows:

[0062] Without loss of generality, the first remainder, s=1, is used as a reference for calculation:

[0063] 1) Calculation:

[0064]

[0065] 2) Calculate according to formula (3):

[0066] Indicates rounding up

[0067]

[0068] 3) Calculate the new remainder according to formula (4):

[0069]

[0070] According to the adjustment process, there are according to We get a new system of congruence equations:

[0071]

[0072] According to the adjustment process, is consistent, and according to the generalized Chinese remainder theorem, it can be uniquely solved And satisfy Therefore, satisfying of is a reasonable approximation of X.

[0073] The above solution of the present invention is introduced below with reference to a specific example.

[0074] 1. Selection of module.

[0075] Assume that the measured physical quantity is X = 3456789, there are n = 5 source nodes, μ = 4, and f = 1. According to μ and X, take m = 17, Γ1 = 17, Γ2 = 19, Γ3 = 23, Γ4 = 29, Γ5 = 31, then M1 = 289, M2 = 323, M3 = 391, M4 = 493, M5 = 527, T = (M1, M2, ..., M5), so

[0076] 2. Compression of perception data.

[0077] Without loss of generality, assume that the measurement errors are e1 = -4, e2 = -2, e3 = 1, e4 = 3, e s =2, so we have

[0078] 3. Reconstruction of perception data.

[0079] Without loss of generality, assume that the data of the fifth source node is erased, so the mobile base station receives Assume that the mobile base station is selected As a reference, we adjust:

[0080]

[0081]

[0082]

[0083] Based on the above information, the mobile base station calculates:

[0084]

[0085]

[0086]

[0087]

[0088] Afterwards, the mobile base station calculates:

[0089]

[0090]

[0091]

[0092]

[0093] Finally, the mobile base station calculates G(s,A)=(λ1,λ2,λ3,λ4).

[0094] It is easy to see that G(s,A) is consistent, so according to the generalized Chinese remainder theorem, we can get So the mobile base station gets the sensing data Obviously, is a reasonable approximation of X.

[0095] According to the coding rate ER, we have:

[0096]

[0097] in,

[0098] The above solution provided by the embodiment of the present invention mainly achieves the following beneficial effects:

[0099] 1) Save storage resources: Each source node only stores compressed data, that is, a fragment of the perception data.

[0100] 2) Reliability: It can tolerate fragment erasure due to failures or unreliable wireless networks.

[0101] 3) Lightweight encryption: The compression of the sensed data by the source node is essentially a lightweight encryption. If the corresponding modulus is unknown, the sensed data cannot be obtained even if the fragment is obtained.

[0102] 4) Higher coding rate: Compared with the scheme of Chessa et al., the coding rate is improved, further shortening the length of the fragment.

[0103] 5) Tolerance for measurement errors: Compared with the solution proposed by Yatskiv et al., it can tolerate small measurement errors and is more in line with the actual needs of wireless sensor networks.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiments can be implemented by software, or by means of software plus necessary general hardware platforms. Based on such understanding, the technical solutions of the above embodiments can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0105] Embodiment 2

[0106] The present invention also provides a distributed storage system based on RCRT, which is mainly implemented based on the method provided in the above embodiment, such as Figure 2 As shown, the system mainly includes:

[0107] The modulus selection part selects the corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node;

[0108] In the perception data compression and storage part, each source node perceives the measured physical data, compresses the perception data based on its own modulus, and then stores and transmits the compressed perception data to the mobile base station;

[0109] In the perception data reconstruction part, after the mobile base station receives the compressed perception data of a part of the source nodes, it selects the compressed perception data of any source node as a reference, adjusts the received compressed perception data based on RCRT, and reconstructs the perception data using the adjusted data. RCRT stands for the robust Chinese remainder theorem.

[0110] Technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.

[0111] Embodiment 3

[0112] The present invention also provides a processing device, such as Figure 3 As shown, it mainly includes: one or more processors; a memory for storing one or more programs; wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the methods provided in the aforementioned embodiments.

[0113] Furthermore, the processing device also includes at least one input device and at least one output device; in the processing device, the processor, memory, input device, and output device are connected via a bus.

[0114] In the embodiment of the present invention, the specific types of the memory, input device and output device are not limited; for example:

[0115] The input device may be a touch screen, an image acquisition device, a physical button or a mouse, etc.;

[0116] The output device may be a display terminal;

[0117] The memory may be a random access memory (RAM) or a non-volatile memory, such as a disk memory.

[0118] Embodiment 4

[0119] The present invention also provides a readable storage medium storing a computer program, which implements the method provided in the above embodiment when the computer program is executed by a processor.

[0120] In the embodiment of the present invention, the readable storage medium is a computer-readable storage medium and can be set in the aforementioned processing device, for example, as a memory in the processing device. In addition, the readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk, etc., which can store program codes.

[0121] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A distributed storage method based on RCRT, characterized in that: include: Select a corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node; Each source node senses the measured physical data, compresses the sensed data based on its own modulus, and then stores and transmits the compressed sensed data to the mobile base station; After receiving the compressed sensing data of a part of the source nodes, the mobile base station selects the compressed sensing data of any source node as a reference, adjusts the received compressed sensing data based on RCRT, and reconstructs the sensing data using the adjusted data. RCRT stands for the Robust Chinese Remainder Theorem, which includes: The number of source nodes is n. When f source nodes work abnormally, the mobile base station receives compressed sensing data from k source nodes, where f < n, k ≥ nf; The compressed sensing data of k source nodes is recorded as a set The modulus of k source nodes is denoted as set T A =(M1, M2, ..., M k ),in, Ms represents the compressed sensing data and modulus of the sth source node, 1≤s≤k; The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s, A)=(λ1, λ2, ..., λ k ), where λ s represents the compressed sensing data of the s-th source node after adjustment; Use the adjusted data G(s, A) to construct a system of congruence equations, and use the Chinese remainder theorem to solve the system of congruence equations. That is, the reconstructed perception data; The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s, A)=(λ1, λ2, ..., λ k )include: calculate: Where m>4μ, μ is a known positive integer, mod is the remainder function, represents the compressed sensing data of the lth source node; Then, calculate: in, Indicates rounding up. ξ ss , sl All are intermediate parameters; Then calculate: Among them, λ is the compressed sensing data of the lth source node after adjustment; Finally, the adjusted compressed sensing data of k source nodes λ1, λ2, .., λ k , and the adjusted data G(s, A)=(λ1, λ2, ..., λ k ).

2. The distributed storage method based on RCRT according to claim 1, characterized in that: The step of selecting a corresponding number of prime numbers according to the number of source nodes to form a modulus corresponding to each source node includes: Let the number of source nodes be n, and select n pairs of different prime numbers Γ i , 1≤i≤n, then the modulus M corresponding to the i-th source node i =mΓ i , where m>4μ, μ is a known positive integer.

3. The distributed storage method based on RCRT according to claim 1, characterized in that: Each source node senses the measured physical quantity and compresses the sensed data in combination with its own modulus, including: The measured physical data is denoted as X. For the i-th source node, its sensed data is X i =X+e i , e i is the measurement error of the i-th source node; The i-th source node compresses the sensed data based on its own modulus: in, represents the compressed sensing data of the i-th source node, r i represents the compressed perception data when there is no measurement error, mod is the remainder function, M i is the modulus corresponding to the i-th source node.

4. A distributed storage method based on RCRT according to claim 1 or 3, characterized in that: The measured physical data is recorded as X, which satisfies X∈[μ, B), where μ is a known positive integer and parameter B= lcm(.) represents the least common multiple function, T is the set of moduli corresponding to all source nodes, n is the number of source nodes, nf indicates that the mobile base station receives compressed sensing data from nf source nodes, S indicates the set consisting of the moduli of nf source nodes, and |S| indicates the number of elements in the set S.

5. The distributed storage method based on RCRT according to claim 1, characterized in that: Use the adjusted data G(s, A) to construct a system of congruence equations, and use the Chinese remainder theorem to solve the system of congruence equations. include: Use the adjusted data G(s, A) to construct a system of congruence equations: Use the Chinese remainder theorem to solve the congruence equations Among them, the parameters Parameter r c ≡λ i (mod m), parameters Γ i To calculate the modulus M l The prime number selected when parameter m>4μ, μ is a known positive integer, and mod is the remainder function.

6. A distributed storage system based on RCRT, characterized in that: The method according to any one of claims 1 to 5 is implemented, and the system comprises: The modulus selection part selects the corresponding number of prime numbers according to the number of source nodes to form the modulus corresponding to each source node; In the perception data compression and storage part, each source node perceives the measured physical data, compresses the perception data based on its own modulus, and then stores and transmits the compressed perception data to the mobile base station; In the perception data reconstruction part, after receiving the compressed perception data of a part of the source nodes, the mobile base station selects the compressed perception data of any source node as a reference, adjusts the received compressed perception data based on RCRT, and reconstructs the perception data using the adjusted data. RCRT stands for the Robust Chinese Remainder Theorem, which includes: The number of source nodes is n. When f source nodes work abnormally, the mobile base station receives compressed sensing data from k source nodes, where f < n, k ≥ nf; The compressed sensing data of k source nodes is recorded as a set The modulus of k source nodes is denoted as set T A =(M1, M2, ..., M k ),in, Ms represents the compressed sensing data and modulus of the sth source node, 1≤s≤k; The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s, A)=(λ1, λ2, ..., λ k ), where λ s represents the compressed sensing data of the s-th source node after adjustment; Use the adjusted data G(s, A) to construct a system of congruence equations, and use the Chinese remainder theorem to solve the system of congruence equations. That is, the reconstructed perception data; The mobile base station selects the compressed sensing data of the sth source node As a reference, the adjusted data G(s, A)=(λ1, λ2, ..., λ k )include: calculate: Where m>4μ, μ is a known positive integer, mod is the remainder function, represents the compressed sensing data of the lth source node; Then, calculate: in, Indicates rounding up. ξ ss , sl All are intermediate parameters; Then calculate: Among them, λ is the compressed sensing data of the lth source node after adjustment; Finally, the adjusted compressed sensing data of k source nodes λ1, λ2, ..., λ k , and the adjusted data G(s, A)=(λ1, λ2, ..., λ k ).

7. A processing device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

8. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Data aggregation method based on compressed sensing in wireless sensor network

    CN106792435A

  • An integer finite field compressed sensing method

    CN109787637A

  • Wireless sensor network compressed sensing processing method based on K-medoids clustering

    CN111263324A

  • Blockchain storage optimization system and method based on remainder system

    CN111723149A

  • Blockchain storage optimization method based on redundant remainder system

    CN112202703A