TWI323888B - Defect management method and system of optical disk drive - Google Patents

Defect management method and system of optical disk drive Download PDF

Info

Publication number
TWI323888B
TWI323888B TW95122653A TW95122653A TWI323888B TW I323888 B TWI323888 B TW I323888B TW 95122653 A TW95122653 A TW 95122653A TW 95122653 A TW95122653 A TW 95122653A TW I323888 B TWI323888 B TW I323888B
Authority
TW
Taiwan
Prior art keywords
defect
data item
new
data
address
Prior art date
Application number
TW95122653A
Other languages
Chinese (zh)
Other versions
TW200739557A (en
Inventor
Chun Ying Chiang
Minghung Lee
Shu Fang Tsai
Original Assignee
Mediatek Inc
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
Priority claimed from US11/278,968 external-priority patent/US7697388B2/en
Application filed by Mediatek Inc filed Critical Mediatek Inc
Publication of TW200739557A publication Critical patent/TW200739557A/en
Application granted granted Critical
Publication of TWI323888B publication Critical patent/TWI323888B/en

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

1323888 九、發明說明: 【發明所屬之技術領域】 2 —種管理以及料—光碟片上缺峨區塊之 光碟機以及方法 n㈣及方法’尤指―種在記憶體紐新缺陷表 )來管如及儲存—光碟片上_資料區塊之位址的 【先前技術】 為具綠顿尺寸、較高_存容量以及較低的價 貞訊纽會彳1已㈣域&為-佩重要的非揮發性儲 ^ ’例如’隱_碟片的發展已經使得使用者可以依照 DVD 在光碟片上寫入資料變成可能的,這樣使得該 DVD-RAM剌具有更冑的應肖雜。 # 辦機_以“或讀取—辆狀裝置請參㈣!圖, 圖所不為s知光碟機1〇,光碟機1〇包含有一支樓盤(触^ plate) 14來支撐光碟片22、一馬達12來驅動支標盤μ、一讀寫 頭16在光碟>{ 22上存取資料、一控制電路】8來控制光碟機】〇 的操作以及一記憶體20 (例如動態隨機存取記憶體)作為暫存褒 置來記錄在控制電路18的運作中所有相關的資料。 光碟片22上的資料是經由蝕刻區(pit)與平坦區(land)的標記 來依序燒錄在執道24上,需注意的是躲硕種_光碟機而 13238«« 言’燒賴刻區與平坦區之標記的方式是不同的,以DVD-RAM 碟片為例,其採用-種相變化方式來燒錄钱刻區與平坦區的標 記,換句話說,使耻制的·魏方式是相祕 使用在CD-RW碟片料燒錄方式。當光碟機1〇準備好在光碟 片22上寫入資料時’首先,光碟機1〇在記憶體20先儲存所要寫 入的責料’此時資料尚未寫入光碟片。讀寫頭16啊對在光碟片 22上的缺陷進行檢查,以及傳送該檢查結果給控制電路a。 常常由於顺、材料特性的改變歧塵的干擾而造成缺陷, 使付資料無絲絲則22上,為了增加辆#(例如 碟片)的可罪性’資訊科技產業一直持續在研發光碟片缺陷管理 方法’ S該光碟片的某些區域包含有—缺畴,這樣的區域就不 適合拿來儲存資料,而1^_麵格式會改寫該目料到一可 儲存的區域。 虽光碟機10嘗試自光碟片22存取資料時,將會暫時載入光 碟片22的缺陷表到記憶體2〇,而如熟習此項技藝者所知, DVD-RAM碟包含杨個缺絲’其將在之後有麟細的描 述。^光碟機10試著去存取光碟片22上的資料時,光碟機1〇用 每一個資料區塊的位址去存取想要的資料,如果一資料區塊是有 缺陷的,則光碟機1〇由於缺陷表的幫助來找出儲存有使用者資料 的替代資料區塊(replacement(jatablock),如此一來,即使光碟片 22上有缺陷,仍然可以讀出光碟片22上面所儲存的資料。 7 另一方面,光碟機1〇在光碟片22上寫入資料時需要更新暫 予在錢體20 +的缺陷表。例如,假設光碟機1〇於寫入資料期 間(不論是格式化階段或是寫人階段)在光碟片22上發現新缺 陷’光碟機10係依據缺陷位址次序(亦即,基於該新缺陷的位址) 來直接插人對應到該新缺陷的—資料項(entry)到暫存於記憶體 2〇的缺陷表,這項操作的細節已為熟習此項技術者所了解,故在 此不另贅述;之後’當辆機1G停止雜細# 22上的資料時, 光碟機1G便將更新後的缺陷表從記㈣2()寫回至光碟片22,例 如’當光碟# 22在結束格式化階段或寫入階段後退片時,則光碟 機10便停止在光碟片22上存取資料,而當光碟機1〇下一次試著 在光碟片22存取資料時,該更新後的缺陷表便可提供光碟機1〇 所需的參考資訊。 請同時參照第2圖以及第3圖,苐2圖為f知光碟機1〇所應 用之主要缺陷表(primaiydefeetlist PDL) 26的示意圖以及第3 圖為S知光碟機Η)之次要缺陷表(Sec〇n(JaIy defect丨丨贫,SDL) % 的示意圖。請注意’DVD-RAM碟片的主要缺陷表26的任一資料 項(响0的資料長度均是4位元組,其是由下觸資訊以及在 括弧内所對應之需儲存該資訊的大小所組成:主要缺陷表類別(1 位兀組)以及缺陷位址(3位元組);同樣的,請注意在次要缺 陷表28中,每一資料項的資料長度是8位元組,其是由下列的資 訊以及在括弧内所對應之需儲存該資訊的大小所組成:次要缺陷 表類別(1位元組)、缺陷位址(3位元組)、保留位元組〇位元 1323888 組)以及替代位址(3位元組)。不管它們的位置,主要缺陷表% 以及次要雜表28的請根據_資料區塊崎應的位址來 加以儲存’例如,缺陷資料區塊可以用遞增的方式來储存如肌 資料項0 < PDL資料項1 < PDL資料項2 < pDL資料項p < FFFFFFFF。請注意’ FFFFFFFF代表主要缺陷表%的結尾, 然而,對於用來取代缺陷資料區塊的資料區塊而言,其相對應位 址可能不存在任何特定順序。一般而言,主要缺陷表%是用來記 錄在格式化階段令的缺陷,而次要缺陷表28則是用來記錄在寫入 階段的缺陷。 如先前所述,如果光碟機10在寫入階段期間發現一缺陷資料 區塊,則光碟機10便使用另一資料區塊(例如一可利用的空白區 塊)會來取代該缺陷資料區塊,以及更新暫存在記憶體中的次 要缺陷表28,如此一來’更新後的次要缺陷表28便反應出該缺 陷資料區塊以及替代資料區塊之間最新的連結關係。 很明顯的,習知技藝中,缺陷管理方法的效能是比較差的, 主要疋其對s己憶體20中的主要缺陷表26或次要缺陷表28造成不 必要修改以及經常執行的排序操作將會降低記憶體2〇的效能,所 以,很明顯需要新且改良的方法以及裝置。 【發明内容】 根據本發明之一實施例,其揭露一種應用於一光碟機來管理 9 用來存取光碟片脱(例如—DVD.MM光碟片);—控制号ι〇6, 用來控制光碟機⑽的操作;以及—記憶體⑽(例如—動離隨機 存取記賴’ DRAM),时暫存_主要雜錄叫26以及一次 ,缺陷表(SDL)28等資料。在本實施例中,於光碟機刚開機後或 疋準備寫人任何資料於光碟片1G2時,控制器1()6便會在記憶體 108内產生—新缺陷表請參閱第5圖第5騎示為第 4圖中新缺陷表30之示意圖。請注意,第5圖所示之新缺陷表% Z以相容於主要缺陷表26或次要缺陷表28,因此於其自適性缺陷 貝料項(adaptive defect entry)中便採用”PDL/SDL,,來標記。新缺 陷表30是在光碟機100的記憶體1〇8内所產生的,用來儲存光碟 片102上新發現缺陷的自適性缺陷資料項,而在本實施例中,新、 缺陷表30係於光碟機1〇〇的兩個階段其中之一階段中被產生的。 首先’在一格式化階段期間,新缺陷表3〇係符合第2圖_主要缺 陷表26所定義之4位元組請項大小;而在—#料寫入階段期 間,新缺陷表30則符合第2圖中次要缺陷表28所定義之8位元 組為料項大小。此外’新缺陷表3〇除了依據上述階段來產生,其 另參考缺陷表(主要缺陷表26或次要缺陷表28)的已使用容量來 產生。具體的來說,若主要缺陷表26在格式化階段細存滿缺陷 貝料項’則因為主要缺陷表26無法再儲存任何缺陷資料項,因此 新缺陷表t的自適性資料項的格式會改為符合8位元組大小之次 要缺陷#料項格式,將在格式化階段中所溢出的相關缺陷資料儲 存於新缺陷表巾,最後再合制次要缺陷表巾(因為主要缺陷表 已經無法儲存任何格式化階段中所產生的缺陷資料項)。 1323888 請參照第6圖’第6圖為根據本發明管理光碟片上資料之方 法之一實施例的流程圖。本發明方法包含下列步驟: 步驟400:開始。 步驟405 :是否是在寫入階段?如果是,跳到步驟42();如果否, 則進入步驟410。 步驟稱:主要缺陷表(PDL)是否已滿?如果不是,跳到步驟425 ; 擊 如果已滿,則進入步驟420。 步驟420 :產生相容於次要缺陷表(SDL)的新缺陷表,以及 .跳到步驟430。 步驟425 :產生相容於主要缺陷表的新缺陷表,並進入步螺挪。 步驟430 :偵測到新缺陷。 步驟435:在驗絲巾韻的自雜軸賴顧記錄的位址是 否小於新缺陷的位址?如果是,跳到步驟445 :如果否’ • 則進入步驟440。 步驟44〇:合併該新缺陷表以及主要缺陷表/次要缺陷表。 步驟445 :附加新缺陷至新缺陷表。 步驟450 :在_格式化階段或寫塌段之前,合併該新缺陷表以 及主要缺陷表/次要缺陷表。 步驟455 :結束。 - 在步驟400巾,一開始時光學讀寫頭104會去讀取儲存在光 ' 碟片1〇2的主要缺陷表%以及次要缺陷表28,然後將其暫存到記 13 =體108中。在步⑽5裡,基於光碟機ι〇〇的碟 表3。的自適性缺陷#料項的格式是否必須與次::陷 料窝入^_料項的格式相容。如果該則操域式是一資 ’然後在步驟420裡,控制器產生 -相容的新缺陷表30,否則就執行步請,淺顯;人= ::作模式或執行階段是處於光碟片格式化,則光4 、、/制主要缺陷表26的已使用容量狀態是否為已滿,如果已經 I在步驟420子里,控制器106會產生其資料結構與次要缺陷 表之資料結構相同的新缺陷表3〇 ;相反地,如果還沒滿,在步 驟425裡,控制器1〇6則產生其資料結構與主要缺陷表%之資料 結構相同的新缺陷表3〇。 在步驟430中,光碟機1〇〇利用任何習知的方法來摘測光碟 片102上一新缺陷,而在步辣435 +,控制器1〇6必須伯測記錄 在新缺陷=30中最新的自適性缺陷:諸項所包含之—缺陷資料區 塊之位址是否小於騎侧狀缺陷諸區塊的健^如果沒 有,之後在步驟44G裡’新_表3G攸齡式嫌段或寫入階 k來與主要缺陷表或次要缺絲進行資料合併。請频第7圖以 及第8圖,第7圖絲據本發崎缺陷表3()與主要缺陷表26/次 要缺陷表28進行合併之—實施例的示意目,而第8圖為合併完成 後一新自適性缺陷資料項被加入到新缺陷表3〇的示意圖。如第7 圖所示,該新自適性缺陷資料項η(χ_Μ)6〇記錄最新侧到的缺 陷資料區塊之一位址,其係小於儲存在新缺陷表3〇中最後資料項 η x的位址’所以,會啟動一合併的操作,在步驟44〇完成合併的 刼作後,新缺陷表30會被清空以及繼續接著執行步驟秘。如第 8圖所示’該新的自適性缺时料項η(χ_Μ)6()是附蝴空的新缺 陷表30,然後成為在新缺陷表3Q裡的第—個自適性缺陷資料項。 凊>主意’為了簡化說明,第7圖中的新缺陷表3〇中可能是相容於 主要缺陷表或次要缺陷表,因此在新缺陷表表3G中的自適性^陷 資料項係採用” PDL/SDL”來加以標記。 、 請再次參閱第6圖’不同於上述運作的是,如果在步驟奶 中制到記錄在新缺陷表3〇的最新自適性缺陷資料項所包含之一 缺陷資料(1塊的位址小於該__之缺陷資料區塊的位址,則 在步驟445裡,對應該新制到之缺陷資料區塊的新自適性缺陷 資料項便直接附加鎖缺陷表3G中。請參閱第9圖第9圖是該 新自適性缺陷資料項直接附加到新缺陷表30的示意圖。如第= 所不,該新自適性缺陷資料項η(χ娜5係記錄該新_的缺陷資 ^區塊之位址’其大於儲存在新缺陷表⑽中最後—個自適性缺陷 貝料項η X所記錄的位址,所以,該新自適性缺陷資料項啦聊 便直接附加聊缺陷表3〇柯需要資料合併的操作。_主音,第 9圖中新缺陷表30可能是相容於主要缺陷表或次要缺陷表^此 在新缺陷表30中的自適性缺陷資料項係獅’職况,,來加以標記。 ,便在_08中與主要缺陷 28進行合併。如 、人要缺喊 1〇8内的主要…% 片102退片前,在記憶體 ㈣主要缺陷表26以及次要缺 碟片102中。 衣δ會破回寫到光 睛注意,在上述實施财,新顧表%可以依據—些條件 於5己憶體108内跟主要缺矣%七® 哪主要挪表26或次要缺陷表28進行合併,例 ’其t-個條件可以是在—默時間_後便進行合併,或兮 缺陷表已滿^而為了更有可靠性,本發啊以不時地去執行合 :的操作、。此外,用來執行合併的條件亦可以是當光碟機的所有 '、作已經被執行時,請注意’這些條件僅是作為實施例並不是本 發明之_,其他的條件也可以使用,而由於熟知此項技藝人士 可以很容易瞭解,故在此不另贅述。請注意,上述之實施例中, 詳細描述之缺陷表管理機制是用在DVD-RAM光碟片,然而,這 僅作為一個例子,並不是本發明之限制。 相較於習知技藝,本發明藉由使用新缺陷表來暫存光碟片上 新的缺陷資料區塊的缺陷資料項,因此對主要缺陷表或次要缺陷 表中所儲存之資料項進行排序的操作次數便可減少,除此之外, 當一合併操作被啟動,該新缺陷表便會與已依據缺陷位址順序儲 存Μ料項之主要缺陷表或次要缺陷表進行合併,如此一來,便可 以簡化資料合併的操作。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範 圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 【圖式簡單說明】 第1圖所示為一習知光碟機。 第2圖為根據習知光碟機之主要缺陷表的示意圖。 第3圖為習知光碟機之次要缺陷表的示意圖。 第4圖為本發明光碟機之一實施例的功能方塊圖。 第5圆所示為第4圖中新缺陷表之示意圖。 第6圖為根據本發明管理光碟片之方法之一實施例的流程圖。 第7圖為根據本發明新缺陷表與主要缺絲/:欠要缺陷表進行合併 之一實施例的示意圖。 第8圖為合併完成後—新自適性缺陷資料項·^新缺陷表的示意圖。 第9圖是該新自適性缺陷資料項直接附加到新缺陷表的示意圖。 【主要元件符號說明】 10 » ion —— A v 1 \J\J To '--~~_ 光碟機 一 1 Zm 1 Λ ^------ 馬達 1 f. ------- 10 讀寫頭 — ^ ~' ' ~~~---- ΟΛ . 1 rv〇 ----—___ 控制電路 — ^ 1 1U8 ,1 ' --—___ 記憶體 ^ » 1U2 光碟片 1323888 24 執道 104 光學讀寫頭 106 控制器 26 主要缺陷表 28 次要缺陷表 30 新缺陷表 35,60 新自適性缺陷資料項1323888 IX, invention description: [Technical field of invention] 2 - management and material - CD player and method n (four) and method of optical disc on the disc, especially in the memory new defect table And storage - on the disc on the _ data block address [previous technology] for Greenton size, higher _ storage capacity and lower price 贞 纽 已 1 has (4) domain & The development of volatile storage, such as 'hidden discs, has made it possible for users to write data on a disc according to a DVD, which makes the DVD-RAM 胄 more ambiguous. #机机_“Or read—the vehicle device please refer to (4)! The picture is not for the CD player 1〇, the CD player 1〇 contains a real estate (touch plate) 14 to support the optical disc 22, A motor 12 drives the subscript disc μ, a head 16 to access data on the disc > {22, a control circuit 8 to control the operation of the disc player, and a memory 20 (for example, dynamic random access) The memory) is used as a temporary storage device to record all relevant data in the operation of the control circuit 18. The data on the optical disk 22 is sequentially burned through the mark of the etched area (pit) and the flat area (land). On the road 24, it should be noted that the type of _CD player and the 13238 «« 言 ' burning mark is different from the mark of the flat area. Take the DVD-RAM disc as an example, which adopts - phase change The way to burn the mark of the money engraved area and the flat area, in other words, make the shameful way of Wei is the secret way to use the CD-RW disc material burning method. When the disc player 1〇 is ready in the disc disc 22 When writing data on the first 'First, the CD player 1 stores the blame to be written first in the memory 20'. At this time, the data has not been written to the disc. The head 16 checks the defect on the optical disk 22 and transmits the result of the inspection to the control circuit a. The defect is often caused by the disturbance of the smoothness of the material characteristics, so that the data is not provided. On the 22nd, in order to increase the viciousness of the ## (such as a disc), the information technology industry has continued to develop a method for managing defect management of optical discs. S Some areas of the optical disc contain - lack of domain, such an area is not suitable for taking To store the data, the 1^_ format will rewrite the material to a storable area. Although the optical disk drive 10 attempts to access data from the optical disk 22, the defect table of the optical disk 22 is temporarily loaded into the memory. 2〇, and as is known to those skilled in the art, the DVD-RAM disc contains a blank wire which will be described later. ^When the disc player 10 tries to access the data on the disc 22, The disc player 1 uses the address of each data block to access the desired data. If a data block is defective, the optical disc drive 1 finds the user data stored by the defect table. Alternative data block (replacement(jatabloc) k), in this way, even if there is a defect on the optical disc 22, the data stored on the optical disc 22 can be read. 7 On the other hand, the optical disc drive 1 needs to be updated when writing data on the optical disc 22 In the body of the body 20 + defect table. For example, suppose the disc player 1 finds a new defect on the optical disc 22 during the writing of the data (whether in the formatting stage or the writing stage). The disc player 10 is based on the defective address. The order (that is, based on the address of the new defect) directly inserts the entry corresponding to the new defect into the defect table temporarily stored in the memory 2, and the details of this operation are familiar to the user. As far as the technical person knows, I will not repeat them here; after that, when the vehicle 1G stops the data on the hash #22, the optical disk drive 1G writes the updated defect table from the note (4) 2 () to the optical disk 22 For example, when the disc #22 is ejected after the end of the formatting phase or the writing phase, the optical disc drive 10 stops accessing the data on the optical disc 22, and when the optical disc drive 1 is next tried to save on the optical disc 22 When the information is taken, the updated defect table can provide a CD player. The reference information. Please refer to Fig. 2 and Fig. 3 at the same time. Fig. 2 is a schematic diagram of the main defect table (primaiydefeetlist PDL) 26 applied to the optical disc drive 1 and the secondary defect table of the third known as the optical disc drive. (Sec〇n (JaIy defect丨丨, SDL) % Schematic. Please note that the main defect of the DVD-RAM disc is any of the data items in Table 26. (The data length of the ring 0 is 4 bytes, which is It consists of the under-touch information and the size of the information that needs to be stored in parentheses: the main defect table category (1 bit group) and the defect address (3 bytes); likewise, please note the minor defect In Table 28, the data length of each data item is octet, which is composed of the following information and the size of the information to be stored in parentheses: secondary defect table category (1 byte) , defective address (3 bytes), reserved byte group 1323888 group) and alternate address (3 bytes). Regardless of their location, the main defect table % and the secondary miscellaneous table 28, please _The data block should be stored in the address block. 'For example, the defect data block can be Incremental way to store such as muscle data item 0 < PDL data item 1 < PDL data item 2 < pDL data item p < FFFFFFFF. Please note that 'FFFFFFFF represents the end of the main defect table %, however, for In place of the data block of the defect data block, the corresponding address may not have any specific order. In general, the main defect table % is used to record the defects in the formatting stage, while the secondary defect table 28 Then, it is used to record defects in the writing phase. As previously described, if the optical disk drive 10 finds a defective data block during the writing phase, the optical disk drive 10 uses another data block (for example, an available data block). The blank block will replace the defect data block and update the secondary defect table 28 in the temporary memory, so that the updated secondary defect table 28 reflects the defect data block and the replacement data. The latest connection between blocks. Obviously, in the prior art, the effectiveness of the defect management method is relatively poor, mainly because it causes the main defect table 26 or the secondary defect table 28 in the simon memory 20 Unnecessary modification and frequently performed sorting operations will reduce the performance of the memory, so that a new and improved method and apparatus are obviously required. [Invention] According to an embodiment of the present invention, an application is disclosed. The optical disk drive management 9 is used to access the optical disk (for example, a DVD.MM optical disk); the control number ι〇6 is used to control the operation of the optical disk drive (10); and the memory (10) (for example, the dynamic memory) Take the record of 'DRAM', time temporary storage _ main miscellaneous record called 26 and once, defect table (SDL) 28 and other information. In this embodiment, after the CD player is just turned on or ready to write any information on the disc At 1G2, controller 1 () 6 will be generated in memory 108 - a new defect table, see Figure 5, Figure 5 is a schematic diagram of the new defect table 30 in Figure 4. Please note that the new defect table % Z shown in Figure 5 is compatible with the main defect table 26 or the minor defect table 28, so "PDL/SDL" is used in its adaptive defect entry. The new defect table 30 is generated in the memory 1 to 8 of the optical disk drive 100 for storing the defect of the newly found defect on the optical disk 102, and in the present embodiment, The defect table 30 is generated in one of the two stages of the optical disk drive. First, during a formatting phase, the new defect table 3 is in accordance with the second figure _ main defect table 26 The 4-bit group invites the item size; while during the -# material writing phase, the new defect table 30 conforms to the 8-byte set defined by the minor defect table 28 in Figure 2 as the item size. Table 3 is generated in accordance with the above stages, and is additionally generated by referring to the used capacity of the defect table (main defect table 26 or minor defect table 28). Specifically, if the main defect table 26 is in the formatting stage Full defect bedding item 'because the main defect table 26 can no longer store any missing The data item, so the format of the adaptive data item of the new defect table t is changed to the minor defect # item format of the 8-bit size, and the related defect data overflowed in the formatting stage is stored in the new defect table. Towel, and finally to reproduce the secondary defect towel (because the main defect table can no longer store any defect data items generated in the formatting stage) 1323888 Please refer to Figure 6 '6th figure for managing the information on the optical disc according to the present invention. A flowchart of an embodiment of the method. The method of the present invention comprises the following steps: Step 400: Start. Step 405: Is it in the write phase? If yes, skip to step 42(); if no, proceed to step 410. Steps: Is the primary defect list (PDL) full? If not, skip to step 425; if it is full, proceed to step 420. Step 420: Generate a new defect table that is compatible with the secondary defect table (SDL), And jumping to step 430. Step 425: generating a new defect table compatible with the main defect table, and entering the step screw. Step 430: detecting a new defect. Step 435: In the self-healing axis of the silk scarf Gu record bit Is it less than the address of the new defect? If yes, skip to step 445: If no ' • proceed to step 440. Step 44: Combine the new defect table with the primary defect table/minor defect table. Step 445: Attach a new defect To the new defect table. Step 450: Combine the new defect table and the main defect table/minor defect table before the _ formatting stage or the writing collapse step. Step 455: End. - In step 400, the optical reading at the beginning The write head 104 will read the main defect table % and the minor defect table 28 stored in the light 'disc 1 〇 2 and then temporarily store it in the note 13 = body 108. In step (10) 5, based on the disc player ι 〇〇's disc table 3. The nature of the adaptive defect # material item must be compatible with the format of the second:: trapping into the ^_ item. If the domain is a capital 'and then in step 420, the controller generates a compatible new defect table 30, otherwise it performs a step, shallow; human = :: mode or execution phase is in the disc format If the I have been in step 420, the controller 106 will generate the same data structure as the secondary defect table. The new defect table 3〇; conversely, if it is not yet full, in step 425, the controller 1〇6 generates a new defect table 3 whose data structure is the same as that of the main defect table %. In step 430, the optical disc drive 1 uses any conventional method to extract a new defect on the optical disc 102, and in the step 435 +, the controller 1 〇 6 must be recorded in the new defect = 30. The self-adaptability defect: the items included in the items--the address of the defect data block is smaller than the health of the block-shaped defect blocks. If there is no, then in step 44G, the new_table 3G age-aged segment or write Step k to merge data with the main defect table or the secondary missing wire. Please refer to Fig. 7 and Fig. 8 for the merging of the fascination defect table 3() with the main defect table 26/minor defect table 28 - the schematic of the embodiment, and the eighth picture is the merging Upon completion, a new adaptive defect data item is added to the schematic of the new defect table 3〇. As shown in Fig. 7, the new adaptive defect data item η(χ_Μ)6〇 records one of the addresses of the latest side of the defect data block, which is smaller than the last data item η x stored in the new defect table 3〇. The address 'so, a merge operation will be initiated. After the merge operation is completed in step 44, the new defect table 30 will be emptied and continue to execute the step secret. As shown in Fig. 8, the new self-adapted missing item η(χ_Μ)6() is a new defect table 30 with a blank, and then becomes the first adaptive defect data item in the new defect table 3Q. .凊>Idea' In order to simplify the description, the new defect table 3 in Figure 7 may be compatible with the main defect table or the secondary defect table, so the adaptive defect data item in the new defect table 3G Mark with "PDL/SDL". Please refer to Figure 6 again. 'Different from the above operation, if the defect data contained in the latest adaptive defect data item recorded in the new defect table 3 is prepared in the step milk (the address of one block is smaller than the In the address of the defect data block of __, in step 445, the new adaptive defect data item corresponding to the newly created defect data block is directly attached to the lock defect table 3G. Please refer to Fig. 9 and Fig. 9 It is a schematic diagram of the new self-adapted defect data item directly attached to the new defect table 30. If the number is not, the new adaptive defect data item η (the χ娜5 system records the address of the new _ defect component block) 'It is larger than the address recorded in the last-------------------------------------------------------------------------------------------------------------------------------- Operation. _ lead, the new defect table 30 in Figure 9 may be compatible with the main defect table or the secondary defect table ^ This is the self-adapted defect data item in the new defect table 30, the lion's position, to Mark. , then merge with major defect 28 in _08. The person must be absent from the main one in the 1〇8%% of the film 102 before the film is retracted, in the memory (4) main defect table 26 and the secondary missing disk 102. The clothing δ will be broken back to write the attention to the light, in the above implementation Wealth, the new looktable % can be based on some conditions in the 5 memory 108 with the main missing % 7 which is the main table 26 or the secondary defect table 28, for example, 'the t-condition can be in- After the silent time _ is merged, or the defect table is full ^ and in order to be more reliable, the present is to perform the operation of the combination: from time to time. In addition, the condition for performing the merger may also be when the optical disc is used. When all the machines have been executed, please note that 'these conditions are only for the embodiment and not the invention. Other conditions can be used, and since it is easy for people skilled in the art to understand, it is here. Unless otherwise stated, please note that in the above embodiments, the defect table management mechanism described in detail is used in a DVD-RAM disc, however, this is only an example and is not a limitation of the present invention. The present invention temporarily stores by using a new defect table The defect data item of the new defect data block on the disc, so the number of operations for sorting the data items stored in the main defect table or the secondary defect table can be reduced, in addition, when a merge operation is started The new defect list is merged with the main defect table or the secondary defect table in which the defect items are stored in the order of the defect addresses, so that the operation of data combination can be simplified. The above is only the present invention. The preferred embodiments of the present invention are intended to be within the scope of the present invention. [Fig. 1 is a conventional optical disc player. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 3 is a schematic diagram of a secondary defect table of a conventional optical disk drive. Fig. 4 is a functional block diagram of an embodiment of the optical disk drive of the present invention. The fifth circle shows a schematic diagram of the new defect table in Fig. 4. Figure 6 is a flow diagram of one embodiment of a method of managing an optical disc in accordance with the present invention. Figure 7 is a schematic illustration of one embodiment of a new defect table in accordance with the present invention combined with a primary missing/defective defect table. Figure 8 is a schematic diagram of the new defect table after the completion of the merge-new adaptive defect data item. Figure 9 is a schematic diagram of the new adaptive defect data item directly attached to the new defect table. [Main component symbol description] 10 » ion —— A v 1 \J\J To '--~~_ CD player 1 Zm 1 Λ ^------ Motor 1 f. ------- 10 heads - ^ ~' ' ~~~---- ΟΛ . 1 rv〇-----___ Control circuit — ^ 1 1U8 , 1 ' ---___ Memory ^ » 1U2 Disc 1323888 24 Channel 104 Optical Reader 106 Controller 26 Major Defects Table 28 Minor Defects Table 30 New Defects Table 35, 60 New Adaptive Defects Data Item

Claims (1)

3888 I梦年7另广/^修正 1、申請專利範圍·· 1. =用於-光碟機來管理—光碟片之缺陷資訊之缺陷管理方 之^先碟機儲存有包含至少—第—缺陷表以及—第二缺陷表 旻個缺絲’該第―缺絲記錄複油第—缺陷資料項以 該第二缺陷表記錄複數個第二缺陷資料項,該方法包含有: 附加-自適性缺陷資料項到—新缺陷表,該自適性缺陷資料項 包含對應到一新缺陷之一新缺陷資訊,該自適性缺陷資料 項可適性地對應於該複數個缺陷表中其—缺陷表,且該自 適性缺陷資料項之資料結構與珊應之缺陷表中缺陷資料 項之資料結構相容;以及 當-條件符合時,將複數個自適性缺陷資料項合侧該光碟機 所儲存之該對應之缺陷表。 2·如申請專利範圍第!項所述之方法,其中該第—缺陷表是一主 要缺陷表(PDL),每-第-缺陷資料項係為—主要缺陷資料項 (PDLentry),以及每-主要缺陷資料項係用來記錄該光碟片 上一缺陷之一位址。 3.如申請專利範圍第1項所述之方法,其中該第二缺陷表是一次 要缺陷表(SDL) ’每一第二缺陷資料項係為一次要缺陷資料 項(SDL defect entry )’以及每一次要缺陷資料項係用來記錄一 缺陷之一位址以及該缺陷之相對應替代資訊(replaeement information) ° 1娜辦,㈣蝴機執行一碟 項之^^構=及該第—缺陷表是未滿的,該自適性缺陷資料 項之貝L構與該第一缺陷資料項之資料結構相容。 s.如/請專利崎1項所述之方法,其中當該光碟機執行-碟 Λ及該第-缺陷表是滿的’該自雜缺陷資料項 貝〜為與該第二缺陷資料項之資料結構相容。 如申請專利範圍第i項所述之方法,其中當該光碟機執行一碟 片寫入操作’該自適性缺陷資料項之資料結構與該第二缺陷資 料項之資料結構相容。 t專利feu第1項所述之方法,其巾該自適性缺陷資料項 1料結構包含有該缺陷之—位址,以及該方法另包含有: 當該光碟機遇到-新缺陷且該新缺陷之位址是大於最後一缺 陷貝料項所記錄之位址時,附加對應到該新缺陷之缺陷資 訊到該新缺陷表。 如申睛專利範圍第1項所述之方法,其中該自適性缺陷資料項 之貝料結構包含有該缺陷之一位址,以及該條件是當該光碟機 遇到一新缺陷以及該新缺陷之位址是小於最後一缺陷資料缺 @項所記錄之位址。 20 9. 9. ’其令該條件是該光碟機執 如申請專利範圍第1項所述之方法 行一預定操作達一預定時間週期。 陷表 Μ. ^請翻朗第1 述之方法,其憎條件是該新缺 11. 如申請專利範圍第i項所述之方法, 之一操作已經被執行完畢。 其中該條件是當該光碟機 之缺陷資訊之缺陷管理 12· 一種應用在一光碟機來管理-光碟片 系統’其包含有: 一光學讀寫頭; 一記憶體,用以 :存Uy帛—缺陷表以及—第二缺陷表之複數個缺陷 丄該第-缺陷表記錄複數個第一缺陷資料項以及該第二缺 ^表記錄複數個第二缺陷資料項;以及 儲存-新缺陷表以記錄對應到複數個新缺㈣訊之複數個自 LI·生缺貝料項’該複數個自適性缺陷資料項中每―自適性 缺陷資料項可適性地對應於該複數個缺陷表之其一缺陷 表且該自適生缺陷貧料項之資料結構與該對應之缺陷表中 缺陷資料項的資料結構相容;以及 控制器’輕接到該光學讀寫頭及該記憶體,用以 丄J厶Οδδδ 控制該光學讀寫頭自該光碟片存取該複數個缺陷表以及將該 複數個缺陷表暫存至該記憶體; 附加一新缺陷資料項到該新缺陷表直到符合—條件;以及 田該條件付合時合併該複數個自適性缺陷資料項到該光碟機 所儲存之該對應之缺陷表。 13·如申請專利範圍第12項所述之祕,其中該第—缺陷表是一 主要缺陷表(PDL),每一第一缺陷資料項係為一主要缺陷資 料項(PDLdefectentry)’以及每一主要缺陷資料項係用來記錄 該光碟片上一缺陷之一位址。 14. 如申請專利範圍第12項所述之系統,其中該第二缺陷表是一 次要缺陷表(SDL),每一第二缺陷資料項係為一次要缺陷資 料項(SDL defect entry )’以及每一次要缺陷資料項係用來記錄 一缺陷之一位址以及該缺陷之一相對應替代資訊。 15. 如申請專利範圍第12項所述之系統,其中當該光碟機執行一 碟片格式化操作以及該第一缺陷表是未滿的,該自適性缺陷資 料項之資料結構與該第一缺陷項之資料結構相容。 16. 如申請專利範圍第12項所述之系統,其中當該光碟機執行一 碟片格式化操作以及該第一缺陷表是滿的,該自適性缺陷資料 項之資料結構轉為與該第二缺陷資料項之資料結構相容。 22 1323888 π.如申請專利麵第12項所述之系統,其中#該光碟機執行一 碟片寫入操作,該自適性缺陷資料項之資料結構與該第二缺陷 資料項之資料結構相容。 、 18. 如申請專利範圍第12項所述之系統,其中每一自適性缺陷資 料項之資料結構包含有該缺陷之一位址,以及當該光碟機遇到 一新缺陷且該新缺陷之位址是大於最後一缺陷資料項所儲存 之位址,該控制器會附加對應該新缺陷之缺陷資訊到該新缺陷 表。 19. 如申睛專利範圍第12項所述之系統,其中該自適性缺陷資料 項之資料結構包含有該缺陷之一位址,以及該條件是當該光碟 機遇到一新缺陷以及該新缺陷之位址是小於最後一缺陷資料 項所儲存之位址。 20. 如申請專利範圍第12項所述之系統,其中該條件是該光碟機 執行一預定操作達一預定時間週期。 21·如申請專利麵第12賴述之錄,其中該條件是該新缺陷 表已滿。 22·如申請專利範圍帛12項所述之系統,其中該條件是當該光碟 機之一操作已經被執行完畢。 233888 I dream year 7 other wide / ^ correction 1, the scope of patent application · 1. = for - disc player management - defect information of the disc film management side of the first disc machine storage contains at least - the first defect The table and the second defect table are the missing wires. The first------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ a data item-to-new defect table, the self-adaptive defect data item includes new defect information corresponding to one of the new defects, the adaptive defect data item may adaptively correspond to the defect table in the plurality of defect tables, and the The data structure of the adaptive defect data item is compatible with the data structure of the defect data item in Shan Ying's defect table; and when the condition is met, the plurality of adaptive defect data items are combined with the corresponding storage stored on the optical disk drive. Defect table. 2. If you apply for a patent range! The method of claim, wherein the first defect table is a primary defect table (PDL), each per-defect data item is a primary defect data item (PDLentry), and each primary defect data item is used for recording One of the addresses of a defect on the disc. 3. The method of claim 1, wherein the second defect list is a primary defect list (SDL) 'each second defect data item is a SDL defect entry' and Each time the defect data item is used to record one address of a defect and the corresponding replacement information of the defect (replaeement information) ° 1 Na, (4) the implementation of a disc item of the butterfly machine and the first defect The table is not full, and the self-adapted defect data item is compatible with the data structure of the first defect data item. The method of claim 1, wherein the optical disk drive performs - the disk and the first defect table is full of the 'self-defective data item' and is associated with the second defect data item The data structure is compatible. The method of claim i, wherein the optical disk drive performs a disk write operation, wherein the data structure of the adaptive defect data item is compatible with the data structure of the second defect data item. The method of claim 1, wherein the self-adapting defect data item 1 structure comprises the address of the defect, and the method further comprises: when the optical disk encounters a new defect and the new defect When the address is greater than the address recorded by the last defective item, the defect information corresponding to the new defect is added to the new defect list. The method of claim 1, wherein the bedding structure of the adaptive defect data item includes an address of the defect, and the condition is when the optical disk drive encounters a new defect and the new defect The address is less than the address recorded by the last defect data missing item. 20 9. 9. </ RTI> The condition is that the optical disk drive performs the predetermined operation for a predetermined period of time as claimed in claim 1 of the patent application.陷 Μ. ^Please turn the method described in the first paragraph, and the condition is that the new one is missing. 11. As described in the method of claim i, one of the operations has been completed. The condition is that the defect management of the defect information of the optical disk drive is 12. The application is managed by a CD player - the optical disk system includes: an optical read/write head; a memory for storing Uy帛- a defect table and a plurality of defects of the second defect table, the first defect table records a plurality of first defect data items and the second missing table records a plurality of second defect data items; and a storage-new defect table for recording Corresponding to a plurality of new missing (four) messages, a plurality of items from the LI. The item of the self-adaptability defect in the plurality of adaptive defect data items may suitably correspond to one of the defects of the plurality of defect tables. And the data structure of the self-contained defect defect item is compatible with the data structure of the defect data item in the corresponding defect table; and the controller is lightly connected to the optical head and the memory for 丄J厶Οδδδ controls the optical pickup to access the plurality of defect tables from the optical disk and temporarily store the plurality of defect tables to the memory; attaching a new defect data item to the new defect table until the matching ; Field and timely pay the combined condition of the plurality of adaptive defect to the optical disc drive data item of the stored table corresponding to the defect. 13. The secret of claim 12, wherein the first defect table is a primary defect list (PDL), and each first defect data item is a primary defect data item (PDLdefectentry) and each The main defect data item is used to record one address of a defect on the disc. 14. The system of claim 12, wherein the second defect list is a primary defect list (SDL), and each second defect data item is a SDL defect entry' and Each defect data item is used to record one address of a defect and one of the defects corresponding to the replacement information. 15. The system of claim 12, wherein when the disc player performs a disc formatting operation and the first defect list is not full, the data structure of the adaptive defect data item is the first The data structure of the defect item is compatible. 16. The system of claim 12, wherein when the optical disc drive performs a disc formatting operation and the first defect list is full, the data structure of the adaptive defect data item is converted to the first The data structure of the second defect data item is compatible. The system of claim 12, wherein the optical disc drive performs a disc write operation, and the data structure of the adaptive defect data item is compatible with the data structure of the second defect data item. . 18. The system of claim 12, wherein the data structure of each of the adaptive defect data items includes an address of the defect, and when the optical disk drive encounters a new defect and the new defect is located The address is greater than the address stored in the last defect data item, and the controller attaches defect information corresponding to the new defect to the new defect list. 19. The system of claim 12, wherein the data structure of the adaptive defect data item includes an address of the defect, and the condition is when the optical disk drive encounters a new defect and the new defect The address is less than the address stored in the last defect data item. 20. The system of claim 12, wherein the condition is that the optical disk drive performs a predetermined operation for a predetermined period of time. 21· If you apply for the 12th document of the patent, the condition is that the new defect list is full. 22. The system of claim 12, wherein the condition is when one of the operations of the optical disk has been performed. twenty three
TW95122653A 2006-04-07 2006-06-23 Defect management method and system of optical disk drive TWI323888B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US11/278,968 US7697388B2 (en) 2002-05-28 2006-04-07 Defect management method and system of optical disk drive

