This application claims the benefit, under 35 U.S.C. §119 of European Patent Application No. 13305650.7, filed May 21, 2013.
The invention relates to a method and an apparatus for reading a data pattern from or storing a data pattern on a storage medium. More specifically, the invention relates to a method and an apparatus for reading a two-dimensional data pattern from or storing a two-dimensional data pattern on a storage medium, which allows to achieve a reduced error rate. The invention further relates to a storage medium suitable for such a method or apparatus for reading a data pattern.
Though today there exist a vast variety of solutions for digital data storage, there still is no reliable and accepted solution for long term archival of digital data. Nevertheless there clearly are needs to store digital data for long periods of time, e.g. digital movie data, but also medical data or contractual or client-related data of companies.
One possible solution for long term archival consists in storing the digital data on a two-dimensional surface, e.g. on film or paper. Typically the data are recorded in the form of two-dimensional data patterns consisting of an array of black and white pixels. However, also grey value or color coded pixel arrays are used.
More generally, the data are stored on a two-dimensional surface with pattern elements forming a regular pattern. A specific value is assigned to each element during an encoding process, e.g. a color, a grey value etc. If one pattern element shall store one bit, one of only two possible values is assigned to the pattern element, e.g. the values black and white. The easiest way of decoding the bit stored in a pattern element is to look at the element and to check its value, e.g. if the element is black or white. Unfortunately, due to interference with neighboring pattern elements, e.g. caused by the low pass characteristic of the reading channel, blurring, inter symbol interference, or other distortions like aging, the values of the retrieved pattern elements are often different from the originally stored pattern elements. For example, upon retrieval of the pattern elements the initial values “black” and “white” become “grey”. As a result it sometimes is rather difficult to reliably determine the initial values of the pattern elements.
It is an object of the present invention to propose an improved solution for reading digital data that are stored as an array of pattern elements as well as an improved solution for storing digital data as an array of pattern elements.
According to a first aspect of the invention, a method for reading a data pattern from a storage medium comprises the steps of:
Accordingly, an apparatus configured to read a data pattern from a storage medium comprises:
Also, a computer readable storage medium has stored therein instructions enabling reading a data pattern from a storage medium, which when executed by a computer, cause the computer to:
According to another aspect of the invention, a method for storing a data pattern on a storage medium comprises the steps of:
Accordingly, an apparatus configured to store a data pattern on a storage medium comprises:
Also, a computer readable storage medium has stored therein instructions enabling storing a data pattern on a storage medium, which when executed by a computer, cause the computer to:
According to yet another aspect of the invention, a storage medium comprises at least one data pattern and a test pattern comprising a plurality of test pattern elements.
The proposed solution is especially suitable for data patterns forming a two-dimensional array of pattern elements, each pattern element having one of two or more grey values or color values. Such arrays are sometimes referred to as “data pages”. It has been found that due to interference with neighboring pattern elements the values of the pattern elements retrieved from a storage medium, e.g. a film, are often different from the originally stored pattern elements. To address this problem a test pattern is provided on the storage medium, which includes a plurality of test pattern elements. Each test pattern element of the test pattern has a center element surrounded by some neighbor elements, e.g. all eight neighbors or four direct neighbors. One possibility is to store individual test pattern elements, i.e. individual blocks each comprising one center element and the necessary neighbors. The same test pattern element is preferably provided several times to allow some kind of averaging. Alternatively, the test pattern elements form a single two-dimensional array of pattern elements. This means that the different test pattern elements overlap, i.e. most pattern elements serve as center elements as well as neighbors for other center elements.
For decoding of a pattern element some or even all pattern elements around the one that shall be decoded are also taken into account. The decoder tries to find the initial value of the pattern element, or rather the bit assigned to this value, by creating a topology. Based on the appearance of the topology in comparison with the test pattern elements a decoding decision is taken.
With the proposed solution the decoding error rate is much less than by looking at the related pattern element values only. At the same time it is simpler to implement than other methods, which perform the decoding by relying on complex statistical models.
Advantageously, one of the data patterns stored on the storage medium serves as the test pattern. Generally error correction coding is used in data storage, e.g. FEC (FEC: Forward Error Correction) such as a Reed-Solomon block code. This error correction coding allows to omit a special test pattern as long as the number of reading errors is sufficiently small and the data can be decoded. In this case the data patterns are read and demodulated. The resulting demodulated data are error-corrected, e.g. with the help of a Reed-Solomon decoder. If this is successful, i.e. if the number of decoding errors is sufficiently small, the originally read data pattern can then be used for training, as the actual pattern stored on the storage medium is known from the error corrected data.
For a better understanding the invention shall now be explained in more detail in the following description with reference to the figures. It is understood that the invention is not limited to this exemplary embodiment and that specified features can also expediently be combined and/or modified without departing from the scope of the present invention as defined in the appended claims. In the figures:
In the following the invention is explained with reference to a two-dimensional array of black and white pixels. Of course, the invention is likewise applicable to pixels with different grey values or different colors, i.e. to coding schemes resulting in more than one bit per pixel.
Data are stored by creating two-dimensional patterns that are written to a surface or a layer of a storage medium. These patterns consist of pattern elements, which are ordered in a specific way, e.g. as a chequerboard or honeycomb pattern. Each pattern element is used to store digital data. Depending on the number of bits that shall be stored by one element, the pattern element must be able to represent a corresponding number of values. As an example, if one bit shall be stored per pattern element, the pattern element must be able to assume two different values, e.g. “black” and “white”. If it shall store three bits, it must be able to assume eight different values, e.g. eight different grey values or eight different colors.
Additional distortions will typically occur, e.g. due to scratches and dirt. Such distortions can also arise due to the used channel, which is an abstraction for the influence of the printing process, the ageing of the material and the scanning process. Especially if the size of one pattern element is very small, which is generally required to store a big amount of data, the problem of interference between the single pattern elements arises.
In order to cope with the above problems, the solution according to the invention makes use of a test pattern recorded on the storage medium. The test pattern consists of a deterministic pseudo random distribution of test pattern elements. This ensures that the distribution of printed values is known during an initial learning phase.
An example how overlapping test pattern elements 5, 5′ form a two-dimensional array is illustrated in
A corresponding apparatus 20 is shown in
A method according to the invention for writing a data pattern to a storage medium is schematically shown in
A corresponding apparatus 40 is depicted in
In other words, using the test pattern for training, for each possible input combination, i.e. the center pattern element and the satellite pattern elements containing all possible input values according to the bit depth that shall be used, the related values of the pattern elements on the decoding side are measured. This is preferably repeated several times, i.e. as often as a test pattern element is present in the test pattern. In this way for each input combination a plurality of groups of measured values are obtained. In the example presented before, i.e. each pattern element having two possible values and considering the eight neighbor pattern elements, there are 512 sets of groups consisting of nine values. Each group represents a topology.
In the following for all sets of groups one representative group is calculated. After taking 57 a first set of groups one representative for all the groups of the set is calculated 58, e.g. by computing the mean values of the set's group elements, which represents the typical decoding side values for this combination. The representative group replaces 59 the groups of this set. It is then checked 60 whether further sets need to be processed. If this is the case, the next set of groups is taken 61 and the calculation is repeated. This is repeated until all sets of groups have been processed, in which case the training step ends 62.
After the training 11, the decoding 13 is started. The steps performed during decoding 13 are shown in more detail in
When decoding of a pattern element is started 70, this pattern element is considered 71 as the center pattern element. For this pattern element and the related satellite pattern elements the group of values at the decoding side is determined 72. The measured values of the pattern elements are then put 73 into a group. The values of this group are compared 74 with all groups determined during the training using a specific comparison algorithm, e.g. minimum mean square distance. The best matching group of values is assumed to be the right one that leads to the decoding side signal. The source bits assigned to the center pattern element of the best matching group are taken 75 as decoded bits. This method is repeated 76, 77, 78 until all pattern elements have been decoded.
The above description explains the basic algorithm. Of course, this algorithm may be modified depending on the actual implementation. For example, in the discussed example each pattern element encodes one bit. The same algorithm can be used for higher modulations, which leads to larger sets of groups. Also, instead of calculating the mean square difference for comparing the values of the measured group with the training groups, other algorithms are also possible. Especially weighting the distance between the center pattern element values more than the distances between the satellite pattern elements can lead to better results. Another modification consists in not automatically choosing the best matching group for decoding, but to determine a number of “n” best matching groups. A majority decision based on the bits assigned to the center pattern elements of the groups may then be performed. Finally, it is not mandatory to represent all groups of a set m by only one group. If the topologies represented by the groups differ a lot, it might be advantageous to calculate several groups representing the input values of the set of groups.
Number | Date | Country | Kind |
---|---|---|---|
13305650 | May 2013 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
5550362 | Sherman | Aug 1996 | A |
5850080 | Herzig | Dec 1998 | A |
7907496 | Hashimoto et al. | Mar 2011 | B2 |
7957248 | Choi et al. | Jun 2011 | B2 |
8041123 | Hashimoto et al. | Oct 2011 | B2 |
20060043189 | Agrawal et al. | Mar 2006 | A1 |
20080175127 | Liedenbaum et al. | Jul 2008 | A1 |
20080247010 | Ogasawara et al. | Oct 2008 | A1 |
20100061640 | Chen et al. | Mar 2010 | A1 |
20120281514 | Ayres et al. | Nov 2012 | A1 |
Number | Date | Country |
---|---|---|
2393038 | Dec 2011 | EP |
Entry |
---|
The Science and Technology Council: “The Digital Dilemma” Strategic Issues in Archiving and Accessing Digital Motion Picture Materials, 2007, pp. 1-84. |
Search Report Dated Oct. 2, 2013. |
Number | Date | Country | |
---|---|---|---|
20140346234 A1 | Nov 2014 | US |