Disclosure of Invention
The application aims to provide a grating storage structure, and an information decoding method and device based on the grating storage structure, and the grating storage structure has the beneficial effect of improving information loading density.
The embodiment of the application provides a grating storage structure, including: the grating structure comprises a substrate, wherein a plurality of rectangular grating areas are arranged on the substrate, each grating area is provided with a preset number of thin grooves, the width d values of the thin grooves in the same grating area are the same, the thin grooves in the same grating area are arranged in parallel at intervals, and the extending directions of the thin grooves are the same as the included angle a values of the vertical edges of the grating areas;
each grating area is used for diffracting two diffracted lights with corresponding wavelengths under the action of two lights with different incident angles, wherein the wavelengths are related to the d value and the a value of the fine groove of the corresponding grating area.
In the grating storage structure of the invention, the fine grooves of each grating area are uniformly arranged at intervals.
In the grating storage structure of the present invention, the plurality of grating regions are arranged in a rectangular array.
In the grating storage structure of the present invention, the plurality of grating regions include a positioning grating region and a plurality of storage grating regions;
the positioning raster area is used for numbering storage compression libraries so as to map compression information stored in the storage raster areas to corresponding compression libraries;
the storage grating area is used for storing compressed information, the compressed information comprises an initial position and an information length of the information in a corresponding compression library, two corresponding wavelengths of each grating area are respectively and correspondingly coded into d and l, the d is the initial position, and the l is the information length.
In the grating storage structure of the invention, the positioning grating area is located at the first row and the first column of the plurality of grating areas.
In the grating storage structure of the invention, the length and the width of each grating region are equal.
An information decoding method based on a raster storage structure, wherein the raster storage structure is the raster storage structure in any one of the above, and the method comprises the following steps:
s1, acquiring diffracted light with two corresponding wavelengths, which is diffracted by each grating area of the grating storage structure under the action of light with two different incident angles;
s2, decoding corresponding coded information according to the diffracted lights with the two corresponding wavelengths, wherein each wavelength corresponds to one code;
and S3, decoding the information according to the coding information.
In the information decoding method based on the grating storage structure, the plurality of grating areas comprise a positioning grating area and a plurality of storage grating areas;
and the step S3 includes:
acquiring the serial number of a compression library according to the coding information corresponding to the positioning grating area;
and inquiring a compression library corresponding to the number according to the coding information of each storage raster region to acquire the information stored in each storage raster region.
In the information decoding method based on the grating storage structure of the present invention, the step of querying the compression library corresponding to the serial number according to the encoding information of each storage grating region to obtain the information stored in each storage grating region includes:
acquiring the initial position and the information length of the information stored in each storage raster region in the compression library according to the coding information of each storage raster region;
and acquiring the information stored in the storage raster region from the compression library according to the initial position and the information length.
An information decoding apparatus based on a raster storage structure, comprising:
the detection module is used for acquiring the wavelengths of two diffracted lights diffracted by each grating area of the grating storage structure under the action of two lights with different incident angles;
the acquisition module is used for decoding corresponding coded information according to the wavelengths of the two corresponding diffracted lights, wherein each wavelength corresponds to one code;
and the decoding module is used for decoding the information according to the coding information.
In the information decoding device based on the grating storage structure, the plurality of grating areas comprise a positioning grating area and a plurality of storage grating areas;
and the decoding module is configured to: acquiring the serial number of a compression library according to the coding information corresponding to the positioning grating area; and inquiring a compression library corresponding to the number according to the coding information of each storage raster region to acquire the information stored in each storage raster region.
The grating storage structure, the information decoding method and the information decoding device based on the grating storage structure record information by arranging the plurality of grating areas on the substrate, and each grating area only needs to meet diffraction conditions, and a large number of grating areas can be arranged in a small area, so that the information recording density can be greatly improved.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, or apparatus, terminal, system comprising a list of steps is not necessarily limited to those steps or modules or elements expressly listed, and may include other steps or modules or elements not expressly listed, or inherent to such process, method, apparatus, terminal, or system.
Referring to fig. 1 and fig. 2, fig. 1 is a structural diagram of a grating storage structure according to some embodiments of the present invention. Fig. 2 is a block diagram of one grating area 11 of the grating storage structure. The grating storage structure comprises: a substrate 10, wherein the substrate 10 may be a pure silicon wafer, but of course, other materials may also be used. The substrate 10 is provided with a plurality of rectangular grating regions 11, and each grating region has the same length and width. Each grating area 11 is provided with a preset number of thin grooves 111, the width d values of the thin grooves 111 in the same grating area 11 are the same, the thin grooves 111 in the same grating area 11 are arranged in parallel at intervals, and the extending directions of the thin grooves 111 are the same as the included angle a values of the vertical edges of the grating areas 11; each grating region 11 is configured to diffract two diffracted lights with corresponding wavelengths under the action of two lights with different incident angles, wherein the wavelengths are related to the d value and the a value of the fine groove of the corresponding grating region.
When the narrow grooves with different widths and angles encounter incident light with a certain angle, diffraction light with different wavelengths is generated. Therefore, by controlling the width and angle of the fine groove of each grating region, the light diffracted by the fine groove can have different wavelengths. As shown in fig. 3, when the grating region is in the same direction as the incident light, light with a wavelength of C1 is diffracted (i.e., one side of the grating region is parallel to the incident light), and when the fine groove is in the same direction as the incident light, light with a wavelength of C2 is diffracted.
In the present invention, different wavelength mappings are used to encode different information, for example, different wavelengths represent different numbers, and different wavelengths in 10 can encode 0-9 numbers. As shown in fig. 1, a plurality of grating regions may be arranged in parallel to form a grating array, and the number of grating regions may be increased in two dimensions as needed to store more information. The fine grooves 111 of each grating region 11 are arranged at regular intervals. The plurality of grating regions 11 are arranged in a rectangular array. The plurality of grating regions 11 include a positioning grating region 11a and a plurality of storage grating regions 11 b.
The positioning raster region 11a is used to store compression library numbers, so as to map the compression information stored in the storage raster regions 11b to corresponding compression libraries. The storage grating region 11b is configured to store compressed information, where the compressed information includes a start position and an information length of the information in a corresponding compression library, where two corresponding wavelengths of each grating region 11 are respectively encoded as d and l, where d is the start position and l is the information length. The positioning grating regions 11a are located at a first row and a first column of the plurality of grating regions 11.
When the grating storage structure is manufactured, firstly, different compression libraries are used for carrying out compression test on data, a compression library with the largest compression ratio is selected and recorded, then, the selected compression library is used for compressing the data to obtain compressed < position, length > data pairs, the position value in each pair is converted into a d1 value, the length value is converted into a α 1 value, each data pair obtains a < d1, α 1> value, and finally, the corresponding narrow groove width value d and the narrow groove included angle a are selected according to each group of d1 and α 1 values to be etched, so that the grating storage structure is manufactured.
Referring to fig. 4, fig. 4 is a flowchart of an information decoding method based on a grating storage structure according to some embodiments of the present invention, where the grating storage structure is any one of the grating storage structures described above, and the method includes the following steps:
and S1, acquiring the wavelengths of two diffracted lights diffracted by each grating area of the grating storage structure under the action of the lights with two different incidence angles.
As shown in fig. 3, when the grating region is in the same direction as the incident light, light having a wavelength of C1 is diffracted (i.e., one side of the grating region is parallel to the incident light), and when the fine groove is in the same direction as the incident light, light having a wavelength of C2 is diffracted.
S2, decoding corresponding coded information according to the diffracted lights with the two corresponding wavelengths, wherein each wavelength corresponds to one code.
Different wavelength mappings are used to encode different information, for example, different wavelengths represent different numbers, and different wavelengths in 10 can encode 0-9 numbers. But also to encode large amounts of data. The ordinary spectrometer can distinguish 200-1100nm light waves, the light resolution is 0.12nm, and the wavelength resolution is 0.04 nm. 7500 coding spaces can be calculated according to the data under the optical resolution, 187500 coding spaces can be calculated according to the wavelength resolution, and the marking of the dictionary can be effectively finished. The number of the common Chinese characters is 3500, 128 ASCCII codes are added, 3628 codes can be used for direct Chinese and English coding, and one bit is coded in each grating area.
And S3, decoding the information according to the coding information.
In this step, the information stored in the raster region is decompressed according to the value corresponding to the encoded information. The plurality of grating areas comprise a positioning grating area and a plurality of storage grating areas; and step S3 includes: s31, acquiring the serial number of the compression library according to the coding information corresponding to the positioning grating area; and S32, inquiring the compression library corresponding to the serial number according to the coding information of each storage raster region to acquire the information stored in each storage raster region.
Wherein, the step S32 specifically includes: acquiring the initial position and the information length of the information stored in each storage raster region in the compression library according to the coding information of each storage raster region; and acquiring the information stored in the storage raster region from the compression library according to the initial position and the information length. For example, the code corresponding to the code information is (2, 6), and the compression library corresponding to 2 is A1-A100. Therefore, the information corresponding to (2, 6) is a2, A3, a4, a5, a6, a7, A8.
Referring to fig. 5, fig. 5 is a block diagram of an information decoding apparatus based on a grating storage structure according to some embodiments of the present invention, where the grating storage structure is any one of the grating storage structures described above, and the apparatus includes: a detection module 201, an acquisition module 202 and a decoding module 203.
The detection module 201 is configured to obtain diffracted light with two corresponding wavelengths, which is diffracted by each grating area of the grating storage structure under the action of light with two different incident angles;
the obtaining module 202 is configured to obtain corresponding encoded information according to the wavelengths of the two diffracted lights, where each wavelength corresponds to one code; different wavelength mappings are used to encode different information, for example, different wavelengths represent different numbers, and different wavelengths in 10 can encode 0-9 numbers. But also to encode large amounts of data. The ordinary spectrometer can distinguish 200-1100nm light waves, the light resolution is 0.12nm, and the wavelength resolution is 0.04 nm. 7500 coding spaces can be calculated according to the data under the optical resolution, 187500 coding spaces can be calculated according to the wavelength resolution, and the marking of the dictionary can be effectively finished. The number of the common Chinese characters is 3500, 128 ASCCII codes are added, 3628 codes can be used for direct Chinese and English coding, and one bit is coded in each grating area.
The decoding module 203 is configured to perform information decoding according to the encoded information. The plurality of grating areas comprise a positioning grating area and a plurality of storage grating areas; and the decoding module is used for: acquiring the serial number of a compression library according to the coding information corresponding to the positioning grating area; and inquiring a compression library corresponding to the number according to the coding information of each storage raster region to acquire the information stored in each storage raster region. The storage raster area encoding method is specifically used for acquiring the initial position and the information length of the information stored in the storage raster area in the compression library according to the encoding information of each storage raster area; and acquiring the information stored in the storage raster region from the compression library according to the starting position and the information length. For example, the code corresponding to the code information is (2, 6), and the compression library corresponding to 2 is A1-A100. Therefore, the information corresponding to (2, 6) is a2, A3, a4, a5, a6, a7, A8.
The invention has large information storage capacity, can etch the wafer by 7 nm technology according to the current technology, and each grating area can only meet the diffraction condition, can arrange a large number of grating areas in a small area, and has much higher density than the traditional bar code and two-dimensional code recorded information, and in addition, the broadband continuous spectrum light can be regarded as light with countless frequencies, so the magnitude order of the grating which can be made is very large, and can be used for coding a large amount of data.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.