UAV image transmission chaotic encryption secure transmission method and device

By adopting an image encryption method based on the chaotic sequence and Arnold transformation in the drone communication, the problems of high computing complexity and low real-time transmission efficiency in the prior art are solved, and an efficient and secure image encryption and decryption process is realized.

CN119766411APending Publication Date: 2025-04-04杭州智元研究院有限公司

Patent Information

Application Number
CN202411716199.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing image encryption technology has the problems of high computational complexity and low real-time transmission efficiency in UAV communication, and it is difficult to effectively prevent the image data from being intercepted and tampered during transmission.

Method used

An image encryption method based on the chaotic sequence of the Chen system and Arnold transformation is adopted. By generating a three-dimensional matrix and layering it into an RGB channel matrix, Arnold transformation and exclusive-OR operations are performed to achieve image encryption, and decryption is performed using the same initial value and transformation process.

Benefits of technology

It improves the security and computing efficiency of image encryption, can meet the needs of real-time transmission of drones and real-time processing of ground base stations, and prevents image data from being intercepted and tampered during transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766411A_ABST
    Figure CN119766411A_ABST
Patent Text Reader

Abstract

The invention provides a UAV image transmission chaotic encryption secure transmission method and device, and the method comprises the steps: 1, inputting an original image, recording the original image as I, and decomposing the original image into three RGB two-dimensional matrixes; 2, selecting an initial value, generating a three-dimensional matrix according to a definition formula of an old system chaos sequence, and then layering the three-dimensional matrix into three two-dimensional matrixes; step 3, performing Arnold transformation on the two-dimensional matrix of each layer to obtain a final encryption key matrix; 4, adjusting the sizes of the three RGB two-dimensional matrixes to adapt to the key matrix; and step 5, after the ground base station obtains the initial value of the system and the encrypted image, three decryption key matrixes are obtained through the same steps, and original matrixes, namely three RGB two-dimensional matrixes, are obtained through XOR decryption. According to the invention, high randomness and security are provided, and image data are prevented from being intercepted and tampered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information encryption technology, and in particular to a method and device for secure transmission of UAV image transmission chaos encryption. Background Art

[0002] As unmanned aerial vehicles (UAVs) are increasingly used in fields such as environmental monitoring and disaster management, remote operators can obtain real-time visual information through image transmission, decision makers can make decisions, and action teams can respond. Image transmission can provide the UAV itself with the environmental information needed to detect obstacles, plan flight paths, and execute complex flight routes. When performing scientific research and environmental monitoring tasks, the UAV's high-resolution camera can capture a large amount of image data for subsequent data analysis and research.

[0003] Image data in drone communications may be intercepted by unauthorized third parties or intentional attackers during wireless transmission, posing a major security threat. Attackers can insert false information during transmission, thereby destroying image data. This attack can cause decision makers to make wrong decisions, resulting in serious consequences, such as misleading rescue operations. The drone's communication system may be subject to DoS attacks, where attackers paralyze the drone's communication system through a large number of redundant requests, blocking the transmission of image data.

[0004] Today's image encryption technology mainly relies on several core methods to protect data security, but these methods still have some problems. The literature (Wang Xili. Design of visual image encryption algorithm based on chaotic system and compressed sensing [D]. Dalian Maritime University, 2023) proposed three visually meaningful image encryption algorithms based on chaotic system and compressed sensing technology. Although the proposed algorithm has made significant progress in visual security and encryption efficiency, it still has high computational complexity in large-scale image processing and real-time applications. The literature (Wen Yan. Research on color image encryption algorithm based on chaotic system [D]. Anhui University of Science and Technology, 2023) proposed a color image coding algorithm based on chaotic system, which uses optimized trigonometric functions to generate a one-dimensional chaotic graph model and permutation matrix, and then decomposes the color image step by step to form a self-encryption matrix. However, in actual drone communication scenarios, the compression and decompression process increases the computational complexity, which may have a great impact on real-time image transmission. The literature (Jiang Mingjie. Research on image encryption algorithm based on chaotic system and compressed sensing [D]. Xidian University, 2022) proposed three image encryption algorithms based on chaotic system and compressed sensing technology to improve the security and transmission efficiency of image data. However, while its compressed sensing technology realizes image compression and encryption, it increases the computational complexity, which may affect the efficiency of real-time image transmission, especially in high-resolution image or large-scale image data transmission scenarios.

[0005] Existing image encryption technologies provide a variety of security solutions for drones, each of which has its own advantages and disadvantages. When choosing image encryption technology, many factors need to be considered, such as the scene, the power that the drone and the communication party can carry, that is, similar performance, and the user's security requirements. Moreover, with the continuous development of technology, the strength of attackers will become more and more terrifying. Products similar to quantum computers will always be produced in the near future, so as a communication party, it is also necessary to continuously improve its encryption technology and algorithms to face unknown challenges in the future. Summary of the invention

[0006] The present application provides a UAV image transmission chaotic encryption secure transmission method and device, which can be used to solve the technical problem that image encryption technology is subject to multiple attacks.

[0007] The present application provides a UAV image transmission chaotic encryption secure transmission method, the method comprising:

[0008] Step 1, input the original image denoted as I, decompose it into three RGB two-dimensional matrices denoted as red channel matrix I1, green channel matrix I2, and blue channel matrix I3 respectively;

[0009] Step 2, select the initial value, generate a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, record it as key_matrix i,j,k, and then layer the three-dimensional matrix into three two-dimensional matrices key_matrix:,:,k;

[0010] Step 3, perform Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, which are denoted as J1, J2, and J3 respectively;

[0011] Step 4, resizing the three RGB two-dimensional matrices to fit the key matrix;

[0012] Step 5: After the ground base station obtains the initial value of the Chen system and the encrypted image, it obtains three decryption key matrices K1, K2, and K3 through the same steps, and obtains the original matrix, i.e., the three RGB two-dimensional matrices I1, I2, and I3 through XOR decryption.

[0013] Furthermore, in step 2, an initial value is selected, and a three-dimensional matrix is ​​generated according to the definition of the chaotic sequence of the Chen system, which is recorded as key_matrix i,j,k, and then the three-dimensional matrix is ​​layered into three two-dimensional matrices key_matrix:,:,k, including:

[0014] First, an initial value is selected. The initial value is the starting point for the generation of the chaotic sequence. The dynamic behavior of the Chen system is defined by the following three equations:

[0015]

[0016] Among them, x n ,y n , z n is the state of the system at the nth iteration, and a, b, c, d, e, f, g are system parameters; choose an initial state (x 0 ,y 0 , z 0 ), and then generate the chaotic sequence by iterating the equation; each iteration will produce a new state, and map these state values ​​to the elements of a three-dimensional matrix to generate key_matrix i,j,k;

[0017] The x generated in each iteration n ,y n , z n The values ​​are used as the row, column and depth indexes of the matrix respectively, and the corresponding values ​​are stored in the three-dimensional matrix, and a three-dimensional matrix containing a chaotic sequence is obtained; then, the three-dimensional matrix is ​​layered according to the depth direction to obtain three two-dimensional matrices key_matrix1, key_matrix2, key_matrix3, corresponding to the three RGB channels respectively.

[0018] Furthermore, in step 3, the two-dimensional matrix of each layer is subjected to Arnold transformation to obtain the final encryption key matrix, including:

[0019] Perform Arnold transformation on the three two-dimensional matrices obtained in step 2 respectively; the definition of Arnold transformation is as follows:

[0020]

[0021] Where N is the side length of the matrix, x, y are the coordinates of the elements in the matrix, and x′, y′ are the new coordinates after the transformation; each element in each two-dimensional matrix is ​​transformed according to the above rules to obtain three new encryption key matrices J1, J2, and J3.

[0022] Furthermore, step 4, adjusting the size of the three RGB two-dimensional matrices to fit the key matrix, includes:

[0023] The sizes of the three RGB two-dimensional matrices are adjusted by interpolation; then, the adjusted image matrix is ​​XOR-ed with the corresponding key matrix, that is, In⊕Jm=Lo.

[0024] The present application also provides a UAV image transmission chaotic encryption secure transmission device, the device comprising:

[0025] Decomposition module, the input original image is denoted as I, and decomposed into three RGB two-dimensional matrices, denoted as red channel matrix I1, green channel matrix I2, and blue channel matrix I3;

[0026] The matrix generation module selects the initial value and generates a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, which is recorded as key_matrix i,j,k, and then the three-dimensional matrix is ​​layered into three two-dimensional matrices key_matrix:,:,k;

[0027] The encryption module performs Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, which are recorded as J1, J2, and J3 respectively;

[0028] An adjustment module adjusts the size of the three RGB two-dimensional matrices to fit the key matrix;

[0029] In the decryption module, the ground base station obtains the initial value of the Chen system and the encrypted image and obtains three decryption key matrices K1, K2, and K3 through the same steps, and obtains the original matrix, i.e., the three RGB two-dimensional matrices I1, I2, and I3 through XOR decryption.

[0030] Furthermore, the matrix generation module is specifically used for:

[0031] First, an initial value is selected. The initial value is the starting point for the generation of the chaotic sequence. The dynamic behavior of the Chen system is defined by the following three equations:

[0032]

[0033] Among them, x n ,y n , z n is the state of the system at the nth iteration, and a, b, c, d, e, f, g are system parameters; choose an initial state (x 0 ,y 0 , z 0 ), and then generate the chaotic sequence by iterating the equation; each iteration will produce a new state, and map these state values ​​to the elements of a three-dimensional matrix to generate key_matrix i,j,k;

[0034] The x generated in each iteration n ,y n , z n The values ​​are used as the row, column and depth indexes of the matrix respectively, and the corresponding values ​​are stored in the three-dimensional matrix, and a three-dimensional matrix containing a chaotic sequence is obtained; then, the three-dimensional matrix is ​​layered according to the depth direction to obtain three two-dimensional matrices key_matrix1, key_matrix2, key_matrix3, corresponding to the three RGB channels respectively.

[0035] Furthermore, the encryption module is specifically used for:

[0036] The three obtained two-dimensional matrices are subjected to Arnold transformation respectively; the definition of Arnold transformation is as follows:

[0037]

[0038] Where N is the side length of the matrix, x, y are the element coordinates in the matrix, and x′, y′ are the new coordinates after transformation; each element in each two-dimensional matrix is ​​transformed according to the above rules to obtain three new encryption key matrices J1, J2, and J3.

[0039] Furthermore, the decryption module is specifically used for:

[0040] The sizes of the three RGB two-dimensional matrices are adjusted by interpolation; then, the adjusted image matrix is ​​XOR-ed with the corresponding key matrix, that is, In⊕Jm=Lo.

[0041] The present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and steps of the method when the processor executes the computer program.

[0042] The present application also provides a computer-readable storage medium on which a computer program is stored, and the steps of the method when the computer program is executed by a processor.

[0043] The present invention combines the encryption method of chaotic sequence and Arnold transformation, provides high randomness and security, prevents image data from being intercepted and tampered, and has high computational efficiency in the encryption and decryption process, which can meet the needs of real-time transmission of drones and real-time processing of ground base stations. The present method is suitable for various application scenarios, such as regional patrol, disaster monitoring and other fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A system model diagram provided for an embodiment of the present application;

[0045] Figure 2 The UAV encrypted image transmission system model provided in the embodiment of the present application;

[0046] Figure 3 A simulation scene diagram provided for an embodiment of the present application;

[0047] Figure 4 The original image histogram provided by the embodiment of the present application;

[0048] Figure 5 The encrypted image histogram provided by the embodiment of the present application;

[0049] Figure 6 An encryption key correlation analysis diagram provided for an embodiment of the present application.

[0050] Specific implementation party

[0051] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0052] The present invention proposes a method, device and equipment for secure transmission of chaotic encryption of image transmission in a drone system. The invention combines chaos theory and classical image processing technology to provide a safe and efficient solution for real-time image transmission. The invention can not only prevent data from being eavesdropped and tampered with, but also effectively reduce the impact on the operating performance of the drone.