Publications (2)

Publication Number Publication Date
TW200739557A TW200739557A (en) 2007-10-16
TWI323888B true TWI323888B (en) 2010-04-21

Family

ID=38782851

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95122653A TWI323888B (en) 2006-04-07 2006-06-23 Defect management method and system of optical disk drive

Country Status (2)

Country Link
CN (1) CN101051500B (en)
TW (1) TWI323888B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4498146A (en) * 1982-07-30 1985-02-05 At&T Bell Laboratories Management of defects in storage media

Also Published As

Publication number Publication date
CN101051500A (en) 2007-10-10
CN101051500B (en) 2010-06-23
TW200739557A (en) 2007-10-16

Similar Documents

Publication Publication Date Title
TWI283858B (en) Method for overwriting data in a memory device
JP5095895B2 (en) Method for immediately writing or reading a file on a disk-shaped recording medium
TWI357069B (en) Apparatus for reproducing data on an information r
TW200405280A (en) Method and apparatus for managing disc defects
US7502284B2 (en) Methods for optical disc sector verification
EP1040468A2 (en) Opcode-driven buffer manager for use in data storage devices
US8296506B2 (en) Method for managing a non-violate memory and computer readable medium thereof
TW584843B (en) Method for managing data on an optical disk
US20040123064A1 (en) Method for storing data in a write-once memory array using a write-many file system
TW200841333A (en) Method and system for setting optical drive write speed
JP4696052B2 (en) Storage device, storage medium, control device, memory, server device, server client system
US20080259751A1 (en) Recorder, Host Device, Drive Device, Recording Method, Instruction Method, Program, Integrated Circuit, Reproducing Device, Reproducing Method, and Write-Once-Read-Many Recording Medium
KR970050853A (en) Method and device for preventing incorrect positioning, positioning method of transducer head and direct access memory
TWI323888B (en) Defect management method and system of optical disk drive
TW594684B (en) Method and related apparatus for storing program code and optimized power calibration data in the same non-volatile memory
US7697388B2 (en) Defect management method and system of optical disk drive
US20070174736A1 (en) Storage medium management apparatus, storage medium management program, and storage medium management method
JP4027726B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, program, recording medium, and information recording / reproducing system
TWI363355B (en) Method for recovering writing data of disk
TWI299861B (en) Method and apparatus for accessing an optical storage medium
JP2004206615A (en) Storage device
US10679665B1 (en) Control method of optical disc drive system when optical disc write failure occurs
US20060209656A1 (en) Method For Determining A Write Type Of A Disc
TWI316699B (en) Method of and apparatus for recording data on write-once disc and write-once disc therefor
JP3707396B2 (en) Recording method and recording apparatus

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees