[go: up one dir, main page]

CN100550139C - Method for backing up data to optical storage medium - Google Patents

Method for backing up data to optical storage medium Download PDF

Info

Publication number
CN100550139C
CN100550139C CNB2005100836442A CN200510083644A CN100550139C CN 100550139 C CN100550139 C CN 100550139C CN B2005100836442 A CNB2005100836442 A CN B2005100836442A CN 200510083644 A CN200510083644 A CN 200510083644A CN 100550139 C CN100550139 C CN 100550139C
Authority
CN
China
Prior art keywords
data
storage medium
equivalent
optical storage
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100836442A
Other languages
Chinese (zh)
Other versions
CN1897121A (en
Inventor
陈建志
梁家泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lite On Technology Changzhou Co Ltd
Lite On Technology Corp
Original Assignee
Lite On Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lite On Technology Corp filed Critical Lite On Technology Corp
Priority to CNB2005100836442A priority Critical patent/CN100550139C/en
Publication of CN1897121A publication Critical patent/CN1897121A/en
Application granted granted Critical
Publication of CN100550139C publication Critical patent/CN100550139C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Recording Or Reproduction (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A method for backing up data to an optical storage medium, the optical storage medium comprising N equal sectors, the method comprising: storing the data to be backed up into N-1 equal sectors of the optical storage medium; (b) performing an exclusive or (XOR) operation on the backup data to generate a check data; and (c) storing the check data in the equivalent sector not stored in step .

Description

备份数据至光储存介质的方法 Method for backing up data to optical storage medium

技术领域 technical field

本发明涉及一种备份数据至一光储存介质的方法,特别是涉及一种具有数据错误回复机制的备份数据至一光储存介质的方法。The invention relates to a method for backing up data to an optical storage medium, in particular to a method for backing up data to an optical storage medium with a data error recovery mechanism.

背景技术 Background technique

光盘片以其低廉的价格、轻巧的体积与重量,却能储存大量的数据数据,已成为现代信息社会使用最普遍的数据储存介质之一。尤其是可写入式光盘片的研发,让使用者能按照个人的需要将个人专属的数据写入至光盘片中,也使光盘片成为最重要的可携式个人储存介质之一。因此如何使可写式光盘片数据存取更可靠、效率更高,也成为现代信息产业研发的重点。Due to its low price, light size and weight, it can store a large amount of data, and has become one of the most commonly used data storage media in the modern information society. In particular, the development of writable optical discs allows users to write personal data into optical discs according to individual needs, making optical discs one of the most important portable personal storage media. Therefore, how to make the data access of the writable optical disc more reliable and more efficient has also become the focus of research and development in the modern information industry.

光盘片上的数据要以光驱来存取。请参阅图1,图1为现有一光驱10用来存取一光盘片22的功能方块图。光驱10中设有一承载台14、一用来带动承载台14转动的马达12、一用来存取光盘片22所储存数据的读写头16、用来控制光驱10操作的控制电路18,以及一存储器20,其可为易失性的随机存取存储器,用来暂存控制电路18运作期间所需的数据。光盘片22上则设有用来记录数据的轨迹24。当光盘片22放置于承载台14后,马达12就能带动光盘片22转动,而光盘片22上的轨迹24就会随着光盘片22转动而掠过读写头16前,使控制电路18可通过读写头16存取轨迹24上的数据。至于控制电路18本身,则是根据一主机(host)26的控制以存取光盘片22上的数据。主机26可以是个人计算机等的计算机系统。The data on the optical disc should be accessed by the optical drive. Please refer to FIG. 1 . FIG. 1 is a functional block diagram of a conventional optical drive 10 for accessing an optical disc 22 . The optical drive 10 is provided with a carrying platform 14, a motor 12 for driving the carrying platform 14 to rotate, a read/write head 16 for accessing the data stored in the optical disc 22, a control circuit 18 for controlling the operation of the optical drive 10, and A memory 20, which can be a volatile random access memory, is used to temporarily store data required by the control circuit 18 during operation. The optical disc 22 is provided with a track 24 for recording data. When the optical disc 22 is placed on the carrier 14, the motor 12 can drive the optical disc 22 to rotate, and the track 24 on the optical disc 22 will pass over the front of the read-write head 16 as the optical disc 22 rotates, so that the control circuit 18 Data on the track 24 can be accessed by the read/write head 16 . As for the control circuit 18 itself, it accesses the data on the optical disk 22 according to the control of a host (host) 26 . The host computer 26 may be a computer system such as a personal computer.

而光盘片22的型态有很多种规格,例如有CD-R、CD-RW、DVD-R/RW、DVD+R/RW与DVD-RAM等规格,而自从数字多用途光盘(DVD,DigitalVersatile Disc)的技术发展以来,其远超过一般光盘片的数据储存容量与密度,已经使数字多用途光盘成为信息产业最重视的储存介质之一。数字多用途光盘约具有4.7GB到17GB的储存容量,可提供使用者轻松的放入大量高品质的影音(Video/Audio)数据以及备份个人重要的数据。但是它的脆弱性与一般CD盘片不遑多让,尤其是数字多用途光盘的容量是CD的7倍以上,只要轻轻一刮,就可能使大部份的心血与回忆一瞬间付诸东流。如图1所示,当光盘片22上的轨迹24受到刮伤毁损时,读写头16便无法正常地存取轨迹24上的数据,如此一来便造成光盘片22储存数据的毁损。And the type of disc 22 has many kinds of specifications, for example there are specifications such as CD-R, CD-RW, DVD-R/RW, DVD+R/RW and DVD-RAM, and since digital versatile disc (DVD, DigitalVersatile Since the development of Disc technology, it has far exceeded the data storage capacity and density of ordinary optical discs, and has made digital versatile discs one of the most important storage media in the information industry. The digital multi-purpose disc has a storage capacity of about 4.7GB to 17GB, which can provide users with easy storage of a large amount of high-quality audio and video (Video/Audio) data and backup of personal important data. But its fragility is comparable to that of ordinary CD discs, especially the capacity of digital multi-purpose discs is more than 7 times that of CDs. Just a light scrape may wipe out most of the hard work and memories in an instant. As shown in FIG. 1 , when the track 24 on the optical disc 22 is scratched and damaged, the read/write head 16 cannot normally access the data on the track 24 , thus causing damage to the data stored in the optical disc 22 .

然而目前在使用光盘片22烧录数据时,往往用不到全部的储存空间,但是却常常因为光盘片22的刮伤,而导致许多重要数据的损毁。这时候再来后悔数据忘了备份,就已经是来不及了。但即使如此,还是很少会有人去重复烧录相同的盘片以作为备份。故如何利用数字多用途光盘高储存容量的特性而能于烧录数据的同时顺便建立数据错误回复机制,便成为现今数据储存技术所需努力的重要课题。However, when using the optical disc 22 to burn data at present, the entire storage space is often not used, but the scratches of the optical disc 22 often result in the damage of many important data. At this time, if you regret that you forgot to back up your data, it will be too late. But even so, few people will burn the same disc repeatedly as a backup. Therefore, how to take advantage of the high storage capacity of the digital versatile disc to create a data error recovery mechanism while burning data has become an important issue in today's data storage technology.

发明内容 Contents of the invention

本发明提供了一种具有数据错误回复机制的备份数据至一光储存介质的方法,以解决上述的问题。The present invention provides a method for backing up data to an optical storage medium with a data error recovery mechanism to solve the above problems.

根据本发明的一种备份数据至一光储存介质的方法,该光储存介质包含有多个环形储存区域,每个环形储存区域具有N个等量扇区,该方法包含有下列步骤:According to a method for backing up data to an optical storage medium of the present invention, the optical storage medium includes a plurality of ring storage areas, each ring storage area has N equivalent sectors, and the method includes the following steps:

对于其中一个环形储存区域,For one of the ring storage areas,

(a)将欲备份的数据分为N-1份并分别储存至该环形储存区域的N-1个等量扇区中;(a) Divide the data to be backed up into N-1 parts and store them in N-1 equivalent sectors of the ring storage area;

(b)针对该N-1份备份数据中的每份备份数据中的相对应的位值数据进行异或运算以产生一检查数据;以及(b) performing an XOR operation on the corresponding bit value data in each of the N-1 backup data to generate a check data; and

(c)将该检查数据储存至于步骤(a)中尚未被储存的等量扇区;(c) storing the inspection data in an equivalent sector that has not been stored in step (a);

对于另一环形储存区域,For another ring storage area,

(d)重复步骤(a)和(b),并且将该检查数据储存至于所述另一环形储存区域中尚未被储存的等量扇区,其中所述另一环形储存区域中储存检查数据的该等量扇区与步骤(c)中储存检查数据的所述等量扇区不在光储存介质的相同径向上;以及(d) Repeat steps (a) and (b), and store the inspection data in an equivalent number of sectors that have not yet been stored in the another ring storage area, wherein the inspection data is stored in the another ring storage area The equivalent sector is not on the same radial direction of the optical storage medium as the equivalent sector storing the inspection data in step (c); and

对于其余环形储存区域,For the rest of the ring storage area,

重复步骤(d)。Repeat step (d).

本发明还披露了一种一种备份数据至一光储存介质的设备,该光储存介质包含有多个环形储存区域,每个环形储存区域具有N个等量扇区,该设备包含:The present invention also discloses a device for backing up data to an optical storage medium, the optical storage medium contains multiple ring storage areas, each ring storage area has N equal sectors, the device includes:

读写头;read-write head;

控制电路,用于控制该设备的存取操作,其中control circuit for controlling the access operation of the device, wherein

所述控制控制读写头通过执行以下操作步骤来将数据备份到光储存介质:The control controls the read-write head to back up data to the optical storage medium by performing the following steps:

对于其中一个环形储存区域,For one of the ring storage areas,

(a)将N-1份欲备份的数据分为N-1份并分别储存至该环形储存区域的N-1个等量扇区中;(a) Divide N-1 data to be backed up into N-1 parts and store them in N-1 equivalent sectors of the ring storage area;

(b)对针对该N-1份备份数据针对中的每份备份数据中的相对应的位值数据进行异或运算以产生一检查数据;以及(b) performing an XOR operation on the corresponding bit value data in each backup data for the N-1 backup data pairs to generate a check data; and

(c)将该检查数据储存至于步骤(a)中尚未被储存的等量扇区,(c) storing the inspection data in an equivalent number of sectors that have not been stored in step (a),

对于另一环形储存区域,For another ring storage area,

(d)重复步骤(a)和(b),并且将该检查数据储存至于所述另一环形储存区域中尚未被储存的等量扇区,其中所述另一环形储存区域中储存检查数据的该等量扇区与步骤(c)中储存检查数据的所述等量扇区不在光储存介质的相同径向上;以及(d) Repeat steps (a) and (b), and store the inspection data in an equivalent number of sectors that have not yet been stored in the another ring storage area, wherein the inspection data is stored in the another ring storage area The equivalent sector is not on the same radial direction of the optical storage medium as the equivalent sector storing the inspection data in step (c); and

对于其余环形储存区域,For the rest of the ring storage area,

重复步骤(d)。Repeat step (d).

附图说明 Description of drawings

图1为现有光驱用来存取光盘片的功能方块图。FIG. 1 is a functional block diagram of an existing optical drive for accessing optical discs.

图2为本发明光驱用来存取光储存介质的功能方块图。FIG. 2 is a functional block diagram of the optical drive of the present invention for accessing optical storage media.

图3为本发明光储存介质的扇区分配示意图。FIG. 3 is a schematic diagram of sector allocation of the optical storage medium of the present invention.

图4为本发明计算机系统由第一储存装置传输数据至第二储存装置的流程图。4 is a flow chart of the computer system of the present invention transferring data from the first storage device to the second storage device.

图5为3个位进行异或运算的真值表。Fig. 5 is the truth table of 3 bit XOR operation.

附图符号说明Description of reference symbols

10光驱      12马达10 optical drives 12 motors

14承载台    16读写头14 carrying platform 16 read and write head

18控制电路          20存储器18 control circuit 20 memory

22光盘片            24轨迹22 discs 24 tracks

26主机              50光驱26 hosts 50 optical drives

52马达              54承载台52 Motor 54 Carrying table

56读写头            58控制电路56 read-write head 58 control circuit

60存储器            62光储存介质60 memory 62 optical storage medium

64轨迹              66主机64 tracks 66 hosts

68a、68b、68c、68d区块Blocks 68a, 68b, 68c, 68d

70a、70b、70c、70d第一等量扇区70a, 70b, 70c, 70d first equivalent sector

72a、72b、72c、72d第二等量扇区72a, 72b, 72c, 72d second equivalent sectors

74a、74b、74c、74d第三等量扇区74a, 74b, 74c, 74d third equivalent sector

76a、76b、76c、76d数据区块76a, 76b, 76c, 76d data blocks

具体实施方式 Detailed ways

请参阅图2,图2为本发明一光驱50用来存取一光储存介质62的功能方块图。光驱50中设有一承载台54、一用来带动承载台54转动的马达52、一用来存取光储存介质62所储存数据的读写头56、用来控制光驱50操作的控制电路58,以及一存储器60,其可为易失性的随机存取存储器,用来暂存控制电路58运作期间所需的数据。光储存介质62上则设有用来记录数据的轨迹64。当光储存介质62放置于承载台54后,马达52就能带动光储存介质62转动,而光储存介质62上的轨迹64就会随着光储存介质62转动而掠过读写头56前,使控制电路58可通过读写头56存取轨迹64上的数据。至于控制电路58本身,则是根据一主机(host)66的控制以存取光储存介质62上的数据;主机66可以是个人计算机等的计算机系统;而光储存介质62可为各种不同型态的光盘片,例如CD-R、CD-RW、DVD-R/RW、DVD+R/RW或DVD-RAM等规格的光盘片。Please refer to FIG. 2 . FIG. 2 is a functional block diagram of an optical drive 50 for accessing an optical storage medium 62 according to the present invention. The optical drive 50 is provided with a loading platform 54, a motor 52 for driving the loading platform 54 to rotate, a read/write head 56 for accessing data stored in the optical storage medium 62, and a control circuit 58 for controlling the operation of the optical storage medium 50, And a memory 60 , which can be a volatile random access memory, is used to temporarily store the data required during the operation of the control circuit 58 . The optical storage medium 62 is provided with a track 64 for recording data. After the optical storage medium 62 is placed on the carrying platform 54, the motor 52 can drive the optical storage medium 62 to rotate, and the track 64 on the optical storage medium 62 will pass over the front of the read/write head 56 as the optical storage medium 62 rotates, The control circuit 58 can access the data on the track 64 through the read/write head 56 . As for the control circuit 58 itself, it is based on the control of a host (host) 66 to access the data on the optical storage medium 62; the host 66 can be a computer system such as a personal computer; and the optical storage medium 62 can be of various types CD-R, CD-RW, DVD-R/RW, DVD+R/RW, or DVD-RAM.

请参阅图3,图3为本发明光储存介质62的扇区分配示意图。光储存介质62可分为多个储存数据的区决,于此实施例中,光储存介质62以圆心O为原点且被X轴与Y轴划分为四个象限,而等分成四个区块68a、68b、68c、68d,四个区块68a、68b、68c、68d的储存扇区大小皆相等。而区块68a又包含一第一等量扇区70a、一第二等量扇区72a、一第三等量扇区74a;区块68b包含一第一等量扇区70b、一第二等量扇区72b、一第三等量扇区74b;区块68c包含一第一等量扇区70c、一第二等量扇区72c、一第三等量扇区74c;以及区块68d包含一第一等量扇区70d、一第二等量扇区72d、一第三等量扇区74d,其中第一等量扇区70a、第一等量扇区70b、第一等量扇区70c、第一等量扇区70d分别对称于圆心O且储存容量相等;第二等量扇区72a、第二等量扇区72b、第二等量扇区72c、第二等量扇区72d亦分别对称于圆心O且储存容量相等;且第三等量扇区74a、第三等量扇区74b、第三等量扇区74c、第三等量扇区74d亦分别对称于圆心O且储存容量相等。而区块68a、68b、68c、68d可不仅局限于包含三个等量扇区,分割成几个扇区可由使用者自行决定,可视数据储存状态而定。此外,第一等量扇区70a包含一数据区块76a,第一等量扇区70b包含一数据区块76b,第一等量扇区70c包含一数据区块76c,第一等量扇区70d包含一数据区块76d。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of sector allocation of the optical storage medium 62 of the present invention. The optical storage medium 62 can be divided into a plurality of partitions for storing data. In this embodiment, the optical storage medium 62 is divided into four quadrants with the center O as the origin and divided into four quadrants by the X-axis and the Y-axis, and is equally divided into four blocks. 68a, 68b, 68c, 68d, the storage sector sizes of the four blocks 68a, 68b, 68c, 68d are all equal. And block 68a comprises a first equivalent sector 70a, a second equivalent sector 72a, a third equivalent sector 74a; block 68b comprises a first equivalent sector 70b, a second etc. Amount sector 72b, a third equal amount sector 74b; block 68c includes a first equal amount sector 70c, a second equal amount sector 72c, a third equal amount sector 74c; and block 68d includes A first equal amount sector 70d, a second equal amount sector 72d, a third equal amount sector 74d, wherein the first equal amount sector 70a, the first equal amount sector 70b, the first equal amount sector 70c, the first equivalent sector 70d are respectively symmetrical to the center O and have the same storage capacity; the second equal sector 72a, the second equal sector 72b, the second equal sector 72c, and the second equal sector 72d They are also respectively symmetrical to the center of circle O and have the same storage capacity; and the third equivalent sector 74a, the third equivalent sector 74b, the third equivalent sector 74c, and the third equivalent sector 74d are also respectively symmetrical to the circle center O and The storage capacity is equal. The blocks 68a, 68b, 68c, and 68d are not limited to include three equal sectors, and the division into several sectors can be determined by the user, depending on the state of data storage. In addition, the first equivalent sector 70a includes a data block 76a, the first equal amount sector 70b includes a data block 76b, the first equal amount sector 70c includes a data block 76c, and the first equal amount sector 70d includes a data block 76d.

请参阅图4,图4为本发明备份数据至光储存介质62的流程图。备份数据至光储存介质62的方法系包含下列步骤:Please refer to FIG. 4 . FIG. 4 is a flow chart of backing up data to the optical storage medium 62 of the present invention. The method for backing up data to the optical storage medium 62 comprises the following steps:

步骤100:对欲备份的备份数据进行异或(XOR)运算以产生一检查数据。Step 100: Execute an XOR operation on the backup data to be backed up to generate checking data.

步骤102:将欲备份的备份数据分别储存至光储存介质62的第一等量扇区70a、第一等量扇区70b、第一等量扇区70c中。Step 102: Store the backup data to be backed up in the first equivalent sector 70a, the first equivalent sector 70b, and the first equivalent sector 70c of the optical storage medium 62 respectively.

步骤104:将步骤100中所产生的检查数据储存至光储存介质62的第一等量扇区70d。Step 104 : Store the inspection data generated in step 100 to the first equivalent sector 70 d of the optical storage medium 62 .

于此对上述步骤作一详细说明,请继续参阅图2,首先主机66会对欲备份的数据内容进行异或运算。请参阅图5,图5为3个位(bit)进行异或运算的真值表。而该备份数据可分别针对其相对应的位数据依循图5的真值表进行异或运算,而产生相对应的同位检查(parity check)数据。故对该备份数据中每一位数据分别进行完异或运算后,便可产生一检查数据,而该检查数据的数据容量大小相等于该备份数据个别的数据容量大小,此乃由于该检查数据是由经过异或运算后所得到的同位检查数据所组成。之后主机66便会控制控制电路58将欲备份的备份数据经由读写头56分别写入光储存介质62的第一等量扇区70a、第一等量扇区70b、第一等量扇区70c中,以及将该检查数据写入光储存介质62的第一等量扇区70d。接下来若欲继续储存备份数据时,则可再将欲备份数据进行异或运算而产生相对应的检查数据,然后再将此备份数据储存至第二等量扇区72a、第二等量扇区72b、第二等量扇区72c,且将其相对应的检查数据储存至第二等量扇区72d。以此类推,接下来的备份数据可储存至第三等量扇区74a、第三等量扇区74b、第三等量扇区74c,而相对应的检查数据可储存至第三等量扇区74d。Here is a detailed description of the above steps. Please continue to refer to FIG. 2 . First, the host 66 performs an XOR operation on the data content to be backed up. Please refer to FIG. 5 . FIG. 5 is a truth table for XOR operation of 3 bits. The backup data can be subjected to an XOR operation on its corresponding bit data according to the truth table in FIG. 5 to generate corresponding parity check data. Therefore, after the XOR operation is performed on each bit of the backup data, a check data can be generated, and the data capacity of the check data is equal to the individual data capacity of the backup data. This is because the check data It is composed of parity check data obtained after XOR operation. Then the host computer 66 will control the control circuit 58 to write the backup data to be backed up into the first equivalent sector 70a, the first equivalent sector 70b, and the first equivalent sector of the optical storage medium 62 through the read/write head 56 respectively. 70c, and write the inspection data into the first equivalent sector 70d of the optical storage medium 62. Next, if you want to continue to store the backup data, you can perform an XOR operation on the data to be backed up to generate corresponding inspection data, and then store the backup data in the second equivalent sector 72a, the second equivalent sector area 72b, the second equivalent sector 72c, and store the corresponding inspection data in the second equivalent sector 72d. By analogy, the next backup data can be stored in the third equivalent sector 74a, the third equivalent sector 74b, and the third equivalent sector 74c, and the corresponding inspection data can be stored in the third equivalent sector District 74d.

此外,上述的备份数据与检查数据的储存可不仅局限于某等量扇区中,举例来说第一次产生的检查数据可储存至第一等量扇区70a、第一等量扇区70b、第一等量扇区70c、第一等量扇区70d中任意一等量扇区,而其它三个等量扇区则用来储存相对应的备份数据。至于后来的备份数据与相对应检查数据的储存也无须限定于与前一次数据储存位置相符,例如若第一次产生的检查数据储存于第一等量扇区70d中,而第二次产生的检查数据无须一定要储存在第二等量扇区72d中,只要能达到四个等量扇区中有三个等量扇区用来储存欲备份数据而剩余的一个等量扇区用来储存相对应的检查数据的目的即可。In addition, the storage of the above-mentioned backup data and inspection data may not be limited to a certain equivalent sector, for example, the inspection data generated for the first time may be stored in the first equivalent sector 70a, the first equivalent sector 70b , the first equivalent sector 70c, and the first equivalent sector 70d, any one equivalent sector, and the other three equivalent sectors are used to store corresponding backup data. As for the subsequent storage of backup data and corresponding inspection data, it is not necessary to be limited to the previous data storage location. The inspection data need not necessarily be stored in the second equivalent sector 72d, as long as three equivalent sectors are used to store the data to be backed up in the four equivalent sectors and the remaining one equivalent sector is used to store the corresponding The purpose of corresponding inspection data is enough.

承上所述,当储存备份数据的等量扇区有所损坏而造成备份数据遗失无法读取时,可藉由读取其余相对应的储存备份数据的等量扇区以及相对应的储存检查数据的等量扇区所储存的数据,来实现数据错误回复的机制。举例来说,如图3所示,若数据区块76a、数据区块76b、数据区块76c分别用来储存欲备份数据,而数据区块76d用来储存数据区块76a、数据区块76b、数据区块76c中三笔数据经过异或运算后所产生的检查数据,而当第一等量扇区70a的数据区块76a毁损而造成数据无法读取时,主机66可读取数据区块76b、数据区块76c,以及数据区块76d中所储存的位数据,再经由图5所示的真值表反推出数据区块76a所储存的位数据。例如,当数据区块76b所储存备份数据的位值为0,数据区块76c所储存备份数据的位值为1,且数据区块76d所储存检查数据的位值为1时,则根据图5所示的真值表可推得数据区块76a所储存备份数据的位值应为0,进而达到数据错误回复的机制。Based on the above, when the equivalent sectors storing backup data are damaged and the backup data is lost and cannot be read, you can read the remaining corresponding equivalent sectors storing backup data and the corresponding storage check The data stored in the same sector of the data is used to realize the data error recovery mechanism. For example, as shown in Figure 3, if the data block 76a, the data block 76b, and the data block 76c are respectively used to store the data to be backed up, and the data block 76d is used to store the data block 76a, the data block 76b 1. The inspection data generated after the XOR operation of the three data in the data block 76c, and when the data block 76a of the first equivalent sector 70a is damaged and the data cannot be read, the host computer 66 can read the data area The bit data stored in the block 76b, the data block 76c, and the data block 76d are deduced from the bit data stored in the data block 76a through the truth table shown in FIG. 5 . For example, when the bit value of the backup data stored in the data block 76b is 0, the bit value of the backup data stored in the data block 76c is 1, and the bit value of the inspection data stored in the data block 76d is 1, then according to FIG. The truth table shown in 5 can deduce that the bit value of the backup data stored in the data block 76a should be 0, thereby achieving a data error recovery mechanism.

于上述实施例中,由于光储存介质62被分为四个区块68a、68b、68c、68d,故光储存介质62被划分了四分之一的储存容量来储存检查数据以作为数据错误回复的用途。而光储存介质62可不仅局限于分为三个备份数据储存区块以及一个检查数据储存区块,例如亦可将光储存介质62分为三个区块,其中两个区块用来储存备份数据,剩下一个区块用来储存检查数据,而分割成几个数据储存区块可由使用者自行决定,至于其备份数据与检查数据储存方式与数据错误回复机制则与前述实施例相同,故于此不再详述。基本上本发明的精神是为光储存介质可提供其中一区块来储存其它备份数据区块进行完异或运算后所产生的检查数据,以作为数据错误回复的机制。In the above embodiment, since the optical storage medium 62 is divided into four blocks 68a, 68b, 68c, 68d, so the optical storage medium 62 is divided into a quarter of the storage capacity to store inspection data as data error recovery the use of. The optical storage medium 62 is not limited to being divided into three backup data storage blocks and one inspection data storage block. For example, the optical storage medium 62 can also be divided into three blocks, two of which are used to store backup data. Data, the remaining block is used to store the inspection data, and the division into several data storage blocks can be determined by the user. As for the backup data and inspection data storage method and the data error recovery mechanism, it is the same as the previous embodiment, so It will not be described in detail here. Basically, the spirit of the present invention is to provide one block of the optical storage medium to store the checking data generated after the XOR operation of other backup data blocks, as a data error recovery mechanism.

相较于现有储存数据至光储存介质的方法,本发明的方法可有效利用数字多用途光盘高储存容量的特性,以于烧录数据的同时顺便建立数据错误回复机制,而达到自我备份的目的,如此一来便可于光储存介质遭受损伤而无法读取其中的数据时,利用本发明的技术回复已毁损的数据。Compared with the existing methods of storing data to optical storage media, the method of the present invention can effectively utilize the characteristics of the high storage capacity of digital versatile discs, so as to establish a data error recovery mechanism while burning data, so as to achieve self-backup The purpose is to use the technology of the present invention to recover the damaged data when the optical storage medium is damaged and the data therein cannot be read.

以上所述仅为本发明的较佳实施例,凡依本发明的权利要求所做的均等变化与修饰,皆应属本发明专利的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the patent of the present invention.

Claims (8)

1.一种备份数据至一光储存介质的方法,该光储存介质包含有多个环形储存区域,每个环形储存区域具有N个等量扇区,该方法包含有下列步骤:1. A method for backing up data to an optical storage medium, the optical storage medium includes a plurality of ring storage areas, each ring storage area has N equivalent sectors, the method comprises the following steps: 对于其中一个环形储存区域,For one of the ring storage areas, (a)将欲备份的数据分为N-1份并分别储存至该环形储存区域的N-1个等量扇区中;(a) Divide the data to be backed up into N-1 parts and store them in N-1 equivalent sectors of the ring storage area; (b)针对该N-1份备份数据中的每份备份数据中的相对应的位值数据进行异或运算以产生一检查数据;以及(b) performing an XOR operation on the corresponding bit value data in each of the N-1 backup data to generate a check data; and (c)将该检查数据储存至于步骤(a)中尚未被储存的等量扇区;(c) storing the inspection data in an equivalent sector that has not been stored in step (a); 对于另一环形储存区域,For another ring storage area, (d)重复步骤(a)和(b),并且将该检查数据储存至于所述另一环形储存区域中尚未被储存的等量扇区,其中所述另一环形储存区域中储存检查数据的该等量扇区与步骤(c)中储存检查数据的所述等量扇区不在光储存介质的相同径向上;以及(d) Repeat steps (a) and (b), and store the inspection data in an equivalent number of sectors that have not yet been stored in the another ring storage area, wherein the inspection data is stored in the another ring storage area The equivalent sector is not on the same radial direction of the optical storage medium as the equivalent sector storing the inspection data in step (c); and 对于其余环形储存区域,For the rest of the ring storage area, 重复步骤(d)。Repeat step (d). 2.如权利要求1所述的方法,其还包含下列步骤:2. The method of claim 1, further comprising the steps of: (e)读取储存于该光储存介质的各个环形储存区域的N-1个等量扇区中的数据以及该检查数据;以及(e) read the data stored in N-1 equivalent sectors of each annular storage area of the optical storage medium and the inspection data; and (f)依据于步骤(e)中所读取的数据以及该检查数据回复该数据。(f) returning the data according to the data read in step (e) and the inspection data. 3.如权利要求1所述的方法,其中该光储存介质为一DVD光盘片。3. The method as claimed in claim 1, wherein the optical storage medium is a DVD disc. 4.如权利要求1所述的方法,其中该光储存介质为一CD光盘片。4. The method of claim 1, wherein the optical storage medium is a CD. 5.一种备份数据至一光储存介质的设备,该光储存介质包含有多个环形储存区域,每个环形储存区域具有N个等量扇区,该设备包含:5. A device for backing up data to an optical storage medium, the optical storage medium includes multiple ring storage areas, each ring storage area has N equivalent sectors, the device includes: 读写头;read-write head; 控制电路,用于控制该设备的存取操作,其中control circuit for controlling the access operation of the device, wherein 所述控制控制读写头通过执行以下操作步骤来将数据备份到光储存介质:The control controls the read-write head to back up data to the optical storage medium by performing the following steps: 对于其中一个环形储存区域,For one of the ring storage areas, (a)将欲备份的数据分为N-1份并分别储存至该环形储存区域的N-1个等量扇区中;(a) Divide the data to be backed up into N-1 parts and store them in N-1 equivalent sectors of the ring storage area; (b)针对该N-1份备份数据中的每份备份数据中的相对应的位值数据进行异或运算以产生一检查数据;以及(b) performing an XOR operation on the corresponding bit value data in each of the N-1 backup data to generate a check data; and (c)将该检查数据储存至于步骤(a)中尚未被储存的等量扇区,(c) storing the inspection data in an equivalent number of sectors that have not been stored in step (a), 对于另一环形储存区域,For another ring storage area, (d)重复步骤(a)和(b),并且将该检查数据储存至于所述另一环形储存区域中尚未被储存的等量扇区,其中所述另一环形储存区域中储存检查数据的该等量扇区与步骤(c)中储存检查数据的所述等量扇区不在光储存介质的相同径向上;以及(d) Repeat steps (a) and (b), and store the inspection data in an equivalent number of sectors that have not yet been stored in the another ring storage area, wherein the inspection data is stored in the another ring storage area The equivalent sector is not on the same radial direction of the optical storage medium as the equivalent sector storing the inspection data in step (c); and 对于其余环形储存区域,For the rest of the ring storage area, 重复步骤(d)。Repeat step (d). 6.如权利要求5所述的设备,其中控制电路还执行以下操作步骤:6. The device of claim 5, wherein the control circuit further performs the following steps: (e)读取储存于该光储存介质的各个环形储存区域的N-1个等量扇区中的数据以及该检查数据;以及(e) read the data stored in N-1 equivalent sectors of each annular storage area of the optical storage medium and the inspection data; and (f)依据于步骤(e)中所读取的数据以及该检查数据回复该数据。(f) returning the data according to the data read in step (e) and the inspection data. 7.如权利要求5所述的设备,其中该光储存介质为一DVD光盘片。7. The apparatus as claimed in claim 5, wherein the optical storage medium is a DVD disc. 8.如权利要求5所述的设备,其中该光储存介质为一CD光盘片。8. The apparatus as claimed in claim 5, wherein the optical storage medium is a CD.
CNB2005100836442A 2005-07-13 2005-07-13 Method for backing up data to optical storage medium Expired - Fee Related CN100550139C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100836442A CN100550139C (en) 2005-07-13 2005-07-13 Method for backing up data to optical storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100836442A CN100550139C (en) 2005-07-13 2005-07-13 Method for backing up data to optical storage medium

Publications (2)

Publication Number Publication Date
CN1897121A CN1897121A (en) 2007-01-17
CN100550139C true CN100550139C (en) 2009-10-14

Family

ID=37609621

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100836442A Expired - Fee Related CN100550139C (en) 2005-07-13 2005-07-13 Method for backing up data to optical storage medium

Country Status (1)

Country Link
CN (1) CN100550139C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564972B (en) * 2018-03-14 2020-05-29 广东紫晶信息存储技术股份有限公司 Redundancy recovery code error correction method for optical disk data storage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1020550C (en) * 1988-10-07 1993-05-12 迪克拉斯有限公司 Water flow differential electrification method and apparatus for ores
WO2004029963A2 (en) * 2002-09-27 2004-04-08 Thomson Licensing S.A. Method and apparatus for recording a data stream on a storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1020550C (en) * 1988-10-07 1993-05-12 迪克拉斯有限公司 Water flow differential electrification method and apparatus for ores
WO2004029963A2 (en) * 2002-09-27 2004-04-08 Thomson Licensing S.A. Method and apparatus for recording a data stream on a storage medium

Also Published As

Publication number Publication date
CN1897121A (en) 2007-01-17

Similar Documents

Publication Publication Date Title
RU2005100843A (en) THE INFORMATION MEDIA TO WHICH THE DATA OF THE DISC DRIVE IS WRITTEN AND THE METHOD FOR RECORDING INFORMATION ON THE INFORMATION MEDIA
JP4870701B2 (en) Information recording medium, reproducing apparatus and reproducing method thereof
TW584843B (en) Method for managing data on an optical disk
CN1329890C (en) Optical information storage medium and method of recording data thereon
JP2004022069A (en) Information recording apparatus, information recording method, program, recording medium, and information recording system
JP4095977B2 (en) Defect management method and information recording apparatus
CN1933001B (en) Information recording/reproducing apparatus and a data reproducing method thereof, as well as an optical disk thereof
CN100550139C (en) Method for backing up data to optical storage medium
JP2011253588A (en) Optical disk apparatus and optical disk recording/reproducing method
RU2256240C2 (en) Optical disk and method for recording data onto said disk and/or reproduction of data from said disk
TWI363355B (en) Method for recovering writing data of disk
JP4273149B2 (en) Information recording and playback method
JP2012174296A (en) Recording and playback device and recording and playback method
US20070008846A1 (en) Method for backing up data on an optical storage medium
TWI302300B (en) Apparatus and method for defect management of optical disks
JP2004022079A (en) Information recording device, information reproducing device, information recording method, program, recording medium, and information recording system
JP2007522599A (en) Reproducing apparatus and method for reproducing unique medium identifier
US20060209656A1 (en) Method For Determining A Write Type Of A Disc
JP2005071468A (en) Information recording apparatus, information reproducing apparatus, information recording method, and information reproducing method
KR101042153B1 (en) How to determine the recording speed
JP2007515740A (en) Optical disc for storing both data requiring defect management and real-time AV data
KR20110061855A (en) Image file backup device and method
KR101146975B1 (en) Optical Disk Mirroring Method
CN101101763A (en) Optical disc device and alternate processing method used therefor
CN101206895B (en) Method for recovering data written on disc

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: GUANGBAO SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20131107

Owner name: LITE-ON TECHNOLOGY (CHANGZHOU) CO., LTD.

Free format text: FORMER OWNER: GUANGBAO SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20131107

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: TAIWAN, CHINA TO: 213166 CHANGZHOU, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131107

Address after: 213166 Wujin high tech Industrial Development Zone, Jiangsu Province, Yang Lake Road, No. 88

Patentee after: LITE-ON TECHNOLOGY (CHANGZHOU) CO., LTD.

Patentee after: Lite-On Technology Corporation

Address before: Taipei City, Taiwan, China

Patentee before: Lite-On Technology Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091014

Termination date: 20160713

CF01 Termination of patent right due to non-payment of annual fee