Information
-
Patent Application
-
20030169666
-
Publication Number
20030169666
-
Date Filed
March 06, 200321 years ago
-
Date Published
September 11, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A method of generating an efficient sequence of “nm+m−1” level random numbers, each sub-sequence of “m” successive random numbers thereof having a different pattern, including the steps of generating a sequence of n-level random numbers based on an initial value, a number being generated at a time, determining whether a pattern of a sub-sequence is “used”, if the pattern of the sub-sequence is “used”, setting a different value to the initial value, if the pattern of the sub-sequence is not “used”, accepting the newly generated number and marking the pattern as “used”. All of the steps are repeated until all of “nm” patterns are exhausted. Since the newly generated number is rejected if the pattern of the sub-sequence is “used”, the sequence becomes the shortest one of which all of “nm” patterns are exhausted.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The present invention generally relates to an information recording medium, and more particularly, to an information recording medium that stores an efficient sequence of multi-level random numbers as reference data, a method of generating the efficient sequence of multi-level random numbers, and a computer program for generating the efficient sequence of multi-level random numbers.
[0003] 2. Description of the Related Art
[0004] Optical disk recording apparatuses that can store multi-level data in optical disks are developed. Reference data are sometimes stored in such an optical disk so that the optical disk recording apparatus can calibrate the write strategy and accurately reproduce multi-level data stored in the optical disk.
[0005] For example, in the case where each random number is 8-level number and three successive random numbers are considered as a sub-sequence, there are 512 (=83) different patterns. At least 514 (=83+3−1) random numbers are required to exhaust all of 512 patterns.
[0006] There are many methods to generate a sequence of multi-level random numbers. International Laid-open Patent Application WO01/57857 A1, for example, discloses a method of generating such reference data using a shift register circuit that generates 9-bit maximum-length sequences to calibrate the write strategy of an optical disk recording apparatus. This method can generate a sequence of 8-level random numbers by converting each 9-bit data randomly generated by the shift register circuit into three 3-bit data random numbers. The sequence thus generated can exhaust all of 512 patterns, but it is redundant as it will be described later.
[0007] On the other hand, the reference data are also used to reproduce actual multi-level data recorded on an optical disk using pattern recognition method. In this case, the optical disk recording apparatus reproduces the reference data and prepares a table of reproduced signal values. When actual multi-level data stored on the optical disk are reproduced, a signal value reproduced from the actual multi-level data is compared with that of the reference data using the table. The optical disk recording apparatus determines and outputs the pattern of the table of which the reproduced signal value best matches that of the reproduced actual data.
[0008] However, in the case of the former conventional art, the sequence includes 512×3=1,536 random numbers. 512 subsequences (each consisting of three consecutive random numbers) can exhaust all of 512 random patterns (of subsequences). However, if three consecutive random numbers starting with the second or third random number of each subsequence are taken into consideration too, the patterns of the three consecutive random numbers appear more than once. Therefore, the sequence of 1,536 random numbers is redundant. Additionally, since the technique uses the shift register circuit for generating maximum-length sequences, the number of multi-levels is limited to the powers of 2 such as 4, 8, and 16.
[0009] In the case of the latter conventional art, the redundancy in the reference data also matters. Additionally, because the reference data are not random enough, the reproduced signal may include a particular frequency element that affects the performance of servo mechanism of the optical disk recording apparatus.
SUMMARY OF THE INVENTION
[0010] Accordingly, it is a general object of the present invention to provide a novel and useful method of generating a efficient (shortest) sequence of multi-level random numbers, and more particularly, to provide a method of generating a efficient (shortest) sequence of multi-level random numbers in which all patterns of subsequences appear only once but the number of multi-levels is not limited to the powers of 2.
[0011] Another object of the present invention is to provide an information recording medium in which the efficient (shortest) sequence of multi-level random numbers is stored as reference data.
[0012] To achieve one of the above objects, a method of generating a efficient sequence of “nm+m−1” n-level random numbers, each subsequence of “m” successive random numbers thereof having a different pattern, according to the present invention includes the steps of generating a sequence of n-level random numbers based on an initial value, a number being generated at a time, determining whether a pattern of a sub-sequence of “m” successive random numbers including the newly generated number and “m−1” preceding numbers in an order of the generation thereof is “used”, if said pattern of said sub-sequence is “used”, setting a different value to said initial value, if said pattern of said sub-sequence is not “used”, accepting the newly generated number and marking said pattern as “used”, and wherein all of the steps are repeated until all of “nm” patterns of said sub-sequences of “m” successive random numbers are exhausted.
[0013] Since the newly generated number is rejected if the pattern of a sub-sequence of “m” successive random numbers is “used”, the sequence obtained using this method becomes the shortest sequence that includes “nm+m−1” n-level random numbers of which all of “nm” patterns of the subsequences are. exhausted.
[0014] Other objects, features, and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawing.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
FIG. 1 is a flow chart showing an algorism of a method of generating an efficient sequence of multi-level random numbers according to an embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Preferred embodiments of the present invention will be described by reference to the drawing.
[0017]
FIG. 1 is a flow chart showing an algorithm of a method of generating an efficient (shortest) sequence of multi-level random numbers according to an embodiment of the present invention. This algorithm is performable by a computer.
[0018] In the following detailed description, only a case where n=8 and m=3 will be described. The “n” and “m”, however, are not limited to these values, and any positive integers may be set at “n” and “m”.
[0019] For example, a random number generation function (a library of C compiler) is used to generate a pseudo-random number from 0 to 32767 (=215−1). Using this random number generation function, 8-level random numbers (0-7) can be generated.
[0020] A predetermined initial value of the random number generation function is given to the CPU of the computer so that it generates 8-level random numbers (step S1).
[0021] Three random numbers (0-7) are generated successively as the first subsequence of random numbers, and the three random numbers are immediately accepted as numbers of the efficient sequence (step S2).
[0022] As described above, in the case of three 8-level random numbers constitute a subsequence and the order of the random numbers is taken into consideration, there are 83=512 patterns in total. The pattern corresponding to the subsequence is marked as “used”(step S3).
[0023] Another random number (0-7) is generated as a next candidate of a number of the efficient sequence (step S4).
[0024] The second and third random numbers in the preceding subsequence and the random number generated in step S4 form a new subsequence. Whether a pattern corresponding to the new subsequence is marked as “used” is determined (step S5).
[0025] If the pattern corresponding to the new subsequence is already marked as “used”, a different value is given to the random number generation function (a library of C compiler) as the initial value (step S10). The computer returns to step S2 and repeats the above steps.
[0026] If the pattern corresponding to the new subsequence is not yet marked as “used”, the random number generated in step S4 is accepted as a new number of the efficient sequence (step S6).
[0027] The pattern corresponding to the new subsequence is marked as “used” (step S7).
[0028] Whether all of 512 patterns are marked as “used” is determined (step S8).
[0029] If there remain patterns that are not marked as “used”, the computer returns to step S4 and repeats the above steps.
[0030] If all of 512 patterns are already marked as “used”, the computer stops generating a random number and outputs the efficient sequence consisting of 514 (=83+3−1) 8-level random numbers (step S9) Then, the computer exits the process showed in FIG. 1.
[0031] According to the above algorithm, 8-level random numbers ranging 0-7 are generated one by one and arranged in the order of generation. An ordered set including two preceding random numbers as the first and second numbers in the order of generation thereof and a newly generated random number as the third and last number is considered as a subsequence of random numbers.
[0032] For example, the first subsequence includes the first, second, and third random numbers; the second subsequence includes the second, third, and fourth random numbers; and the third subsequence includes the third, fourth, and fifth random numbers.
[0033] The newly generated random number is accepted as a new number of the efficient sequence, and the pattern corresponding to the subsequence is marked as “used” unless the pattern is already marked as “used”. There are 512 (=83) patterns in total.
[0034] Once a pattern that is already marked as “used” appears, the newly generated random number is abandoned, and the initial value of the random number generation function is changed to a different value.
[0035] Using the new initial value, the above steps are repeated until all of 512 patterns are exhausted, and the total number of random numbers accepted as numbers of the efficient sequence reaches 514 (=83+3−1). The 514 random numbers is the shortest sequence in which each pattern of a subsequence appears only once.
[0036] In the case where three random numbers “7”, “5”, and “6” are generated in this order, for example, “756” becomes the first subsequence. The pattern “756” is marked as “used”.
[0037] Then, the forth random number, “2”, is generated, for example. “562” becomes the second subsequence. Since the pattern “562” is not yet marked as “used”, the fourth random number “2” is accepted as a new number of the efficient (shortest) sequence. The pattern “562” is marked as “used”.
[0038] Likewise, another random number is generated, and a new subsequence including the last two accepted random numbers and the newly generated random number is formed. Whether the pattern corresponding to the new subsequence is already marked as “used” is determined. If the pattern is not yet marked as “used”, the newly generated random number is accepted as a new number of the efficient (shortest) sequence. Then, the pattern corresponding to the new subsequence is marked as “used”.
[0039] If the pattern corresponding to the new subsequence is already marked as “used”, the newly generated random number and those that will be generated by the random number generation function based on the initial value are abandoned. The initial value is changed so that the function generates a new sequence of random numbers, and the above steps are repeated.
[0040] Whether all 512 patterns are marked as “used” is determined. If there still remain patterns that are not marked as “used”, the computer generates the next random number (0-7), and determines whether the next random number can be accepted as a number of the efficient sequence.
[0041] If the same pattern does not appear twice or more and all the 512 patterns are marked as “used”, the sequence generated by the computer becomes the efficient (shortest) sequence includes 514 random numbers where a pattern corresponding to each subsequence including three successive random numbers starting every (first) random number appears only once.
[0042] Then, the computer outputs the efficient sequence and exits the process.
[0043] Here are some examples of the efficient (shortest) sequence generated based on the method according to the embodiment of the present invention.
FIRST EXAMPLE
[0044] 756266331054343327727165666255236545
[0045] 073542352536273025147201013476353560
[0046] 405270161333457544314670615746205330
[0047] 563647416644407760504712143211456167
[0048] 737241406657745304367326320761771540
[0049] 122655323014156743506233606300355711
[0050] 363421037130714461024650516021621734
[0051] 031637502740225413221531311551710442
[0052] 624410672220232564116425015112614276
[0053] 526017213570267174736117515200111075
[0054] 762237312033510070550006034452243065
[0055] 125733764600572643744704240045477700
[0056] 206404631503032451370366074227231707
[0057] 252123412475565346455546676612752420
[0058] 4176753775
SECOND EXAMPLE
[0059] 440570612362311470240053554141003033
[0060] 704064153222075267674034477221561151
[0061] 662065642712525063637340202657540430
[0062] 545342324520013615052765244645720327
[0063] 431654613742140173007161741677537501
[0064] 445625131241227567261606653171351062
[0065] 701521626046307455035422632016346022
[0066] 371112056036605576471700255650230451
[0067] 217514243573157145006073600047614667
[0068] 037773566102127321330675746715551543
[0069] 454413433523411301105117272353673332
[0070] 666462116443655225774755336407663103
[0071] 143724264323347256350705041763313253
[0072] 027707762473760126224651771010721044
[0073] 4204254744
THIRD EXAMPLE
[0074] 257477715645427304767444160212202606
[0075] 700175064722555457037561201675115404
[0076] 371214242341002271110534710364006031
[0077] 075334311451044056351237704621643501
[0078] 374177546717245302752622130035575535
[0079] 373677270514155205445210204267376276
[0080] 607401572076327456641165560101131357
[0081] 742033061332062005507266171326117066
[0082] 337215162475732173403455134436250301
[0083] 470124616361463032305716106532524023
[0084] 363166527232413654746422360450244605
[0085] 052264650414473174322243331406370714
[0086] 342541277657644211251761531265150007
[0087] 354307733565626346662352315256760040
[0088] 7025366725
[0089] As showed in the above examples, each pattern of subsequence (three successive random numbers) appears only once. Accordingly, these sequences are not redundant, and are efficient and the shortest.
[0090] Next, an information recording medium in which the above efficient sequence of multi-level random numbers is stored therein will be described. The information recording medium stores therein a sequence of “nm+m−1” n-level (an integer, n≧2) random numbers in which, among nm different patterns, each pattern of “m”(an integer, m≧2) successive random numbers appears only once.
[0091] In the following detailed description, an optical disk is described as an embodiment of the information recording medium. However, it is noted that the present invention may be applied to any information recording medium other than the optical disk.
[0092] The efficient sequence of multi-level random numbers stored in an optical disk can be reproduced as reference data to provide a table that is used for pattern recognition.
[0093] The position in the recording region of the optical disk in which the efficient sequence of multi-level random numbers are stored as reference data will be described.
[0094] (1) In the case where the efficient sequence of multi-level random numbers is stored at inner radius of the recording region of the optical disk
[0095] In many cases, an optical disk drive starts reading and writing from the inner radius. Since the inner radius of the optical disk is less vulnerable to bending and distortion of the optical disk, reading and writing operation at the inner radius is relatively more stable than that at the outer radius. Accordingly, if the efficient sequence is stored at the inner radius in the recording region of the optical disk, it is possible to provide a reliable table. Because this table needs to be provided at the initial stage of a reading operation, if the efficient sequence is stored at the inner radius, the distance for which the optical pickup of the optical disk drive needs to move in the radial direction can be reduced. Accordingly, the time required to start the reading operation can be reduced.
[0096] As described above, because the efficient sequence of multi-level random numbers is stored at the inner radius of the optical disk, the reference data are not affected by the bending and distortion of the optical disk, and as a result, the table becomes reliable. Additionally, since the distance for which the optical pickup of the optical disk drive needs to move in the radial direction is reduced, the time required to initialize the reading operation can be reduced.
[0097] (2) In the case where the efficient sequence of multi-level random numbers is stored at both inner radius and outer radius of the recording region of the optical disk.
[0098] The signal reproduced by the optical disk drive depends on the position where the optical disk is accessing due to spatial dispersion of recording material provided on the optical disk. The quality of signal from the inner radius and the outer radius sometimes change. Accordingly, it is beneficial to store the reference data at both the inner radius and the outer radius and prepare the table by averaging the signals obtained from the inner radius and the outer radius.
[0099] As described above, since the efficient sequence (reference data) is stored at both the inner radius and the outer radius, it is possible to provide a table that reflects the spatial change in the reproduction signal depending on the position in the recording region and improve the reliability of reproduced actual data.
[0100] (3) In the case where the efficient sequence is stored at the inner radius, the middle radius, and the outer radius in the recording region of the optical disk
[0101] The table obtained based on the reference data stored at the middle radius is used to reproduce the actual data stored between the inner radius and the middle radius. The table obtained based on the reference data stored at the inner radius and the outer radius is used to reproduce the actual data stored between the middle radius and the outer radius.
[0102] In order to reflect the change in signal depending on the position in the recording region, it is beneficial to provide reference data at the middle radius and generate the table by averaging the reproduced signal values obtained from the reference data at the middle radius and the reference data at the outer radius.
[0103] As described above, there are reference data stored in the inner radius, in the middle radius, and in the outer radius in the recording region on the optical disk, the change in the signal depending on the position in the recording region is reflected more accurately.
[0104] (4) In the case where the efficient sequences is stored at the inner radius, at the outer radius, and at plural positions between the inner radius and the outer radius provided in the recording region of the optical disk, each position being spaced from one another by a predetermined distance
[0105] The table obtained based on the reference data of the inner radius is used to reproduce the actual data stored in the recording region from the inner radius on the way to the middle radius; the table obtained based on the reference data of the middle radius is used to reproduce the actual data stored in the recording region in which the middle radius is included; and the table obtained based on the reference data of the outer radius is used to reproduce the actual data stored in the recording region outer than the recording region in which the middle radius is included.
[0106] It is beneficial to divide the recording region of the optical disk into plural donut-shaped recording regions and record the efficient sequence as reference data in each donut-shaped recording region so that a table can be generated for each donut-shaped recording region for accurate reproduction of actual data.
[0107] If the efficient sequence is stored at the inner radius, at the outer radius, and at plural positions between the inner radius and the outer radius provided in the recording region of the optical disk, each spaced from one another by a predetermined distance, the change in reproduced signal depending on the position can be reflected to the table more precisely.
[0108] (5) In the case where the efficient sequence is stored in every track making a circuit of the optical disk
[0109] The efficient sequence (reference data) may be recorded in every track making a circuit of the optical disk so that the change in reproduced signal can be reflected to the table more precisely.
[0110] (6) In the case where the efficient sequence is attached to each of predetermined amount of actual data and recorded in the recording region of the optical disk
[0111] The efficient sequence may be attached to each of predetermined amount of actual data and recorded in the recording region of the optical disk as reference data. For example, the reference data may be recorded in each sector with actual data of 32 KB and error detection and/or error correction codes. In the case where actual data are stored by a sector as the unit in an optical disk using plural optical disk drives, the actual data thus recorded with the reference data can be reproduced without problem by any optical disk drive.
[0112] In summary, as described above, the method according to an embodiment of the present invention can generate an efficient sequence of multi-level random numbers that includes the fewest random numbers in which subsequences exhaust all patterns and the value of each random number is not limited to the powers of 2.
[0113] The preferred embodiments of the present invention are described above. The present invention is not limited to these embodiments, but various variations and modifications may be made without departing from the scope of the present invention.
[0114] This patent application is based on Japanese priority patent applications No. 2002-063725 filed on Mar. 8, 2002, and No. 2003-023217 file on Jan. 31, 2003, the entire contents of which are hereby incorporated by reference.
Claims
- 1. A method of generating an efficient sequence of “nm+m−1” n-level random numbers, each sub-sequence of “m” successive random numbers thereof having a different pattern, comprising the steps of:
generating a sequence of n-level random numbers based on an initial value, a number being generated at a time; determining whether a pattern of a sub-sequence of “m” successive random numbers including the newly generated number and “m−1” preceding numbers in an order of the generation thereof is “used”; if said pattern of said sub-sequence is “used”, setting a different value to said initial value; if said pattern of said sub-sequence is not “used”, accepting the newly generated number and marking said pattern as “used”; and wherein all of the steps are repeated until all of “nm” patterns of said sub-sequences of “m” successive random numbers are exhausted.
- 2. A computer program that causes a computer to generate an efficient sequence of “nm+m−1” n-level random numbers, each sub-sequence of “m” successive random numbers thereof having a different pattern, comprising the steps of:
generating a sequence of n-level random numbers based on an initial value, a number being generated at a time; determining whether a pattern of a subsequence of “m” successive random numbers including the newly generated number and “m−1” preceding numbers in an order of the generation thereof is “used”; if said pattern of said sub-sequence is “used”, setting a different value to said initial value; if said pattern of said sub-sequence is not “used”, accepting the newly generated number and marking said pattern as “used”; and wherein all of the steps are repeated until all of “nm” patterns of said sub-sequences of “m” successive random numbers are exhausted.
- 3. A computer readable recording medium in which the computer program as claimed in claim 2 is stored.
- 4. An information recording medium, wherein the efficient sequence of “nm+m−1” n-level random numbers, each sub-sequence of “m” successive random numbers thereof having a different pattern as claimed in claim 1 is recorded as data in a disk-shaped recording region of an information recording medium.
- 5. The information recording medium as claimed in claim 4, wherein the efficient sequence is recorded at an inner radius of said disk-shaped recording region.
- 6. The information recording medium as claimed in claim 4, wherein the efficient sequence is recorded at an inner radius and an outer radius of said disk-shaped recording region.
- 7. The information recording medium as claimed in claim 4, wherein the efficient sequence is recorded at an inner radius, a middle radius, and an outer radius of said disk-shaped recording region.
- 8. The information recording medium as claimed in claim 4, wherein the efficient sequence is recorded at an inner radius, an outer radius, and at plural positions between said inner radius and said outer radius, each position being equally distant from one another, of said disk-shaped recording region.
- 9. The information recording medium as claimed in claim 4, wherein the efficient sequence is recorded in every track making a circuit of said disk-shaped recording region.
- 10. The information recording medium as claimed in claim 4, wherein the efficient sequence is attached to each of predetermined amount of actual data and recorded in said disk-shaped recording region of said information recording apparatus.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2002-063725 |
Mar 2002 |
JP |
|
2003-023217 |
Jan 2003 |
JP |
|