CN116226892B - Data encryption method and device, storage medium and electronic equipment - Google Patents

Data encryption method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116226892B
CN116226892B CN202310510638.9A CN202310510638A CN116226892B CN 116226892 B CN116226892 B CN 116226892B CN 202310510638 A CN202310510638 A CN 202310510638A CN 116226892 B CN116226892 B CN 116226892B
Authority
CN
China
Prior art keywords
micro
specified
phase change
nano
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310510638.9A
Other languages
Chinese (zh)
Other versions
CN116226892A (en
Inventor
张萌徕
张磊
焦文婷
高阳
尹坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lab
Original Assignee
Zhejiang Lab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lab filed Critical Zhejiang Lab
Priority to CN202310510638.9A priority Critical patent/CN116226892B/en
Publication of CN116226892A publication Critical patent/CN116226892A/en
Application granted granted Critical
Publication of CN116226892B publication Critical patent/CN116226892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/14Thermal energy storage

Abstract

The specification discloses a data encryption method, a device, a storage medium and electronic equipment, which can be used for modulating far-field images and near-field images into a super surface formed by micro-nano units based on an interference principle, so that two different images can be recorded through the super surface to improve the information capacity of the super surface, and dynamic hiding of the far-field images and the near-field images can be realized through a phase change material, so that the safety of the stored far-field images and near-field images can be further improved.

Description

Data encryption method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of optical encryption technologies, and in particular, to a data encryption method, a data encryption device, a storage medium, and an electronic device.
Background
The optical encryption technology is a data encryption and information hiding technology based on an optical principle, and in the optical encryption system, light waves are limited by diffraction during transmission, diffraction is necessarily accompanied, parameters such as polarization state, incidence angle, wavelength and orbital angular momentum are included, and each micro-nano structure has different refractive indexes for light waves with different polarization states, incidence angles, wavelengths and orbital angular momentums, so that the parameters such as polarization states, incidence angles, wavelengths and orbital angular momentums corresponding to light waves forming specified image data can be used as specified parameters, and the micro-nano structures are arranged according to the refractive indexes of the micro-nano structures under the specified parameters to form a super surface, so that the specified image data can be presented when the light waves with the specified parameters are irradiated on the super surface.
However, the information capacity of storing image information by the micro-nano structure is poor, so how to further increase the information capacity is a problem to be solved.
Disclosure of Invention
The present disclosure provides a data encryption method, apparatus, storage medium, and electronic device, so as to partially solve the foregoing problems in the prior art.
The technical scheme adopted in the specification is as follows:
the specification provides a data encryption method, comprising:
acquiring a first target image and a second target image;
determining an intensity distribution of the first target image and determining a phase distribution of the second target image;
for each micro-nano unit composing the super surface, determining a phase difference between two micro-nano structures contained in the micro-nano unit according to the intensity distribution of the first target image; and
determining a phase sum between two micro-nano structures contained in the micro-nano unit according to the phase distribution of the second target image;
screening two micro-nano structures for forming the micro-nano unit from the candidate micro-nano structures according to the phase difference, the phase sum and the phase of each predetermined candidate micro-nano structure under the irradiation of the appointed decryption light wave;
Determining an arrangement sequence among the micro-nano structures used for forming each micro-nano unit, obtaining a designated super surface according to the arrangement sequence, and executing tasks through the designated super surface, wherein the designated super surface presents the first target image in a near-field area and the second target image in a far-field area under the irradiation of the designated decryption light wave.
Optionally, the micro-nano structure is composed of a phase change material;
the determined phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave specifically comprises the following steps:
when the phase change materials forming the candidate micro-nano structures are in a first target phase change state, determining the refractive index of the phase change materials under the irradiation of the appointed decryption light waves;
and determining the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the candidate micro-nano structure.
Optionally, the micro-nano structure is composed of a phase change material;
the determined phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave specifically comprises the following steps:
obtaining each basic micro-nano structure;
when the phase change materials forming the basic micro-nano structures are in a specified first target phase change state, determining the refractive index of the phase change materials under the irradiation of the specified decryption light waves;
For each basic micro-nano structure, determining the phase of the basic micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the basic micro-nano structure;
and screening each basic micro-nano structure with the phase of the specified decrypted light wave irradiation as the specified phase from each basic micro-nano structure to be used as each candidate micro-nano structure.
Optionally, the method further comprises:
applying a first specified condition value to each micro-nano structure composing the specified super surface to enable the phase change material composing each micro-nano structure to be converted from the first target phase change state to a second phase change state, wherein the first specified condition value comprises the following steps: heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency.
Optionally, the method further comprises:
determining a second specified condition value required when the phase change materials forming each micro-nano structure are in a first target phase change state according to the association relation between the first specified condition value and the phase change state of the phase change materials;
and applying a treatment conforming to a second specified condition value to each micro-nano structure composing the specified super-surface so as to enable the phase change material composing each micro-nano structure to be converted into a first target phase change state from the second phase change state, enabling the specified super-surface to present the first target image in a near field area and present the second target image in a far field area under the irradiation of specified decryption light waves.
Optionally, the phase change material includes: antimony trisulfide Sb 2 S 3 Selenium (Se)Antimony oxide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 One of them.
Optionally, the specified decryption light wave has specified parameters, the specified parameters including: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
The present specification provides a data encryption apparatus including:
the acquisition module is used for acquiring a first target image and a second target image;
a first determining module for determining an intensity distribution of the first target image and determining a phase distribution of the second target image;
the second determining module is used for determining the phase difference between two micro-nano structures contained in each micro-nano unit for forming the super surface according to the intensity distribution of the first target image; and
the third determining module is used for determining the phase sum between the two micro-nano structures contained in the micro-nano unit according to the phase distribution of the second target image;
the screening module is used for screening two micro-nano structures for forming the micro-nano unit from the candidate micro-nano structures according to the phase difference, the phase sum and the phase of each predetermined candidate micro-nano structure under the irradiation of the appointed decryption light wave;
And the execution module is used for determining the arrangement sequence among the micro-nano structures for forming each micro-nano unit, obtaining a designated super surface according to the arrangement sequence, executing task execution through the designated super surface, and displaying the first target image in a near field region and the second target image in a far field region under the irradiation of the designated decryption light wave by the designated super surface.
Optionally, the micro-nano structure is composed of a phase change material;
the screening module is specifically configured to determine, when phase change materials forming the candidate micro-nano structures are in a first target phase change state, a refractive index of the phase change materials under irradiation of the specified decryption light wave; and determining the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the candidate micro-nano structure.
Optionally, the micro-nano structure is composed of a phase change material;
the screening module is specifically used for acquiring each basic micro-nano structure; when the phase change materials forming the basic micro-nano structures are in a specified first target phase change state, determining the refractive index of the phase change materials under the irradiation of the specified decryption light waves; for each basic micro-nano structure, determining the phase of the basic micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the basic micro-nano structure; and screening each basic micro-nano structure with the phase of the specified decrypted light wave irradiation as the specified phase from each basic micro-nano structure to be used as each candidate micro-nano structure.
Optionally, the executing module is specifically configured to apply a first specified condition value to each micro-nano structure that forms the specified super surface, so that the phase change material that forms each micro-nano structure is converted from the first target phase change state to the second phase change state, where the first specified condition value includes: heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency.
Optionally, the apparatus further comprises: a decryption module;
the decryption module is specifically configured to determine, according to an association relationship between the first specified condition value and the phase change state of the phase change material, a second specified condition value required when the phase change material forming each micro-nano structure is in a first target phase change state; and applying a treatment conforming to a second specified condition value to each micro-nano structure composing the specified super-surface so as to enable the phase change material composing each micro-nano structure to be converted into a first target phase change state from the second phase change state, enabling the specified super-surface to present the first target image in a near field area and present the second target image in a far field area under the irradiation of specified decryption light waves.
Optionally, the phase change material includes: antimony trisulfide Sb 2 S 3 Antimony selenide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 One of them.
Optionally, the specified decryption light wave has specified parameters, the specified parameters including: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
The present specification provides a computer readable storage medium storing a computer program which when executed by a processor implements the above described data encryption method.
The present specification provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above described data encryption method when executing the program.
The above-mentioned at least one technical scheme that this specification adopted can reach following beneficial effect:
in the data encryption method provided in the present specification, first, a first target image and a second target image are acquired, an intensity distribution of the first target image is determined, a phase distribution of the second target image is determined, for each micro-nano unit constituting a super surface, a phase difference between two micro-nano structures included in the micro-nano unit is determined according to the intensity distribution of the first target image, and a phase sum between two micro-nano structures included in the micro-nano unit is determined according to the phase distribution of the second target image, and according to the phase difference, the phase sum, and a predetermined phase of each candidate micro-nano structure under irradiation of a specified decryption light wave, two micro-nano structures for constituting the micro-nano unit are screened out from each candidate micro-nano structure, an arrangement order between each micro-nano structure for constituting each micro-nano unit is determined, so as to obtain the specified super surface according to the arrangement order, and task execution is performed by the specified super surface, wherein the specified super surface presents the first target image in a near field region and the second target image in a far field region under irradiation of the specified decryption light wave.
It can be seen from the above method that the far-field image and the near-field image can be modulated into the super-surface composed of the micro-nano units simultaneously based on the interference principle, so that two different images can be recorded through the super-surface to improve the information capacity of the super-surface.
Drawings
The accompanying drawings, which are included to provide a further understanding of the specification, illustrate and explain the exemplary embodiments of the present specification and their description, are not intended to limit the specification unduly. In the drawings:
FIG. 1 is a schematic diagram of a data encryption method provided in the present specification;
FIG. 2 is a schematic diagram of the encryption process provided in the present specification;
FIG. 3 is a schematic diagram of the decryption process provided in the present specification;
FIG. 4 is a schematic diagram of a data encryption device provided in the present specification;
fig. 5 is a schematic diagram of an electronic device corresponding to fig. 1 provided in the present specification.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present specification more apparent, the technical solutions of the present specification will be clearly and completely described below with reference to specific embodiments of the present specification and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present specification. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present specification with reference to the accompanying drawings.
In this specification, a data encryption method is provided, as shown in fig. 1:
fig. 1 is a schematic diagram of a data encryption method provided in the present specification, including the following steps:
s101: and acquiring a first target image and a second target image.
In this specification, the service platform may acquire a near-field image to be encrypted as a first target image, and acquire a far-field image to be encrypted as a second target image, and may further construct a super surface for storing the first target image and the second target image, so as to store the first target image and the second target image into the super surface.
Fig. 2 is a schematic diagram of the encryption process provided in this specification.
As can be seen from fig. 2, when the first target image is "1550" and the second target image is "LAB", for each pixel point constituting the first target image, a phase difference corresponding to a micro-nano unit corresponding to the pixel point in each micro-nano structure constituting the designated super surface may be determined according to the intensity corresponding to the pixel point, and for each pixel point constituting the second target image, a phase sum corresponding to the pixel point in each micro-nano structure constituting the designated super surface may be determined according to the phase corresponding to the pixel point, so that the first target image and the second target image may be stored through the designated super surface having each micro-nano structure.
In the present specification, the execution body for implementing the data encryption method may refer to a designated device such as a server provided on a service platform, or may refer to a terminal device such as a desktop computer or a notebook computer, and for convenience of description, the data encryption method provided in the present specification will be described below by taking the server as an example of the execution body.
S102: an intensity distribution of the first target image is determined and a phase distribution of the second target image is determined.
S103: for each micro-nano unit composing the super surface, determining a phase difference between two micro-nano structures contained in the micro-nano unit according to the intensity distribution of the first target image.
S104: and determining the phase sum between two micro-nano structures contained in the micro-nano unit according to the phase distribution of the second target image.
After the server acquires the first target image and the second target image, the server may determine an intensity distribution of the first target image and determine a phase distribution of the second target image.
Further, according to the interference principle, the phase difference of the micro-nano structures included in each micro-nano unit composing the super surface may cause the intensity distribution of the super surface to be different, and the super surface with different intensity distribution may cause the super surface to present different images in the near field region under the irradiation of the specified light wave, the phase sum of the micro-nano structures included in each micro-nano unit composing the super surface may cause the phase distribution of the super surface to be different, and the super surface with different phase distribution may cause the super surface to present different images in the far field region under the irradiation of the specified light wave.
Based on this, the server may determine, for each micro-nano unit constituting the super surface, a phase difference between two micro-nano structures included in the micro-nano unit from an intensity distribution of the first target image, and a phase sum between two micro-nano structures included in the micro-nano unit from a phase distribution of the second target image.
S105: and screening two micro-nano structures for forming the micro-nano unit from the candidate micro-nano structures according to the phase difference, the phase sum and the phase of each predetermined candidate micro-nano structure under the irradiation of the appointed decryption light wave.
Further, after the server obtains the phase and the phase difference between the micro-nano structures in each micro-nano unit forming the super surface, the micro-nano structure conforming to the corresponding phase and the phase difference of each micro-nano unit can be selected from the preset candidate micro-nano structures according to the preset phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave to form the micro-nano unit, so that the super surface formed by each micro-nano unit can present corresponding patterns in a near field area and a far field area under the irradiation of the appointed light wave.
The above-mentioned specific decrypted light wave may be a light wave having specific parameters, for example: a laser having a wavelength of 1550nm, where the specified parameters may be: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
The candidate micro-nano structures can be the basic micro-nano structures which are screened from the basic micro-nano structures and have the corresponding phases under the irradiation of the appointed decryption light wave as the appointed phases according to the corresponding phases of the basic micro-nano structures with different structural parameters under the irradiation of the appointed decryption light wave.
The above structural parameters may refer to: the micro-nano structures with different lengths, widths and heights have different effective refractive indexes for the appointed decryption light waves, so that the corresponding phases of the micro-nano structures with different lengths, widths and heights under the irradiation of the appointed decryption light waves are different.
The specified phase here may be selected according to actual requirements, for example: 0,,/>,/>,/>,/>and the like, the greater the number of the specified phases, the higher the imaging sharpness of the first target image and the second target image presented by the super surface composed of the micro-nano structures of the respective specified phases.
S106: determining an arrangement sequence among the micro-nano structures used for forming each micro-nano unit, obtaining a designated super surface according to the arrangement sequence, and executing tasks through the designated super surface, wherein the designated super surface presents the first target image in a near-field area and the second target image in a far-field area under the irradiation of the designated decryption light wave.
Further, after determining the micro-nano structures constituting each micro-nano unit, the server may determine an arrangement sequence among the micro-nano structures constituting each micro-nano unit, so as to obtain a designated super-surface according to the arrangement sequence, and perform task execution (e.g. for performing product anti-counterfeiting tasks, etc.) through the designated super-surface, where the designated super-surface only presents a first target image in a near-field region and presents a second target image in a far-field region under irradiation of a designated decryption light wave, as shown in fig. 3.
Fig. 3 is a schematic diagram of the decryption process provided in the present specification.
As can be seen from fig. 3, when the specified decrypting light wave is irradiated on the specified super-surface, the specified super-surface may present the first target image "1550" in the near-field region and the second target image "LAB" in the far-field region, and when the specified parameter of the light wave irradiated on the specified super-surface deviates from the specified parameter of the specified decrypting light wave, the specified super-surface cannot present the first target image and the second target image, so that the security of the first target image and the second target image stored on the specified super-surface may be increased.
In addition, since the greater the amplitude of the micro-nano structure under the irradiation of the specified decryption light wave, the higher the definition of the specified super-surface composed of the micro-nano structure in the near-field region and the second target image in the far-field region under the irradiation of the specified decryption light wave, when two micro-nano structures for composing the micro-nano unit are selected from the candidate micro-nano structures according to the phase difference, the phase and the predetermined phase of each candidate micro-nano structure under the irradiation of the specified decryption light wave, the amplitude of each candidate micro-nano structure under the irradiation of the specified decryption light wave can be considered, and the two micro-nano structures for composing the micro-nano unit can be selected from the candidate micro-nano structures.
In addition, to further promote the first target image stored on the designated super surfaceAnd the security of the second target image, the micro-nano structure can also be made of phase-change materials, wherein the phase-change materials can be selected according to actual requirements, for example: antimony trisulfide Sb 2 S 3 Antimony selenide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 Etc.
Since the phase of the phase change material may be mutated under specified conditions, for example: after the temperature reaches the specified temperature, the phase change material may be converted from the crystalline state to the amorphous state, such that the micro-nano structure composed of the phase change material changes the refractive index for the specified decrypting light wave, and when the phase change material is in the amorphous state, the values of the specified conditions applied to the amorphous phase change material are different, and the refractive index of the phase change material for the specified decrypting light wave is also different, for example: it is assumed that the phase change material is converted from the crystalline state to the amorphous state when the temperature applied to the phase change material is greater than 50 degrees, and that the refractive index of the phase change material to the specified decryption light wave when the temperature applied to the phase change material is 70 degrees is different from the refractive index of the phase change material to the specified decryption light wave when the temperature applied to the phase change material is 80 degrees even when the phase change material is in the amorphous state.
Based on this, when the micro-nano structure made of the phase change material in the specified degree of amorphous state is used, after the specified super surface is composed, the specified condition applied to the phase change material can be changed to cause the phase change material composing the specified super surface to be converted from the specified degree of amorphous state to the crystalline state, thereby causing the specified super surface to hide the stored first target image and second target image, and even when the phase change material composing the specified super surface is amorphous, the value of the specified condition applied to the phase change material composing the specified super surface is not the specified value, the first target image and the second target image are not presented even under irradiation of the specified decryption light wave.
Specifically, the server may obtain each basic micro-nano structure, determine a refractive index of the phase change material under the irradiation of the specified decryption light wave when the phase change material forming each basic micro-nano structure is in a specified first target phase change state, determine, for each basic micro-nano structure, a phase of the basic micro-nano structure under the irradiation of the specified decryption light wave according to the refractive index and a structural parameter of the basic micro-nano structure, and screen out each basic micro-nano structure with the phase of the specified decryption light wave as the specified phase from each basic micro-nano structure as each candidate micro-nano structure, where the first target phase change state is the phase change state corresponding to each micro-nano structure when the specified condition value is applied.
Further, the server may screen each micro-nano structure for forming each micro-nano unit from each candidate micro-nano structure according to the phase difference, the phase difference and the phase corresponding to each micro-nano unit determined based on the first target image and the second target image, and the phase of each candidate micro-nano structure under the irradiation of the specified decryption light wave when the phase change material forming each basic micro-nano structure is in the specified first target phase change state.
Further, the designated supersurface can be obtained by arranging the micro-nano structures for constituting the micro-nano units.
In addition, the server may control a process of applying a first specified condition value to each micro-nano structure composing the specified super surface, so that the phase change material composing each micro-nano structure is converted from a first target phase change state to a second phase change state, and further the specified super surface conceals the stored first target image and second target image, where the process of the first specified condition value includes: one of heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency, where the second phase change state may be crystalline.
Further, when the designated super-surface needs to be decrypted, a second designated condition value required when the phase change material forming each micro-nano structure is in the first target phase change state can be determined according to the association relation between the first designated condition and the phase change state of the phase change material, and the phase change material forming each micro-nano structure is converted from the second phase change state to the first target phase change state again by applying the treatment conforming to the second designated condition value to each micro-nano structure forming the designated super-surface, so that the designated super-surface can present a first target image in a near field region under the irradiation of the designated decrypted light wave, and can present a second target image in a far field region, wherein the second designated condition value is the designated condition value applied to the phase change material forming each basic micro-nano structure when the phase change material forming each basic micro-nano structure is in the designated first target phase change state.
From the above, it can be seen that, not only can the far-field image and the near-field image be modulated into the super surface formed by each micro-nano unit based on the interference principle, so that two different images can be recorded through the super surface to improve the information capacity of the super surface, but also the dynamic hiding of the far-field image and the near-field image can be realized through the phase change material, and further the security of the stored far-field image and near-field image can be further improved.
The above method for model training provided for one or more embodiments of the present disclosure further provides a corresponding data encryption device based on the same concept, as shown in fig. 4.
Fig. 4 is a schematic diagram of a data encryption device provided in the present specification, including:
an acquisition module 401, configured to acquire a first target image and a second target image;
a first determining module 402, configured to determine an intensity distribution of the first target image and determine a phase distribution of the second target image;
a second determining module 403, configured to determine, for each micro-nano unit constituting the super surface, a phase difference between two micro-nano structures included in the micro-nano unit according to an intensity distribution of the first target image; and
A third determining module 404, configured to determine, according to a phase distribution of the second target image, a phase sum between two micro-nano structures included in the micro-nano unit;
a screening module 405, configured to screen two micro-nano structures for forming the micro-nano unit from each candidate micro-nano structure according to the phase difference, the phase sum, and a predetermined phase of each candidate micro-nano structure under the irradiation of the specified decryption light wave;
and the execution module 406 is configured to determine an arrangement sequence among the micro-nano structures used to form each micro-nano unit, obtain a specified super surface according to the arrangement sequence, and execute task execution through the specified super surface, where the specified super surface presents the first target image in a near field region and the second target image in a far field region under the irradiation of the specified decrypted light wave.
Optionally, the micro-nano structure is composed of a phase change material;
the screening module 405 is specifically configured to determine, when the phase change materials that constitute the candidate micro-nano structures are in a first target phase change state, a refractive index of the phase change material under irradiation of the specified decrypted light wave; and determining the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the candidate micro-nano structure.
Optionally, the micro-nano structure is composed of a phase change material;
the screening module 405 is specifically configured to obtain each basic micro-nano structure; when the phase change materials forming the basic micro-nano structures are in a specified first target phase change state, determining the refractive index of the phase change materials under the irradiation of the specified decryption light waves; for each basic micro-nano structure, determining the phase of the basic micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the basic micro-nano structure; and screening each basic micro-nano structure with the phase of the specified decrypted light wave irradiation as the specified phase from each basic micro-nano structure to be used as each candidate micro-nano structure.
Optionally, the executing module 406 is specifically configured to apply a first specified condition value to each micro-nano structure that forms the specified super surface, so as to enable the phase change material that forms each micro-nano structure to be converted from the first target phase change state to the second phase change state, where the first specified condition value includes: heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency.
Optionally, the apparatus further comprises: a decryption module 407;
The decryption module 407 is specifically configured to determine, according to the association between the first specified condition and the phase change state of the phase change material, a second specified condition value required when the phase change material forming each micro-nano structure is in the first target phase change state; and applying a treatment conforming to a second specified condition value to each micro-nano structure composing the specified super-surface so as to enable the phase change material composing each micro-nano structure to be converted into a first target phase change state from the second phase change state, enabling the specified super-surface to present the first target image in a near field area and present the second target image in a far field area under the irradiation of specified decryption light waves.
Optionally, the phase change material includes: antimony trisulfide Sb 2 S 3 Antimony selenide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 One of them.
Optionally, the specified decryption light wave has specified parameters, the specified parameters including: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
The present specification also provides a computer readable storage medium having stored thereon a computer program operable to perform a method of one of the methods provided in fig. 1 above.
The present specification also provides a schematic structural diagram of an electronic device corresponding to fig. 1 shown in fig. 5. At the hardware level, as shown in fig. 5, the electronic device includes a processor, an internal bus, a network interface, a memory, and a nonvolatile storage, and may of course include hardware required by other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs to implement the method of fig. 1 described above.
Of course, other implementations, such as logic devices or combinations of hardware and software, are not excluded from the present description, that is, the execution subject of the following processing flows is not limited to each logic unit, but may be hardware or logic devices.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present specification.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable graphics data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable graphics data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.

Claims (16)

1. A data encryption method, comprising:
acquiring a first target image and a second target image;
determining an intensity distribution of the first target image and determining a phase distribution of the second target image;
for each micro-nano unit composing the super surface, determining a phase difference between two micro-nano structures contained in the micro-nano unit according to the intensity distribution of the first target image; and
determining a phase sum between two micro-nano structures contained in the micro-nano unit according to the phase distribution of the second target image;
screening two micro-nano structures for forming the micro-nano unit from the candidate micro-nano structures according to the phase difference, the phase sum and the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave, wherein each predetermined candidate micro-nano structure is determined by the phase corresponding to the basic micro-nano structure with different structural parameters under the irradiation of the appointed decryption light wave, and the phase corresponding to the specific decryption light wave is screened from each basic micro-nano structure;
determining an arrangement sequence among the micro-nano structures used for forming each micro-nano unit, obtaining a designated super surface according to the arrangement sequence, and executing tasks through the designated super surface, wherein the designated super surface presents the first target image in a near-field area and the second target image in a far-field area under the irradiation of the designated decryption light wave.
2. The method of claim 1, wherein the micro-nano structure is comprised of a phase change material;
the determined phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave specifically comprises the following steps:
when the phase change materials forming the candidate micro-nano structures are in a first target phase change state, determining the refractive index of the phase change materials under the irradiation of the appointed decryption light waves;
and determining the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the candidate micro-nano structure.
3. The method of claim 1, wherein the micro-nano structure is comprised of a phase change material;
the determined phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave specifically comprises the following steps:
obtaining each basic micro-nano structure;
when the phase change materials forming the basic micro-nano structures are in a specified first target phase change state, determining the refractive index of the phase change materials under the irradiation of the specified decryption light waves;
for each basic micro-nano structure, determining the phase of the basic micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the basic micro-nano structure;
And screening each basic micro-nano structure with the phase of the specified decrypted light wave irradiation as the specified phase from each basic micro-nano structure to be used as each candidate micro-nano structure.
4. The method of claim 2, wherein the method further comprises:
applying a first specified condition value to each micro-nano structure composing the specified super surface to enable the phase change material composing each micro-nano structure to be converted from the first target phase change state to a second phase change state, wherein the first specified condition value comprises the following steps: heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency.
5. The method of claim 4, wherein the method further comprises:
determining a second specified condition value required when the phase change materials forming each micro-nano structure are in a first target phase change state according to the association relation between the first specified condition value and the phase change state of the phase change materials;
and applying a treatment conforming to a second specified condition value to each micro-nano structure composing the specified super-surface so as to enable the phase change material composing each micro-nano structure to be converted into a first target phase change state from the second phase change state, enabling the specified super-surface to present the first target image in a near field area and present the second target image in a far field area under the irradiation of specified decryption light waves.
6. The method of any one of claims 2-5, wherein the phase change material comprises: antimony trisulfide Sb 2 S 3 Antimony selenide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 One of them.
7. The method of any one of claims 1-5, wherein the specified decryption light wave has specified parameters, the specified parameters including: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
8. A data encryption apparatus, comprising:
the acquisition module is used for acquiring a first target image and a second target image;
a first determining module for determining an intensity distribution of the first target image and determining a phase distribution of the second target image;
the second determining module is used for determining the phase difference between two micro-nano structures contained in each micro-nano unit for forming the super surface according to the intensity distribution of the first target image; and
the third determining module is used for determining the phase sum between the two micro-nano structures contained in the micro-nano unit according to the phase distribution of the second target image;
the screening module is used for screening two micro-nano structures for forming the micro-nano unit from the candidate micro-nano structures according to the phase difference, the phase and the phase of each candidate micro-nano structure which are determined in advance according to the corresponding phase of the basic micro-nano structure with different structural parameters under the specified decryption light wave irradiation, and the phase which is screened from the basic micro-nano structures under the specified decryption light wave irradiation;
And the execution module is used for determining the arrangement sequence among the micro-nano structures for forming each micro-nano unit, obtaining a designated super surface according to the arrangement sequence, executing task execution through the designated super surface, and displaying the first target image in a near field region and the second target image in a far field region under the irradiation of the designated decryption light wave by the designated super surface.
9. The apparatus of claim 8, wherein the micro-nano structure is comprised of a phase change material;
the screening module is specifically configured to determine, when phase change materials forming the candidate micro-nano structures are in a first target phase change state, a refractive index of the phase change materials under irradiation of the specified decryption light wave; and determining the phase of each candidate micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the candidate micro-nano structure.
10. The apparatus of claim 8, wherein the micro-nano structure is comprised of a phase change material;
the screening module is specifically used for acquiring each basic micro-nano structure; when the phase change materials forming the basic micro-nano structures are in a specified first target phase change state, determining the refractive index of the phase change materials under the irradiation of the specified decryption light waves; for each basic micro-nano structure, determining the phase of the basic micro-nano structure under the irradiation of the appointed decryption light wave according to the refractive index and the structural parameters of the basic micro-nano structure; and screening each basic micro-nano structure with the phase of the specified decrypted light wave irradiation as the specified phase from each basic micro-nano structure to be used as each candidate micro-nano structure.
11. The apparatus of claim 9, wherein the execution module is specifically configured to cause the phase change material comprising each micro-nano structure to transition from the first target phase change state to the second phase change state by applying a first specified condition value to each micro-nano structure comprising the specified super surface, the first specified condition value comprising: heating to a specified temperature, applying a current of a specified voltage, applying a pulse of a specified frequency.
12. The apparatus of claim 11, wherein the apparatus further comprises: a decryption module;
the decryption module is specifically configured to determine, according to an association relationship between the first specified condition value and the phase change state of the phase change material, a second specified condition value required when the phase change material forming each micro-nano structure is in a first target phase change state; and applying a treatment conforming to a second specified condition value to each micro-nano structure composing the specified super-surface so as to enable the phase change material composing each micro-nano structure to be converted into a first target phase change state from the second phase change state, enabling the specified super-surface to present the first target image in a near field area and present the second target image in a far field area under the irradiation of specified decryption light waves.
13. The apparatus of any one of claims 9-12, wherein the phase change material comprises: antimony trisulfide Sb 2 S 3 Antimony selenide Sb 2 Se 3 Germanium selenide GeSe 3 Tellurium antimony germanium Ge 2 Sb 2 Te 5 One of them.
14. The apparatus of any one of claims 8 to 12, wherein the specified decryption light wave has specified parameters, the specified parameters including: at least one of a specified polarization state, a specified angle of incidence, and a specified wavelength.
15. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method of any of the preceding claims 1-7.
16. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-7 when executing the program.
CN202310510638.9A 2023-05-08 2023-05-08 Data encryption method and device, storage medium and electronic equipment Active CN116226892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310510638.9A CN116226892B (en) 2023-05-08 2023-05-08 Data encryption method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310510638.9A CN116226892B (en) 2023-05-08 2023-05-08 Data encryption method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116226892A CN116226892A (en) 2023-06-06
CN116226892B true CN116226892B (en) 2023-07-21

Family

ID=86584719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310510638.9A Active CN116226892B (en) 2023-05-08 2023-05-08 Data encryption method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116226892B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117055211B (en) * 2023-08-30 2024-03-22 之江实验室 Design method of optical encryption structure and near-far field multi-polarization optical encryption system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703577A (en) * 2019-11-21 2020-01-17 苏州大学 Preparation method of super-surface color hologram and optical system
CN115524874A (en) * 2022-10-14 2022-12-27 深圳迈塔兰斯科技有限公司 Optical encryption structure, optical encryption method and device
CN116010992A (en) * 2023-02-07 2023-04-25 之江实验室 Data processing method and device, readable storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000002339A1 (en) * 1998-07-03 2000-01-13 Forskningscenter Risø An optical encryption and decryption method and system
CN113515753B (en) * 2020-04-11 2022-05-31 阿里巴巴集团控股有限公司 Information hiding method and device
CN111929926B (en) * 2020-07-27 2023-01-31 深圳大学 Image decryption method
CN114996776B (en) * 2022-04-28 2024-04-16 武汉大学 Optical information encryption method based on double super surfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703577A (en) * 2019-11-21 2020-01-17 苏州大学 Preparation method of super-surface color hologram and optical system
CN115524874A (en) * 2022-10-14 2022-12-27 深圳迈塔兰斯科技有限公司 Optical encryption structure, optical encryption method and device
CN116010992A (en) * 2023-02-07 2023-04-25 之江实验室 Data processing method and device, readable storage medium and electronic equipment

Also Published As

Publication number Publication date
CN116226892A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN116226892B (en) Data encryption method and device, storage medium and electronic equipment
RU2728820C1 (en) Method and device for processing data based on blockchain
CN109272454B (en) Coordinate system calibration method and device of augmented reality equipment
US9451148B2 (en) Image recording apparatus and image reproducing apparatus
Li et al. Generation of optical vortex based on computer-generated holographic gratings by photolithography
CN112036236B (en) Image detection method, device and medium based on GhostNet
EP4249999A2 (en) Solid-state device with optical waveguide as floating gate electrode
CN109343956A (en) A kind of operating system configuration method and device
CN104580877A (en) Image acquisition device and method
CN110852503B (en) Payment channel selection method and device and payment channel route
CN116011587A (en) Model training method and device, storage medium and electronic equipment
JP2020518900A (en) Method and apparatus for use during preview during the process of iris recognition
CN116977525B (en) Image rendering method and device, storage medium and electronic equipment
CN117635822A (en) Model training method and device, storage medium and electronic equipment
CN111242106A (en) Facial image acquisition method, device and equipment and facial recognition equipment
CN116091895A (en) Model training method and device oriented to multitask knowledge fusion
CN115937851A (en) Method and system for enhancing deep learning domain
CN115984154A (en) Image fusion method and device, storage medium and electronic equipment
CN117118523B (en) Information transmission system, method and device, storage medium and electronic equipment
US9625622B2 (en) Aspheric variable focal length lens systems and methods
CN117348999B (en) Service execution system and service execution method
CN116109008B (en) Method and device for executing service, storage medium and electronic equipment
CN116520567B (en) Method, device and equipment for generating asymmetric optical beam splitter waveguide structure
CN115987489B (en) Lightweight encryption and decryption method and device and storage medium
CN117591130A (en) Model deployment method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant