TW201212018A - Optical recording method and system - Google Patents

Optical recording method and system Download PDF

Info

Publication number
TW201212018A
TW201212018A TW100115716A TW100115716A TW201212018A TW 201212018 A TW201212018 A TW 201212018A TW 100115716 A TW100115716 A TW 100115716A TW 100115716 A TW100115716 A TW 100115716A TW 201212018 A TW201212018 A TW 201212018A
Authority
TW
Taiwan
Prior art keywords
data
data units
recording
optical media
recorded
Prior art date
Application number
TW100115716A
Other languages
Chinese (zh)
Inventor
Yu-Wei Ling
Yih-Shin Weng
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 US12/822,263 external-priority patent/US20100302919A1/en
Application filed by Mediatek Inc filed Critical Mediatek Inc
Publication of TW201212018A publication Critical patent/TW201212018A/en

Links

Landscapes

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

Abstract

An optical recording method and recording system for recording data to optical recordable medium are present. An recording system for recording a plurality of data units from a source via a buffer to an optical recordable medium, the apparatus comprising: a pick-up head module (PUH module), for controlling a pick-up head to record a first number of data units to the optical recordable medium, a verifier coupled to the PUH module, a buffer management unit for controlling the buffer to buffer data units, and receiving a verifying status signal from the verifier, when the verifying status signal indicating one of recorded data units is verified, generating a transfer control signal for receiving new data unit, and a buffer control signal to control the buffer to release buffer space of the verified data unit to buffer new data unit; wherein after the verifier verifies the second number of the data units, the PUH module follows to an initial position to record a third number of new data units and keeps recording and reading until the plurality of data units being recorded and verified.

Description

201212018 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種對可讀寫光學媒體記錄資料之 方法及系統以及其驗證程序,特別是一種由驗證程序無間 轉換(Seamlessly transition)至記錄程序以便於光學記錄媒 體上記錄資料之方法及系統以及其驗證程序。 【先前技術】 一光學媒體記錄系統對可讀寫光學媒體(例如:光碟) 記錄(recording)資料後,會再對其進行一驗證(verifying)程 序,以確認之前記錄資料之可靠度。對於包含資料驗證程 序的糸統而言’因為糸統不能在前·一次所記錄的資料被完 全驗證完成之前就開始獲取下一筆資料,因此資料驗證程 序不但費時並且浪費糸統貢源’資料記錄糸統的效能因此 而受限。當於驗證程序中,找到記錄資料之一缺陷單元 (defect block)時,光學媒體記錄裝置為缺陷單元配置一替 換,此程序可稱之為一資料缺陷處理。 請參考第8圖,係依據習知技術,提供一完整記錄操 作之尋軌(seeking)程序、記錄程序、驗證程序之流程圖以 及該記錄操作對應資料單元。於每一記錄程序及驗證程序 之間,光學媒體記錄裝置均必須執行一尋執程序,以移動 光學讀寫頭至一目標位置。如第8圖所示’於一完整記錄 程序中,共有52個資料單元。由於用於記錄資料之暫存記 憶體容量限制為20個資料單元,因此,包含52個資料單 元的完整記錄程序將會分為三個記錄區段。 0758-A34988TWF MTKI-06-075-I 4 ⑧ 201212018 如第8圖所示,尋執程序101搜尋記錄操作之起始位 置。記錄程序102自記錄操作之起始位置起,將20個資料 單元B〇〜B19記錄至光學媒體。尋軌程序103搜尋已記錄資 料之目標位置。驗證程序104自該記錄操作之起始位置 起’ Ί買取並驗證20個資料早元B〇〜B19。為完成52個貧料 單元之完整記錄,尋軌程序101、記錄程序102、尋執程序 103以及驗證程序104必須重覆三次,例如,第8圖所示 的尋執程序105、記錄程序106、尋軌程序107、驗證程序 108、尋執程序109、記錄程序110、尋軌程序111以及驗 證程序112。所有記錄程序以及驗證程序前之尋軌程序均 須耗費時間。對光學媒體而言,在前述交替反覆的記錄程 序與驗證程序中的這些尋執程序大大影響整個記錄操作的 效率以及光碟驅動系統的穩定性。 請參考第9圖,係依據習知技術之資料移轉程序、編 碼程序、尋軌程序、記錄程序、驗證程序之時序圖。如前 述,一個完整記錄程序中之52個資料單元分為三個記錄區 段D1,D2,以及D3。三個記錄區段D1,D2,以及D3分別 包含單元B〇〜Be、單元Β2〇〜B39以及單元B4〇〜B51。資料移 轉為光學媒體記錄系統自一資料源接收資料至一暫存記憶 體(buffer)的操作。其中,編碼係指光學媒體記錄系統對 自資料源接收的資料進行之編碼程序。記錄則為記錄已編 碼資料之程序。而驗證則為讀取光學媒體已記錄之資料並 進行驗證之程序。 在初始化時,資料單元B〇〜B19從資料源轉移到暫存記 憶體,資料的準位持續地增加直到到達暫存記憶體的上部 0758-A34988TWF MTKI-06-075-1 201212018 臨界值。在尋執程序101中資料準位維持在一固定準位。 然後在記錄程序102期間資料準位連續減少到下部臨界 值。接著,資料準位在已記錄資料單元B〇〜B19之尋執程序 103和驗證程序104中維持固定。在下個記錄區段D2,即 資料單元B2〇〜B39,的轉移階段資料準位再次增加。只在資 料記錄區段D1驗證完成之後下筆資料記錄區段D2才可使 用暫存記憶體的空間。所以整個的資料儲存操作(包括記 錄和驗證)都等待驗證程序104結束才可開始進行下一段 貢料的記錄。 如第9圖所示,習知之光學媒體記錄系統在記錄區段 D1之所有資料單元全部被編碼結束后才執行記錄程序。因 此光學媒體記錄系統的光學讀寫頭總會超過記錄的目標位 置,所以光學媒體記錄系統必須執行一額外的尋執程序, 亦即找尋下一記錄區段的起始位置(目標位置),例如:尋 執程序105及109。這些尋執程序明顯地降低了光學媒體 記錄資料的效率。 是以,有需要提供一種由驗證程序無間轉換至記錄程 序的方法及裝置,以改善整個記錄操作之效能。此外,當 對資料存取的需求增長,就會需要更佳的資料記錄驗證效 能,以便在單位時間内提供更高的資料量。因此需要一個 高效率的資料儲存方針用來加速處理資料記錄與驗證。 【發明内容】 為解決前述習知技術之缺點,本發明之主要目的在於 提供一種對可讀寫光學媒體記錄複數個資料單元之方法及 0758-A34988TWF_MTKI-06-075-l 6 201212018 裝置。 本發明之該方法包含下列步驟。首先,記錄第一數目 之資料單元至可讀寫光學媒體;驗證已記錄的第二數目之 資料單元;於驗證之步驟期間,在完成驗證已記錄的一個 資料單元之後為記錄第三數目之資料單元作準備,其中第 三數目之資料單元與第一數目之資料單元係不同的資料單 元;當驗證之步驟結束後,開始記錄第三數目之資料單元; 以及重複前述該等步驟,直至完成該多個資料單元之記錄 與驗證。 本發明另提供一種記錄方法包含下列步驟。自資料源 接收第一數目之資料單元至暫存記憶體;記錄第一數目之 資料單元至可讀寫光學媒體;驗證已記錄於可讀寫光學媒 體的第二數目之資料單元;以及當第二數目之資料單元已 完成驗證時,釋放暫存記憶體中第二數目之資料單元佔用 的暫存記憶體空間;自資料源接收第三數目之新資料單元 至暫存記憶體中已釋放的暫存記憶體空間;以及在驗證完 已記錄於可讀寫光學媒體的第二數目之資料單元後,循軌 至可讀寫光學媒體上第三數目之可讀寫單元的起始位置, 開始記錄第三數目之新資料單元。 本發明之另一目的在於提供一種光學媒體記錄裝 置,該裝置至少包含光學讀寫頭模組,控制光學讀寫頭記 錄第一數目之資料單元至可讀寫光學媒體,並讀取已記錄 於可讀寫光學媒體的第二數目之資料單元;以及驗證器, 耦接至光學讀寫頭模組,驗證記錄於可讀寫光學媒體的第 二數目之資料單元並產生驗證狀態信號;暫存記憶體管理 0758-A34988TWF MTKI-06-075-1 7 201212018 單元,用以控制暫存記憶體儲存該多個資料單元,並且接 收驗證狀態信號,當驗證狀態信號指示已完成一個已記錄 的資料單元的驗證時,產生轉移控制信號以接收新資料單 元,並產生暫存記憶體控制信號以控制暫存記憶體釋放已 完成驗證的資料早元之暫存記憶體空間來儲存新資料早 元;其中當驗證器驗證完第二數目之資料單元後,光學讀 寫頭模組控制光學讀寫頭循執至第三數目之可讀寫單元的 起始位置以記錄第三數目之新資料單元並持續記錄與驗 證,直至完成該多個資料單元之記錄與驗證。 本發明之光學媒體記錄方法避免執行習知技術中額 外之尋執程序,在可讀寫光學媒體之記錄過程中,實現由 驗證程序無間斷轉換至記錄程序,進而提供了一較習知技 術更具效率之記錄方式。 【實施方式】 請參閱第1圖,係依據本發明對一可讀寫光學媒體54 記錄資料的光學媒體記錄系統100之結構示意圖。光學媒 體記錄系統100包含一光學讀寫頭模組(PUHmodule)518、 一驗證器502、一編碼器516、一缺陷處理單元508,一來 源介面506, 一暫存記憶體管理單元504以及一暫存記憶 體500。參見第1圖,暫存記憶體500耦接至暫存記憶體 管理單元504。暫存記憶體管理單元504傳輸一移轉控制 信號514給來源介面506,用以控制來源介面506從資料 源52來接收資料單元,接著轉移資料單元給暫存記憶體 5〇〇。暫存記憶體500接收和儲存資料單元。當暫存記憶體 0758-A34988TWF MTK.I-06-075-1 8 ⑧ 201212018 管理單元504判定暫存記憶體500的資料容量到達一個預 定準位,暫存記憶體管理單元504產生起始信號到驗證器 502。請一併參閱第1圖、第2圖以及第3圖。其中,第2 圖描述了依據本發明提供之一完整記錄操作之尋執程序、 記錄程序、驗證程序之流程圖以及對應資料單元。第3圖 係依據本發明之資料移轉程序、編碼程序、尋執程序、記 錄程序、驗證程序之時序圖。資料源52發佈一個完整記錄 程序之指令。根據該指令,資料源52透過光學媒體記錄裝 置100與資料源52間之來源介面506移轉資料至暫存記憶 體500。每次移轉之資料單元數目受暫存記憶體500之容 量的限制。例如:資料源52向光學媒體記錄系統100下指 令,令其將52個資料單元記錄至可讀寫光學媒體54的複 數個預先決定之連續位置,而暫存記憶體500之緩衝容量 僅為20個資料單元,所以資料源52必須傳輸資料至少三 次。該些資料被分割為第一記錄區段(20個資料單元, B〇〜B19),第二記錄區段(20個資料單元,B20〜B39)以及第三 記錄區段(12個資料單元,B4G〜B51)。在初始化時,資料單 元B〇〜B]9從資料源轉移到暫存記憶體,資料的準位持續地 增加直到到達暫存記憶體的上部臨界值。 暫存記憶體500儲存來自資料源52移轉之資料後, 編碼器516便開始將這些資料編碼成可記錄之資料單元。 光學讀寫頭模組518接收這些已編碼之資料單元並產生某 些控制訊號,以控制光學讀寫頭模組518之光學讀寫頭(未 顯示)。光學讀寫頭模組518使其光學讀寫頭尋軌至目標 位置B〇,產生雷射以將已編碼資料單元之第一記錄區段 0758-A34988TWF N4TKI-06-075-1 201212018 B〇〜B19記錄至可讀寫光學媒體54。在對第一記錄區段 B〇〜B19之記錄程序完成後,光學讀寫頭模組518再尋軌至 目標位置B〇,並讀取已記錄至可讀寫光學媒體54之資料 單元B〇〜B19。光學讀寫頭模組518接收反射自可讀寫光學 媒體54之光學訊號,並將資料單元B〇〜B19移轉至驗證器 502,其中光學訊號代表自可讀寫光學媒體讀取之資料單元 B0〜B】9。於本發明之實施例中,光學讀寫頭模組518包含 一訊號處理器以及一伺服控制器,用以執行前述之程序。 驗證器502利用儲存於暫存記憶體500已編碼之資料單 元,對這些記錄之資料單元進行驗證。驗證器502亦可以 包含所屬技術領域中具有通常知識者所常使用之一解碼 器。 當驗證器502利用儲存於暫存記憶體500中的已編碼 之資料單元,對已記錄的第一記錄區段的一預定數目之資 料單元作驗證時,暫存記憶體500之儲存容量便釋出從而 讓資料源52移轉第二記錄區段之資料單元。當暫存記憶體 500取得來自資料源52之新的資料單元時,編碼器516亦 開始將這些新的資料單元編碼成可記錄之資料單元,為下 次的記錄程序做準備。舉例來說,在尋執程序201之尋找 記錄位置期間,資料準位仍然維持在固定的準位。當記錄 系統在記錄程序202期間開始記錄資料到可記錄媒體時, 資料準位持續減少,一直到一下部臨界值。接著,在循執 程序203的尋找驗證位置和在驗證程序204的驗證記錄資 料單元B〇期間,資料準位都維持固定。當驗證程序204中 記錄資料區塊B,,……B19的驗證進行中時,資料準位也跟 0758-A34988TWF_MTKI-06-075-l 10 201212018 著下一筆資料D2移轉而增加。上部臨界值準位可以是暫 存記憶體的總容量,或者小於總容量。下部臨界值準位可 以是零,或是比上部臨界值準位小的值。 與第9圖比較’第9圖在驗證程序204的驗證完成之 後第二記錄區段D2的資料移轉開始,第3圖的驗證程序 204部分完成後立即開始第二記錄區段D2的資料移轉,使 得本發明具有更佳的資料儲存效能。 前述程序係於光學讀寫頭模組518與驗證器502處理 有關第一記錄區段之資料驗證期間執行。所以當光學讀寫 頭模組518與驗證器502完成第一記錄區段之驗證處理, 即稱之為第一驗證程序時,編碼器516與暫存記憶體500 已經為光學讀寫頭模組518準備好足夠之已編碼資料(準備 記錄第二記錄區段之資料,即稱之為第二記錄程序),以記 錄於可讀寫光學媒體54。 依據本發明’光學讀寫頭模組518循軌至一第二起始 位置,以開始第二記錄區段的資料單元之記錄程序,而於 第一 證程序與第一 §己錄程序間無須執行再一次的尋執程 序。換言之,依據本發明,能省略習知技術因驗證程序(讀 取模式)與記錄程序(記錄模式)間轉換所具有的硬體延遲 (hardware latency)。當光學媒體記錄系統丨〇〇驗證完第一記 錄區段之最後一個資料單元後,光學媒體記錄裝置1〇〇無 須進行任何尋執(seeking)程序,而能即刻進行第二記錄區 段之第一個資料單元之記錄程序,亦即,光學讀寫頭模組 518控制其光學讀寫頭執行—常見的循執(track f〇11〇wing) 程序,該循執程序係自第一記錄區段之最後一個資料單元 0758-A34988TWF_MTICI-06-075-l n 201212018 二記錄區段之第—個資料單元。光學媒體記錄 :、=:Γ更體裝置能夠同時被利用,用於記錄程序的 π時車借、在用於驗證的相關硬體進行資料驗證期間, 同時準備記錄的資料。 -4自知技術之光學媒體記錄线之硬體僅能 St:系列之程序,亦即,解碼或編碼、尋轨· :=Ϊ 理。同時,依據習知技術,於剛結束之驗 :=:、即將執行之記錄程序間,亦必須執行尋執之操 ^ 1法避免硬體延遲(驗證程序1G4之後置處理與記 Si二之前置處理)的存在。然而,依據本發明雙向資 ’=、、ι力’⑥同時執行—驗證程序中驗證已記錄資料 夕本與拔^。己錄私序中所需待記錄資料之準備。本發明 子、_ °己錄^、統100能在驗證程序期間,同時對資料 進行編碼並將編碼後的資料單元儲存於暫存記憶體儀 中^準備下一次記錄程序所需之資料單元。是以,能實 現從驗證程序至·ί·ρ銘·车。f 。己錄&序之無間轉換(Seamlessly transition)。 另妓方面,清參照第1圖,驗證器502接收可記錄媒 體54上第一 Ϊ錄區段D1的一部份,以及驗證第一紀錄區 •k D1的第i單几並輸出驗證信號51()至暫存記憶體管 理單元504,驗證作辨yλ圭· 乜唬5]〇表不已記錄資料單元氏的驗證 結果。暫存記憶體管理單元綱接著透過暫存記憶體控制 信號5】2控制暫存記憶豸,以及透過轉移 控制來源介面506。 况 如果已記錄資料單元Β,•驗證成功,暫存記憶體管理單 075S-A3498STWF_MTK ί-06-075-1 12 201212018 元504產生暫存記憶體控制信號512,和移轉控制信號 514,同時繼續驗證已記錄資料單元Bi+1。暫存記憶體控制 信號512只釋放在暫存記憶體500内相對應於記錄的資料 單元氏的暫存記憶體空間。移轉控制信號514致能來源介 面506作進一步的資料接收。當更多暫存記憶體空間釋放 時,暫存記憶體500有更多暫存記憶體空間以暫存從資料 源52傳送而來的資料。暫存記憶體管理單元504比較在暫 存記憶體500内可利用的暫存記憶體空間和來自資料源52 之資料所需要的暫存記憶體空間,以及如果可利用的暫存 記憶體空間超出或相等於需要的暫存記憶體空間,產生移 轉控制信號514。隨後從資料源52接收第二記錄區段D2 暫存到釋放的暫存記憶體空間。暫存記憶體管理單元504 也可以根據當時可利用的暫存記憶體空間,致能來源介面 506接收第二記錄區段D2部份或全部的資料單元。 請一併參閱第2圖與第3圖,如示例一個完整之記錄 程序包含52個資料單元。由於暫存記憶體500之緩衝容量 有限,必須執行數次記錄程序,才能完成一個完整之記錄 程序,例如分成三個區段,資料單元B〇〜B19、資料單元 B20〜B39以及資料單元B40〜B5] 〇首先,本發明之光學媒體 記錄系統100執行尋軌程序201,搜尋記錄程序202之初 始位置後,執行記錄程序202。當記錄程序202結束後, 光學媒體記錄系統100執行尋執程序203以搜尋驗證程序 204之初始位置,然後,執行驗證程序204。於執行驗證程 序204的同時,光學媒體記錄系統100接收移轉自資料源 52之資料並對其預先編碼,為記錄程序205作準備。此外, 0758-A34988TWF MTKI-06-075-1 201212018 亦可執行缺陷處理或其他必須準備 ^ 、 用^-不王斤。前述ii 4匕以、范 於s己錄剛準備之處理可稱之為「準備. /、 之資料已準備完成’當驗證程序2〇4 ;東;: 錄系統⑽能即刻執行記錄程序2〇5(無任何延遲)干媒體兄 當5己錄程序205結束後,光聲據㈣ 尤子媒體5己錄系統100執行 哥執私序雇,以搜尋該驗證程序2〇7之初始位置 置),接著執行驗證程序207。於執行驗證裎序2〇7的同; 如同前述光學媒體記⑽統_為記錄料遣作準^ ’ 由於欲記錄之資料已準備完成,當驗證程序2〇7結束後, 光學媒體記錄系統1GG能即刻執行記錄程序雇(無任^延 遲)。當兄錄程序208結束後,光學媒體記錄系统1〇〇執行 尋軌程序209以搜尋驗證程序210之初始位置,然後,執 行驗證程序210。最終,完成包含52個資料單元之一個完 整記錄操作。 根據本發明,從驗證程序204至記錄程序205、從驗 證程序207至記錄程序208之無間轉換能改善對可讀寫光 學媒體54記錄資料之整體效能。並且,於本發明中每一記 錄操作中記錄之資料單元數目為有彈性且為可變,以提供 有效的靈活性,以為可讀寫光學媒體54上許多可能的缺陷 或物理區段(physical segments)作調整。例如:假設光學讀 寫頭模組518讀取到一個記錄程序可能跨過—物理區段邊 界之資訊’便能調整各記錄程序之資料單元數目,以避免 έ己錄程序跨過物理區段之邊界而產生可能的記錄錯誤。 此外,在本發明之另一實施例中,當驗證程序204於 已驗證的資料單元中發現一缺陷資料單元時,缺陷處理單 0758-A34988TWF ΜΤΚΙ-06-075-1 201212018 元508中止記錄程序205並且替換缺陷資料單元之資料。 同樣地,當驗證程序207於已驗證的資料單元中,發現一 缺陷資料單元時,缺陷處理單元508能中止記錄程序208 且替換缺陷資料單元之資料。或者,當於驗證程序204及 驗證程序207中,發現一缺陷資料單元時,缺陷處理單元 508能將該缺陷資料單元予以標示為缺陷,而於完整記錄 操作結束後再進行缺陷資料之替換。 如同前述,本發明中每一記錄程序中所記錄之資料單 元數目並非固定且為可變數,以提供有效的靈活性。於本 發明之一實施例中,資料源52、暫存記憶體500以及編碼 器516準備欲記錄之第一數目之資料單元。於記錄後,驗 證器502僅驗證記錄於可讀寫光學媒體54中第二數目之資 料單元。第一數目與第二數目可為相同或不同之正整數, 但第二數目應小於或等於第一數目。於驗證程序期間,資 料源52、暫存記憶體500以及編碼器516準備下次記錄之 第三數目之新的資料單元。第三數目與第一數目可為相同 或不同之正整數,但均受暫存記憶體容量所限制。 第4圖顯示本發明實施例之驗證方法的流程圖,請同 時蒼考第1圖的記錄糸統。 在驗證期間’驗證方法40在步驟S400重設計數i= 1 以及j=20,在步驟S402驗證器502決定已記錄的記錄區段 D1之資料單元Bi的比對結果。如果驗證信號510表示驗 證結果成功,在步驟S404中藉由暫存記憶體控制信號 512,暫存記憶體管理單元504只釋放暫存記憶體500中相 對應於資料單元氏的暫存記憶體空間,否則記錄方法40 0758-A34988TWF MTK1-06-075-1 201212018 繼續執行步驟S406。 接著在步驟S405,計數器i增加1,使得能夠在下一 次的驗證程序中驗證下個資料單元Bi+1。 接著步驟S406,暫存記憶體管理單元504檢查是否接 收到來自資料源52的移轉命令。如果沒有移轉命令,方法 40繞到步驟S414以便繼續驗證資料單元。如果移轉命令 存在,暫存記憶體管理單元504評估需要的暫存記憶體空 間,估計在暫存記憶體500可利用的暫存記憶體空間,以 及在步驟S408中比較需要的暫存記憶體空間和可利用的 暫存記憶體空間。如果可利用的暫存記憶體空間超出或等 於需要的的暫存記憶體空間,記錄方法40繼續進行步驟 S410,否則繞到步驟S414。在步驟S410中,暫存記憶體 管理單元504產生移轉控制信號5]4,用以允許從資料源 52接收第二資料單元Bj到暫存記憶體500。 其次在步驟S412,計數器j增加1,使得能夠下一次 暫存記憶體500接收下一資料單元Bj+1。 在步驟S414,暫存記憶體管理單元504決定是否記錄 區段D1完全驗證完成,即,是否其最後的資料單元B19 驗證完成。如果是,即完成方法40並且系統繼續處理下筆 資料區段D2,否則繼續執行在步驟S402的驗證程序直到 資料區段D1驗證完成。必須強調的是,方法40的結束只 表示資料D1比對完成,並不表示完成整體記錄的驗證程 序。系統應該繼續記錄以及驗證接下來的資料,直到整個 資料都驗證完成。 第5圖顯示本發明實施例之在第4圖的記錄方法内暫 0758-A34988TWF MTKI-06-075-1 16 201212018 存記憶體500的暫存記憶體空間分配,請同時參考第1圖 的記錄系統。第5圖中包括已記錄的資料5000和未記錄的 資料5020,並且沿著記錄進展的方向分配。驗證步驟S402 係從已記錄資料5000的開始(即資料BJ ,並且釋放被 驗證的資料,用以在步驟410中接收下筆資料。 第6圖顯示本發明實施例之在第4圖的記錄方法内暫 存記憶體500的暫存記憶體空間分配,請同時參考第1圖 的記錄系統。第6圖包括未記錄的資料6000和已記錄資料 6020,沿著步驟S402中驗證進展的方向分配。第二記錄區 段D2 (包含未記錄的資料)包括Β2〇、Β2ι、. ··、Bj ’並且 沿著驗證進展的方向達成環型暫存記憶體(Ring Buffer ) 的態樣。暫存記憶體500同時包含已記錄但未驗證的第一 記錄區段D1之Bj+i、...、B19 ’和未記錄的弟二記錄區段 D2之B2〇、B21、…、Bj。由於暫存記憶體的環形空間分配, 暫存記憶體500的使用率提高,並且存取時間減低。相對 應地,環型暫存記憶體也能使用在本發明的實施例中。 請參考第7圖,係依據本發明光學媒體記錄方法之流 程圖。本發明之記錄方法包含下列步驟: 步驟700,準備記錄第一數目之資料單元; 步驟705,尋執至記錄第一數目資料單元之起始位置; 步驟710,記錄第一數目之資料單元至可讀寫光學媒 體54 ; 步驟720,驗證記錄於可讀寫光學媒體54中第二數目 之資料單元; 步驟725,確認對第二數目之資料單元之驗證程序是 0758-A34988TWF MTKI-06-075-1 201212018 否為最後一次驗證程序;如是,執行步驟760,完成記錄 程序;如否,則執行步驟730 ; 步驟730,於前述驗證步驟中,準備記錄第三數目之 新資料單元; 步驟740,當前述驗證步驟結束時,循執以記錄第三 數目之新資料早元, 步驟750,確認是否所有資料單元均已驗證;如是, 執行步驟760 ;如否,則執行步驟720 ; 步驟760,完成記錄程序。 【圖式簡單說明】 第1圖係依據本發明對一可讀寫光學媒體記錄資料的 光學媒體記錄系統之結構示意圖。 第2圖描述了依據本發明提供之一完整記錄操作之尋 執程序、記錄程序、驗證程序之流程圖以及對應貢料早元。 第3圖係依據本發明之資料移轉程序、編碼程序、尋 執程序、記錄程序、驗證程序之時序圖。 第4圖顯示本發明實施例之驗證方法的流程圖。 第5圖與第6圖顯示本發明實施例之在第4圖的記錄 方法内暫存記憶體500的暫存記憶體空間分配。 第7圖,係依據本發明光學媒體記錄方法之流程圖。 第8圖,係依據習知技術,提供一完整記錄操作之尋 執程序、記錄程序、驗證程序之流程圖以及該記錄操作對 應資料單元。 第9圖’係依據習知技術之資料移轉程序、編碼程序、 0758-A34988TWF MTKI-06-075-1 18 201212018 哥軌序、§己錄程序、驗證程序之時序圖。 【主要元件符號說明】 100〜光學媒體記錄系統; 52〜資料源; 101、 103、1〇5、1〇7、109、111、201、203、206、209〜 尋軌程序; 102、 106、11〇、202、205、208〜記錄程序; 104、108、112、204、207、210〜驗證程序; 54〜可讀寫光學媒體; 518〜光學讀寫頭模組; 5 02〜驗證器; 516〜編碼器; 508〜缺陷處理單元; 500〜暫存記憶體; 506〜來源介面; 504〜暫存記憶體管理單元; 512〜暫存記憶體控制信號; 510〜驗證信號; 514〜移轉控制信號; 5000、6020〜已記錄資料; 5020、6000〜未記錄資料, 400、402、404、405、406、408、410、412、414、700、 705、710、720、725、730、740、750、760~步驟。 0758-A34988TWF MTKI-06-075-1 19201212018 VI. Description of the Invention: [Technical Field] The present invention relates to a method and system for recording data on a readable and writable optical medium and a verification program thereof, in particular, a seamlessly transition from a verification program to a record The program facilitates the method and system for recording data on an optical recording medium and its verification program. [Prior Art] After an optical media recording system records a data on a readable and writable optical medium (e.g., a compact disc), it performs a verifying procedure to confirm the reliability of the previously recorded data. For the system that contains the data verification program, 'because the system cannot obtain the next data before the data recorded is completely verified, the data verification procedure is not only time-consuming but also wastes the tribute of the tribute. The performance of the system is therefore limited. When a defect block of one of the recorded data is found in the verification program, the optical media recording device configures a defective unit replacement, and the program can be referred to as a data defect processing. Referring to Figure 8, a seek operation for a complete recording operation, a recording program, a flow chart of the verification program, and a corresponding data unit for the recording operation are provided in accordance with the prior art. Between each recording procedure and the verification procedure, the optical media recording device must perform a seek procedure to move the optical pickup to a target location. As shown in Figure 8, there are 52 data units in a complete recording program. Since the capacity of the temporary memory for recording data is limited to 20 data units, the complete recording program containing 52 data units will be divided into three recording segments. 0758-A34988TWF MTKI-06-075-I 4 8 201212018 As shown in Fig. 8, the search program 101 searches for the start position of the recording operation. The recording program 102 records 20 data units B 〇 B B19 from the start position of the recording operation to the optical medium. The tracking program 103 searches for the target location of the recorded data. The verification program 104 buys and verifies 20 data early B〇~B19 from the beginning of the recording operation. In order to complete the complete recording of the 52 lean units, the tracking program 101, the recording program 102, the search program 103, and the verification program 104 must be repeated three times, for example, the search program 105, the recording program 106 shown in FIG. The tracking program 107, the verification program 108, the seek program 109, the recording program 110, the tracking program 111, and the verification program 112. All recording procedures and the tracking procedures before the verification procedure take time. For optical media, these procedural procedures in the aforementioned alternate recording and verification procedures greatly affect the efficiency of the entire recording operation and the stability of the optical disk drive system. Please refer to Figure 9 for the timing diagram of the data transfer program, coding program, tracking program, recording program, and verification program according to the prior art. As mentioned above, 52 data units in a complete recording program are divided into three recording areas D1, D2, and D3. The three recording sections D1, D2, and D3 respectively include the units B〇 to Be, the units Β2〇 to B39, and the units B4〇 to B51. The data is transferred to an optical media recording system for receiving data from a data source to a temporary memory buffer. Wherein, the encoding refers to an encoding process performed by the optical media recording system on data received from a data source. The record is the procedure for recording the encoded data. Verification is the process of reading the data recorded by the optical media and verifying it. At initialization, data units B〇~B19 are transferred from the data source to the temporary memory, and the level of the data continues to increase until it reaches the upper threshold of the temporary memory 0758-A34988TWF MTKI-06-075-1 201212018. In the search procedure 101, the data level is maintained at a fixed level. The data level is then continuously reduced to the lower critical value during the recording process 102. Next, the data level remains fixed in the search program 103 and the verification program 104 of the recorded data units B〇 to B19. In the next recording section D2, i.e., the data unit B2 〇 B B39, the data level of the transfer phase is increased again. The space of the temporary memory can be used only in the data recording section D2 after the verification of the data recording section D1 is completed. Therefore, the entire data storage operation (including recording and verification) is awaiting the completion of the verification process 104 to begin the recording of the next tribute. As shown in Fig. 9, the conventional optical media recording system executes the recording process after all the data units of the recording section D1 are all encoded. Therefore, the optical head of the optical media recording system always exceeds the recorded target position, so the optical media recording system must perform an additional search procedure, that is, find the starting position (target position) of the next recorded segment, for example, : Search procedures 105 and 109. These procedural procedures significantly reduce the efficiency of optical media recordings. Therefore, there is a need to provide a method and apparatus for seamlessly converting a verification program to a recording program to improve the performance of the entire recording operation. In addition, as the demand for data access grows, better data record verification capabilities are needed to provide a higher amount of data per unit of time. Therefore, an efficient data storage policy is needed to speed up the processing of data records and verification. SUMMARY OF THE INVENTION To solve the above-mentioned shortcomings of the prior art, the main object of the present invention is to provide a method for recording a plurality of data units for a readable and writable optical medium and a device for 0758-A34988TWF_MTKI-06-075-l 6 201212018. The method of the invention comprises the following steps. First, recording the first number of data units to the readable and writable optical medium; verifying the recorded second number of data units; during the verification step, recording the third number of data after completing the verification of the recorded one data unit The unit is prepared, wherein the third number of data units are different from the first number of data units; when the verification step ends, the third number of data units are recorded; and the steps are repeated until the Recording and verification of multiple data units. The present invention further provides a recording method comprising the following steps. Receiving a first number of data units from the data source to the temporary memory; recording the first number of data units to the readable and writable optical medium; verifying the second number of data units that have been recorded on the readable and writable optical medium; When the two number of data units have been verified, the temporary memory space occupied by the second number of data units in the temporary memory is released; and the third number of new data units are received from the data source to be released in the temporary memory Temporary memory space; and after verifying the second number of data units recorded on the readable and writable optical medium, tracking to the beginning of the third number of readable and writable units on the readable and writable optical medium begins Record a third number of new data units. Another object of the present invention is to provide an optical media recording device that includes at least an optical head module that controls an optical head to record a first number of data units to a readable and writable optical medium, and reads the recorded a second number of data units readable and writable optical media; and a verifier coupled to the optical head module for verifying a second number of data units recorded on the readable and writable optical medium and generating a verification status signal; Memory management 0758-A34988TWF MTKI-06-075-1 7 201212018 unit for controlling the temporary memory to store the plurality of data units, and receiving the verification status signal, when the verification status signal indicates that a recorded data unit has been completed During the verification, a transfer control signal is generated to receive the new data unit, and a temporary memory control signal is generated to control the temporary memory to release the verified data of the pre-stored memory space to store the new data early element; After the verifier verifies the second number of data units, the optical head module controls the optical head to circulate to a third number Write unit starting position in the third number of new data recording unit and continued recording and verification, until the plurality of data recording and verification of the complete unit. The optical media recording method of the present invention avoids performing an additional seek procedure in the prior art, and realizes an uninterrupted conversion from the verification program to the recording program during the recording process of the readable and writable optical medium, thereby providing a more conventional technique. A way of recording efficiency. [Embodiment] Referring to Figure 1, there is shown a block diagram of an optical media recording system 100 for recording data on a readable and writable optical medium 54 in accordance with the present invention. The optical media recording system 100 includes an optical head module (PUHmodule) 518, a validator 502, an encoder 516, a defect processing unit 508, a source interface 506, a temporary memory management unit 504, and a temporary Memory 500 is stored. Referring to FIG. 1, the temporary memory 500 is coupled to the temporary memory management unit 504. The temporary memory management unit 504 transmits a transfer control signal 514 to the source interface 506 for controlling the source interface 506 to receive the data unit from the data source 52, and then transferring the data unit to the temporary storage memory. The scratch memory 500 receives and stores the data unit. When the temporary storage memory 0758-A34988TWF MTK.I-06-075-1 8 8 201212018 management unit 504 determines that the data capacity of the temporary storage memory 500 reaches a predetermined level, the temporary storage memory management unit 504 generates a start signal to Verifier 502. Please refer to Figure 1, Figure 2 and Figure 3 together. 2 is a flow chart showing a search procedure, a recording program, a verification program, and a corresponding data unit of a complete recording operation according to the present invention. Fig. 3 is a timing chart of the data transfer program, the encoding program, the seek program, the recording program, and the verification program according to the present invention. Source 52 issues a complete record of the program's instructions. According to the instruction, the data source 52 transfers the data to the temporary memory 500 through the source interface 506 between the optical media recording device 100 and the data source 52. The number of data units transferred each time is limited by the capacity of the temporary memory 500. For example, the data source 52 commands the optical media recording system 100 to record 52 data units to a plurality of predetermined consecutive positions of the readable and writable optical medium 54, and the buffer memory capacity of the temporary memory 500 is only 20 Data unit, so source 52 must transfer the data at least three times. The data is divided into a first recording section (20 data units, B〇 to B19), a second recording section (20 data units, B20 to B39), and a third recording section (12 data units, B4G~B51). At the time of initialization, the data unit B〇~B]9 is transferred from the data source to the temporary memory, and the level of the data is continuously increased until reaching the upper threshold of the temporary memory. After the temporary memory 500 stores the data transferred from the data source 52, the encoder 516 begins to encode the data into recordable data units. The optical head module 518 receives the encoded data units and generates certain control signals to control the optical read/write head (not shown) of the optical head module 518. The optical head module 518 causes its optical head to be tracked to the target position B〇, and a laser is generated to record the first recorded section of the encoded data unit 0758-A34988TWF N4TKI-06-075-1 201212018 B〇~ B19 is recorded to the readable and writable optical medium 54. After the recording process for the first recording segments B〇 to B19 is completed, the optical pickup module 518 re-tracks to the target position B〇 and reads the data unit B that has been recorded to the readable and writable optical medium 54. ~B19. The optical head module 518 receives the optical signal reflected from the readable and writable optical medium 54 and shifts the data units B 〇 B B19 to the verifier 502, wherein the optical signal represents a data unit read from the readable and writable optical medium B0~B]9. In an embodiment of the invention, the optical head module 518 includes a signal processor and a servo controller for performing the aforementioned procedures. The verifier 502 verifies the data units of the records using the data elements stored in the temporary memory 500. The verifier 502 may also include one of the decoders commonly used by those of ordinary skill in the art. When the verifier 502 verifies a predetermined number of data units of the recorded first recorded section by using the encoded data unit stored in the temporary storage memory 500, the storage capacity of the temporary storage memory 500 is released. The data source 52 is then moved to the data unit of the second recording section. When the scratchpad 500 retrieves a new data unit from the data source 52, the encoder 516 also begins encoding the new data unit into a recordable data unit in preparation for the next recording procedure. For example, during the search for the location of the search program 201, the data level remains at a fixed level. When the recording system begins recording data to the recordable medium during the recording process 202, the data level continues to decrease until the next critical value. Next, during the lookup verification location of the circulatory program 203 and during the verification record data unit B of the verification program 204, the data level remains fixed. When the verification of the data block B, ..., B19 in the verification program 204 is in progress, the data level is also increased by the transfer of the next data D2 with 0758-A34988TWF_MTKI-06-075-l 10 201212018. The upper threshold level can be the total capacity of the scratch memory or less than the total capacity. The lower threshold level can be zero or a value less than the upper threshold level. Comparing with Fig. 9 'Fig. 9 starts the data transfer of the second recording section D2 after the verification of the verification program 204 is completed, and starts the data shift of the second recording section D2 immediately after the verification of the verification program 204 of the third figure is completed. Turning, the invention has better data storage performance. The foregoing procedure is performed during optical verification of the first record segment by the optical read/write head module 518 and the verifier 502. Therefore, when the optical head module 518 and the verifier 502 complete the verification processing of the first recording section, that is, the first verification procedure, the encoder 516 and the temporary memory 500 are already optical head modules. 518 is prepared for the encoded data (prepared to record the data of the second recorded section, which is referred to as the second recording program) for recording on the readable and writable optical medium 54. According to the present invention, the 'optical head module 518 is tracked to a second starting position to start the recording process of the data unit of the second recording section, and there is no need between the first certificate program and the first § recorded program. Perform another search procedure. In other words, according to the present invention, the hardware latency of the conventional technique for switching between the verification program (read mode) and the recording program (record mode) can be omitted. After the optical media recording system verifies the last data unit of the first recording section, the optical media recording apparatus 1 does not need to perform any seeking program, and can immediately perform the second recording section. A data unit recording program, that is, an optical head module 518 controls its optical head execution - a common track f〇11〇wing program, which is from the first recording area The last data unit of the segment 0758-A34988TWF_MTICI-06-075-ln 201212018 The first data unit of the second record segment. The optical media record:, =: The device can be used at the same time to record the π time of the program, and to prepare the recorded data during the data verification of the relevant hardware for verification. -4 The hardware of the optical media recording line of self-aware technology can only be St: series of programs, that is, decoding or encoding, tracking: := processing. At the same time, according to the prior art, at the end of the test: =:, the recording program to be executed, must also perform the search operation ^ 1 method to avoid hardware delay (verification procedure 1G4 post-processing and remember Si two Set the processing). However, according to the present invention, the two-way asset '=, and the force '6 are simultaneously executed - the verification program verifies the recorded data and the call. The preparation of the information to be recorded in the private sequence has been recorded. In the present invention, the data can be encoded and the encoded data unit is stored in the temporary memory device during the verification process, and the data unit required for the next recording process is prepared. Therefore, it is possible to implement the verification procedure to ί·ρ铭·车. f. Recorded &Seamlessly transition. In other words, referring to FIG. 1, the verifier 502 receives a portion of the first recording section D1 on the recordable medium 54, and verifies the i-th order of the first recording area • k D1 and outputs a verification signal 51. () to the temporary memory management unit 504, the verification y λ 圭 乜唬 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 不 不 不 不 不 。 。 。 。 。 。 。 。 The scratch memory management unit then controls the temporary memory buffer through the temporary memory control signal 5]2 and the source interface 506 through the transfer control. If the data unit has been recorded, • the verification is successful, the temporary memory management sheet 075S-A3498STWF_MTK ί-06-075-1 12 201212018 element 504 generates the temporary memory control signal 512, and the transfer control signal 514, while continuing Verify that the data unit Bi+1 has been recorded. The temporary memory control signal 512 only releases the temporary memory space corresponding to the recorded data unit in the temporary memory 500. The transfer control signal 514 enables the source interface 506 for further data reception. When more temporary memory space is released, the scratch memory 500 has more temporary memory space to temporarily store the data transmitted from the data source 52. The temporary memory management unit 504 compares the temporary memory space available in the temporary memory 500 with the temporary memory space required for the data from the data source 52, and if the available temporary memory space exceeds Or a transfer memory control signal 514 is generated equal to the required scratch memory space. The second record segment D2 is then temporarily stored from the data source 52 to the released scratch memory space. The temporary memory management unit 504 can also receive some or all of the data units of the second recording segment D2 based on the temporary memory space available at the time. Please refer to Figure 2 and Figure 3 together. As an example, a complete recording program contains 52 data units. Since the buffer capacity of the temporary memory 500 is limited, it is necessary to execute several recording programs to complete a complete recording program, for example, into three segments, data units B〇 to B19, data units B20 to B39, and data units B40. B5] First, the optical media recording system 100 of the present invention executes the tracking program 201, and after searching for the initial position of the recording program 202, executes the recording program 202. When the recording program 202 ends, the optical media recording system 100 executes the seek program 203 to search for the initial position of the verification program 204, and then executes the verification program 204. At the same time as the verification process 204 is executed, the optical media recording system 100 receives the data transferred from the data source 52 and pre-encodes it to prepare for the recording program 205. In addition, 0758-A34988TWF MTKI-06-075-1 201212018 can also perform defect processing or other necessary preparations ^, use ^- not Wang Jin. The above-mentioned ii 4 匕 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 5 (without any delay) after the end of the 5 recording program 205, the light sounds according to (4) Yuzi Media 5 has recorded the system 100 execution of the private order to search for the initial position of the verification program 2〇7) Then, the verification program 207 is executed. The same is performed for the verification sequence 2〇7; as in the foregoing optical media record (10), the data is prepared for the record. Since the data to be recorded is ready, when the verification process 2〇7 is finished, The optical media recording system 1GG can immediately execute the recording program (without any delay). When the brother program 208 ends, the optical media recording system 1 executes the tracking program 209 to search for the initial position of the verification program 210, and then, The verification program 210 is executed. Finally, a complete recording operation including 52 data units is completed. According to the present invention, the seamless conversion from the verification program 204 to the recording program 205 and from the verification program 207 to the recording program 208 can improve the readable and writable Optical media 54 records the overall performance of the data. Also, the number of data units recorded in each recording operation in the present invention is flexible and variable to provide effective flexibility for many possibilities on readable and writable optical media 54. The defects or physical segments are adjusted. For example, if the optical head module 518 reads that a recording program may cross the information of the physical sector boundary, the number of data units of each recording program can be adjusted. In order to avoid possible recording errors across the boundaries of the physical segments, in addition, in another embodiment of the present invention, when the verification program 204 finds a defective data unit in the verified data unit. , defect handling list 0758-A34988TWF ΜΤΚΙ-06-075-1 201212018 element 508 suspends the recording program 205 and replaces the data of the defective data unit. Similarly, when the verification program 207 finds a defective data unit in the verified data unit The defect processing unit 508 can suspend the recording program 208 and replace the data of the defective data unit. Or, when the verification program 204 and the verification In the certificate program 207, when a defect data unit is found, the defect processing unit 508 can mark the defect data unit as a defect, and then perform replacement of the defect data after the completion of the complete recording operation. As described above, each record in the present invention The number of data units recorded in the program is not fixed and is variable to provide effective flexibility. In one embodiment of the invention, the data source 52, the temporary memory 500, and the encoder 516 are ready to be recorded first. The number of data units. After recording, the verifier 502 verifies only the second number of data units recorded in the readable and writable optical medium 54. The first number and the second number may be the same or different positive integers, but the second number Should be less than or equal to the first number. During the verification process, the data source 52, the scratch memory 500, and the encoder 516 prepare a third number of new data units to be recorded next time. The third number and the first number may be the same or different positive integers, but are all limited by the capacity of the temporary memory. Fig. 4 is a flow chart showing the verification method of the embodiment of the present invention. Please also refer to the recording system of Fig. 1. During the verification period, the verification method 40 redesigns the numbers i = 1 and j = 20 in step S400, and the verifier 502 determines the comparison result of the data units Bi of the recorded recording section D1 in step S402. If the verification signal 510 indicates that the verification result is successful, the temporary memory management unit 504 releases only the temporary memory space corresponding to the data unit in the temporary memory 500 by the temporary memory control signal 512 in step S404. Otherwise, the recording method 40 0758-A34988TWF MTK1-06-075-1 201212018 continues to step S406. Next, at step S405, the counter i is incremented by 1, so that the next data unit Bi+1 can be verified in the next verification procedure. Next, in step S406, the temporary memory management unit 504 checks whether a transfer command from the material source 52 is received. If there is no transfer command, method 40 loops to step S414 to continue verifying the data unit. If the transfer command exists, the temporary memory management unit 504 evaluates the required temporary memory space, estimates the temporary memory space available in the temporary memory 500, and compares the required temporary memory in step S408. Space and available scratch memory space. If the available scratch memory space exceeds or equals the required temporary memory space, the recording method 40 proceeds to step S410, otherwise to step S414. In step S410, the temporary memory management unit 504 generates a transfer control signal 5]4 for allowing the second data unit Bj to be received from the data source 52 to the temporary memory 500. Next, in step S412, the counter j is incremented by 1, so that the next temporary memory 500 can receive the next data unit Bj+1. In step S414, the temporary memory management unit 504 decides whether or not the full verification of the sector D1 is completed, i.e., whether the verification of its last data unit B19 is completed. If so, method 40 is completed and the system continues processing the next data segment D2, otherwise the verification process at step S402 is continued until data segment D1 verification is complete. It must be emphasized that the end of method 40 only indicates that the data D1 is completed and does not represent the verification process for completing the overall record. The system should continue to record and verify the next data until the entire data is verified. FIG. 5 is a view showing the temporary memory space allocation of the memory 500 in the recording method of FIG. 4 in the recording method of FIG. 4 according to the embodiment of the present invention. Please refer to the record of FIG. 1 at the same time. system. Fig. 5 includes the recorded material 5000 and the unrecorded data 5020, and is distributed along the direction in which the recording progresses. The verification step S402 is from the beginning of the recorded material 5000 (ie, the data BJ, and the verified data is released for receiving the next data in step 410. Figure 6 shows the recording method in the fourth figure of the embodiment of the present invention. For the temporary memory space allocation of the temporary memory 500, please refer to the recording system of Fig. 1. The sixth figure includes the unrecorded data 6000 and the recorded data 6020, which are allocated along the direction of the verification progress in step S402. The second recording section D2 (including unrecorded data) includes Β2〇, Β2ι, . . . , Bj ' and forms a ring-shaped temporary memory along the direction in which the verification progresses. Temporary memory 500 includes Bj+i, ..., B19' of the first recorded section D1 that has been recorded but not verified, and B2〇, B21, ..., Bj of the unrecorded second recording section D2. Due to the temporary memory The ring space allocation of the body, the usage rate of the temporary memory 500 is improved, and the access time is reduced. Correspondingly, the ring type temporary memory can also be used in the embodiment of the present invention. Please refer to Fig. 7, Optical media recording in accordance with the present invention The recording method of the present invention comprises the following steps: Step 700, preparing to record a first number of data units; Step 705, seeking to record a starting position of the first number of data units; Step 710, recording the first number The data unit is to the readable and writable optical medium 54; Step 720, verifying the second number of data units recorded in the readable and writable optical medium 54; Step 725, confirming that the verification procedure for the second number of data units is 0758-A34988TWF MTKI -06-075-1 201212018 No is the last verification procedure; if yes, step 760 is performed to complete the recording process; if not, step 730 is performed; step 730, in the foregoing verification step, preparing to record the third number of new data units Step 740, when the foregoing verification step ends, circulate to record a third number of new data early elements, step 750, to confirm whether all data units have been verified; if yes, perform step 760; if not, execute step 720; Step 760, completing the recording process. [Simplified description of the drawings] FIG. 1 is an optical medium for recording data on a readable and writable optical medium according to the present invention. A schematic diagram of the structure of the recording system. Figure 2 depicts a flow chart of a search procedure, a recording program, a verification program, and a corresponding tribute to the complete recording operation according to the present invention. Figure 3 is a data shift according to the present invention. A timing chart of a transfer program, an encoding program, a seek program, a recording program, and a verification program. Fig. 4 is a flow chart showing a verification method according to an embodiment of the present invention. Figs. 5 and 6 show a fourth embodiment of the present invention. The temporary storage memory space allocation of the temporary storage memory 500 in the recording method of the figure. Fig. 7 is a flow chart of the optical medium recording method according to the present invention. Fig. 8 is a flowchart showing a search program, a recording program, a verification program, and a corresponding data unit of the recording operation in accordance with the prior art. Figure 9 is a timing diagram of the data transfer program, the encoding program, the 0758-A34988TWF MTKI-06-075-1 18 201212018, the track order, the § recorded program, and the verification program. [Main component symbol description] 100~ optical media recording system; 52~ data source; 101, 103, 1〇5, 1〇7, 109, 111, 201, 203, 206, 209~ tracking program; 102, 106, 11〇, 202, 205, 208~ recording program; 104, 108, 112, 204, 207, 210~ verification program; 54~ readable and writable optical medium; 518~ optical head module; 5 02~ verifier; 516~coder; 508~ defect processing unit; 500~ temporary memory; 506~ source interface; 504~ temporary memory management unit; 512~ temporary memory control signal; 510~ verification signal; Control signal; 5000, 6020~ recorded data; 5020, 6000~ unrecorded data, 400, 402, 404, 405, 406, 408, 410, 412, 414, 700, 705, 710, 720, 725, 730, 740 , 750, 760~ steps. 0758-A34988TWF MTKI-06-075-1 19

Claims (1)

201212018 七、申請專利範圍: i.種光學媒體記錄方法,藉 料源記錄多個資料單元於一 存記憶體自一資 包含下列步驟: ’光予媒體,其中該方法 記錄—第-數目之資料單元至 驗證已記錄的一第二數目之^頃寫光學媒體; 於該驗證之步驟期間,在成於=, 單元之後為記錄—第三數 ,豆已記錄的-個資料 三數目之資料單元與該第一數目之準備,其令該第 單元; 之貝科早兀係不同的資料 單元γΓΓ私步驟結束後,開始崎·三數目之資料 錄與驗證。H個步驟’直至完成該多個資料單元之記 2·如申請專利範圍第 其中目、該第二數目以及該數: 其中該二第第上項所述之光學媒體記錄方法, 量所限制。4二數目之大小均受該暫存記憶體容 其二ιπ?1項所述之光學媒體記錄方法, 碼。旱備之步驟包含對該第三數目之資料單元進行編 ^如t請專鄉圍$丨項所述之光學媒體記錄方法, ’、該準備之步驟包含自該資料源接收該第三數目之次 料。 、貝 0758-A34988TWF_MTKl-〇6-〇75., 20 ⑤ 201212018 6. 如申請專利範圍第1項所述之光學媒體記錄方法, 其中記錄該第三數目之資料單元的步驟係自該驗證步驟後 之一接續位置開始。 7. 如申請專利範圍第1項所述之光學媒體記錄方法, 更包含一循執至該可讀寫光學媒體上第三數目之可讀寫單 元的起始位置之步驟,以於該驗證步驟後無須尋軌即可開 始記錄該第三數目之資料單元。 8. 如申請專利範圍第1項所述之光學媒體記錄方法, 更包含: 評估該第三數目之資料單元所需的暫存記憶體空 間;以及 估計該暫存記憶體之可用空間; 其中如果該暫存記憶體之可用空間大於或者等於該 第三數目之資料單元所需的暫存記憶體空間,該暫存記憶 體接收該第三數目之資料單元。 9. 如申請專利範圍第1項所述之光學媒體記錄方法, 更包含尋執至該可讀寫光學媒體已記錄資料單元之一預定 驗證位置’以驗證已記錄的貧料早元。 10. —種光學媒體記錄方法,藉由一暫存記憶體自一資 料源記錄多個資料單元於一可讀寫光學媒體,其中該方法 包含: 自該資料源接收一第一數目之資料單元至該暫存記 憶體; 記錄該第一數目之資料單元至該可讀寫光學媒體; 驗證已記錄於該可讀寫光學媒體的一第二數目之資 0758-A34988TWF MTKI-06-075-1 21 201212018 料單元;以及 當該第二數目之資料單元已完成驗證時,釋放該暫存 ,己憶體中該第二數目之資料單元佔用的暫存記憶體空間; ▲自該㈣賴收—第三數目之新㈣單元至該暫存 圮憶體中已釋放的暫存記憶體空間;以及 —在。驗證完已記錄於該可讀寫光學媒體㈣第二數目 之:料:元後’循軌至該可讀寫光學媒體上一第三數目之 可讀寫單元的起始位置,開始記錄該第三數目之新資料單 元。 11.如申請專利範 法’其中該第一數目、 整數。 圍第10項所述之光學媒體記錄方 該第二數目以及該第三數目係為正 12.如申請專利範圍第 法,其中該第一數目與該第 體容量所限制。 1 〇項所述之光學媒體記錄方 二數目之大小均受該暫存記憶 13·如申請專利範㈣項料之光學媒體記錄方 法’於該驗證之步驟與絲錄之步㈣,更包 ' 第二數目之新資料單元作準備的步驟。 ; μ·如申請專利範圍第1G項所述之光 法’其中該循執之步驟具體為立刻自 =錄方 為記』自糾4序無間轉換 ^如申請專利範圍第1G項所述之光學媒體記錄方 八中忒循執之步驟係自前次驗證步驟之最後位 之初始位置,而該兩位置係為該可讀寫 元予蜾體中之連續位置。 〇758-A34988TWF_MTKI-〇6-075-1 22 ⑤ 201212018 16. 如申請專利範圍第10項所述之光學媒體記錄方 法,其中循執至該起始位置之步驟係無須尋軌。 17. 如申請專利範圍第10項所述之光學媒體記錄方 法,更包含: 評估該第三數目之新資料單元所需的暫存記憶體空 間;以及 估計該暫存記憶體之可用空間; 其中如果該暫存記憶體之可用空間大於或者等於該 第二數目之新資料早元所需的暫存記憶體空間’該暫存記 憶體接收該第三數目之新資料單元。 18. —種光學媒體記錄系統,藉由一暫存記憶體自一資 料源記錄多個資料單元於一可讀寫光學媒體,其中該系統 包含: 一光學讀寫頭模組,控制一光學讀寫頭記錄一第一數 目之資料單元至該可讀寫光學媒體,並讀取已記錄於該可 讀寫光學媒體的一第二數目之資料單元; 一驗證器,耦接至該光學讀寫頭模組,驗證記錄於該 可讀寫光學媒體的該第二數目之資料單元並產生一驗證狀 態信號;以及 一暫存記憶體管理單元,用以控制該暫存記憶體儲存 該多個資料單元,並且接收該驗證狀態信號,當該驗證狀 態信號指示已完成一個已記錄的資料單元的驗證時,產生 一移轉控制信號以接收新的資料單元,並產生一暫存記憶 體控制信號以控制該暫存記憶體釋放已完成驗證的資料早 元之暫存記憶體空間來儲存新的資料單元; 0758-A34988TWF MTKI-06-075-1 201212018 :、:當該驗證器驗證完該第二數目之資 ^寫=組控制該光學讀寫職執至—第三數:之㊁ 並持續二==位置以記錄一第三數目之新的資料單元 證己錄與驗證’直至完成該多個資料單元之記錄^ ^如申請專利範圍第18項所述之光學媒體 ,、先其中該暫存$情g ® 、 彔系 元所需之更評估儲存該新的資料單 間,如^記:體空間,估計該暫存記憶體之可用空 該新暫存記憶體空間’控制該暫存記憶避接收 統,範㈣18項所述之光學媒體記錄系 整數。〃 目、該第二數目以及該第三數目係為正 統,^中利範圍第18項所述之光學媒體記錄系 體容量所_。目及該第三數目之大小均受該暫存記憶 ^2-如申請專利範圍第18項所述之光學媒體記錄系 _包合—編碼器,用以於該驗證器對該第二數目之資 :^ TL的進行驗證以及於該光學讀寫頭模組開始記錄該第 站认目之新的貢料單元期間,對將要記錄的該第三數目之 新的資料單元進行解碼。 23.如申請專利範圍第18項所述之光學媒體記錄系 其中5亥光學讀寫頭模組循軌至該起始位置而無須尋軌。 24·如申請專利範圍第18項所述之光學媒體記錄系 〇758-A34988TWF_MTKl-〇6-07S-, ' 24 201212018 統,其中該暫存記憶體儲存已記錄的資料單元以及該新的 資料單元。 0758-A34988TWF MTKI-06-075-1201212018 VII. Patent application scope: i. A kind of optical media recording method, the borrowing source records multiple data units in one memory and includes the following steps: 'light to the media, where the method records—the number of data Unit to verify that a second number of recorded optical media has been recorded; during the step of verifying, after the unit is =, the unit is recorded - the third number, the bean has been recorded - the data number of three data units With the preparation of the first number, the first unit; the Becco system is different from the data unit γ ΓΓ private step, and the data record and verification of the Saki three number is started. H steps 'until the completion of the record of the plurality of data units 2 as claimed in the patent scope, the second number and the number: wherein the optical media recording method described in the above second item is limited. The size of the two numbers is affected by the optical media recording method and code described in the first memory. The step of preparing for the arranging comprises the method of compiling the third number of data units, such as the method of optical media recording as described in the section [, </ RTI> </ RTI>, the step of preparing to receive the third number from the source Secondary material. 6. The optical media recording method according to claim 1, wherein the step of recording the third number of data units is performed after the verification step, in accordance with the optical media recording method of claim 1. One of the connection positions begins. 7. The optical media recording method of claim 1, further comprising the step of circling to a starting position of a third number of readable and writable units on the readable and writable optical medium for the verification step The third number of data units can be recorded without the need to track. 8. The optical media recording method of claim 1, further comprising: evaluating a temporary memory space required for the third number of data units; and estimating an available space of the temporary storage memory; The available memory of the temporary storage memory is greater than or equal to the temporary storage memory space required by the third number of data units, and the temporary storage memory receives the third number of data units. 9. The optical media recording method of claim 1, further comprising arranging to a predetermined verification location of the readable optical media recorded data unit to verify the recorded poor material early. 10. An optical media recording method for recording a plurality of data units from a data source to a readable and writable optical medium by a temporary storage memory, wherein the method comprises: receiving a first number of data units from the data source Recording the first number of data units to the readable and writable optical medium; verifying a second number of resources recorded in the readable and writable optical medium 0758-A34988TWF MTKI-06-075-1 21 201212018 material unit; and when the second number of data units have been verified, releasing the temporary storage, the temporary storage memory space occupied by the second number of data units in the memory; ▲ from the (four) depends on - The third number of new (four) units to the temporary memory space that has been released in the temporary memory; and - in. After verifying that the second number of the readable and writable optical media (4) has been recorded: "Material: After the element is tracked to the beginning position of a third number of readable and writable units on the readable and writable optical medium, the recording is started. Three new data units. 11. If the patent application method is 'the first number, an integer. The second number and the third number of the optical media recordings described in item 10 are positive. 12. The method of claim 1 wherein the first number is limited by the volume of the first body. 1 The size of the number of optical media records described in the item is affected by the temporary memory 13 · The optical media recording method of the patent application (4) item is in the step of verification and the step of recording (four), and more The second number of new data units are prepared. ; μ · As described in the patent application scope 1G of the optical method 'where the step of the continuation is specifically from the = record side record" self-correction 4 sequence without conversion ^ as claimed in the patent scope of the 1G item The media record side is the initial position of the last bit of the previous verification step, and the two positions are consecutive positions in the body. 〇758-A34988TWF_MTKI-〇6-075-1 22 5 201212018 16. The optical media recording method of claim 10, wherein the step of circling to the starting position does not require tracking. 17. The optical media recording method of claim 10, further comprising: evaluating a temporary memory space required for the third number of new data units; and estimating an available space of the temporary memory; If the available space of the temporary storage memory is greater than or equal to the temporary storage memory space required for the second new data, the temporary storage memory receives the third number of new data units. 18. An optical media recording system for recording a plurality of data units from a data source to a readable and writable optical medium by a temporary memory, wherein the system comprises: an optical head module for controlling an optical reading The write head records a first number of data units to the readable and writable optical medium, and reads a second number of data units recorded on the readable and writable optical medium; a verifier coupled to the optical read/write a header module that verifies the second number of data units recorded in the readable and writable optical medium and generates a verification status signal; and a temporary memory management unit for controlling the temporary storage memory to store the plurality of data And receiving the verification status signal, when the verification status signal indicates that verification of a recorded data unit has been completed, generating a transfer control signal to receive a new data unit and generating a temporary memory control signal to Controlling the temporary memory to release the temporary memory space of the completed data to store the new data unit; 0758-A34988TWF MTKI-06-075-1 201212018 :,: When the verifier verifies the second number of funds ^ write = group control the optical literacy job to - the third number: bis and last two = = position to record a third number of new data The unit certificate has been recorded and verified 'until the record of the multiple data units is completed ^ ^ As claimed in the optical media mentioned in item 18 of the patent scope, the evaluation of the temporary storage of the $g g and the 彔 system is required. Store the new data sheet room, such as ^ remember: body space, estimate the available memory of the temporary memory, the new temporary memory space 'control the temporary memory avoidance system, the optical media recording system described in Item 18 Integer. The order, the second number, and the third number are normal, and the optical media recording system capacity described in item 18 of the profit range is _. And the size of the third number is affected by the temporary memory ^2 - the optical media recording system-envelope-encoder of claim 18, for the second number of the authenticator The verification of the TL: and the recording of the third number of new data units to be recorded during the recording of the new tributary unit of the first station. 23. The optical media recording system of claim 18, wherein the 5H optical head module is tracked to the starting position without tracking. 24) The optical media recording system of claim 18, wherein the temporary storage memory stores the recorded data unit and the new data unit, as described in claim 18, wherein the optical media recording system is 758-A34988TWF_MTKl-〇6-07S-, '24 201212018 . 0758-A34988TWF MTKI-06-075-1
TW100115716A 2010-06-24 2011-05-05 Optical recording method and system TW201212018A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/822,263 US20100302919A1 (en) 2005-10-27 2010-06-24 Optical Recording Method and Apparatus

Publications (1)

Publication Number Publication Date
TW201212018A true TW201212018A (en) 2012-03-16

Family

ID=45484024

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100115716A TW201212018A (en) 2010-06-24 2011-05-05 Optical recording method and system

Country Status (2)

Country Link
CN (1) CN102332271A (en)
TW (1) TW201212018A (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328752A (en) * 1994-06-10 1996-12-13 Canon Inc Device and method for recording information
US5909334A (en) * 1996-05-10 1999-06-01 Western Digital Corporation Verifying write operations in a magnetic disk drive
US7206230B2 (en) * 2005-04-01 2007-04-17 Sandisk Corporation Use of data latches in cache operations of non-volatile memories

Also Published As

Publication number Publication date
CN102332271A (en) 2012-01-25

Similar Documents

Publication Publication Date Title
JP6106327B2 (en) Method and apparatus for reducing access time in a data storage device using coded seeking
RU2408939C2 (en) Recording medium, method and device for data recording into recording medium
WO2000042515A1 (en) Access control device and method for controlling access to recording medium
JPH0281383A (en) Ultra large capacity information memory
TWI301611B (en) Information recording method, information recording device, information recording system, program, and recording medium
TWI303412B (en) Data recording/reproducing apparatus, data recording/reproducing method, program, and recording medium
JP4310821B2 (en) Information recording apparatus and method
WO2004086401A1 (en) Information recording device, information recording method, information recording program, and recording medium containing the information recording program
US20100302919A1 (en) Optical Recording Method and Apparatus
TW201212018A (en) Optical recording method and system
CN101044560B (en) Reproducing method, optical disk apparatus, program and computer readable information recording medium
US8559280B2 (en) Optical disk drive and method for data recording of optical disk drives
JP5999356B2 (en) Optical disk array device
US8055840B2 (en) Storage device including a controller for rearranging writing commands
TW200947431A (en) Back-up method for defective data
TW200816188A (en) Optical recording method and apparatus
WO2008069435A1 (en) Multi-layered optical recording medium, address assignment method for multi-layered optical recording medium, apparatus and method of reproducing and method of recording
JP2010287128A (en) Controller, storage medium and information control method
US8385176B2 (en) Read-only optical disc and method of manufacturing a read-only optical disc
JP5756673B2 (en) Recording / playback device
KR20070001119A (en) Information recording device and method
CN103514900A (en) Recording management apparatus, recording management method, and program
JP2006114169A (en) Reproducing method, optical disk device, program, and recording medium
TW200836178A (en) Random access control method and optical disc
JP4131136B2 (en) Information recording method and apparatus for optical disc