A transmission system and method for encrypted images
By using dual encryption and hardware encryption key methods in the image transmission system, the problem of privacy leakage during image transmission is solved, the secure transmission of images is achieved, and the equipment cost is reduced.
Patent Information
- Application Number
- CN202211628478.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-17
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-12-17
AI Technical Summary
The prior art is difficult to ensure the security of images during image transmission, and it is prone to privacy leakage, especially when transmitting top-secret pictures.
A transmission system for encrypted images is adopted, including an image encryption subsystem and an image decryption subsystem. The image is double encrypted through the image primary encryption unit and the image secondary encryption unit, and combined with the chaotic image encryption method and the hardware encryption key to ensure the security of the image during transmission.
Through the combination of dual encryption and hardware encryption keys, it ensures that the image is difficult to steal and decrypt during transmission, ensuring the security of the image, and reducing the cost of the receiver and modulation devices.
Smart Images

Figure CN116095246B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image transmission, and in particular to a transmission system and method for encrypted images. Background Art
[0002] Information devices carry various sensitive information such as high privacy and high confidentiality of users, which are easily stolen during network transmission. Many existing images are transmitted in plain text files, but they are often intercepted during the transmission process, which easily leads to privacy leakage. Especially in people's daily communication software or other office software, some pictures involving privacy or top secrets are prone to leakage, especially some top secret pictures. Therefore, it is necessary to study a system that can be encrypted and transmitted in real time to meet people's daily transmission of private pictures or top secret pictures. Summary of the invention
[0003] The purpose of the present invention is to provide a system and method for transmitting encrypted images to solve the existing technical problems.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A transmission system for encrypted images, including an image encryption subsystem and an image encryption subsystem, the image encryption subsystem is wirelessly or wiredly connected to the image encryption subsystem, the image encryption subsystem includes an image primary encryption unit and an image secondary encryption unit, the image primary encryption unit is connected to the image secondary encryption unit, the image primary encryption unit encrypts the plaintext image once and then transmits the once encrypted image to the image secondary encryption unit, the image secondary encryption unit encrypts the image twice using a hardware encryption key, then modulates the encrypted image, and then transmits the modulated data to the image decryption subsystem, the image decryption subsystem receives the data, demodulates it, and then decrypts the encrypted image to obtain the plaintext image.
[0006] Furthermore, the image one-time encryption unit includes an image preprocessing module, an image segmentation module, a pixel recognition module on both sides of the image segmentation line, a new block synthesis module and a block reorganization image module. The image preprocessing module is connected to the image segmentation module. The image preprocessing module performs grayscale processing on the image to obtain a grayscale image. The image segmentation module divides the image into several blocks. The image segmentation module is connected to the pixel recognition module on both sides of the image segmentation line. The pixel recognition module on both sides of the image segmentation line recognizes the pixels of the pixels on both sides of the segmentation line of the image segmentation module, and marks the coordinate axis of each pixel point, and recognizes the pixels of the pixels around the pixel point to obtain the pixel values of the neighboring points of the pixel point, and extracts all the pixels on both sides of the segmentation line. The new block synthesis module generates a new image block from all the pixels on both sides of the extracted segmentation line to obtain a marked image block. The new block synthesis module is connected to the block reorganization image module. The block reorganization image module randomly distributes the marked image block and all the segmented image blocks to form a new image. When a gap appears in the combined image, a blank image block is added, and the pixel of each pixel point of the blank image block is a fixed value.
[0007] Furthermore, the specific process of synthesizing the marked image block is to take a corner of the original image as the origin of the two-dimensional coordinate axis, add the absolute value of the x-axis and the absolute value of the y-axis of the coordinate axis of the pixels on both sides of the dividing line to obtain the pixel coordinate value, sort the order according to the size of the pixel coordinate value, and then organize the corresponding pixels into a marked image block in order, and mark the pixel point The average value of the neighboring pixels of the pixel point is marked on the superscript of the pixel of the point. When the pixel points on both sides of the dividing line are placed, if the marked image block is smaller than the divided image block, then points with fixed pixel values are added in the empty space. If there are still remaining dividing line pixels after forming a marked image block, another marked image block is generated until all the pixels on both sides of the dividing line are used up.
[0008] Furthermore, the image secondary encryption unit includes a reconstructed image secondary encryption module, a hardware encryption key module and an encrypted image modulation module. The hardware encryption key module and the encrypted image modulation module are both connected to the reconstructed image secondary encryption module. The hardware encryption key module provides an encryption key for the reconstructed image secondary encryption module. The encryption key is fixed on the encryption key and cannot be transmitted. It can only be accessed by local hardware. The reconstructed image secondary encryption module uses a chaotic image encryption method to encrypt the image to obtain an encrypted image, which is then transmitted to the encrypted image modulation module for modulation to obtain a transmission signal.
[0009] Furthermore, the image encryption subsystem includes an encrypted image demodulation module, an image one-time decryption module, a hardware decryption key module, an identification block search module, an image restoration module and a plaintext image display module. The encrypted image demodulation module receives the modulated signal and uses a linear transformation network frequency discrimination method to demodulate the signal to obtain an encrypted image. The encrypted image demodulation module and the hardware decryption key module are both connected to the image one-time decryption module. The hardware decryption key module transmits the decryption key to the image one-time decryption module. The image one-time decryption module uses a reverse decryption method to decrypt the image once to obtain a reconstructed image. The image one-time decryption module is connected to the identification block search module. The identification block search module searches for a marked image block from the reconstructed image and then takes out the pixel points of the marked image block. The image restoration module searches for the corresponding image block for the pixel points of the marked image block and then actively reversely restores the original image according to the corresponding pixel points and the superscripts of the pixels. The plaintext image display module displays the original color of the image for the user to view.
[0010] Furthermore, the specific process of restoring the image by the image restoration module is to take out all the pixel points of the marked image block and put them into an array, and then traverse the points in the image that are the same as each element of the array. When more than one point in the image is found to coincide with the elements in the array, the superscript of the array element is compared with the mean of the pixels around the pixel point of the point in the image, and then the image segmentation line is determined, the image is segmented into several image blocks, and then the image is reintegrated according to the coordinates of the edge pixels of the image blocks to obtain the initial image.
[0011] A transmission encryption method for an encrypted image, the method comprising the following steps:
[0012] The image is gray-processed, and then the gray-processed image is segmented to obtain segmented image blocks, the pixel points on both sides of the segmented image blocks are identified, and the coordinates of the pixel points and the mean of the surrounding pixels are obtained, the pixel points on both sides of the segmentation are synthesized into a new image block, the new image block and the segmented image block are shuffled to generate a new image, and then the chaotic encryption algorithm is used to encrypt the generated new image to complete the encryption.
[0013] A transmission decryption method for an encrypted image receives a modulation signal of the encrypted image, uses a linear transformation network frequency discrimination method to demodulate the modulation signal to obtain an encrypted image, then performs chaotic reverse decryption on the encrypted image to obtain a chaotic image, then finds out a new image block, compares each pixel in the new image block with the pixel of the remaining image, then finds out the dividing line, and reassembles the image into a civilized image according to the coordinates of the edge pixels, and the decryption is completed.
[0014] The present invention has the following beneficial effects due to the adoption of the above technical solution:
[0015] The present invention shuffles and reorganizes the image at the front end, and then performs secondary encryption on the reorganized image, so that it is difficult to decrypt the image after it is stolen during the transmission process, thereby ensuring the security of the image during the transmission process. At the same time, at the receiving end, initial decoding can only be performed after using the decoding key provided by the setting device, and then secondary decryption is performed according to the segmented pixel points of the image to generate a complete image. This image transmission process prevents the content of the image from being leaked. At the same time, a new demodulation method is used at the receiving end, and modulation and demodulation can be completed using ordinary equipment, which greatly saves the price of the equipment at the receiving end and the modulation end. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a system block diagram of the present invention;
[0017] Figure 2 It is a comparison diagram of the transmission image before and after encryption of the present invention;
[0018] Figure 3 This is the chaotic reverse decryption flow chart of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are only for the purpose of enabling the reader to have a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.
[0020] like Figure 1-2 As shown, a transmission system for encrypted images includes an image encryption subsystem and an image decryption subsystem. The image encryption subsystem is connected to the image encryption subsystem wirelessly or by wire. The image encryption subsystem includes an image primary encryption unit and an image secondary encryption unit. The image primary encryption unit is connected to the image secondary encryption unit. The image primary encryption unit encrypts the plaintext image once and then transmits the once encrypted image to the image secondary encryption unit. The image secondary encryption unit encrypts the image twice using a hardware encryption key, then modulates the encrypted image, and then transmits the modulated data to the image decryption subsystem. The image decryption subsystem receives the data, demodulates it, and then decrypts the encrypted image to obtain the plaintext image.
[0021] like Figure 2 As shown, Figure 2 A is the plaintext image before transmission. Figure 2 B is the image encrypted by the image secondary encryption unit, which is then modulated into a digital signal and transmitted to the image decryption subsystem for demodulation. Figure 2 The image of C is then decrypted by the image decryption subsystem to obtain Figure 2 The image of D is transmitted to complete the encrypted image.
[0022] In the embodiment of the present invention, Figure 1 As shown, the image one-time encryption unit includes an image preprocessing module, an image segmentation module, a pixel recognition module on both sides of the image segmentation line, a new block synthesis module and a block reorganization image module. The image preprocessing module is connected to the image segmentation module. The image preprocessing module performs grayscale processing on the image to obtain a grayscale image. The image segmentation module divides the image memory into several blocks. The image segmentation module is connected to the pixel recognition module on both sides of the image segmentation line. The pixel recognition module on both sides of the image segmentation line recognizes the pixels of the pixels on both sides of the segmentation line of the image segmentation module, and marks the coordinate axis of each pixel point at the same time, and recognizes the pixels of the pixels around the pixel point to obtain the pixel values of the neighboring points of the pixel point, and extracts all the pixels on both sides of the segmentation line. The new block synthesis module generates a new image block from all the pixels on both sides of the extracted segmentation line to obtain a marked image block. The new block synthesis module is connected to the block reorganization image module. The block reorganization image module randomly distributes the marked image block and all the segmented image blocks to form a new image. When a gap appears in the combined image, a blank image block is added, and the pixel of each pixel point of the blank image block is a fixed value.
[0023] The specific process of synthesizing the marked image block is to take a corner of the original image as the origin of the two-dimensional coordinate axis, add the absolute values of the x-axis and y-axis of the coordinate axes of the pixels on both sides of the dividing line to obtain the pixel coordinate value, sort the order according to the size of the pixel coordinate value, and then organize the corresponding pixels into a marked image block in order, and mark the pixel point The average value of the neighboring pixels of the pixel point is marked on the superscript of the pixel of the point. When the pixels on both sides of the dividing line are placed, if the marked image block is smaller than the divided image block, then points with fixed pixel values are added in the empty space. If there are still remaining dividing line pixels after forming a marked image block, another marked image block is generated until all the pixels on both sides of the dividing line are used up.
[0024] In the embodiment of the present invention, Figure 1 As shown, the image secondary encryption unit includes a reconstructed image secondary encryption module, a hardware encryption key module and an encrypted image modulation module. The hardware encryption key module and the encrypted image modulation module are both connected to the reconstructed image secondary encryption module. The hardware encryption key module provides an encryption key for the reconstructed image secondary encryption module. The encryption key is fixed on the encryption key and cannot be transmitted. It can only be accessed by local hardware. The reconstructed image secondary encryption module uses a chaotic image encryption method to encrypt the image to obtain an encrypted image, which is then transmitted to the encrypted image modulation module for modulation to obtain a transmission signal.
[0025] In the embodiment of the present invention, Figure 1As shown, the image encryption subsystem includes an encrypted image demodulation module, an image one-time decryption module, a hardware decryption key module, an identification block search module, an image restoration module and a plaintext image display module. The encrypted image demodulation module receives the modulated signal and uses a linear transformation network frequency discrimination method to demodulate the signal to obtain an encrypted image. The encrypted image demodulation module and the hardware decryption key module are both connected to the image one-time decryption module. The hardware decryption key module transmits the decryption key to the image one-time decryption module. The image one-time decryption module uses a reverse decryption method to decrypt the image once to obtain a reconstructed image. The image one-time decryption module is connected to the identification block search module. The identification block search module searches for a marked image block from the reconstructed image, and then takes out the pixel points of the marked image block. The image restoration module searches for the corresponding image block for the pixel points of the marked image block, and then actively reversely restores the original image according to the corresponding points of the pixels and the superscripts of the pixels. The plaintext image display module displays the original color of the image for the user to view. The specific process of restoring the image by the image restoration module is to take out all the pixel points of the marked image block and put them into an array, and then traverse the points in the image that are the same as each element of the array. When more than one point in the image is found to coincide with the elements in the array, the superscript of the array element is compared with the mean of the pixels around the pixel point in the image, and then the image segmentation line is determined, the image is segmented into several image blocks, and then the image is reintegrated according to the coordinates of the edge pixels of the image blocks to obtain the initial image.
[0026] The hardware decryption key module is fixed on the device and cannot be changed once installed. That is, when the image encryption subsystem is first installed, the hardware decryption key module is transferred to the corresponding hardware and fixed. The external network cannot access the hardware decryption key module.
[0027] When specifically identifying the segmentation line, if a small part is found to be unable to be identified and compared, or the pixel and the superscript of the pixel are the same as the mean of the surrounding pixels, that is, when the pixel point is not unique, then abandon the point and continue with the next comparison. When the comparison is completed, when more than 85 pixels have been compared, the task can be completed. The comparison is connected with a straight line in the image, and the middle of the two straight lines is the segmentation line, and the segmented image blocks are obtained, and the assembly can be completed according to the coordinates. In the recognition process, the filled image blocks are discarded because they were automatically added.
[0028] A transmission encryption method for an encrypted image, the method comprising the following steps:
[0029] The image is grayed out, and then the grayed out image is segmented to obtain segmented image blocks. The pixels on both sides of the segmented image blocks are identified, and the coordinates of the pixels and the mean of the surrounding pixels are obtained. The pixels on both sides of the segmentation are synthesized into new image blocks. The new image blocks and the segmented image blocks are shuffled to generate a new image. The chaotic encryption algorithm is then used to encrypt the generated new image to complete the encryption. The specific effect is as follows: Figure 2 As shown in A and B.
[0030] A transmission decryption method for an encrypted image receives a modulation signal of the encrypted image, uses a linear transformation network frequency discrimination method to demodulate the modulation signal to obtain an encrypted image, then performs chaotic reverse decryption on the encrypted image to obtain a chaotic image, then finds a new image block, compares each pixel in the new image block with the pixel of the remaining image, then finds the dividing line, and reassembles the image into a civilized image according to the coordinates of the edge pixels, and the decryption is completed. The specific effect is as follows: Figure 2 As shown in C and D.
[0031] The specific process of the chaotic encryption algorithm is as follows:
[0032] Step 1: Load the generated new image P and external key. Read the generated new image P with a pixel size of m*n, and the external key is a 32-byte integer sequence between [0,255].
[0033] Step 2: Fill the external key into the grayscale image, obtain a quantized fractional matrix and obtain a chaotic sequence through the PWLCM chaotic system.
[0034] The PWLCM chaotic system is:
[0035]
[0036] In the above formula x(i)∈(0,1), when β∈(0,0.5), the system is in a chaotic state and β is used as a key.
[0037] The process of obtaining the quantized fractional matrix is to divide the generated new image P into m rows, multiply the elements of the row from left to right, and replace it with π if the i-th element is 0. When the product value A is greater than 1014, the A value is updated by the formula A = |cos(Amod360)|. When the last element of each row is executed, a real number A is obtained. The real number A is divided by 1014 to obtain a fractional sequence d1. Repeat the above process and calculate all elements in reverse order to obtain another fractional sequence d2. Compare the sizes of d1 and d2. If d1>d2, then d=d2 / d1, otherwise d=d1 / d2. The external key is quantized from left to right using the above process to obtain the fractional d'. According to d"=(d+d' / 2)mod0.5, d" is obtained. The fractional d' and d" are used as the initial value x(1) and control parameter u of the PWLCM chaotic system. By using x 1 (i)=PWLCM(d,d") to obtain the corresponding chaotic sequence x 1 , where x 1 (i) is represented by x 1 (i) = x 1 (1),x 2 (2)…,x 1 (200+m), the accuracy of x(i)∈(0,1) is 10-15, i=1,2,…200+m, and ... 2 ,x 2 (i) = PWLCM(d / 2,d"), x 1 and x 2 As the initial value x(1) and control parameter u of the PWLCM chaotic system, then, iterate n-1 times Y i-200 (j) = PWLCM(x 1 (i),x 2 (i)), we get m groups Y i Sequence, where i = 201, 202, ..., 200 + m and j = 1, 2, ..., n, resize the m groups of sequences to obtain a decimal matrix of size m * n.
[0038] Step 3: Map the quantized fractional matrix to two integer regions and obtain two integer matrices. The process of obtaining the integer matrix is as follows: let the integer matrix be I 1 and I 2 , where I 1 =(I*10 15 mod8)+1,I 2 =I*10 15 mod256, guarantee I 1 ∈(1,8),I 2 ∈(0,255).
[0039] Step 4: Take the values in the chaotic sequence obtained in step 2 as the initial values of the FDHCM chaotic system, and iterate the FDHCM x times to obtain X F1 , X F2 , X F3 and X F4 Four chaotic sequences. The FDHCM chaotic system is,
[0040]
[0041] The above formula x 1 , x 2 , x 3 , x 4 Used as the initial variable of the chaotic system, a, b, c, d are the control parameters of the chaotic system.
[0042] The process of obtaining the four chaotic sequences is that the matrix A controls the pixels of the image P to be cyclically shifted right by P in the four planes. 1 (i,j)=BR(P(i,j),A(i,j)) to obtain the matrix P 1 , where BR is the pixel representation shifted right in bit plane operations, i∈(1,m), A∈(1,n), X F1 , X F2 , X F3 and X F4 It can be obtained by quantization through the following formula:
[0043]
[0044] Step 5: Via X F1 , X F2 , X F3 and X F4 Four chaotic sequences diffuse the generated new image P. F1 , X F2 , X F3 and X F4 The four chaotic sequences control the matrix I 1 Odd and even rows are shifted left and right, and odd and even columns are shifted up and down.
[0045] When rows are swapped, when X F1 (i)≠X F2 (i) Execute operation P 2 (i,j)=ER(P 2 (X F1 (i),j)),P 2 (X F2 (i),j)), column exchange is the same as X F3 (i)≠X F4 (i), P 2(i,j)=ER(P 2 (X F3 (i),j)),P 2 (X F4 (i),j)) to generate a new image P for diffusion operation,
[0046]
[0047] Step 6: Use matrix B to scramble the diffused image. The process of scrambling the diffused image is to use matrix I 2 Scramble the image. The specific operation is: The final encrypted image E is obtained.
[0048] The specific process of chaos reverse decryption is as follows: Figure 3 As shown in Figure 3, the specific process is the reverse process of the chaotic encryption algorithm.
[0049] The specific process of the linear transformation network frequency discrimination method is as follows. Research shows that the modulation and demodulation operations can be completed using ordinary equipment, which greatly saves expensive chips. The specific steps are as follows:
[0050] Step 1: Set the first preset difference frequency signal u s1 (τ) and the second preset difference frequency signal u s2 (τ), receiving FM signal u i (τ). Preset difference frequency signal u s1 and u s2 The frequency needs to meet its frequency f 1 and f 2 There exists a greatest common divisor f 0 , so that f 1 =n 1 f 0 , f 2 =n 2 f 0 , n 1 、n 2 is a positive integer, then f f =xf 0 , x is a positive real number. Let τ=f 0 t, the final actual frequency modulation signal and preset difference frequency signal are expressed as follows:
[0051] FM signal
[0052] Preset difference frequency signal u s1 (τ)=sin2πf 1 t=sin2πn 1 τ;
[0053] Preset difference frequency signal us1 (τ)=sin2πf 2 t=sin2πn 2 τ.
[0054] In the frequency modulation process, let the carrier signal be u c (t) = U cm cosω c t,U cm is the carrier amplitude, ω c is the carrier angular frequency, and the modulation signal is u Ω (t) = U Ωm cosΩt,U Ωm is the modulation signal amplitude, Ω is the modulation signal angular frequency, and the actual angular frequency of the FM signal is
[0055] ω f =ω c +Δω(t)=ω c +k f u Ω (t) = ω c +k f U Ωm cosΩt=ω c +Δω fm cosΩt.
[0056] Δω(t) is the modulation angle frequency deviation, k f is the FM sensitivity, which indicates the frequency change caused by the unit modulation signal amplitude; then the actual frequency of the FM signal is
[0057]
[0058] Among them, f c is the carrier center frequency, Δf(t) is the modulation frequency deviation; Δω fm / 2π is the maximum frequency deviation of the FM wave, which represents the swing amplitude of the FM wave frequency and is a constant in the FM signal.
[0059] Step 2: Convert the received FM signal u i (τ) are respectively related to the first preset difference frequency signal u s1 (v) and the second preset difference frequency signal u s2 (v) Perform multiplication and integration operations to obtain the first operation result u n1 and the second operation result u n2 .
[0060] When performing multiplication-integral transformation, the integration time is set to f 0 The corresponding cycle That is, the integral time of τ is τ 0 =f 0 t 0=1, and the result of multiplication and integration transformation with the preset difference frequency signal is:
[0061]
[0062]
[0063]
[0064] The specific process of multiplication integration is as follows:
[0065]
[0066]
[0067]
[0068] Step 3: Take the first operation result u n1 and the second operation result u n2 Perform linear transformation to obtain the modulated signal.
[0069] After the multiplication and integration network, the FM signal is transformed into a quantity related to the FM signal frequency and the difference frequency signal frequency. In the linear transformation restoration network, the multiplication and integration transformation result u is first converted into n1 and u n2 Divide them to get x and n 1 、n 2 The relationship is shown in formula (1).
[0070]
[0071]
[0072] The actual frequency f of the FM signal f =xf 0 It consists of two parts: the carrier center frequency and the modulation signal influence frequency. After a linear transformation as shown in formula (2), the amplitude of the modulation signal can be obtained to achieve accurate frequency discrimination.
[0073]
[0074] The test data of the frequency modulation distortion of the commonly used phase frequency detection method and the difference frequency multiplication integral linear transformation network frequency detection method for frequency modulation signals with different frequency modulation indexes are compared. When the frequency modulation index is low, both frequency detection methods can accurately restore the original modulation signal, but in the frequency modulation signal with a higher frequency modulation index, the distortion of the phase frequency detection method increases with the increase of the frequency modulation index; while the difference frequency multiplication integral linear transformation network frequency detection method has almost no signal distortion under various frequency modulation indexes, and the frequency detection bandwidth is not limited, and the quality of modulation signal restoration is higher. When the frequency modulation index is 0.02, the frequency detection results of the two methods have very small frequency detection distortion; when the frequency modulation index is 0.5, the frequency detection results of the two methods show obvious even-order harmonic distortion in the demodulation signal of the traditional phase frequency detector, while the distortion of the demodulation signal of the frequency detection method in this paper is extremely small; when the frequency modulation index is 2.4, the frequency detection results of the two methods show higher-order even-order harmonic distortion in the demodulation signal of the traditional phase frequency detector, while the distortion of the demodulation signal of the frequency detection method in this paper is extremely small.
[0075] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A transmission system for encrypted images, characterized in that: The image encryption subsystem and the image decryption subsystem are wirelessly or wiredly connected to each other. The image encryption subsystem includes an image primary encryption unit and an image secondary encryption unit. The image primary encryption unit is connected to the image secondary encryption unit. The image primary encryption unit encrypts the plaintext image once and transmits the once encrypted image to the image secondary encryption unit. The image secondary encryption unit encrypts the image twice by using a hardware encryption key, modulates the twice encrypted image, and transmits the modulated data to the image decryption subsystem. The image decryption subsystem receives the data, demodulates it, and decrypts the encrypted image to obtain the plaintext image. The image one-time encryption unit includes an image preprocessing module, an image segmentation module, a pixel recognition module on both sides of the image segmentation line, a new block synthesis module and a block reorganization image module. The image preprocessing module is connected to the image segmentation module. The image preprocessing module performs grayscale processing on the image to obtain a grayscale image. The image segmentation module divides the image into several blocks. The image segmentation module is connected to the pixel recognition module on both sides of the image segmentation line. The pixel recognition module on both sides of the image segmentation line recognizes the pixels of the pixels on both sides of the segmentation line of the image segmented in the image segmentation module, and marks the coordinate axis of each pixel point at the same time, and recognizes the pixels of the pixels around the pixel point to obtain the pixel values of the neighboring points of the pixel point, and extracts all the pixels on both sides of the segmentation line. The new block synthesis module generates a new image block using all the pixels on both sides of the segmentation line to obtain a marked image block. The new block synthesis module is connected to the block reorganization image module. The block reorganization image module randomly distributes the marked image block and all the segmented image blocks to obtain a new image. When a gap appears in the combined image, a blank image block is supplemented, and the pixel of each pixel point of the blank image block is a fixed value; The specific process of synthesizing the marked image block is to take a corner of the original image as the origin of the two-dimensional coordinate axis, add the absolute value of the x-axis and the absolute value of the y-axis of the coordinate axis of the pixels on both sides of the dividing line to obtain the pixel coordinate value, sort the order according to the size of the pixel coordinate value, and form the marked image block with the corresponding pixel points in order, and mark the pixel point The average value of the neighboring pixels of the pixel point is marked on the superscript of the pixel of the point. When the pixel points on both sides of the dividing line are processed, the marked image block is smaller than the divided image block, and fixed pixels are added in the empty space. If there are remaining dividing line pixels after forming a marked image block, another marked image block is generated until all the pixels on both sides of the dividing line are used up; The image secondary encryption unit includes a reconstructed image secondary encryption module, a hardware encryption key module and an encrypted image modulation module. The hardware encryption key module and the encrypted image modulation module are both connected to the reconstructed image secondary encryption module. The hardware encryption key module provides an encryption key for the reconstructed image secondary encryption module. The encryption key is fixed on the encryption key and cannot be transmitted. It can only be accessed by local hardware. The reconstructed image secondary encryption module uses a chaotic image encryption method to encrypt the image to obtain an encrypted image, which is then transmitted to the encrypted image modulation module for modulation to obtain a transmission signal.
2. The encrypted image transmission system according to claim 1, characterized in that: The image decryption subsystem includes an encrypted image demodulation module, an image one-time decryption module, a hardware decryption key module, an identification block search module, an image restoration module and a plaintext image display module. The encrypted image demodulation module receives the modulated signal and uses a linear transformation network frequency discrimination method to demodulate the signal to obtain an encrypted image. The encrypted image demodulation module and the hardware decryption key module are both connected to the image one-time decryption module. The hardware decryption key module transmits the decryption key to the image one-time decryption module. The image one-time decryption module uses a reverse decryption method to decrypt the image once to obtain a reconstructed image. The image one-time decryption module is connected to the identification block search module. The identification block search module finds a marked image block from the reconstructed image and then takes out the pixel points of the marked image block. The image restoration module searches according to the pixel points of the marked image block to find the corresponding image block, and performs reverse restoration according to the corresponding points of the pixels and the superscripts of the pixels to obtain the initial image. The plaintext image display module displays the original color of the image for users to view.
3. The encrypted image transmission system according to claim 2, characterized in that: The specific process of restoring the image by the image restoration module is to take out all the pixel points of the marked image block and put them into an array, traverse the points in the image that are the same as each element of the array, and when more than one point in the image is found to coincide with the elements in the array, the superscript of the array element is compared with the mean of the pixels around the pixel point of the point in the image to determine the image segmentation line, divide the image into several image blocks, and reintegrate the image according to the coordinates of the edge pixels of the image blocks to obtain the initial image.
Citation Information
Patent Citations
Composite cascaded chaotic color image encryption algorithm
CN106296560A
Cellular automata and chaotic mapping-based digital image encryption method and decryption method thereof
CN106373082A
Cited By
Transmission encryption and decryption method for encrypted image
CN120455606A