TW200837736A - System, method and program for reading and writing data - Google Patents

System, method and program for reading and writing data Download PDF

Info

Publication number
TW200837736A
TW200837736A TW96150794A TW96150794A TW200837736A TW 200837736 A TW200837736 A TW 200837736A TW 96150794 A TW96150794 A TW 96150794A TW 96150794 A TW96150794 A TW 96150794A TW 200837736 A TW200837736 A TW 200837736A
Authority
TW
Taiwan
Prior art keywords
information
data
damaged
file
location
Prior art date
Application number
TW96150794A
Other languages
Chinese (zh)
Inventor
Naoto Yamamoto
Original Assignee
Nec 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 Nec Corp filed Critical Nec Corp
Publication of TW200837736A publication Critical patent/TW200837736A/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1883Methods for assignment of alternate areas for defective areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

In writing data to a storage medium not including a defect alternation function or writing data using a file system not including defect alternation information, a problem of a system becoming inoperable normally due to a response time from a reader/writer being long when data is written or read to/from a defective location in a storage medium is prevented. Detective location information indicating an error which occurred in reading or writing is recorded in an area which is not primarily for storing such information. By using the defective location information, the writing location is changed so as to prevent the data from being written to the defective location, and the file system information is rewritten.

Description

200837736 九、發明說明: 【發明所屬之技術領域】 、本發明係有關於儲存媒體、資料錄放㈣及其控制方 法與転式。本發明更有關於藉由儲存媒體來錄放資料的系 統以及無法管理損壞位置資訊的檔案系統及其控制方法與 【先前技術】 般來祝,由於製造期間造成的問題(例如由到痕與灰 塵所引起媒體的損壞以及重複讀取與寫入所造成特徵的變 質):得儲存媒體通常具有無法執行資料寫入與讀取的區 域。管理有關這種資料無法寫入與讀取區域(損壞位置資訊) 的技術曾經用於儲存媒體以及需要可靠度的電腦檔案系200837736 IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to a storage medium, a data recording and playback (4), and a control method and method thereof. The present invention further relates to a system for recording and reproducing data by a storage medium, and a file system and a control method thereof for failing to manage damaged location information, and [previous art], due to problems caused during manufacturing (for example, by traces and dust) Causes damage to the media and deterioration of features caused by repeated reading and writing): The storage medium usually has an area where data writing and reading cannot be performed. The technology for managing such data that cannot be written to and read from the area (damaged location information) has been used to store media and computer systems that require reliability.

用來儲存損壞位置資訊的特定區域係存在於儲存媒體 中,該區域通常以可正常寫入與讀取資料的區域取代損壞 區塊之損壞替代區域(defect aHernative伽)。在硬碟 ) 驅動器中’某些光學磁碟媒體(例如以及儲存媒體 具有特定的損壞替代區域。 另外,即使在不包括損壞位置資訊之儲存媒體的例子 中也可藉由包含損壞替代資訊的檔案系統執行高可靠度的 讀取與寫入。 如DVD-RW)的儲存媒體 壞替代區域。然而,在 在光學磁碟媒體的例子中(例 (其與DVD-RAM不同)不包括特定損The particular area used to store the corrupted location information resides in the storage medium, which typically replaces the damaged aerative region of the damaged block with an area that can be normally written and read. 'In some hard disk drives' certain optical disk media (for example, and storage media have specific damage replacement areas. In addition, even in the case of storage media that does not include corrupted location information, files containing corrupted alternative information can be included The system performs high-reliability read and write. For example, DVD-RW) storage media bad replacement area. However, in the case of optical disk media (example (which is different from DVD-RAM) does not include a specific loss

2156-9028-PF 5 200837736 根據標準視訊記錄格式(vi(Je〇 rec〇r(Jing f 〇rmat)(此後稱 VR格式)將資料寫入DVD-RW的例子中,由於槽案系統包含 損壞替代資訊,因此即使在儲存媒體中發現損壞仍可正確 的執行讀取與寫入。 值得注意的是,支援VR格式的檔案系統係使用〇STA 中提到的通用磁碟格式第2.0版(Universal Disk F〇;rmat specification revision 2〇, UDF 2〇),其超連結為2156-9028-PF 5 200837736 According to the standard video recording format (vi (Je〇rec〇r (Jing f 〇rmat) (hereafter referred to as VR format) to write data into the DVD-RW example, because the slot system contains damage instead Information, so even if the damage is found in the storage media, the reading and writing can be performed correctly. It is worth noting that the file system supporting the VR format uses the Universal Disk Format version 2.0 mentioned in the STA (Universal Disk) F〇;rmat specification revision 2〇, UDF 2〇), its hyperlink is

http://www.osta.org/specs/index.htm (非專利文件 -1) ’其中具有使用備件表的替代處理程序(由Nikkei Bp Soft Press 公司的 y〇u j i、κΑΝΖΑΚΙ 以及 Y〇shitaka 在國際標準書號4 —891〇〇-344 —8(非專利文件3)中所發表 之有組織地再學DVD系統”)。因此,當儲存媒體發生寫 入錯誤時,資料可以再不改變應用程式之位址管理資訊的 f月況下寫入另一位址。 、 例如,在將16個磁區寫入儲存媒體的第4〇〇〇號區塊 的例子中’當寫人裝置傳回寫人錯誤資訊至檔案系統時, 系統係將16個磁區的資料寫入保留給損壞替代的第35〇〇 说&塊二即使寫入時發生寫入錯誤,並且已儲存將W個磁 &寫入弟4000號區塊的資訊’由檔案系統持有的檔案資訊 仍不需要被改變。 曰本專利公開第2〇〇3_44231號(專利文件 =:技術的損壞管理技術,,中係限制損壞管理於驅 ^ 仃,使得主系統不會受到用於損壞等等之替代處 理私序的影響。該技術包括用於損壞位置管理之第一管理Http 非 ji 非 非 非 非The organized re-learning DVD system published in International Standard Book No. 4 - 891〇〇-344-8 (Non-Patent Document 3)". Therefore, when a storage medium has a write error, the data can be changed without changing the application. The address management information is written to another address in the case of f month. For example, in the example of writing the 4th magnetic zone to the 4th block of the storage medium, 'When the writer device sends back the write When the error message is sent to the file system, the system writes the data of 16 magnetic regions to the 35th file of the damage replacement. The block 2 writes a write error even if it is written, and has stored W magnetic & The information written in the Block 4000 is still not required to be changed. The Patent Publication No. 2_44231 (Patent Document =: Technical Damage Management Technology, Medium Limit) Damage management is in the drive, so that the main system will not be affected The effect of the private order is replaced by an alternative to damage, etc. This technique includes the first management for damaged location management.

2156-9028-PF 6 200837736 % 區域、使用者區域、替代區域以及第二管理區域,且系統 區域係事先定義。 然而,當應用程式請求讀取且必須從第400〇號區塊讀 取这1 6個磁區的資料,檔案系統首先會搜尋損壞替代資 晟,右所讀取位址中的資料已註冊於已搜尋的損壞替代資 訊中’則糸統會企圖讀取位址中的資料。 、 藉由此方法’當除了儲存媒體中檔案位址管理旁的儲 _ 存媒體發生損壞時,儲存媒體以及檔案系統包括損壞替代 功能、儲存損壞位置的資訊以及執行替代處理的區域。因 此,一旦實施損壞替代功能,出現於儲存媒體中的錯誤將 不會被專級咼於槽案系統的系統辨識出。 然而’若藉由不包括損壞替代資訊的檔案系統將資料 寫入不包括損壞位置資訊之儲存媒體,即使於讀取期間發 生錯誤,資料無法受到保護,最壞的情況將會無法讀取寫 入儲存媒體的資料。 φ 例如,在DVD-RW的例子中可藉由除了 VR格式之外用 於唯讀播放器(例如DVD播放器)的視訊格式來執行寫入操 作。視訊格式係用來對可以被DVD播放器讀取之dvd —ROM 執行寫入操作。因此,當使用者使用DVD記錄器將影音以 及視訊資料寫入儲存媒體時,使用者通常會使用視訊格式。 然而,由於視訊格式使用0STA中提到的檔案系統UDF 1. 02(Universal Disk Format Specification Revision 1· 02)(非專利文件2),因此該格式不包括與UDF 2_ 〇(非、專 利文件1)類似的損壞替代資訊。當每個檔案中的資訊係以 2156-9028-PF 7 200837736 起始邏輯位址為延伸區且 4㈣Λ # , ㈣長度在視訊格式中的-組單 址。 W料㈣上必須具㈣續的位 延仲j方面’在_2.°的例子中的-個檔案可包括多組 -,即使在寫入檔案期間發 跳過損壞部分時執行1此,即使 仍可於 代資訊,儲存媒體中的管理資統不包括損壞替 K…化 “理貝訊仍舊-致。然而,視訊格2156-9028-PF 6 200837736 % Area, user area, replacement area, and second management area, and the system area is defined in advance. However, when the application requests to read and must read the data of the 16 magnetic regions from the 400th block, the file system first searches for the damaged replacement resource, and the data in the right read address is registered. In the search for damaged alternative information, the system will attempt to read the data in the address. By this method, when the storage medium other than the file address management in the storage medium is damaged, the storage medium and the file system include a damage replacement function, information for storing the damaged location, and an area for performing the replacement processing. Therefore, once the damage replacement function is implemented, errors that occur in the storage medium will not be recognized by the system that is specialized in the slot system. However, if the data is written to a storage medium that does not include the damaged location information by a file system that does not include the replacement of the replacement information, the data cannot be protected even if an error occurs during reading, and the worst case will not be readable. Store media information. φ For example, in the example of a DVD-RW, a write operation can be performed by a video format for a read-only player (e.g., a DVD player) other than the VR format. The video format is used to perform write operations on the DVD-ROM that can be read by the DVD player. Therefore, when a user uses a DVD recorder to write audio and video and video data to a storage medium, the user usually uses the video format. However, since the video format uses the file system UDF 1. 02 (Universal Disk Format Specification Revision 02) mentioned in the 0STA (Non-Patent Document 2), the format does not include the UDF 2_ 〇 (Non, Patent Document 1) Similar damage to replacement information. When the information in each file is 2156-9028-PF 7 200837736, the starting logical address is the extension and 4 (four) Λ # , (4) the length of the group in the video format - the group address. W material (4) must have (4) continued bit delay j aspect 'in the case of _2. ° - the file can include multiple groups - even if the skip part of the damage is written during the file write, even if this is done, even if It can still be used in the generation of information, the management system in the storage media does not include damage for the K... "Baibei is still old. However, the video grid

丨 組延伸區,若於寫入期間發生錯誤,則除了 分割標案之外難以維持標案系統的一致性。 ]除了 另外,檔案系統資訊與儲存媒體之標案管理中的視訊 式具有限制。需要將槽案系統資訊、視訊管理槽荦群电 以及單-或複數視訊標題權案群組設置為磁碟邏輯位址的 =升财〔值得注意的是,視訊管理檀案群組包括三個槽 A、>,疋視Λ t理者資訊檔案、視訊管理者物件檔案以 及視Λ官理者貢訊備份槽案。在許多例子中會忽略視訊管 :里:物件檔案。另夕卜,每個視訊標題檔案群組包括視訊標 題貝訊檔案、視訊標題物件檔案以及視訊標題資訊備份檔 如上所述’由於視訊格式的設計係適用於DVD- ROM, 因此通常益法老_ t …、号慮到儲存媒體中的損壞。即使複製了重要 、控制標案,右播案系統、資訊播案或是影音視覺樓案資 料發生錯誤,則無法讀取資料。 ;錯誤的對策就是必須藉由產生視訊模式中資訊槽 案的備份標荦爽者5日> & 求貝現複製。因此,若影音視覺資料中發生丨 Group extension area, if an error occurs during writing, it is difficult to maintain the consistency of the marking system except for dividing the standard. In addition, there is a limit to the video format in the file system management and file storage management. It is necessary to set the slot system information, the video management slot group, and the single- or multiple video title rights group to the disk logical address = (see also, the video management group includes three Slot A, >, 疋 Λ 理 理 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 资讯 。 。 。 。 。 。 。 。 。 。 。 。 。 In many cases, the video tube is ignored: inside: object file. In addition, each video title file group includes a video title, a video file, a video title file file, and a video title information backup file as described above. Since the video format design is applicable to a DVD-ROM, it is usually beneficial to Pharaoh. ..., the number of damage to the storage media. Even if important, control, and right-click systems, information broadcasts, or audio-visual visuals are copied, the data cannot be read. The erroneous countermeasure is to make a copy of the backup message by creating a message slot in the video mode for 5 days >& Therefore, if audiovisual visual data occurs

2156-9028-PF 8 200837736 錯誤,為一的方法就是利用視訊資料具有按年代順序言相 關的事實來重複前一資訊框影像資料,且若在影英資料中 發生錯誤,唯一的方法就是安靜的隱藏錯誤。 僅管DVD-RW通常可以被覆寫約1〇〇〇次,其中檔案系 統資訊寫入的區域為儲存媒體中覆寫次數變為最大的區 域,因此即使可正常的讀取寫入内容資料,儲存媒體中的 才备案系統資訊很有可能變的無法讀取與寫入。 DVD—RW可用來記錄兩小時的標準品質影音視訊内容。 在初始化未使用之DVD-Μ以及記錄兩小時内容(第一内容 的例子中係抹除儲存媒體中的内容並且再次記錄另外兩^ 時的内容(第二内容),對檔案系統資訊執行四次覆寫,包 括初始化、寫入第-内容、抹除第一内容以及寫入第二= 容:由於對記錄内容的區域執行兩次覆寫,使得在記錄標 案糸統資訊之區域中所執行資訊覆寫的次數為記錄内容區 域的兩倍。由於儲存媒體通常用來記錄複數内容,因此在 籲記錄樓案系統資訊的區域中執行寫入的次數為記錄内容區 域的數倍,因此記錄檔案系統資訊的區域會比記錄内容的 區域更快變質。2156-9028-PF 8 200837736 The error is one way is to use the video material to have the chronological related facts to repeat the previous information frame image data, and if the error occurs in the shadow material, the only way is to be quiet. Hide the error. Although the DVD-RW can usually be overwritten about 1 times, the area in which the file system information is written is the area where the number of overwrites in the storage medium becomes the largest, so even if the content data can be read normally, the storage is performed. The system information in the media is likely to become unreadable and writable. DVD-RW can be used to record two hours of standard quality video and audio content. In the initialization of the unused DVD-Μ and recording the two-hour content (in the example of the first content, the content in the storage medium is erased and the other two contents (the second content) are recorded again, and the file system information is executed four times. Overwrite, including initializing, writing the first content, erasing the first content, and writing the second content: due to performing two overwrites on the area of the recorded content, the execution is performed in the area where the standard information is recorded. The number of times of information overwriting is twice that of the recorded content area. Since the storage medium is usually used to record plural contents, the number of times of writing in the area where the information of the system information is recorded is several times the area of the recorded content, so the file is recorded. The area of system information will deteriorate faster than the area where the content is recorded.

料,可以將HD_-R大容量光碟令稱為延伸管理資 訊區域的系統區域設置於使用者資料區域中,以避免由於 缺少管理資訊區域或S即使使用者區域具有額外的空間但 是缺f測試區域的緣故而使寫人的資料無法被執行。然 而’ k樣的區域係用來將f料寫人光碟媒體,&由於對發 生於光碟t之錯誤的對策,因此不可能使用該區域(日本專 2156-9028-PF 9 200837736 利公開第2 0 0 5 - 3 5 3 2 4 3號(專利文件3 ))。 如上所述,對於儲存媒體損壞的對策,使用包括損壞 替代功能的儲存媒體(日本專利公開第2003_344231號(專 利文件1)以及第2004-5942號(專利文件2)),使用包^損 壞替代功能以及檔案複製的播案系統皆為本發明的灸考= 件。 /又 若在VR格式的磁碟媒體中執行損壞替代,由於在避免 φ VR格式的磁碟部分發生錯誤時可執行寫入,因此可執行具 有高可靠度的寫入。然而,若以視訊格式對相同的媒體執 行再初始化,則將會遺失損壞替代資訊。這將使得若對具 有低可靠度的區域執行寫人,則無法正f執行讀取的問題。 L發明内容】 本發明實施例係提供一種藉由使用儲存媒體來讀寫資 用:系統以及無法管理損壞位置資訊的檔案系统,系統係 用來控制方法與程式。 為了達到本發明的目的,本發明實施例所述之資料讀/ =為執行從儲存媒體讀取資訊資料以及將資訊資料寫 來e::!體之至少一者的系統。系統包括:偵測電路,用 媒體.Λ取儲存媒體之貧訊資料或是將資訊資料寫入儲存 序:=及損壞管理電路’用來管理發生於讀取或寫入程 料的資料_1以; 體包㈣來寫入資訊資 態的系統區理寫入資料區域之資訊資料狀 °° 以及知壞官理電路係根據損壞電路輸出的It is possible to set the HD_-R large-capacity optical disc so that the system area called the extended management information area is set in the user data area to avoid the lack of the management information area or the S test area even if the user area has extra space. For the sake of this, the data of the writer cannot be executed. However, the 'k-like area is used to write the f-material to the disc media. & It is impossible to use this area because of the countermeasure against the error of the disc t (Japan 2156-9028-PF 9 200837736 0 0 5 - 3 5 3 2 4 No. 3 (Patent Document 3)). As described above, for the countermeasure against the damage of the storage medium, a storage medium including a damage replacement function (Japanese Patent Laid-Open Publication No. 2003-344231 (Patent Document 1) and No. 2004-5942 (Patent Document 2)) is used, and the damage replacement function is used. And the broadcast system of the file copy is the moxibustion test of the invention. / In addition, if the damage substitute is performed in the VR format disk medium, since writing can be performed while avoiding an error in the disk portion of the φ VR format, writing with high reliability can be performed. However, if the same media is reinitialized in the video format, the corrupted replacement information will be lost. This will make it impossible to perform the reading problem if the writing is performed on an area having low reliability. SUMMARY OF THE INVENTION Embodiments of the present invention provide a file system for reading and writing by using a storage medium: a system and a file system that cannot manage damaged location information, and the system is used to control methods and programs. In order to achieve the object of the present invention, the data read/= described in the embodiment of the present invention is a system for performing at least one of reading an information material from a storage medium and writing the information material to an e::! body. The system includes: detecting circuit, using media, capturing the poor information of the storage medium or writing the information to the storage sequence: = and the damage management circuit is used to manage the data that occurs in the reading or writing of the material. The body information of the system area written in the information package (4) is written in the information area of the information area ° ° and the knowledge circuit is based on the damage circuit output

II

2156-9028-PF 200837736 損壞區域資訊將發生於讀取或寫入一 為損壞位置資訊穹x 貝展區域資訊作 域。 寫入非主要用來儲存損壞位置資訊的區 雖然本發明以硬體來實現資 來限定本發明的笳R 貝糸、,先,然其並非用 \ 〜月的靶圍。本發明亦 的程式以及减/宜次以1人體來實現讀/寫資料 ^王叭Μ夂項/寫貧料的方法。 根據本發明另_實施例所述 配置資料讀取系統,資料 取私式,電腦係 資訊資料以及將資係執行讀取儲存媒體之 Μ ’τ Μ叹析貝訊貧料寫 只1卞雨八保存媒體之至少一者, 《監視功能,用來監視讀取儲存媒體之:二 疋將貝訊貧料寫入儲存媒體;以及寫入 $ 視輪出έ士罢沾护P .、 、§功此係根據監 資訊作為損壞位置資訊寫入非主要用的抽壞區域 的_。 駐要^儲存損壞位置資訊 …=據本發明另—實施例所述之資料讀寫方法,用來執 =取儲存媒體中的資料以及將資料寫入儲存媒體之至少 ,包括:監視讀取儲存媒體之資訊資料或是將資訊 料寫入儲存媒,·以芬拍4金& 、 、 省存媒體’以及根據&視輸出結果的損壞區域資訊 :...、私序中造成之損壞區域資訊作為損壞位置資訊寫入 要用來儲存損壞位置資訊的區域。2156-9028-PF 200837736 The damaged area information will occur in the read or write one for the damaged location information. Writing to a region that is not primarily used to store damaged location information Although the present invention implements the invention to define the 笳R shellfish of the present invention, first, it does not use the target range of \~month. The program of the present invention and the method of reducing/reducing the reading/writing of the human body by one body are the methods of reading/writing the material. According to another embodiment of the present invention, the configuration data reading system, the data is private, the computer information information, and the resources are executed to read the storage medium τ 'τ Μ 析 贝 贝 贝 贫 贫 写 写 写 写 写 写At least one of the preservation media, "Monitoring function, used to monitor and read the storage medium: the second is to write the poor material into the storage medium; and write the $ 轮 έ 罢 罢 沾 沾 P 、 、 、 、 This is based on the information of the damage information written to the non-primary used area of the damaged area. Storing the damaged location information...= According to another embodiment of the present invention, the method for reading and writing data is used to execute at least the data in the storage medium and write the data into the storage medium, including: monitoring the read storage. The information of the media or the information is written into the storage medium, including the 4 gold & save media, and the damaged area information according to the & output results: ..., damage caused by the private order The area information is written as the damaged location information to the area where the damaged location information is to be stored.

=據本發明實施例可以將發生寫入錯誤或是讀取錯誤 ㈣壞位置資訊寫入非主要用來儲存損壞位置資訊的區 域’亚且可以藉由使用損壞位置資訊來改變寫入位置而不 需要將資料寫入損壞位置’並且可以重新寫入檔案系統資 2156-9028-PF 11 200837736 訊 【實施方式】 為讓本發明之上述和其他目的、 翩旦陰 nr 、攻、和優點能更明 ,,下文特舉出較佳實施例,並配 二月 明如下: Μ八邗呪 實施例·· …根據本發明實施例所述之資料讀/寫系㈣執次 戒貝料寫入儲存媒體以及從儲存媒體中讀取資訊之至小貝 者’並且如同基本架構般包括偵測電路 :二 t儲㈣以及從儲存媒體讀取資訊資料寫 =官理電路1來管理讀/寫處理程序所造成損壞區域= 二=媒體的資料結構包括記錄資訊資料的資料區域 “理將貪訊資料寫入資料區域之狀態的系統區域。損 =理電路係根據來自損壞電路所輸出的損壞區域資訊將 寫處理程序所造成損壞區域的資訊(損壞位置資訊)寫 入非主要儲存損壞位置資訊的區域。 … 如第1圖所示,系統的偵測電路係用 系統的處理程序期間所造成損壞區域的資訊,=管主: 電=根據來自主機系統的控制指令將用來記錄作為損壞位 置=訊之資訊資料的儲存媒體損壞區域資訊寫入非主要儲 存損壞位置資訊的區域。 接下來,在第1圖中將會詳細說明本發明實施例所述According to an embodiment of the present invention, a write error or a read error may occur (4) bad location information is written to a region that is not mainly used to store damaged location information, and the write location may be changed by using the damaged location information. Need to write data to the damaged location' and can be rewritten into the file system 2156-9028-PF 11 200837736 [Embodiment] In order to make the above and other purposes of the present invention, the advantages, advantages, and advantages of the invention can be more clear DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the preferred embodiment will be described with reference to the following: Μ 邗呪 邗呪 邗呪 · · 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料 资料And reading the information from the storage medium to the Beckham' and as the basic architecture includes the detection circuit: two storage (four) and reading information from the storage medium write = official circuit 1 to manage the read / write processing program Damaged area = 2 = The data structure of the media includes the data area in which the information material is recorded. "The system area in which the information of the corrupted data is written into the data area. The damage = the circuit is based on the damaged circuit. The output damaged area information writes the information of the damaged area (damaged position information) caused by the write processing program to the area where the damage location information is not mainly stored. ... As shown in Fig. 1, the detection circuit of the system uses the system processing program. Information on the damaged area during the period, = Manager: Electricity = According to the control command from the host system, the storage media damage area information used to record the information as the damaged location = information is written to the area where the damage information is not stored mainly. Next, in the first figure, the embodiment of the present invention will be described in detail.

2156-9028-PF 12 200837736 之資料讀/寫系統。 參照第1圖,根據本發明每 包括高階系統i以及讀/寫穿;:例所述之資料讀/寫系統 光學磁碟讀寫裝置係作為讀在第2的實施例中, 學磁碟媒體。 ’”、衣且DVD媒體係作為光 系統,包括Av 以及記錄裝置 編=系統1為用來控制整個系統的“ 二 U、AV 解碼器 U、CPU12156-9028-PF 12 200837736 Data read/write system. Referring to FIG. 1, each of the data read/write system optical disk read/write devices including the high-order system i and the read/write wear according to the present invention is read as in the second embodiment, and the magnetic disk medium is read. . '', clothing and DVD media as the optical system, including Av and recording device. = System 1 is used to control the entire system "two U, AV decoder U, CPU1

控制器14。 痒AV編碼器1〇對影音/視訊資料執行類比/數位轉換. 序以及壓縮程序。AV躲# „ ,, 默仅轉換; 料勃… 益、U執行對已壓縮影音/視訊: 科執仃延伸程序以及數 , 双位/類比轉換程序。CPU 12控制】 個主機糸統1。RAM 13孫辟六/ 係儲存糸統操作所需之資料。 裝置控制器U控制讀/寫裝置2。 、項’寫装置2包括主機控制器20、CPU 21、RAM 22、 馬達控制& 23、馬達24、讀/寫信號處理器25、類比/數 位與數位/類比轉換器26以及光學讀寫頭27。 主機控制11 20係傳送與接收主機系、统1的指令與資 料主機控制器20包括實體介面、小型電腦系統介面 (Small Computer System Interface, SCSI)' IDE(IntegralController 14. The itching AV encoder performs analog/digital conversion, sequence and compression procedures on video/video data. AV hiding # „ , , 默 only conversion; material Bo... Benefits, U performs on compressed video/video: Ketsu extension program and number, double/analog conversion program. CPU 12 control] Host system 1. RAM 13 Sun Bianliu / The information required for the operation of the storage system. The device controller U controls the read/write device 2. The item 'writing device 2 includes the host controller 20, the CPU 21, the RAM 22, the motor control & 23, The motor 24, the read/write signal processor 25, the analog/digital and digital/analog converter 26, and the optical read/write head 27. The host control 11 20 transmits and receives the host system, the command and data host controller 20 of the system 1 Includes physical interface, Small Computer System Interface (SCSI)' IDE (Integral

Device Electronic)、USB(Universal Serial Bus)、 IEEE1394等等。主機控制器2〇可作為指定電子介面。cpu 21係控制整個讀/寫裝置2。RAM 22係作為工作記憶體。 若光學磁碟媒體具有損壞替代資訊(例如MD —RAM), 即使RAM 12係用來儲存讀/寫裝置2所需要的部分資訊,Device Electronic), USB (Universal Serial Bus), IEEE1394, etc. The host controller 2 can be used as a designated electronic interface. The cpu 21 system controls the entire read/write device 2. The RAM 22 is used as a working memory. If the optical disk medium has corrupted replacement information (for example, MD-RAM), even if the RAM 12 is used to store part of the information required by the read/write device 2,

2156-9028-PF 13 200837736 RAM 22仍會儲存損壞替代資訊。 CPU 21係作為軟體將偵測電路設定為用來監視對儲存 媒體的項取/寫入資訊,並且將損壞管理電路設定為根據來 自倘測電路的損m區域資訊管理讀取程序帛間所造成損壞 區域=資訊。CPU 21係將損壞管理電路設計為用來將損壞 區或資Λ寫入非主要用來儲存損壞位置資訊的區域。 光子項寫頭27係用來將資料寫入儲存媒體3以及讀取 寫入儲存媒體3的資料。CPU 21係控制讀寫信號處理器 25、類比數位以及數位/類比轉換器26以及光學讀寫頭 ⑺若讀/寫來自主機系統κ輸人的邏輯指定位置為損壞 =用貝广21係根據儲存於RAM22中的損壞替代資 ^十介用來記錄正確資料㈣代位置,並因而從光學 媒體的替代位置讀取資料或 ” 替代位置。 、4成疋將-貝料寫入光學磁碟媒體的 若儲存媒體的系統區域不包括記 定區域,則損壞管理電路#趑贲μ 直貝汛的才曰 媒體的Μ位#訊:#料時發生於儲存 錄體的錯為位置為矾寫入 檔案系統資訊令用來管理所=體。另外,若儲存媒體為 产安季存的已記錄資訊資料,且若 才田木系、、充貝釩不包括損壞次 寫入資訊資料時所造成壞管理電路係將 訊資料(而不是播案系統資;:中的錯誤位置資訊當作資 若系統區域不包括用儲存媒體中。 且儲存媒體為唯-用來 =位置男δί1的指定區域 案資訊,且若檔荦争#次 已兄錄資訊資料的系統檔 不包括損壞位置資訊’則損壞2156-9028-PF 13 200837736 RAM 22 will still store corrupted replacement information. The CPU 21 sets the detection circuit as a software for monitoring the item fetch/write information to the storage medium, and sets the damage management circuit to be caused by the information management read program from the loss m area of the test circuit. Damaged area = information. The CPU 21 is designed to use the damage management circuit to write damaged areas or resources to areas that are not primarily used to store corrupted location information. The photo sub-item write head 27 is used to write data to the storage medium 3 and read data written to the storage medium 3. The CPU 21 controls the read/write signal processor 25, the analog digit and the digital/analog converter 26, and the optical head (7) to read/write the logically designated position from the host system κ input to be damaged = stored according to the Bayer 21 system. The damage substitute in the RAM 22 is used to record the correct data (4) generation position, and thus read data or "alternative position" from the alternative position of the optical medium. 4% 疋 - - - - - - - - - - - - - If the system area of the storage medium does not include the recording area, the damage management circuit #趑贲μ 直 汛 汛 曰 曰 曰 # # 讯 讯 讯 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # The system information order is used to manage the body. In addition, if the storage medium is the recorded information material of the production safety season, and if the talented wood system, and the filling of vanadium does not include damage, the bad management circuit is caused when the information is written. The information of the information (not the broadcast system information;: the wrong location information in the system is not included in the storage media. And the storage medium is only - used = location male δί1 specified area case information, and if File # Second brother has recorded information system data file location information does not cover damage 'is damage

2156-9028-PF 14 200837736 1里電路係將寫人資訊時在儲存媒體中所造成的錯誤位置2156-9028-PF 14 200837736 1 circuit is the wrong location in the storage media when writing information

資訊當作資却咨#I 儲存媒Μ 樓案系統資訊)寫入儲存媒體。若 〜。'糸統區域中不包括用來儲存損壞位置資訊之指 ?&域的媒體’則當檔案系統從包括損壞位置資訊的檔案 t統變更為不包括損壞位置資訊的檔案系統時,損壞管理 次^ 1、將儲存於包括損壞位置資訊的檔案系、统之損壞位置 :=貝汛貝料(而不是檔案系統資訊)寫入儲存媒體。 的捧:精由儲存於非主要用來儲存由不包括損壞位置資訊 士 U、先初始化之知壞位置資訊區域中的損壞位置資訊 Μ不包括損壞位置資訊的檔案系統執行再初始化時,損壞 官=電路可將損壞位置資訊當作資訊資料(而不是槽案系 :::)寫入儲存媒體。損壞位置資訊包括實體區段編號以 及邏輯區段編號之至少一者的位置。 損壞管理電路可將損壞位置資訊的位置寫人系統區域 =者無法直接存取且為非主要用來儲存損壞位置資訊 /、品\並且執行寫人。另外’損壞管理電路可寫入主機 2統可讀取/寫入之使用者資料區域中損壞位置資訊的位 ’並且將損壞位置資訊當作檔案來儲存。再者,損壞管 :里電路可固定主機系統可讀取/寫入之使用者資料區域中 損壞位置資訊的位置,並且執行寫入。 損壞管理電路可將損壞位置資訊寫入編號小於主機系 生所有使用者擋案起始位置或是編號大於所有使用 者植案結束位置的區塊並且執行寫入。另外,當藉由不包 括損壞位置資訊的檔案系統執行記錄的儲存媒體改變為具Information is used as a resource for the consultation. #I Storage media 楼 System information) Write to the storage media. If ~. 'The media that does not include the information used to store the damaged location information?& domain', when the file system is changed from the file system including the damaged location information to the file system that does not include the damaged location information, the damage management time ^ 1, will be stored in the file system including the damage location information, the damage location: = Beibeibei material (rather than file system information) written to the storage media. The holding: the fine is stored in non-mainly used to store the damaged location information in the information area that does not include the damaged location, the initial initialization of the location information, and the file system that does not include the damaged location information, when the reinitialization is performed, the damaged officer The circuit can write the damaged location information as informational material (instead of the slot system:::) to the storage medium. The damaged location information includes the location of at least one of the physical segment number and the logical segment number. The damage management circuit can write the location of the damaged location information to the system area = it is not directly accessible and is not primarily used to store the damaged location information / / product and execute the writer. In addition, the damage management circuit can write the bit of the damaged location information in the user data area that can be read/written by the host computer 2 and store the damaged location information as a file. Furthermore, the damaged tube: the internal circuit can fix the position of the damaged location information in the user data area that the host system can read/write, and perform writing. The damage management circuit can write the damage location information to a block whose number is less than the start position of all user programs or the number is greater than the end position of all users and perform writing. In addition, when the storage medium that performs the recording by the file system that does not include the damaged location information is changed to

2156-9028-PF 15 200837736 有包括損壞位置資訊的檔案系統時,損壞管理電路可作為 才貝壞位置貧訊寫入,使其不會被讀取或寫入資料至包括損 壞位置資訊的位置,並且執行再初始化。2156-9028-PF 15 200837736 When there is a file system that includes information on the location of the damage, the damage management circuit can be written as a bad location, so that it will not be read or written to the location including the damaged location information. And perform reinitialization.

若檔案系統中所儲存的位置資訊符合損壞位置資訊的 寫入位置,則損壞管理電路可將檔案系統資訊寫入損壞位 置育訊中寫入位置後面,並且執行寫入。另外,若檔案管 理貧訊僅與一組起始位置以及檔案長度共同設定,且若損 壞位置資m中的寫人位置存在於檔案寫人起始位置的預定 資料尺寸内,則損壞管理電路可將起始區段編號設定為損 壞位置資訊中寫入位置的後面,並且執行寫入。 、 在檔案管理資訊僅與一組起始位置以及檔案長度共同 設定並且記錄需要即時特性的影音/視訊檔案的例子中!若 影音/視訊檔案的寫入位置符合損壞位置資訊的寫入位 置,則主機Ί统1將不會透過請求將資訊資料寫入儲存媒 體來讀/寫將資訊資料寫人即將執行之儲存媒體3的位 置。當讀取記錄於儲存媒體的f料時,若損壞位置資 的損壞位置符合讀取位置,則主機系统!將不會透過請求 將貧訊資料寫入儲存媒體來讀/寫將資訊資料寫入 行之儲存媒體3的位置。 當項/寫裝置讀取記錄於儲存媒體3中的 取物件檔案具有備份栌牵广办要― 茶$右頃 /、啕備伤檔案且右損壞位置貧訊中的損壞位 存在於記錄檔案的區域,則 幻嗔冩衣置2將不會讀取讀取物 件枱案,但疋會讀取備份檔案。 接下來的實施例中將會有詳細的說明。首先,在第If the location information stored in the file system matches the write location of the damaged location information, the damage management circuit can write the file system information behind the write location in the corrupted location and perform the write. In addition, if the file management information is only set together with a set of starting positions and file lengths, and if the write position in the damaged position m exists in the predetermined data size at the beginning of the file writer, the damage management circuit may The start sector number is set to be behind the write position in the damaged location information, and writing is performed. In the example where the file management information is set together with a set of starting positions and file lengths and records the audio/visual files requiring instant characteristics! If the writing position of the video/video file matches the writing position of the damaged location information, The host system 1 will not read or write the information material to the storage medium to request the information material to be written to the location of the storage medium 3 to be executed. When reading the material recorded on the storage medium, if the damaged location of the damaged location matches the reading position, the host system! The information will be read/written to the location of the storage medium 3 of the line by requesting that the poor data be written to the storage medium. When the item/write device reads the object file recorded in the storage medium 3, it has a backup file, and the damage bit in the right damage location exists in the record file. In the area, the illusion suit 2 will not read the read object, but will read the backup file. A detailed description will be given in the following embodiments. First, at the first

2156-9028-PF 16 200837736 圖中將會詳細說明DVD-RW(如儲存媒體3)的磁碟結構與標 案結構。 如第2圖所示,DVD-RW包括系統區域30以及31。來 自系統區域30的區段0至299 9Fh(h代表十六進位數字) 以及來自使用者資料區域31的區段3000Oh或更大。實體 區段編號(physical section number,PSN) = 30000h 代表 邏輯區段編號(logical sector number,LSN) = 〇h。 讀/寫裝置2可存取所有實體區段編號pSN區域,以管 ⑩ 理顯示於第2圖中的所有磁碟。主機系統i是較高階的系 統,僅可存取使用者資料區域31中pSN = 3〇〇〇〇h或更大的 區段(也就是LSN = 0h或更大的區段)。 即使DVD-RW媒體本身不包括損壞替代功能,管理儲存 媒體之。己錄狀的記錄管理資料(Rec〇r(jing Management2156-9028-PF 16 200837736 The disk structure and the file structure of a DVD-RW (such as storage medium 3) will be described in detail. As shown in FIG. 2, the DVD-RW includes system areas 30 and 31. Sections 0 to 299 9Fh (h represents a hexadecimal number) from the system area 30 and a section 3000Oh or more from the user data area 31. The physical section number (PSN) = 30000h represents the logical sector number (LSN) = 〇h. The read/write device 2 has access to all physical sector number pSN regions to manage all the disks shown in Fig. 2. The host system i is a higher-order system that can only access segments of the user data area 31 with pSN = 3〇〇〇〇h or greater (i.e., segments with LSN = 0h or greater). Even if the DVD-RW media itself does not include a damage replacement function, manage the storage media. Recorded management data (Rec〇r(jing Management)

Data, RMD)以及管理損壞狀態的損壞狀態位元映像 (bitmap)區域係倒置於格式3攔位4至欄位13中作為用來 φ 儲存扣壞位置的主要區域。然而,此功能如同標準中的非 強制一般很少使用。 如第2圖所示’使用者資料區域31通常包括檔案系統 貝訊32、自由空間33以及使用者資料檔案%。 在應用袼式為VR格式的例子中,UDF2. 〇係做為檔案 系、充貝Λ 32的棺案系統’使得檔案系統資訊包括容量資訊 35損襄曰代資汛36以及檔案資訊3了。 量資訊35的區域中,當格式化檔案系統時係寫入 匕括奋里、檔案數量以及儲存媒體中的目錄數量的管理資Data, RMD) and the damage status bit map area that manages the corrupted state are placed in the format 3 block 4 to field 13 as the main area for φ to store the defective position. However, this function is rarely used as non-mandatory in the standard. As shown in Fig. 2, the user data area 31 generally includes a file system, a free space 33, and a user data file %. In the example of applying the VR format to the VR format, the UDF2. is used as the file system and the file system of the Λ Λ 32. The file system information includes the capacity information 35 loss 襄曰 汛 36 and file information 3. In the area of the quantity information 35, when the file system is formatted, the management resources of the number of directories in the file, the number of files, and the storage medium are written.

2156-9028-PF 17 200837736 訊0 損壞替代資訊36區域係於儲存媒體發生損壞時記錄 貝訊。在VP格式中,損壞替代資訊36區域包括顯示損壞 位置與替代位置之間關係的備件表,且備件表通常係儲存 512件替代貝料。備件區域係設置於LSN = 14〇h至21让的 區段。 第3圖顯不作為損壞替代資訊36之實施例的備件表。 第3圖所7F之備件表為表格格式,其中原始位置的邏輯區 &編唬LSN係對應至替代位置的邏輯區段編號lsn。若未 使用儲存媒體的替代f料區域,帛3 _的備件表係記錄 FFFFFFFFh作為原始位置的邏輯區段編號LSN,若由於損壞 的關係替代所記錄的資料位置,則原始位置之邏輯區段編 號LSN係記錄為替代位置之邏輯區段編號乙训。第3圖將 會對第一損壞貧訊做詳細說明。第3圖顯示原始位置為邏 輯區段編號LSN = 4500h的位置在儲存媒體中發生損壞,使 侍貧料寫入位置替代為邏輯區段編號LSN = 14〇h (備件表) 的位置。 檔案資訊37的區域係儲存資料建立時寫入儲存媒體 的目錄名稱以及檔案名稱、檔案屬性、標案起始位置以及 檔案長度資訊。在通用磁碟格式(Universal DiskF()nnat, UDF)中係藉由作為有效容量空間之邏輯區塊編號lbn來管 理檔案資訊的起始位置。在VR格式中,路徑以及dvd_dtav 這兩個目錄通常作為目錄名稱。第3圖亦顯示跟隨 DVD_RTAV目錄的三個檔案包括視訊管理者資訊檔案2156-9028-PF 17 200837736 News 0 Damage replacement information 36 area is recorded when the storage media is damaged. In the VP format, the Damage Replacement Information 36 area includes a spare parts list showing the relationship between the damaged location and the alternate location, and the spare parts list typically stores 512 alternative beakers. The spare part area is set in the section from LSN = 14〇h to 21. Figure 3 shows a spare parts list for an embodiment of the damage replacement information 36. The spare part table of Fig. 3, 7F, is in a tabular format in which the logical area & LSN of the original position corresponds to the logical sector number lsn of the alternate position. If the replacement f-material area of the storage medium is not used, the spare part table of 帛3_ records FFFFFFFFh as the logical segment number LSN of the original position, and if the recorded data position is replaced due to the damaged relationship, the logical position of the original position The number LSN is recorded as the logical segment number of the alternate location. Figure 3 will provide a detailed description of the first damage. Figure 3 shows the location where the original location is the logical sector number LSN = 4500h, which is corrupted in the storage medium, replacing the poor memory write position with the logical sector number LSN = 14〇h (spare part table). The area of the file information 37 is the name of the directory to be written to the storage medium when the data is created, as well as the file name, file attribute, starting position of the file, and file length information. In the Universal Disk Format (Universal DiskF() nnat, UDF), the starting position of the archive information is managed by the logical block number lbn which is the effective capacity space. In the VR format, the path and the dvd_dtav directory are usually used as directory names. Figure 3 also shows that the three files following the DVD_RTAV directory include the video manager information file.

2156-9028-PF 18 200837736 (VR_MANGR. IF0)38、視訊資料檔案(VR_M〇VIE VR〇) 39 以 及視訊管理者資訊備份檔案(VR_MANGR. βυρ)4〇。 在UDF 2.0中的一個檔案可儲存複數個延伸資訊。參 照第3圖,VR_M0VIE.㈣39具有三個延伸稽案仏 42與43。當依序讀取請,媒體中内容的標題時,也會 依序地讀取第一延伸資訊4卜第二延伸資訊42以及第三 延伸資訊43。另一方面,當寫入第一延伸資訊4卜第二延 伸資訊42以及第三延伸資訊43時不需要依照設置延伸 41、延伸m延伸43的編號上升順序來寫入之。 〃視訊管理者資訊檔案38所顯示之内容媒體内的位置 貧訊係透過偏移值記錄於槽案中(相同於用於電腦中的播 :在VR杈式中,應用程式不需要辨識儲存媒體 、I °區段編碼LSN即可執行存取。另外,即使儲存媒 壞’檔案系統會吸收該損壞,使得應用層 ==損壞。另外,在VR模式中’即使在記錄複數内 、κ把列中,儲存媒體中槽案的數量將無法改變。 式的:I來在弟4圖中將會說明當使用視訊模式時應用袼 :、备木配置。使用者資料區域31包括第3圖所示之俨荦 糸統資訊32、自由*門„丨、7芬你& 田案 VR格式)。 工严曰1 33以及使用者資料標案34(相同於 由於視訊模式係使用UDF1 〇2, 不包括損壞替代資訊36(包含於⑷2 之視= 包括用來管理儲存媒體内的標題 袼案群組,以及對應至個別内容的視訊標題2156-9028-PF 18 200837736 (VR_MANGR. IF0) 38, video data file (VR_M〇VIE VR〇) 39 and video manager information backup file (VR_MANGR. βυρ) 4〇. A file in UDF 2.0 can store multiple extensions. Referring to Figure 3, VR_M0VIE. (4) 39 has three extended audit files 仏 42 and 43. When the title of the content in the media is sequentially read, the first extension information 4 and the second extension information 42 and the third extension information 43 are also sequentially read. On the other hand, when the first extension information 4, the second extension information 42 and the third extension information 43 are written, it is not necessary to write in accordance with the order of the setting extension 41 and the extension m extension 43 in ascending order. 〃 Video Manager Information Archive 38 Content displayed in the media The location of the media is recorded in the slot by offset value (same as for broadcasting in the computer: in VR mode, the application does not need to identify the storage medium) The I° section encodes the LSN to perform the access. In addition, even if the storage medium is bad, the file system will absorb the damage, so that the application layer == is corrupted. In addition, in the VR mode, even in the record complex, the κ column The number of slots in the storage medium cannot be changed. The formula: I will show in the figure 4 that when using the video mode, the application: the preparation configuration. The user data area 31 includes the third figure.俨荦糸 资讯 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 Includes corrupted replacement information 36 (included in (4) 2 view = includes the title file group used to manage the storage media, and the video title corresponding to the individual content

2156-9028-PF 200837736 檔案群組。第4圖所示之使用者資料檔案34係儲存用來管 理儲存媒體内標題以及對應至兩個内容的第一視訊標題Η 以及弟一視訊標題52之視訊管理者檔案。2156-9028-PF 200837736 File group. The user profile 34 shown in FIG. 4 stores a video manager profile for managing the title in the storage medium and the first video title 对应 and the video title 52 corresponding to the two contents.

如第4圖所示,視訊管理者檔案5〇包括三個檔案,也 就是,視訊管理者資訊檔案(VIDE〇-TS IF〇) 53、視訊管理 者資料檔案(VIDEO—TS.V0B) 54以及視訊管理者資訊備份 檔案(VIDE0JS.BUP) 55。視訊管理者資訊檔案53以及視 訊管理者資訊備份檔案55係儲存相同的内容。 在視訊模式中,當記錄一個標題時會建立至少四個檔 案,也就是視訊標題資訊檔案(VTS—OH IF〇) 56、視訊栌 題資料槽案(VTS—02—U0B) 57、視訊標題資料槽; (VTS—02—2. V0B) 58以及視訊標題資訊備份檔案 (VTS—02 —〇·ΒυΡ) 59。另外,由於 、 一 、在視成杈式中的母個視訊 才示通-貝料檔案57與58的上限約在 安八 約為1GB,因此必須將該檔 木刀告丨J為數個槽幸。一個辦曰 划 ㈣碭取多可包括九個視訊檔案資 砷,因此最多可記錄9GB。再 ^ 紅、—私、 有右一個視訊檔案標題包 括禝數視訊標題資料檔案, 順序而對齊。 匕:㈣μ根據記錄時間 視訊模式中的視訊管理者 資訊浐安^ 書貝0Κ檔案53以及視訊標題 、^木54不表示視訊標題檔宰的低銘办里^ ^ 目前讀取h ㈣㈣偏移位置’然其儲存與 “取樯案位置之LSN偏移值。因此 統資訊取得視訊管理者資替安U此肖由使用檔案系 備份檔案55、°田案53或是視訊管理者資訊 需要檔案系:&始位置之後可將應用程式格式設定為不 貝訊即可播放的内容。當取得視訊模式中的As shown in Figure 4, the video manager file 5 files includes three files, that is, the video manager information file (VIDE〇-TS IF〇) 53 and the video manager data file (VIDEO-TS.V0B) 54 and Video Manager Information Backup File (VIDE0JS.BUP) 55. The video manager information file 53 and the video manager information backup file 55 store the same content. In the video mode, when recording a title, at least four files are created, that is, the video title information file (VTS-OH IF〇) 56, the video title data slot (VTS-02-U0B) 57, the video title data Slot; (VTS-02-2. V0B) 58 and video title information backup file (VTS-02-〇·ΒυΡ) 59. In addition, since the upper limit of the parent-video files 57 and 58 in the video format is about 1 GB in Anba, it is necessary to warn the file as a number of slots. A plan (4) can include up to nine video archives, so up to 9GB can be recorded. Then ^ red, private, and the right video file title includes the number of video title data files, aligned in order.匕: (4) μ according to the recording time in the video mode of the video manager information 浐安^书贝0Κ file 53 and the video title, ^木54 does not indicate the video title file slaughter in the low-minded office ^ ^ currently read h (four) (four) offset position 'There is its storage and the LSN offset value of the file location. Therefore, the information obtained by the video manager is replaced by the file system backup file 55, the field file 53 or the video manager information needs the file system. After the &&;; start position, the application format can be set to play without content. When getting the video mode

2156-9028-PF 20 200837736 資讯檔案起始位置後,DVD記錄器以及播放器通常不需要 透過檔案系統層61即可直接存取記錄裝置控制層62。另 外,由於視訊模式不包括損壞替代資訊(跟…模式不同), 因此當儲存媒體發生損壞時無法讀取與寫入對應的檔案。 值的注意的是,若儲存媒體中發生損壞,在視訊模式 的系統操作中會造成無法管理損壞位置資訊的問題。例 如’若記錄檔案系統資訊32、視訊管理者資訊檔案53以 及需要可靠度的視訊標題資訊㈣56的區域中有損壞而 無法記錄於儲存媒體中’使得讀/寫川傳送錯誤回應至 主機系統1。由於讀/寫袈置2多次企圖將資料寫入儲^媒 體直到錯誤回應傳送至主機系統1,因此需要數分鐘至數 十分鐘的回應時間,更由於重複對發生損壞的區域執行寫 入而造成損壞區域的擴大。 如上所述,本發明實施例係藉由將損壞位置資訊以任 =式儲=儲存媒體中(即使儲存媒體或槽案系統不包括 損壞位置資訊)防止寫入發生彳 ^ 表生扣壞的區域來縮短系統回岸 並且允許正常讀取記錄於儲存媒體的内容。 第5圖顯示資料讀/寫系統中資料輸入/ 軏配置圖。如第5圖所示,主機系 k π ^ ^ ^ ^ m at , 丁貝才十輸入/輸出單 -的料配置包括應用“0、檔案系統層61以及 壯 置控制層62。讀/寫裝置2中資 置係藉由63纟配置。 翰出早兀的邏輯配 當主機系統1讀取資料時,卩Dv 層6 0 _ 士墨伯田土 ° 、’录裔為例,應用 ㈣使用者與歸導航所輸人㈣,並將檔㈣取:2156-9028-PF 20 200837736 After the information file start position, the DVD recorder and player usually do not need to access the recording device control layer 62 directly through the file system layer 61. In addition, since the video mode does not include the damaged substitute information (different from the ... mode), the file corresponding to the write cannot be read when the storage medium is damaged. It is important to note that if damage occurs in the storage medium, it may cause problems in the system operation of the video mode that the damaged location information cannot be managed. For example, if the record file system information 32, the video manager information file 53, and the area of the video title information (4) 56 requiring reliability are damaged and cannot be recorded in the storage medium, the read/write transmission error is responsive to the host system 1. Since the read/write device 2 attempts to write data to the storage medium until the error response is transmitted to the host system 1, it takes several minutes to several tens of minutes of response time, and moreover, due to repeated writing to the damaged area. Causes an expansion of the damaged area. As described above, the embodiment of the present invention prevents the write from occurring by destroying the location information in the storage medium (even if the storage medium or the slot system does not include the damaged location information). To shorten the system back to the shore and allow normal reading of the content recorded on the storage medium. Figure 5 shows the data input/軏 configuration diagram in the data read/write system. As shown in FIG. 5, the host system k π ^ ^ ^ ^ m at , Ding Bicai input/output single-material configuration includes application "0, file system layer 61 and robust control layer 62. Read / write device 2 Chinese-funded units are configured by 63纟. The logic of the Hanshao early is when the host system 1 reads the data, the Dv layer 6 0 _ Shi Mo Bo Tian Tu °, 'recorded people as an example, application (4) users and Return to the navigation (4), and take the file (4):

2156-9028-PF 21 觚 觚200837736 求輸出至檔案系統層61。 檔案系統層61係根據檔案開/關處理程序以及來自應 用層60㈣案讀取請求或檔案寫人請求將檔案的邏輯相 ^ 立置轉換為儲存媒體之邏輯區段編丨⑽,並根據所轉 換資料將資料讀取請求輪出至讀/寫裝置控制層62。 為了回應來自檔案系統層61的資料讀取請求,讀/寫 =置㈣層62係產生對應致電子I/F格式的資料輸入/輸 控制信號,並根據所產生信號將資料讀取請求輸出至讀/ 寫裝置内的控制層6 3。 根據來自讀/寫裝置控制層62的資料讀取請求,讀/ 寫裳置内的控制層63係將儲存媒體之邏輯區段編號lsn轉 換為實體區段編號PSN,讀取儲存媒體中psn區域的資料, 並將讀取資料輸出至讀/寫裝置控制62。此後,藉由接 :來自較低層(讀/寫裝置控制層62以及檔案系統層⑴的 貝枓亦可以在檔案系統層61以及應用層6〇中執行資料讀 取。 在將資料寫入儲存媒體的實施例中(如同讀取資料的 例子中)係由控制主機系统i中的讀/寫裝置2對讀/寫裝 置内的較高階應用層60至較低階控制層63中每一層的資 料寫入請求執行必要的轉換,因而對較低階層執行資料= 入請求。 ..... 在實施例中會將使用DVD_RAM作為儲存媒體來讀取資 料的例子列入考慮。由於DVD_RAM的儲存媒體内具有損壞 替代資訊,因此當將讀/寫裝置控制層62請求之邏輯區段2156-9028-PF 21 觚 觚 200837736 Find output to file system layer 61. The file system layer 61 converts the logical phase of the file into a logical segment of the storage medium (10) according to the file on/off processing program and the request from the application layer 60 (4) file request or the file writer, and converts according to the logical segment (10). The data is rotated out to the read/write device control layer 62. In response to the data read request from the file system layer 61, the read/write = set (four) layer 62 generates a data input/output control signal corresponding to the electronic I/F format, and outputs a data read request to the generated signal according to the generated signal. The control layer 6 3 in the read/write device. According to the data read request from the read/write device control layer 62, the control layer 63 in the read/write device converts the logical sector number lsn of the storage medium into the physical sector number PSN, and reads the psn region in the storage medium. The data is output to the read/write device control 62. Thereafter, by reading: the data from the lower layer (the read/write device control layer 62 and the file system layer (1) can also perform data reading in the file system layer 61 and the application layer 6〇. In an embodiment of the medium (as in the example of reading data), the read/write device 2 in the control host system i pairs each of the higher order application layer 60 to the lower order control layer 63 in the read/write device. The data write request performs the necessary conversion, thus performing a data=input request for the lower level. ..... In the embodiment, an example of using DVD_RAM as a storage medium to read data is considered. Due to the storage of DVD_RAM There is corrupted replacement information in the media, so when the read/write device control layer 62 requests the logical segment

2156-9028-PF 22 200837736 編號LSN轉換為實體區段編號ρ§ 壞替代資m,4 ’ dvd-ram係搜尋損 裘曰代貝訊,相轉換的實體區段 代資訊的區域巾D & PSN存在於損壞替 成中,則DVD-RAM係從替代 中讀取資料。因此,較高層中的主機::體“編遽咖 存裝置中的損壞即可讀取資料。、、、、不而要辨識儲 同樣的,在寫入資料的實施例中,^ 段編號PSN已兮冊M 1 右轉換的實體區 匕„主冊於抽壞替代資訊中, 中替代實體區段編號PSN的區域執 入^戈貝訊 的實體區段編號PSNWS二枓寫入。若所轉換 料寫入儲存嬋體t所轉換:::知㈣代資…則將資 ϋ體中所轉換之實體區段編號PSN的區域。在 1二:例中’若無法將資料寫入儲存媒體,則讀/寫裝置内 區層63係將貧料寫入損壞替代資訊内未使用的替代 二:所轉換之實體區段編號PSN區域。當成功的 料寫入時會更新損壞替代資訊。於更新後,即使從讀/寫裝 置控制層62將讀/寫請求輸人至發生損壞的實體區段編號 之區域,係從註冊於損壞替代資訊中替代實體區段編號咖 的區域中讀取或寫入資料。 ^在DVD —RW為VR格式的例子中係將備件表保存於檔案 系、、先中。因此,在將檔案之邏輯相關位置轉換為邏輯區段 編號LSN中,若所轉換的邏輯區段編號LSN的資訊存在= 備件表内,則讀取位置係透過使用備件表而改變為所替代 邏輯區段編號LSN的位置,因而傳送資料讀取請求至讀/2156-9028-PF 22 200837736 No. LSN converted to physical sector number ρ § bad substitute m, 4 'dvd-ram search for damage 裘曰 贝 ,, phase conversion entity segment generation information area towel D & The PSN is present in the damage replacement, and the DVD-RAM reads the data from the replacement. Therefore, the host in the higher layer:: "The data in the device can be read to damage the data.,,,, and not to identify the same. In the embodiment of writing data, ^ segment number PSN The physical area of the M 1 right conversion has been registered. „ The main volume is in the smashing replacement information, and the area of the replacement physical segment number PSN is written into the physical segment number PSNWS of the Gobe. If the converted material is written to the storage body t, the conversion::: know (four) is the capital... the area of the physical segment number PSN converted in the asset. In the case of 1 2: 'If the data cannot be written to the storage medium, the read/write device inner layer 63 writes the poor material into the damaged substitute information. The unused substitute 2: the converted physical segment number PSN region . The corrupted replacement information is updated when a successful material is written. After the update, even if the read/write request is input from the read/write device control layer 62 to the area where the damaged physical sector number is generated, it is read from the area registered in the damaged substitute information instead of the physical sector number. Or write data. ^ In the case of DVD-RW for VR format, the spare part table is stored in the file system, first. Therefore, in converting the logically related position of the file into the logical segment number LSN, if the information of the converted logical segment number LSN exists in the spare part table, the reading position is changed to the same by using the spare part table. Replace the position of the logical segment number LSN, thus transmitting a data read request to read /

寫裝置控制層62。因此,應用層6〇不需要辨識儲存媒體 中的損壞即可讀取資料。 2156-9028-PF 23 200837736 在第6圖中會說明本發明每 方法 七月貝施力所述之儲存媒體初始 〇 百先,不-檔案是否包括位置資訊或損壞替代資訊(步 驟S100)皆判定目前儲存竿 予呆體的格式類型,若檔案系統包 括知壞位置資訊,則虛搜你# . 】處理私序進行至損壞位置資訊讀取與 注冊程序sun),而若槽案系統不包括損壞位置資 訊,則處理程序繼續進行至損壞位置初始㈣序(步驟 S1 0 2 )。 在損壞位置資訊讀取與註冊程序中(步驟si〇。係從儲 存媒體中讀取損壞替代資訊並將其註冊於記憶體中⑽ 22) ’且處理程序繼續進行至初始化結束判斷程序“I〇3)。 •处在損壞位置初始化程序(步驟別2)中,由於損壞位置 資訊不存在於儲存媒體中,因此對用於損壞位置資訊的記 憶體(RAM 22)進行初始化,且處理程相續進行至初始化 結束判斷程序(步驟S1 〇 3 )。 在從初始化結束判斷程序(步驟S103)至寫入錯誤程序 (步驟S109)的處理程序中係執行迴圈處理,直到執行前述 的初始化程序。當結束前述初使化程序時係將損壞位置資 訊寫入儲存媒體並且終止初始化程序。 值侍注意的是,若結束判斷程序(步驟Sl〇3)的結果 為”否“,則對下個步驟所需要的資料進行初始化(步驟 S1 04),判斷寫入邏輯區段編號LSN,且處理程序繼續進行 至損壞位置判斷程序(步驟S1 〇5)。 在損壞位置判斷程序(步驟S1 05)中係將已註冊之損壞The device control layer 62 is written. Therefore, the application layer 6 can read the data without identifying the damage in the storage medium. 2156-9028-PF 23 200837736 In Fig. 6, it will be explained that the storage medium described in each method of the present invention is in the first place, and whether the file includes location information or damaged replacement information (step S100) is determined. Currently stored in the format of the format, if the file system includes the location information, then the virtual search you #. 】 processing the private order to the damaged location information reading and registration program sun), and if the slot system does not include damage For the location information, the processing proceeds to the initial (four) order of the damaged location (step S1 0 2 ). In the damaged location information reading and registration process (step si〇. The damaged replacement information is read from the storage medium and registered in the memory (10) 22) 'and the processing proceeds to the initialization end judgment program "I〇 3) • In the damage location initialization procedure (step 2), since the damaged location information does not exist in the storage medium, the memory (RAM 22) for damaging the location information is initialized, and the processing procedure continues to The initialization end determination program (step S1 〇 3). The loop processing is executed in the processing program from the initialization end determination program (step S103) to the write error program (step S109) until the aforementioned initialization program is executed. When the program is initialized, the damaged location information is written into the storage medium and the initialization process is terminated. The value indicates that if the result of the end of the determination process (step S1〇3) is "No", then the next step is required. The data is initialized (step S1 04), it is judged that the logical segment number LSN is written, and the processing program proceeds to the damaged position determining program (step Step S1 〇 5). In the damaged position judgment program (step S1 05), the registered damage will be

2156-9028-PF 24 200837736 % 位置資訊與寫入邏輯區段編號LSN進行比較,若寫入邏輯 區段編號LSN已註冊於損壞位置資財,則處理程序繼續 進行至LSN重置程序(步驟si〇6)。 若寫入邏輯區段編號LSN未註冊於損壞位置資訊中, 處理程序繼續進行至初始化資料寫入程序(步驟si〇8)。 在LSN重置程序(步驟S106)中係藉由將錯誤檢查和更 正(eiTor· check and correct,ECC)區段增加至寫入區段 編號LSN來更新寫人區段㈣LSN,並因而致能對不具有 損壞之區域的資料寫入,接下來處理程序繼續進行至損壞 位置判斷程序(步驟S1 07)。 若判疋迷輯區#又編號UN之資訊包含於損壞位置判斷 程序(步驟S107)的初始化資料中,則藉由新的邏輯區段編 號LSN執行重新計算,接下來處理程序繼續進行至損壞位 置判斷程序(步驟S105)。 在初始化資料寫入程序(步驟S1 〇8)中係將初始化資料 隱=入所判定邏輯區段編號LSN的區域,接下來處理程序繼 ,進仃至寫入錯誤判斷程序(步驟sl〇9)。值得注意的是, 寫入資料的單元通常為ECC單元。 在寫入錯誤判斷程序(步驟sl〇9)中係判斷寫入資料中 疋/、有錯誤,若有,則處理程序繼續進行至損壞位置註 冊私序(步驟S1丨〇)。若寫入資料中部具有錯誤,則處理程 序進行至初始化結束判斷程序(步驟S103),並且繼續初始 化程序。 在知壞位置註冊程序(步驟〗0)中,發生寫入錯誤的2156-9028-PF 24 200837736 % The position information is compared with the write logical segment number LSN. If the write logical segment number LSN is registered in the damaged location, the processing proceeds to the LSN reset procedure (step si〇 6). If the write logical sector number LSN is not registered in the damaged location information, the processing proceeds to the initialization data writing process (step si〇8). In the LSN reset procedure (step S106), the write section (four) LSN is updated by adding an eiTor check and correct (ECC) section to the write section number LSN, and thus enabling The data of the area not having the damage is written, and then the processing proceeds to the damage position judging process (step S107). If the information of the ID zone # and the number UN is included in the initialization data of the damaged position determination program (step S107), the recalculation is performed by the new logical sector number LSN, and then the processing proceeds to the damaged position. The judgment program (step S105). In the initialization data writing program (step S1 〇 8), the initialization data is implicitly entered into the area of the determined logical sector number LSN, and then the processing program proceeds to the write error determination program (step sl1). It is worth noting that the unit for writing data is usually an ECC unit. In the write error judging program (step sl9), it is judged that there is an error in the write data, and if there is, the processing program proceeds to the corrupted position registration private sequence (step S1). If there is an error in the middle of the written data, the processing proceeds to the initialization end judging process (step S103), and the initialization process is continued. In the bad location registration procedure (step 0), a write error occurred.

2156-9028-PF 25 200837736 邏輯區段編號LSN係註冊於損壞位置資訊中,接下來處理 程序繼續進行至損壞位置判斷程序(步驟〇5。 雖然前案的UDF 2. 0槽案系統不包括第6 _ ㈣ S105、S106、S107以及S111 ’然而UDF 2 〇檔案系統具有 包括處理步驟S105、S106以及sill的損壞替代功能(如本 發明實施例)。由於損壞位置的替代程序包含於仙F2〇檔 案系統巾’因此儘管損壞位4的邏輯區段編號⑽儲存:2156-9028-PF 25 200837736 The logical sector number LSN is registered in the damaged location information, and then the processing proceeds to the damaged location determination procedure (step 〇5. Although the previous UDF 2. 0 slot system does not include the first 6 _ (4) S105, S106, S107 and S111 'However, the UDF 2 file system has a damage replacement function including processing steps S105, S106 and sill (as in the embodiment of the invention). The alternative program for the damaged location is included in the file of the F2 file. The system towel' is therefore stored despite the logical segment number (10) of the damaged bit 4:

初始化資料中仍會在備件表中執行轉換,因此不需要改變 檔案系統資訊。 本發明實施例的檔案系統不包括損壞替代功能,因此 必須藉由步驟S107的處理程序來設定初始化資料中的邏 輯區段編號LSN資訊。 當不包括損壞位置债測功能的系統讀取記錄根據本發 明實施例所述之檔案系、統的儲存媒體時m统資訊: :有内容係設置於可讀取位置’並且不需要取得損壞位置 資訊。因Λ ’即使在使用前案的系統中,只要檔案系統的 版本符合即可讀取儲存媒體中的資料。這是最佳的效果。 另外,若儲存媒體的損壞位置取得寫入請求或讀取請 求,則讀/寫裝置係多次存取儲存媒體直到完成讀取或寫 入,因此需要相當長的反應時間。相反的,在本發明實施 例中,若使用損壞位置註冊資訊,則裝置將&法存取損壞 位置,因此本發明實施例具有高速處理的優點。 另卜即使本發明實施例已說明發生於寫入時的錯 誤,若儲存媒體位於可寫入狀態中,且若接著取得讀取請The conversion will still be performed in the spare part table in the initialization data, so there is no need to change the file system information. The file system of the embodiment of the present invention does not include the damage replacement function, and therefore the logical sector number LSN information in the initialization data must be set by the processing procedure of step S107. When the system that does not include the damaged location debt test function reads and records the storage medium of the file system according to the embodiment of the present invention, the information is: the content is set at the readable position and the damaged location is not required. News. Because ’ ’ even in the system using the previous case, the data in the storage medium can be read as long as the version of the file system is compatible. This is the best result. In addition, if a corrupted location of the storage medium obtains a write request or a read request, the read/write device accesses the storage medium multiple times until the reading or writing is completed, thus requiring a relatively long reaction time. In contrast, in the embodiment of the present invention, if the damaged location registration information is used, the device accesses the corrupted location by the & method, and thus the embodiment of the present invention has the advantage of high speed processing. In addition, even if the embodiment of the present invention has explained an error occurring at the time of writing, if the storage medium is in the writable state, and if the reading is subsequently obtained,

2156-9028-PF 26 200837736 求(即使對於讀取相同處理程序時發生的錯誤)則可高速的 執行處理程序。 第7圖顯示寫入儲存媒體之損壞位置資訊的配置。在 第7圖中係將四位元組的字元串列,,記錄於位元位 置〇處。當讀取儲存於儲存媒體中的損壞位置資訊時,此 子兀串列所提供的資訊係用來判斷資料是否有效。 參照第7圖,四位元組的循環正確碼(cyclic positive code,CRC)係儲存於位元位置4冑。crc係與記錄於位元 位置8處# s(抽壞位置貧訊的位元組編號一8)結合而用來 判斷錯誤是否發生於讀取資料中。 一在第7圖中,以註冊損壞位置資訊的編號係儲存於位 一、、、4置12處藉由參考這個數值可用來判斷儲存媒體中 /、有夕y们損壞位置。若損壞位置的編號超過上述值係可 能在傳遞一個事實給栋用I u ^ 、 、、使用者,也就是即使使用者下令執行 初始化也無法執仃正常的寫人操作。這可能會造成無法將 重要的二容寫人位以好狀態之儲存媒體。 一在第7圖中,關於儲存媒體中損壞位置資訊的更新時 間:Λ係儲存於位元位置16中。—般來說係於儲存檀案系 士貝:之後才儲存%間貧訊,使得此為儲存媒體中最新的 k間U °因此’丨了判斷損壞位置資訊是否適當,只需 :比較容量資訊與目錄之時間資訊、檔案之時間資訊以及 备案系統資訊内部損壞位置資訊之時間資訊來確認損壞位 置貪訊=時間資訊為儲存媒體中最新的時間資訊。 在第7圖中,知壞位置(例如邏輯區段編號匕⑻係記2156-9028-PF 26 200837736 Find (even for errors that occur when reading the same handler) the handler can be executed at high speed. Figure 7 shows the configuration of corrupted location information written to the storage medium. In Figure 7, the characters of the four-byte group are listed and recorded in the bit position. When the damaged location information stored in the storage medium is read, the information provided by the serial array is used to determine whether the data is valid. Referring to Figure 7, the four-byte cyclic positive code (CRC) is stored at the bit position 4胄. The crc system is combined with the # s recorded in the bit position 8 (slot number 8 of the bad position) to determine whether the error occurred in the read data. In Figure 7, the number of registered damage location information is stored in bits 1, 4, and 4, and this value can be used to determine the damage location in the storage medium. If the number of the damaged location exceeds the above value, it may be possible to pass a fact to the user using I u ^ , , , or the user, that is, even if the user orders to perform initialization, the normal writer operation cannot be performed. This may result in a storage medium that cannot be used to write important two-person status. In Fig. 7, the update time for the damaged location information in the storage medium is stored in the bit location 16. Generally speaking, it is stored in the Tan dynasty system. After that, the % interim news is stored, so that this is the latest k between the storage media. Therefore, it is necessary to judge the damage location information. The time information of the catalog, the time information of the file, and the time information of the internal damage location information of the filing system information to confirm the damaged location. Corruption=Time information is the latest time information in the storage medium. In Figure 7, the location of the bad (such as the logical section number 匕 (8)

2156-9028-PF 27 > >200837736 位元位置2 4之後的四個位元組。根據公式(s — 2 $ ) / 4 可取得第η個損壞位置的位元位置。 僅苔本發明實施例的損壞位置係儲存於ECC單元中, 藉由將損壞的起始位置以及損壞之Ecc區塊與區段編號共 同儲存為延伸資訊可達到相同的效果。值得注意的是,在 2動媒體例子中(例如光學磁碟媒體),媒體表面的周圍可 此^有刮痕或是吸附灰塵(例如頭髮),使得資料於該區域 内無法連續的執行寫人。因&,藉由延伸資訊亦可有效的 執行管理。 接下來的實施例中將會說明將損壞位置資訊寫入儲存 媒體的三種方法。 第一種方法是將資訊寫入儲存媒體的系統區域。在 中用來管理儲存媒體的儲存狀態的記錄管理資料 (Recording Management Data,RMD)區域,以及用來管理 抽壞狀態的損壞狀態位元映像區域係保存於主要用來儲存 損壞位置資訊的格式3欄位4至攔位13。在本發明實施例 中係將損壞位置資訊寫入如RMD區域的格式3攔位2,以 允卉使用者寫入資料。由於損壞狀態位元映像並非安裝於 每個光學磁碟寫入裝置中,因此無法取得精確的損壞位置 資訊。 第二種方法為將資訊寫入使用者資料區域31中確定 的邏輯區段編號LSN的位置。如同邏輯區段㈣⑽的位 置’兩個區域皆可使用。也就是,設置於帛4圖的檔案資 訊37與第4圖的使用者資料檔案%頂端的視訊管理者資2156-9028-PF 27 >>200837736 The four bytes after bit position 2 4 . According to the formula (s - 2 $ ) / 4, the position of the bit of the nth damaged position can be obtained. Only the damaged position of the embodiment of the invention is stored in the ECC unit, and the same effect can be achieved by storing the damaged starting position and the damaged Ecc block together with the segment number as the extension information. It is worth noting that in the case of 2 mobile media (such as optical disk media), there may be scratches or dust (such as hair) around the surface of the media, so that the data cannot be continuously written in the area. . Because &, it is also possible to perform management effectively by extending the information. Three methods of writing damaged location information to the storage medium will be described in the following embodiments. The first method is to write information to the system area of the storage medium. The Recording Management Data (RMD) area for managing the storage state of the storage medium, and the damaged status bit map area for managing the corrupted state are stored in the format mainly used to store the damaged location information. Field 4 to Block 13. In the embodiment of the present invention, the damaged location information is written into the format 3 block 2 of the RMD area to allow the user to write data. Since the damaged status bit map is not installed in each optical disk writer, accurate location information cannot be obtained. The second method is to write information to the location of the logical sector number LSN determined in the user profile area 31. As in the logical section (4) (10) position, both areas can be used. That is, the video manager 37 set in the file information 37 of Fig. 4 and the top of the user profile file of Fig. 4

2156-9028-PF 28 200837736 訊檔案37之間的區域(第-損壞位置資訊配置區域),以及 -又置於儲存媒體最後標題之間的區域(第二損冑位置資訊 配置區域),也就县楚_ 就疋弟—視訊標題資訊備份檔案59中最後 邏輯區段編號LSN的位詈以艿献罢#安会欠%々门 J以直w及配置檔案糸統貧訊之固定資 訊的區域可用來寫入資訊。 .、2156-9028-PF 28 200837736 The area between the files 37 (the first-damaged location information configuration area), and the area between the last title of the storage medium (the second loss location information configuration area),县楚_ _ 疋 — — 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 视 最后Can be used to write information. .,

視Λ格式中,一個儲存媒體可記錄99個標題,因此 在使用者貝料檔案34之前必須保留用來記錄Μ個標題之 檔案資訊37的區域。檔案資訊區域37的邏輯區段編碼LSI 必須小於使用者資料標案的邏輯區段編碼lsn。由於—個 磁碟很少記錄到99的標題,因此檔案資訊37與使用者資 料檔案34之間通常具有未使用的自由空間。 、 由於視訊格式中沒有定義使用者資料檔案34的起始 邏輯區段編號LSN,可用來記錄損壞位置資訊的區域係如 同第-損壞位置資訊配置區域固定於自由空間巾。在此實 %例中,以檔案系統為例’由於損壞位置資訊之邏輯區段 編號LSN的區域為未使料區域,在對不包含損壞位置資 訊管理功能的“執行初始化的例子中會將損壞位置資訊 刪除,但在僅執打讀取的例子中不會發生任何邏輯不一 致:另外,即使在額外寫人儲存媒體的例子中,儲存媒體 係藉由本發明實施例的方法被初始化,在無法管理損壞位 置資訊的系統中,由於損壞位置資訊係存在於檔案資訊Μ 與視訊管理資訊檔案53之間’因此該區域將無法被覆蓋, 因此記錄的過程中也不會發生任何的問題。然@,對於益 法管理損壞位置資訊的資料寫入系統於執行額外寫入時發In the view format, one storage medium can record 99 titles, so the area for recording the file information 37 of the titles must be reserved before the user's bedding file 34. The logical sector encoding LSI of the archive information area 37 must be smaller than the logical sector encoding lsn of the user data standard. Since a disk rarely records a title of 99, there is usually unused free space between the file information 37 and the user profile 34. Since the start logical segment number LSN of the user profile 34 is not defined in the video format, the region that can be used to record the damaged location information is fixed to the free space towel as the first-damage location information configuration region. In this example, the file system is taken as an example. 'Because the area of the logical segment number LSN of the damaged location information is the un-materialized area, the example of performing the initialization in the case of not including the damaged location information management function will be damaged. The location information is deleted, but no logical inconsistency occurs in the example of only performing the reading: in addition, even in the case of the additional writing storage medium, the storage medium is initialized by the method of the embodiment of the present invention, and cannot be managed. In the system for damaging the location information, since the damaged location information exists between the file information Μ and the video management information file 53, the area cannot be overwritten, so that no problem occurs during the recording process. For the data management system that manages the damage location information, the system writes the system to perform additional writes.

2156-9028-PF 29 200837736 生的損壞,該損壞位置資訊將無法被更新,因此仍存在著 無κ貞測執行損壞位置管理之資料記錄系、統的問題。 b 一第二損壞位置資訊配置區域係設置於接近最後視訊標 題資訊備份檔案之最後邏輯區段編號LSN的位置,且該位 置為以ECC單元為起始的邏輯區段編號[SN。即使每次加 入視訊標題第二損壞位置資訊配置區域就會被覆寫,最新 的損壞位置資訊可在寫人程序結束後藉由寫人新的損壞位2156-9028-PF 29 200837736 The damage information, the damage location information will not be updated, so there is still a problem of data logging system and system management. b A second corrupted location information configuration area is located near the last logical sector number LSN of the last video header information backup file, and the location is a logical sector number [SN] starting with the ECC unit. Even if the second damaged location information configuration area is added every time the video title is added, the latest damaged location information can be written by the new damaged bit after the writer finishes.

置資訊而儲存於儲存媒體中。藉由將損壞位置資訊寫入兩 们區域,也就是,第一損壞位置資訊配置區域以及第二損 壞位置貧訊配置區$,在—儲存媒體中的資料可以重複, 以提升可靠度。 第二種方法為將資訊當作一般檔案寫入儲存媒體中。 在視訊格式的例子中,資訊檔案所指的資料權案位置為與 上述儲存媒體中資訊檔案之邏輯區段編號LSN位置的偏移 值’可用來設置檔案的區域是有限的。 在第4圖中可取得四個區域,也就是視訊管理者資訊 檔案53之前的區域、視訊管理者資訊備份檔案55與第一 視訊標題資訊檔案之間的區域、第—視訊標題資訊備份播 案與第二視訊標題資訊檔案56之間的區域以及第二視= 標題貢訊備份檔案59後面的區域。值得注意的是,在不使 用視訊格式但是使用UDF1.〇2的資料磁碟中不具有上述 置的限制。 、 a 4 將這些用於損壞位置資㉟的配置區域結合在 便可以改善資訊的可靠度。The information is stored in the storage medium. By writing the damaged location information into the two areas, that is, the first damaged location information configuration area and the second damaged location information configuration area $, the data in the storage medium can be repeated to improve reliability. The second method is to write information into a storage medium as a general file. In the video format example, the information file location indicated by the information file is offset from the logical segment number LSN position of the information file in the storage medium. The area in which the file can be set is limited. In Figure 4, four areas can be obtained, that is, the area before the video manager information file 53, the area between the video manager information backup file 55 and the first video title information file, and the first video title information backup broadcast case. The area between the second video title information file 56 and the area behind the second view=title tribute backup file 59. It is worth noting that the above data is not used in data disks that do not use the video format but use UDF1.〇2. , a 4 Combine these configuration areas for the damage location 35 to improve the reliability of the information.

2156-9028-PF 30 200837736 在弟8圖中將會說明t寫人檔案時發生寫人錯誤 =位置管理方法(此後稱為LSN滑動方法假設播料 統為UDF U2’並且假設於視訊模式執行寫入操作。 S200)首先設定要寫人的檔案之邏輯區段㈣㈣(步驟 根據所設定的邏輯區段編號LSN來判斷目錄檔宰是否 可改變邏輯區段編號LSN(步驟S2Q1)。值得注意的是,若 擋案為視訊管理者資訊檔案或是視訊標題資訊檔案或是上 述兩者之備份檔案,則判定此檔案為可以執行㈣滑動的 播案’使的處理程序繼續進行至損壞位置判定程序(步驟 S204)。若檔案為視訊f理者資料播案或是視訊標題資料標 案’則判定此檔案為無法執行LSN滑動的檔案,使的處理 程序繼續進行至資料寫入程序(步驟S2〇2)。 在資料寫入程序中(步驟S2〇2)係將資料寫入儲存媒 體,並接著判斷將資料寫入儲存媒體的過程是否發生錯誤 (步驟S203)。在寫入錯誤判斷程序中(步驟S2〇3),若當資 料寫入儲存媒體時發生錯誤,則會不正常的結束處Z程 序。若寫入過程中沒有發生錯誤,則處理程序繼續進行至 更新檔案資訊(步驟S209)。 在損壞位置判斷程序中(步驟S2〇4)係將已註冊的損壞 位置貧訊以及寫入之邏輯區段編號LSN進行比對,若寫入 之邏輯區段編號LSN已註冊於損壞位置資訊中,則處理程 序繼續進行至LSN重設程序(步驟S2〇5),反之,處理程序 繼續進行至資料寫入程序(步驟S 2 〇 6 )。2156-9028-PF 30 200837736 In the figure of the 8th, it will be explained that the write error occurs when the t-writer file is written = the position management method (hereinafter referred to as the LSN sliding method assumes that the broadcast system is UDF U2' and assumes that the writing is performed in the video mode. S200) First, set the logical section (4) (4) of the file to be written (the step determines whether the directory file can change the logical sector number LSN according to the set logical sector number LSN (step S2Q1). It is worth noting that If the file is a video manager information file or a video title information file or a backup file of the above two, it is determined that the file is executable (four) sliding broadcast 'the processing program continues to the damaged position determination program ( Step S204). If the file is a video file or a video title data file, it is determined that the file is a file that cannot perform the LSN sliding, and the processing program is continued to the data writing process (step S2〇2) In the data writing program (step S2〇2), the data is written into the storage medium, and then it is judged whether or not an error occurs in the process of writing the data to the storage medium (step S203). In the write error judging program (step S2〇3), if an error occurs when data is written to the storage medium, the Z program will not end normally. If no error occurs during the writing, the processing proceeds to Updating the file information (step S209). In the damaged position determination program (step S2〇4), the registered damaged position information and the written logical segment number LSN are compared, if the logical segment number is written When the LSN has been registered in the damaged location information, the processing proceeds to the LSN reset procedure (step S2〇5), whereas the processing proceeds to the data write procedure (step S2 〇6).

2156-9028-PF 31 200837736 在LSN重設程序中(步驟S2〇5)係將Εα區段附加至寫 入之邏輯區段編號LSN而寫入非損壞區域,並且更新邏輯 區段編號LSN,接下來虛报招&繼# ^ / 牧r木慝理耘序坛績進行至損壞位置判斷 程序(步驟S204)。 在資料寫人程序中(步驟S2G6)係執行資料寫入,且處 理私序、..k 4進行至寫入錯誤判斷程序(步驟$2〇7)。2156-9028-PF 31 200837736 In the LSN reset procedure (step S2〇5), the Εα segment is appended to the written logical segment number LSN to write to the non-corrupted region, and the logical segment number LSN is updated, The false report and the follow-up #^ / 牧木慝理耘 坛 进行 progress to the damage position determination program (step S204). In the data writer program (step S2G6), data writing is performed, and the private sequence is processed, and ..k4 proceeds to the write error judging program (step $2〇7).

在寫入錯誤判斷程序中(步驟S207),若判斷為具有寫 入錯誤’則處理程序繼續進行至損壞位置註冊程序(步驟 S208),反之,處理程序繼續進行至檔案資訊更新程序(步 在損壞位置註冊程序中(步驟S208)係將無法寫入損壞 位置資訊的邏輯區段編號LSN註冊於損壞位置資訊中,並 且更新損壞位置資訊的數量’接下來處理程序繼續進行至 LSN重設程序(步驟s2〇5)。 在寫入錯誤判斷程序中(步驟S207),若判斷為不具有 寫入錯誤且正常地完成寫人程序,則可根據寫人之邏輯區 &、扁5虎LSN來更新槽案資訊(步驟S2〇9),並結束寫人序列。 ―本&明與先前技術的不同之處在於由於UDF 1· 〇2不具 有官理損壞位置資訊的功能,因此檔案寫入序列僅執行步 =200 S203、S204與S209。因此,若於寫入時發生錯 < p使應用層可包括一序列藉由將Ecc區段增加至寫入 ⑽來::處理程序,然其仍無法管理錯誤的發生,並由 ; 寫入時對損壞位置執行寫入的關係而使得儲存In the write error determination program (step S207), if it is determined that there is a write error ', the processing program proceeds to the damaged location registration procedure (step S208), whereas the processing proceeds to the file information update procedure (step is corrupted) In the location registration procedure (step S208), the logical sector number LSN, which cannot write the damaged location information, is registered in the damaged location information, and the number of damaged location information is updated. 'Next processing proceeds to the LSN reset procedure (step S2〇5) In the write error judging program (step S207), if it is determined that there is no write error and the writer program is normally completed, it can be updated according to the logical area & The slot information (step S2〇9), and ends the writer sequence. The difference between the present and the prior art is that the UDF 1·〇2 does not have the function of officially damaging the location information, so the file write sequence Only steps = 200 S203, S204, and S209 are performed. Therefore, if an error occurs during writing, <p causes the application layer to include a sequence by adding the Ecc segment to the write (10):: Processing The program, however, still can't manage the occurrence of the error, and by storing the write relationship to the damaged location while writing

2156-9028-PF 32 200837736 另外,在使用UDF1_ 02的例子中,即使檔案系統具有 步驟S204、S205與S208的功能,但該檔案系統仍無法判 斷步驟S201中的邏輯區段編號LSN是否可執行滑動操作, 若無法對步驟S200中的邏輯區段編號LSN組執行寫入操 作’則不僅需要更新損壞替代資訊,更必須更新槽案本身 的損壞位置資訊以及起使位置資訊。2156-9028-PF 32 200837736 In addition, in the example using UDF1_02, even if the file system has the functions of steps S204, S205 and S208, the file system cannot judge whether the logical sector number LSN in step S201 can perform sliding. If the operation cannot be performed on the logical segment number LSN group in step S200, it is not only necessary to update the damaged replacement information, but also to update the damaged location information of the slot itself and the location information.

在第9圖中將會詳細說明需要即時特性(例如視訊椤 通資料播案(此後稱為LSN省略法))之權案寫入方法。、 首先,設定資料寫入LSN(步驟S300),且處理步驟繼 續進行至損壞位置判斷程序(步驟S3〇 1)。 在損壞位置判斷程序中(步驟S301)會比較以註冊損壞 位置資訊與寫入之邏輯區段編號LSN,若寫入之邏輯區段 編號LSN已註冊於損壞位置資訊中,則無法執行寫入之邏 輯區段編號LSN的寫入程序,且處理程序會終止。若寫入 之邏輯區段編號LSN並未註冊於損壞位置資訊中,則處理 程序繼續進行至資料寫入程序(步驟S3〇2)。 在資料寫入程序中(步驟S3〇2)係將資料寫入寫入之邏 輯區段編號LSN的區域,且處理程序繼續進行至寫入錯誤 判斷程序(步驟S303)。 曰、 ^在寫入錯誤判斷程序中(步驟S303)係判斷寫入的資料 疋有錯誤。右貝料中具有寫人錯誤,則處理程序繼續 進行至損壞位置註冊程序(步驟S3G4),反之則結束處理程 序0 本發明實施例包括步驟 S 3 01與S 3 0 4,這兩個步驟與The method of writing the rights requiring immediate characteristics (e.g., video data broadcast (hereinafter referred to as LSN omission)) will be described in detail in FIG. First, the setting data is written to the LSN (step S300), and the processing procedure is continued to the damaged position determining program (step S3〇1). In the damaged position judging program (step S301), the logical segment number LSN to be registered for the damaged location information and the write is compared, and if the logical segment number LSN written is registered in the damaged location information, the writing cannot be performed. Writer of logical section number LSN, and the handler will terminate. If the written logical sector number LSN is not registered in the damaged location information, the processing proceeds to the data writing process (step S3〇2). In the material writing program (step S3〇2), the material is written in the area of the logical sector number LSN to be written, and the processing proceeds to the writing error judging program (step S303).曰, ^ In the write error judging program (step S303), it is judged that the written data has an error. If there is a write error in the right shell, the processing proceeds to the damaged location registration procedure (step S3G4), otherwise the processing is terminated. The embodiment of the present invention includes steps S 3 01 and S 3 0 4, which are

2156-9028-PF 33 200837736 先前技術之_h0"所不同。 例 驟S301的損壞位置判 彳中並不包括步 直到_ %序,即使已經對具 媒體中邏輯區段編號L 、 '儲存 入資料。,…〜 的該£域發佈寫入指令仍無法寫 入貝科。在廷樣的實施例中,讀/ 舄 问處廿禮、、,古 、置2运化費幾十秒爽 口應並傳运寫入錯誤訊息。一般來:來 包括適用於約數+务,、夕、目i 己錄器不 菸 夕視汛與影音的寫入記憶體,因此告 須被中斷。 衝…位而使得内容的寫入程序必 t反之’根據本發明實施例的寫人方法將不會發佈窝入 指令至已註冊於損壞位¥次 寫入 w K置^中之邏輯區段編號LSN的哕 :Ί此降低了如先前技術中斷寫人操作的機率。, 右未註冊於損壞位詈:蒼士 展置貝成之邏輯區段編號LSN中發生其他 知展k ’即使目前所寫入的内容 ,^ „ 此…、’友如先刖技術般藉 =步驟⑽之損壞位置註冊程序正常的執行寫入: .、’、入耘序之後係註冊於損壞位置資訊中,使得 入操作的機率降低了。 馬 在使用本發明實施例之寫入系統寫入内容的例子中, 資料將不會寫入記錄於損壞位置資訊中邏輯區段編號的區 域。由於此例子相同於先前技術中的寫入方法,因此即使 讀取時AV解碼器發生解碼錯誤仍不會造成任何問題。 第10圖中將會說明使用損壞位置資訊的讀取方法。第 10圖所顯示的方法並不是1^邡略過法’而是讀取藉由°LSN 略過法所寫入之資料檔案的方法。 首先,設定讀取之邏輯區段便號LSN(步驟S400),且 2156-9028-PF 34 200837736 處理程序繼續進行至損壞位置判斷程序(步驟S4〇丨)。 在損壞位置判斷程序中(步驟S401)係將已註冊損壞位 置資訊與讀取之邏輯區段編號LSN進行比對。若讀取之邏 輯區段編號LSN以註冊於損壞位置資訊中,則處理程序繼 續進行至資料重置程序(步驟S402)。若讀取之邏輯區段編 唬LSN未註冊於損壞位置資訊中,則處理程序繼續進行至 資料讀取程序(步驟S403)。2156-9028-PF 33 200837736 The prior art _h0" is different. The damage position judgment of the example S301 does not include the step up to the _% order, even if the logical section number L, 'the data has been stored in the media. ,... The release of the £ domain write command still cannot be written to Beca. In the example of the sample, the reading/inquiring question is 廿 、 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Generally come: to include the memory for the approx. +, eve, and the recorder, the memory of the video and the audio and video, so it must be interrupted. The write procedure of the content must be reversed. 'The writer method according to the embodiment of the present invention will not issue the nesting instruction to the logical sector number that has been registered in the corrupted bit. LSN's trick: This reduces the chances of interrupting writer operations as in the prior art. , the right is not registered in the damaged position 詈: The other part of the logical section number LSN of the exhibition of the singer's exhibition is the same as the other information k ' even if the content is currently written, ^ „ this..., 'friends like technology first lend = The damaged location registration procedure of step (10) is normally performed by writing: ., ', after the registration sequence is registered in the damaged location information, so that the probability of the incoming operation is lowered. The horse is written using the write system of the embodiment of the present invention. In the example of the content, the data will not be written in the area recorded in the logical section number in the damaged location information. Since this example is the same as the writing method in the prior art, the decoding error of the AV decoder does not occur even when reading. Any problem will be caused. The reading method using the damaged position information will be explained in Fig. 10. The method shown in Fig. 10 is not to skip the method 'but to read by the °LSN skip method The method of entering the data file. First, the logical section number LSN of the reading is set (step S400), and the processing program of 2156-9028-PF 34 200837736 proceeds to the damaged position determining program (step S4〇丨). Bit In the judgment program (step S401), the registered damaged position information is compared with the read logical segment number LSN. If the read logical segment number LSN is registered in the damaged position information, the processing program continues. To the data reset program (step S402). If the read logical sector edit LSN is not registered in the damaged location information, the processing proceeds to the data read program (step S403).

在資料重置程序中(步驟S402),資料讀取指令並未傳 送至讀取裝置2,而是只傳送固定資料中所請求的數個位 元組(例如Q 〇h),並且結束處理程序。 在資料讀取程序中(步驟S403)係讀取資料,且處理程 序繼續進行至讀取錯誤判斷程序(步驟S4〇4)。 甘在讀取錯誤判斷程序中(步驟S404)係判斷讀取資料中 是否具有錯誤。若讀取資料中不具有錯誤,則正常的結束 處理耘序,反之會不正常的結束處理程序。 本發明實施例不同於使用丽1.02的先前技術,因為 本發明實施例包括步驟S401與S402這兩個步驟。 :般來說’當讀/寫裝置2接收讀取請求時,讀/寫裝 ㈢企圖讀取多次(即使儲存媒體中具有錯誤),因此需 :心的反應時間。然而’藉由使用本發明實施例之讀 置,求中的邏輯區段編號LSN位於損壞位 置貝丨靖取晴求不合士 應時間。 曰、至碩/寫衣置,如此一來可縮短反 另外,即使在以 〇 Oh來取代損壞位置之邏輯區段編號In the material resetting process (step S402), the material reading command is not transmitted to the reading device 2, but only the requested number of bytes (for example, Q 〇h) in the fixed material is transmitted, and the processing is terminated. . In the material reading program (step S403), the data is read, and the processing proceeds to the reading error judging program (step S4〇4). In the reading error judging program (step S404), it is judged whether or not there is an error in the read data. If there is no error in the read data, the processing sequence ends normally, otherwise the processing program ends abnormally. The embodiment of the present invention is different from the prior art using MN 1.02 because the embodiment of the present invention includes the two steps of steps S401 and S402. : Generally speaking, when the read/write device 2 receives the read request, the read/write device (3) attempts to read multiple times (even if there is an error in the storage medium), so it is necessary to: the reaction time of the heart. However, by using the reading of the embodiment of the present invention, the logical section number LSN of the seek is located at the location of the damage.曰, 至硕/写衣, this can shorten the reverse. In addition, replace the logical segment number of the damaged position with 〇 Oh.

2156-9028-PF 35 200837736 LSN的資料的例子中,即使相關技術之讀取方法中無法執 行資料讀取’但由於傳送讀取請求的檔案需要即時的特 性,因此藉由使用AV解碼器中的錯誤插入功能便可使dvd 記錄器等等達到相同的讀取效果。 " 第11 ffi顯示當儲存㈣中具有相同内容的兩個檔案 且主要檔案資料中具有損壞時的檔案讀取方法。 首先’設定即將讀取之檔案的邏輯區段編號LSN(步驟 5500) ,且處理程序繼續進行至損壞位置判斷程序(步驟 5501) ° 在損壞位置判斷程序(S501)中係將已註冊之損壞位置 資訊以及即將讀取檔案之邏輯區段編號LSN進行比對。若 即將讀取播案之邏輯區段編號LSN已註冊於損壞位置資訊 中,則處理程序繼續進行至備份檔案判斷程序(步驟 S502)。若即將讀取檔案之邏輯區段編號㈣未註冊於損壞 位置資訊中,則處理程序繼續進行至播案讀取 驟 S504)。 在備份檔案判斷程序令(步驟S5〇2)係判定在步 S500中的檔案財是否具有備份檔案,若有,則處理程序 繼縯=至讀取標案重設程序(步驟S5G3);若無,則處理 程序繼績進行至檔案讀取程序(步驟s5〇4)。 在項取棺案重設程序中(步驟S5〇3)係設 邏輯區段編號LSN,且處理程序繼續進行至 = (步驟S504) 〇 貝取矛王序 在播案讀取程序中(步驟S5〇4)係讀取播案,且處理程2156-9028-PF 35 200837736 In the example of the LSN data, even if the data reading cannot be performed in the reading method of the related art', since the file for transmitting the read request requires an instant characteristic, by using the AV decoder The error insertion function allows the dvd recorder and the like to achieve the same reading effect. " The 11th ffi shows the file reading method when storing two files with the same contents in (4) and having corruption in the main file. First, 'set the logical sector number LSN of the file to be read (step 5500), and the processing proceeds to the damaged position determining program (step 5501). ° The damaged position is registered in the damaged position determining program (S501). The information and the logical segment number LSN of the file to be read are compared. If the logical sector number LSN of the upcoming broadcast is already registered in the damaged location information, the processing proceeds to the backup archive judging process (step S502). If the logical sector number (4) of the file to be read is not registered in the damaged location information, the processing proceeds to the broadcast reading step S504). In the backup file determination program command (step S5〇2), it is determined whether the file in step S500 has a backup file, and if so, the processing program is relayed to the read standard reset program (step S5G3); Then, the process proceeds to the file reading process (step s5〇4). In the item resetting program (step S5〇3), the logical sector number LSN is set, and the processing proceeds to = (step S504). The mussels are in the broadcast reading program (step S5〇). 4) reading the broadcast, and the process

2156-9028-PF 36 200837736 序繼續^行至讀取錯誤判斷程序(步驟s5〇5)。 辑组t:取錯誤判斷程序中(步驟S505)係對讀取資料執行 ’二―’若讀取資料中具有錯誤,則會不正常地中止處 1秋序’反之若讀取資料中不具有錯誤,則會正常地中止 處理程序。 本^月貝苑例不同於先前技術中使用UDF 1. 02之讀取 方法,其不同之處在於本發明實施例包括步驟MM、“Μ ^及S503以二個步驟。換句話說,在先前技術中,當執行 :取相關槽案但是無法讀取權料,若儲存媒體中具有備 伤播案,料對備份播案執行讀取操作u,在先前技 衍的方法中’損壞位置資訊不包含於檔案系統中,且會企 圖對儲存媒體執行數次讀取操作。因&,在讀取程序中需 要數十秒甚至數分鐘的反應時間。 另一方面,根據本發明的讀取方法,若物件檔案中具 有損壞,則會對儲存相同資訊的備份檔案執行讀取操作。、 因此,可以較先前技術更高的速度來讀取所請求的檔案。 然而,直得注意的是,若備份檔案中也發生讀取錯誤時, 則必須花費與先前技術相同的讀取時間。 如上所述,藉由使用包括本發明實施例之損壞位置管 理資訊的資料記錄系統,當儲存媒體發生損壞時具有維持 資料可靠度的可能性,另外,即使儲存媒體本身不包括損 壞替代功此且槽案糸統不具有損壞替代功能,系统也可父 執行高速操作。 即使儲存媒體包括損壞替代功能或檔案系統包括損壞 2156-9028-PF 37 2008377362156-9028-PF 36 200837736 The sequence continues to the read error determination procedure (step s5〇5). Set group t: take the error judgment program (step S505) to perform 'two' on the read data. If there is an error in the read data, it will not stop normally at the autumn order. Otherwise, if the read data does not have If the error occurs, the handler will be aborted normally. This method is different from the reading method using UDF 0.02 in the prior art, except that the embodiment of the present invention includes the steps MM, "Μ ^ and S503 in two steps. In other words, in the previous In the technology, when executing: taking the relevant slot case but unable to read the right material, if there is a wounded broadcast case in the storage medium, it is expected to perform a read operation on the backup broadcast case, and in the previous technique, the damaged location information is not Included in the file system, and will attempt to perform several read operations on the storage medium. Because &, it takes tens of seconds or even minutes of reaction time in the reading process. On the other hand, the reading method according to the present invention If there is damage in the object file, the backup file storing the same information will be read. Therefore, the requested file can be read at a higher speed than the prior art. However, it is straightforward to note that if When a read error also occurs in the backup file, the same read time as the prior art must be spent. As described above, the data recording system including the damaged location management information including the embodiment of the present invention is used. When the storage medium is damaged, it has the possibility of maintaining the reliability of the data. In addition, even if the storage medium itself does not include the damage replacement function and the slot system does not have the damage replacement function, the system can perform the high-speed operation of the parent. Even if the storage medium Includes damage replacement features or file system including damage 2156-9028-PF 37 200837736

替代功能,本發明實施例之損壞位置管理 ?奐句話說,由於儲存媒體或播案系統中損壞 了替代的㈣數量受到限制’因此替代程序不可以超 :的數量。即使在這樣的儲存媒體或槽案系統中,本:: :轭例具有顯著的效果’即使發生其他損壞也可藉由“ 本务明實施例之損壞位置管理資訊來執行位置管理。-本叙明雖以較佳實施例揭露如上,然其並非用以限 =:範圍,任何熟習此項技藝者,在不脫離本發明之 ::耗圍内’當可做些許的更動與潤飾,因此本發明之 呆護辄圍當視後附之中請專利範圍所界定者為準。 體或::明實施例可藉由使用無法管理位置資訊的儲存媒 一3檔案糸統來執行資料讀取與寫入。 【圖式簡單說明】 弟1圖顯示根據本發明實施例所述之資料讀/寫系統 的方塊圖。 第2圖顯示DVD-RW媒體(VR格式)的配置圖。 第3圖顯示損壞替代資訊的配置圖。 第4圖顯示DVD-RW媒體(視訊格式)的配置圖。An alternative function, the damage location management of the embodiment of the present invention - in other words, the number of replacements in the storage medium or the broadcast system is limited because the number of replacements is limited. Even in such a storage medium or slot system, the y:: yoke example has a remarkable effect 'even if other damage occurs, the position management can be performed by the damaged location management information of the present embodiment. Although the above is disclosed in the preferred embodiment, it is not intended to limit the scope of the invention, and anyone skilled in the art can make a few changes and refinements without departing from the invention: The invention shall be subject to the scope defined by the scope of patents. The body or:: The embodiment may perform data reading by using a storage medium that cannot manage location information. BRIEF DESCRIPTION OF THE DRAWINGS [Fig. 1 is a block diagram showing a data read/write system according to an embodiment of the present invention. Fig. 2 is a view showing a configuration of a DVD-RW medium (VR format). A configuration diagram that corrupts the replacement information. Figure 4 shows a configuration diagram of the DVD-RW media (video format).

第 5 R — 圖顯示根據本發明實施例所述之資料讀/寫系統 之貝料輸入/輪出單元的邏輯配置圖。 第6圖顯示根據本發明實施例所述之儲存媒體初始化 順序的流程圖。Figure 5R - Figure shows a logical configuration diagram of a bucker input/rounding unit of a data read/write system in accordance with an embodiment of the present invention. Figure 6 is a flow chart showing the initialization sequence of a storage medium according to an embodiment of the present invention.

第7圖顯示根據本發明實施例所述之損壞位置資訊的 2156-9028-PF 38 200837736 配置圖 流程圖 流程圖 =8圖顯示根據本發明實施例所述之資料寫入順序 第9圖顯示根據本發明實施例所述之資料寫入順序 的 的 的流程圖 = 圖.,、ή根據本發明實施例所述之資料讀取順序 第1 1圖顯示根據本發明實施例所述之資料讀取順序 的流程圖。 主要元件符號說明】 1〜主機系統 2〜讀/寫裝置 3〜儲存媒體 1 0〜AV編碼器 11〜AV解碼器FIG. 7 is a view showing a broken position information according to an embodiment of the present invention. 2156-9028-PF 38 200837736 Configuration Diagram Flowchart=8 The figure shows a data writing sequence according to an embodiment of the present invention. The flow chart of the data writing sequence of the embodiment of the present invention is shown in FIG. 1 and the data reading sequence according to the embodiment of the present invention. FIG. 1 is a view showing the reading of the data according to the embodiment of the present invention. Sequence flow chart. Main component symbol description] 1~ Host system 2~Read/write device 3~Storage media 1 0~AV encoder 11~AV decoder

12 、 2卜CPU12, 2 Bu CPU

13 、 22〜RAM 14〜§己錄裝置控制器 2 0〜主機控制器 2 3〜馬達控制器 2 4〜馬達 25〜讀/寫信號處理器 26〜類比/數位與數位/類比轉換器13, 22~RAM 14~§ Recorded device controller 2 0~host controller 2 3~motor controller 2 4~motor 25~read/write signal processor 26~ analog/digital and digital/analog converter

2156-9028-PF 39 200837736 27〜光學讀寫頭 3 0〜糸統區域 31〜使用者資料區域 3 2〜檔案系統資訊 33〜自由空間 34〜使用者資料檔案 35〜容量資訊 36〜損壞替代資訊 37〜檔案資訊 38〜視訊管理者資訊檔案 39〜視訊資料檔案 40〜視訊管理者資訊備份檔案 41〜第一延伸資訊 42〜第二延伸資訊 43〜第三延伸資訊 50〜視訊管理者檔案 51〜第一視訊標題 52〜第二視訊標題 53〜視訊管理者資訊檔案(VIDE0_TS. IFO) 54〜視訊管理者資料檔案(VIDE0_TS. V0B) 55〜視訊管理者資訊備份檔案(VIDEO_TS. BUP) 56〜視訊標題資訊檔案(VTS_02_1. IF0) 57〜視訊標題資料檔案(VTS_02_1. VOB) 58〜視訊標題資料檔案(VTS_02_2. VOB) 2156-9028-PF 40 200837736 59〜視訊標題資訊備份檔案(VTS_02_0. BUP) 60〜應用層 61〜檔案系統層 62〜讀/寫裝置控制層 63〜讀/寫裝置内部控制層2156-9028-PF 39 200837736 27~ optical head 3 0 ~ system area 31 ~ user data area 3 2 ~ file system information 33 ~ free space 34 ~ user data file 35 ~ capacity information 36 ~ damage replacement information 37~File Information 38~ Video Manager Information File 39~ Video Data File 40~ Video Manager Information Backup File 41~ First Extension Information 42~ Second Extension Information 43~ Third Extension Information 50~ Video Manager File 51~ First Video Title 52~Second Video Title 53~Video Manager Information File (VIDE0_TS. IFO) 54~Video Manager Data File (VIDE0_TS. V0B) 55~Video Manager Information Backup File (VIDEO_TS. BUP) 56~Video Title Information File (VTS_02_1. IF0) 57~Video Header Data File (VTS_02_1. VOB) 58~Video Header Data File (VTS_02_2. VOB) 2156-9028-PF 40 200837736 59~Video Header Information Backup File (VTS_02_0. BUP) 60 ~ Application layer 61 ~ file system layer 62 ~ read / write device control layer 63 ~ read / write device internal control layer

4141

2156-9028-PF2156-9028-PF

Claims (1)

200837736 十、申請專利範圍·· 1 ·種資料讀寫系統,用來读跑一 資料或是將上述資訊資料考°貝—啫存媒體的-資訊 -㈣雷敗: 述儲存媒體,包括: 偵邓電路,用來監視讀取 資料或是將上述資訊資料穹 …存媒體之上述資訊 -損麥述館存媒體;以及 理電路,用來管理發生於讀 一損壞區域的資訊, 冩私序中200837736 X. The scope of application for patents·· 1 · A kind of data reading and writing system, used to read a data or to test the above information - the information - (four) thunder: the storage media, including: Deng circuit, used to monitor the reading of data or to store the above information in the media information - the memory of the Messiah library; and the circuit to manage the information that occurs in a damaged area, in the private order 其中上述儲存媒體包括 訊資料,以及一系統區域, 資訊資料的狀態,以及 一資料區域,用來寫入上述資 用來管理寫入上述資料區域之 =損壞管理電路係根據上述損壞電路輸出的上述損 二欠1^ 、次寫入私序之上述損壞區域 貝W作為一才貝壞位置資 ^ 一寫非主要用來儲存上述損壞位 置資訊的區域。 义姻環位The storage medium includes a data, a system area, a status of the information material, and a data area for writing the information to manage the writing of the data area. The damage management circuit is based on the damaged circuit output. The damaged area owes 1^, and the above-mentioned damaged area of the second-order private order is used as a field for the location of the damaged location information. Marriage ring ,其中 區域資 、申β專利圍第1項所述之資料讀寫系統 f述制電路係將發生於上述讀取程序之上述損壞 甙纪錄至一較高階系統;以及 述知裏&amp;理電路係根據上述較m統輸出之一控 :指令將用來記錄上述儲存媒體中資訊資料作為損壞位置 貝a之上述知壞區域f訊寫人非主要用來儲存 置資訊的區域。 、3.如申明專利範圍第丨項所述之資料讀寫系統,其中 —述儲存媒體中的系統區域不包括用來儲存上述損壞位置 資訊的一指定區域;以及 2156-9028-PF 42 ♦ 200837736 上述損壞管理電路係於上述資訊資料寫入上述健存媒 體時將發生於上述健存媒體中的錯誤位置資訊寫入儲 存媒體。 4·如申睛專利範圍第!項所述之資料讀寫系統,其中 =述儲存媒體係用來記錄管理寫人資訊資料之—檔㈣統 Μ訊,以及 若上述檔案系統資訊不包括上述損壞位置資訊,上述 ==電路係於作為除了上述權案系統資訊之;卜的資: ^^入貧訊資料時將發生於上述儲存媒體中的錯誤位置 貝妣寫入上述儲存媒體。 ^中請專利範圍第i項所述之資料讀寫系統,其中 置媒體之上述系統區域不包括用來儲存上述損壞位 宰;:指定區域,並且記錄用來管理寫入資訊資 子田木糸統貧訊;以及 述ηίΐ述㈣系統資訊不包括上述損壞位置資訊,則上 ,貝、if路係於作為除了上述檔案 訊資料寫入μ、+、次外一 η 士 貝成之外的貧 什冩入上述- 貝讯貧料時將發生於上述儲 誤位置資訊寫入上述儲存媒體。 …、—、,,曰 上述IS申請專利範圍帛1項所述之資料讀寫系統,其中 …子媒體之上述系統區域不包括 置資訊之-指定區域;以及 〗存W展位 不包二 =!統從包括損壞位置資訊的槽案系統變為 匕括知壞位置貧訊的檔案系統時,巧 將儲存於包挺h , 娟環官理電路係 、⑼上述扣壞位置資訊的槽案系統之損壞位置資 2156-9028-PF 43 200837736 訊作為除了上述檔案系統資訊之外的資訊資料寫入上述儲 存媒體。 一 7·如申睛專利範圍第6項所述之資料讀寫系統,其中 田上述扣壞管理電路藉由使用儲存於非主要用來儲存以不 =括知壞位置貧訊之檔案系統執行初始化之上述損壞位置 ,的上述損壞位置資訊對不包括上述損壞位置資訊的一 槽案系統執行再初始化時,上述損壞管理電路係將i述損 壞位置貢訊作為除了播案系統資訊之外的資訊資料寫入上 述儲存媒體。 8·如申請專利範圍 上述損壞位置資訊包括 號之至少一者。 第1項所述之資料讀寫系統,其中 一實體區段編號以及一邏輯區段編 上述二=清專利範圍第1項所述之資料讀寫系統,其中 π官理電路係將上述損壞位置資訊之一寫入位置設 疋至上述系統區域中使用者盔 在K m〜 i接存取且非主要用來儲 #存上述知壞位置資訊的區域,並且執行寫入摔作。 上述^?請專利範圍第1項所述之資料讀寫系統,其中 上述知壞官理電路係將上述損壞位置資、 定至可從上述較高階系統執行讀取或寫入的::ί: 將上述知壞位置資訊寫入作為一檔案。 a如申請專利範圍第】項所述之資料續y系 上述損壤管理電路係將上述損壞位置資气入、、/、中 至可從上述較高階系統執行讀取或寫入的—使定 域,並且執行寫入操作。 吏用者貝料區 2156-9028-PF 44 200837736 ^2广如^_範㈣1項所述之資料讀寫^,其中上 述知壤管理電路係將上述、 吞目士广 直貝σ札之冩入位置設定 至,、有區塊編號小於上述較 浐牵叔$ 乩季又间匕糸統所建立之所有使用者 才田案起始位置之區塊編號的區塊 號大於所有使用者俨宏&amp; &amp; ^汉 /、有區塊編 執行寫:案結束位置之區塊編號的區塊,並且 不如Λ請專利範圍第1項所述之資料讀寫系統,其中 从 置貝訊的檔案系統來執行窵入接 作的儲存媒體改變為具有包括 ’、、、” 時,上述損壞管理電路择^ 貝訊的槽案系統 斟針 路係§主冊上述損壞位置資訊,以不要 作,並且執行再初始化操作。£執--取或寫入操 如申請專利範圍第i項所述之資料讀寫系統,其中 右述知案糸統貧訊的寫入位置符合上述損壞位置資訊指 不的寫入位置,上述損壞管理電 夕智,^ 电峪係將上述檔案系統資訊 之寫入位置設定至上述損壞位置資 位置,並且執行寫入操作。““寫入位置後方的 15·如f請專利範圍第!項所述之資料讀寫系、統, 在檔案管理資訊僅配置一組起始 ,,^ 1置以及檔案長度的例子 ’員壞位置資訊所指示的寫入位置係存在於上述檔案之 =起始t置的Γ預定資料尺寸中,上述損壞管理電路係 晋起始£丰又編5虎设定至上述損壞位置資訊所指示寫入位 置之後方位置的編號,並且執行寫入操作。 16.如申請專利範圍第2項所述之資料讀寫I统,其中 2156-9028-PF 45 200837736 在檔案管理資訊僅配置一組起始位置以及檔案長度的例子 中,若上述影音視覺檔案的寫入位置符合儲存於上述損壞 位置資訊的寫入位置,則寫入需要及時特性的一影音視覺 檀案, 上述較高階系統沒有請求將資訊資料寫入上述儲存媒 體中將資訊資料寫入儲存媒體的讀寫位置。 17. 如申請專利範圍第2項所述之資料讀寫系統,盆中 =讀取寫人上述儲存媒體的資料時上述損壞位置資訊中的 損壞位置符合讀取位置; 上述較尚階系統係請求將資訊資料寫入上述儲存媒體 中將資訊資料寫入儲存媒體的讀寫位置。 ” 18. 如申請專利範圍第16或17項所述之資料讀寫系 ,、其:當上述讀寫裝置讀取寫入上述儲存媒體的檔案 日”若讀取物件檔案具有備份檔案且上述損壞位置資訊中 的損壞位置存在於寫入檔案的區域,則上㈣ 置 • 要讀取上述讀取物件檔案而是讀取上述備份檔案。 而 19. 一種資料讀取程式’ 一電腦係配置一資料讀取系 統,上述資料讀取系統係執行讀取—儲存媒體之—資訊資 料以及將上述資訊資料寫入上述儲存媒體之至少—者.、 -監視功能,用來監視讀取上述儲存媒體之資訊資料 或是將上述資訊資料寫入儲存媒體;以及 一寫入資訊功能係根據監視輸出結果的—損壞區域資 =將上述讀寫程序中所造成之上述損壞區域資訊作為一損 要用來錯存上述損壞位置資訊的區 2156-9028-PF 46 200837736 域0 zu•如申請專利範圍 中备斜宜Λ L 丨逆之賁料讀取程式,豆 中田對寫入上述儲存媒體中 /、 含於上述損壞位置^ ^该「MW取操作時’若包 W貝展位置貝吼的扣壞區域符合 述程式使上述電腦輸出非請求寫入資 祖 ’則上 至上述儲存媒體中用來將上述資訊資料^控制指令 寫位置。 、枓寫入儲存媒體的讀 21. 如申請專利範圍第19項 中當對寫入上述餘存媒體的一標宰;貝取程式,其 ^ ^ ^ 田茶執订頃取操作時,若一 吞貝取物件4當t具有一備份檔案且包 中的上述損壞位置存在於寫入切;^上^貝壞位置資訊 =腦輪出非用來讀取上述讀取物件檔 = 述備份檔案的一控制指令。 、取上 22. 一種資料讀寫方法,用來執行讀 -資料以及將資料寫入上述儲存媒體之至少一二體括中的 入上上述儲存媒體之資訊資料或是將資訊資料寫 入上逑儲存媒體;以及 監視輸出結果的一損壞區域資訊將上述讀寫程序 斤以成之上述損壞區域資訊作為一損壞位置資訊寫入非 主要用來儲存上述損壞位置資訊的區域。 ^如申請專利範圍第22項所述之資料讀寫方法,其 中在:取寫入上述儲存媒體之資料的例子中,若包含於上 述知壞位置貧訊中的上述損壞位置符合上述讀取位置,則 避免將上述貧訊貧料寫入上述館存媒體中用來將上述資訊 2156-9028-PF 47 200837736 貧料寫人儲存媒體的讀寫位置。 24·如申請專利筋圍 ^ 圍弟22項所述之資料讀寫方法,1 中在頃取寫入上述 - 物件檔宰1有心I 檔案的料巾,若—讀取 1田杀昇有一備份槽素日 ± ^ ^ ^ . μ 匕3於上述損壞位置資訊中的 上述知壞位置存在於卜 T ^ M On Μ 、 ;t *案寫入的區域,則避免讀取上 “取物件標案並且讀取上述備份標案。 25次-種儲存媒體,用來讀寫一資料,包括: 一資料區域,用爽宜X — _ 一/ 术冩入一貧訊資料·,以及 糸統區域,用來普?审仓^ 的狀萍, 寫入上述資料區域之資訊資料 其中用來寫入上述資却次柯Μ ^ 捸 貝枓的一損壞區域係作為一損 . 來儲存上述損壞位置資訊的區 域0 26.—種儲存媒體,用來讀寫資料,包括: 一資料區域’用來寫入一資訊資料;以及 • —系統區域’用來管理寫入上述資料區域之資訊資料 的狀態, 、 其中上述系統區域包括—槽案系統,上述播案系統不 =括用來儲存指示上述資訊f料寫人錯誤位置之損壞位置 貝及的才曰疋區域,且不包括上述損壞位置資訊之槽案系 統係用來管理上述儲存媒體中的一標案,且上述系統區域 係儲存上述損壞位置資訊。 2156-9028-PF 48The data reading and writing system described in item 1 of the regional and patent patents will be recorded in the above-mentioned reading program to record a damage to a higher-order system; and the description of the &amp; According to the above-mentioned one-mesh output control: the instruction is used to record the information material in the storage medium as the damaged location, and the non-maintenance area is not used to store information. 3. The data reading and writing system of claim </ RTI> wherein the system area in the storage medium does not include a designated area for storing the damaged location information; and 2156-9028-PF 42 ♦ 200837736 The damage management circuit writes the error location information generated in the health storage medium to the storage medium when the information material is written into the health storage medium. 4·If the scope of the patent application is the first! The data reading and writing system described in the item, wherein the storage medium is used to record and manage the information of the writer, and if the file system information does not include the damaged location information, the above == circuit is In addition to the above-mentioned rights system information; the capital of the information: ^^ into the poor information data will occur in the above-mentioned storage media, the wrong location is written into the storage medium. ^ The data reading and writing system described in item i of the patent scope, wherein the above system area of the medium does not include the storage of the above-mentioned damage;: the designated area, and the record is used to manage the writing of information. The poor news; and the description of the ηί ( (4) system information does not include the above-mentioned damage location information, then the upper, the Bay, if road is in addition to the above file information written in μ, +, the second η 士What is entered into the above-mentioned storage media when the poor information is stored in the storage location. ..., -,,, 曰 The above-mentioned IS application patent scope 帛1 data reading and writing system, wherein ... the above-mentioned system area of the sub-media does not include the information-specified area; and the storage W booth does not include two =! When changing from a slot system that includes location information to a location to a file system that includes a bad location, it will be stored in Bao Tingh, Juanhuan Government Circuit, and (9) the slot system that defrauds the location information. Damage location 2156-9028-PF 43 200837736 Information is written to the above storage media as information other than the above file system information. A data reading and writing system as described in claim 6 of the scope of the patent application, wherein the above-mentioned deduction management circuit performs initialization by using a file system stored not for storage, not for storing bad information. When the damaged location information of the damaged location is re-initialized by a slot system that does not include the damaged location information, the damage management circuit uses the damaged location information as information material other than the broadcast system information. Write to the above storage medium. 8. If the scope of the patent application is above, the damage location information includes at least one of the numbers. The data reading and writing system according to Item 1, wherein a physical segment number and a logical segment are encoded by the data reading and writing system described in Item 1 of the above patent scope, wherein the π official circuit is to damage the location One of the information writing locations is set to the area in the system area where the user's helmet is accessed by Km~i and is not mainly used to store the above-mentioned information of the location information, and the write is performed. The above-mentioned data reading and writing system of the first aspect of the patent scope, wherein the above-mentioned knowledge of the damage is determined by the above-mentioned damage location to be read or written from the higher-order system:: ί: The above-mentioned bad location information is written as a file. a. According to the data in the scope of the patent application, the y is the above-mentioned damage management circuit, which can read or write the above-mentioned damage location, and/or can be read or written from the higher-order system. Domain and perform write operations.贝 贝 贝 2 156 156 156 156 156 2 2 2 2 2 2 2 2 2 2 2 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 , The location number is set to, and the block number is smaller than the above block number. The block number of all the user field records established by the system is larger than the block number of all users. ; &amp; ^ Han /, block editing execution block: block number block in the end of the case, and is not as good as the data read and write system described in item 1 of the patent scope, which is from the file system of Beibei When the storage medium for performing the intrusion is changed to have the inclusion of ',,,,, the damage management circuit selects the slot system, the needle system, the main location of the damaged location information, so as not to do, and execute again. Initialization operation. Take or write the data reading and writing system as described in item i of the patent application scope, wherein the writing position of the right-hand knowing system is in accordance with the above-mentioned damaged position information Location, the above damage management Xizhi, ^ The electric system sets the writing position of the above file system information to the above-mentioned damaged position position, and performs a writing operation. ""15 after writing the position, as described in the patent scope! Data reading and writing system, system, only one set of start-up is configured in the file management information, ^1 set and file length example. The write position indicated by the member's bad position information exists in the above file = start t In the predetermined data size, the above-mentioned damage management circuit is set to the number of the position after the write position indicated by the above-mentioned damaged position information, and the writing operation is performed. The data read and write I system mentioned in item 2, 2156-9028-PF 45 200837736 In the example of file management information only configuring a set of starting position and file length, if the above-mentioned video visual file is written in the location The writing position of the damaged location information is written into a video and audio recording case requiring timely characteristics, and the higher-order system does not request to write the information data into the storage medium. The information is written to the reading and writing location of the storage medium. 17. If the data reading and writing system described in the second paragraph of the patent application is in the basin, the damaged location in the damaged location information is met when the data of the above-mentioned storage medium is read in the basin. Reading position; the above-mentioned system is required to write information information into the storage medium to write the information data to the reading and writing position of the storage medium." 18. Read and write the data as described in claim 16 or 17. And: when the read/write device reads the file date written in the storage medium, if the read object file has a backup file and the damaged location in the damaged location information exists in the area where the file is written, then (4) • To read the above read object file, read the above backup file. 19. A data reading program 'a computer system is configured to read a data reading system, the data reading system is to perform reading-storage media-information materials and writing the information materials to at least the storage medium. - a monitoring function for monitoring the reading of the information material of the storage medium or writing the information material to the storage medium; and a writing information function according to the monitoring output result - the damaged area is = in the above-mentioned reading and writing program The above-mentioned damage area information is used as a damage area to be used to store the above-mentioned damaged position information. 2156-9028-PF 46 200837736 Domain 0 zu•If the patent application scope is suitable for L-reversal data reading program , the bean Zhongtian pair is written into the above storage medium, and is included in the above-mentioned damaged position ^ ^ The "MW take operation" if the package is in the position of the buckled area, the program is in accordance with the program, so that the computer output is unsolicited. The ancestor is used to write the above information data control instruction to the above storage medium. 枓 Write to the storage medium for reading 21. Among the 19 items, a standard is written to the above-mentioned remaining media; the program is taken, and ^ ^ ^ Tian tea is ordered to take the operation, if one swallows the object 4 when t has a backup file and the above damage in the package The location exists in the write cut; ^ on the ^ bad position information = brain wheel out is not used to read the above read object file = a backup file of a control command. Take 22. A data read and write method, used to Executing read-data and writing data into at least one of the above-mentioned storage media into the information material of the storage medium or writing the information data to the storage medium; and monitoring a damaged area information of the output result The above-mentioned reading and writing program uses the above-mentioned damaged area information as a damaged position information to write an area that is not mainly used for storing the damaged position information. ^ As described in claim 22, the data reading and writing method is as follows: In the example of the data written in the storage medium, if the damaged location included in the known bad location meets the read position, the poor poor material is prevented from being written into the above The storage media is used to read and write the above-mentioned information 2156-9028-PF 47 200837736 poor material storage media. 24·If you apply for patent ribs ^ 22 brothers described in the data read and write methods, 1 in the Take the above-mentioned object-slaughter 1 heart-shaped I file, if - read 1 Tian-shen has a backup slot prime day ± ^ ^ ^ . μ 匕 3 in the above-mentioned damaged position information in the above-mentioned know-how position exists in The area where the T ^ M On 、 , ;t * case is written, avoids reading the "take object" and read the above backup standard. 25 times - a kind of storage medium for reading and writing a piece of information, including: a data area, using cool X - _ a / surgery into a poor information, and the SiS area, used for general? The information of the case is written into the information material of the above data area, which is used to write a damaged area of the above-mentioned capital Μ Μ 捸 捸 捸 作为 作为 作为 作为 作为 作为 作为 26. 26. 26. 26. 26. 26. 26. 26. a storage medium for reading and writing data, comprising: a data area 'used to write an information material; and a system area' for managing the status of the information material written in the data area, wherein the system area Including a slot system, the above-mentioned broadcast system does not include a location for storing the location of the damaged location indicating the wrong location of the information, and the slot system not including the damaged location information is used Managing a standard in the storage medium, and the system area stores the damaged location information. 2156-9028-PF 48
TW96150794A 2007-03-09 2007-12-28 System, method and program for reading and writing data TW200837736A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007061064 2007-03-09

Publications (1)

Publication Number Publication Date
TW200837736A true TW200837736A (en) 2008-09-16

Family

ID=39759205

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96150794A TW200837736A (en) 2007-03-09 2007-12-28 System, method and program for reading and writing data

Country Status (2)

Country Link
TW (1) TW200837736A (en)
WO (1) WO2008111261A1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0896520A (en) * 1994-09-28 1996-04-12 Toshiba Corp Data recording/reproducing device and its access method
JPH1186454A (en) * 1997-09-05 1999-03-30 Sanyo Electric Co Ltd Recording/reproducing method and device

Also Published As

Publication number Publication date
WO2008111261A1 (en) 2008-09-18

Similar Documents

Publication Publication Date Title
JP4242966B2 (en) Recording medium for storing real-time recording / reproduction information
US7072256B2 (en) Information recording medium, information recording method and information reproduction method
JP2002521787A (en) A method for recording / reproducing data in / from an optical recording medium in real time and a method for managing files thereby
JP4537203B2 (en) Optical information storage medium and recording method thereof
US7058770B2 (en) Method and apparatus for controlling the recording of digital information, by using unit management table
JP2005011429A (en) File management method and recorder, reproducing device, and recording medium
JP4769881B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
EA010777B1 (en) Method and apparatus for recording a digital information signal
RU2005114052A (en) OPTICAL RECORDING MEDIA, DEVICE AND METHOD FOR RECORDING-PLAYBACK, METHOD OF INITIALIZATION AND METHOD OF REPEAT INITIALIZATION
WO2004049326A1 (en) Power failure recovery method
US6910115B2 (en) System and method for configuring a removable storage medium
JP2001325773A (en) Information recording medium, information recording method, and information reproducing method
US7020799B2 (en) Method of and a system to play a media file
TW200837736A (en) System, method and program for reading and writing data
JP4713140B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
JP4144597B2 (en) Optical disk recording apparatus and method, and camera-integrated disk recording apparatus
KR100611828B1 (en) Recording apparatus, recording method, program, and recording medium
JP4445173B2 (en) Access device and computer-readable recording medium
JP2005353180A (en) Data processing apparatus
JPWO2005029492A1 (en) Recording / reproducing apparatus and recording medium
KR100644891B1 (en) The Method of Recording and Recovery Recording Breaking Point in case of Power fail in DVD-R/RW
US20070263526A1 (en) File recording method and apparatus
JP2003263840A (en) System for processing write error
JP2009016010A (en) File management method