Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2978765B2 - CDROM decoding device and CDROM decoded data transfer method - Google Patents
[go: Go Back, main page]

JP2978765B2 - CDROM decoding device and CDROM decoded data transfer method - Google Patents

CDROM decoding device and CDROM decoded data transfer method

Info

Publication number
JP2978765B2
JP2978765B2 JP8167394A JP16739496A JP2978765B2 JP 2978765 B2 JP2978765 B2 JP 2978765B2 JP 8167394 A JP8167394 A JP 8167394A JP 16739496 A JP16739496 A JP 16739496A JP 2978765 B2 JP2978765 B2 JP 2978765B2
Authority
JP
Japan
Prior art keywords
transfer
data
cdrom
response
interruption
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 - Lifetime
Application number
JP8167394A
Other languages
Japanese (ja)
Other versions
JPH1011892A (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.)
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Original Assignee
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
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 NIPPON DENKI AISHII MAIKON SHISUTEMU KK filed Critical NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Priority to JP8167394A priority Critical patent/JP2978765B2/en
Publication of JPH1011892A publication Critical patent/JPH1011892A/en
Application granted granted Critical
Publication of JP2978765B2 publication Critical patent/JP2978765B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はCDROMデコード
装置に関し、特にパーソナルコンピュータ等に設けられ
デコードしたCDROMデータの転送機能を有するCD
ROMデコード装置およびCDROMデコードデータ転
送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CDROM decoding device, and more particularly to a CD provided in a personal computer or the like and having a function of transferring decoded CDROM data.
The present invention relates to a ROM decoding device and a CDROM decoded data transfer method.

【0002】[0002]

【従来の技術】CDROMは、その大容量、コンパクト
さおよび取り扱いの容易さなどから、大容量の固定記憶
媒体として普及しつつあり、最近のパーソナルコンピュ
ータはCDROMからデータを取り込むためのCDRO
Mドライブ/デコード装置(以下CDROMデコード装
置)を標準的に装備するようになってきている。
2. Description of the Related Art Due to their large capacity, compactness, and ease of handling, CDROMs have become popular as large-capacity fixed storage media, and recent personal computers have been using CDROs for reading data from CDROMs.
An M drive / decoding device (hereinafter referred to as a CDROM decoding device) is becoming standard equipment.

【0003】従来のこの種のCDROMデコード装置
は、CDROMドライブから供給されたシリアルデータ
を1フレーム分ずつデコードし、デコード完了後のデコ
ードデータをフレーム毎に転送先ホストに転送してい
た。この場合、デコード動作は1フレーム分のデータ入
力が完了しないと開始できず、また、転送先ホストに対
するデコードデータの転送は入力シリアルデータが次フ
レームのデータになってから行われる。したがって、C
DROMドライブのピックアップによるリード中のフレ
ームと、転送先ホストに転送中のフレームのデータ相互
間には2フレーム差ができる。このフレーム毎のデータ
転送の途中で、上記転送先ホストでバッファのオーバフ
ロー等によりデータ転送が中断した場合、データ転送を
再開するためにはCDROMドライブのシークが必要で
あった。
A conventional CDROM decoding apparatus of this type decodes serial data supplied from a CDROM drive one frame at a time, and transfers the decoded data after completion of decoding to a transfer destination host for each frame. In this case, the decoding operation cannot be started until the data input for one frame is completed, and the transfer of the decoded data to the transfer destination host is performed after the input serial data becomes the data of the next frame. Therefore, C
There is a difference of two frames between the data of the frame being read by the pickup of the DROM drive and the data of the frame being transferred to the transfer destination host. If data transfer is interrupted due to a buffer overflow or the like at the transfer destination host during the data transfer for each frame, a CDROM drive seek is required to resume the data transfer.

【0004】従来のこの種のCDROMデコード装置を
ブロックで示す図6を参照すると、この従来のCDRO
Mデコード装置は、ドライブ信号DCの供給に応答して
CDROMを駆動し読み出したデータをシリアルデータ
DSとして出力するCDROMドライブ1と、CDRO
Mドライブ1から供給されたシリアルデータDSをデコ
ードしこのデコードしたデコードデータのフレーム毎に
転送データDTして転送先のホスト400に転送するデ
コーダ200と、デコードデータを一時格納するデコー
ド用メモリ3と、転送データDTを取り込みこのデータ
を利用するパーソナルコンピュータ等の転送先のホスト
400と、転送データDTの転送用のデータバス5とを
備える。
Referring to FIG. 6, which shows a block diagram of a conventional CDROM decoding apparatus of this type, a conventional CDRO decoding apparatus is shown.
The M decoding device includes: a CD ROM drive 1 for driving a CD ROM in response to the supply of a drive signal DC and outputting read data as serial data DS;
A decoder 200 that decodes the serial data DS supplied from the M drive 1, transfers the transfer data DT for each frame of the decoded data, and transfers the data to the transfer destination host 400; a decoding memory 3 that temporarily stores the decoded data; A transfer host DT for receiving the transfer data DT and using the data, and a data bus 5 for transferring the transfer data DT.

【0005】デコーダ200は、シリアルデータDSデ
コードしデコードデータDDを出力するデコード部21
と、デコードデータDDをフレーム単位の転送データD
Tとしてバス5を経由してホスト400に転送するデコ
ードデータ転送(DMA)部22とを備える。
[0005] A decoder 200 decodes serial data DS and outputs decoded data DD.
And the decoded data DD are transferred in units of frames.
And a decode data transfer (DMA) unit 22 for transferring to the host 400 via the bus 5 as T.

【0006】次に、図6および転送再開手順すなわちデ
コードデータ転送方法をフローチャートで示す図7を参
照して、従来のCDROMデコード装置の動作について
説明すると、まず、CDROMドライブ1から供給され
たシリアルデータDSを、デコーダ200はデコード部
21によってデコードしデコードデータDDを出力す
る。DMA部22はデコードデータDDをフレーム単位
毎の転送データDTとしてデータバス5を経由して転送
先のホスト400に転送する。
Next, the operation of the conventional CDROM decoding apparatus will be described with reference to FIG. 6 and FIG. 7 which is a flowchart showing a transfer resuming procedure, that is, a decode data transfer method. First, the serial data supplied from the CDROM drive 1 will be described. The decoder 200 decodes the DS by the decoding unit 21 and outputs decoded data DD. The DMA section 22 transfers the decoded data DD as transfer data DT for each frame unit to the transfer destination host 400 via the data bus 5.

【0007】ホスト400側でバッファのオーバフロー
や、データの処理によってデータが受け取れなくなった
時点すなわちデータ転送中断要因発生(ステップP1)
から、データバス5のデータの流れはストップする。し
かし、出力の中断を示す信号が無いため、シリアルデー
タDSの入力が上記転送中断発生時点で読み込中のフレ
ームの次フレームの先頭にならないと、未転送データの
存在が判らないので、デコーダ200はデータ転送が中
断されたことが判断できない。これに対してホスト40
0は、データ転送中断をデコーダ200のステータス信
号SR(ステップP2)によって認知してから、デコー
ダ200に対し、停止コマンドをCDROMデコーダ制
御信号CRによって発行する(ステップP3)。次に、
ホスト400自身がデータ転送を再開できるようになっ
てから、デコーダ200に中断したフレームのアドレス
値をCDROMデコーダ制御信号CRによって再設定し
(ステップP5)、CDROMドライブ1にシーク命令
をCDROMドライブ信号DCによって発行し(ステッ
プP6)、再リード(ステップP7、ステップP8)を
開始する。
When the host 400 cannot receive data due to buffer overflow or data processing, that is, a data transfer interruption factor occurs (step P1).
Therefore, the flow of data on the data bus 5 stops. However, since there is no signal indicating the interruption of the output, if the input of the serial data DS does not become the head of the next frame of the frame being read at the time of the above-mentioned transfer interruption, the existence of untransferred data cannot be known. Cannot determine that the data transfer has been interrupted. On the other hand, host 40
0 recognizes the data transfer interruption by the status signal SR (step P2) of the decoder 200, and then issues a stop command to the decoder 200 by the CDROM decoder control signal CR (step P3). next,
After the host 400 itself can resume the data transfer, the address value of the interrupted frame is reset in the decoder 200 by the CDROM decoder control signal CR (step P5), and the seek command is sent to the CDROM drive 1 by the CDROM drive signal DC. (Step P6), and re-read (Step P7, Step P8) is started.

【0008】また、ホスト400が、データ転送中断要
因発生時点でデコーダ200を強制的に停止してしまっ
た場合でも、その時点でデコーダ200の転送中のデー
タのフレームと、CDROMドライブ1から読み込み中
のフレーム相互間には2フレーム差があり、すでに読み
込済みのフレームはデコーダ200を停止した時点で無
効となってしまうため再読み込みが必要になり、したが
ってシークが必要となる。
Further, even when the host 400 forcibly stops the decoder 200 at the time of the occurrence of the data transfer interruption factor, the data frame being transferred by the decoder 200 and the data being read from the CDROM drive 1 are being read at that time. There is a two-frame difference between the two frames, and the already-read frame becomes invalid when the decoder 200 is stopped, so that re-reading is required, and thus seek is required.

【0009】次に、各信号の動作タイミングを模式的に
タイムチャートで示す図8を参照して従来のCDROM
デコード装置の動作のタイミング関係について説明する
と、通常転送のホスト処理Hは、転送データDTの転送
終了(T1,T4)とデコードの終了(T2,T5)と
を処理している。このとき、転送途中でデータ転送中断
要因が発生(T7)した場合、上述のように、ホスト4
00にはデコーダ200に対してデータ中断を伝える手
段がないため、次のフレーム(ここではn+2フレー
ム)の先頭が見つかる(T9)まで、デコーダ200は
このデータ転送の中断発生を判断できない。T9の時点
でデコーダ200は、未転送のデータが残っていること
から転送中断を判断し、ホスト400にCDROMのス
テータスを示すステータス信号SRによりこの転送中断
ステータスを通知する。ホスト400はこのステータス
信号SRを受けてデコーダ200に停止命令(T10)
を、CDROMドライブ1にCDROMドライブ制御信
号DCによりポーズ命令を発行する(T11)。
Next, referring to FIG. 8 which schematically shows the operation timing of each signal in a time chart, a conventional CDROM
Explaining the timing relationship of the operation of the decoding device, the host process H of the normal transfer processes the end of the transfer of the transfer data DT (T1, T4) and the end of the decode (T2, T5). At this time, when a data transfer interruption factor occurs during the transfer (T7), as described above, the host 4
Since 00 has no means to notify the decoder 200 of the data interruption, the decoder 200 cannot determine the occurrence of the interruption of the data transfer until the head of the next frame (here, the (n + 2) -th frame) is found (T9). At time T9, the decoder 200 determines that the transfer has been interrupted because untransferred data remains, and notifies the host 400 of the transfer interrupt status with the status signal SR indicating the status of the CDROM. The host 400 receives the status signal SR and instructs the decoder 200 to stop (T10).
Is issued to the CDROM drive 1 by the CDROM drive control signal DC (T11).

