JP2951186B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2951186B2
JP2951186B2 JP2127094A JP2127094A JP2951186B2 JP 2951186 B2 JP2951186 B2 JP 2951186B2 JP 2127094 A JP2127094 A JP 2127094A JP 2127094 A JP2127094 A JP 2127094A JP 2951186 B2 JP2951186 B2 JP 2951186B2
Authority
JP
Japan
Prior art keywords
data
detection signal
input
input data
synchronization detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2127094A
Other languages
Japanese (ja)
Other versions
JPH07235129A (en
Inventor
泰徳 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP2127094A priority Critical patent/JP2951186B2/en
Publication of JPH07235129A publication Critical patent/JPH07235129A/en
Application granted granted Critical
Publication of JP2951186B2 publication Critical patent/JP2951186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば、CD−ROM
ドライブ装置のようなデータ処理装置に関するものであ
り、更に詳述すれば、入力データの蓄積と、該データに
対して処理を施した後、その処理後のデータの蓄積を一
つの記憶手段で行うデータ処理装置において、記憶手段
に於けるデータの上書きを防止しつつ処理済みのデータ
の蓄積容量を最大限に確保できるものに関する。
The present invention relates to, for example, a CD-ROM
More specifically, the present invention relates to a data processing device such as a drive device. More specifically, storage of input data, processing of the data, and storage of the processed data are performed by a single storage unit. The present invention relates to a data processing apparatus capable of ensuring the maximum storage capacity of processed data while preventing overwriting of data in a storage unit.

【0002】[0002]

【従来の技術】図4は、CD−ROMドライブ装置のブ
ロック図であり、図3は、CD−ROMデータの論理フ
ォーマット(モード1)を示す図である。
2. Description of the Related Art FIG. 4 is a block diagram of a CD-ROM drive device, and FIG. 3 is a diagram showing a logical format (mode 1) of CD-ROM data.

【0003】CD−ROMドライブ装置のエラー訂正の
処理は、2352バイトを1ブロックとする論理ブロッ
ク単位で行われている。CD−ROM信号処理部5’
は、入力データDからシンク(同期)パターンSYNを
検出すると、コントローラ11’にシンク検出信号Sを
おくる。そして、コントローラ11’は、その信号Sに
従って、CD−ROM信号処理部5’を制御することが
一般的に行われている。
[0003] The error correction process of the CD-ROM drive device is performed in units of logical blocks each having 2352 bytes as one block. CD-ROM signal processing unit 5 '
Sends a sync detection signal S to the controller 11 'upon detecting a sync (synchronization) pattern SYN from the input data D. The controller 11 'generally controls the CD-ROM signal processing unit 5' according to the signal S.

【0004】エラー訂正を行うには、CD信号処理部4
からCD−ROM信号処理部5’に入力される入力デー
タDを、いったんエラー訂正用RAM6’にデータを書
き込み、その後、CD−ROM信号処理部5’において
エラー訂正を実行する。CD−ROM信号処理部5’
は、エラー訂正用のRAM6’へ入力データDの書き込
み処理とエラー訂正の処理を、1ブロック単位の時間差
をもって常に並行して行っている。
To perform error correction, the CD signal processing unit 4
, The input data D input to the CD-ROM signal processing unit 5 'is once written into the error correction RAM 6', and thereafter, the error correction is executed in the CD-ROM signal processing unit 5 '. CD-ROM signal processing unit 5 '
, The process of writing the input data D to the error correction RAM 6 'and the process of error correction are always performed in parallel with a time difference of one block unit.

【0005】このとき、エラー訂正用RAM6’には、
入力データDが書き込まれている領域、エラー訂正中の
領域、エラー訂正済みの領域が常に存在している。エラ
ー訂正済み領域に対して、入力データDが上書きしない
ように、エラー訂正を終了したデータは、エラー訂正用
RAM6’から蓄積専用RAM7に転送される。
At this time, the error correction RAM 6 'has
There is always an area in which the input data D is written, an area in error correction, and an area in which error correction has been performed. The error-corrected data is transferred from the error correction RAM 6 'to the storage-only RAM 7 so that the input data D does not overwrite the error-corrected area.

【0006】尚、小型化及び経済性の要求により、前記
蓄積専用RAM7を持たないCD−ROMドライブ装置
も存在し、この場合には、エラー訂正用RAM6’でエ
ラー訂正済みデータの蓄積もかねている。このとき、何
らかの要因で、入力データDの連続性が途切れたとき
や、入力データDに誤りが多いとき等に、CD−ROM
信号処理部5’から、コントローラ11’に対して正し
いシンク検出信号Sが、送出されなくなり、コントロー
ラ11’は正常に制御出来なくなる場合がある。この
時、CD−ROM信号処理部5’が、エラー訂正用RA
M6’に入力データDを書き込み中である場合は、エラ
ー訂正済み領域を、書きつぶしてしまう恐れがあった。
例えば、エラー訂正用RAM6’にデータを書き込み中
に、入力シンク検出部51を許可しているとき振動等に
よりピックアップ1が飛んだとき等に、異常な位置でシ
ンクパターンSYNが検出され、CD−ROM信号処理
部5’が同期化されてしまう。このとき、コントローラ
11’が、シンク検出信号待ち処理から、データの信頼
性判定処理に移行したときに、エラー訂正用RAM6’
に書き込まれたデータ量は必ずしも1ブロック分である
とは限らない。仮に、書き込まれたデータ量が、書き込
み領域として割り当てた容量よりも多いと、エラー訂正
済みで蓄積中の領域を上書きしてしまう恐れがあった。
Due to demands for miniaturization and economy, there are also CD-ROM drive devices that do not have the storage-dedicated RAM 7, and in this case, error-corrected RAM 6 'cannot store error-corrected data. . At this time, when the continuity of the input data D is interrupted for some reason or when there are many errors in the input data D, the CD-ROM
The correct sync detection signal S may not be sent from the signal processing unit 5 'to the controller 11', and the controller 11 'may not be able to control normally. At this time, the CD-ROM signal processing unit 5 ′
If the input data D is being written to M6 ', the error-corrected area may be overwritten.
For example, when data is being written to the error correction RAM 6 ′, when the input sync detector 51 is enabled, when the pickup 1 flies due to vibration or the like, the sync pattern SYN is detected at an abnormal position, and the CD-ROM is detected. The ROM signal processing unit 5 'is synchronized. At this time, when the controller 11 'shifts from the sync detection signal waiting process to the data reliability determination process, the error correction RAM 6'
Is not necessarily one block. If the amount of written data is larger than the capacity allocated as the writing area, there is a possibility that the error-corrected area that is being accumulated is overwritten.

【0007】そこで、従来、蓄積専用RAM7を持たな
いCD−ROMドライブ装置に於ては、この様な異常時
であっても蓄積中の領域を上書きによる書き潰しを回避
するため、エラー訂正済みデータの蓄積容量を、実際に
蓄積出来る容量よりも少なめにとり、入力データDの書
き込み領域を十分にとって(2〜5ブロック分用意す
る)、エラー訂正済み領域に入力データDが上書きされ
ないように時間的にマージンをかせぐ方法を取ってい
た。
Therefore, conventionally, in a CD-ROM drive device which does not have the storage-dedicated RAM 7, even in the case of such an abnormality, the error-corrected data is stored in order to avoid overwriting the area being stored by overwriting. The storage capacity of the input data D is set to be smaller than the capacity that can be actually stored, and a sufficient write area for the input data D is provided (2 to 5 blocks are prepared). He was taking the margin.

【0008】[0008]

【発明が解決しようとする課題】しかし乍ら、前記時間
的にマージンを稼ぐ方法では、当該マージンを稼ぐため
の蓄積領域を必要とし、蓄積容量の大きいメモリが必要
であった。
However, the above-described method of obtaining a margin in time requires a storage area for obtaining the margin and a memory having a large storage capacity.

【0009】本発明は、このような事情に鑑みなされた
ものであり、入力データの蓄積と、該データに対して処
理を施した後、その処理後のデータの蓄積を一つの記憶
手段で行うデータ処理装置において、記憶手段に於ける
データの上書きを防止しつつ処理済みのデータの蓄積容
量を最大限に確保できるデータ処理装置を提供すること
を目的とする。これにより、CD−ROM信号処理部
5’におけるRAM(ランダムアクセスメモリ)の構成
を蓄積用RAMを別に設けることなくエラー訂正用RA
M6’のみとして、エラー訂正用RAMでエラー訂正済
みデータの蓄積もかねる構成としたCD−ROMドライ
ブ装置に於て、前記エラー訂正用RAMに於けるエラー
訂正済みデータの蓄積容量を最大限に確保できるCD−
ROMドライブ装置が実現できることとなる。
The present invention has been made in view of such circumstances, and accumulates input data, processes the data, and accumulates the processed data in a single storage unit. It is an object of the present invention to provide a data processing device that can ensure the maximum storage capacity of processed data while preventing overwriting of data in storage means. Thus, the configuration of the RAM (random access memory) in the CD-ROM signal processing unit 5 'can be changed to the error correction RA without providing a separate storage RAM.
In a CD-ROM drive device having a configuration in which error-corrected data can also be stored in the error-correcting RAM using only M6 ', the storage capacity of the error-corrected data in the error-correcting RAM is maximized. CD-
A ROM drive device can be realized.

【0010】[0010]

【課題を解決するための手段】本発明の光学的再生装置
は、入力データの蓄積と、該データに対して処理を施し
た後、その処理後のデータの蓄積を一つの記憶手段で行
なうデータ処理装置において、同期信号を含むデータが
記憶された記録媒体から、該記録データを読み取るデー
タ読み取り手段と、該読み取ったデータが入力され、且
つ、エラー訂正後のデータが貯えられる記憶手段と、該
記憶手段から前記入力データを取り出し、該データに対
してエラー訂正処理を行った後、該エラー訂正処理後の
データを前記記憶手段に記憶するデータ処理手段と、前
記入力データから同期信号を検出し、第1の同期検出信
号を出力するシンク検出手段と、前記第1の同期検出信
号により同期されて、以後蓄積される入力データ量をカ
ウントし、所定カウント毎に第2の同期検出信号を出力
する内挿検出信号を出力する内挿シンクカウンタ手段
と、前記第1の同期検出信号と第2の同期検出信号とが
入力され、第1の同期検出信号を受け取ると、以後第2
の同期検出信号が入力された回数により前記記憶手段に
蓄積された入力データの数を計算し 該入力データ数が
所定数に達した場合には、先に入力された所定数の入力
データの処理を前記データ処理手段が終えるまで新規に
入力データを記憶手段へ蓄積することを禁止する制御を
行う制御手段とを具備したことを特徴とするデータ処
理装置によって、上記課題を解決したものである。ま
た、本発明の光学的再生装置は、入力データの蓄積と、
該データに対して処理を施した後、その処理後のデータ
の蓄積を一つの記憶手段で行なうデータ処理装置におい
て、同期信号を含むデータが記憶された記録媒体から、
該記録データを読み取るデータ読み取り手段と、該読み
取ったデータが入力され、且つ、エラー訂正後のデータ
が貯えられる記憶手段と、該記憶手段から前記入力デー
タを取り出し、該データに対してエラー訂正処理を行っ
た後、該エラー訂正処理後のデータを前記記憶手段に記
憶するデータ処理手段と、前記入力データから同期信号
を検出し、第1の同期検出信号を出力するシンク検出手
段と、前記第1の同期検出信号により同期されて、以後
蓄積される入力データ量をカウントし、所定カウント毎
に第2の同期検出信号を出力する内挿検出信号を出力す
る内挿シンクカウンタ手段と、前記第1の同期検出信号
と第2の同期検出信号とが入力され、第1の同期検出信
号を受け取ると、以後第2の同期検出信号が入力された
回数により前記記憶手段に蓄積された入力データの数を
計算し 該入力データ数が所定数に達した場合には、先
に入力された所定数の入力データの処理を前記データ処
理手段が終えるまで新規に入力データを記憶手段へ蓄積
することを禁止する制御を行う制御手段とを具備した
ことを特徴とするデータ処理装置によって、上記課題を
解決したものである。
SUMMARY OF THE INVENTION An optical reproducing apparatus according to the present invention is a data reproducing apparatus which stores input data, processes the data, and stores the processed data in a single storage means. In the processing device, a data reading unit that reads the recording data from a recording medium that stores data including a synchronization signal, a storage unit that receives the read data, and stores data after error correction, After taking out the input data from the storage means and performing error correction processing on the data, the data processing means for storing the data after the error correction processing in the storage means, and detecting a synchronization signal from the input data A sync detection means for outputting a first synchronization detection signal, and counting the amount of input data which is synchronized by the first synchronization detection signal and thereafter stored, and Interpolating sync counter means for outputting an interpolation detection signal for outputting a second synchronization detection signal for each event, and receiving the first synchronization detection signal and the second synchronization detection signal, After receiving the signal,
Is stored in the storage means according to the number of times the synchronization detection signal is input.
The number of stored input data is calculated, the input data number
If the specified number is reached, the specified number of input
Newly process data until the data processing means is finished
Control to prohibit storage of input data in storage means
By a data processing device comprising a control unit, by comprising a performed is obtained by solving the above problems. Further, the optical reproducing apparatus of the present invention stores input data,
After performing the processing on the data, in a data processing device that stores the processed data in one storage means, from a recording medium in which data including a synchronization signal is stored,
Data reading means for reading the recorded data, storage means for receiving the read data and storing error-corrected data, extracting the input data from the storage means, and performing error correction processing on the data After performing the above, the data processing means for storing the data after the error correction processing in the storage means, a sync detection means for detecting a synchronization signal from the input data and outputting a first synchronization detection signal, An interpolating sync counter means for counting the amount of input data which is synchronized by the first synchronization detection signal and thereafter accumulating, and outputting an interpolation detection signal for outputting a second synchronization detection signal every predetermined count; When the first synchronization detection signal and the second synchronization detection signal are input and the first synchronization detection signal is received, the second synchronization detection signal is input thereafter.
The number of input data stored in the storage means is determined by the number of times.
Calculation, and when the number of input data reaches a predetermined number,
Processing of a predetermined number of input data input to the
Input data is newly stored in the storage means until the processing is completed.
By the data processing apparatus characterized by comprising a control means for controlling to prohibit the one in which the above-mentioned problems are eliminated.

【0011】[0011]

【作用】本発明のデータ処理装置によれば、制御手段
は、シンク検出手段からの第1の同期検出信号を受け取
ると、以後は、内挿シンクカウンタ手段からの第2の同
期検出信号を有効信号として受け取り、記憶手段及びデ
ータ処理手段を制御するため、記憶手段に書き込まれる
データの量を正確に把握しながら制御出来る。
According to the data processing apparatus of the present invention, when the control means receives the first synchronization detection signal from the sync detection means, thereafter, the control means validates the second synchronization detection signal from the interpolation sync counter means. Since it is received as a signal and controls the storage means and the data processing means, it is possible to control while accurately grasping the amount of data written in the storage means.

【0012】[0012]

【実施例】本発明のデータ処理装置の実施例について、
CD−ROMドライブ装置を例にとって以下説明する。
本実施例のCD−ROMドライブ装置は、図4のCD−
ROMドライブ装置において蓄積用RAM7を備えない
点を除き、同様な構成であり、同一部分には、同一符号
を付して説明を省略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the data processing apparatus of the present invention will be described.
This will be described below by taking a CD-ROM drive as an example.
The CD-ROM drive device of the present embodiment is a CD-ROM drive device shown in FIG.
The ROM drive device has the same configuration except that the storage RAM 7 is not provided, and the same portions are denoted by the same reference numerals and description thereof will be omitted.

【0013】図1は、本実施例のCD−ROMドライブ
装置のCD−ROM信号処理部5のブロック図である。
CD−ROM信号処理部5は、2352バイトを1ブロ
ックとする単位で処理を行っている。その1ブロックの
区切り区切りをコントローラ11に知らせる信号がシン
ク検出信号Sである。コントローラ11は、そのシンク
検出信号Sを受け取るごとに適切な制御をCD−ROM
信号処理部5に対して行っている。シンク検出信号S
は、入力シンク検出部51が、入力データDからシンク
パターンSYNを検出すると発生される。シンク検出信
号Sは、コントローラI/F53を介してコントローラ
11に入力される。又、シンク検出信号Sは内挿シンク
カウンタ部52にも入力され、これにより内挿シンクカ
ウンタ部52がシンクパターンSYNに同期化され、以
後内挿シンクカウンタ部52は、入力データDが235
2バイト入力されるごとにシンク検出信号Sを発生し、
該信号SはコントローラI/F53を介してコントロー
ラ11に入力される。内挿シンクカウンタ部52は、入
力されるワードクロックCをカウントすることにより、
入力データDのデータ数を検知しシンク検出信号Sを出
力する。
FIG. 1 is a block diagram of the CD-ROM signal processing section 5 of the CD-ROM drive device of the present embodiment.
The CD-ROM signal processing unit 5 performs processing in units of 2352 bytes as one block. The signal that notifies the controller 11 of the delimitation of the one block is the sync detection signal S. The controller 11 controls the CD-ROM every time the sync detection signal S is received.
This is performed for the signal processing unit 5. Sync detection signal S
Is generated when the input sync detector 51 detects the sync pattern SYN from the input data D. The sync detection signal S is input to the controller 11 via the controller I / F53. The sync detection signal S is also input to the interpolation sync counter section 52, whereby the interpolation sync counter section 52 is synchronized with the sync pattern SYN.
A sync detection signal S is generated every time 2 bytes are input,
The signal S is input to the controller 11 via the controller I / F 53. The interpolation sync counter 52 counts the input word clock C,
The number of input data D is detected and a sync detection signal S is output.

【0014】コントローラI/F53を介してコントロ
ーラ11に渡されるシンク検出信号Sは、入力シンク検
出部51が発生する信号と、内挿シンクカウンタ部52
が発生する信号のOR(論理和)がとられている。
The sync detection signal S passed to the controller 11 via the controller I / F 53 includes a signal generated by the input sync detection unit 51 and an interpolation sync counter unit 52.
Are ORed (ORed) of the signals that generate.

【0015】尚、入力シンク検出部51、内挿シンクカ
ウンタ部52は、それぞれコントローラ11により、個
別に許可/禁止が可能な構成になっている。
The input sync detector 51 and the interpolation sync counter 52 can be individually enabled / disabled by the controller 11.

【0016】エラー訂正部55は、RAMI/F54を
介してエラー訂正用RAM6から取り出される入力デー
タDに対して、エラー訂正処理を行い、該処理後のデー
タをRAMI/F54を介してエラー訂正用RAM6に
出力する。また、エラー訂正部55は、入力データDの
信頼性の判定を行い、その判定結果をコントローラI/
F53を介してコントローラ11に出力する。
The error correction section 55 performs an error correction process on the input data D taken out of the error correction RAM 6 via the RAM I / F 54, and outputs the processed data via the RAM I / F 54 for error correction. Output to RAM6. Further, the error correction unit 55 determines the reliability of the input data D, and outputs the determination result to the controller I / O.
Output to the controller 11 via F53.

【0017】CD−ROM信号処理部5において、シン
クパターンSYNを検出したことをコントローラ11に
知らせる方法として、入力データDから検出する方法と
入力データ9の数を2352づつカウントする方法とが
あるが、コントローラ11は、このカウント部を有する
CD−ROM信号処理部5に対して、エラー訂正用RA
M6に入力データDを書き込んでいる最中は、入力デー
タDから検出するシンクパターンSYNを無効とし、内
挿シンクカウンタ部52による信号だけを有効とする制
御方法をおこなう。
In the CD-ROM signal processing unit 5, as a method of notifying the controller 11 that the sync pattern SYN has been detected, there are a method of detecting from the input data D and a method of counting the number of input data 9 by 2352. , The controller 11 sends an error correction RA to the CD-ROM signal processing unit 5 having the counting unit.
While the input data D is being written to M6, a control method is performed in which the sync pattern SYN detected from the input data D is invalidated and only the signal by the interpolation sync counter unit 52 is valid.

【0018】こうすることにより、コントローラ11
は、CD−ROM信号処理部5から常に安定(2353
バイトごと)したシンク検出信号Sを受けることがで
き、エラー訂正用RAM6に書き込まれるデータの数を
正確に把握しながら制御出来る。
By doing so, the controller 11
Is always stable (2353) from the CD-ROM signal processing unit 5.
It is possible to receive the sync detection signal S (for each byte) and control while accurately grasping the number of data written in the error correction RAM 6.

【0019】図2は、コントローラ11によるシンク検
出、RAMの管理についてのフローチャートである。
FIG. 2 is a flow chart for the sync detection and RAM management by the controller 11.

【0020】CD−ROM信号処理部5を入力データD
に同期化するため、まず初めに入力シンク検出部51を
許可(ステップ1(S1))して、シンク検出信号S待
ち(ステップ2)処理に移る。シンク検出部51により
シンクパターンSYNが検出されシンク検出信号Sがコ
ントローラに入力されると、データの信頼性の判定(ス
テップ3)処理に移行する。ここで入力されたデータに
信頼性がないと判断したときは、エラー訂正用RAM6
に対する書き込みを停止し(ステップ8)、再び入力シ
ンク検出部51を許可する処理に移る(ステップ1)。
データに信頼性があると判断したときは、エラー訂正用
RAM6に書き込み中か否かの判定処理(ステップ4)
に移行する。この判定処理において、書き込み中でない
と判断したときは、入力シンク検出部51のシンク検出
信号Sの出力を禁止する処理に移行して(ステップ
5)、ステップ5で内挿シンクカウンタ部52を許可
し、エラー訂正用RAM6の書き込みアドレスの設定を
してエラー訂正用RAM6の書き込みを許可する。
The CD-ROM signal processing unit 5 converts the input data D
First, the input sync detection unit 51 is enabled (step 1 (S1)), and the process proceeds to a wait for a sync detection signal S (step 2). When the sync pattern SYN is detected by the sync detection unit 51 and the sync detection signal S is input to the controller, the process proceeds to a data reliability determination (step 3) process. If it is determined that the input data is not reliable, the error correction RAM 6
Is stopped (step 8), and the process shifts to the process of permitting the input sync detection unit 51 again (step 1).
If it is determined that the data is reliable, it is determined whether the data is being written to the error correction RAM 6 (step 4).
Move to In this determination process, when it is determined that writing is not being performed, the process proceeds to a process of prohibiting the output of the sync detection signal S of the input sync detection unit 51 (step 5), and the interpolation sync counter unit 52 is enabled in step 5. Then, the write address of the error correction RAM 6 is set, and the writing of the error correction RAM 6 is permitted.

【0021】入力シンク検出部51の禁止処理(ステッ
プ5)を行ったときは、再びシンク検出信号待ち処理
(ステップ2)に戻る。それ以降、コントローラ11
は、内挿シンクカウンタ部52が発するシンク検出信号
Sに従って処理を進めることになる。
When the prohibition process (step 5) of the input sync detector 51 is performed, the process returns to the sync detection signal waiting process (step 2). After that, the controller 11
Will proceed according to the sync detection signal S generated by the interpolation sync counter unit 52.

【0022】RAMに書き込み中か否かの判定処理(ス
テップ4)において、書き込み中であると判定したとき
は、エラー訂正用RAM6に蓄積されているブロック数
のカウンタに1を加え、次回エラー訂正用RAM6に書
き込むアドレスをコントローラ11で保持しておく処理
(ステップ6)をする。ステップ6でエラー訂正用RA
M6に書き込むアドレスを保持しておくのは、データの
信頼性の判定処理(ステップ3)において、信頼性が無
いと判断されたとき等にRAM書き込み停止処理(ステ
ップ8)をした後に、エラー訂正用RAM6に書き込み
を再開するとき、このデータを破棄するため、このデー
タが書き込まれたアドレスから再び書き込みを開始する
ためである。信頼性が無いと判断されたときは、次回エ
ラー訂正用RAM6の書き込みアドレスは更新されず、
再びエラー訂正用RAM6の書き込みを開始するとき
(ステップ5)は、同じアドレスから書き込みが開始さ
れる。
If it is determined in the RAM writing process (step 4) that writing is being performed, 1 is added to the counter of the number of blocks stored in the error correction RAM 6 and the next error correction is performed. The controller 11 performs processing (step 6) for holding the address to be written in the RAM 6 for use. Step 6: RA for error correction
Holding the address to be written in M6 is performed after the RAM write stop process (step 8) when it is determined that there is no reliability in the data reliability determination process (step 3), and then the error correction is performed. This is because, when writing to the RAM 6 is restarted, this data is discarded, and writing is started again from the address where the data is written. When it is determined that there is no reliability, the write address of the next error correction RAM 6 is not updated.
When writing to the error correction RAM 6 is started again (step 5), writing is started from the same address.

【0023】こうすることにより、余分なデータを蓄積
すること無く、信頼のあるデータだけを隙間無く詰め込
むことが出来るのでRAMの管理がしやすくなる。
By doing so, it is possible to pack only reliable data without gaps without accumulating extra data, thereby facilitating the management of the RAM.

【0024】次回RAMに書き込むアドレスを保持して
おく処理(ステップ6)を終了すると次に、蓄積されて
いるブロック数と、実際に蓄積出来るブロック数との比
較処理(ステップ7)に移行する。この処理において容
量いっぱいと判定したときは、エラー訂正用RAM6の
書き込み停止の処理(ステップ8)をして、入力シンク
検出部を許可する処理(ステップ1)にもどる。容量に
余裕があるときは、シンク検出信号待ち処理(ステップ
2)に戻り以下この処理を繰り返す。
When the process of holding the address to be written to the RAM next time (step 6) is completed, the process proceeds to a process of comparing the number of stored blocks with the number of blocks that can be actually stored (step 7). If it is determined in this process that the capacity is full, the process of stopping writing to the error correction RAM 6 (step 8) is performed, and the process returns to the process of permitting the input sync detector (step 1). If there is enough capacity, the process returns to the sync detection signal waiting process (step 2) and repeats this process.

【0025】このように、本実施例のデータ処理装置に
よれば、エラー訂正用RAM6にデータを書き込み中
は、内挿シンクカウンタ部52が発するシンク検出信号
Sだけで制御されていることになるから、コントローラ
11が、シンク検出信号待ち処理(ステップ2)から、
データの信頼性判定処理(ステップ3)に移行したとき
は、必ず1ブロック分のデータ(2352バイト)が書
き込まれたと判断できる。従って、書き込み領域として
1ブロック+αの書き込み領域を確保すれば、残りを全
て蓄積領域に割り当てても、安定したRAMの制御が可
能である。
As described above, according to the data processing apparatus of this embodiment, while data is being written into the error correction RAM 6, the data is controlled only by the sync detection signal S generated by the interpolation sync counter 52. From the controller 11 waits for the sync detection signal (step 2).
When the process proceeds to the data reliability determination process (step 3), it can be determined that one block of data (2352 bytes) has always been written. Therefore, if a write area of one block + α is secured as a write area, stable control of the RAM can be performed even if the rest is allotted to the storage area.

【0026】ここでいう+αは、コントローラ11が、
シンク検出信号待ち処理(ステップ2)から、蓄積され
ているブロック数と、実際に蓄積出来るブロック数との
比較処理(ステップ7)のとき、RAM容量いっぱいと
判定して、RAM書き込み停止の処理(ステップ8)を
するまでに書き込まれる容量である。書き込み領域とし
て1ブロック+αの書き込み領域を確保すれば、残りを
全て蓄積領域に割り当てても、安定したRAMの制御が
可能である。
Here, + α means that the controller 11
From the sync detection signal waiting process (step 2), when comparing the number of accumulated blocks with the number of blocks that can be actually accumulated (step 7), it is determined that the RAM capacity is full, and the RAM write stop process (step 7). This is the capacity to be written before step 8). If a write area of one block + α is secured as a write area, stable control of the RAM can be performed even if the rest is allocated to the storage area.

【0027】CD−ROM信号処理部5における構成
は、エラー訂正用RAM6のみで、エラー訂正済みのデ
ータの蓄積もかねることが出来る。また、書き込み領域
は、最小限に抑えることが出来その分蓄積できるデータ
量が増える。このことは、コストの面、実装面積の面で
有利で、少容量のRAM構成の装置に大変有効である。
The configuration of the CD-ROM signal processing unit 5 is only the error correction RAM 6 and can also store error-corrected data. Further, the writing area can be minimized, and the amount of data that can be stored increases accordingly. This is advantageous in terms of cost and mounting area, and is very effective for a device having a small RAM capacity.

【0028】[0028]

【発明の効果】上述したように本発明のデータ処理装置
によれば、入力データの蓄積と、該データに対して処理
を施した後、その処理後のデータの蓄積を1つの記憶部
で行なうデータ処理装置において、第2の同期検出信号
が入力された回数により記憶手段に蓄積された入力デー
タの数を計算し 該入力データ数が所定数に達した場合
には、先に入力された所定数の入力データの処理を前記
データ処理手段が終えるまで新規に入力データを記憶手
段へ蓄積することを禁止する制御を行うことにより、
憶部におけるデータの上書きを防止しつつ処理済みのデ
ータの蓄積容量を最大限に確保できるデータ処理装置を
提供することができる。
As described above, according to the data processing apparatus of the present invention, storage of input data, processing of the data, and storage of the processed data are performed in one storage unit. In the data processing device, a second synchronization detection signal
Input data stored in the storage means according to the number of times
Calculate the number of data, if the input number data reaches a predetermined number
Processing of a predetermined number of input data previously input
Stores new input data until data processing means is completed.
By performing control to prohibit accumulation in a stage, it is possible to provide a data processing device capable of preventing the overwriting of data in the storage unit and maximizing the storage capacity of processed data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】CD−ROMドライブ装置のCD−ROM信号
処理部5のブロック図である。
FIG. 1 is a block diagram of a CD-ROM signal processing unit 5 of a CD-ROM drive device.

