200527386 九、發明說明: 【發明所屬之技術領域】 本發明係關於用以讀取或寫入像是一光碟之記錄載體的 -記錄載體、驅動裝置及方法。尤其,本發明係關於—改 良之瑕疵管理方案。 【先前技術】 瑕疵管理係目前儲存器解決方案的一主要方面。即使事 只上所使用之媒體並非無瑕疵,但例如用以運轉視窗 (Windows)的一 PC之某些主機要求某些儲存器裝置在介面 上揭露一無瑕疵位址空間。此問題之最普遍解決方案為: 如果偵測到一瑕疵,則儲存器裝置將該位置之邏輯位址重 新映射至另一實體位置。在一光碟之情況下,該其他實體 位置可位於引入區域裡面。保留作為替代實體位址之區域 稱為備用區域。 有時候,重新映射與所儲存檔案之即時方面干擾。例如 如果於一即時檔案流動期間,因為原始磁區中有一瑕疵而 重新映射所在磁區,所以突然必需從媒體上的一實體遠離 位置提取一區塊,則為此情況。用以處置此問題的一方式 稱為滑動(Slip)。滑動(slip)經常藉由以下方式加以使用。於 =始化及驗證後,將產生一主要瑕疵清單。現在,已調整 實體位址之邏輯位址映射、已跨越瑕疵位置,而且位址已 滑至備用區域。倘若未出現新瑕疵,則即時應用程式可運 作良好。一旦貫際使用碟片,位址之映射將固定。 具有用於瑕疵官理之備用區域的一記錄媒體出自文件 97892.doc 200527386 EP0997905。此文件說明包括200527386 IX. Description of the invention: [Technical field to which the invention belongs] The present invention relates to a record carrier, a drive device and a method for reading or writing a record carrier like an optical disc. In particular, the present invention relates to an improved defect management scheme. [Previous Technology] Defect management is a major aspect of current storage solutions. Even if the media used is not flawless, some hosts, such as a PC running Windows, require certain storage devices to expose a flawless address space on the interface. The most common solution to this problem is: If a defect is detected, the storage device remaps the logical address of that location to another physical location. In the case of a disc, the other physical location may be located inside the lead-in area. The area reserved as an alternative physical address is called the spare area. Sometimes remapping interferes with the real-time aspect of the stored file. This is the case, for example, if a real-time file is being re-mapped due to a defect in the original magnetic zone, and it is necessary to fetch a block from an entity remotely located on the media. One way to deal with this problem is called slip. Slip is often used in the following ways. After = is initialized and verified, a list of major flaws will be generated. The logical address mapping of the physical address has now been adjusted, the defect location has been crossed, and the address has slipped to the spare area. If there are no new flaws, the instant application works well. Once the disc is used consistently, the address mapping will be fixed. A recording medium with a spare area for defect management is from document 97892.doc 200527386 EP0997905. This file description includes
兄/3匕祜用於滑動(sH 區域及用於線性取代的一備用戈的備用 用。 禝數個備用區域之使 該申請人最近開發—種使用料被開發以用 於高書質碟片之韻1 # Μ时> u 、下 代基 —-貝w之視L盗之精密藍光記錄、Brother / 3 dagger is used for sliding (sH area and a spare for a linear replacement. 禝 Several spare areas have been recently developed by the applicant-a kind of material has been developed for high-quality discs Zhiyun 1 # M 时 > u, the next generation base-the precise blue light recording of Bei W's Vision L,
-^^ ^ ^ ^ I :)或者可攜式藍光㈣’而且其出示有可能在一3公分碟 樣小。 町應驅動裝置像一記憶卡一 然而,在例如卿〇之這類可移除光碟的情況下,於 之:命期間’必定出現新瑕疲。其一處置方式為:使主機 允睁應用程式關閉瑕疵重新映射 ^ ^ ^ 耵讓應用程式受瑕疵處置 之控制’其中例如藉由跨越瑕痴磁區而且將瑕疾磁區中希 望之㈣寫人下—磁區。後者係—種,即時滑動⑽Ρ),。 像是SFFO系統之可移除光碟系統對光學儲存器強加— 新限制。現存瑕疲管理方案之缺點在於其忽略功率消耗門 題之事實。然而對於_〇系統而言,減少功率消耗很重 要’因為其經常切斷主要電源而在一行動環境中作業。如 果備用區域在-實體遠離位置,則擷取重新映射資料將花 費太多功率’因為每次遭遇—瑕庇時將要求跳越,而且於 跳越期間必需打開雷射(最消耗功率的組件之一)。在sff〇 系統之情況下’傳統滑動⑽p)並非一選擇,因為於使用期 間’ SFFO將衍生瑕f即時,滑動⑷⑻並非永遠為—選擇, 因為某些應用程式對此毫無概念’然而其依舊必需能夠假 97892.doc 200527386 Γ址” w°’即時滑動⑽p),之另-缺點為.·通 *如果在已經寫入的一區域裡面突然出現一瑕疵,則必· 重寫一檔案與/或片段的一較大部分。 而 其-顯而易見之解決方案為:在驅動中快取整 域。、然而:即使實際上並非或者僅部分使用備用區域,仍 要长很夕叩貝之額外記憶體,而且此記憶體之愈 將要求額外功率。 丹兄/、、准濩 在現存方案中,備輕域通常㈣程式區域之開 位於一典型區辟夕A# 率 ·、’’…擷取重新映射資料將消耗許多功 用(^而遇—瑕疲時,其必需從資料位置跳越至備 用&域而且回來。 【發明内容】 本發明的一目的為·接碰 旳為.美供一種用以提供 徵的一瑕疫管理方案之 f力羊即省特 丁戰股方法及驅動裳置。 此目的係藉由如請求項1中 項1〇中所主張的_寫21_中、戶二的—記錄载體、如請求 錄方1 ”、 /如明求項12中所主張的一記 5' 1 /項13中所主張的—驅動裝置而達成。 種新形式之瑕㈣理俱備制 位置與重新映射磁區的Θ竑佳化 域包含於讀取之片段中Μ # 貝取。藉由使備用區 而減少功m, 將無額外搜尋負擔,因 '彳,而且導致極佳之即時特徵。於括取片γ 後,可_例如雷射之讀取 1取片& —从 丁 Μ即省功率。同時,瑕 ’此官理可藉由驅動加以實 L ^ 1思、用矛壬式不必知^{酋#新 映射,然而仍可符合即時 J f 必要時才讀取備用 97892.doc 200527386 區域。 程式區域將包含一進一步片段,其包含位於該進一步片 段其一邊界的一進一步備用區域,該片段與進一步片段之 位置彼此相鄰,而且該片段其備用區域之位置與進一步片 段其進一步備用區域相鄰。尤其,該備用區域與進一步備 用區域被組合成該片段與進_步片段兩者之重新映射^疵 區塊的一組合備用區域。藉此可使一備用區域位於成對之 兩片#又上以最小化總備用區域數。其導致一減少之備用 區域數,因為一區域可供兩鄰近片段使用。 再者,將提供一保留備用區域,該保留備用區域之位置 與程式區域相鄰。萬一各別之關聯或專屬備用區域未留下 任何空間,藉此可提供額外空間供重新映射用。 片段中之區塊可以一邏輯位址加以定址,其中每一區塊 包含-唯-位址。然後’由於存在邏輯上不可定址之備用 區域所以貫體片段大於邏輯片段。藉此可提供一定義良 好之儲存器裝置介面。 义 在:錄載體上可提供一瑕疵管理表’該表包含瑕疵區塊 ^唯邏輯位址’而且包含連至關聯於瑕絲塊之實體磁 區的一鏈結。根據從瑕疵管理表導出之資訊,可知所讀取 ,下一片段是否包含一重新映射資料,因而可以相同掃描 項取重新映射資料。 進一步之有利修正將定義於相依請求項中。 【實施方式】 在不同圖式中,對應之元件具有相同的參考數字與符號。 97892.doc 200527386 現在將說明關私 例,其中將揭:像:除PB驅動裝置之較佳具㈣ 機的m 相機、一而等遺產(le㈣)主 ^ "面。於上下文中,術語I,遺產 較目前技術更早之0 h 、gey)表不乂 σ平口和技術所繼承的該等格式、 料或裝置。遺產(Legaey)裝置本相不具有處 置瑕痴之良好裝備。其可假設成一無瑕苑固態記憶體。 圖1出示被調整以例如適於緊密快間形式 =裝置:〇。因此,驅動裝置-可取代固態記憶體。為 …4功^將提供具有對應連接終端32的-標準介面 早兀2〇 ;丨面早疋2()可被安排以在寫人可移除驅動裝置30 從-内部碟片10上使用的一内部播案系統映射 存取驅動裝置3〇所使用的一外部播案系統,而且在從碟 片_取時從㈣檔案系統映射至外部檔案系統。 PB邏輯格式提供將備用區域分散於碟片上之機會。PB系 =之6貝取/寫入週期係根據片段,以便減少功率消耗。一片 段係以m掃描所讀取/寫人的—群 校正碼)方塊。通常峨之緩衝器管理符合此種基於:段 立次取冑由在片段中分配-特殊任務或時期所需之全 部資料’則於讀取片段後可關閉驅動裝置3〇之光學單元中 :用的雷射,以節省功率。重點為其具有可以一掃描加以 項取之單元。如果應用程式用完緩衝器中之資料,則讀取 另片段。顯然,瑕麻管理依舊藉由驅動裝置3〇而執行。 運=之應用程式僅讀取片段,而且如有必要,驅動裝置3〇 將項取備用區域。實體片段因而大於邏輯片段,亦即實體 97892.doc 200527386 f段大小=邏輯片段大小+備用區域大小。換言之,儲存 益或驅=虞置3〇依舊為—位元引擎,其與主機間有一定義 ^ 1面備用區域無法透過介面單元20存取,例如定 址0 根據較佳具體f ,X y tm _ — 貫轭例,;丨面早元2〇提供一瑕疵管理功能 或早兀22’其被調整以使用—片段之第一與/或最後一組磁 區或ECC區塊作為該片段中使用者資料的一備用區域。豆 促成提供極佳即時特徵的一功率最佳化瑕疫管理方案。如 果於寫入一特殊片段期間,瑕疲管理單元22㈣到-㈣ £塊’其將控制介面單元2〇,以便將該區塊優先重新映射 至位於該片段其開始或結尾之保留區域中的一區塊。 於正“乍業期間’資料係一次讀取一片段。如果從碟片 1〇上提供的一瑕疲管理表知道讀取之下-片段包含該片段 備用區域中的-或更多重新映射區塊,則此等重新映射 區塊係以相同掃描加以讀取,造成幾乎沒有額外或極少之 功率使用或時間捐尖。‘ | > u 才]积失如果碩取之片段不包括重新映射區 塊,則未讀取備用區域,以確保該方案不強加額外負擔。 其係根據以下之觀察:㈣統管轄實體位址空間之使用 的新賴方式促成-種新形式之瑕疫管理,其具有備用區域 的一最佳化位置及重新映射磁區的__功率最佳化摘取。 具有許多相對較小備用區域之傳統系統的一缺點為:即 ^未出現瑕疫’依舊需要跳越’以跳過每一片段後之備用 區域。此對於建議之系統並不成立。於正常作業期間或至 少為低功率模式中’應用程式將打開驅動裝置%、讀取一 97892.doc -10- 200527386 片段,然後有時關閉驅動裝置30。其不希望一次讀取一連 串片段,因而未發生額外跳越。藉由使備用區域包含於讀 取之片段中,將無額外搜尋負擔,而減少功率消耗。同時, 瑕疯管理可藉由該驅動加以實作,亦即應用程式不必知道 重新映射,然而仍可符合即時保證。同時,必要時才讀取 備用區域。 請注意,於PB系統中,片段即為檔案系統與位元引擎間 之各層用以管理實體空間的對話或分割組件。並非所有片 段均在邏輯空間中,亦非所有實體磁區均為一特殊片段的 一部分。如果檔案系統將接手瑕疵管理,則有可能為相同 之備用區域分散,而且為最佳。所以上述建議大部分依舊 成立。然而較佳者,瑕疵管理係藉由驅動裝置3〇(例如藉由 瑕疵管理構件22)加以執行。 圖2a至2d出不碟片10所提供的一資訊區域與備用區域分 配之不意表示法。 圖2a代表pb碟片1〇之資訊區域IA,其係由一引入。、一 驅動導航區域DN、一權利管理區域尺…、一瑕疵管理區域 DM、一第一備用區域SA1、一程式區域pA和一引出L〇所構 成。將片段放大,圖2b、圖仏和圖2d分別描繪根據第一至 第二較佳具體實施例之三種可能組態。 在圖2b所述之第一較佳具體實施例之組態中,備用區域 SA係由構成複數個Ecc區塊之每一片段的最後£(:〔區塊所 形成,而且將具有例如大約5 MB的一大小。 再者,在圖2c所述之第二較佳具體實施例之組態中,於 97892.doc 200527386 每兩片段間提供一備用區域S A,其係由第一片段之最後區 塊和最後片段之第一區塊所構成。 最後,圖2d所述之第三較佳具體實施例之組態的優勢在 於:其最小化備用區域SA之數目。在第三較佳具體實施例 中,片段Fn之最後區塊和片段Fn+1之第一區塊形成一共同 備用區域SA,然而在片段以+丨與以+二間並未提供任何備用 區域。此表示··成組或成對之兩片段在其共享之邊緣共用 一備用區域SA。例如,對於_1〇24MB碟片,其中有5 片段和供瑕疵重新映射用的一5%保留,將要求ι〇〇個各具 有16 ECC區塊之備用區域s a。 圖3a和3b出示第三較佳具體實施例中第一備用區域㈤ 之兩選擇或例示的示意表示法’其中各別如圖3a和圖⑽斤 述’備用區域SA2至SA(1/2n+1)或者備用區域㈤至Μ㈣) 係由包含使用者資料UD之各別相鄰片段所共享。向上箭龙 表示邏輯位址空間之位址"〇'圖3a描繪離開使用者心 中之保留空間而在第一備用區域SA1中保留額外空間供瑕 疵重新映射用的-情形。圖3b描繪非上述情況的一情形,又 亦即未提供任何額外空間。 / 接下來將根 選擇加以說 建議之瑕疵管理方案要求一特殊作業模式, 據如圖3a所述之第三較佳具體實施例的第一 明。 詳述重新映射哪些區塊之瑕蘇管理表儲存於碟片 指定瑕疲管理區域_)中。於碟片1〇安裝 二 讀取,然後快取。 牲序期間 97892.doc -12- 200527386 圖4出示一種在碟片1〇上寫入資料之方法的一示意流程 圖於步驟1 01,開始寫入一下一片段。於步驟1 〇2,如果 於特殊片奴寫入期間系統偵測到一瑕疵區塊,則系統將重 新映射该區塊。然後於步驟103檢查是否已填充目前片段之 關聯備用區域’如果為否,則將該區塊重新映射至與和目 則片段成對的一相鄰片段所共享之備用區域中的一區塊 (步驟105)。其將在片段之開始或結尾。 、汝果於步驟1 〇3偵測到相同片段裡面之關聯備用區域中 並未留下任何空間,則於步驟1〇4檢查相同片段對的一相鄰 片&之備用區域中是否留下任何可用空間。如果為是,則 對相鄰片段中之相鄰備用區域執行重新映射(步驟107)。如 果此相鄰之備用區域同樣已滿,則於步驟1〇6啟動一輔助重 新映射程序,其中可在使用具有空間之最近備用區域的一 即時最佳化重新映射解決方案或者使用第一備用區域㈤ 中之過剩工間的一長期功率最佳化解決方案間選擇。前者 最小化搜尋時間,而後者保留空間供相同片段内未來重新 映射用。於步驟1G8,目前片段係以_掃描加以寫入。最後, 於步驟H)9檢查是否寫入_新片段。如果為是,則㈣跳越 回步驟1 01。否則,寫入程序結束。 圖5出示-種從碟片1〇讀取資料之方法的—示意㈣ 圖。於正常作業期間’資料為-次讀取-片段。首先,於 ㈣201讀取㈣管理表。如果於步驟202從職管理表決 疋項取之下-片段包含一或更多重新映射區塊,然後如果 於步驟203決定重新映射區蝻朽认上 塊位於相同或成對片段之備用 97892.doc -13- 200527386 區或中貝j以相同掃描一同讀取重新映射資料及片段中之 使用者身料(步驟2〇4)。如果於步驟2〇3決定重新映射區塊位 :地彳亦即不在相同片段中,則於步驟必須執行 凡搜尋以操取重新映射區塊。然後,於步驟鳩,讀取片 段丄但不包含其關聯之備用區域。最後,於步驟207檢查是 否項取-新片段。如果為是,則程序跳越时驟训。否則, 讀取程序結束。 ' 總之’建議一種在一行動環境中用於例如-SFF0或PB碟 片的-光學記錄載體之瑕辭理方案。該記錄載體包含資 料片段,每一片段包含一或更多區塊。如例示,一片段可 具有大約2则、5则或1〇_的一大小。其最大之大小係 由驅動其㈣緩衝H的難最小大小所決定。其將由該裝 置以-掃描加以讀取及寫入。備用區域將出現在碟片二 便將瑕疵區塊重新映射至一備用區域。此等備用區域位於 片段之邊緣或邊界。其結果為完全最佳化,以減少功率消 耗,而未折衷瑕疵管理。結合一備用區域與一片段具有無 額外搜尋負擔之優勢,因而將節省功率。瑕症管理藉由、 驅動加以實作,所以應用程式不知道重新映射。其可‘合 即時保證’因為讀取-重新映射區塊將不造成在碟片之二 式區域中跳越。備用區域僅於需要時才讀取。 須進-步注意:當本說明書(包括請求項)中使用術語"包 含”時,其用以描述所述特性、整體、步驟或組件之存在, 但不排除額外的一或更多其他特性、整體、步驟、組件或 其群組之存在。同時必須注意:在一請求項中的一元件前 97892.doc -14- 200527386 面之”一,,字並不排除複數個這類元件之 參考符號並未限制請求項之範 。再者,任何 和軟體加以實作,而且若件"备明可同時藉由硬體 表達。再者,本發明常::可以相同硬體項目加以 本申&幸不Π "穎特性或特性組合中。 本甲胡案不限於以上之特定具 瑕疵資料部分的一重新冼、也列,而可用於根據 "刀的重新映射作業而執 記錄載體系統中。因而 …里之任何 佳具體實施例。 δ月求項範圍内’可變化較 【圖式簡單說明】 明現=參照附圖而且以較佳具體實施例為基礎說明本發 明,其中: & 圖1出 丁 /、有根據本發明之較佳具體實施例的一標準 面和輸入功能的一可移除 不夕咏.動裝置之示意方塊; 圖2a出示具有一程式 示意表示法; 、匕Q的 s己錄載體其一資訊區域之 較佳具體實施例的一程式區域其一 圖2b出示根據一第一 部分之示意表示法; 圖2c出不根據一第二較佳具體實施例的一程式區域其一 部分之另一示意表示法; 圖2 d出不根據一第三較佳具體實施例的一程式區域其一 部分之另一示意表示法; 圖3 &出不根據第三較佳具體實施例之-例示的-資訊區 域其一部分之示意表示法; 圖扑出示根據第三較佳具體實施例之另一例示的一資訊 97892.doc -15- 200527386 區域其一部分之示意表示法; 圖4出示在記錄載體上寫入資料的一方法之示意流程 圖;以及 圖5出示從記錄載體讀取資料的一方法之示意流程圖。 【主要元件符號說明】 10 碟片-^^ ^ ^ ^ I :) or portable Blu-ray ㈣ ’and its presentation may be as small as a 3 cm disc. Machio drives are like a memory card. However, in the case of removable discs such as Qing 0, new defects must occur during the lifetime. One way to deal with it is to make the host allow the application to close the defect and remap it ^ ^ ^ 耵 Let the application be controlled by the defect disposal ', for example, by crossing the defect magnetic field and writing the hope in the defect magnetic field Bottom—Magnetic zone. The latter line—species, instant sliding ρ). Removable disc systems such as the SFFO system impose on optical storage — new restrictions. The disadvantage of the existing defect management scheme is the fact that it ignores power consumption issues. However, for the _〇 system, it is important to reduce power consumption 'because it often cuts off the main power and operates in a mobile environment. If the spare area is-away from the entity, it will take too much power to retrieve the remapping data 'because each encounter-a defect will require a jump, and the laser must be turned on during the jump (the most power consuming component) One). In the case of the sff〇 system, 'traditional sliding ⑽p) is not an option, because during use, SFFO will generate flaws in real time, and sliding ⑷⑻ is not always an option—because some applications have no concept on this, but it remains Must be able to fake 97892.doc 200527386 Γ address "w ° 'real-time sliding ⑽p), the other-the shortcoming is. · Pass * If a defect suddenly appears in an area that has been written, you must rewrite a file and / Or a larger part of the fragment. The obvious solution is to cache the entire field in the driver. However, even if the spare area is not actually used or is only partially used, the extra memory is still very long. And more and more memory will require additional power. Dan Xiong / ,, Zhuan Xiu In the existing scheme, the preparation of the light domain is usually located in a typical area. A # rate, "... retrieve and remap Data will consume a lot of functions (when encountered—when it is exhausted, it must jump from the position of the data to the standby & domain and return. [Summary of the invention] An object of the present invention is to make contact. The US provides a method for The feasibility of the proposed disease management plan is the province's special warfare method and driving clothes. This purpose is achieved by _write 21_ 中 、 户 二 's as claimed in claim 1 in item 10 -Record carrier, such as the requesting recorder 1 ", / as stated in a claim 5 '1 / item 13 as claimed in item 12-drive device to achieve. A new form of flaws is prepared The Θ 竑 optimization domain of the position and remapping magnetic field is included in the read segment. M # is taken. By reducing the work m by using the spare area, there will be no additional search burden, because of the 彳, and it results in excellent real-time characteristics. After enclosing the film γ, for example, the laser can read 1 to take the film & — to save power from Ding M. At the same time, the flaw can be implemented by driving L ^ 1 thinking, using spears The formula does not need to know ^ {ear # new mapping, but it can still meet the real-time J f to read the spare 97892.doc 200527386 area if necessary. The program area will contain a further segment, which contains a further spare located at a boundary of the further segment. Area, where the segment is located next to each other, and the segment is spare The position of the domain is adjacent to the further spare area of the further fragment. In particular, the spare area and the further spare area are combined into a combined spare area of the remapping of the fragment and the further fragment. Positioning a spare area on two pairs of ## again to minimize the total number of spare areas. This results in a reduced number of spare areas because one area is available for two adjacent segments. Furthermore, a reserved spare area will be provided, The reserved spare area is located adjacent to the program area. In case no space is left in each of the associated or exclusive spare areas, additional space can be provided for remapping. The blocks in the segment can be added with a logical address Addressing, where each block contains a -only-address. Then, since there is a spare area that is not logically addressable, the continuous fragment is larger than the logical fragment. This provides a well-defined storage device interface. Meaning: A defect management table is provided on the record carrier. The table contains a defective block ^ logical address only and contains a link to a physical magnetic field associated with the defective block. According to the information derived from the defect management table, it can be known whether the next segment contains a remapping data, so the remapping data can be obtained from the same scan item. Further advantageous amendments will be defined in the dependent claims. [Embodiment] In different drawings, corresponding elements have the same reference numerals and symbols. 97892.doc 200527386 A private example will now be explained, in which it will be revealed: like: a better-equipped m-camera other than a PB drive, and a first-class heritage owner. In this context, the term I, Legacy 0 h earlier than current technology, gey) means 格式 σ flat mouth and such formats, materials or devices inherited by technology. Legacy devices are not well equipped to handle flaws. It can be assumed to be a flawless solid state memory. FIG. 1 shows the adjustment to be suitable for, for example, a close room format = device: 〇. Therefore, the driving device can replace solid-state memory. For the 4 functions, a standard interface with a corresponding connection terminal 32 will be provided. The surface connector 2 () can be arranged to be used on the writer removable drive device 30 from the internal disc 10. An internal broadcast system maps an external broadcast system used by the access drive device 30, and maps from the ㈣ file system to the external file system when fetching from the disc. The PB logical format provides the opportunity to spread spare areas across the disc. PB series = 6 fetch / write cycles are based on segments to reduce power consumption. A segment is a group correction code (scan correction code) block that is read / written by m scans. Generally, the buffer management of Ezhi meets this kind of basis: Duan Liji fetches all the data required for the special task or period from the allocation in the segment, and then the optical unit of the drive device 30 can be closed after the segment is read: Laser to save power. The point is that it has units that can be selected in one scan. If the application runs out of data in the buffer, it reads another segment. Obviously, the defect management is still performed by the driving device 30. The running application only reads the segment, and if necessary, the drive device 30 will take the item to a spare area. The physical fragment is thus larger than the logical fragment, that is, the physical 97892.doc 200527386 f-segment size = logical fragment size + spare area size. In other words, the storage benefit or drive = Yujia 30 is still a bit engine, and there is a definition between it and the host ^ 1 spare area cannot be accessed through the interface unit 20, such as address 0 according to a better specific f, X y tm _ — Through the yoke example; 丨 early 20 yuan provides a defect management function or early 22 'which is adjusted to use-the first and / or last set of sectors or ECC blocks of the segment as the user in the segment A spare area for data. Beans facilitate a power-optimized blemish management solution that provides excellent instant characteristics. If during the writing of a special segment, the defect management unit 22㈣ to -㈣ £ block 'it will control the interface unit 20 in order to preferentially remap the block to one of the reserved areas located at the beginning or end of the segment. Block. The data is read one segment at a time during the "first job" period. If you know from reading a defect management table provided on disc 10-the segment contains one or more remapped areas in the spare area of the segment Blocks, then these remapped blocks are read with the same scan, resulting in little or no additional power use or time donation. '| ≫ u only] Lost if the acquired segment does not include a remapped area Block, the spare area is not read to ensure that the scheme does not impose additional burdens. It is based on the following observations: a new way of governing the use of the physical address space of the entity facilitates a new form of defect management, which has An optimized position of the spare area and a __power optimization extraction of the remapped magnetic area. One disadvantage of the traditional system with many relatively small spare areas is that no defects occur, 'still need to skip' In order to skip the spare area after each segment. This is not true for the proposed system. During normal operation or at least in low power mode, the application will open the drive% and read a 97892.doc -10- 200527386 clips, and then sometimes shut down the drive 30. It does not want to read a series of clips at a time, so no extra jumps occur. By including the spare area in the read clips, there will be no additional search burden, reducing power consumption At the same time, Blemish Management can be implemented by this driver, that is, the application does not need to know the remapping, but still meets the real-time guarantee. At the same time, it reads the spare area when necessary. Please note that in the PB system, the fragment It is the layer between the file system and the bit engine used to manage the physical space of dialogue or segmentation components. Not all fragments are in logical space, and not all physical sectors are part of a special fragment. If the file system will take over For defect management, it is possible to decentralize the same spare area, and it is the best. Therefore, most of the above suggestions are still valid. However, better, the defect management is performed by the driving device 30 (for example, by the defect management component 22). Implementation. Figures 2a to 2d show the unintentional representation of the allocation of an information area and a spare area provided by the disc 10. Figure 2a The information area IA of the table pb disc 10 is introduced by one, a drive navigation area DN, a rights management area rule ..., a defect management area DM, a first spare area SA1, a program area pA, and a L0 is constructed. The fragment is enlarged. Figure 2b, Figure b and Figure 2d respectively depict three possible configurations according to the first to second preferred embodiments. The first preferred embodiment described in Figure 2b In the configuration, the spare area SA is formed by the last £ (: [block of each segment constituting a plurality of Ecc blocks, and will have a size of, for example, approximately 5 MB. Furthermore, as described in FIG. 2c In the configuration of the second preferred embodiment, a spare area SA is provided between every two segments of 97892.doc 200527386, which is composed of the last block of the first segment and the first block of the last segment. Finally, the advantage of the configuration of the third preferred embodiment described in FIG. 2d is that it minimizes the number of spare areas SA. In the third preferred embodiment, the last block of the segment Fn and the first block of the segment Fn + 1 form a common spare area SA. However, no spare area is provided between the segments + 丨 and ++. . This means that two segments, grouped or paired, share a spare area SA at the edge where they are shared. For example, for a 1024MB disc, which has 5 segments and a 5% reserve for defect remapping, it will require 100 spare areas sa each with 16 ECC blocks. Figures 3a and 3b show a schematic representation of two alternatives or examples of the first spare area 第三 in a third preferred embodiment, wherein each of them is shown in Figure 3a and Figure 'Reserve areas SA2 to SA (1 / 2n + 1) or spare areas ㈤ to Μ㈣) are shared by respective adjacent segments containing user data UD. Up arrow dragon represents the address of the logical address space. "Figure 3a depicts a situation where the user leaves the reserved space in the user's mind and reserves extra space in the first spare area SA1 for defect remapping. Figure 3b depicts a situation other than the above, where no additional space is provided. / Next, let ’s talk about root selection. The proposed defect management solution requires a special mode of operation, according to the first description of the third preferred embodiment shown in FIG. 3a. The defect management table detailing which blocks are remapped is stored in the disc specified defect management area_). Install on disc 10, read, and then cache. During the ordering period 97892.doc -12- 200527386 Figure 4 shows a schematic flow of a method for writing data on the disc 10. The picture starts at step 01 and writes a fragment. At step 102, if the system detects a defective block during the writing of the special slave, the system will remap the block. Then in step 103, it is checked whether the associated spare area of the current segment is filled. If not, the block is remapped to a block in a spare area shared by an adjacent segment paired with the target segment ( Step 105). It will be at the beginning or end of the segment. 2. Ruguo detects in step 103 that there is no space left in the associated spare area in the same segment, and then checks in step 104 whether an adjacent segment of the same fragment pair & is left in the spare area. Any free space. If yes, remapping is performed on the adjacent spare area in the adjacent segment (step 107). If this adjacent spare area is also full, an auxiliary remapping procedure is started in step 106, where an immediate optimized remapping solution using the nearest spare area with space can be used or the first spare area can be used长期 A long-term power optimization solution among surplus workshops. The former minimizes the search time, while the latter reserves space for future remapping within the same segment. At step 1G8, the current segment is written with _scan. Finally, in step H) 9, it is checked whether or not a new segment is written. If yes, skip to step 1 01. Otherwise, the writing procedure ends. FIG. 5 shows a schematic diagram of a method for reading data from the disc 10. During normal operation, the data is read-segments. First, read the ㈣ management table at ㈣201. If removed from the job management vote at step 202-the segment contains one or more remapped blocks, then if at step 203 it is decided to remap the region, it is assumed that the previous block is located in the same or paired segment as a spare 97892.doc -13- 200527386 Zone or Zhongbei uses the same scan to read the remapped data and the user profile in the clip together (step 204). If it is decided in step 203 to remap the block bits: the ground floor is not in the same segment, then a search must be performed in step to manipulate the remapped block. Then, in step S4, the segment 读取 is read without including its associated spare area. Finally, in step 207, it is checked whether the item is fetched-new segment. If yes, the program skips training. Otherwise, the reading process ends. 'In short' proposes a lexical scheme for an optical record carrier such as -SFF0 or PB discs in a mobile environment. The record carrier contains data segments, each segment containing one or more blocks. As exemplified, a fragment may have a size of about 2, 5, or 10 mm. Its maximum size is determined by the minimum size of the hard buffer H that drives it. It will be read and written by the device in a scan. The spare area will appear on disc two and the defective block will be remapped to a spare area. These spare areas are located at the edges or boundaries of the clip. The result is a complete optimization to reduce power consumption without compromising defect management. Combining a spare area with a segment has the advantage of no additional search burden and therefore saves power. Defect management is implemented with a driver, so the app doesn't know about remapping. It can be 'instantaneously guaranteed' because reading-remapping blocks will not cause a jump in a disc-type area. The spare area is read only when needed. It must be further noted that when the term " include " is used in this specification (including the request), it is used to describe the existence of the stated feature, whole, step or component, but does not exclude one or more additional features , Whole, step, component or group thereof. At the same time, it must be noted that the word “97892.doc -14-200527386” before a component in a claim does not exclude the reference of multiple such components. The symbol does not limit the scope of the request. Furthermore, any software and software can be implemented, and if "quote" can be expressed in hardware at the same time. Furthermore, the present invention often: can be added to the same hardware item in the present application & fortunately, the characteristics or combination of characteristics. This case is not limited to the re-examination of the above specific defective data part, but can be used in the record carrier system based on the remapping operation of the "knife". Therefore, any preferred embodiment in ... Within the range of δ month term term, it can be changed more than [Simplified description of the figure] It is obvious that the present invention is explained with reference to the drawings and based on the preferred embodiments, wherein: & A standard surface of the preferred embodiment and a removable block of the input function; a schematic block of the mobile device; Figure 2a shows a schematic representation of a program; Fig. 2b shows a schematic representation according to a first part; Fig. 2c shows another schematic representation of a part of a program area not according to a second preferred embodiment; 2 d shows another schematic representation of a part of a program area not according to a third preferred embodiment; FIG. 3 & shows not a part of the third preferred embodiment-exemplified-information area Schematic representation; Figure shows another example of information according to the third preferred embodiment. 97892.doc -15- 200527386 A schematic representation of a portion of the area; Figure 4 shows the party writing data on a record carrier A schematic flowchart of the method; and FIG. 5 shows a schematic flowchart of a method for reading data from a record carrier. [Description of Symbols of Main Components] 10 Discs
20 標準介面單元 22 瑕疵^管理功能性或單元 30 驅動裝置 32 連接終端20 Standard interface unit 22 Defect ^ Management functionality or unit 30 Drive unit 32 Connection terminal
97892.doc -16-97892.doc -16-