【0010】データ転送が再開可能になったら、ホスト
400はデコーダ200に対してデータ転送の中断した
フレーム(転送中断フレーム)を再度読み込む設定をC
DROMデコーダ制御信号CRにより行い、再起動する
(T12)。またCDROMドライブ1のピックアップ
は、読み込み対象フレームを既に一度読み込んでしまっ
ているため、シークをしなければならない。このためホ
スト400は、CDROMドライブ制御信号DCとして
転送中断フレーム(ここではn−1フレーム)へピック
アップをシークさせる命令をCDROMドライブ1に対
して発行する(T13)。この場合、エラーのステータ
スをデコーダ200が示したときには、CDROMドラ
イブ1のピックアップが目的のフレームより先に進んで
いるため、ピックアップを戻す動作が必要になり、この
ため、約500m秒程度のシーク時間が発生してしま
う。
When the data transfer becomes resumable, the host 400 instructs the decoder 200 to reread the frame in which the data transfer was interrupted (transfer interrupted frame).
The restart is performed by the DROM decoder control signal CR (T12). Further, the pickup of the CDROM drive 1 has to perform a seek since the frame to be read has already been read once. For this reason, the host 400 issues a command to the CDROM drive 1 to seek the pickup to the transfer interrupted frame (here, the (n-1) th frame) as the CDROM drive control signal DC (T13). In this case, when the error status is indicated by the decoder 200, since the pickup of the CDROM drive 1 has advanced ahead of the target frame, an operation of returning the pickup is required, and therefore, the seek time of about 500 ms is required. Will occur.

【0011】上記シークが終了し指示したフレームの先
頭をデコーダ200が発見すると通常転送処理に戻る
が、その読み込んだフレームデータが、デコードされて
ホスト400に転送されるまで、その後2フレーム分の
時間(標準速度で約27m秒)を必要とする。
When the above-described seek is completed and the decoder 200 finds the head of the designated frame, the process returns to the normal transfer process. The read frame data is decoded and transferred to the host 400 for two frames thereafter. (Approximately 27 ms at standard speed).

【0012】[0012]

【発明が解決しようとする課題】上述した従来のCDR
OMデコード装置は、データ転送中断の認識手段が次フ
レームの先頭データの入力時点での転送未了データの存
在により発生するエラーしか無いため、データ転送先に
何等かの転送停止要因が発生しても、CDROMドライ
ブから次フレームのデータが入力されるまでは、データ
出力の中断を認識できないので、データ入力を停止する
ことができないという欠点があった。
The conventional CDR described above.
In the OM decoding device, since the data transfer interruption recognizing means has only an error that occurs due to the presence of untransferred data at the time of input of the head data of the next frame, any data transfer stop factor occurs in the data transfer destination. However, since the interruption of data output cannot be recognized until the data of the next frame is input from the CDROM drive, the data input cannot be stopped.

【0013】また、CDROMデコーダの入力を停止し
た場合出力も停止しメモリ内部の残存データが無効にな
ることによりすでにリードしてデコード処理中のデータ
も無効になるため、データ転送中断により転送先ホスト
側で強制的にCDROMデコーダの入力を停止させた場
合には、読み込み途中のデータ分を再リードする必要が
あり、また、エラーのステータスの発生時には、CDR
OMドライブのピックアップが目的フレームの先に進ん
でいることからピックアップ位置の復帰のためのシーク
時間を必要とするという欠点があった。
Further, when the input of the CDROM decoder is stopped, the output is also stopped, and the remaining data in the memory becomes invalid, so that the data already read and undergoing the decoding process becomes invalid. If the input of the CDROM decoder is forcibly stopped on the side, it is necessary to re-read the data being read, and if an error status occurs, the CDR
Since the pickup of the OM drive is ahead of the target frame, there is a disadvantage that a seek time for returning the pickup position is required.

【0014】[0014]

【課題を解決するための手段】本発明のCDROMデコ
ード装置は、ドライブ信号の供給に応答してCDROM
を駆動し読み出したデータをシリアルデータとして出力
するCDROMドライブと、前記シリアルデータをデコ
ードしデコードデータを生成しこのデコードデータをフ
レーム単位毎に転送データとしてホスト装置に転送する
デコード手段とを備えるCDROMデコード装置におい
て、前記ホスト装置が、転送データの転送中断が発生し
たときこの転送中断の発生を通知する転送中断信号を生
成し前記転送データを一時記憶するデータバッファのオ
ーバフローを含む前記転送中断の要因の発生に応答して
前記転送中断信号を活性化し前記要因の消滅に応答して
この転送中断信号を非活性化し、前記デコード手段が、
前記シリアルデータをデコードして前記デコードデータ
を生成するデコード部と、前記デコードデータの供給に
応答して前記転送データを生成するデータ転送部と、
記ホスト装置から供給される前記転送中断信号の活性化
に応答して前記シリアルデータの入力を停止するととも
前記転送中断信号の非活性化に応答して前記転送デー
タの再転送を前記転送中断の発生したフレームから開始
するように制御するデータ再転送制御部とを備えて構成
されている。
According to the present invention, there is provided a CD-ROM decoding apparatus which responds to a drive signal by supplying a CD-ROM.
CDROM drive comprising: a CD-ROM drive for driving and outputting read data as serial data; and a decoding means for decoding the serial data to generate decoded data and transferring the decoded data to a host device as transfer data in frame units. In the device, the host device may cause a transfer interruption of transfer data to occur.
Generates a transfer interrupt signal to notify the occurrence of this transfer interrupt.
Data buffer for temporarily storing the transfer data.
In response to the occurrence of the transfer interruption factor including
Activating the transfer interrupt signal and responding to the disappearance of the factor
This transfer interruption signal is deactivated, and the decoding means
Wherein a decoding unit which serial data by decoding to generate the decoded data, and a data transfer unit which generates the transfer data in response to the supply of the decoded data, before
Activating the transfer interruption signal supplied from the host device
Responsive to the generated data retransmission control for controlling to start from the frame of the transfer break retransfer of the transferred data in response to the deactivation of the transfer interrupt signal to stop the input of the serial data in And a unit.