【図2】コントローラ11によるシンク検出、RAMの
管理についてのフローチャートである。
FIG. 2 is a flowchart of sync detection and RAM management by a controller 11;

【図3】CD−ROMデータの論理フォーマット(モー
ド1)を示す図である。
FIG. 3 is a diagram showing a logical format (mode 1) of CD-ROM data.

【図4】CD−ROMドライブ装置のブロック図であ
る。
FIG. 4 is a block diagram of a CD-ROM drive device.

【符号の説明】[Explanation of symbols]

1 光学式ピックアップ(読み取り手段) 2 回転駆動モータ 3 サーボ処理部 4 CD信号処理部 5 CD−ROM信号処理部 6 エラー訂正用RAM(記憶手段) 7 蓄積用RAM 8 ホストインターフェース部 9 CD−ROMディスク 11 コントローラ(制御手段) SYN シンクパターン(同期信号) 51 入力シンク検出部(シンク検出手段) 52 内挿シンクカウンタ部(内挿シンクカウンタ手
段) 53 コントローラI/F部 54 RAM I/F部 55 エラー訂正部(データ処理部) D 入力データ S シンク検出信号(同期検出信号) O 出力データ
DESCRIPTION OF SYMBOLS 1 Optical pick-up (reading means) 2 Rotation drive motor 3 Servo processing part 4 CD signal processing part 5 CD-ROM signal processing part 6 Error correction RAM (storage means) 7 Storage RAM 8 Host interface part 9 CD-ROM disk 11 controller (control means) SYN sync pattern (synchronous signal) 51 input sync detection section (sink detection means) 52 interpolation sync counter section (interpolation sync counter means) 53 controller I / F section 54 RAM I / F section 55 error Correction section (data processing section) D input data S sync detection signal (synchronization detection signal) O output data

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力データの蓄積と、該データに対して
処理を施した後、その処理後のデータの蓄積を一つの記
憶手段で行なうデータ処理装置において、 前記記憶手段から前記入力データを取り出し、該入力デ
ータに対し処理を行い、処理後のデータを前記記憶手段
に記憶するデータ処理手段と、 前記入力データから同期信号を検出し、第1の同期検出
信号を出力するシンク検出手段と、 前記第1の同期検出信号により同期されて、以後蓄積さ
れる入力データ量をカウントし、所定カウント毎に第2
の同期検出信号を出力する内挿シンクカウンタ手段と、 前記第1の同期検出信号と第2の同期検出信号とが入力
され、第1の同期検出信号を受け取ると、以後第2の同
期検出信号が入力された回数により前記記憶手段に蓄積
された入力データの数を計算し 該入力データ数が所定
数に達した場合には、先に入力された所定数の入力デー
タの処理を前記データ処理手段が終えるまで新規に入力
データを記憶手段へ蓄積することを禁止する制御を行う
制御手段と を具備したことを特徴とするデータ処理装置。
1. A data processing apparatus for accumulating input data, processing the data, and accumulating the processed data in one storage means, wherein the input data is retrieved from the storage means. A data processing unit that performs processing on the input data, stores the processed data in the storage unit, a sync detection unit that detects a synchronization signal from the input data, and outputs a first synchronization detection signal, The input data amount synchronized with the first synchronization detection signal and thereafter stored is counted, and the second data amount is counted every predetermined count.
Interpolating sync counter means for outputting a synchronization detection signal, and receiving the first synchronization detection signal and the first synchronization detection signal, and thereafter receiving the first synchronization detection signal, Is stored in the storage means according to the number of times
Has been to calculate the number of input data, the input data number is predetermined
When the number has been reached, a predetermined number of input data
Input new data until the data processing means is finished
The data processing apparatus is characterized in that anda <br/> control means for controlling to prohibit the storing of data into the storage means.
【請求項2】 入力データの蓄積と、該データに対して
処理を施した後、その処理後のデータの蓄積を一つの記
憶手段で行なうデータ処理装置において、 同期信号を含むデータが記憶された記録媒体から、該記
録データを読み取るデータ読み取り手段と、 該読み取ったデータが入力され、且つ、エラー訂正後の
データが貯えられる記憶手段と、 該記憶手段から前記入力データを取り出し、該データに
対してエラー訂正処理を行った後、該エラー訂正処理後
のデータを前記記憶手段に記憶するデータ処理手段と、 前記入力データから同期信号を検出し、第1の同期検出
信号を出力するシンク検出手段と、 前記第1の同期検出信号により同期されて、以後蓄積さ
れる入力データ量をカウントし、所定カウント毎に第2
の同期検出信号を出力する内挿検出信号を出力する内挿
シンクカウンタ手段と、 前記第1の同期検出信号と第2の同期検出信号とが入力
され、第1の同期検出信号を受け取ると、以後第2の同
期検出信号が入力された回数により前記記憶手段に蓄積
された入力データの数を計算し 該入力データ数が所定
数に達した場合には、先に入力された所定数の入力デー
タの処理を前記データ処理手段が終えるまで新規に入力
データを記憶手段へ蓄積することを禁止する制御を行う
制御手段と を具備したことを特徴とするデータ処理装置。
2. A data processing device for accumulating input data, performing processing on the data, and accumulating the processed data by a single storage means, wherein data including a synchronization signal is stored. Data reading means for reading the recording data from a recording medium; storage means for receiving the read data and storing data after error correction; extracting the input data from the storage means; Data processing means for storing the data after the error correction processing in the storage means after performing the error correction processing, and a sync detection means for detecting a synchronization signal from the input data and outputting a first synchronization detection signal. Counts the amount of input data which is synchronized by the first synchronization detection signal and thereafter accumulated,
An interpolation sync counter unit that outputs an interpolation detection signal that outputs a synchronization detection signal of the following. When the first synchronization detection signal and the second synchronization detection signal are input and the first synchronization detection signal is received, Thereafter, the data is stored in the storage means according to the number of times the second synchronization detection signal is input.
Has been to calculate the number of input data, the input data number is predetermined
When the number has been reached, a predetermined number of input data
Input new data until the data processing means is finished
The data processing apparatus is characterized in that anda <br/> control means for controlling to prohibit the storing of data into the storage means.
JP2127094A 1994-02-18 1994-02-18 Data processing device Expired - Fee Related JP2951186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2127094A JP2951186B2 (en) 1994-02-18 1994-02-18 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2127094A JP2951186B2 (en) 1994-02-18 1994-02-18 Data processing device

Publications (2)

Publication Number Publication Date
JPH07235129A JPH07235129A (en) 1995-09-05
JP2951186B2 true JP2951186B2 (en) 1999-09-20

Family

ID=12050433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2127094A Expired - Fee Related JP2951186B2 (en) 1994-02-18 1994-02-18 Data processing device

Country Status (1)

Country Link
JP (1) JP2951186B2 (en)

Also Published As

Publication number Publication date
JPH07235129A (en) 1995-09-05

Similar Documents

Publication Publication Date Title
US5537552A (en) Apparatus for selectively comparing pointers to detect full or empty status of a circular buffer area in an input/output (I/O) buffer
KR100673568B1 (en) Minimal frame buffer manager for use in data storage devices
US7274637B2 (en) Apparatus and method of storing information
JP2951186B2 (en) Data processing device
US20030131280A1 (en) Method and apparatus for facilitating validation of data retrieved from disk
JP2002149500A (en) Hard disk device
JP2003187449A (en) Information-recording apparatus and information- recording method
US6499082B1 (en) Method of transferring data from large capacity data storage device
JP2812243B2 (en) Information recording device and information reproducing device
JP2001312875A (en) Recording and reproducing disk controller and disk device using the controller
EP1047061A1 (en) Disc controller, disc control system, and disc controlling method
JP2859050B2 (en) Information playback device
US5319503A (en) Method and apparatus for writing successive streams of data on a magnetic medium by writing a cancel mark indicating the cancellation of a previously-written file mark
JP3498651B2 (en) Disk control device, disk device, disk control system, retry frequency control method, and recording medium
US6425022B1 (en) System for reading blocks of different sizes by maintaining buffer page pointer when word count is not greater than guardband, and reset word count thereafter
JP3349893B2 (en) Information recording device
JPS5938930A (en) Optical disk controller
JPH10177764A (en) Optical disk recording device
JP2004199743A (en) Recording/reproducing device and recording/reproducing control method
JPH09251712A (en) Optical disk device
US7409598B2 (en) Information storage system
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JPH07281836A (en) Data transfer method
JPH0820933B2 (en) Data writing method and device
JP2005038591A (en) Information recording device, information recording method, and program

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees