Geographic image encryption method, system, equipment and medium

By combining the hyperchaotic Lorenz system and complex encryption algorithms, chasing and diffusion operations are performed on geographic images, and differential rule compression and Hoffman encoding are introduced, the problems of small key space and lack of chasing and diffusion mechanism in the existing technology are solved, efficient and secure image encryption is achieved, and information security is enhanced through a reversible corruption mechanism when the wrong key is input.

CN119835375AActive Publication Date: 2025-04-15湖南省第三测绘院 +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510302062.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-04-15
Estimated Expiration
2045-03-14

AI Technical Summary

Technical Problem

The existing geographic image encryption methods seem to be incompetent when facing complex network security threats. The key space is small and vulnerable to brute-force cracking, lack effective chaos and proliferation mechanisms, and the separation of compression and encryption leads to inefficiency, and cannot effectively protect information security when entering incorrect keys.

Method used

The super-chaotic Lorenz system is combined with complex encryption algorithms to perform efficient and secure encryption processing on geographical images, and the encryption sequence is generated by chaotic signal components for chaotic and diffusion operations, and the data volume is optimized by combining the difference rule compression algorithm and Hoffman encoding. At the same time, a reversible corruption mechanism is introduced when decryption fails, and encryption is performed through image flip and mark embedding.

Benefits of technology

It realizes highly secure and efficient image encryption, enhances attack resistance and data recovery, effectively prevents unauthorized access and data leakage, and ensures the security of information during transmission and storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835375A_ABST
    Figure CN119835375A_ABST
Patent Text Reader

Abstract

The invention provides a geographic image encryption method, system and device and a medium. The method comprises the following steps: acquiring a geographic image to be processed; setting an initial value of the hyperchaotic Lorenz system, and generating a chaotic signal component DXj; generating a first encryption sequence EM * N, and performing scrambling operation on the to-be-processed geographic image to obtain a ciphertext image DEM * N; compressing the scrambled ciphertext image DEM * N into a ciphertext image YEM1 * N in combination with a difference rule compression algorithm; generating a second encryption sequence EM1 * N, and performing diffusion operation on the ciphertext image YEM1 * N to obtain a ciphertext image KEM1 * N; and transmitting the ciphertext image KEM1 * N to an execution terminal, and performing decryption processing through a decryption key to obtain an original geographic image. According to the method, a hyper-chaos Lorenz system, scrambling and diffusion operation and an efficient compression algorithm are utilized, and safe and rapid image encryption and transmission are achieved; and a reversible destruction mechanism is integrated, so that the risk caused by wrong decryption is effectively reduced, and the encryption requirements of various geographic images can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image encryption, and more specifically to a geographic image encryption method, system, device and medium. Background Art

[0002] Most existing geographic image encryption methods rely on traditional symmetric key algorithms or public key encryption technologies. Although these methods can ensure data security to a certain extent, they are powerless in the face of increasingly complex network security threats. First, the key space of traditional encryption methods is relatively small and vulnerable to brute force attacks; second, due to the lack of effective scrambling and diffusion mechanisms, once part of the ciphertext is leaked, it may affect the security of the entire image; third, the compression and encryption separation processing method in the existing technology leads to low efficiency, increasing transmission time and cost.

[0003] In addition, when an incorrect key is input during the decryption process, existing technologies usually cannot provide effective protection measures, which may lead to partial or complete exposure of the original information, posing serious security risks to users. At the same time, many encryption schemes fail to fully consider the characteristics of geographic images, such as their high resolution and large data volume, making it difficult to strike a balance between encryption strength and processing speed in practical applications.

[0004] Therefore, how to design a geographic image encryption method that can improve key management, scrambling diffusion, compression coding, etc., and effectively protect the security of information when encountering an erroneous key is an urgent problem that technical personnel in this field need to solve. Summary of the invention

[0005] In view of this, the present invention provides a geographic image encryption method, which uses a hyperchaotic Lorenz system combined with a complex encryption algorithm to efficiently and securely encrypt geographic images to protect the security of sensitive image data during transmission and storage, and further enhance security through a reversible destruction mechanism when decryption fails.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a geographic image encryption method, comprising the following steps:

[0008] S1. Obtain the geographic image O to be processed with a size of M×N M×N ;

[0009] S2, set the initial value of the hyperchaotic Lorenz system through the encryption key to generate the chaotic signal component DX j ;

[0010] S3, based on chaotic signal component DXj Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ;

[0011] S4, combined with the difference rule compression algorithm, the scrambled ciphertext image DE M×N Compressed into ciphertext image YE M1×N ;

[0012] S5, based on chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ;

[0013] S6, the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

[0014] Furthermore, the S2 includes:

[0015] S21. Based on the encryption key, the initial state of the hyperchaotic Lorenz system is set to (x0, y0, z0, w0); the hyperchaotic Lorenz system is expressed as:

[0016]

[0017] Among them, x, y, z, and w are system state variables. is the first-order derivative corresponding to the system state variable, a, b, c, r are system parameters;

[0018] S22, performing numerical integration to generate a multi-dimensional floating point chaotic sequence x(t) with a length of N;

[0019] S23, converting the chaotic sequence x(t) into an integer chaotic sequence X(t) by using a floor function;

[0020] X(t)=floor(x(t)×2 d )

[0021] Where d is equal to 16;

[0022] S24, update the initial state of the hyperchaotic Lorenz system, repeat S22 to S23, and obtain M chaotic signal components DX with a length of N j ; where j=1,2,…M.

[0023] Furthermore, the S3 includes:

[0024] S31, extract the corresponding chaotic signal component DX j Generate the first encryption sequence E M×N ;

[0025] S32, through the first encryption sequence E M×N , using the non-repetitive scrambling algorithm to generate a non-repetitive scrambling index;

[0026] S33, the geographic image to be processed O M×N Expand into a one-dimensional vector and rearrange it according to the non-repeating scrambled index;

[0027] S34, converting the rearranged one-dimensional vector into a two-dimensional image to obtain a ciphertext image DE M×N .

[0028] Furthermore, the S4 includes:

[0029] S41, the ciphertext image DE M×N Convert to a one-dimensional vector A;

[0030] S42, subtract adjacent values ​​of internal elements in the one-dimensional vector A to obtain a signal B;

[0031] B(i)=A(i-1)-A(i)

[0032] Among them, initially B(1)=A(1), i=2,3,…n, n represents the length of the one-dimensional vector A;

[0033] S43, performing binarization processing on signal B to obtain signal C;

[0034]

[0035] Where j = 2, 3, ... n;

[0036] S44, converting signal C into uint8 data ranging from 0 to 255 to generate signal C';

[0037]

[0038] Where m represents the number of groups, m=floor(n / 8)+1; k represents the kth group, and f represents the fth digit in each group;

[0039] S45, superimposing the signal C' with the absolute value signal B' of the signal B to generate a signal D to be compressed;

[0040] S46, compress the signal D to be compressed by Huffman coding and convert it into a matrix of M1×N to obtain the ciphertext image YE M1×N .

[0041] Furthermore, the S5 includes:

[0042] S51, extract the corresponding chaotic signal component DX j Generate the second encryption sequence E M1×N ;

[0043] S52, ciphertext image YE M1×N Perform forward diffusion operation to obtain the ciphertext image FE M1×N ;

[0044]

[0045] S53, ciphertext image FE M1×N Perform reverse diffusion operation to obtain the ciphertext image KE M1×N ;

[0046]

[0047] Among them, C1 and C2 are the forward diffusion coefficient and the reverse diffusion coefficient respectively.

[0048] Furthermore, the S6 includes:

[0049] S61, determine whether the decryption key is a correct key, if the decryption key is a correct key, then obtain the original geographic image; if the decryption key is an incorrect key, then treat the geographic image as M×N Perform reversible destruction and generate a reversible destruction image P M×N , and reversibly destroy the image P through the encryption key M×N Perform encryption processing to obtain the updated ciphertext image KE' M1×N ;

[0050] S62, the updated ciphertext image KE' M1×N It is transmitted to the execution terminal and the marked image is extracted by the decryption key; if the marked image is an irregular image, the decryption fails; otherwise, the decryption continues based on the marked image to obtain the original geographic image.

[0051] Further, in the S61, the geographic image O to be processed M×N Reversible damage, including:

[0052] S611, the geographic image to be processed O M×N Divide into a*a areas;

[0053] S612, randomly selecting the area without duplication based on the number of incorrect key inputs and performing image flipping to obtain a flipped image;

[0054] S613, generate and process geographic image O M×N Pure white image W of the same sizeM×N , mark the image flip area as black, and generate the marked image SY M×N ;

[0055] S614: Mark the image SY M×N Embedded into the flipped image, we obtain a reversibly damaged image P with a label M×N ;

[0056] P M×N =bitset( M×N , bit, SY M×N )

[0057] Among them, bit represents the bit position to be set, and bitset represents the bit position setting function.

[0058] In a second aspect, the present invention provides a geographic image encryption system, comprising:

[0059] Image input module: used to obtain the geographic image O to be processed with a size of M×N M×N ;

[0060] Chaotic signal generation module: used to set the initial value of the hyperchaotic Lorenz system through the encryption key and generate the chaotic signal component DX j ;

[0061] Scrambling operation module: used for chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ;

[0062] Compression coding module: used to combine the difference rule compression algorithm to decrypt the scrambled ciphertext image M×N Compressed into ciphertext image YE M1×N ;

[0063] Diffusion operation module: used for chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ;

[0064] Transmission and decryption module: used to convert the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

[0065] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned geographic image encryption method when executing the computer program.

[0066] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program implements the above-mentioned geographic image encryption method when executed by a processor.

[0067] The descriptions of the second to fourth aspects of the present invention can refer to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second to fourth aspects can refer to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0068] It can be seen from the above technical solution that compared with the prior art, the present invention has the following beneficial effects:

[0069] 1. This geographic image encryption method provides a highly secure and efficient image encryption scheme by combining hyperchaotic Lorenz system, scrambling operation, compression algorithm and diffusion operation. It uses complex chaotic signal component generation and non-repetitive scrambling algorithm to ensure that even if part of the ciphertext is intercepted, it will not affect the overall security. It also reduces the amount of data and improves the transmission efficiency by introducing difference rule compression algorithm and Huffman coding. In addition, the application of forward and reverse diffusion operations enhances the system's anti-attack capability and ensures a good avalanche effect, while the modular design allows parameters to be adjusted according to actual needs to adapt to different application scenarios.

[0070] 2. In the decryption stage, the solution specifically introduces a reversible destruction mechanism. When encountering an incorrect key, not only will the original information not be leaked, but the image will also be further encrypted until the correct key is entered, which effectively prevents brute force cracking. At the same time, the technology maintains good compatibility and scalability, is suitable for geographic images of various sizes, and can provide a reliable framework for other types of data encryption, thereby ensuring information security without affecting user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0072] Figure 1 A flowchart of a geographic image encryption method provided by an embodiment of the present invention;

[0073] Figure 2 The geographic image to be processed provided by the embodiment of the present invention M×N Schematic diagram of the reversible destruction process;

[0074] Figure 3 A framework diagram of a geographic image encryption system provided by an embodiment of the present invention;

[0075] Figure 4 A schematic diagram of the structure of an electronic device is provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0076] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 scope of protection of the present invention.

[0077] The encryption method provided in the embodiment of the present application can be applied to an encryption server. The above-mentioned encryption server can be hardware or software. When the encryption server is hardware, it can be implemented as a distributed server cluster providing encryption services, or it can be implemented as a single server. When the encryption server is software, it can be installed in the servers listed above. It can be implemented as multiple software or software modules, or it can be implemented as a single software or software module, which is not specifically limited here.

[0078] Embodiment 1;

[0079] like Figure 1 As shown, this embodiment provides a geographic image encryption method, comprising the following steps:

[0080] S1. Obtain the geographic image O to be processed with a size of M×N M×N ;

[0081] S2, set the initial value of the hyperchaotic Lorenz system through the encryption key to generate the chaotic signal component DX j ;

[0082] S3, based on chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ;

[0083] S4, combined with the difference rule compression algorithm, the scrambled ciphertext image DE M×N Compressed into ciphertext image YE M1×N ;

[0084] S5, based on chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ;

[0085] S6, the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

[0086] This geographic image encryption method uses the complex chaotic signal components generated by the hyperchaotic Lorenz system to confuse the image and transform the pixel value through the scrambling and diffusion double encryption sequence, and combines the non-repetitive scrambling algorithm, difference rule compression and Huffman coding to optimize the data compression efficiency. Its forward and reverse diffusion operations enhance the anti-attack capability; combined with the decryption error handling mechanism, the original image is reversibly destroyed and re-encrypted when the wrong secret key is entered, which not only prevents unauthorized access, but also ensures the final decryption right of the holder of the correct secret key. The overall solution significantly improves the security and confidentiality of geographic images.