【0015】また、本発明のCDROMデコードデータ
転送方法は、CDROMドライブから読み出したデータ
をシリアルデータとして出力し、前記シリアルデータを
デコードしてデコードデータを生成し、このデコードデ
ータをフレーム単位毎に転送データとしてホスト装置に
転送するCDROMデコードデータ転送方法において、
前記転送データを一時記憶するデータバッファのオーバ
フローを含む前記転送中断の要因の発生に応答して前記
転送中断を表示する転送中断信号を活性化するステップ
と、前記転送中断信号の活性化に応答して前記CDRO
Mドライブに対し前記シリアルデータの出力を停止させ
るステップと、前記転送中断の要因の消滅による前記転
送データの再転送の再開を待つステップと、前記転送中
断の要因の消滅に応答して前記転送中断信号を非活性化
するステップと、前記転送データの1フレーム分の転送
を待つステップと、前記CDROMドライブに対し前記
シリアルデータの出力を再開させるステップとを含むこ
とを特徴とするものである。
Further, according to the CDROM decoded data transfer method of the present invention, data read from a CDROM drive is output as serial data, the serial data is decoded to generate decoded data, and the decoded data is transferred for each frame unit. In a CDROM decoded data transfer method for transferring data to a host device,
Overflow of data buffer for temporarily storing the transfer data
Activating a transfer interruption signal indicating the transfer interruption in response to occurrence of the transfer interruption factor including a flow, and activating the transfer control signal in response to the activation of the transfer interruption signal.
Stopping the output of the serial data to the M drive; waiting for resumption of retransfer of the transfer data due to disappearance of the cause of the transfer interruption; and suspending the transfer in response to the disappearance of the cause of the transfer interruption. The method includes a step of deactivating a signal, a step of waiting for transfer of one frame of the transfer data, and a step of restarting the CDROM drive to output the serial data.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態を図6
と共通の構成要素は共通の文字を付して同様にブロック
で示す図1を参照すると、この図に示す本実施の形態の
CDROMデコード装置は、従来と共通のCDROMド
ライブ1と、デコード用メモリ2と、データバス5とに
加えて、デコーダ200の代りに従来と共通のデコード
部21とデコードデータ転送(DMA)部22とに加え
てデータ再転送制御部23を備えたデコーダ2と、ホス
ト400の代りにデータ転送の中断が生じたときデータ
転送中断信号OVFを発生してデコーダ2に供給するホ
スト4とを備える。
Next, an embodiment of the present invention will be described with reference to FIG.
Referring to FIG. 1 in which the same components as those of FIG. 1 are denoted by the same characters and similarly denoted by blocks, the CDROM decoding apparatus of the present embodiment shown in FIG. And a data bus 5, a decoder 2 having a data retransfer control unit 23 in addition to a decoder unit 21 and a decoded data transfer (DMA) unit 22 which are common to the related art instead of the decoder 200, and a host And a host for generating a data transfer interruption signal OVF and supplying the data transfer interruption signal to the decoder when the data transfer is interrupted in place of the host.

【0017】デコーダ2の細部をブロックで示す図2を
参照すると、データ再転送制御部23は、DMA転送ア
ドレスを再設定するアドレス再設定ブロック231と、
DMA部22のDMA転送用の内部カウンタをクリアす
るカウンタクリアブロック232と、ホスト4からのデ
ータ転送中断信号OVFのアクティブ化に応答してDM
A部22に対してDMA転送を停止させる転送停止再開
制御ブロック233と、デコード部21から現在入力中
のフレームの入力終了報告信号ERの供給に応答してシ
リアルデータDSの入力を停止させる入力停止信号HI
を出力するデータ入力制御ブロック234とを備える。
Referring to FIG. 2 showing the details of the decoder 2 in blocks, the data re-transfer control unit 23 includes an address reset block 231 for resetting a DMA transfer address.
A counter clear block 232 for clearing a DMA transfer internal counter of the DMA unit 22 and a DM in response to activation of a data transfer interruption signal OVF from the host 4.
A transfer stop / restart control block 233 for stopping the DMA transfer to the A unit 22, and an input stop for stopping the input of the serial data DS in response to the supply of the input end report signal ER of the currently input frame from the decoding unit 21. Signal HI
And a data input control block 234 that outputs