[0053] The following first introduces the embodiments of the present application in conjunction with the accompanying drawings.

[0054] Figure 1The following is a schematic diagram of a drone transmitting encrypted images through a wireless channel. There are three drones in the figure, namely Alice, Bob, and Eve. Alice and Bob transmit encrypted images through a wireless channel, and Eve attempts to eavesdrop on the content of the transmission through the wireless channel. Alice and Bob represent two drones that are communicating securely. They are equipped with an encrypted image transmission system to ensure the security of the transmission content. The wireless channel is the data transmission medium of the drone, and there is also a potential risk of eavesdropping in the channel. Eve represents a third-party drone that attempts to eavesdrop on the transmission content. It attempts to intercept the encrypted image data transmitted by Alice and Bob through the channel. The optimized encryption system and encrypted image transmission system will be specifically introduced later through the system model.

[0055] The following are the specific steps of the encryption algorithm:

[0056] Step 1: Input the original image, denoted as I, and decompose it into three RGB two-dimensional matrices, denoted as red channel matrix I1, green channel matrix I2, and blue channel matrix I3 respectively.

[0057] In this step, the original image I taken by the drone is first received. This image contains three color channels: red (R), green (G) and blue (B). Image processing technology is used to decompose the original image into three independent two-dimensional matrices corresponding to the three color channels. In this way, three two-dimensional matrices I1 (red channel), I2 (green channel) and I3 (blue channel) are obtained.

[0058] Step 2, select an initial value, generate a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, record it as key_matrix xi,j,k, and then layer the three-dimensional matrix into three two-dimensional matrices key_matrix:,:,k

[0059] In this step, an initial value is first selected. The initial value is the starting point for chaotic sequence generation and is crucial to the entire encryption process. The Chen system is a well-known three-dimensional chaotic system whose dynamic behavior is defined by the following three equations:

[0060]

[0061] Among them, x n ,y n , z n is the state of the system at the nth iteration, and a, b, c, d, e, f, g are system parameters; choose an initial state (x 0 ,y 0 , z 0), and then generate the chaotic sequence by iterating the above equation; each iteration will produce a new state, and these state values ​​are mapped to the elements of a three-dimensional matrix to generate key_matrix i,j,k;

[0062] Specifically, the x generated in each iteration n ,y n , z n The values ​​are used as the row, column and depth indexes of the matrix respectively, and the corresponding values ​​are stored in the three-dimensional matrix, and a three-dimensional matrix containing a chaotic sequence is obtained; then, the three-dimensional matrix is ​​layered according to the depth direction to obtain three two-dimensional matrices key_matrix1, key_matrix2, key_matrix3, corresponding to the three RGB channels respectively.

[0063] Step 3: Perform Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, which is recorded as J1, J2, and J3.

[0064] Arnold transform is a well-known chaotic mapping, which can permute the elements in a two-dimensional matrix to increase the randomness of the matrix. Perform Arnold transform on the three two-dimensional matrices obtained in step 2 respectively; the definition of Arnold transform is as follows:

[0065]

[0066] Where N is the side length of the matrix, x, y are the element coordinates in the matrix, and x′, y′ are the new coordinates after transformation; each element in each two-dimensional matrix is ​​transformed according to the above rules to obtain three new encryption key matrices J1, J2, and J3.

[0067] Step 4: resize the three RGB two-dimensional matrices to fit the key matrices J1, J2, and J3, and use XOR encryption, that is, In⊕Jm=Lo.

[0068] In this step, it is necessary to ensure that the sizes of the three RGB channels of the original image match the encryption key matrices J1, J2, and J3. If the sizes do not match, the sizes of the three RGB two-dimensional matrices can be adjusted by interpolation or other image processing techniques; then, the adjusted image matrix is ​​XORed with the corresponding key matrix. XOR operation is a simple encryption method that XORs the corresponding elements of the two matrices to obtain the encrypted image matrix Lo.

[0069] Step 5: After the ground base station obtains the initial value of the Chen system and the encrypted image, it obtains three decryption key matrices K1, K2, and K3 through the same steps, and obtains the original matrix, i.e., the three RGB two-dimensional matrices I1, I2, and I3 through XOR decryption.

[0070] After the ground base station receives the encrypted image transmitted by the drone and the initial value of the Chen system, it regenerates the key matrix according to the above steps. Since the initial value is known, the ground base station can repeat the chaotic sequence generation and Arnold transformation process in steps 2 and 3 to obtain the same key matrix as the drone. Then, the ground base station uses these key matrices to perform XOR decryption operations on the encrypted image and restore the matrices I1, I2, and I3 of the three RGB channels of the original image.

[0071] Through the above steps, the secure transmission of UAV image data is achieved, ensuring the security and integrity of image data during wireless transmission.

[0072] This paper combines the chaotic sequence of the Chen system and the Arnold transform to propose a method for UAV encrypted image transmission. The constructed UAV encrypted image transmission system model is as follows Figure 2 As shown. The main work of the UAV encryption system is: ① Random pictures are pictures taken by the UAV through the camera; ② Generate a random three-dimensional matrix. Since the Chen system is a three-dimensional chaotic sequence, an initial value can be found to generate a three-dimensional random matrix; ③ Each layer of the three-dimensional matrix has a two-dimensional matrix. The same number of Arnold transformations are performed on the two-dimensional matrix of each layer to obtain the disturbed encryption matrix, which is the key for the encrypted image; ④ The encryption key is used to perform XOR encryption on the RGB channels of the random image to obtain the encrypted image; ⑤ The UAV transmits the encrypted image and the initial conditions of the Chen system to the ground base station; ⑥ The ground base station obtains the same three-dimensional chaotic sequence of the Chen system as the UAV through the initial conditions; ⑦ The ground base station uses the same matrix to perform the same Arnold transformation; ⑧ After XOR decryption, the decrypted image is finally obtained.

[0073] The application scenario is shown as Figure 3As shown. Assuming that the drone takes an image through a camera, a three-dimensional matrix is ​​randomly generated by simulating the chaotic sequence of the Chen system, and then an Arnold transform is performed on each layer of the three-dimensional matrix. The transformed three-dimensional matrix is ​​XORed with the three channels of R, G, and B of the transmitted image to generate an encrypted image. The encrypted image and the initial value of the chaotic sequence of the Chen system used to generate the three-dimensional matrix are transmitted to the ground base station. After the ground base station receives the encrypted image and the initial value of the chaotic sequence of the Chen system from the drone, it reconstructs the three-dimensional random matrix according to the transmitted initial value of the Chen system, and performs the same Arnold transform on each layer of the reconstructed three-dimensional matrix to generate a decryption key matrix. The transformed three-dimensional matrix is ​​XORed with the three channels of R, G, and B of the encrypted image to restore the original image. Then the decrypted image is analyzed. Use existing secure communication protocols (such as SSL / TLS) to protect the initial value of the chaotic sequence of the Chen system transmitted from the drone to the ground station. The SSL / TLS protocol ensures the confidentiality, integrity, and authenticity of the transmitted data. Secure Sockets Layer / Transport Layer Security (SSL / TLS) is a protocol for providing secure communication over a network. It protects the transmission of information by encrypting data, authenticating both parties in communication, and ensuring data integrity. The ground station communication module supports the SSL / TLS protocol. Common communication modules include WLAN modules, such as ESP32, which support SSL / TLS in most cases. The SSL / TLS protocol can effectively protect the initial value of the chaotic sequence transmitted from the drone to the ground station by the Chen system, thereby ensuring the confidentiality and integrity of the data during the transmission process. This approach not only improves the security of the system, but also utilizes existing mature technologies and reduces the difficulty and risk of development. In order to ensure the security of the encrypted images transmitted from the drone to the ground station, the SSL / TLS protocol can also be used to encrypt the transmitted data.