[0087] The following further describes each step in the above method in detail;

[0088] In this embodiment S1, a geographic image O to be processed with a size of M×N is obtained. M×N ;

[0089] Specifically, the geographic image O to be processed M×N This is a color satellite image of a forest area with a resolution of 1269*843 pixels. It is used to analyze the vegetation cover changes in the area and conduct environmental monitoring. These images will be transmitted to the ground station for further processing and analysis. During the transmission process, the security of these sensitive information must be ensured.

[0090] Before encryption begins, the original image needs to be preprocessed to remove cloud occlusions, correct geometric distortion, or standardize color balance to ensure optimal image quality and minimize the impact of external factors on the final result.

[0091] In this embodiment S2, the initial value of the hyperchaotic Lorenz system is set by using an encryption key to generate a chaotic signal component DX j ; Specifically include:

[0092] S21. Based on the encryption key, the initial state of the hyperchaotic Lorenz system is set to (x0, y0, z0, w0); the hyperchaotic Lorenz system is expressed as:

[0093]

[0094] Among them, x, y, z, and w are system state variables. is the first-order derivative corresponding to the system state variable, and a, b, c, and r are system parameters; specifically, a=10, b =8 / 3, c = 28, and r = -1;

[0095] S22, performing numerical integration to generate a multi-dimensional floating point chaotic sequence x(t) with a length of N;

[0096] S23, converting the chaotic sequence x(t) into an integer chaotic sequence X(t) by using a floor function;

[0097] X(t)=floor(x(t)×2 d )

[0098] Where d is equal to 16;

[0099] S24, update the initial state of the hyperchaotic Lorenz system, repeat S22 to S23, and obtain M chaotic signal components DX with a length of N j ; where j=1,2,…M.

[0100] The initial state of the hyperchaotic Lorenz system is set based on the encryption key, and a multidimensional floating point chaotic sequence is generated through numerical integration and rounding functions. It not only provides a highly random chaotic signal component, but also ensures the uniqueness under different keys, making the encryption process more random and unpredictable, thereby enhancing the security of encryption.

[0101] In this embodiment S3, based on the chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ; Specifically include:

[0102] S31, extract the corresponding chaotic signal component DX j Generate the first encryption sequence E M×N ;

[0103] S32, through the first encryption sequence E M×N , using the non-repetitive scrambling algorithm to generate a non-repetitive scrambling index;

[0104] S33, the geographic image to be processed O M×N Expand into a one-dimensional vector and rearrange it according to the non-repeating scrambled index;

[0105] S34, converting the rearranged one-dimensional vector into a two-dimensional image to obtain a ciphertext image DEM×N .

[0106] The first encryption sequence is generated by extracting the chaotic signal component and rearranging the original image using a non-repetitive scrambling algorithm, ensuring that each pixel is moved only once, avoiding the risk of pattern leakage. The image content is effectively obfuscated, making it difficult to restore the original image even if partial information is available.

[0107] In this embodiment S4, the scrambled ciphertext image DE is compressed by combining the difference rule compression algorithm. M×N Compressed into ciphertext image YE M1×N ; Specifically include:

[0108] S41, the ciphertext image DE M×N Convert to a one-dimensional vector A;

[0109] S42, subtract adjacent values ​​of internal elements in the one-dimensional vector A to obtain a signal B;

[0110] B(i)=A(i-1)-A(i)

[0111] Among them, initially B(1)=A(1), i=2,3,…n, n represents the length of the one-dimensional vector A;

[0112] S43, performing binarization processing on signal B to obtain signal C;

[0113]

[0114] Where j = 2, 3, ... n;

[0115] S44, converting signal C into uint8 data ranging from 0 to 255 to generate signal C';

[0116]

[0117] Where m represents the number of groups, m=floor(n / 8)+1; k represents the kth group, and f represents the fth digit in each group;

[0118] S45, superimposing the signal C' with the absolute value signal B' of the signal B to generate a signal D to be compressed;

[0119] S46, compress the signal D to be compressed by Huffman coding and convert it into a matrix of M1×N to obtain the ciphertext image YE M1×N .

[0120] In this step, the difference rule compression algorithm is combined to significantly reduce the data volume of the encrypted image, thereby reducing the cost of transmission and storage, making the encryption process more practical and reliable.

[0121] In this embodiment S5, based on the chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ; Specifically include:

[0122] S51, extract the corresponding chaotic signal component DX j Generate the second encryption sequence E M1×N ;

[0123] S52, ciphertext image YE M1×N Perform forward diffusion operation to obtain the ciphertext image FE M1×N ;

[0124]

[0125] S53, ciphertext image FE M1×N Perform reverse diffusion operation to obtain the ciphertext image KE M1×N ;

[0126]

[0127] Among them, C1 and C2 are the forward diffusion coefficient and the reverse diffusion coefficient respectively.

[0128] In the diffusion step, the combination of forward and backward diffusion operations enhances the chaos of the encrypted image. Not only does it make each pixel in the image associated with other pixels, but it also increases the dependency between pixel values. Even if part of the data is stolen or tampered with, it is difficult to restore the original image through simple analysis or reorganization.

[0129] In this embodiment S6, the ciphertext image KE M1×N Transmit to the execution terminal, decrypt through the decryption key, and obtain the original geographic image. Specifically include:

[0130] S61, determine whether the decryption key is a correct key, if the decryption key is a correct key, then obtain the original geographic image; if the decryption key is an incorrect key, then treat the geographic image as M×N Perform reversible destruction and generate a reversible destruction image P M×N , and reversibly destroy the image P through the encryption key M×N Perform encryption processing to obtain the updated ciphertext image KE' M1×N ;

[0131] In this step, if the decryption key is the correct key, the original geographic image is obtained, which specifically includes: the transmission and decryption module receives the ciphertext image KE M1×NAfter that, verify whether the input decryption key matches. If the key is correct, the key will be used to perform the diffusion operation in reverse, reversing the forward and reverse diffusion effects previously applied, and restoring the ciphertext image YE M1×N Then, through the inverse process of Huffman coding and the reverse calculation of the difference rule, the image is decompressed and reassembled to restore the scrambled ciphertext image DE M×N Then, according to the first encryption sequence E M×N , use the non-repeated scrambling index to reversely rearrange the pixels, undo the scrambling operation, and finally reconstruct the original geographic image O M×N .

[0132] Furthermore, if the decryption key is an incorrect key, the geographic image O to be processed M×N Perform reversible destruction and generate a reversible destruction image P M×N , and reversibly destroy the image P through the encryption key M×N Perform encryption processing to obtain the updated ciphertext image KE' M1×N ;

[0133] The image P can be reversibly destroyed by the encryption key pair M×N Perform encryption processing, which is the same as S2-S5 above, and will not be described in detail here;

[0134] S62, the updated ciphertext image KE' M1×N It is transmitted to the execution terminal and the marked image is extracted by the decryption key; if the marked image is an irregular image, the decryption fails; otherwise, the decryption continues based on the marked image to obtain the original geographic image.

[0135] like Figure 2 As shown, the geographic image O to be processed M×N Reversible damage, including:

[0136] S611, the geographic image to be processed O M×N Divide into a*a areas;

[0137] S612, randomly selecting the area without duplication based on the number of incorrect key inputs and performing image flipping to obtain a flipped image;

[0138] S613, generate and process geographic image O M×N Pure white image W of the same size M×N , mark the image flip area as black, and generate the marked image SY M×N ;

[0139] S614: Mark the image SY M×N Embedded into the flipped image, we obtain a reversibly damaged image P with a label M×N ;

[0140] PM×N =bitset( M×N , bit, SY M×N )

[0141] Among them, bit represents the bit position to be set, and bitset represents the bit position setting function.

[0142] In formula P M×N =bitset( M×N ,bit,SY M×N ), bitset is a bit position setting function, which sets the position information and the mark image SY according to the bit specified M×N The corresponding position value in the processing geographic image O M×N Set the bit and finally generate a new image P M×N ; If SY M×N The value of the corresponding position in is 0, then P M×N The position specified by the bit in will be set to 0 (off); if the value is non-zero, the corresponding position will be set to 1 (on). This process allows for flexible modification of specific bits in the matrix, thereby achieving precise control and processing of data.

[0143] In this step, the correctness of the decryption key is determined, and the geographic image to be processed is reversibly destroyed and re-encrypted when decryption fails, effectively preventing unauthorized access and data leakage. The reversible destruction mechanism includes steps such as image division, random selection, image flipping, and marker embedding, which ensures the reversibility and controllability of the destruction process. Even in the case of decryption failure, the original image data can be restored by re-entering the correct decryption key. This mechanism not only improves the flexibility of the encryption system, but also provides additional security for users.

[0144] Through the geographic image encryption method described in this embodiment, efficient and secure encryption of geographic images is achieved. The complex chaotic signal components generated by the hyperchaotic Lorenz system are combined with the scrambling and diffusion dual encryption sequences, as well as the difference rule compression algorithm and Huffman coding technology, which significantly improves the security and confidentiality of the encrypted image. At the same time, by introducing the error key processing mechanism and the reversible destruction process, the anti-attack capability and data recoverability of the encryption system are further enhanced.

[0145] Embodiment 2;

[0146] like Figure 3 As shown, this embodiment provides a geographic image encryption system, including:

[0147] Image input module: used to obtain the geographic image O to be processed with a size of M×N M×N ;

[0148] Chaotic signal generation module: used to set the initial value of the hyperchaotic Lorenz system through the encryption key and generate the chaotic signal component DX j ;

[0149] Scrambling operation module: used for chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ;

[0150] Compression coding module: used to combine the difference rule compression algorithm to decrypt the scrambled ciphertext image M×N Compressed into ciphertext image YE M1×N ;

[0151] Diffusion operation module: used for chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ;

[0152] Transmission and decryption module: used to convert the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

[0153] This geographic image encryption system achieves efficient and secure image encryption through the collaborative work of multiple modules. The system uses the chaotic signal generation module combined with the encryption key to generate complex chaotic signals for image scrambling and diffusion, effectively destroying the image structure. The compression encoding module reduces the amount of data and facilitates transmission and storage. The overall design not only ensures the security of geographic images, but also improves the efficiency of encryption processing, achieving safe and efficient image encryption and transmission.

[0154] Embodiment 3;

[0155] like Figure 4 As shown, this embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the geographic image encryption method in the above embodiment is implemented.

[0156] Embodiment 4;

[0157] This embodiment provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the geographic image encryption method in the above embodiment is implemented.

[0158] In the above embodiments provided in the present application, it should be understood that the disclosed methods, systems, devices and media can be implemented in other ways. The above described methods, systems, devices and media embodiments are only schematic. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation. Each functional unit can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0159] The units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0160] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium, etc.

[0161] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A geographic image encryption method, characterized in that: The following steps are involved: S1. Obtain the geographic image O to be processed with a size of M×N M×N ; S2, set the initial value of the hyperchaotic Lorenz system through the encryption key to generate the chaotic signal component DX j ; S3, based on chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ; S4, combined with the difference rule compression algorithm, the scrambled ciphertext image DE M×N Compressed into ciphertext image YE M1×N ; S5, based on chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ; S6, the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

2. A geographic image encryption method according to claim 1, characterized in that: The S2 comprises: S21. Based on the encryption key, the initial state of the hyperchaotic Lorenz system is set to (x0, y0, z0, w0); the hyperchaotic Lorenz system is expressed as: ; Among them, x, y, z, and w are system state variables. is the first-order derivative corresponding to the system state variable, a, b, c, r are system parameters; S22, performing numerical integration to generate a multi-dimensional floating point chaotic sequence x(t) with a length of N; S23, converting the chaotic sequence x(t) into an integer chaotic sequence X(t) by using a floor function; X(t)=floor(x(t)×2 d ) Where d is equal to 16; S24, update the initial state of the hyperchaotic Lorenz system, repeat S22 to S23, and obtain M chaotic signal components DX with a length of N j ; where j=1,2,…M.

3. A geographic image encryption method according to claim 1, characterized in that: The S3 includes: S31, extract the corresponding chaotic signal component DX j Generate the first encryption sequence E M×N ; S32, through the first encryption sequence E M×N , using the non-repetitive scrambling algorithm to generate a non-repetitive scrambling index; S33, the geographic image to be processed O M×N Expand into a one-dimensional vector and rearrange it according to the non-repeating scrambled index; S34, converting the rearranged one-dimensional vector into a two-dimensional image to obtain a ciphertext image DE M×N .

4. A geographic image encryption method according to claim 1, characterized in that: The S4 comprises: S41, the ciphertext image DE M×N Convert to a one-dimensional vector A; S42, subtract adjacent values ​​of internal elements in the one-dimensional vector A to obtain a signal B; B(i)=A(i-1)-A(i) Among them, initially B(1)=A(1), i=2,3,…n, n represents the length of the one-dimensional vector A; S43, performing binarization processing on signal B to obtain signal C; ; Where j=2,3,…n; S44, converting signal C into uint8 data ranging from 0 to 255 to generate signal C'; ; Where m represents the number of groups, m=floor(n / 8)+1; k represents the kth group, and f represents the fth digit in each group; S45, superimposing the signal C' with the absolute value signal B' of the signal B to generate a signal D to be compressed; S46, compress the signal D to be compressed by Huffman coding and convert it into a matrix of M1×N to obtain the ciphertext image YE M1×N .

5. A geographic image encryption method according to claim 1, characterized in that: The S5 comprises: S51, extract the corresponding chaotic signal component DX j Generate the second encryption sequence E M1×N ; S52, ciphertext image YE M1×N Perform forward diffusion operation to obtain the ciphertext image FE M1×N ; ; S53, ciphertext image FE M1×N Perform reverse diffusion operation to obtain the ciphertext image KE M1×N ; ; Among them, C1 and C2 are the forward diffusion coefficient and the reverse diffusion coefficient respectively.

6. A geographic image encryption method according to claim 1, characterized in that: The S6 comprises: S61, determine whether the decryption key is a correct key, if the decryption key is a correct key, then obtain the original geographic image; if the decryption key is an incorrect key, then treat the geographic image as M×N Perform reversible destruction and generate a reversible destruction image P M×N , and reversibly destroy the image P through the encryption key M×N Perform encryption processing to obtain the updated ciphertext image KE' M1×N ; S62, the updated ciphertext image KE' M1×N It is transmitted to the execution terminal and the marked image is extracted by the decryption key; if the marked image is an irregular image, the decryption fails; otherwise, the decryption continues based on the marked image to obtain the original geographic image.

7. A geographic image encryption method according to claim 6, characterized in that: In S61, the geographic image O to be processed M×N Reversible damage, including: S611, the geographic image to be processed O M×N Divide into a*a areas; S612, randomly selecting the area without duplication based on the number of incorrect key inputs and performing image flipping to obtain a flipped image; S613, generate and process geographic image O M×N Pure white image W of the same size M×N , mark the image flip area as black, and generate the marked image SY M×N ; S614: Mark the image SY M×N Embedded into the flipped image, we obtain a reversibly damaged image P with a label M×N ; P M×N =bitset(O M×N ,bit,SY M×N ) Among them, bit represents the bit position to be set, and bitset represents the bit position setting function.

8. A geographic image encryption system, characterized in that: include: Image input module: used to obtain the geographic image O to be processed with a size of M×N M×N ; Chaotic signal generation module: used to set the initial value of the hyperchaotic Lorenz system through the encryption key and generate the chaotic signal component DX j ; Scrambling operation module: used for chaotic signal component DX j Generate the first encryption sequence E M×N , to be processed geographic image O M×N Perform scrambling operation to obtain the ciphertext image DE M×N ; Compression coding module: used to combine the difference rule compression algorithm to decrypt the scrambled ciphertext image M×N Compressed into ciphertext image YE M1×N ; Diffusion operation module: used for chaotic signal component DX j Generate the second encryption sequence E M1×N , for the ciphertext image YE M1×N Perform diffusion operation to obtain the ciphertext image KE M1×N ; Transmission and decryption module: used to convert the ciphertext image KE M1×N Transmitted to the execution terminal, decrypted using the decryption key to obtain the original geographic image.

9. An electronic 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 geographic image encryption method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the geographic image encryption method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Image transmission system, encryption method and decryption method based on scrambling block compressed sensing

    CN112711766A

  • Heterogeneous fractional order hyperchaotic system image encryption and decryption method with adjustable synchronization time

    CN114915400A

  • Multi-image encryption method based on two-dimensional compressed sensing and visual security

    CN117834785A