【0018】次に、図1,図2およびホスト4,デコー
ダ2の各々の転送再開手順すなわちデコードデータ転送
方法をフローチャートで示す図3,図4を参照して本実
施の形態の動作について説明すると、まず、従来と同様
に、CDROMドライブ1から供給されたシリアルデー
タDSを、デコーダ2はデコード部21によってデコー
ドしデコードデータDDを出力する。DMA部22はデ
コードデータDDをフレーム単位毎に転送データDTと
してデータバス5を経由して転送先のホスト4に転送す
る。
Next, the operation of the present embodiment will be described with reference to FIGS. 1 and 2 and FIGS. 3 and 4 which are flowcharts showing the transfer restart procedure of each of the host 4 and the decoder 2, that is, the decode data transfer method. First, as in the conventional case, the decoder 2 decodes the serial data DS supplied from the CDROM drive 1 by the decoding unit 21 and outputs the decoded data DD. The DMA unit 22 transfers the decoded data DD as transfer data DT for each frame to the transfer destination host 4 via the data bus 5.

【0019】ここで、本実施の形態で用いる主な制御信
号について説明すると、デコーダ2とホスト4との間の
データ転送のハンドシェイク信号を構成するデータ転送
要求信号DMQおよびデータ転送応答信号DMKと、デ
ータ転送の中断を示すデータ転送中断信号OVFと、デ
コーダ2のステータスを示すCDROMのステータス信
号SRと、デコード制御信号CRと、ホスト4からCD
ROMドライブを制御するドライブ制御信号DCとを含
む。
Here, the main control signals used in the present embodiment will be described. The data transfer request signal DMQ and the data transfer response signal DMK, which constitute a handshake signal for data transfer between the decoder 2 and the host 4, are described below. , A data transfer interruption signal OVF indicating interruption of data transfer, a CDROM status signal SR indicating the status of the decoder 2, a decode control signal CR,
And a drive control signal DC for controlling the ROM drive.

【0020】次に、データDの転送の中断が発生する
と、ホスト4はこの中断要因の発生時点ステップS1)
で、データ転送中断信号OVFをアクティブ化し、デコ
ーダ2はこのアクティブ化を認識する(ステップS2,
ステップS21)。また、CDROMドライブ1に対し
ても、現在リード中のフレームのリード後にポーズがか
かるように、ポーズコマンドをCDROMドライブ制御
信号DCにより発行する(ステップS3)。データ再転
送制御部23は、データ転送中断信号OVFのアクティ
ブ化に応答してDMA部22のデータ転送を中止させ
(ステップS22)、CDROMドライブ1から現在入
力中のフレームのシリアルデータDSの入力完了時点
で、シリアルデータDSの入力を停止させる(ステップ
S23)。ホスト4はデータDの転送が再開できる状態
になった時点で(ステップS4)、データ転送中断信号
OVFをインアクティブ化し(ステップS5)、デコー
ダ2からのデータ転送終了のステータスSRを待つ(ス
テップS6)。データ再転送制御部23はデータ転送中
断信号OVFのインアクティブ化に応答して(ステップ
S25)DMA22を制御し、転送中断フレーム対応の
転送データDTをその先頭から転送する(ステップS2
6)。この転送が終了したらCDROMドライブ1から
の入力を可能にし(ステップS27)、ホスト4にステ
ータス信号SRを送ることによって転送終了を示す(ス
テップS28)。ホスト4はこの終了ステータスSRの
供給に応答して(ステップS6のYES)、CDROM
ドライブ1にポーズ解除コマンドをCDROMドライブ
制御信号DCによって発行し(ステップS7)、通常の
データ転送処理に戻る(ステップS8,ステップS2
9)。
Next, when the interruption of the transfer of the data D occurs, the host 4 determines when the interruption factor occurs (step S1).
Then, the data transfer interruption signal OVF is activated, and the decoder 2 recognizes this activation (step S2).
Step S21). Also, a pause command is issued to the CDROM drive 1 by the CDROM drive control signal DC so that a pause is applied after the currently read frame is read (step S3). The data retransfer control unit 23 stops the data transfer of the DMA unit 22 in response to the activation of the data transfer interruption signal OVF (step S22), and completes the input of the serial data DS of the frame currently being input from the CDROM drive 1. At this point, the input of the serial data DS is stopped (step S23). When the transfer of the data D can be resumed (step S4), the host 4 inactivates the data transfer interruption signal OVF (step S5), and waits for the data transfer completion status SR from the decoder 2 (step S6). ). The data retransfer controller 23 controls the DMA 22 in response to the deactivation of the data transfer interruption signal OVF (step S25), and transfers the transfer data DT corresponding to the transfer interrupted frame from the beginning (step S2).
6). When the transfer is completed, the input from the CDROM drive 1 is enabled (step S27), and the transfer is indicated by sending a status signal SR to the host 4 (step S28). The host 4 responds to the supply of the end status SR (YES in step S6), and
A pause release command is issued to the drive 1 by the CDROM drive control signal DC (step S7), and the process returns to the normal data transfer process (steps S8 and S2).
9).

