Two-dimensional code data page generation method and storage medium
By designing a star-shaped positioning marker composed of an odd number of pixels, the influence of noise and crosstalk on the positioning marker in coaxial holographic storage was resolved, achieving high efficiency, accuracy, and stability in data reading and ensuring long-term data reliability.
Patent Information
- Application Number
- CN202410889860.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2044-07-04
Smart Images

Figure CN119005235B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of coaxial holographic storage technology, specifically to a positioning marker point, a two-dimensional encoded data page generation method, and a storage medium based on coaxial holographic data storage. Background Technology
[0002] In coaxial holographic storage technology, user data is encoded into two-dimensional data pages, which consist of data portions and positioning markers. These markers are used to precisely identify the location of the data within a two-dimensional image. However, when these two-dimensional data pages are read through a coaxial holographic storage system, various noises and crosstalk are inevitably introduced. These interferences can potentially damage the positioning markers, severely impacting data localization and decoding. Summary of the Invention
[0003] In view of the above problems, this application provides a method for generating positioning markers, two-dimensional encoded data pages, and a storage medium to solve the problem that when existing two-dimensional data pages are read through a coaxial holographic storage system, various noises and crosstalk are introduced, which damage the positioning markers in the two-dimensional encoded data pages and affect the positioning and decoding of the data.
[0004] To achieve the above objectives, the inventors provide a positioning marker for coaxial holographic data storage, comprising:
[0005] A square block of pixels consisting of an odd number of pixels in length and width;
[0006] The center of the pixel block is a first-color pixel, and the center of the pixel block extends upward, downward, left, right, upper left, upper right, lower left, and lower right to form a star-shaped structure composed of second-color pixels.
[0007] Except for the pixels in the star-shaped structure which are second-color pixels, all other positions in the pixel block are first-color pixels, which are black pixels and the second-color pixels are white pixels.
[0008] In some embodiments, the pixel block consists of 5*5 pixels or 7*7 pixels.
[0009] Another technical solution was also adopted, a method for generating two-dimensional encoded data pages, which includes the following steps:
[0010] The data to be encoded is used to generate several sub-data pages according to the encoding rules, and the center of each sub-data page is the positioning marker point mentioned above.
[0011] Several sub-data pages are combined to form a two-dimensional encoded data page.
[0012] In some embodiments, the two-dimensional encoded data page generation method specifically includes the following steps:
[0013] transforming the data to be encoded into a plurality of data units according to an encoding rule;
[0014] generating a sub-data page with a preset number of data units;
[0015] confirming the size of the positioning marker point to be generated at the center of the sub-data page;
[0016] generating the positioning marker point at the center of the sub-data page according to the determined size.
[0017] generating a sub-data page with a preset number of data units and positioning marker points.
[0018] In some embodiments, the encoding rule includes amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
[0019] In some embodiments, the two-dimensional encoding data page includes a data page mark.
[0020] Another technical solution is also provided, which is a storage medium storing a computer program, the computer program being executed by a processor to perform the following steps:
[0021] transforming the data to be encoded into a plurality of data units according to an encoding rule;
[0022] generating a sub-data page with a preset number of data units and positioning marker points.
[0023] In some embodiments, the two-dimensional encoding data page generation method specifically includes the following steps:
[0024] transforming the data to be encoded into a plurality of data units according to an encoding rule;
[0025] generating a sub-data page with a preset number of data units;
[0026] confirming the size of the positioning marker point to be generated at the center of the sub-data page;
[0027] generating the positioning marker point at the center of the sub-data page according to the determined size.
[0028] In some embodiments, the encoding rule includes amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
[0029] In some embodiments, the two-dimensional encoding data page includes a data page mark.
[0030] Distinguish from the prior art, the above technical scheme, by designing a new positioning mark point based on coaxial holographic data storage, the positioning mark point has a square-shaped pixel block composed of an odd number of pixels in length and width, the center of the positioning mark point is a first color pixel, then taking the first color pixel at the center as the starting point, spreading out in eight directions of up, down, left, right, upper left, upper right, lower left and lower right with second color pixels, forming a "rice" character shape distribution, and the remaining pixels are all first color pixels. The positioning mark point designed in this way has sufficient high-frequency information to ensure sufficient reproduction efficiency, and the diffraction efficiency is significantly improved, making data reading more accurate and efficient. At the same time, the positioning mark point also has strong anti-noise and anti-crosstalk ability, effectively reducing the influence of external interference on positioning data, further improving the accuracy and stability of data positioning. This feature ensures the long-term reliability and durability of the data, providing a strong guarantee for the wide application of coaxial holographic storage technology. At the same time, it can be perfectly combined with the existing two-dimensional encoding data page without major adjustments to the two-dimensional encoding data page.
[0031] The above invention content is only a summary of the technical scheme of the present application. In order for those skilled in the art to more clearly understand the technical scheme of the present application, and then can be implemented according to the content recorded in the specification and drawings, and in order to make the above-mentioned purpose and other purposes, features and advantages of the present application more easily understood, the following will be described in conjunction with the specific embodiments of the present application and the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0032] The accompanying drawings are only used to illustrate the principles, implementation methods, applications, characteristics and effects of the specific embodiments of the present application and other related contents, and cannot be considered as limitations of the present application.
[0033] In the drawings:
[0034] Figure 1 Structure diagram of the positioning mark point with a side length of 5 pixels according to the specific embodiment;
[0035] Figure 2 Structure diagram of the positioning mark point with a side length of 7 pixels according to the specific embodiment;
[0036] Figure 3 Flowchart of the two-dimensional encoding data page generation method according to the specific embodiment;
[0037] Figure 4 Flowchart of step S310 according to the specific embodiment;
[0038] Figure 5 Structure diagram of the storage medium according to the specific embodiment.
[0039] The reference signs described above in relation to the drawings shall be explained as follows:
[0040] 510, storage medium,
[0041] 520, processor. DETAILED DESCRIPTION
[0042] To explain possible application scenarios, technical principles, specific schemes that can be implemented, and purposes and effects that can be achieved of the present application in detail, the following will be described in detail in combination with specific embodiments listed and with the drawings. The embodiments described herein are only used to more clearly explain the technical schemes of the present application, and therefore only serve as examples, and cannot limit the protection scope of the present application.
[0043] In this document, the term “embodiment” means that the specific features, structures or characteristics described in combination with the embodiment can be included in at least one embodiment of the present application. The term “embodiment” appearing at various positions in the specification does not necessarily refer to the same embodiment, and does not particularly limit the independence or association between other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, each technical feature mentioned in each embodiment can be combined in any way to form a corresponding implementable technical scheme.
[0044] Unless otherwise defined, the meanings of the technical terms used herein are the same as those commonly understood by those skilled in the art to which the present application belongs; the use of related terms herein is only for the purpose of describing specific embodiments, and is not intended to limit the present application.
[0045] In the description of the present application, the phrase “and / or” is a description of the logical relationship between objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases: A exists, B exists, and A and B exist at the same time. In addition, the character “ / ” herein generally represents that the associated objects before and after are a “or” logical relationship.
[0046] In the present application, the phrases such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual quantity, primary and secondary or order relationship between the entities or operations.
[0047] In the present application, the terms "comprise", "contain", "include", or other similar phrases used in the statements mean to encompass non-exclusive inclusion, and the terms do not exclude additional elements or additional steps from the processes, methods or products that include the stated elements, so that the processes, methods or products that include a series of elements can include not only those defined elements, but also other elements not explicitly listed, or also include elements inherent to such processes, methods or products.
[0048] In the present application, the terms "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the terms "above", "below", "within" and the like are understood as including the number itself. In addition, in the description of the embodiments of the present application, the meaning of "multiple" is more than two (including two), and similar expressions related to "multiple" are also understood in this way, for example, "multiple groups", "multiple times" and the like, unless otherwise explicitly specified.
[0049] In the description of the embodiments of the present application, the spatial-related terms used, such as "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "perpendicular", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", and the like, indicate the orientation or positional relationship based on the orientation or positional relationship shown in the specific embodiments or the drawings, and are only for the convenience of describing the specific embodiments of the present application or for the reader to understand, and do not indicate or imply that the indicated device or component must have a particular position, a particular orientation, or be constructed or operated in a particular orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.
[0050] Unless otherwise explicitly specified or limited, in the description of the embodiments of the present application, the terms "mount", "connect", "connect", "fix", "set", and the like should be understood broadly. For example, the "connection" can be fixed connection, or detachable connection, or integrated setting; it can be mechanical connection, or electrical connection, or communication connection; it can be direct connection, or indirect connection through intermediate medium; it can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art to which the present application belongs, the specific meaning of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0051] Please refer to Figures 1-2The embodiment provides a positioning mark point of coaxial holographic data storage, and the design ensures high compatibility of the positioning mark point with an original two-dimensional data page. The positioning mark point significantly improves anti-noise and anti-crosstalk capabilities, while maintaining high diffraction efficiency. Even after a long time of storage of the two-dimensional data page, the positioning mark point can still accurately locate the data position, thereby ensuring the accuracy and stability of data reading. The positioning mark point comprises:
[0052] a square pixel block composed of an odd number of pixels in length and width;
[0053] a center of the pixel block is a first color pixel, and the center of the pixel block extends in upward, downward, left, right, upper left, upper right, lower left and lower right directions to form a "rice" type structure composed of second color pixels,
[0054] all pixels of the pixel block are black pixels except the "rice" type structure.
[0055] In coaxial holographic storage technology, reference light and information light are focused by an objective lens, interfere on a Fourier plane and are recorded in a storage medium. Due to the interference process, a positioning mark point designed from the Fourier plane angle can achieve higher recording and reproduction efficiency. A new positioning mark point based on coaxial holographic data storage is designed, the positioning mark point has a square pixel block composed of an odd number of pixels in length and width, a center of the positioning mark point is a first color pixel, then the first color pixel at the center is taken as a starting point, and second color pixels are scattered in upward, downward, left, right, upper left, upper right, lower left and lower right directions to form a "rice" type distribution, and the rest of the pixels are first color pixels. The design of the positioning mark has a complex two-dimensional structure, and the positioning mark point designed in this way has sufficient high-frequency information to ensure sufficient reproduction efficiency, and the diffraction efficiency is significantly improved, so that data reading is more accurate and efficient. At the same time, the positioning mark point also has strong anti-noise and anti-crosstalk capabilities, effectively reducing the influence of external interference on positioning data, further improving the accuracy and stability of data positioning. This feature ensures the long-term reliability and durability of the data, and provides a strong guarantee for the wide application of coaxial holographic storage technology. At the same time, it can be perfectly combined with the existing two-dimensional data page without major adjustment of the two-dimensional data page.
[0056] In some embodiments, the first color pixel is a black pixel, and the second color pixel is a white pixel. To ensure a significant difference between the first and second color pixels, the first color pixel is set to black, and the second color pixel is set to white. In other embodiments, the first color pixel can also be set to white, and the second color pixel can be set to black. Gray pixels can also be used, such as using gray pixels for the first color pixel and white pixels for the second color pixel, as long as a significant difference between the colors of the first and second color pixels is ensured.
[0057] In some embodiments, the pixel block consists of 5*5 pixels or 7*7 pixels.
[0058] like Figure 1 The positioning marker shown has a side length of 5 pixels, and Figure 2 The positioning marker shown has a side length of 7 pixels. This design ensures that the positioning marker has sufficient high-frequency information to guarantee adequate reproduction efficiency. Through this high-performance positioning marker design, the performance of coaxial holographic data storage technology is significantly improved. In other embodiments, the pixel block can also consist of other odd numbers of pixels, such as a 9x9 pixel block or an 11x11 pixel block for the positioning marker.
[0059] Please see Figure 3 In another embodiment, a method for generating a two-dimensional encoded data page includes the following steps:
[0060] Step S310: Generate several sub-data pages from the data to be encoded according to the encoding rules. The center of each sub-data page is a positioning marker point in the above embodiment. The positioning marker point is a square pixel block composed of an odd number of pixels in length and width. The center of the pixel block is a black pixel. The center of the pixel block extends upward, downward, left, right, upper left, upper right, lower left, and lower right to form a star-shaped structure composed of white pixels. Except for the white pixels on the star-shaped structure, all other positions of the pixel block are black pixels.
[0061] Step S330: Combine several sub-data pages into a two-dimensional encoded data page.
[0062] The positioning mark point in the two-dimensional coding data page adopts the structure in the above embodiment, and the positioning mark point thus designed has sufficient high-frequency information to ensure sufficient reproduction efficiency, and the diffraction efficiency is significantly improved, so that data reading is more accurate and efficient. Meanwhile, the positioning mark point also has strong anti-noise and anti-crosstalk capabilities, effectively reducing the influence of external interference on the positioning data, further improving the accuracy and stability of data positioning. This feature ensures the long-term reliability and durability of the data, providing a strong guarantee for the wide application of coaxial holographic storage technology. At the same time, it can be perfectly combined with the existing two-dimensional data page without major adjustments to the two-dimensional data page.
[0063] Please refer to Figure 4 In some embodiments, the two-dimensional coding data page generation method specifically includes the following steps:
[0064] Step S410: converting the to-be-coded data into a plurality of data units according to an encoding rule;
[0065] Step S420: generating a sub-data page from a preset number of data units;
[0066] Step S430: determining the size of the positioning mark point to be generated in the center of the sub-data page;
[0067] Step S440: generating the positioning mark point in the center of the sub-data page according to the determined size.
[0068] According to the encoding rule, the to-be-coded data is converted into a plurality of data units, and then the generated plurality of data units are grouped according to a preset number of data units in each group. Each group of data units is used to generate a sub-data page, and then the size of the positioning mark point in each data page is determined. Then, a positioning mark point of a corresponding size is generated in the center of the sub-data page. The size of the positioning mark point does not need to be consistent with the size of the data unit, and the way to determine the size of the positioning mark point in each sub-data page is as follows: after a preset number of data units form a sub-data page, the size of the positioning mark point in the center of the sub-data page is determined, and then the size of the positioning mark point is determined according to the size of the position. For example, the size of the generated data unit is 6*6, and when the sub-data page is generated, a positioning mark point of 5*5 is generated in the center of the sub-data page. Or the size of the data unit is 7*7, and when the sub-data page is generated, a positioning mark point of 7*7 is generated in the center of the sub-data page. That is, the center of the sub-data page is suitable for a positioning mark point of a certain size, and a positioning mark point of a certain size is generated in the center of the sub-data page. As long as the side length of the positioning mark point is an odd number of pixels, and the positioning mark point has the above-mentioned cross-shaped structure.
[0069] In some embodiments, the encoding rule comprises amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
[0070] The corresponding two-dimensional encoding data page can be generated by encoding the data to be encoded by one of amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
[0071] In holographic storage, the encoding method using amplitude information as modulated optical information is called amplitude-type encoding. Pure phase encoding, as the name implies, is an encoding method that only uses phase information for encoding in holographic storage encoding. In pure phase modulation, since the phase is distributed within 2π, there are two different phases corresponding to one intensity in the process of reading the phase by interference. Therefore, a smaller phase interval of 0-π is selected. In order to avoid the case where the interference intensity is the same when the phase of the interference reference light cannot be known, unequal-interval phase modulation is proposed, which adopts four-order phase modulation of 0, π / 4, π / 2 and π, avoiding the case that the phase of the interference reference light at π / 2 cannot be distinguished completely in the phase reading interference. On this basis, unequal-interval combined phase encoding is proposed to further reduce the bit error rate. For example, four groups of phase combinations (0, π / 4), (π / 4, π / 2), (π / 2, π), (π, 0) are used to represent 0, 1, 2 and 3 in quaternary, respectively. Further improvement on unequal-interval combined phase encoding obtains equal-interval combined phase encoding. The equal-interval combined phase encoding adopts the form of encoding pairs, and the phase difference between the upper and lower pixels of the encoding pair is a constant difference value. The form of the pair is also selected as the standard for comparison.
[0072] In some embodiments, the two-dimensional encoding data page contains a data page flag.
[0073] The two-dimensional encoding data page is composed of a plurality of sub-data pages. By setting a data page flag in the two-dimensional encoding data, the data page is positioned by the data page flag.
[0074] Referring to Figure 5 In another embodiment, a storage medium 510 stores a computer program, and the computer program is executed by a processor 520 to perform the following steps:
[0075] The to-be-encoded data is generated into a plurality of sub-data pages according to an encoding rule, and the center of the sub-data page is the positioning mark point in the above embodiment, which is a square pixel block composed of an odd number of pixels in length and width, the center of the pixel block is a black pixel, and the center of the pixel block extends in the upward, downward, left, right, upper left, upper right, lower left, and lower right directions to form a rice-shaped structure composed of white pixels. Except for the white pixels on the rice-shaped structure, all other positions are black pixels.
[0076] The plurality of sub-data pages are combined into a two-dimensional encoding data page.
[0077] By generating the to-be-encoded data into a plurality of sub-data pages according to an encoding rule, and the center of each sub-data page contains the positioning mark point in the above embodiment, and then the plurality of sub-data pages are combined into a two-dimensional encoding data page. The positioning mark point in the two-dimensional encoding data page adopts the structure in the above embodiment, and such a designed positioning mark point has sufficient high-frequency information to ensure sufficient reproduction efficiency, and the diffraction efficiency is significantly improved, so that data reading is more accurate and efficient. At the same time, the positioning mark point also has strong anti-noise and anti-crosstalk ability, effectively reducing the influence of external interference on the positioning data, further improving the accuracy and stability of data positioning. This feature ensures the long-term reliability and durability of the data, and provides a strong guarantee for the wide application of coaxial holographic storage technology. At the same time, it can be perfectly combined with the existing two-dimensional data page without major adjustments to the two-dimensional data page.
[0078] In some embodiments, the two-dimensional encoding data page generation method specifically includes the following steps:
[0079] According to the encoding rule, the to-be-encoded data is converted into a plurality of data units;
[0080] A predetermined number of data units are generated into a sub-data page;
[0081] The size of the positioning mark point to be generated at the center of the sub-data page is determined;
[0082] According to the determined size, the positioning mark point is generated at the center of the sub-data page.
[0083] According to the encoding rule, the to-be-encoded data is converted into a plurality of data units, and then the generated plurality of data units are grouped according to each group of preset number of data units, the data units of each group are generated into a sub-data page, and then the size of the positioning mark point in each data page is determined, and then a positioning mark point with a corresponding size is generated at the center of the sub-data page, wherein the size of the positioning mark point does not need to be consistent with the size of the data unit, and the way to determine the size of the positioning mark point in each sub-data page is: when the preset number of data units form a sub-data page, the size of the positioning mark point is determined according to the size of the position, for example, the size of the generated data unit is 6*6, and when the sub-data page is generated, a positioning mark point with a size of 5*5 is generated at the center of the sub-data page; or the size of the data unit is 7*7, and when the sub-data page is generated, a positioning mark point with a size of 7*7 is generated at the center of the sub-data page. That is, the center of the sub-data page is suitable for a positioning mark point with a size, and a positioning mark point with a size is generated at the center of the sub-data page, as long as the side length of the positioning mark point is an odd number of pixels, and the positioning mark point has a rice-shaped structure as described in the above embodiments.
[0084] In some embodiments, the encoding rule includes amplitude encoding, unequal interval combined phase encoding, equal interval combined phase encoding, and complex amplitude modulation encoding.
[0085] The to-be-encoded data can be encoded by one of amplitude encoding, unequal interval combined phase encoding, equal interval combined phase encoding, and complex amplitude modulation encoding to generate corresponding two-dimensional encoding data pages.
[0086] In some embodiments, the two-dimensional encoding data page contains a data page flag.
[0087] The two-dimensional encoding data page is composed of a plurality of sub-data pages, wherein the data page flag is set in the two-dimensional encoding data, and the data page is positioned by the data page flag.
[0088] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of the present application, they do not limit the patent protection scope of the present application. Any equivalent structure or equivalent flow replacement or modification based on the essential concept of the present application, using the content described in the specification and drawings of the present application, and directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, etc., are all included in the patent protection scope of the present application.
Claims
1. A method for generating a two-dimensional coded data page, characterized by, Includes the following steps: The data to be encoded is used to generate several sub-data pages according to the encoding rules. The center of each sub-data page is marked with a positioning point. The positioning point includes a square pixel block composed of an odd number of pixels in length and width. The center of each pixel block is a first-color pixel. The center of the pixel block extends upward, downward, left, right, upper left, upper right, lower left, and lower right to form a star-shaped structure composed of second-color pixels. Except for the second-color pixels in the star-shaped structure, all other positions in the pixel block are first-color pixels. The first-color pixels are different from the second-color pixels. Combining several sub-data pages into a two-dimensional encoded data page; The method for generating two-dimensional encoded data pages specifically includes the following steps: The data to be encoded is converted into several data units according to the encoding rules; Generate a preset number of sub-data pages from data units; Confirm the size of the positioning marker to be generated at the center of the sub-data page; A positioning marker is generated at the center of the sub-data page based on the determined size.
2. The two-dimensional code data page generation method according to claim 1, characterized by, The first color pixel is a black pixel, and the second color pixel is a white pixel.
3. The two-dimensional code data page generation method according to claim 1, characterized by, The encoding rules include amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
4. The method of claim 1, wherein The two-dimensional coded data page includes a data page identifier.
5. A storage medium storing a computer program, characterized by The computer program, when executed by the processor, performs the following steps: The data to be encoded is used to generate several sub-data pages according to the encoding rules. Each sub-data page has a positioning marker at its center. The positioning marker includes a square pixel block composed of an odd number of pixels in length and width. The center of the pixel block is a first color pixel. The center of the pixel block extends upward, downward, left, right, upper left, upper right, lower left, and lower right to form a star-shaped structure composed of second color pixels. Except for the star-shaped structure, where the pixel block is composed of second color pixels, all other positions are composed of first color pixels. The first color pixels are different from the second color pixels. Combining several sub-data pages into a two-dimensional encoded data page; The method for generating two-dimensional encoded data pages specifically includes the following steps: The data to be encoded is converted into several data units according to the encoding rules; Generate a preset number of sub-data pages from data units; Confirm the size of the positioning marker to be generated at the center of the sub-data page; A positioning marker is generated at the center of the sub-data page based on the determined size.
6. The storage medium of claim 5, wherein, The first color pixel is a black pixel, and the second color pixel is a white pixel.
7. The storage medium of claim 5, wherein, The encoding rules include amplitude-type encoding, unequal-interval combined phase encoding, equal-interval combined phase encoding, and complex amplitude modulation encoding.
8. The storage medium of claim 5, wherein, The two-dimensional coded data page includes a data page identifier.