Encryption method and device, electronic equipment and storage medium
By adjusting the structural parameters of the holographic board and using the differences in camouflage frequency and decryption frequency, the high security of holographic encryption technology is achieved, solving the problem that decryption conditions are easily cracked in the existing technology, and improving the difficulty of information protection.
Patent Information
- Application Number
- CN202510522052.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-08-12
AI Technical Summary
The existing holographic encryption technology relies on specific reference light or sound waves, and the decryption conditions are single and easy to be speculated and reproduced by attackers, resulting in low encryption security.
By obtaining the camouflage frequency and decryption frequency of the information to be encrypted, the structural parameters of the holographic board are adjusted using the deep learning model, so that the target holographic board displays the information to be encrypted at the decryption frequency, while only the camouflage information is displayed at the camouflage frequency, and no additional reference conditions are required.
Improve encryption security, making it difficult for attackers to decrypt through reverse parsing, and misleading attackers under disguised frequency, further enhancing information protection.
Smart Images

Figure CN120474634A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of encryption technology, and in particular to an encryption method, device, electronic device and storage medium. Background Art
[0002] Holographic encryption technology exploits the interference and diffraction properties of coherent waves, encoding information into specific wave fields to achieve encryption. This information can then be reconstructed and decrypted using specific decryption conditions. Compared to traditional encryption methods, holographic encryption offers strong anti-interference capabilities and high information concealment capabilities.
[0003] However, most current holographic encryption technologies rely on specific reference conditions such as reference light waves and reference sound waves. The corresponding decryption conditions are simple and easy to be inferred and reproduced by attackers. Once the attacker obtains the reference conditions, he may gradually approach the decryption conditions through reverse analysis methods such as repeated experiments or optimization algorithms, resulting in low encryption security. Summary of the Invention
[0004] The main purpose of the embodiments of the present application is to propose an encryption method, device, electronic device and storage medium, aiming to improve encryption security.
[0005] An embodiment of the present application provides an encryption method, comprising: obtaining information to be encrypted, and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted; obtaining, based on first structural parameters of a first holographic plate, a simulated encryption wavefield diagram corresponding to a first dielectric wave having the decryption frequency, and a simulated camouflage wavefield diagram corresponding to a second dielectric wave having the camouflage frequency; obtaining a target holographic plate having target structural parameters based on a first error between the simulated encryption wavefield diagram and a target encryption wavefield diagram corresponding to the decryption frequency, a second error between the simulated camouflage wavefield diagram and a target camouflage wavefield diagram corresponding to the camouflage frequency, and the first structural parameters; wherein the wavefield diagram displayed by the target holographic plate under the excitation of the dielectric wave having the decryption frequency contains the information to be encrypted.
[0006] In one embodiment, the obtaining of a simulated encrypted wavefield diagram corresponding to a first dielectric wave having the decryption frequency and a simulated camouflaged wavefield diagram corresponding to a second dielectric wave having the camouflage frequency based on the first structural parameters of the first holographic plate includes: determining phase information of the first holographic plate based on the first structural parameters; simulating the propagation behavior of the first dielectric wave in the first holographic plate using an angular spectrum method based on the phase information to obtain the simulated encrypted wavefield diagram; and simulating the propagation behavior of the second dielectric wave in the first holographic plate using the angular spectrum method based on the phase information to obtain the simulated camouflaged wavefield diagram.
[0007] In one embodiment, the method of obtaining a target holographic plate having target structural parameters based on a first error between the simulated encrypted wavefield map and the target encrypted wavefield map corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield map and the target camouflaged wavefield map corresponding to the camouflaged frequency, and the first structural parameters includes: determining a loss function corresponding to the first holographic plate based on the first error and the second error; and adjusting the first structural parameters based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map through a deep learning model when the loss function does not converge. Section, obtain a second holographic plate with second structural parameters; update the first holographic plate and the first structural parameters to the second holographic plate and the second structural parameters respectively, and return to execute the step of obtaining the simulated encrypted sound field map corresponding to the first dielectric wave with the decryption frequency and the simulated camouflaged sound field map corresponding to the second dielectric wave with the camouflage frequency based on the first structural parameters of the first holographic plate; wherein the target wavefield map includes the target encrypted wavefield map and the target camouflage wavefield map; when the loss function converges, the first holographic plate and the first structural parameters are determined as the target holographic plate and the target structural parameters respectively.
[0008] In one embodiment, before the first structural parameters are adjusted by the deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map to obtain the second holographic plate with second structural parameters, the encryption method also includes: obtaining the hologram data corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of the phase information, amplitude information and frequency information of each position of the first holographic plate; and learning the nonlinear mapping relationship based on the hologram data corresponding to the first holographic plate and the data of the target wave field map through the deep learning model.
[0009] In one embodiment, the first structural parameters are adjusted by the deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field diagram to obtain a second holographic plate with second structural parameters, including: performing gradient analysis on the hologram data corresponding to the first holographic plate based on the loss function by the deep learning model to obtain a first gradient value corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of the phase information, amplitude information and frequency information of each position of the first holographic plate; and adjusting the first structural parameters by the deep learning model based on the first gradient value and the nonlinear mapping relationship using a gradient descent optimization algorithm to obtain the second structural parameters; wherein the first gradient value is higher than the second gradient value corresponding to the second holographic plate.
[0010] In one embodiment, after obtaining a target holographic plate having target structural parameters based on a first error between the simulated encryption wave field map and a target encryption wave field map corresponding to the decryption frequency, a second error between the simulated camouflage wave field map and a target camouflage wave field map corresponding to the camouflage frequency, and the first structural parameters, the encryption method further includes: obtaining a third dielectric wave; exciting the target holographic plate using the third dielectric wave to obtain an excitation result corresponding to the third dielectric wave; wherein, when the frequency of the third dielectric wave is equal to the camouflage frequency, the excitation result is the target camouflage wave field map, and the target camouflage wave field map does not include the information to be encrypted; when the frequency of the third dielectric wave is equal to the decryption frequency, the excitation result is the target encryption wave field map, and the target encryption wave field map includes the information to be encrypted.
[0011] In one embodiment, the target encrypted wavefield map includes the information to be encrypted and disguised information corresponding to the information to be encrypted; wherein the information to be encrypted is located in a central axis area of the target encrypted wavefield map, and the disguised information is located in a non-central axis area of the target encrypted wavefield map; the target disguised wavefield map includes the disguised information; wherein the disguised information is located in a non-central axis area of the target disguised wavefield map.
[0012] An embodiment of the present application also provides an encryption device, comprising a first acquisition module, a second acquisition module and an adjustment module; the first acquisition module is used to acquire information to be encrypted, and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted; the second acquisition module is used to acquire, based on the first structural parameters of the first holographic plate, a simulated encryption wave field diagram corresponding to a first dielectric wave having the decryption frequency, and a simulated camouflage wave field diagram corresponding to a second dielectric wave having the camouflage frequency; the adjustment module is used to obtain a target holographic plate having target structural parameters based on a first error between the simulated encryption wave field diagram and a target encryption wave field diagram corresponding to the decryption frequency, a second error between the simulated camouflage wave field diagram and a target camouflage wave field diagram corresponding to the camouflage frequency, and the first structural parameters; wherein the wave field diagram displayed by the target holographic plate under the excitation of the dielectric wave having the decryption frequency contains the information to be encrypted.
[0013] An embodiment of the present application further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned encryption method when executing the computer program.
[0014] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned encryption method is implemented.
[0015] The present application provides an encryption method, device, electronic device and storage medium. By obtaining information to be encrypted and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted, and based on a first error between a simulated encrypted wave field map and a target encrypted wave field map corresponding to the decryption frequency and a first structural parameter of a first holographic plate, a second error between the simulated camouflage wave field map and a target camouflage wave field map corresponding to the camouflage frequency and the first structural parameter of the first holographic plate, and the first structural parameter of the first holographic plate, a target holographic plate with target structural parameters is obtained. The wave field map displayed by the target holographic plate under the excitation of a decryption frequency medium wave contains the information to be encrypted, thereby realizing information encryption using only the holographic plate. No additional reference conditions are required for the entire encryption process, so that even if an attacker obtains the hologram corresponding to the target holographic plate, it is difficult to decrypt it through reverse analysis, thereby improving encryption security. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a flowchart of the encryption method provided in the embodiment of the present application;
[0017] Figure 2 This is a schematic diagram of a specific process of the encryption method provided in an embodiment of the present application;
[0018] Figure 3ais a schematic diagram of a target encrypted wavefield map provided in an embodiment of the present application;
[0019] Figure 3b is a schematic diagram of a target camouflage wave field map provided in an embodiment of the present application;
[0020] Figure 4 is a schematic structural diagram of a target holographic plate provided in an embodiment of the present application;
[0021] Figure 5 Schematic diagram of the excitation process of the target holographic plate provided in an embodiment of the present application;
[0022] Figure 6a This is a schematic diagram of the excitation result of the target holographic plate provided in the embodiment of the present application. Figure 1 ;
[0023] Figure 6b This is a schematic diagram of the excitation result of the target holographic plate provided in the embodiment of the present application. Figure 2 ;
[0024] Figure 7 is a schematic structural diagram of an encryption device provided in an embodiment of the present application;
[0025] Figure 8 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0027] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0028] The encryption method provided in the embodiments of the present application can be applied to electronic devices and can be applied to the software of electronic devices. Among them, the electronic device can be a terminal or a server. In some embodiments, the terminal can be a smartphone, a tablet computer, a laptop computer, a desktop computer, etc.; the server can be configured as an independent physical server, or as a server cluster or distributed system composed of multiple physical servers, or as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The software can be an application that implements the encryption method, etc., but is not limited to the above forms.
[0029] The encryption method provided in the embodiments of the present application is described in detail below through specific embodiments in conjunction with the accompanying drawings.
[0030] See Figure 1 , an encryption method provided in an embodiment of the present application may include:
[0031] Step S101: obtaining information to be encrypted, as well as a camouflage frequency and a decryption frequency corresponding to the information to be encrypted;
[0032] Optionally, the information to be encrypted may be information in any format of characters or images; or may be information encoded in Morse code.
[0033] The camouflage frequency and decryption frequency corresponding to the information to be encrypted can be two different pre-set frequencies. In actual implementation, the camouflage frequency corresponding to the information to be encrypted can be used to encrypt and decrypt the camouflaged information corresponding to the information to be encrypted, and the decryption frequency corresponding to the information to be encrypted can be used to encrypt and decrypt the information to be encrypted, or to encrypt and decrypt composite information consisting of the information to be encrypted and the camouflaged information. Optionally, the camouflaged information is other pre-set information that is different from the information to be encrypted.
[0034] Step S102: Based on the first structural parameters of the first holographic plate, a simulated encrypted wave field map corresponding to a first dielectric wave having a decryption frequency and a simulated camouflaged wave field map corresponding to a second dielectric wave having a camouflage frequency are obtained;
[0035] Optionally, the first dielectric wave and the second dielectric wave are of the same type, which can be light waves or sound waves. Accordingly, when the first dielectric wave and the second dielectric wave are light waves, the first holographic plate can be a first light holographic plate; and when the first dielectric wave and the second dielectric wave are sound waves, the first holographic plate can be a first sound holographic plate.
[0036] In actual implementation, a method for simulating the propagation behavior of dielectric waves in a holographic plate can be used to simulate the propagation behavior of a first dielectric wave with a decryption frequency in a first holographic plate with first structural parameters, thereby obtaining a simulated encrypted wavefield diagram. Alternatively, a method for simulating the propagation behavior of dielectric waves in a holographic plate can be used to simulate the propagation behavior of a second dielectric wave with a camouflage frequency in the first holographic plate with first structural parameters, thereby obtaining a simulated camouflage wavefield diagram. Optionally, the method for simulating the propagation behavior of dielectric waves in a holographic plate includes any one of the Rayleigh-Sommerfeld diffraction integral method, the angular spectrum method, and the Fresnel approximation method.
[0037] Step S103: Based on a first error between the simulated encrypted wavefield image and a target encrypted wavefield image corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield image and a target camouflaged wavefield image corresponding to the camouflaged frequency, and the first structural parameters, a target holographic plate having target structural parameters is obtained; wherein the wavefield image displayed by the target holographic plate under the excitation of the dielectric wave having the decryption frequency contains the information to be encrypted.
[0038] Optionally, the target encryption wavefield map corresponding to the decryption frequency and the target camouflage wavefield map corresponding to the camouflage frequency are two pre-set different wavefield maps; the target encryption wavefield map may be a wavefield map containing only the information to be encrypted, or a wavefield map containing the information to be encrypted and the camouflage information; the target camouflage wavefield map may be a wavefield map containing the camouflage information.
[0039] In actual implementation, the first error can be obtained by calling a pre-stored error analysis algorithm to perform error analysis on the data of the simulated encrypted wavefield map and the target encrypted wavefield map. Similarly, the second error can be obtained by calling a pre-stored error analysis algorithm to perform error analysis on the data of the simulated spoofed wavefield map and the target spoofed wavefield map. Alternatively, the first error can be obtained by inputting the simulated encrypted wavefield map and the target encrypted wavefield map into a trained error analysis model. Similarly, the second error can be obtained by inputting the simulated spoofed wavefield map and the target spoofed wavefield map into a trained error analysis model.
[0040] In actual implementation, the correspondence between the pre-calibrated error and the adjustment index of the holographic plate structural parameter can be queried based on the first error, the second error, and the first structural parameter of the first holographic plate to obtain a target adjustment index. The adjustment index can include an adjustment direction and an adjustment amplitude. Accordingly, the target adjustment index can include a target adjustment direction and a target adjustment amplitude. Further, according to the target adjustment direction, the structural parameters of the first holographic plate can be adjusted by the target adjustment amplitude based on the first structural parameters to obtain a target holographic plate with target structural parameters. In actual implementation, a loss function corresponding to the first holographic plate can also be determined based on the first error and the second error. Based on the convergence of the loss function, a deep learning model can be used to adjust the first structural parameters of the first holographic plate to obtain a target holographic plate with target structural parameters, or the first holographic plate and the first structural parameter can be determined as the target holographic plate and the target structural parameter, respectively. For the specific implementation, please refer to the relevant description below and will not be described here.
[0041] In the embodiment of the present application, the target holographic plate has the following characteristics: the encrypted information can only be displayed by the target holographic plate when excited by a dielectric wave with a decryption frequency. In other words, if the dielectric wave exciting the target holographic plate has a decryption frequency, the target holographic plate can be triggered to display the encrypted information; if the dielectric wave exciting the target holographic plate has a non-decryption frequency, the target holographic plate cannot be triggered to display the encrypted information. In this way, the target holographic plate can ensure that legitimate personnel who know the decryption frequency can obtain the encrypted information, while preventing illicit personnel who do not know the decryption frequency from obtaining the encrypted information, thereby improving the security of encryption.
[0042] Optionally, the wave field diagram displayed by the target holographic plate under the excitation of the dielectric wave with the decryption frequency may contain only the information to be encrypted, or may contain the information to be encrypted and the above-mentioned camouflage information; the wave field diagram displayed by the target holographic plate under the excitation of the dielectric wave with the camouflage frequency may contain the above-mentioned camouflage information, which can be understood as the target holographic plate obtained in the embodiment of the present application has a dual-frequency excitation characteristic.
[0043] The embodiment of the present application obtains information to be encrypted, and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted, and based on a first error between a simulated encrypted wave field map and a target encrypted wave field map corresponding to the decryption frequency and the first structural parameter of the first holographic plate, a second error between the simulated camouflage wave field map and the target camouflage wave field map corresponding to the camouflage frequency and the first structural parameter of the first holographic plate, and the first structural parameter of the first holographic plate, obtains a target holographic plate with target structural parameters, and the wave field map displayed by the target holographic plate under the excitation of the decryption frequency dielectric wave contains the information to be encrypted, thereby realizing information encryption using only the holographic plate, and the entire The encryption process does not require additional reference conditions, so even if an attacker obtains the hologram corresponding to the target holographic plate, it is difficult to decrypt it through reverse analysis, which can improve the encryption security; in addition, the dual-frequency excitation characteristics make it difficult for an attacker to select the decryption frequency through blind frequency selection when the target holographic plate is obtained. On the other hand, the wave field diagram displayed by the target holographic plate under the excitation of the medium wave with the camouflage frequency contains camouflage information, which can cause the attacker to mistakenly regard the selected camouflage frequency as the decryption frequency. That is, when the above-mentioned camouflage information is obtained, the attacker may believe that the decryption is successful, thereby further improving the encryption security.
[0044] In one embodiment, step S102 of obtaining, based on the first structural parameter of the first holographic plate, a simulated encrypted wavefield map corresponding to a first dielectric wave having a decryption frequency and a simulated camouflaged wavefield map corresponding to a second dielectric wave having a camouflage frequency includes:
[0045] determining phase information of the first holographic plate based on the first structural parameter;
[0046] Based on the phase information, the angular spectrum method is used to simulate the propagation behavior of the first medium wave in the first holographic plate to obtain a simulated encrypted wave field map;
[0047] Based on the phase information, the angular spectrum method is used to simulate the propagation behavior of the second dielectric wave in the first holographic plate, and a simulated camouflaged wave field diagram is obtained.
[0048] Optionally, the first structural parameter may include at least one of a first surface morphology parameter, a first refractive index distribution and a first grating period; in actual implementation, the first structural parameter can be substituted into the relationship between the corresponding type of structural parameter and the phase information according to the type of the first structural parameter to obtain the phase information of the first holographic plate.
[0049] In actual implementation, the angular spectrum method can be used to first fill the phase information of the first holographic plate to reduce the boundary effect of the Fourier transform. The filled phase information is then Fourier transformed to convert the phase information from the spatial domain to the frequency domain, obtaining the Fourier transform result of the phase information. The Fourier transform result is then multiplied by the angular spectrum propagation operator determined based on the wavelength of the first dielectric wave to complete the simulated propagation calculation of the first dielectric wave in the first holographic plate, obtaining a simulated encrypted wavefield map in the frequency domain. The simulated encrypted wavefield map in the frequency domain is then inverse Fourier transformed to convert the simulated encrypted wavefield map in the frequency domain to a simulated encrypted wavefield map in the spatial domain. Finally, the simulated encrypted wavefield map in the spatial domain is optimized by cutting off the effective area and removing the filled portion to obtain the simulated encrypted wavefield map of the first holographic plate. The implementation process of simulating the propagation behavior of the second dielectric wave in the first holographic plate using the angular spectrum method can be referred to the implementation process of simulating the propagation behavior of the first dielectric wave in the first holographic plate using the angular spectrum method, and will not be repeated here.
[0050] In actual implementation, the above-mentioned angular spectrum method for simulating the propagation behavior of the first / second dielectric wave in the first holographic plate requires, in addition to the phase information and wavelength of the first / second dielectric wave, presetting parameters such as the physical dimensions of the first holographic plate, the propagation distance of the first / second dielectric wave relative to the first holographic plate, and the spatial sampling interval corresponding to the first / second dielectric wave in the angular spectrum method. Optionally, the first and second dielectric waves can be acoustic waves, the decryption frequency can be 2.0 MHz, and the camouflage frequency can be 1.7 MHz. To ensure the accuracy of the angular spectrum method for simulating the propagation behavior of acoustic waves in the holographic plate, water can be selected as the propagation medium, and the propagation velocity c of the acoustic wave can be set to 1488 m / s. The area for the simulated propagation calculation can adopt a 148×148 grid to ensure sufficient resolution for the simulation calculation. Optionally, the wavelength of the first / second dielectric wave is λ = c / f, where f represents the frequency of the first / second dielectric wave. Furthermore, based on the Nyquist sampling criterion, the spatial sampling interval corresponding to the first / second dielectric wave in the angular spectrum method can be set to p = λ / 2 to avoid spatial frequency aliasing. The physical dimensions of the first holographic plate can be determined to be 57 mm × 57 mm. Furthermore, to simulate the process of sound waves propagating from the holographic plate to the target area, the propagation distance between the first / second dielectric wave and the first holographic plate can be set to z = 2 cm. This ensures accurate reconstruction of the encrypted information under decryption conditions and high-precision recovery of the encrypted information.
[0051] The embodiment of the present application determines the phase information of the first holographic plate based on the first structural parameter, and uses the angular spectrum method to simulate the propagation behavior of the first dielectric wave in the first holographic plate based on the phase information to obtain a simulated encrypted wavefield map. The embodiment also uses the angular spectrum method to simulate the propagation behavior of the second dielectric wave in the first holographic plate based on the phase information to obtain a simulated camouflage wavefield map. This can improve the efficiency and accuracy of determining the simulated camouflage wavefield map and the simulated encrypted wavefield map, and further improve the efficiency and accuracy of obtaining the target holographic plate using the simulated camouflage wavefield map and the simulated encrypted wavefield map, thereby improving encryption security.
[0052] In one embodiment, the step S103 of obtaining a target holographic plate having target structural parameters based on a first error between a simulated encrypted wavefield image and a target encrypted wavefield image corresponding to a decryption frequency, a second error between a simulated spoofed wavefield image and a target spoofed wavefield image corresponding to the spoofed frequency, and the first structural parameters includes:
[0053] determining a loss function corresponding to the first holographic plate based on the first error and the second error;
[0054] In the case where the loss function has not converged, the first structural parameters are adjusted by a deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map to obtain a second holographic plate with second structural parameters; the first holographic plate and the first structural parameters are respectively updated to the second holographic plate and the second structural parameters, and the step of returning to execute based on the first structural parameters of the first holographic plate to obtain a simulated encrypted sound field map corresponding to the first dielectric wave with a decryption frequency and a simulated camouflaged sound field map corresponding to the second dielectric wave with a camouflage frequency; wherein the target wavefield map includes a target encrypted wavefield map and a target camouflage wavefield map;
[0055] When the loss function converges, the first holographic plate and the first structural parameters are determined as the target holographic plate and the target structural parameters, respectively.
[0056] Optionally, the average value of the first error and the second error can be determined as the loss function (Loss Function) corresponding to the first holographic plate; or the weighted sum of the first error and the second error can be determined as the loss function corresponding to the first holographic plate. The embodiment of the present application does not limit the implementation method of determining the loss function corresponding to the first holographic plate based on the first error and the second error. Optionally, the loss function corresponding to the first holographic plate is the square error (Mae Loss). In actual implementation, when the loss function converges, the first structural parameter can be determined as the target structural parameter, and the first holographic plate can be determined as the target holographic plate.
[0057] In actual implementation, when the current loss function corresponding to the first holographic plate is determined, the current loss function and the adjacent historical loss functions can be analyzed. If the analysis result shows that the loss function gradually becomes flat and fluctuates within a small range, it can be determined that the loss function has converged; on the contrary, if the analysis result shows that the loss function continues to decline or fluctuates violently, it can be determined that the loss function has not converged.
[0058] In some embodiments, when the loss function has not converged, the loss function, the first structural parameters of the first holographic plate and the hologram data corresponding to the first holographic plate can be input into a deep learning model. The deep learning model can obtain the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map by learning the relationship between the hologram data corresponding to the first holographic plate and the data of the target wave field map; the loss function and the first structure of the first holographic plate can also be input into the deep learning model. The deep learning model can first obtain the hologram data corresponding to the first holographic plate based on the first structural parameters of the first holographic plate, and then obtain the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map by learning the relationship between the hologram data corresponding to the first holographic plate and the data of the target wave field map.
[0059] Then, the deep learning model can adjust the first structural parameters based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map according to the pre-learned nonlinear mapping relationship between the hologram corresponding to the holographic plate and the target wave field map, the loss function and the correspondence between the adjustment indicators of the holographic plate structural parameters, so as to obtain a second holographic plate with second structural parameters; the deep learning model can also use the gradient descent optimization algorithm to adjust the first structural parameters based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map to obtain a second holographic plate with second structural parameters. The specific implementation can be found in the relevant description below and is not described here.
[0060] In the embodiment of the present application, when the loss function has not converged, the first structural parameters are adjusted by a deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map to obtain a second holographic plate with second structural parameters, and the first holographic plate and the first structural parameters are updated to the second holographic plate and the second structural parameters respectively, and the step of returning to execute based on the first structural parameters of the first holographic plate to obtain a simulated encrypted sound field map corresponding to the first medium wave with a decryption frequency and a simulated camouflaged sound field map corresponding to the second medium wave with a camouflage frequency can be improved. The encryption effect of the target holographic plate with the target structural parameters obtained by adjusting the first structural parameters on the encrypted information can be improved, so that the target holographic plate only displays the wave field map containing the information to be encrypted when excited by the medium wave with the decryption frequency, and only displays the wave field map containing the camouflage information when excited by the medium wave with the camouflage frequency.
[0061] In one embodiment, before adjusting the first structural parameters using the deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map to obtain the second holographic plate having the second structural parameters, the encryption method provided in the embodiment of the present application further includes:
[0062] Acquire hologram data corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of phase information, amplitude information, and frequency information of each position of the first holographic plate;
[0063] The nonlinear mapping relationship is learned through a deep learning model based on the hologram data corresponding to the first holographic plate and the data of the target wave field map.
[0064] In actual implementation, the first structural parameters can be substituted into the relationship between the corresponding type of structural parameters and the hologram data according to the type of the first structural parameters to obtain the hologram data corresponding to the first holographic plate; the first structural parameters of the first holographic plate can also be input into the above-mentioned deep learning model, and the deep learning model can generate the hologram data corresponding to the first holographic plate based on the first structural parameters according to the conversion relationship between the pre-learned structural parameters and the hologram data; the embodiment of the present application does not limit the method for obtaining the hologram data corresponding to the first holographic plate.
[0065] Furthermore, the deep learning model can learn the relationship between the hologram data corresponding to the first holographic plate and the data of the target wavefield map, and obtain a nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map.
[0066] The embodiment of the present application obtains the hologram data corresponding to the first holographic plate, and learns the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map based on the hologram data corresponding to the first holographic plate and the target wavefield map through a deep learning model. This can improve the efficiency and accuracy of determining the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map, and further improve the encryption effect of the target holographic plate with target structural parameters obtained based on the nonlinear mapping relationship on the encrypted information, so that the target holographic plate only displays the wavefield map containing the information to be encrypted when excited by the medium wave with the decryption frequency, and only displays the wavefield map containing the camouflaged information when excited by the medium wave with the camouflage frequency.
[0067] In one embodiment, the first structural parameters are adjusted by the deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map to obtain the second holographic plate with second structural parameters, including:
[0068] performing gradient analysis on hologram data corresponding to the first holographic plate based on a loss function using a deep learning model to obtain a first gradient value corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of phase information, amplitude information, and frequency information at each position of the first holographic plate;
[0069] Based on the first gradient value and the nonlinear mapping relationship, the first structural parameter is adjusted using a gradient descent optimization algorithm through a deep learning model to obtain the second structural parameter; wherein the first gradient value is higher than the second gradient value corresponding to the second holographic plate.
[0070] In actual implementation, the deep learning model can obtain the gradient analysis method of the gradient value corresponding to the holographic plate through the pre-learned loss function corresponding to the holographic plate and the hologram data corresponding to the holographic plate, and perform gradient analysis on the hologram data corresponding to the first holographic plate based on the loss function of the first holographic plate to obtain the first gradient value corresponding to the first holographic plate.
[0071] Furthermore, the deep learning model can calculate the second structural parameters based on the first gradient value and the first structural parameters according to the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map, using a gradient descent optimization algorithm; further, the structural parameters of the first holographic plate can be adjusted from the first structural parameters to the second structural parameters to obtain a second holographic plate with second structural parameters, and the second gradient value corresponding to the second holographic plate will be smaller than the first gradient value corresponding to the first holographic plate.
[0072] In an embodiment of the present application, a deep learning model is used to perform gradient analysis on the hologram data corresponding to the first holographic plate based on a loss function to obtain a first gradient value corresponding to the first holographic plate, and a deep learning model is used to adjust the first structural parameter using a gradient descent optimization algorithm based on the first gradient value and a nonlinear mapping relationship to obtain a second structural parameter. This can improve the accuracy of adjusting the first structural parameter, and further improve the encryption effect of the target holographic plate with the target structural parameter obtained by adjusting the first structural parameter on the encrypted information, so that the target holographic plate only displays a wave field diagram containing the information to be encrypted when excited by a medium wave with a decryption frequency, and only displays a wave field diagram containing the camouflaged information when excited by a medium wave with a camouflage frequency.
[0073] In one embodiment, after obtaining a target holographic plate having target structural parameters based on the first error between the simulated encrypted wavefield image and the target encrypted wavefield image corresponding to the decryption frequency, the second error between the simulated spoofed wavefield image and the target spoofed wavefield image corresponding to the spoofed frequency, and the first structural parameters in step S103, the encryption method provided in this embodiment of the present application further includes:
[0074] Obtain third medium wave;
[0075] The target holographic plate is excited by the third dielectric wave to obtain an excitation result corresponding to the third dielectric wave.
[0076] In actual implementation, a third dielectric wave of the same type as the first and second dielectric waves can be used to excite the target holographic plate by penetrating the third dielectric wave, obtaining an excitation result corresponding to the third dielectric wave. Optionally, when the frequency of the third dielectric wave equals the camouflage frequency, the excitation result is a target camouflage wavefield diagram, which does not contain the information to be encrypted. When the frequency of the third dielectric wave equals the decryption frequency, the excitation result is a target encrypted wavefield diagram, which contains the information to be encrypted. When the third dielectric wave has a frequency other than the camouflage frequency and the decryption frequency, the excitation result can be a wavefield diagram different from the target encrypted wavefield diagram, or it can be empty, meaning that the target hologram is excited by the third dielectric wave without displaying any wavefield diagram.
[0077] It is worth mentioning that when the frequency of the third medium wave is equal to the camouflage frequency, the third medium wave and the above-mentioned second medium wave can be the same medium wave with the same frequency, or they can be different medium waves with the same frequency; when the frequency of the third medium wave is equal to the decryption frequency, the third medium wave and the above-mentioned first medium wave can be the same medium wave with the same frequency, or they can be different medium waves with the same frequency.
[0078] In the embodiment of the present application, a third dielectric wave is used to excite the target holographic plate. When the frequency of the third dielectric wave is equal to the decryption frequency, the excitation result obtained is the target encrypted wave field diagram. When the frequency of the third dielectric wave is not equal to the decryption frequency, the excitation result obtained may be a target camouflage wave field diagram, or other wave field diagrams different from the target encrypted wave field diagram, or the excitation result may be empty, thereby improving the encryption security of the target holographic plate with target structural parameters for encrypted information.
[0079] In one embodiment, the target encrypted wavefield map includes information to be encrypted and disguised information corresponding to the information to be encrypted; wherein the information to be encrypted is located in a central axis area of the target encrypted wavefield map, and the disguised information is located in a non-central axis area of the target encrypted wavefield map; the target disguised wavefield map includes disguised information corresponding to the information to be encrypted; wherein the disguised information is located in a non-central axis area of the target disguised wavefield map.
[0080] In the embodiment of the present application, by setting the information to be encrypted in the central axis area of the target encrypted wavefield map, setting the camouflage information in the non-central axis area of the target encrypted wavefield map, and setting the camouflage information in the non-central axis area of the target camouflage wavefield map, the target holographic plate obtained by using the target encrypted wavefield map and the target camouflage wavefield map can clearly display the information to be encrypted under the excitation of the medium wave with the decryption frequency, and can not display or blur the information to be encrypted under the excitation of the medium wave with the camouflage frequency, thereby improving the encryption effect of the target holographic plate on the encrypted information.
[0081] See Figure 2 In a specific embodiment, the encryption method provided in the embodiment of the present application may further include the following steps:
[0082] 1) Randomly generate an initial structure of the first holographic plate (the structural parameters corresponding to the initial structure can be called first structural parameters, and the corresponding number n=0), and divide the first holographic plate into four modules of equal size. Each module is discretized into a 148×148 matrix, and each unit in the matrix records the phase information of each position in the first holographic plate;
[0083] 2) Setting information to be encrypted, a decryption frequency and a camouflage frequency corresponding to the information to be encrypted, and using the angular spectrum method to simulate the sound fields at these two frequencies based on the phase information of each position in the first holographic plate: using the angular spectrum method to simulate the propagation behavior of a first dielectric wave with the decryption frequency in the first holographic plate to obtain a simulated camouflage wavefield diagram, and using the angular spectrum method to simulate the propagation behavior of a second dielectric wave with the camouflage frequency in the first holographic plate to obtain a simulated encryption wavefield diagram; performing an error comparison between the simulated encryption wavefield diagram and a target encryption wavefield diagram corresponding to the decryption frequency to obtain a first error between the two (also referred to as an encryption sound field error); performing an error comparison between the simulated camouflage wavefield diagram and a target camouflage wavefield diagram corresponding to the camouflage frequency to obtain a second error between the two (also referred to as a camouflage sound field error);
[0084] 3) Based on the first error and the second error, determine the loss function corresponding to the first holographic plate; judge whether the loss function converges. If the loss function has not converged, perform gradient analysis based on the phase information of each position of the first holographic plate through the deep learning model, and use the gradient descent optimization algorithm (also known as the error gradient descent optimization strategy) to continuously adjust the structural parameters of the first holographic plate (correspondingly, the number corresponding to the structural parameters of the first holographic plate is updated from n to n+1, and n=n+1 can be used to represent the update process). When the loss function gradually decreases and finally converges to the lowest, the deep learning model outputs the target structural parameters to ensure that the first holographic plate with the target structural parameters can accurately display the hidden information to be encrypted under the excitation of the medium wave with the decryption frequency, and can accurately display the camouflaged information under the excitation of the medium wave with the camouflage frequency.
[0085] In actual implementation, the deep learning model can be a convolutional neural network (CNN) model. In one model structure example, the CNN model used in the embodiment of the present application may include an input layer, a downsampling part, an upsampling part, and an output layer. The upsampling part may include four upsampling modules, and the downsampling part may include five downsampling modules.
[0086] The CNN model can receive the loss function corresponding to the first holographic plate, the hologram data corresponding to the first holographic plate, and the first structural parameter of the first holographic plate through the input layer. Optionally, the input layer includes five channels (in_channels=5) for respectively receiving data of different dimensions such as amplitude, phase, and frequency of the hologram corresponding to the holographic plate. Then, the CNN network can learn the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wave field map through a series of convolutional layers (Conv2D) and Leaky ReLU activation functions, and can perform batch normalization (BatchNorm2D) on the nonlinear mapping relationship to improve the stability of utilizing the nonlinear mapping relationship.
[0087] The downsampling part (Encoder) can extract high-level features by gradually reducing the spatial dimension and increasing the number of channels (16 → 32 → 64 → 128 → 256). It also uses Max Pool 2D to reduce the resolution while retaining the most important feature information. CNN networks can use layer-by-layer downsampling to compress feature data.
[0088] The upsampling part (Decoder) can gradually restore the spatial resolution through deconvolution (ConvTranspose2D). The CNN network can perform deconvolution through the upsampling part so that the hologram corresponding to the holographic plate can be restored to a form that matches the target wave field. In addition, each upsampling module in the upsampling part is jump-connected to the corresponding downsampling module in the downsampling part to ensure that the information is retained throughout the entire propagation process. During the decoding process, we use skip connections to ensure that local features of the lower layer can be directly transmitted to the higher layer, thereby improving the information resolution and information expression capabilities corresponding to the target holographic plate.
[0089] The output layer can use a 1×1 convolution kernel to compress the number of channels and output the optimized structural parameters of a single-channel holographic plate.
[0090] In another specific embodiment, the information to be encrypted may be postal code information encoded using Morse code, the disguised information corresponding to the information to be encrypted may be SIAT characters, the decryption frequency may be 2.0 MHz, and the disguised frequency may be 1.7 MHz; the first medium wave with the decryption frequency and the second medium wave with the disguised frequency may be acoustic waves, and the target encrypted wave field corresponding to the decryption frequency may be as follows: Figure 3a In the acoustic field diagram shown, the zip code information encoded in Morse code is located in the central axis area of the target encrypted wave field diagram, and the SIAT characters are located in the non-central axis area of the target encrypted wave field diagram; the target camouflage wave field diagram corresponding to the camouflage frequency can be as follows Figure 3bThe SIAT characters are located in the non-central axis area of the target encrypted wavefield map. Based on these preset information, by executing the above steps S101 to S103, the following can be obtained: Figure 4 The target holographic plate is shown.
[0091] See Figure 5 , using 1.7MHz sound waves to Figure 4 The target holographic plate shown is excited, and the following Figure 6a The camouflage sound field diagram shown uses a 2.0MHz sound wave to Figure 4 The target holographic plate shown is excited, and the following Figure 6b The encrypted sound field diagram shown. Figure 6a and Figure 6b It can be seen that under the excitation of 1.7MHz sound waves, the target holographic plate only displays the SIAT characters in the non-central axis area of the camouflage sound field image, and the information displayed in the central axis area of the camouflage sound field image is in a disordered and fuzzy random distribution state, making it impossible for unauthorized observers to detect the hidden Morse code encoded postal code information; and under the excitation of 2.0MHz sound waves, the target holographic plate not only displays the SIAT characters in the non-central axis area of the encrypted sound field image, but also clearly displays the Morse code encoded postal code information in the non-central axis area of the encrypted sound field image. The above content can show that using the encryption method provided in the embodiment of the present application to encrypt or decrypt encrypted information can achieve good results.
[0092] The embodiments of the present application utilize a deep learning model to automatically optimize the structural parameters of the holographic plate, encrypting the information to be encrypted in a target holographic plate with target structural parameters. This improves the concealment and decryption threshold of the information to be encrypted. The entire encryption process of the encrypted information does not require additional reference conditions, making it difficult for an attacker to reversely deduce the encrypted information using traditional optical or data methods once they obtain the target holographic plate, thereby improving the anti-cracking capability of the encrypted information. Furthermore, the target holographic plate obtained in the embodiments of the present application has dual-frequency excitation characteristics. When excited by a dielectric wave with a camouflage frequency, it only displays the camouflaged information of the information to be encrypted, thereby achieving camouflage of the encrypted information. It only displays the encrypted information when excited by a dielectric wave with a decryption frequency, thereby improving the security of the encryption of the information to be encrypted and effectively preventing physical detection attacks by attackers. Furthermore, the encrypted information in the embodiments of the present application is encoded using Morse code, so that even if some characters of the encrypted information are recognized, the complete information still needs to be further deciphered, further improving the security of the encryption of the encrypted information. In addition, when the above-mentioned medium wave is a sound wave, the encryption method provided in the embodiment of the present application can be applied to scenarios such as underwater communication, underwater invisible information transmission and underwater security identity authentication. The entire encryption process does not require high-precision optical coherence equipment, and the encryption of the encrypted information can be achieved using ultrasonic transducers and deep learning models. This can not only greatly reduce the equipment cost and environmental requirements for encrypting the encrypted information, but also make full use of the characteristics of sound waves with strong penetration ability and low propagation loss in water. It can also make full use of the deep learning model to further optimize the structural parameters of the target holographic plate, so that the target holographic plate can still maintain stable information encryption and decryption effects in complex water environments, making the encryption method provided in the embodiment of the present application have strong technical feasibility and practicality in the fields of ocean exploration, deep-sea data transmission and underwater acoustic anti-counterfeiting.
[0093] See Figure 7 , an embodiment of the present application further provides an encryption device 700 , comprising a first acquisition module 701 , a second acquisition module 702 and an adjustment module 703 .
[0094] The first acquisition module 701 is used to obtain the information to be encrypted, and the camouflage frequency and decryption frequency corresponding to the information to be encrypted;
[0095] The second acquisition module 702 is configured to acquire, based on the first structural parameters of the first holographic plate, a simulated encrypted wave field map corresponding to a first dielectric wave having a decryption frequency and a simulated camouflaged wave field map corresponding to a second dielectric wave having a camouflage frequency;
[0096] The adjustment module 703 is configured to obtain a target holographic plate having target structural parameters based on a first error between the simulated encrypted wavefield image and the target encrypted wavefield image corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield image and the target camouflaged wavefield image corresponding to the camouflaged frequency, and the first structural parameters; wherein the wavefield image displayed by the target holographic plate under the excitation of the dielectric wave having the decryption frequency contains the information to be encrypted.
[0097] The encryption device provided in the embodiment of the present application can implement each step of the above-mentioned encryption method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0098] An embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor. When the program or instruction is executed by the processor, the various steps of the above-mentioned encryption method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0099] Figure 8 To implement the hardware structure diagram of an electronic device in an embodiment of the present application, the electronic device includes:
[0100] The processor 801 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0101] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 802 and is called by the processor 801 to execute the encryption method of the embodiments of this application.
[0102] Input / output interface 803, used to implement information input and output;
[0103] Communication interface 804, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);
[0104] Bus 805 , which transmits information between various components of the device (e.g., processor 801 , memory 802 , input / output interface 803 , and communication interface 804 );
[0105] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0106] The electronic device provided in the embodiment of the present application can implement each step of the above-mentioned encryption method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0107] An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various steps of the above-mentioned encryption method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.
[0108] The processor is the processor in the electronic device described in the above embodiment. The computer-readable storage medium includes a computer-readable storage medium such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0109] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various steps of the above-mentioned encryption method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0110] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0111] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various steps of the above-mentioned encryption method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0112] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not delete the existence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0114] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. An encryption method, characterized in that: include: Obtaining information to be encrypted, and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted; Based on the first structural parameters of the first holographic plate, a simulated encrypted wave field map corresponding to the first dielectric wave having the decryption frequency and a simulated camouflaged wave field map corresponding to the second dielectric wave having the camouflage frequency are obtained; Based on a first error between the simulated encrypted wavefield map and a target encrypted wavefield map corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield map and a target camouflaged wavefield map corresponding to the camouflaged frequency, and the first structural parameters, a target holographic plate having target structural parameters is obtained; wherein, the wavefield map displayed by the target holographic plate under the excitation of the dielectric wave having the decryption frequency contains the information to be encrypted.
2. The encryption method according to claim 1, wherein: The obtaining, based on the first structural parameter of the first holographic plate, a simulated encrypted wave field map corresponding to the first dielectric wave having the decryption frequency and a simulated camouflaged wave field map corresponding to the second dielectric wave having the camouflage frequency includes: determining phase information of the first holographic plate based on the first structural parameter; Based on the phase information, simulating the propagation behavior of the first dielectric wave in the first holographic plate using an angular spectrum method to obtain the simulated encrypted wavefield diagram; Based on the phase information, the propagation behavior of the second dielectric wave in the first holographic plate is simulated using the angular spectrum method to obtain the simulated camouflage wave field diagram.
3. The encryption method according to claim 1, wherein: The method of obtaining a target holographic plate having target structural parameters based on a first error between the simulated encrypted wavefield image and a target encrypted wavefield image corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield image and a target camouflaged wavefield image corresponding to the camouflaged frequency, and the first structural parameters includes: determining a loss function corresponding to the first holographic plate based on the first error and the second error; In the case that the loss function has not converged, the first structural parameters are adjusted through a deep learning model based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield map to obtain a second holographic plate with second structural parameters; the first holographic plate and the first structural parameters are updated to the second holographic plate and the second structural parameters respectively, and the step of returning to execute the first structural parameters based on the first holographic plate to obtain a simulated encrypted sound field map corresponding to the first dielectric wave having the decryption frequency and a simulated camouflaged sound field map corresponding to the second dielectric wave having the camouflage frequency; wherein the target wavefield map includes the target encrypted wavefield map and the target camouflage wavefield map; When the loss function converges, the first holographic plate and the first structural parameters are determined as the target holographic plate and the target structural parameters, respectively.
4. The encryption method according to claim 3, wherein: Before adjusting the first structural parameters based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield image through the deep learning model to obtain the second holographic plate having second structural parameters, the encryption method further includes: Acquire hologram data corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of phase information, amplitude information, and frequency information of each position of the first holographic plate; The nonlinear mapping relationship is learned by the deep learning model based on the hologram data corresponding to the first holographic plate and the data of the target wavefield map.
5. The encryption method according to claim 3, wherein: The method of adjusting the first structural parameters based on the loss function and the nonlinear mapping relationship between the hologram corresponding to the first holographic plate and the target wavefield image by the deep learning model to obtain the second holographic plate having second structural parameters includes: performing a gradient analysis on the hologram data corresponding to the first holographic plate based on the loss function using the deep learning model to obtain a first gradient value corresponding to the first holographic plate; wherein the hologram data corresponding to the first holographic plate includes at least one of phase information, amplitude information, and frequency information at each position of the first holographic plate; The first structural parameter is adjusted by the deep learning model based on the first gradient value and the nonlinear mapping relationship using a gradient descent optimization algorithm to obtain the second structural parameter; wherein the first gradient value is higher than the second gradient value corresponding to the second holographic plate.
6. The encryption method according to claim 1, wherein: After obtaining a target holographic plate having target structural parameters based on a first error between the simulated encrypted wavefield map and a target encrypted wavefield map corresponding to the decryption frequency, a second error between the simulated masquerading wavefield map and a target masquerading wavefield map corresponding to the masquerading frequency, and the first structural parameters, the encryption method further includes: Obtain third medium wave; Exciting the target holographic plate by using the third dielectric wave to obtain an excitation result corresponding to the third dielectric wave; Among them, when the frequency of the third medium wave is equal to the camouflage frequency, the excitation result is the target camouflage wave field map, and the target camouflage wave field map does not contain the information to be encrypted; when the frequency of the third medium wave is equal to the decryption frequency, the excitation result is the target encrypted wave field map, and the target encrypted wave field map contains the information to be encrypted.
7. The encryption method according to claim 1, wherein: The target encrypted wavefield map includes the information to be encrypted and disguised information corresponding to the information to be encrypted; wherein the information to be encrypted is located in a central axis area of the target encrypted wavefield map, and the disguised information is located in a non-central axis area of the target encrypted wavefield map; The target camouflaged wavefield image includes the camouflaged information; wherein, the camouflaged information is located in a non-central axis area of the target camouflaged wavefield image.
8. An encryption device, characterized in that: It includes a first acquisition module, a second acquisition module and an adjustment module; The first acquisition module is used to obtain information to be encrypted, and a camouflage frequency and a decryption frequency corresponding to the information to be encrypted; The second acquisition module is configured to acquire, based on the first structural parameters of the first holographic plate, a simulated encrypted wave field map corresponding to the first dielectric wave having the decryption frequency and a simulated camouflaged wave field map corresponding to the second dielectric wave having the camouflage frequency; The adjustment module is configured to obtain a target holographic plate having target structural parameters based on a first error between the simulated encrypted wavefield map and a target encrypted wavefield map corresponding to the decryption frequency, a second error between the simulated camouflaged wavefield map and a target camouflaged wavefield map corresponding to the camouflaged frequency, and the first structural parameters; wherein a wavefield map displayed by the target holographic plate under the excitation of a dielectric wave having the decryption frequency contains the information to be encrypted.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the encryption method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the encryption method according to any one of claims 1 to 7 is implemented.