【0021】図2を再度参照してデコーダ2の内部動作
について詳細に説明すると、ホスト4がデータ転送中断
信号OVFをアクティブ化すると、データ再転送制御部
23の転送停止再開制御ブロック233は、転送停止信
号HHをDMA部22に対して供給しDMA転送を停止
させる。また、カウンタクリアブロック232は、クリ
ア信号RCをDMA部22に供給しDMA転送用の内部
カウンタをクリアする。データ入力制御ブロック234
は、デコード部21からの現在入力中のフレームの入力
終了報告信号ERの供給に応答して、入力停止信号HI
をデコード部21に出力し、シリアルデータDSの入力
を停止させる。
Referring to FIG. 2 again, the internal operation of the decoder 2 will be described in detail. When the host 4 activates the data transfer suspension signal OVF, the transfer stop / restart control block 233 of the data retransfer control unit 23 transfers the data. The stop signal HH is supplied to the DMA unit 22 to stop the DMA transfer. Further, the counter clear block 232 supplies a clear signal RC to the DMA unit 22 to clear the internal counter for DMA transfer. Data input control block 234
Responds to the supply of the input end report signal ER of the currently input frame from the decoding unit 21 in response to the input stop signal HI.
To the decoding unit 21 to stop the input of the serial data DS.

【0022】データ転送中断信号OVFがインアクティ
ブ化すると、アドレス再設定ブロック231は、各フレ
ームの転送開始時にDMA22から記憶した転送開始ア
ドレスATを読込み再設定信号RAによりDMA部22
に設定する。転送停止再開制御ブロック233は信号H
HをDMA部22に供給しDMA転送を再開させる。デ
ータ入力制御ブロック234は入力制御信号HIをデコ
ード部21に供給しデコード部へのシリアルデータDS
の入力を再開させる。
When the data transfer interruption signal OVF is deactivated, the address resetting block 231 reads the transfer start address AT stored from the DMA 22 at the start of transfer of each frame, and reads the transfer start address AT from the DMA 22 and issues a DMA reset signal RA.
Set to. The transfer stop / resume control block 233 outputs a signal H
H is supplied to the DMA unit 22 to restart the DMA transfer. The data input control block 234 supplies the input control signal HI to the decoding unit 21 and outputs the serial data DS to the decoding unit.
Resumes input.

【0023】次に、各信号の動作タイミングを模式的に
タイムチャートで示す図5を参照して本実施の形態のC
DROMデコード装置の動作のタイミング関係について
説明すると、通常転送のホスト処理Hは、転送データD
Tの転送終了(T1,T4,T22,T25)とデコー
ドの終了(T2,T5,T23,T26)を処理してい
る。このとき、転送途中でデータ転送中断要因が発生
(T7)した場合、ホスト4はその時点でデータ転送中
断信号OVFをアクティブ化する(T7)。同時にCD
ROMドライブ1に対してポーズ命令を発行して入力中
のフレームのシリアルデータDSの入力完了時点でCD
ROMドライブ1をポーズさせる(T11)。デコード
部21はデコード中のフレームのデコードを終了すると
(T8)、データDSの入力が停止しているためデコー
ド動作も一時停止する。
Next, the operation timing of each signal is schematically shown in a time chart with reference to FIG.
The timing relationship of the operation of the DROM decoding device will be described.
The end of transfer of T (T1, T4, T22, T25) and the end of decoding (T2, T5, T23, T26) are processed. At this time, when a data transfer interruption factor occurs during the transfer (T7), the host 4 activates the data transfer interruption signal OVF at that time (T7). CD at the same time
When a pause command is issued to the ROM drive 1 and the input of the serial data DS of the frame being input is completed, the CD
The ROM drive 1 is paused (T11). When the decoding of the frame being decoded is completed (T8), the decoding operation is temporarily stopped because the input of the data DS is stopped.

【0024】データ転送が再開可能となったら、ホスト
4はデータ転送中断信号OVFをインアクティブ化する
(T20)。データ転送中断信号OVFのインアクティ
ブ化に応答してデコーダ2は、中断されたフレームのデ
ータを先頭から再転送する。データ再転送制御部23は
上記転送の終了の確認に応答して(T18)CDROM
ドライブ1のポーズを解除(T12)し、入力の完了し
ているフレームの次のフレームから通常の転送処理に戻
る。
When the data transfer can be resumed, the host 4 inactivates the data transfer interruption signal OVF (T20). In response to the deactivation of the data transfer suspension signal OVF, the decoder 2 retransfers the data of the suspended frame from the beginning. The data retransfer control unit 23 responds to the confirmation of the end of the transfer (T18)
The pause of the drive 1 is released (T12), and the process returns to the normal transfer process from the frame next to the frame for which input has been completed.

【0025】以上説明したように、本実施の形態のCD
ROMデコード装置は、データ転送中断信号線のアクテ
ィブ化に応答してデコーダ内に取り込んだ入力シリアル
データを無効にせず再度転送を行うため、CDROMド
ライブから新たに同一シリアルデータの読み込みが不要
となることと、予めホスト側でCDROMドライブの制
御を行えることとにより、データ転送中断時のドライブ
の状態を保持できるので、データ転送再開時にはCDR
OMドライブの保持状態を解除するだけで良く、シーク
動作が不要となり、従来と比較してシーク時間500m
秒+2フレーム分の読み込み時間(標準速で27m秒程
度)分短縮できる。
As described above, the CD of the present embodiment
Since the ROM decoding device transfers the input serial data taken in the decoder in response to the activation of the data transfer interruption signal line without invalidating the input serial data, it is not necessary to newly read the same serial data from the CDROM drive. Since the host can control the CDROM drive in advance, the drive status at the time of data transfer interruption can be maintained.
It is only necessary to release the holding state of the OM drive, and no seek operation is required.
It is possible to reduce the reading time for second + 2 frames (about 27 msec at standard speed).

【0026】[0026]

【発明の効果】以上説明したように、本発明のCDRO
Mデコード装置およびCDROMデコードデータ転送方
法は、ホストがデータ転送の中断が発生したときこれを
検出してデータ転送中断信号を発生し、デコーダが上記
データ転送中断信号の供給に応答して入力シリアルデー
タの入力を停止させるとともにデコードデータの再転送
が可能となったとき再転送の制御を行う再転送制御手段
を備えるので、転送先ホスト側は容易にデータの再転送
が制御できるとともに、シーク時間が不要となるので転
送時間を高速化できるという効果がある。
As described above, the CDRO of the present invention is
The M decoding device and the CD ROM decoded data transfer method are characterized in that the host detects when the data transfer is interrupted and generates a data transfer interrupt signal, and the decoder responds to the supply of the data transfer interrupt signal to input serial data. And the retransmission control means that controls retransmission when the decoding data can be retransmitted is stopped, so that the transfer destination host can easily control the data retransmission and seek time. Since it becomes unnecessary, there is an effect that the transfer time can be shortened.

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

【図1】本発明のCDROMデコード装置の一実施の形
態を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a CDROM decoding device of the present invention.

【図2】図1のデコーダの構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a configuration of the decoder of FIG.

【図3】本実施の形態のCDROMデコードデータ転送
方法におけるホストの処理を示すフローチャートであ
る。
FIG. 3 is a flowchart showing processing of a host in a CDROM decoded data transfer method according to the embodiment.

【図4】本実施の形態のCDROMデコードデータ転送
方法におけるデコーダの動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the decoder in the CDROM decoded data transfer method of the present embodiment.

【図5】本実施の形態のCDROMデコード装置におけ
る再転送動作の一例を示すタイムチャートである。
FIG. 5 is a time chart showing an example of a retransfer operation in the CDROM decoding device of the present embodiment.

【図6】従来のCDROMデコード装置の一例を示すブ
ロック図である。
FIG. 6 is a block diagram showing an example of a conventional CDROM decoding device.

【図7】従来のCDROMデコードデータ転送方法にお
ける処理を示すフローチャートである。
FIG. 7 is a flowchart showing processing in a conventional CDROM decoded data transfer method.

【図8】従来のCDROMデコード装置における再転送
動作の一例を示すタイムチャートである。
FIG. 8 is a time chart showing an example of a retransfer operation in a conventional CDROM decoding device.

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

1 CDROMドライブ 2,200 デコーダ 3 デコード用メモリ 4,400 ホスト 5 データバス 21 デコード部 22 デコードデータ転送(DMA)部 23 データ再転送制御部 231 アドレス再設定ブロック 232 カウンタクリアブロック 233 転送停止再開制御ブロック 234 データ入力制御ブロック DESCRIPTION OF SYMBOLS 1 CDROM drive 2,200 decoder 3 Decoding memory 4,400 Host 5 Data bus 21 Decoding unit 22 Decoded data transfer (DMA) unit 23 Data retransfer control unit 231 Address reset block 232 Counter clear block 233 Transfer stop / restart control block 234 Data input control block

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ドライブ信号の供給に応答してCDRO
Mを駆動し読み出したデータをシリアルデータとして出
力するCDROMドライブと、前記シリアルデータをデ
コードしデコードデータを生成しこのデコードデータを
フレーム単位毎に転送データとしてホスト装置に転送す
るデコード手段とを備えるCDROMデコード装置にお
いて、前記ホスト装置が、転送データの転送中断が発生したと
きこの転送中断の発生を通知する転送中断信号を生成し
前記転送データを一時記憶するデータバッファのオーバ
フローを含む前記転送中断の要因の発生に応答して前記
転送中断信号を活性化し前記要因の消滅に応答してこの
転送中断信号を非活性化し、 前記デコード手段が、前記シリアルデータをデコードし
て前記デコードデータを生成するデコード部と、 前記デコードデータの供給に応答して前記転送データを
生成するデータ転送部と、前記ホスト装置から供給される前記転送中断信号の活性
化に応答して 前記シリアルデータの入力を停止するとと
もに前記転送中断信号の非活性化に応答して前記転送デ
ータの再転送を前記転送中断の発生したフレームから開
始するように制御するデータ再転送制御部とを備えるこ
とを特徴とするCDROMデコード装置。
A CDRO is provided in response to a supply of a drive signal.
A CDROM drive for driving M and outputting read data as serial data; and a CDROM comprising: decoding means for decoding the serial data to generate decoded data and transferring the decoded data to the host device as transfer data in frame units. In the decoding device, the host device may determine that the transfer of the transfer data has been interrupted.
Generates a transfer interrupt signal to notify the transfer
Overflow of data buffer for temporarily storing the transfer data
In response to the occurrence of the transfer interruption factor including the flow, the
Activates the transfer interrupt signal and responds to
A decoding unit that deactivates a transfer interruption signal, the decoding unit decodes the serial data to generate the decoded data, and a data transfer unit that generates the transfer data in response to the supply of the decoded data. Activation of the transfer interruption signal supplied from the host device
Response to response to data retransmission be controlled so as to start the re-transfer of the transferred data from the generated frame of the transfer interruption to deactivation of the transfer interrupt signal to stop the input of the serial data of A CDROM decoding device, comprising: a control unit.
【請求項2】 前記データ再転送制御部が、前記転送中
断の発生を通知する転送中断信号の活性化に応答して前
記シリアルデータの入力の停止を指示し前記転送中断信
号の非活性化に応答して前記入力の再開を指示するデー
タ入力制御手段と、 前記転送中断信号の活性化および非活性化の各々に応答
して前記転送データの転送停止および転送再開を制御す
る転送停止再開制御手段と、 前記転送中断信号の非活性化に応答して前記転送中断の
発生したフレームの転送開始アドレスを前記データ転送
部に再設定する転送アドレス再設定手段とを備えること
を特徴とする請求項1記載のCDROMデコード装置。
2. The data retransfer control unit instructs to stop inputting the serial data in response to activation of a transfer interruption signal for notifying occurrence of the transfer interruption, and instructs the transfer interruption signal to be inactive. Data input control means for instructing restart of the input in response thereto; transfer stop / restart control means for controlling transfer stop and transfer restart of the transfer data in response to activation and deactivation of the transfer interrupt signal, respectively 2. A transfer address resetting means for resetting a transfer start address of a frame in which the transfer is interrupted to the data transfer unit in response to deactivation of the transfer interrupt signal. The CDROM decoding device according to the above.
【請求項3】 前記データ入力制御手段が、前記シリア
ルデータの入力の停止再開を前記CDROMドライブの
ポーズ命令およびポーズ解除命令の各々の発行により行
うことを特徴とする請求項2記載のCDROMデコード
装置。
3. The CDROM decoding apparatus according to claim 2, wherein said data input control means stops and restarts the input of said serial data by issuing each of a pause command and a pause release command of said CDROM drive. .
【請求項4】 CDROMドライブから読み出したデー
タをシリアルデータとして出力し、前記シリアルデータ
をデコードしてデコードデータを生成し、このデコード
データをフレーム単位毎に転送データとしてホスト装置
に転送するCDROMデコードデータ転送方法におい
て、 前記転送データを一時記憶するデータバッファのオーバ
フローを含む前記転送中断の要因の発生に応答して前記
転送中断を表示する転送中断信号を活性化するステップ
と、前記転送中断信号の活性化に応答して 前記CDROMド
ライブに対し前記シリアルデータの出力を停止させるス
テップと、 前記転送中断の要因の消滅による前記転送データの再転
送の再開を待つステップと、 前記転送中断の要因の消滅に応答して前記転送中断信号
を非活性化するステップと、 前記転送データの1フレーム分の転送を待つステップ
と、 前記CDROMドライブに対し前記シリアルデータの出
力を再開させるステップとを含むことを特徴とするCD
ROMデコードデータ転送方法。
4. A CDROM decode data which outputs data read from a CDROM drive as serial data, decodes the serial data to generate decode data, and transfers the decode data to a host device as transfer data in frame units. In the transfer method, an overflow of a data buffer for temporarily storing the transfer data is performed.
Activating a transfer interruption signal indicating the transfer interruption in response to the occurrence of the transfer interruption factor including a flow; and activating the transfer of the serial data to the CDROM drive in response to the activation of the transfer interruption signal . Stopping output, waiting for resumption of retransfer of the transfer data due to disappearance of the cause of the transfer interruption, and deactivating the transfer interruption signal in response to disappearance of the cause of the transfer interruption. Waiting for transfer of the transfer data for one frame; and restarting the serial data output to the CD ROM drive.
ROM decode data transfer method.
JP8167394A 1996-06-27 1996-06-27 CDROM decoding device and CDROM decoded data transfer method Expired - Lifetime JP2978765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8167394A JP2978765B2 (en) 1996-06-27 1996-06-27 CDROM decoding device and CDROM decoded data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8167394A JP2978765B2 (en) 1996-06-27 1996-06-27 CDROM decoding device and CDROM decoded data transfer method

Publications (2)

Publication Number Publication Date
JPH1011892A JPH1011892A (en) 1998-01-16
JP2978765B2 true JP2978765B2 (en) 1999-11-15

Family

ID=15848893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8167394A Expired - Lifetime JP2978765B2 (en) 1996-06-27 1996-06-27 CDROM decoding device and CDROM decoded data transfer method

Country Status (1)

Country Link
JP (1) JP2978765B2 (en)

Also Published As

Publication number Publication date
JPH1011892A (en) 1998-01-16

Similar Documents

Publication Publication Date Title
JPWO2000067255A1 (en) Disk device
EP1188162B1 (en) Data transfer apparatus and data transfer method with double buffering
JP2978765B2 (en) CDROM decoding device and CDROM decoded data transfer method
JP3150242B2 (en) Disk unit
JP2734437B2 (en) Magnetic disk drive and method of controlling magnetic disk drive
JP2001135009A (en) Optical disk apparatus and control method therefor
JP3072559B2 (en) ATAPI interface control circuit and DVD player using the circuit
JPH10162484A (en) Device and method for controlling video cd reproducing
JP2541780B2 (en) Mirror ring magnetic disk unit
JPH05298230A (en) Multiplex drive control system
JP3740692B2 (en) Disc player
JP2001067809A (en) Reproduction method and reproduction device
JP2748056B2 (en) Disk controller
JP2000236519A (en) Video/audio reproducing device
JP2901464B2 (en) Data transfer method and digital video playback device
JP2560920B2 (en) File data backup method
JP3673437B2 (en) Error correction processing device
JPS59136832A (en) Data transfer system
JPH0689144A (en) Magnetic disk processor
JPH08320765A (en) Disk drive
JPH08161748A (en) Disk recording / reproducing system and data erasing control method
JPH03272057A (en) Data securing system
JP3477549B2 (en) Optical disk drive
JPH0643893Y2 (en) Built-in circuit start / stop controller for disk storage device
JP2004070681A (en) Data transfer apparatus and method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990831