A data integrity and confidentiality transmission implementation method suitable for agricultural information big data services
By splitting the original data matrix of agricultural big data into decomposition matrices B and C, and performing data block splitting and encryption processing on decomposition matrix B before transmission, the problems of data integrity and confidentiality in agricultural big data transmission are solved, and the security and complete transmission of data are achieved.
Patent Information
- Application Number
- CN202311484224.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-07
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2043-11-07
AI Technical Summary
During the transmission of existing agricultural big data, the integrity and confidentiality of the data cannot be guaranteed, especially when the distance between the sending end and the receiving end is relatively slow.
By splitting the original data matrix into decomposition matrix B and decomposition matrix C, and splitting the decomposition matrix B into data blocks B1-B4 before transmission, the data blocks are protected by false data obfuscation, random disruption and encryption technologies, thereby achieving multi-level encryption protection during transmission.
The integrity and confidentiality of data during the transmission of agricultural big data is realized, and the security and integrity of data during the transmission process is ensured through multi-level encryption protection.
Smart Images

Figure CN117768146B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of agricultural big data technology, and in particular to a method for realizing data integrity and confidentiality transmission suitable for agricultural information big data services. Background Art
[0002] Agriculture is an important part of my country's economy and the foundation of social development. Agricultural informatization is an important development trend in the future. Agricultural informatization aims to integrate and utilize various agricultural resources with the highest efficiency, minimize agricultural energy consumption and costs, agricultural ecological damage, and achieve the overall optimization of the agricultural system. Data is the foundation of informatization, and agricultural big data is an important part of agricultural informatization. Agricultural big data is a data set with a wide range of sources, diverse types, complex structures, potential value, and difficult to process and analyze using common methods after integrating agricultural regionality, seasonality, diversity, and periodicity. Agricultural big data retains the basic characteristics of big data itself, such as huge scale, diverse types, low value density, fast processing speed, high accuracy, and high complexity, and extends and deepens the information flow within agriculture. However, in the existing agricultural data transmission process, the distance between the sender and the receiver is far, the data transmission speed is slow, and the integrity and confidentiality of the data cannot be guaranteed. Summary of the invention
[0003] In order to solve the technical problem that the transmission process of agricultural big data in the prior art cannot ensure the integrity and confidentiality of data, the data integrity and confidentiality transmission implementation method for agricultural informatization big data service proposed in the present invention specifically includes the following steps:
[0004] S1, collection and organization of sensor data to obtain the original data matrix of each plot unit;
[0005] S2, encrypting the original data matrix of each plot unit to obtain encrypted transmission data blocks BT1-BT4 corresponding to the plot unit;
[0006] S3, determine whether it is in the transmission window, if it is in the transmission window, enter S4;
[0007] S4, transmitting the encrypted transmission data blocks BT1-BT4 to the cloud server via the data link;
[0008] S5. The cloud server performs data restoration on the received transmission data blocks BT1-BT4 to obtain a decomposition matrix B;
[0009] S6. The cloud server obtains the decomposition matrix C according to the decomposition matrix B, and obtains the original data matrix based on the operation of the decomposition matrix B and the decomposition matrix C.
[0010] Preferably, the agricultural information big data system includes a cloud server and multiple local server terminals, the cloud server is respectively connected to the multiple local server terminals, and the local server terminals include a data acquisition terminal and a data encryption storage terminal.
[0011] Preferably, in S1, the data acquisition terminal collects data from the carbon dioxide sensor group, the light sensor group, the temperature and humidity sensor group and the soil pH sensor group. The collected sensor data includes standard time information of the collected data and standard location information of the sensor. The plot unit is used as the basic unit, and each sensor is allocated to a different plot according to the standard location information of the sensor. For each plot unit, an original data matrix containing temperature and humidity information, carbon dioxide information, light information and soil pH information is established in chronological order.
[0012] Preferably, in S2, the encryption process of the original data matrix specifically includes:
[0013] S21, performing full rank decomposition on the original data matrix to obtain decomposition matrix B and decomposition matrix C;
[0014] S22, using binary expression to decompose matrix B, using CRC32 algorithm to calculate the binary expression of decomposition matrix B to obtain characteristic parameters of decomposition matrix B, storing decomposition matrix C in a storage unit in the data encryption storage terminal, and setting the read password of the storage unit to the characteristic parameters of decomposition matrix B;
[0015] S23, dividing the decomposition matrix B into four parts, namely data block B1, data block B2, data block B3 and data block B4, and constructing transmission data blocks BT1-BT4 using data blocks B1-B4;
[0016] S24. Encrypt the transmission data blocks BT1-BT4.
[0017] Preferably, in said S23, the transmission data block=false data block+data block+position information block, and the position information block includes the position of the data block in the decomposition matrix and the position of the data block in the transmission data block.
[0018] Preferably, in S24, the false data blocks and data blocks in the transmission data blocks are randomly shuffled using an Excel table data shuffle algorithm, the position information blocks in the transmission data blocks are randomly shuffled using a Fisher–Yates shuffle classic shuffle algorithm, and the randomly shuffled transmission data blocks are encrypted using an encryption algorithm.
[0019] Preferably, in S3, if the current time is within the allocated data transmission time period, it is determined to be within the transmission window.
[0020] Preferably, in S4, the data acquisition terminal transmits the encrypted transmission data blocks BT1-BT4 to the cloud server via a data link.
[0021] Preferably, in S5, the corresponding key is unlocked and the corresponding random inversion is performed on each transmission data block to obtain the original transmission data block BT1-BT4, and the data block B1-B4 is extracted according to the position information block in the transmission data block, and the data blocks B1-B4 are assembled into a complete decomposition matrix B.
[0022] Preferably, in S6, the cloud server uses binary expression to decompose matrix B, uses CRC32 algorithm to calculate the binary expression of decomposition matrix B to obtain characteristic parameters of decomposition matrix B, transmits the characteristic parameters of decomposition matrix B to the data encryption storage terminal, obtains the corresponding decomposition matrix C, transmits the decomposition matrix C to the cloud server through the data link, and the cloud server obtains the original data matrix based on the decomposition matrix B and the decomposition matrix C.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] The original data matrix is split into decomposition matrix B and decomposition matrix C, and the data transmission is completed through two transmission processes. In addition, the decomposition matrix B will be split into data blocks B1-B4 before transmission. The data blocks are protected by false data obfuscation, random scrambling and encryption, thereby realizing multi-level encryption protection during the transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of the transmission implementation method of the present invention. DETAILED DESCRIPTION
[0026] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.
[0027] The agricultural information big data system includes a cloud server and multiple local servers. The cloud server is connected to multiple local servers respectively. The local servers are used to collect and process local agricultural data, including data collection terminals and data encryption storage terminals.
[0028] like Figure 1 As shown, the data integrity and confidentiality transmission implementation method for agricultural information big data service proposed by the present invention specifically includes the following steps:
[0029] S1. Collect and organize sensor data to obtain the original data matrix of each plot unit. Specifically, the data acquisition terminal collects data from the carbon dioxide sensor group, the light sensor group, the temperature and humidity sensor group, and the soil pH sensor group. The collected sensor data includes the standard time information of the collected data and the standard location information of the sensor. The plot unit is used as the basic unit, and each sensor is allocated to a different plot according to the standard location information of the sensor. For each plot unit, an original data matrix containing temperature and humidity information, carbon dioxide information, light information, and soil pH information is established in chronological order.
[0030] S2. Encrypt the original data matrix of each plot unit to obtain encrypted transmission data blocks BT1-BT4 corresponding to the plot unit. The encryption process of the original data matrix specifically includes:
[0031] S21, perform full rank decomposition on the original data matrix to obtain decomposition matrix B and decomposition matrix C. Specifically, the original data matrix A M×N =B M×R ×C R×N。
[0032] S22. Decompose matrix B using binary expression, use CRC32 algorithm to calculate the binary expression of decomposition matrix B to obtain characteristic parameters of decomposition matrix B, store decomposition matrix C into a storage unit in the data encryption storage terminal, and set the read password of the storage unit to the characteristic parameters of decomposition matrix B.
[0033] S23. Divide the decomposition matrix B into four parts, namely data block B1, data block B2, data block B3 and data block B4, and use data blocks B1-B4 to construct transmission data blocks BT1-BT4. Specifically, the transmission data block = false data block + data block + position information block, and the position information block includes the position of the data block in the decomposition matrix and the position of the data block in the transmission data block.
[0034] S24, encrypt the transmission data blocks BT1-BT4. Specifically, randomly shuffle the false data blocks and data blocks in the transmission data blocks using an Excel table data shuffle algorithm, randomly shuffle the position information blocks in the transmission data blocks using a Fisher-Yates shuffle classic shuffle algorithm, and encrypt the randomly shuffled transmission data blocks using an encryption algorithm.
[0035] S3. Determine whether it is in the transmission window. If it is in the transmission window, enter S4. Specifically, in order to avoid conflicts in data transmission, the agricultural information big data system allocates a fixed data transmission time period for each local server. If the current time is in the allocated data transmission time period, it is determined to be in the transmission window.
[0036] S4. Transmit the encrypted transmission data blocks BT1-BT4 to the cloud server through the data link. Specifically, the data acquisition terminal transmits the encrypted transmission data blocks BT1-BT4 to the cloud server through the data link.
[0037] S5. The cloud server performs data restoration on the received transmission data blocks BT1-BT4 to obtain the decomposition matrix B. Specifically, the corresponding key is unlocked for each transmission data block and the corresponding random inversion is performed to obtain the original transmission data blocks BT1-BT4. Data blocks B1-B4 are extracted based on the position information blocks in the transmission data blocks, and data blocks B1-B4 are assembled into a complete decomposition matrix B.
[0038] S6. The cloud server obtains the decomposition matrix C according to the decomposition matrix B, and obtains the original data matrix based on the operation of the decomposition matrix B and the decomposition matrix C. Specifically, the cloud server uses binary expression to decompose the matrix B, uses CRC32 algorithm to operate on the binary expression of the decomposition matrix B to obtain the characteristic parameters of the decomposition matrix B, transmits the characteristic parameters of the decomposition matrix B to the data encryption storage terminal, obtains the corresponding decomposition matrix C, transmits the decomposition matrix C to the cloud server through the data link, and the cloud server obtains the original data matrix based on the operation of the decomposition matrix B and the decomposition matrix C.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The original data matrix is split into decomposition matrix B and decomposition matrix C, and the data transmission is completed through two transmission processes. In addition, the decomposition matrix B will be split into data blocks B1-B4 before transmission. The data blocks are protected by false data obfuscation, random scrambling and encryption, thereby realizing multi-level encryption protection during the transmission process.
[0041] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A data integrity and confidentiality transmission implementation method suitable for agricultural information big data services, characterized in that ,The method for realizing data integrity and confidentiality transmission specifically includes the following steps: S1, collection and organization of sensor data to obtain the original data matrix of each plot unit; S2, encrypting the original data matrix of each plot unit to obtain encrypted transmission data blocks BT1-BT4 corresponding to the plot unit; S3, determine whether it is in the transmission window, if it is in the transmission window, enter S4; S4, transmitting the encrypted transmission data blocks BT1-BT4 to the cloud server via the data link; S5. The cloud server performs data restoration on the received transmission data blocks BT1-BT4 to obtain a decomposition matrix B; S6, the cloud server obtains the decomposition matrix C according to the decomposition matrix B, and obtains the original data matrix based on the operation of the decomposition matrix B and the decomposition matrix C; The agricultural information big data system includes a cloud server and multiple local servers, wherein the cloud server is connected to multiple local servers respectively, and the local servers include a data collection terminal and a data encryption storage terminal; In S2, the encryption process of the original data matrix specifically includes: S21, performing full rank decomposition on the original data matrix to obtain decomposition matrix B and decomposition matrix C; S22, using binary expression to decompose matrix B, using CRC32 algorithm to calculate the binary expression of decomposition matrix B to obtain characteristic parameters of decomposition matrix B, storing decomposition matrix C in a storage unit in the data encryption storage terminal, and setting the read password of the storage unit to the characteristic parameters of decomposition matrix B; S23, dividing the decomposition matrix B into four parts, namely data block B1, data block B2, data block B3 and data block B4, and constructing transmission data blocks BT1-BT4 using data blocks B1-B4; S24, encrypting the transmission data blocks BT1-BT4; In the S23, the transmission data block = the false data block + the data block + the position information block, and the position information block includes the position of the data block in the decomposition matrix and the position of the data block in the transmission data block; In S24, the false data blocks and data blocks in the transmission data blocks are randomly shuffled using an Excel table data shuffle algorithm, the position information blocks in the transmission data blocks are randomly shuffled using a Fisher–Yates shuffle classic shuffle algorithm, and the randomly shuffled transmission data blocks are encrypted using an encryption algorithm.
2. The method for realizing data integrity and confidentiality transmission according to claim 1, characterized in that: In S1, the data acquisition terminal acquires data from a carbon dioxide sensor group, a light sensor group, a temperature and humidity sensor group, and a soil pH sensor group. The acquired sensor data includes standard time information of the acquired data and standard location information of the sensor. The plot unit is used as a basic unit, and each sensor is allocated to a different plot according to the standard location information of the sensor. For each plot unit, an original data matrix including temperature and humidity information, carbon dioxide information, light information, and soil pH information is established in chronological order.
3. The method for realizing data integrity and confidentiality transmission according to claim 1, characterized in that: In S3, if the current time is within the allocated data transmission time period, it is determined to be within the transmission window.
4. The method for realizing data integrity and confidentiality transmission according to claim 1, characterized in that: In S4, the data acquisition terminal transmits the encrypted transmission data blocks BT1-BT4 to the cloud server via a data link.
5. The method for realizing data integrity and confidentiality transmission according to claim 1, characterized in that: In S5, the corresponding key is unlocked and the corresponding random inversion is performed on each transmission data block to obtain the original transmission data blocks BT1-BT4, and the data blocks B1-B4 are extracted according to the position information blocks in the transmission data blocks, and the data blocks B1-B4 are assembled into a complete decomposition matrix B.
6. The method for realizing data integrity and confidentiality transmission according to claim 1, characterized in that: In S6, the cloud server uses binary expression to decompose matrix B, uses CRC32 algorithm to calculate the binary expression of decomposition matrix B to obtain characteristic parameters of decomposition matrix B, transmits the characteristic parameters of decomposition matrix B to the data encryption storage terminal, obtains the corresponding decomposition matrix C, transmits decomposition matrix C to the cloud server through the data link, and the cloud server obtains the original data matrix based on the decomposition matrix B and the decomposition matrix C.
Citation Information
Patent Citations
Complex parallel data encryption method
CN107911354A