Secrecy system, configuration method and secrecy method
By utilizing the configuration method of optical components and decryption modules in the confidentiality system, the problem of poor confidentiality effect in the prior art is solved, and stronger encryption and decryption correlation and robustness are achieved.
Patent Information
- Application Number
- CN202412000216.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, the confidentiality effect is poor, the correlation between encryption and decryption means is weak, and the encrypted information is easily cracked.
A method of configuration of a confidential system is provided, using optical components to encrypt information, including a light-transmitting element and a decryption module. By inputting the original image information into the optical component, the decrypted image information output by the decryption module is obtained, the loss value is determined based on the decryption image information and the original image information, and the configuration of the light-transmissive element or the configuration of the decryption program is adjusted based on the loss value until the loss value meets the preset numerical conditions.
It improves the anti-physical interference capability of encrypted information, enhances the correlation between encryption and decryption methods, improves the difficulty of cracking encrypted information, and further improves the robustness of confidentiality systems.
Smart Images

Figure CN119854425A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data information security technology, and in particular to a confidentiality system, a configuration method, a confidentiality method and a confidentiality method. Background Art
[0002] Information security and data security are issues of widespread concern. How to effectively and purposefully encrypt images so that even when the encrypted data is leaked, it is difficult for a third party to recover it, thereby ensuring that user sensitive data is not infringed or used illegally, is one of the key research issues in this field.
[0003] The prior art provides encryption methods such as spatial domain method and transform domain method. The former performs encryption processing on the image pixel values, mainly using pixel scrambling, grayscale adjustment and other methods to change the arrangement order or amplitude of the pixel values. The latter converts the image from the spatial domain to the frequency domain or other transform domains for encryption, generally using Fourier transform, discrete cosine transform or discrete wavelet transform to achieve encryption.
[0004] However, the above scheme relies on algorithmic encryption, which can be easily cracked by means such as statistical analysis, known plaintext attacks or chosen plaintext attacks, and is susceptible to interference from physical noise. It has limited information hiding capabilities, and the correlation between encryption and decryption methods is weak. Attackers can at least partially decrypt it through known decryption methods, thereby bypassing the set decryption methods. The confidentiality effect needs to be improved. Summary of the invention
[0005] One of the purposes of the present invention is to provide a configuration method of a security system to solve the technical problems in the prior art that the security effect is poor, the correlation between encryption and decryption means is weak, and the encrypted information is easily cracked.
[0006] One of the objects of the present invention is to provide a security system.
[0007] One of the objects of the present invention is to provide a security method.
[0008] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a configuration method of a security system, the security system comprising: an optical component, for encrypting its input information and outputting encrypted information; the optical component comprising a light-transmitting element; a decryption module, for executing a decryption program on its input information; the configuration method comprising: inputting original image information into the optical component, obtaining decrypted image information output by the decryption module, the decryption module using the output of the optical component as its input information; determining a loss value according to the decrypted image information and the original image information; adjusting the configuration of the light-transmitting element, or the configuration of the decryption program, or both the configuration of the light-transmitting element and the configuration of the decryption program according to the loss value, until the loss value meets a preset numerical condition, thereby obtaining the configuration information of the security system; adjusting the configuration of the light-transmitting element comprising: configuring a first area and a second area on the light-transmitting element, the first area having a first transmittance, the second area having a second transmittance, the first transmittance being different from the second transmittance; the first area and / or the second area being used for encryption.
[0009] Optionally, the light-transmitting element includes m first areas and n second areas arranged in a first layout; adjusting the configuration of the light-transmitting element according to the loss value includes: adjusting the arrangement of the first areas and the second areas in the light-transmitting element to a second layout according to the loss value.
[0010] Optionally, adjusting the configuration of the light-transmitting element according to the loss value includes at least one of the following: adjusting the transmittance of p first regions in the light-transmitting element to the second transmittance according to the loss value, p≤m; adjusting the transmittance of q second regions in the light-transmitting element to the first transmittance according to the loss value, q≤n.
[0011] Optionally, the light-transmitting element includes a plurality of unit areas; and adjusting the configuration of the light-transmitting element according to the loss value includes at least one of the following: adjusting the transmittance of at least part of the plurality of unit areas in the light-transmitting element to a first transmittance according to the loss value to form the first area; and adjusting the transmittance of at least another part of the plurality of unit areas in the light-transmitting element to a second transmittance according to the loss value to form the second area.
[0012] Optionally, it includes: obtaining a preset overall transmittance of a light-transmitting element; adjusting the configuration of the first area and the second area in the light-transmitting element according to the loss value, and the adjusted number of first areas, the number of second areas, or the ratio of the number of first areas to the number of second areas satisfies the transmittance condition set according to the preset overall transmittance.
[0013] Optionally, the optical component also includes: a metasurface element, used to perform a first encryption on its input information and output first information; the light-transmitting element is used to perform a second encryption on its input information and output second information; the optical component satisfies at least one of the following: the light-transmitting element is used to perform a second encryption on the first information and output second information, and the second information is used to generate the encrypted information; the metasurface element is used to perform a first encryption on the second information and output first information, and the first information is used to generate the encrypted information.
[0014] Optionally, at least one of the following is included: adjusting both the configuration of the metasurface element and the configuration of the light-transmitting element according to the loss value; adjusting both the configuration of the metasurface element and the configuration of the decryption program according to the loss value; adjusting all three of the configuration of the metasurface element, the configuration of the light-transmitting element and the configuration of the decryption program according to the loss value; the configuration of the metasurface element includes at least one of the geometric structure, size or spatial arrangement of the nanostructure units used to constitute the metasurface.
[0015] Optionally, the optical component includes a photosensitive element, which is used to convert the light signal input thereinto into the encrypted information; the light-transmitting element is formed on the first surface of the photosensitive element; and the configuration method includes: adjusting the configuration of the first area, the configuration of the second area, or the configuration of both the first area and the second area at the photosensitive element according to the loss value.
[0016] Optionally, at least one of the following is satisfied: when the decryption program is executed, an algorithm of a convolutional neural network is implemented; and the loss value is determined based on a mean square error between the decrypted image information and the original image information.
[0017] To achieve one of the above-mentioned purposes of the invention, one embodiment of the present invention provides a security system, comprising: an optical component, used to encrypt its input information and output encrypted information; the optical component includes a light-transmitting element; a decryption module, used to execute a decryption procedure on its input information; the security system is configured according to any of the above-mentioned configuration methods.
[0018] Optionally, the optical component includes: a metasurface element, used to perform a first encryption on its input information and output first information; the light-transmitting element is used to perform a second encryption on its input information and output second information; the light-transmitting element uses the first information as input information, or the metasurface element uses the second information as input information.
[0019] Optionally, the optical component includes a photosensitive element, which is used to convert the light signal input thereto into the encrypted information; the confidentiality system satisfies at least one of the following: the photosensitive element uses the light signal output by the transparent element as the light signal input to the photosensitive element; the transparent element is formed on the first surface of the photosensitive element.
[0020] Optionally, the first region is provided with a modulation layer, and the modulation layer is formed of chromium or its alloy; the second region is provided with quartz glass; and the second transmittance is greater than the first transmittance.
[0021] To achieve one of the above-mentioned purposes of the invention, one embodiment of the present invention provides a confidentiality method, which is implemented in any of the above-mentioned confidentiality systems; the confidentiality method includes: inputting the information to be transmitted into the optical component, obtaining and outputting the encrypted transmission information; controlling the decryption module to obtain the transmitted encrypted transmission information, executing the decryption program to decrypt the encrypted transmission information, and obtaining the decrypted transmission information.
[0022] Compared with the prior art, the configuration method of the security system provided by the present invention utilizes optical components to encrypt information and has a strong ability to resist physical interference; the loss value is determined by the input of the optical component and the output of the decryption module, and training is performed based on the loss value, the security system is regarded as a whole, the correlation between encryption and decryption means is enhanced, and the difficulty of cracking encrypted information is increased; the configuration of the light-transmitting element in the optical component or the configuration of the decryption program in the decryption module is adjusted based on the loss value, the configuration of the light-transmitting element includes the configuration of areas with two transmittances, encryption can be performed from the perspective of optical transmittance in units of areas, and the decryption program is adapted to this encryption means, further improving the robustness of the security system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the structure of an electronic device in one embodiment of the present invention.
[0024] Figure 2 It is a schematic diagram of the structure of a security system in one embodiment of the present invention.
[0025] Figure 3 It is a schematic diagram of the structure of the optical components in the first and second specific examples of the present invention.
[0026] Figure 4 It is a schematic diagram of the structure of the optical component in the third specific example of the present invention.
[0027] Figure 5 It is a schematic structural diagram of a fourth specific example of an optical component in an embodiment of the present invention.
[0028] Figure 6 Schematic diagram of the structure of a light-transmitting element in one embodiment of the present invention.
[0029] Figure 7 It is a schematic diagram of the steps of a confidentiality method in one embodiment of the present invention.
[0030] Figure 8 It is a schematic diagram of the steps of a configuration method in one embodiment of the present invention.
[0031] Fig. 9 Schematic diagram of the structure of the first and second layouts of the light-transmitting element in one embodiment of the present invention.
[0032] Fig.10 It is a schematic diagram of the structure before and after the light-transmitting element is configured in another embodiment of the present invention.
[0033] Fig.11 It is the image information obtained by implementing the security system in one embodiment of the present invention. DETAILED DESCRIPTION
[0034] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0035] It should be noted that the term "comprise" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes 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 apparatus.
[0036] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative order or importance. For example, when describing "second", etc., it does not mean that the embodiment or technical solution necessarily includes "first", etc.
[0037] like Figure 1 As shown, an embodiment of the present invention provides an electronic device 100.
[0038] The electronic device 100 may be any device including the security system provided later in the present invention, may be any device for executing the configuration method of the security system, and may be any device for executing the security method provided in the present invention.
[0039] The electronic device 100 may be a computer device, and the computer device may be a terminal device or a server. Figure 1 Only an exemplary structure of the electronic device 100 is shown, not all structures, and the electronic device 100 may be implemented as required. Figure 1 Partial or complete structure shown.
[0040] In an exemplary embodiment, the electronic device 100 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the configuration method or security method of the security system provided later.
[0041] The electronic device 100 includes at least one processor 11. The configuration method of the security system provided by the present invention can be applied to the processor 11, or implemented by the processor 11. The security method provided by the present invention can be applied to the processor 11, or implemented by the processor 11.
[0042] The processor 11 may be an integrated circuit chip with signal processing capability. In the process of implementing the technical solution provided by the present invention, the configuration method of the security system or each step of the security method may be completed by the hardware integrated logic circuit in the processor 11 or the software instruction.
[0043] The processor 11 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 11 may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor.
[0044] The software module may be located in a storage medium, which is located in the memory 12. The processor 11 reads the information in the memory 12 and completes the steps of the configuration method provided in the embodiment of the present invention in combination with its hardware.
[0045] The electronic device 100 includes a memory 12. The memory 12 is used to store various types of data to support the operation of the electronic device 100. Examples of such data include: any computer program for operating on a computer device.
[0046] The memory 12 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0047] When the processor 11 executes the computer program stored in the memory 12, the steps of the configuration method of the security system in any technical solution of the present invention are executed, or the steps of the security method in any technical solution of the present invention are executed.
[0048] The electronic device 100 includes a user interface 14 and at least one network interface 15. The various components in the electronic device 100 are coupled together via a bus system 13. The bus system 13 is used to achieve communication connections between these components. In addition to the data bus, the bus system 13 also includes a power bus, a control bus, and a status signal bus. To simplify the description, Figure 1 The various buses are collectively labeled as a bus system 13.
[0049] The user interface 14 may include a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen.
[0050] An embodiment of the present invention provides a computer storage medium.
[0051] The computer storage medium stores the computer program executed by the processor mentioned above, or instructions for the configuration method of the security system in any of the technical solutions below, or instructions for the security method in any of the technical solutions below.
[0052] When the processor executes the computer program, it can execute the steps of the configuration method of the security system in any of the technical solutions below, or execute the steps of the security method in any of the technical solutions below, which will not be repeated here. In addition, the description of the beneficial effects corresponding to the same method will not be repeated. For technical details not disclosed in the embodiments of the computer storage medium involved in the present invention, reference can be made to the description in the embodiments of the configuration method or the security method of the present invention below.
[0053] The computer storage device may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0054] An embodiment of the present invention provides a computer program product.
[0055] The computer program product may include a computer program, which may be stored in a computer storage medium. A processor of an electronic device reads the computer program from the computer storage medium, and the processor may execute the computer program, so that the electronic device executes the configuration method of the security system or the description of the security method in any of the technical solutions below.
[0056] like Figure 2As shown, an embodiment of the present invention provides a security system.
[0057] The security system includes an optical component 200. The optical component 200 is used to encrypt input information of the optical component 200 and output encrypted information.
[0058] The optical assembly 200 is used to implement optical encryption. The optical assembly 200 includes at least one optical component. When the optical assembly 200 includes multiple optical components, the optical components can be separately arranged or integrated into a module.
[0059] The input information of the optical component 200 may be the target object 900, an image, or data information. The encrypted information output by the optical component 200 may be an optical signal, an electrical signal, or data information. In the scheme provided below, the image will be used as the input information of the optical component 200, and the electrical signal will be used as the encrypted information output by the optical component 200 for description.
[0060] Optical components included in the optical assembly include but are not limited to lenses, sensors, gratings, prisms, filters, and beam splitters.
[0061] like Figures 3 to 6 As shown, the optical assembly 200 includes a light-transmitting element 21 .
[0062] The light-transmitting element 21 can be used to selectively transmit light input into the light-transmitting element 21. The selective transmission can be selective transmission based on the position, wavelength, polarization, angle, time, intensity, phase, spatial frequency, etc. of the incident light. The selective transmission can include two states: completely transparent and completely non-transparent, and can also include several states between these two states (for example, to achieve stepless adjustment).
[0063] For example, the configured light-transmitting element 21 can selectively transmit light according to the position of the incident light.
[0064] The configured light-transmitting element 21 may include a first region 211 and a second region 212. The first region 211 has a first transmittance. The second region 212 has a second transmittance. The first transmittance is different from the second transmittance.
[0065] When the first area 211 is used for encryption, the first transmittance is relatively small. When the incident light enters the first area 211, at least part of it does not pass through the first area 211, and does not contribute to the outgoing light of the light-transmitting element 211. The first area 211 blocks the incident light at its location, at least weakening the information at the corresponding location in the encrypted information, thereby achieving encryption.
[0066] When the second area 212 is used for encryption, the second transmittance is small. The second area 212 can block the incident light at its location, at least weakening the information at the corresponding location in the encrypted information, thereby achieving encryption.
[0067] The first region 211 and the second region 212 may both be used to achieve encryption. In this case, the first transmittance and the second transmittance may be different, so that the blocking degree of incident light at different positions is different, and the encryption degree is different.
[0068] When the first area 211 or the second area 212 is used for encryption, the first transmittance or the second transmittance is not necessarily completely non-transparent, and a transmittance lower than 50% can be set as the transmittance of the area used for encryption. Similarly, when the area is not used for encryption, the transmittance is not necessarily completely transparent, and a transmittance lower than 50% can be set as the transmittance of the area not used for encryption.
[0069] If the first transmittance is smaller than the second transmittance, then for the encrypted information, the information in the area corresponding to the first transmittance in the encrypted information is encrypted to a higher degree, which can be reflected as more missing image information; the information in the area corresponding to the second transmittance is encrypted to a lower degree, which can be reflected as less missing image information.
[0070] The number of the first area and the second area can be determined according to the encryption requirements, the initialization setting method or the configuration result, and can be one or more areas respectively. Figure 6 The area marked with hatched oblique lines is the first area 211 , and the unmarked area is the second area 212 .
[0071] The security system includes a decryption module 300. The decryption module 300 is used to perform a decryption procedure on input information of the decryption module 300.
[0072] The decryption procedure is not limited to computer programs. The decryption procedure can be interpreted as an established method for handling the decryption process, which has a known order and context. In addition to computer programs, the decryption procedure can also be implemented through hardware decryption such as integrated circuits, optical decryption such as holographic interference, etc.
[0073] The decryption module 300 may be a carrier of a decryption program and does not necessarily have a modular physical form.
[0074] The input information of the decryption module 300 can be any information that needs to be decrypted. When implementing the security system, the decryption module 300 can obtain the information that needs to be decrypted from the outside world and implement the decryption by executing the decryption program. When configuring the security system, the decryption module 300 can use the output of the optical component 200 as input information. Based on this, the input information of the decryption module 300 can be an optical signal, an electrical signal or data information. In the solution provided below, the electrical signal will be described as the input information of the decryption module 300.
[0075] When the decryption program is executed, the algorithm of the convolutional neural network can be implemented. The convolutional neural network can extract local features from the encrypted information and pre-train the mapping relationship between the encrypted information and the original information, so as to achieve decryption when used. In some specific examples, the performance of the convolutional neural network can also be enhanced by using generative adversarial networks, multi-scale convolutions, residual networks, or introducing attention mechanisms; based on this, when the decryption program is executed, the above-mentioned enhancement schemes are also implemented.
[0076] The security system is configured according to a configuration method.
[0077] The configuration method may include the following steps:
[0078] Inputting original image information into an optical component to obtain decrypted image information output by a decryption module, wherein the decryption module uses the output of the optical component as its input information;
[0079] Determine the loss value according to the decrypted image information and the original image information;
[0080] The configuration of the light-transmitting element, or the configuration of the decryption program, or both the configuration of the light-transmitting element and the configuration of the decryption program are adjusted according to the loss value until the loss value meets a preset numerical condition, thereby obtaining the configuration information of the confidentiality system.
[0081] The configuration method may also be implemented according to any of the following technical solutions.
[0082] Adjusting the configuration of the light-transmitting element includes: configuring a first area and a second area on the light-transmitting element, the first area has a first transmittance, the second area has a second transmittance, the first transmittance is different from the second transmittance; the first area and / or the second area is used for encryption.
[0083] like Figures 3 to 5 As shown, the optical component 200 includes a photosensitive element 22. The photosensitive element 22 is used to convert the optical signal input to the photosensitive element 22 into the encrypted information. The optical component 200 uses the output of the photosensitive element 22 as output.
[0084] The photosensitive element 22 is specifically used to convert the optical signal input thereto into an electrical signal and output it. The encrypted information may be in the form of an electrical signal. The encrypted information may be an electrical signal or data information used to render an encrypted image, or may be the encrypted image itself.
[0085] The photosensitive element 22 may be a light sensor, specifically a CMOS (Complementary Metal Oxide Semiconductor) photosensitive element (CIS, CMOS Image Sensor), a CCD (Charge Coupled Device, Charge Coupled Device) photosensitive element or an array photodetector.
[0086] In a specific example, Figure 3 to Figure 4 As shown, the photosensitive element 22 is disposed separately from the light-transmitting element 21. The photosensitive element 22 is disposed on the light-emitting side of the light-transmitting element 21. The photosensitive element 22 uses the light signal output by the light-transmitting element 21 as the light signal input to the photosensitive element 22.
[0087] Furthermore, the optical component 200 may further include a dielectric layer disposed between the light-transmitting element 21 and the light-sensitive element 22. The material of the dielectric layer may be any material having a low refractive index and absorption coefficient in the visible light or near-infrared band, such as silicon dioxide (SiO2), spin-on glass (SOG), or polymers such as polymethyl methacrylate (PMMA), polydimethylsiloxane (PDMS), polymethylpentene (PMP), and combinations of the above materials.
[0088] In a specific example, Figure 5 As shown, the photosensitive element 22 is integrated with the light-transmitting element 21. The light-transmitting element 21 is disposed on the light-incident side of the photosensitive element 22. The light-transmitting element 21 is formed on the first surface of the photosensitive element 22.
[0089] Specifically, the light-transmitting element 21 and the photosensitive element 22 can be combined by thermal bonding, plasma bonding, or adhesive bonding; or, the light-transmitting element 21 can be directly prepared on the photosensitive element 22. For example, first, an optical film layer is formed on the light-receiving surface of the semiconductor substrate, and then, the optical film layer is etched into the first region and the second region of the light-transmitting element 21 by a photolithography process. For example, the first region and the second region of the light-transmitting element 21 corresponding to the photoelectric conversion unit array area are formed at the optical film layer.
[0090] In a specific example, a plurality of light-transmitting elements 21 may be provided. The plurality of light-transmitting elements 21 may be provided separately or in an integrated manner. When provided in an integrated manner, they may be combined by thermal bonding, plasma bonding, or adhesive bonding, or another group of light-transmitting elements may be directly prepared on the substrate side or the element side of a group of light-transmitting elements. For example, first, an optical film layer is formed on the substrate side or the side where the first region and the second region are located of a group of light-transmitting elements, and then another group of light-transmitting elements is formed at the optical film layer.
[0091] like Figure 3 Middle (b), Figure 4 and Figure 5 As shown, the optical component 200 includes a metasurface element 23 .
[0092] The metasurface element 23 described in any scheme of the present invention refers to an artificial layered material with a size less than or approximately equal to the wavelength, which can be regarded as the two-dimensional counterpart of the metamaterial. The metasurface element 23 can achieve the regulation of the polarization, phase, amplitude, frequency, propagation mode, angular momentum and other characteristics of the electromagnetic wave through the surface sub-wavelength super-structure unit, and realize the characteristics of beam shaping, beam deflection, super-lens, super-holography, optical rotation, anti-reflection and anti-reflection. The above-mentioned polarization, phase, amplitude, angular momentum and other characteristics can be flexibly regulated by adjusting at least one of the configuration parameters such as the geometric structure, size or spatial arrangement of the nano-structure unit.
[0093] The size includes but is not limited to radius, side length, height, etc. The spatial arrangement includes but is not limited to arrangement period, duty cycle, etc.
[0094] At the same time, the metasurface element 23 can be a sub-wavelength optical element, which is suitable for the current micron-scale sensor architecture. At the same time, its preparation process is compatible with mature semiconductor sensor technology and has strong practicality and economy.
[0095] Specifically, the metasurface element 23 includes a substrate and a plurality of metastructure units arranged in an array on the substrate, and a nanostructure unit is provided at the center and / or vertex position of each metastructure unit. The superstructure unit is obtained by dividing the metasurface element to obtain a structure unit centered on each nanostructure unit. The nanostructure units in each cycle constitute a superstructure unit. The superstructure unit is a densely packed figure, such as a regular quadrilateral, a regular hexagon, a fan, etc., each cycle contains a nanostructure unit, and the vertex and / or center of the superstructure unit can be provided with a nanostructure unit. In the case where the superstructure unit is a regular hexagon, at least one nanostructure unit is provided at each vertex and center position of the regular hexagon. Similarly, the same is true in the case of a fan and a square.
[0096] Among them, the substrate of the metasurface element can be selected from, for example: silicon dioxide, BF33 and other glass materials with similar refractive index, silicon, polymethyl methacrylate, etc.; the nanostructure unit can be selected from, for example: monomer silicon (c-Si), polycrystalline silicon (p-Si), amorphous silicon (a-Si), compound semiconductors (such as GaN, GaP, GaAs, SiC, etc.), TiO2, Si3N4, AlSb, AlAs, AlGaAs, AlGaInP, BP, ZnGeP2 and other suitable materials and combinations of the above materials.
[0097] Specifically, according to different usage scenarios, the nanostructure unit can be configured as a polarization-dependent structure or a polarization-independent structure. Polarization-independent structures include, for example, a cylindrical shape, a square cylindrical shape, a cross cylindrical shape, a square cylindrical shape with a round hole, etc. Polarization-dependent structures include, for example, an elliptical cylindrical shape, a rectangular cylindrical shape, a hexagonal prism, etc. The nanostructure unit can be a positive structure or a negative structure. For example, the shape of the nanostructure unit includes a cylindrical shape, a hollow cylindrical shape, a square prism, a hollow square prism, etc.
[0098] The nanostructure may also be a combination of structures of various shapes, for example, a circle, a cross, a regular polygon, a rectangle, or any combination of these shapes.
[0099] The metasurface element may also include a protective layer covering the nanostructure unit. The material of the protective layer may be any material having a low refractive index and absorption coefficient in the visible light or near-infrared band, for example: silicon dioxide (SiO2), spin-on glass (SOG), or polymers such as polymethyl methacrylate (PMMA), polydimethylsiloxane (PDMS), polymethylpentene (PMP) and combinations of the above materials, or air (i.e., no protective layer is provided).
[0100] In a specific example, the optical component 200 may include at least one refractive optical element, at least one diffractive optical element and / or at least one scattering medium element. The above elements may be used to replace the metasurface element.
[0101] Among them, the refractive optical element may include an ordinary spherical refractive optical element or an aspherical refractive optical element, specifically including but not limited to lenses or prisms made of optical glass, optical plastic, optical crystal and other materials; the diffractive optical element includes but is not limited to two-step or multi-step diffractive optical elements, gratings, Dammann gratings, metasurfaces, holograms, diffusers, phase masks, intensity masks, spatial light modulators, etc.; the scattering medium element includes but is not limited to frosted glass, etc.
[0102] In a specific example, the security system can be configured by updating the configuration of the refractive optical element. In a specific example, the security system can be configured by updating the configuration of the diffractive optical element. In a specific example, the security system can be configured by updating the configuration of the scattering medium element.
[0103] The metasurface element 23 may be provided as an independent optical component, or may be provided integrally with the photosensitive element 22 , or may be provided integrally with the light-transmitting element 21 .
[0104] Specifically, the metasurface element 23 and the photosensitive element 22 can be combined, or the metasurface element 23 and the light-transmitting element 21 can be combined by thermal bonding, plasma bonding or adhesive bonding; or, the metasurface element 23 can be directly prepared on the photosensitive element 22, or the metasurface element 23 can be directly prepared on the light-transmitting element 21.
[0105] The optical component 200 may include a metasurface element 23 and a photosensitive element 22. The optical component 200 may also include multiple metasurface elements 23. The multiple metasurface elements 23 may have the same or different configuration parameters. In this way, the optical component 200 may include multiple metasurface elements 23 and a photosensitive element 22.
[0106] like Figure 4 and Figure 5 As shown, in some specific examples, the optical assembly 200 further includes a focusing lens 24. The focusing lens 24 may be disposed on the light incident side of the photosensitive element 22. The focusing lens 24 may be used to couple the optical signal to the photosensitive element 22.
[0107] The optical component 200 may include one or more focusing lenses 24, and the multiple focusing lenses 24 together constitute a lens group. The multiple focusing lenses 24 may have the same or different configuration parameters. The focusing lens 24 may be used to focus the optical signal from the target object 900 and output the focused optical signal to the subsequent stage. When a light-transmitting element 21 is included between the focusing lens 24 and the photosensitive element 22, the focusing lens 24 may output the focused optical signal to the light-transmitting element 21; if a metasurface element 23 is included between the focusing lens 24 and the light-transmitting element 21, the focusing lens 24 may output the focused optical signal to the metasurface element 23.
[0108] The optical component 200 may include a focusing lens 24, a metasurface element 23, a light-transmitting element 21 and a photosensitive element 22, or may include multiple focusing lenses 24, a metasurface element 23, a light-transmitting element 21 and a photosensitive element 22, or may include multiple focusing lenses 24, multiple metasurface elements 23, multiple light-transmitting elements 21 and a photosensitive element 22.
[0109] The arrangement order of the focusing lens 24, the metasurface element 23, the light-transmitting element 21 and the light-sensing element 22 can be adjusted as required, as follows: Figure 4 and Figure 5 As shown, they are arranged in the order of “focusing lens 24-metasurface element 23-light-transmitting element 21-photosensitive element 22”, or in the order of “metasurface element 23-focusing lens 24-light-transmitting element 21-photosensitive element 22”, or in the order of “focusing lens 24-light-transmitting element 21-metasurface element 23-photosensitive element 22”, or in the order of “light-transmitting element 21-focusing lens 24-metasurface element 23-photosensitive element 22”.
[0110] When the metasurface element 23 includes a plurality of elements, the focusing lens 24 or the light-transmitting element 21 may be disposed between the plurality of metasurface elements 23. When the focusing lens 24 includes a plurality of elements, the metasurface element 23 or the light-transmitting element 21 may be disposed between the plurality of focusing lenses 24. When the light-transmitting element 21 includes a plurality of elements, the metasurface element 23 or the focusing lens 24 may be disposed between the plurality of light-transmitting elements 21.
[0111] The focusing lens 24, the metasurface element 23, and the light-transmitting element 21 may also be arranged alternately. For example, a group of focusing lens 24, the metasurface element 23, and the light-transmitting element 21 is arranged first, and then another group of focusing lens 24, the metasurface element 23, and the light-transmitting element 21 is arranged.
[0112] The metasurface element 23 is used to perform first encryption on input information of the metasurface element 23 and output first information.
[0113] The metasurface element 23 encrypts the input information by controlling the propagation characteristics of the optical signal (e.g., phase, amplitude, and polarization). When the input information is image information, the metasurface element 23 can encrypt the image information by converting it into a noise image through phase modulation, or by randomizing the image signal through optical scattering or wavefront modulation, or by encoding the image information through controlling the polarization state, or by making the arrangement of the image information more complex through chaotic mapping.
[0114] The light-transmitting element 21 is used to perform second encryption on the input information of the light-transmitting element 21 and output second information.
[0115] As described above, the light-transmitting element 21 can achieve encryption by selectively transmitting light.
[0116] The first encryption and the second encryption may be the same or different. When the first encryption and the second encryption are different, the two encryption methods can be combined to enhance the encryption effect.
[0117] In a specific example, Figure 3 Middle (b), Figure 4 and Figure 5 As shown, the light-transmitting element 21 is disposed on the light-emitting side of the metasurface element 23. The light-transmitting element 21 takes the first information as input information.
[0118] In this way, the incident light of the light-transmitting element 21 is modulated by the metasurface element 23, and the metasurface element 23 can be configured to make its outgoing light more matched with the configuration of the light-transmitting element 21, making the encryption process more complex and flexible, and improving the overall security.
[0119] In a specific example, the light-transmitting element 21 is disposed on the light-incident side of the metasurface element 23. The metasurface element 23 uses the second information as input information.
[0120] In this specific example, the photosensitive element 22 can be arranged on the light-emitting side of the metasurface element 23 .
[0121] In this way, the incident light received by the metasurface element 23 is processed by the light-transmitting element 21 , which can limit the modulation effect of the metasurface element 23 and make the encryption process more controllable.
[0122] like Figure 6 As shown, in the light-transmitting element 21 , a modulation layer is disposed in the first region 211 .
[0123] The modulation layer may have a first transmittance. The first transmittance may be a transmittance smaller than the second transmittance. Based on this, the modulation layer may be used to block incident light at a position corresponding to the light-transmitting element 21 to achieve encryption. The modulation layer may block incident light by absorbing or reflecting the incident light at the position.
[0124] The modulation layer is formed of chromium or a chromium alloy. In other examples, the modulation layer can also be formed of molybdenum, titanium, aluminum, gold, silver, aluminum oxide, silicon nitride, silicon carbide, titanium dioxide, etc.
[0125] Another modulation layer may also be provided in the second region 212. The other modulation layer may have a second transmittance. The second transmittance may be a transmittance greater than the first transmittance. Based on this, the other modulation layer may be used to allow incident light at a corresponding position of the light-transmitting element 21 to pass through, retaining the original information.
[0126] In the light-transmitting element 21 , the second region 212 is provided with quartz glass.
[0127] Quartz glass can be used as another modulation layer disposed in the second region 212, or as the material of the substrate 210 of the light-transmitting element 21. For the latter, it is equivalent to not disposing a modulation layer in the second region 212, and the light incident on the second region 212 passes directly through the substrate 210.
[0128] The transmittance of the second area 212 is greater than the transmittance of the first area 211. The second transmittance is greater than the first transmittance. In this way, by arranging the first area 211 and the second area 212, it is possible to block another part of the original information while allowing part of the original information to be transmitted, thereby achieving encryption.
[0129] The transmittance of the first region 211 and the second region 212 can be adjusted during the configuration process. In addition to adjusting the material type of the modulation layer on the corresponding region, the size and shape of the region, the thickness of the material, the surface texture and microstructure of the material, or even multiple modulation layers at the corresponding region can also be adjusted to adjust the transmittance of the region.
[0130] like Figure 7 As shown, an embodiment of the present invention provides a security method.
[0131] The confidentiality method is used to keep confidential information including but not limited to images. The confidentiality method can be used to encrypt information. The confidentiality method can be used to decrypt information.
[0132] The security method is implemented in the security system provided by any of the above technical solutions. Specifically, the security system includes an optical component and a decryption module. The security system is configured according to a configuration method. The configuration method may include the steps of:
[0133] The configuration method may also be implemented according to any of the following technical solutions.
[0134] The optical component is used to encrypt its input information and output the encrypted information. The optical component includes a light-transmitting element. The decryption module is used to execute a decryption procedure on its input information.
[0135] The confidentiality method comprises the steps of: P11, inputting the information to be transmitted into the optical component, obtaining and outputting the encrypted transmission information.
[0136] Combination Figure 2 As shown, after the information of the target object 900 is input into the optical component 200 as the information to be transmitted, it is modulated by the optical component 200 to generate encrypted information, and the encrypted information is output.
[0137] The encrypted information is not necessarily output to the decryption module 300 of the security system, but can also be transmitted to the public domain for sharing and received by any user who has access to the public domain.
[0138] In a preferred example, Figure 4 or Figure 5 As shown, the optical component 200 can first be modulated by the metasurface element 23 and then enter the light-transmitting element 21.
[0139] The encrypted information output by the optical component 200 may be an optical signal, in which case the public domain can communicate via optical fiber. The encrypted information output by the optical component 200 may also be an electrical signal or data information, in which case the optical component 200 further includes a photosensitive element 22, which converts the optical signal into an electrical signal and then outputs it to the public domain.
[0140] The confidentiality method includes the steps of: P12, controlling the decryption module to obtain the transmitted encrypted transmission information, executing the decryption program to decrypt the encrypted transmission information, and obtaining the decrypted transmission information.
[0141] The encrypted transmission information received by the decryption module 300 is not necessarily the encrypted information output by the optical component 200, but can also be any information from the public domain that can be obtained and needs to be decrypted. The decryption module 300 configured by the configuration method provided by the present invention can have a certain generalized recognition capability. The encrypted transmission information can be in the form of an optical signal, or in the form of an electrical signal or data information.
[0142] The decryption module 300 can implement a convolutional neural network when executing the decryption program.
[0143] In the preferred embodiment provided by the present invention, at least when configuring the confidentiality system, the output of the optical component 200 can be coupled with the input of the decryption module 300, and a loss value can be constructed based on the input of the optical component 200 and the output of the decryption module 300 for training and configuration, so that the encryption operation and decryption operation of the configured confidentiality system have a strong correlation, thereby improving the security and robustness of the system.
[0144] When the decryption module 300 is implemented as electrical decryption, the confidentiality method provided by the present invention adopts a combination of optical encryption and electrical decryption, and has both the high efficiency and physical security of optical encryption and the controllability and algorithm security of electrical decryption.
[0145] like Figure 8 As shown, an embodiment of the present invention provides a configuration method for a security system. The configuration method is used to configure a security system.
[0146] The security system includes an optical component. The optical component can be a physical optical device or a mathematical model for simulating the optical path of the optical component. The optical component includes a light-transmitting element, which can be a physical optical device or a mathematical model.
[0147] The optical component is used to encrypt its input information and output the encrypted information.
[0148] Configuring the optical component or light-transmitting element may be configuring the structure, arrangement, position, and posture of its physical device, or configuring the model parameters of its mathematical model.
[0149] The security system includes a decryption module. The decryption module can be in the form of an integrated module composed of physical circuit devices, a mathematical model, a computer code, or an instruction. The decryption module can execute a decryption program, and when executing the decryption program, a mathematical model such as a convolutional neural network, or a computer code or instruction can be implemented.
[0150] The decryption module is used to perform a decryption procedure on its input information.
[0151] The decryption module can be configured by configuring the integrated module, configuring the parameters of the mathematical model, or configuring the parameters of the computer code and instructions.
[0152] The confidentiality system can be implemented according to any of the above technical solutions.
[0153] The security system may also be any security system that can implement the security method described above.
[0154] The configuration method includes the following steps.
[0155] Step S11, inputting the original image information into the optical component to obtain the decrypted image information output by the decryption module.
[0156] When configuring the security system, the decryption module uses the output of the optical component as input information of the decryption module. Specifically, the output of the optical component can be coupled to the input of the decryption module, so that the decryption module uses the encrypted information output by the optical component as input to perform overall configuration. When using the security system or other scenarios, the decryption module does not necessarily use the output of the optical component as its input.
[0157] The original image information is input into the optical component, and the encrypted information is input into the decryption module. The decryption module executes the decryption program to obtain the decrypted image information corresponding to the original image information.
[0158] The original image information may be in the form of an optical signal or an electrical signal or data information that can be converted into an optical signal, the encrypted information may be in the form of an electrical signal or data information, and the decrypted image information may be in the form of an electrical signal or data information.
[0159] The correspondence between the decrypted image information and the original image information may include the correspondence of the information form. Based on this, when the information forms of the two do not correspond, the configuration method provided by the present invention may also include the step of converting the format of the graphic information. For example, if the original image information is an optical signal and the decrypted image information is data information, the data information corresponding to the original image information may be determined.
[0160] The source of the encrypted information depends on the composition of the optical component. If the optical component only includes a light-transmitting element, the encrypted information refers to the output of the light-transmitting element. If the optical component also includes a metasurface element, the encrypted information refers to the output of the element located on the light-emitting side. If the optical component also includes a photosensitive element, the encrypted information can be the output of the photosensitive element and has the form of an electrical signal or data information.
[0161] Step S12, determining a loss value according to the decrypted image information and the original image information.
[0162] Compared with the prior art, the loss value of the present invention is constructed through the joint participation of optical components and decryption programs, rather than relying on one of them alone, thereby achieving overall consideration of the confidentiality system, and the configured optical components and decryption modules have stronger matching.
[0163] The loss value can be used to evaluate the performance of the security system. For example, it can be used to evaluate whether the optical component can output appropriate encrypted information and whether the decryption module can accurately decrypt.
[0164] The loss value can be represented by the difference between the original image information and the decrypted image information. This difference can be used to evaluate the performance of the security system. When the difference between the two is large, it means that the encryption process and decryption process of the security system are poorly matched, and the performance of the security system is poor. At this time, the security system needs to be updated.
[0165] In a specific example, the loss value is determined based on the mean square error between the decrypted image information and the original image information. In other examples, the loss value can also be determined based on cross entropy, KL divergence, Hinge loss, etc.
[0166] Step S13, adjusting the configuration of the light-transmitting element, or the configuration of the decryption program, or both the configuration of the light-transmitting element and the configuration of the decryption program according to the loss value, until the loss value meets the preset numerical condition, thereby obtaining the configuration information of the confidentiality system.
[0167] A standard value or a standard interval can be set for the loss value, and the loss value and the standard value or the standard interval can be used to determine whether to adjust the configuration and / or how to adjust the configuration. For example, when the loss value is not equal to the standard value or does not fall within the standard interval, the configuration is adjusted.
[0168] As for until the loss value satisfies the preset numerical condition, the loss value convergence may be used as the numerical condition, or the loss value convergence to the target value may be used as the preset numerical condition.
[0169] The configuration schemes mentioned in step S13 include at least the following three:
[0170] (1) Only adjust the configuration of the light-transmitting element;
[0171] (2) Only adjust the configuration of the decryption program;
[0172] (3) Adjust both the configuration of the light-transmitting element and the decryption program.
[0173] For the decryption module, the structure of its integrated module, the parameters of its mathematical model, the computer code of the decryption program, and the parameters of the instructions can be adjusted.
[0174] For the light-transmitting element, the structure, arrangement, position, and posture of the physical device may be adjusted, or the model parameters of the mathematical model may be adjusted.
[0175] Adjusting the configuration of the light-transmitting element includes: configuring a first area and a second area on the light-transmitting element.
[0176] The first region has a first transmittance, the second region has a second transmittance, and the first transmittance is different from the second transmittance.
[0177] The first region and the second region may be configured from scratch.
[0178] For example, before the configuration of the transparent element is adjusted, it may not be divided into areas, and it does not include two areas with different transmittances. In this case, the area configuration of the transparent element included in step S13 can be setting part of the area as the first area and setting another part of the area as the second area.
[0179] The configuration of the first region and the second region may be a "from one to the other" configuration.
[0180] For example, before the configuration of the light-transmitting element is adjusted, the area division may have been completed, or at least two areas with different transmittances may have been included. In this case, the area configuration of the light-transmitting element included in step S13 may be a layout adjustment based on an existing layout, a transmittance adjustment based on an existing transmittance, or a ratio adjustment based on an existing area quantity ratio (the ratio of the number of first areas to the number of second areas).
[0181] In a specific example, the first area is used for encryption. In a specific example, the second area is used for encryption. In a specific example, both the first area and the second area are used for encryption.
[0182] The first transmittance may be smaller than the second transmittance. At this time, it can be considered that the first area is mainly used for encryption, and the second area is mainly used for transmitting original image information.
[0183] However, the fact that the first transmittance is less than the second transmittance does not mean that the first area is completely non-transparent, nor does it mean that the second area is completely transparent. For example, the first transmittance can be 30% transparent, and the second transmittance can be 70% transparent. When the two functions are interchanged, the first transmittance can be 70% transparent, and the second transmittance can be 30% transparent. When both are used for encryption, the first transmittance can be 30% transparent, and the second transmittance can be 40% transparent.
[0184] The light-transmitting element can be prepared on a substrate, and in particular, a modulation layer can be arranged in a first region of the substrate, so that the first region has a lower first transmittance. For the second region, the substrate can be directly arranged to have a second transmittance, in which case the portion of the substrate on which the modulation layer is not arranged is the second region; or another modulation layer with a second transmittance can be arranged in the second region of the substrate.
[0185] Based on the above steps S11 to S12, the security system can be regarded as a whole, and the configured security system enhances the correlation between the encryption means and the decryption means, and can resist external attackers. In addition, because the encryption means of the security system is an optical encryption means related to transmittance, when the decryption means can match it, the overall robustness of the security system is stronger.
[0186] In a specific example, the light-transmitting element is arranged with a first area and a second area in an initial state, and when the configuration method is executed, the layout of the first area and the second area is specifically adjusted according to the loss value.
[0187] like Fig. 9 As shown in (a), the light-transmitting element 21 includes m first regions 211 (eg, region 21a) and n second regions 212 (eg, region 21b). The m first regions 211 and the n second regions 212 are arranged in a first layout.
[0188] The configuration method includes the steps of: adjusting the arrangement of the first area 211 and the second area 212 in the light-transmitting element 21 to a second layout according to the loss value.
[0189] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0190] The adjusted light-transmitting element 21 is as follows Fig. 9 As shown in (b).
[0191] In this way, when training is performed according to the loss value, the first layout matches the decrypted image information and can be used as prior information for training and configuration, providing a general direction for the configuration process of the light-transmitting element, thereby improving the convergence speed of the loss value and the training efficiency of the confidentiality system.
[0192] Specifically, the layout of the first area and the second area in the light-transmitting element 21 can be adjusted by adjusting the transmittance, so that part of the first area is adjusted to the second area, or part of the second area is adjusted to the first area, or part of the first area is adjusted to the second area and part of the second area is adjusted to the first area at the same time.
[0193] In a specific example, the configuration method includes: adjusting the transmittance of p first regions in the light-transmitting element to a second transmittance according to the loss value. p≤m.
[0194] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element. This step may be specifically used to adjust the first layout arrangement of the first area and the second area to a second layout arrangement.
[0195] For example, in Fig. 9 In (a), the transmittance of the region 21a implemented as the first region 211 can be adjusted to the second transmittance, that is, converted to the region 21a implemented as the second region 212 in (b). When adjusting once, p can be 1, that is, one first region is adjusted to become the second region; p can also be any number greater than 1 and less than or equal to m, that is, multiple first regions are adjusted to become the second region.
[0196] In a specific example, the configuration method includes: adjusting the transmittance of q second regions in the light-transmitting element to the first transmittance according to the loss value. q≤n.
[0197] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element. This step may be specifically used to adjust the first layout arrangement of the first area and the second area to a second layout arrangement.
[0198] For example, in Fig. 9 In (a), the transmittance of the region 21b implemented as the second region 212 can be adjusted to the first transmittance, that is, converted to the region 21b implemented as the first region 211 in (b). In a single adjustment, q can be 1 or any number greater than 1 and less than or equal to n.
[0199] In a specific example, the configuration method includes: according to the loss value, adjusting the transmittance of p first regions in the light-transmitting element to the second transmittance, and adjusting the transmittance of q second regions in the light-transmitting element to the first transmittance. p≤m. q≤n.
[0200] The above two specific examples respectively implement "only conversion from the first area to the second area" and "only conversion from the second area to the first area", which will inevitably lead to a decrease or increase in the overall transmittance of the light-transmitting element 21. In this specific example, conversion in two directions is performed at the same time, which can maintain the overall transmittance of the light-transmitting element 21 to a certain extent, and maintain the encryption degree and encryption performance of the light-transmitting element 21.
[0201] The values of p and q can be equal, that is, a number of first regions are adjusted to second regions, and the same number of second regions are adjusted to first regions, so as to ensure the stability of the overall transmittance of the light-transmitting element 21. The values of p and q can also be unequal, and can be adjusted by using a gradient descent method according to the loss value.
[0202] In a specific example, the light-transmitting element is not initially arranged with the first and second regions having different transmittances. After executing the configuration method, part of the regions in the light-transmitting element are determined as the first regions and part of the regions as the second regions according to the loss values.
[0203] like Fig.10 As shown in (a), the light-transmitting element 21 includes several unit areas, such as area 21a and area 21b. The several unit areas may have the same transmittance, size and shape. At this time, the light-transmitting element 21 may be regarded as forming a light-transmitting array.
[0204] Based on this, the first area and the second area are set and divided with more sufficient operating space. When adjusting the configuration, a specific unit area can be set as the first area and / or a specific unit area can be set as the second area randomly or according to a certain order or rule without being disturbed by the existing layout.
[0205] If the first area is a substrate area where a modulation layer is set, and the second area is a substrate area where no modulation layer is set, the configuration process is equivalent to a process of determining a region on the substrate where a modulation layer is set.
[0206] In a specific example, the configuration method includes the steps of: adjusting the transmittance of at least part of a plurality of unit areas in the light-transmitting element to a first transmittance according to the loss value, so as to form the first area.
[0207] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0208] Combination Fig.10 As shown in (b), the transmittance of the region 21b is adjusted to the first transmittance according to the loss value. The adjusted region 21b is the first region 211 or is used to constitute the first region 211.
[0209] In a specific example, the configuration method includes the steps of: adjusting the transmittance of at least another part of the plurality of unit areas in the light-transmitting element to a second transmittance according to the loss value to form the second area.
[0210] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0211] Combination Fig.10 As shown in (b), the transmittance of the region 21a is adjusted to the second transmittance according to the loss value. The adjusted region 21a is the second region 212 or is used to constitute the second region 212.
[0212] At this time, the loss value can be used to indicate the number of first areas or second areas, the ratio of the two, the degree of aggregation, and the degree of dispersion. For example, if the first transmittance is smaller, and the loss value indicates that the gap between the decrypted image information and the original image information is too large, the number of first areas can be reduced, the ratio of the number of first areas to the number of second areas can be reduced, the degree of aggregation of the first area distribution can be reduced, and the degree of dispersion of the first area distribution can be increased, so that the loss value tends to converge.
[0213] for Fig. 9 and Fig.10 In the specific example shown, or for other specific examples of the present invention, when adjusting the layout of the first area and the second area in the light-transmitting element, a preset overall transmittance constraint can be introduced to keep the adjusted overall transmittance of the light-transmitting element in compliance with encryption requirements.
[0214] In a specific example, the configuration method includes the steps of: obtaining a preset overall transmittance of a light-transmitting element; adjusting the configuration of the first area and the second area in the light-transmitting element according to the loss value, and the number of the first areas, the number of the second areas, or the ratio of the number of the first areas to the number of the second areas after adjustment meets the light transmission condition set according to the preset overall transmittance.
[0215] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0216] For example, when the first transmittance is low, the first area is mainly used for shading, and the second area is mainly used for light transmission. The ratio of the number of the first area to the second area, or the ratio of the total area of the first area to the area of the substrate, can be used to measure the shading degree of the light-transmitting element. The shading degree is positively correlated with the encryption degree. Therefore, by controlling the above ratio to tend to the preset overall transmittance, the encryption degree of the light-transmitting element can be effectively controlled so that it does not deviate too much from the encryption target due to the configuration process.
[0217] The preset overall transmittance can be set according to the encryption requirements of the security system or optical components. For example, if the encryption requirements are higher, the preset overall transmittance is set higher; otherwise, the preset overall transmittance can be set lower.
[0218] The light transmission condition may be a numerical condition set according to a preset overall transmittance. For example, if the transmittance of the first area is less than the transmittance of the second area, the light transmission condition may be set according to the preset overall transmittance to: the number of first areas or the ratio of the number of first areas to the number of second areas is greater than a set value to meet higher encryption requirements; or to: the number of second areas or the ratio of the number of second areas to the number of first areas is greater than a set value to adapt to decryption performance.
[0219] In addition, the difference between the ratio and the numerical condition may be set to be smaller than a preset threshold.
[0220] The light transmission condition may also be a numerical range set according to a preset overall transmittance. When the ratio falls within the numerical range, it is considered that the light transmission condition is met.
[0221] Based on this, in a specific example of configuring a light-transmitting element, at least one of the following configurations may be performed:
[0222] adjusting the number of first regions, adjusting the positions of the first regions, or adjusting both the number and the positions of the first regions;
[0223] The number of the second regions is adjusted, the positions of the second regions are adjusted, or both the number and the positions of the second regions are adjusted.
[0224] In addition, you can configure at least one of the following:
[0225] The transmittance of the first region is adjusted, the transmittance of the second region is adjusted, or both the transmittance of the first region and the transmittance of the second region are adjusted.
[0226] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0227] The transmittance can be adjusted between "completely transparent" and "completely non-transmitted", or can be adjusted steplessly between "completely transparent", "partially non-transmitted", "partially transparent", and "completely non-transmitted".
[0228] In addition, you can configure at least one of the following:
[0229] adjusting a size of the first region, adjusting a shape of the first region, or adjusting both a size and a shape of the first region;
[0230] The size of the second region is adjusted, the shape of the second region is adjusted, or both the size and shape of the second region are adjusted.
[0231] This step may be included in the step of adjusting the configuration of the light-transmitting element according to the loss value, and adjusting the configuration of the light-transmitting element includes configuring the first area and the second area on the light-transmitting element.
[0232] In a specific example, the loss value may indicate that an encryption operation of the optical component cannot match a decryption operation of the decryption module.
[0233] In one case, the failure to match may be due to the fact that the encryption degree of the input information by the light-transmitting element is too high, so that the decryption module cannot decrypt. In this case, the configuration of the light-transmitting element can be adjusted, for example, by reducing or increasing the number of first areas, increasing or decreasing the number of second areas, increasing or decreasing the transmittance of the first area, and increasing or decreasing the transmittance of the second area, so that the updated loss value tends to converge.
[0234] In another case, the configuration of the light-transmitting element may be adjusted to change the distribution of the first area or the second area from concentrated to dispersed, or to change the distribution of the first area or the second area from dispersed to concentrated, so that the updated loss value tends to converge.
[0235] Taking the first transmittance being less than the second transmittance as an example, when the loss value indicates that the decrypted image information is too different from the original image information, the problem can be solved by reducing the number of first areas, reducing the size of the first areas, increasing the transmittance of the first areas, adjusting the shape of the first areas from irregular shapes to regular shapes, adjusting the position of the first areas from the edge to the middle area, or adjusting the position layout of the first areas to a dispersed layout.
[0236] The target value for loss value convergence can be set according to the encryption requirements of the confidentiality system. The higher the encryption requirements, the higher the target value can be set to ensure the encryption effect and allow a certain difference between the decrypted information and the original information.
[0237] In a specific example, the optical component further includes a metasurface element. The metasurface element is used to perform a first encryption on input information of the metasurface element and output first information.
[0238] The light-transmitting element is used to perform second encryption on the input information of the light-transmitting element and output second information.
[0239] The first encryption and the second encryption may be the same or different. When the first encryption and the second encryption are different, the two encryption methods can be combined to enhance the encryption effect.
[0240] In a specific example, the light-transmitting element is used to perform a second encryption on the first information and output the second information. The second information is used to generate the encrypted information, and the encrypted information is the output of the optical component. This data transmission relationship can be characterized by arranging the metasurface element on the light incident side of the light-transmitting element.
[0241] In a specific example, the metasurface element is used to perform a first encryption on the second information and output the first information. The first information is used to generate the encrypted information, and the encrypted information is the output of the optical component. This data transmission relationship can be characterized by arranging the metasurface element on the light-emitting side of the light-transmitting element.
[0242] The above two specific examples can be implemented either one or both. If implemented simultaneously, the optical component can form a configuration such as "light-transmitting element-metasurface element-light-transmitting element", or a configuration of "metasurface element-light-transmitting element-metasurface element".
[0243] In a specific example, the configuration method includes the steps of adjusting both the configuration of the metasurface element and the configuration of the light-transmitting element according to the loss value.
[0244] In a specific example, the configuration method includes the steps of adjusting both the configuration of the metasurface element and the configuration of the decryption program according to the loss value.
[0245] In a specific example, the configuration method includes the steps of: adjusting the configuration of the metasurface element, the configuration of the light-transmitting element, and the configuration of the decryption program according to the loss value.
[0246] The above specific examples may be implemented one by one or more.
[0247] The configuration of the metasurface element includes at least one of the geometric structure, size or spatial arrangement of the nanostructure units used to constitute the metasurface. The configuration of the metasurface may also include at least one of the arrangement period, material, shape and position coordinates of the nanostructure units.
[0248] When the metasurface element and the light-transmitting element are integrally arranged to form a module, adjusting the configuration of the metasurface element may be adjusting the configuration of the nanostructure units in the module, and adjusting the configuration of the light-transmitting element may be adjusting the configuration of the first region and / or the second region in the module.
[0249] When the metasurface element and the light-transmitting element are separately arranged, adjusting the configuration of the metasurface element may also be adjusting the position of the metasurface element so that the metasurface element is close to or away from the light-transmitting element. Adjusting the configuration of the light-transmitting element may also be adjusting the position of the light-transmitting element so that the light-transmitting element is close to or away from the metasurface element.
[0250] In a specific example, the optical component includes a photosensitive element. The photosensitive element is used to convert a light signal input to the photosensitive element into encrypted information. The encrypted information is the output of the optical component.
[0251] When the encrypted information is an optical signal, the output of the light-transmitting element or the metasurface element can be used as the encrypted information; when the encrypted information is an electrical signal or data information, the output of the photosensitive element can be used as the encrypted information.
[0252] The photosensitive element can be separately provided from the light-transmitting element and the metasurface element.
[0253] Based on this, adjusting the configuration of the metasurface element may also be adjusting the position of the metasurface element so that the metasurface element is close to or away from the photosensitive element. Adjusting the configuration of the light-transmitting element may also be adjusting the position of the light-transmitting element so that the light-transmitting element is close to or away from the photosensitive element.
[0254] The photosensitive element can also be integrated with the light-transmitting element or the metasurface element.
[0255] Taking the example of the photosensitive element and the light-transmitting element being integrally arranged, the light-transmitting element is formed on the first surface of the photosensitive element. When implementing the security system, the first surface may be the surface of the light-incident side of the photosensitive element.
[0256] In this specific example, the configuration method includes: adjusting the configuration of the first area, the configuration of the second area, or the configuration of both the first area and the second area at the photosensitive element according to the loss value.
[0257] When the light-transmitting element is formed on the first surface of the photosensitive element, the light-transmitting element may include only the first area and the second area without including the substrate. The first area and the second area are directly formed on the first surface of the photosensitive element, so when implementing the configuration method, the configuration of the first area, the configuration of the second area, or both of the configurations of the first area and the second area at the photosensitive element are directly adjusted according to the loss value.
[0258] In addition, the optical component may further include at least one refractive optical element, at least one diffractive optical element and / or at least one scattering medium element.
[0259] Correspondingly, the configuration method also includes: adjusting the configuration of the above optical elements.
[0260] For the refractive optical element, the configuration of the spherical refractive optical element may be at least one of material, surface curvature, and glass thickness. The configuration of the aspherical refractive optical element may be at least one of material, surface curvature, glass thickness, and surface shape. In addition, the configuration of the refractive optical element may also include at least one of refractive index and curvature radius.
[0261] For the diffractive optical element, its configuration may be at least one of the diffraction order, the period of the microstructure, the height of the microstructure, and the refractive index. In addition, the configuration of the diffractive optical element may also include at least one of the focal length characteristics, the phase function of the diffractive surface, the radial radius of each annular zone mutation point of the diffractive surface, the annular zone depth of the diffractive surface, and the diffraction efficiency.
[0262] For the scattering medium element, the configuration may be at least one of surface roughness, particle distribution uniformity, frosting or acid etching depth, and thickness. In addition, the configuration of the scattering medium element may also include at least one of scattering coefficient, absorption coefficient, phase function, scattering length, opacity or transmittance, anisotropy factor, optical thickness, scattering efficiency, and particle size distribution.
[0263] In a specific example, the decryption program implements the algorithm of the convolutional neural network when it is executed. In some specific examples, the performance of the convolutional neural network can also be enhanced by using a generative adversarial network, multi-scale convolution, residual network or introducing an attention mechanism; based on this, the decryption program implements the above enhancement schemes at the same time when it is executed.
[0264] Adjusting the configuration of the decryption program may specifically be adjusting the parameters of the convolutional neural network.
[0265] like Fig.11 In a preferred embodiment of the present invention, the security system includes a metasurface element. Fig.11 (a) shows the original image, Fig.11 (b) shows the encrypted image obtained after the first encryption is performed by the metasurface element. Fig.11 (c) shows an encrypted image obtained after further second encryption is performed by the light-transmitting element, which is transmitted as the encrypted information.
[0266] Specifically, the metasurface element can be used to encrypt the image through blurring, and the light-transmitting element can encrypt the image through light-shielding, with the blocked portion being treated as black or other uniform colors.
[0267] In summary, the confidentiality system, configuration method and confidentiality method provided by the present invention utilize optical components to encrypt information and have strong resistance to physical interference; the loss value is determined by the input of the optical component and the output of the decryption module, and training is performed based on the loss value, and the confidentiality system is regarded as a whole, which enhances the correlation between encryption and decryption methods and increases the difficulty of cracking encrypted information; the configuration of the light-transmitting element in the optical component or the configuration of the decryption program in the decryption module is adjusted based on the loss value, and the configuration of the light-transmitting element includes the configuration of areas with two transmittances, which can encrypt from the perspective of optical transmittance in units of areas, and adapt the decryption program to this encryption method, further improving the robustness of the confidentiality system.
[0268] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0269] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for configuring a security system, characterized in that: The security system comprises: An optical component, used to encrypt input information and output encrypted information; the optical component includes a light-transmitting element; A decryption module, used to perform a decryption procedure on its input information; The configuration method comprises: Inputting original image information into an optical component to obtain decrypted image information output by a decryption module, wherein the decryption module uses the output of the optical component as its input information; Determine the loss value according to the decrypted image information and the original image information; Adjusting the configuration of the light-transmitting element, or the configuration of the decryption program, or both the configuration of the light-transmitting element and the configuration of the decryption program according to the loss value, until the loss value satisfies a preset numerical condition, thereby obtaining configuration information of the security system; Adjusting the configuration of the light-transmitting element includes: configuring a first area and a second area on the light-transmitting element, the first area has a first transmittance, the second area has a second transmittance, the first transmittance is different from the second transmittance; the first area and / or the second area is used for encryption.
2. The configuration method according to claim 1, characterized in that: The light-transmitting element includes m first regions and n second regions arranged according to a first layout; and adjusting the configuration of the light-transmitting element according to the loss value includes: According to the loss value, the arrangement of the first area and the second area in the light-transmitting element is adjusted to a second layout.
3. The configuration method according to claim 2, characterized in that: The step of adjusting the configuration of the light-transmitting element according to the loss value comprises at least one of the following: According to the loss value, the transmittance of the p first regions in the light-transmitting element is adjusted to a second transmittance, p≤m; According to the loss value, the transmittance of the q second regions in the light-transmitting element is adjusted to the first transmittance, q≤n.
4. The configuration method according to claim 1, characterized in that: The light-transmitting element includes a plurality of unit areas; and adjusting the configuration of the light-transmitting element according to the loss value includes at least one of the following: According to the loss value, adjusting the transmittance of at least part of a plurality of unit areas in the light-transmitting element to a first transmittance to form the first area; According to the loss value, the transmittance of at least another part of the plurality of unit areas in the light-transmitting element is adjusted to a second transmittance to form the second area.
5. The configuration method according to claim 1, characterized in that: include: Obtaining a preset overall transmittance of the light-transmitting element; The configuration of the first area and the second area in the light-transmitting element is adjusted according to the loss value, and the adjusted number of first areas, the number of second areas, or the ratio of the number of first areas to the number of second areas meets the light-transmitting condition set according to the preset overall transmittance.
6. The configuration method according to claim 1, characterized in that: The optical assembly further comprises: The metasurface element is used to perform first encryption on its input information and output first information; The light-transmitting element is used to perform a second encryption on its input information and output second information; The optical component satisfies at least one of the following: The light-transmitting element is used to perform a second encryption on the first information and output second information, wherein the second information is used to generate the encrypted information; The metasurface element is used to perform a first encryption on the second information and output first information, where the first information is used to generate the encrypted information.
7. The configuration method according to claim 6, characterized in that: Include at least one of the following: adjusting both the configuration of the metasurface element and the configuration of the light-transmitting element according to the loss value; adjusting both the configuration of the metasurface element and the configuration of the decryption program according to the loss value; According to the loss value, adjusting the configuration of the metasurface element, the configuration of the light-transmitting element, and the configuration of the decryption program; The configuration of the metasurface element includes at least one of the geometric structure, size or spatial arrangement of the nanostructure units used to constitute the metasurface.
8. The configuration method according to claim 1, characterized in that: The optical component includes a photosensitive element, and the photosensitive element is used to convert the optical signal input thereto into the encrypted information; The light-transmitting element is formed on the first surface of the light-sensing element; The configuration method comprises: According to the loss value, the configuration of the first area, the configuration of the second area, or the configuration of both the first area and the second area of the photosensitive element are adjusted.
9. The configuration method according to claim 1, characterized in that: At least one of the following is met: When the decryption program is executed, the algorithm of the convolutional neural network is implemented; The loss value is determined according to the mean square error between the decrypted image information and the original image information.
10. A confidentiality system, characterized in that: include: An optical component, used to encrypt input information and output encrypted information; the optical component includes a light-transmitting element; A decryption module, used to perform a decryption procedure on its input information; The security system is configured according to the configuration method according to any one of claims 1-9.
11. The security system according to claim 10, characterized in that: The optical assembly comprises: The metasurface element is used to perform first encryption on its input information and output first information; The light-transmitting element is used to perform a second encryption on its input information and output second information; The light-transmitting element uses the first information as input information, or the metasurface element uses the second information as input information.
12. The security system according to claim 10, characterized in that: The optical component includes a photosensitive element, and the photosensitive element is used to convert the optical signal input thereto into the encrypted information; and the security system satisfies at least one of the following: The photosensitive element uses the light signal output by the light-transmitting element as the light signal input to the photosensitive element; The light-transmitting element is formed on the first surface of the light-sensing element.
13. The security system according to claim 10, characterized in that: The first region is provided with a modulation layer, and the modulation layer is formed of chromium or an alloy thereof; the second region is provided with quartz glass; and the second transmittance is greater than the first transmittance.
14. A confidentiality method, characterized in that: The security system according to any one of claims 10 to 13; the security method comprising: Inputting the information to be transmitted into the optical component, obtaining and outputting the encrypted transmission information; The control decryption module obtains the transmitted encrypted transmission information, executes the decryption program to decrypt the encrypted transmission information, and obtains the decrypted transmission information.
Citation Information
Cited By
Information carrier, configuration method and storage device
CN120932701A
Information carrier, configuration method and storage device
CN120932701B