[0074] In this scenario, the encryption method combining chaotic sequence and Arnold transform provides a high degree of randomness and security to prevent image data from being intercepted and tampered with. At the same time, the encryption and decryption process has high computational efficiency and can meet the needs of real-time transmission of drones and real-time processing of ground base stations. Finally, this method is suitable for a variety of different application scenarios, such as border patrol, military reconnaissance, disaster monitoring and other fields.

[0075] In the performance analysis of encrypted image algorithms, analyzing the histograms before and after image encryption is an important indicator to measure whether the encryption algorithm is superior. Histogram analysis can help evaluate the encryption effect. The histogram can show the distribution of each grayscale value or color value of the image. The frequency of occurrence of grayscale values ​​or color values ​​in a normal original image is different, such as Figure 4However, after encryption, its histogram distribution is close to or completely uniform, which means that the encryption algorithm has successfully hidden the characteristics of an image, such as Figure 5 As shown. For encrypted images, attackers generally choose statistical analysis to crack them. However, if the encrypted image has a uniform histogram distribution, it is difficult for attackers to crack it in this way. If the histogram distribution is uniform, it can also mean that the key sequence of the encryption algorithm used has sufficient pseudo-randomness. If the encrypted image does not show a uniform distribution, then the encryption algorithm is not good enough. This also allows the encryption algorithm to be optimized before it is applied by verifying whether it is uniformly distributed, ensuring that it has good performance when applied.

[0076] Next, key correlation analysis is performed to check whether the key has good randomness. If there is an obvious correlation in the key sequence, it means that the key is not truly random, so the security of the encryption key after encryption cannot be sufficiently guaranteed. There should be no obvious correlation between the parts of a high-quality key. If the encryption key contains patterns or repetitions, attackers can exploit these patterns. Through key correlation analysis, fixed patterns in the key can be detected and eliminated, making it more unpredictable. The key should not contain a repeating sequence, otherwise attackers can identify and exploit it. Correlation analysis can help identify duplicates and improve key generation algorithms. Strongly correlated keys can be easily predicted or derived, which reduces the security of the encryption algorithm. The creation of profiles and the reduction of key correlations help increase the ambiguity of the key, making it difficult for attackers to guess the key statistically. In MATLAB, the "correlation_curve" function is used to perform correlation analysis on encryption keys, such as Figure 6 As shown in the figure, it can be seen that no matter how many iterations there are, there is no strong correlation between the performance of the encryption keys, which verifies the effectiveness of the key generation mechanism and that the generated keys meet the expected security standards.

[0077] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A UAV image transmission chaotic encryption secure transmission method, characterized in that: The method comprises: Step 1, input the original image denoted as I, decompose it into three RGB two-dimensional matrices denoted as red channel matrix I1, green channel matrix I2, and blue channel matrix I3 respectively; Step 2, select the initial value, generate a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, record it as key_matrix i,j,k, and then layer the three-dimensional matrix into three two-dimensional matrices key_matrix:,:,k; Step 3, perform Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, which are denoted as J1, J2, and J3 respectively; Step 4, resizing the three RGB two-dimensional matrices to fit the key matrix; Step 5: After the ground base station obtains the initial value of the Chen system and the encrypted image, it obtains three decryption key matrices K1, K2, and K3 through the same steps, and obtains the original matrix, i.e., the three RGB two-dimensional matrices I1, I2, and I3 through XOR decryption.

2. The method according to claim 1, characterized in that Step 2, select the initial value, generate a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, record it as key_matrix i,j,k, and then layer the three-dimensional matrix into three two-dimensional matrices key_matrix:,:,k, including: First, an initial value is selected. The initial value is the starting point for the generation of the chaotic sequence. The dynamic behavior of the Chen system is defined by the following three equations: Among them, x n ,y n , z n is the state of the system at the nth iteration, and a, b, c, d, e, f, g are system parameters; choose an initial state (x 0 ,y 0 , z 0 ), and then generate the chaotic sequence by iterating the equation; each iteration will produce a new state, and map these state values ​​to the elements of a three-dimensional matrix to generate key_matrix i,j,k; The x generated in each iteration n ,y n , z n The values ​​are used as the row, column and depth indexes of the matrix respectively, and the corresponding values ​​are stored in the three-dimensional matrix, and a three-dimensional matrix containing a chaotic sequence is obtained; then, the three-dimensional matrix is ​​layered according to the depth direction to obtain three two-dimensional matrices key_matrix1, key_matrix2, key_matrix3, corresponding to the three RGB channels respectively.

3. The method according to claim 1, characterized in that Step 3, perform Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, including: Perform Arnold transformation on the three two-dimensional matrices obtained in step 2 respectively; the definition of Arnold transformation is as follows: Where N is the side length of the matrix, x, y are the coordinates of the elements in the matrix, and x′, y′ are the new coordinates after the transformation; each element in each two-dimensional matrix is ​​transformed according to the above rules to obtain three new encryption key matrices J1, J2, and J3.

4. The method according to claim 1, characterized in that: Step 4, resizing the three RGB two-dimensional matrices to fit the key matrix, including: The sizes of the three RGB two-dimensional matrices are adjusted by interpolation; then, the adjusted image matrix is ​​XORed with the corresponding key matrix, that is, 5. A UAV image transmission chaotic encryption secure transmission device, characterized in that: The device comprises: Decomposition module, the input original image is denoted as I, and decomposed into three RGB two-dimensional matrices, denoted as red channel matrix I1, green channel matrix I2, and blue channel matrix I3; The matrix generation module selects the initial value and generates a three-dimensional matrix according to the definition of the chaotic sequence of the Chen system, which is recorded as key_matrix i,j,k, and then the three-dimensional matrix is ​​layered into three two-dimensional matrices key_matrix:,:,k; The encryption module performs Arnold transformation on the two-dimensional matrix of each layer to obtain the final encryption key matrix, which are recorded as J1, J2, and J3 respectively; An adjustment module adjusts the size of the three RGB two-dimensional matrices to fit the key matrix; In the decryption module, the ground base station obtains the initial value of the Chen system and the encrypted image and obtains three decryption key matrices K1, K2, and K3 through the same steps, and obtains the original matrix, i.e., the three RGB two-dimensional matrices I1, I2, and I3 through XOR decryption.

6. The method according to claim 5, characterized in that The matrix generation module is specifically used for: First, an initial value is selected. The initial value is the starting point for the generation of the chaotic sequence. The dynamic behavior of the Chen system is defined by the following three equations: Among them, x n ,y n , z n is the state of the system at the nth iteration, and a, b, c, d, e, f, g are system parameters; choose an initial state (x 0 ,y 0 , z 0 ), and then generate the chaotic sequence by iterating the equation; each iteration will produce a new state, and map these state values ​​to the elements of a three-dimensional matrix to generate key_matrix i,j,k; The x generated in each iteration n ,y n , z n The values ​​are used as the row, column and depth indexes of the matrix respectively, and the corresponding values ​​are stored in the three-dimensional matrix, and a three-dimensional matrix containing a chaotic sequence is obtained; then, the three-dimensional matrix is ​​layered according to the depth direction to obtain three two-dimensional matrices key_matrix1, key_matrix2, key_matrix3, corresponding to the three RGB channels respectively.

7. The method according to claim 5, characterized in that The encryption module is specifically used for: The three obtained two-dimensional matrices are subjected to Arnold transformation respectively; the definition of Arnold transformation is as follows: Where N is the side length of the matrix, x, y are the coordinates of the elements in the matrix, and x′, y′ are the new coordinates after the transformation; each element in each two-dimensional matrix is ​​transformed according to the above rules to obtain three new encryption key matrices J1, J2, and J3.

8. The method according to claim 5, characterized in that The decryption module is specifically used for: The sizes of the three RGB two-dimensional matrices are adjusted by interpolation; then, the adjusted image matrix is ​​XOR-ed with the corresponding key matrix, that is, In⊕Jm=Lo.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Image encryption method based on RNA and pixel depth

    CN113612899A

  • Image encryption algorithm based on hybrid chaos and Arnold transformation

    CN114679250A

Cited By

  • Unmanned aerial vehicle path tracking control method based on chaotic encryption and disturbance observation

    CN120406563A