JPH1185672A - Data transmission equipment - Google Patents
Data transmission equipmentInfo
- Publication number
- JPH1185672A JPH1185672A JP9239344A JP23934497A JPH1185672A JP H1185672 A JPH1185672 A JP H1185672A JP 9239344 A JP9239344 A JP 9239344A JP 23934497 A JP23934497 A JP 23934497A JP H1185672 A JPH1185672 A JP H1185672A
- Authority
- JP
- Japan
- Prior art keywords
- interface
- data
- bus
- disk
- cpu
- 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.)
- Pending
Links
Landscapes
- Image Input (AREA)
- Bus Control (AREA)
Abstract
(57)【要約】
【課題】 コンピュータシステムのデータバス上にイン
ターフェイスを配置し、データの入出力を行うデータ伝
送装置において、主としてCPUからアクセスされる頻
度が高いメインメモリを仲立ちとしてデータ伝送を行う
と、メインメモリへのアクセス競合によって十分な性能
が得られない。このような制限を受けることなく、バス
のデータ伝送能力を十分に引き出すことができるデータ
伝送装置を提供することを行うことを目的とする。
【解決手段】 バス上に、ディスクインターフェイスお
よびAVインターフェイスから書き込みおよび読みだし
の可能なデータ専用メモリを備える。
(57) [Summary] [PROBLEMS] To provide a data transmission device for arranging an interface on a data bus of a computer system and inputting / outputting data, in which data transmission is performed mainly by a main memory frequently accessed by a CPU. And sufficient performance cannot be obtained due to contention for access to the main memory. An object of the present invention is to provide a data transmission device capable of fully utilizing the data transmission capability of a bus without being limited by such restrictions. SOLUTION: A bus is provided with a data-only memory which can be written and read from a disk interface and an AV interface.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、外部からの要求に
応じて、同時に複数の画像および音声のデータを蓄積し
たり供給を行うデータ転送装置、特にビデオサーバに関
するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer apparatus for storing and supplying a plurality of image and audio data simultaneously in response to an external request, and more particularly to a video server.
【0002】[0002]
【従来の技術】マイクロコンピュータ技術の急速な進展
に伴い、専用ハードウェアで扱われていた映像や音声の
データが汎用のコンピュータハードウェア上で扱えるよ
うになってきた。ビデオサーバとよばれるデータ伝送装
置においても同様に、一例として図10にそのブロック
図を示すようなコンピュータのハードウェアを基本とし
た構成が可能となってきている(例えば、特願平8-30890
3号)。2. Description of the Related Art With the rapid development of microcomputer technology, video and audio data handled by dedicated hardware can now be handled by general-purpose computer hardware. Similarly, in a data transmission device called a video server, a configuration based on computer hardware as shown in the block diagram of FIG. 10 as an example has become possible (for example, Japanese Patent Application No. Hei 8-30890).
No. 3).
【0003】すなわち、CPU1001と、バス1002、メイ
ンメモリ1003を持ち、これらはバスインターフェイス10
04で結ばれている。バス1002上には、外部からのデータ
伝送に対する指令を受け止める通信インターフェイス10
05と、データが記録再生されるディスク装置1006とのイ
ンターフェイスであるディスクインターフェイス1007
と、外部のデータ送受信装置1009との間でデータのやり
とりを行うAVインターフェイス1008とがある。これら
のバス1002上に置かれた各インターフェイスが、CPU
1001に対して各インターフェイスに関する処理の開始を
要求するため割り込み信号が使われる。各インターフェ
イスから出力される割り込み信号は割り込みコントロー
ラ1010に入力され、ここで優先順位づけなどの処理を施
されたあとCPU1001に送られ、CPU1001に対して割
り込み要求がなされることになる。[0003] That is, a CPU 1001, a bus 1002, and a main memory 1003 are provided.
04 tied. On the bus 1002, there is a communication interface 10 for receiving a command for data transmission from outside.
05 and a disk interface 1007 which is an interface between the disk device 1006 where data is recorded and reproduced.
And an AV interface 1008 for exchanging data with an external data transmission / reception device 1009. Each interface placed on these buses 1002 is a CPU
An interrupt signal is used to request 1001 to start processing for each interface. An interrupt signal output from each interface is input to an interrupt controller 1010, where the interrupt signal is subjected to processing such as prioritization, and then sent to the CPU 1001 to make an interrupt request to the CPU 1001.
【0004】図10に示すデータ伝送装置がデータをデ
ィスク装置1006に記録する過程を説明する。[0004] A process in which the data transmission device shown in FIG. 10 records data on the disk device 1006 will be described.
【0005】まず通信インターフェイス1005に対して記
録の指令が伝えられる。通信インターフェイス1005は指
令を受信したことをCPU1001に通知するため、割り込
み信号を発生する。通信インターフェイス1005が発生し
た割り込み信号は割り込みコントローラ1010を経てCP
U1001に伝えられ、CPU1001はこれに反応して通信イ
ンターフェイスに届いた指令をバスインターフェイス10
04を通じて、バス1002上の通信インターフェイス1005か
ら読み取る。First, a recording command is transmitted to the communication interface 1005. The communication interface 1005 generates an interrupt signal to notify the CPU 1001 that the command has been received. The interrupt signal generated by the communication interface 1005 passes through the interrupt controller 1010 to the CP.
In response to this, the CPU 1001 responds to the command and arrives at the communication interface.
Through 04, read from the communication interface 1005 on the bus 1002.
【0006】指令が記録であることを了解したCPU10
01はAVインターフェイス1008に対して、外部のデータ
送受信装置1009から送られてくるデータをメインメモリ
1003に書き込むように指令を行う。AVインターフェイ
ス1008はデータを受信した後、バス1002の使用権を取得
し、バスインターフェイス1004を通じて受信したデータ
をメインメモリ1003に書き込む。書き込みが完了した
ら、完了をCPU1001に通知するため、割り込み信号を
発生する。AVインターフェイス1008が発生した割り込
み信号は割り込みコントローラ1010を経てCPU1001に
伝えられる。[0006] The CPU 10 understands that the command is a record.
01 is a main memory for transmitting data sent from an external data transmitting / receiving device 1009 to the AV interface 1008.
Command to write to 1003. After receiving the data, the AV interface 1008 acquires the right to use the bus 1002, and writes the data received through the bus interface 1004 to the main memory 1003. When the writing is completed, an interrupt signal is generated to notify the CPU 1001 of the completion. The interrupt signal generated by the AV interface 1008 is transmitted to the CPU 1001 via the interrupt controller 1010.
【0007】CPU1001はこれに反応して、ディスクイ
ンターフェイス1007に対して、AVインターフェイス10
08が書き込んだメインメモリ1003上のデータをディスク
装置1006の所定の位置に書き込むよう指令を行う。ディ
スクインターフェイス1007はバス1002の使用権を取得
し、バスインターフェイス1004を通じてデータをメイン
メモリ1003から読み出す。そして読み出したデータをデ
ィスク装置1006のCPU1001から指示された位置に書き
込む。書き込みが完了したら、完了をCPU1001に通知
するため、割り込み信号を発生する。ディスクインター
フェイス1007が発生した割り込み信号は割り込みコント
ローラ1010を経てCPU1001に伝えられる。以上の一連
の動作により、外部のデータ送受信装置1009から、デー
タ伝送装置にデータが記録される。In response to this, the CPU 1001 sends the AV interface 10 to the disk interface 1007.
08 is instructed to write the data written in the main memory 1003 to a predetermined position of the disk device 1006. The disk interface 1007 obtains the right to use the bus 1002, and reads data from the main memory 1003 through the bus interface 1004. Then, the read data is written to the position specified by the CPU 1001 of the disk device 1006. When the writing is completed, an interrupt signal is generated to notify the CPU 1001 of the completion. The interrupt signal generated by the disk interface 1007 is transmitted to the CPU 1001 via the interrupt controller 1010. Through the above series of operations, data is recorded from the external data transmitting / receiving apparatus 1009 to the data transmission apparatus.
【0008】次に、図10に示すデータ伝送装置がデー
タをデータ送受信装置1009へ再生する過程を説明する。
まず通信インターフェイス1005に対して再生の指令が伝
えられる。通信インターフェイス1005は指令を受信した
ことをCPU1001に通知するため、割り込み信号を発生
する。通信インターフェイス1005が発生した割り込み信
号は割り込みコントローラ1010を経てCPU1001に伝え
られ、CPU1001はこれに反応して通信インターフェイ
スに届いた指令をバスインターフェイス1004を通じて、
バス1002上の通信インターフェイス1005から読み取る。[0008] Next, a process in which the data transmission apparatus shown in FIG. 10 reproduces data to the data transmission / reception apparatus 1009 will be described.
First, a reproduction command is transmitted to the communication interface 1005. The communication interface 1005 generates an interrupt signal to notify the CPU 1001 that the command has been received. The interrupt signal generated by the communication interface 1005 is transmitted to the CPU 1001 via the interrupt controller 1010, and the CPU 1001 responds to the instruction and reaches the communication interface via the bus interface 1004.
Read from communication interface 1005 on bus 1002.
【0009】指令が記録であることを了解したCPU10
01はディスクインターフェイス1007に対して、ディスク
装置1006の所定の位置に記録されたデータをメインメモ
リ1003に書き込むように指令を行う。ディスクインター
フェイス1007はデータをディスク装置1006から読み出し
た後、バス1002の使用権を取得し、バスインターフェイ
ス1004を通じて受信したデータをメインメモリ1003に書
き込む。書き込みが完了したら、完了をCPU1001に通
知するため、割り込み信号を発生する。ディスクインタ
ーフェイス1007が発生した割り込み信号は割り込みコン
トローラ1010を経てCPU1001に伝えられる。The CPU 10 that understands that the command is a record
01 instructs the disk interface 1007 to write data recorded at a predetermined position of the disk device 1006 to the main memory 1003. After reading the data from the disk device 1006, the disk interface 1007 acquires the right to use the bus 1002, and writes the data received through the bus interface 1004 to the main memory 1003. When the writing is completed, an interrupt signal is generated to notify the CPU 1001 of the completion. The interrupt signal generated by the disk interface 1007 is transmitted to the CPU 1001 via the interrupt controller 1010.
【0010】CPU1001はこれに反応して、AVインタ
ーフェイス1008に対して、ディスクインターフェイス10
07が書き込んだメインメモリ1003上のデータを外部のデ
ータ送受信装置1009へ出力するよう指令を行う。AVイ
ンターフェイス1008はバス1002の使用権を取得し、バス
インターフェイス1004を通じてデータをメインメモリ10
03から読み出す。そして読み出したデータをデータ送受
信装置1008に出力する。これが完了したら、完了をCP
U1001に通知するため、割り込み信号を発生する。AV
インターフェイス1008が発生した割り込み信号は割り込
みコントローラ1010を経てCPU1001に伝えられる。[0010] In response to this, the CPU 1001 sends a disc interface 10 to the AV interface 1008.
An instruction is issued to output the data on the main memory 1003 written by 07 to the external data transmitting / receiving device 1009. The AV interface 1008 obtains the right to use the bus 1002 and transfers data to the main memory 10 through the bus interface 1004.
Read from 03. Then, the read data is output to the data transmitting / receiving device 1008. When this is completed,
An interrupt signal is generated to notify U1001. AV
The interrupt signal generated by the interface 1008 is transmitted to the CPU 1001 via the interrupt controller 1010.
【0011】以上の一連の動作により、ディスク装置10
06から、外部のデータ送受信装置1009へデータが再生さ
れる。By the above series of operations, the disk drive 10
From 06, data is reproduced to the external data transmission / reception device 1009.
【0012】[0012]
【発明が解決しようとする課題】メインメモリ1003には
CPU1001によって実行される命令語や、前述のデータ
伝送装置として取り扱うのとは別のデータが存在する。
また同時に、前述のようにメインメモリ1003は、バス10
02上の様々のインターフェイスから書き込みおよび読み
出しを受ける。つまりバスインターフェイス1004は、C
PU1001からのメインメモリ1003へのアクセス要求と、
バス1002からのアクセス要求を調停しながら、双方から
のアクセス要求に応えている。The main memory 1003 contains command words executed by the CPU 1001 and data different from those handled as the data transmission device described above.
At the same time, the main memory 1003 is
Receive write and read from various interfaces on 02. That is, the bus interface 1004
An access request from the PU 1001 to the main memory 1003,
It arbitrates for access requests from the bus 1002 and responds to access requests from both parties.
【0013】ところが近年、CPU1001の機能の高度化
に伴い、CPU1001のメインメモリ1003に対するアクセ
ス頻度が高まったり、階層的記憶機構すなわちキャッシ
ュメモリの機構が組み込まれることによって、バス1002
からメインメモリ1003に対するアクセス要求の優先度は
低下する方向にある。その結果、前述のバス1002上の各
インターフェイスからのメインメモリへの書き込みおよ
び読みだし要求への応答時間が長くなるとともに、書き
込みおよび読みだしそのものの速度も低下する。これ
は、前述のデータ伝送装置としての動作において単位時
間あたりに取り扱うことのできるデータ量が低下するこ
とを示している。バスの転送能力としては十分余裕があ
るにもかかわらず、メインメモリでのアクセス競合のた
めにデータ伝送能力が制約を受ける。However, in recent years, as the functions of the CPU 1001 have become more sophisticated, the frequency of access to the main memory 1003 by the CPU 1001 has been increased, and a hierarchical storage mechanism, that is, a cache memory mechanism has been incorporated.
Therefore, the priority of the access request to the main memory 1003 tends to decrease. As a result, the response time to the write and read requests from the interfaces on the bus 1002 to the main memory is lengthened, and the speed of the write and read itself is reduced. This indicates that the amount of data that can be handled per unit time in the operation as the data transmission device described above decreases. Although there is enough room for the transfer capability of the bus, the data transmission capability is restricted due to access competition in the main memory.
【0014】本発明は上記の課題を解決するためになさ
れたものであり、バスの転送能力をメインメモリへのC
PUとのアクセス競合によって制約されることのないデ
ータ伝送装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and is intended to provide a bus transfer capability to a main memory.
An object of the present invention is to provide a data transmission device that is not restricted by access competition with a PU.
【0015】[0015]
【課題を解決するための手段】請求項1記載の本発明
は、この課題を解決するために、バスに接続され外部か
らのデータ伝送指令を受ける通信インターフェイスと、
データを記録再生するディスク装置と、ディスク装置と
バスとをインターフェイスするディスクインターフェイ
スと、外部のデータ送受信装置とバスをインターフェイ
スするAVインターフェイスと、バスに直接接続されバ
スインターフェイスならびにディスクインターフェイス
ならびにAVインターフェイスからデータを書き込みお
よび読みだしを行われるAVデータメモリと、通信イン
ターフェイスとディスクインターフェイスとAVインタ
ーフェイスから発せられる割り込み要求信号を受けCP
Uに伝達する割り込みコントローラを備えたものであ
る。According to a first aspect of the present invention, there is provided a communication interface connected to a bus and receiving an external data transmission command.
A disk device for recording and reproducing data, a disk interface for interfacing the disk device with the bus, an AV interface for interfacing the external data transmitting and receiving device with the bus, a bus interface directly connected to the bus, and data from the disk interface and the AV interface An AV data memory for writing and reading data, and a CP for receiving an interrupt request signal issued from the communication interface, the disk interface, and the AV interface.
It has an interrupt controller for transmitting to U.
【0016】また、請求項2記載の本発明は、データを
記録再生するディスク装置と、ディスク装置とバスとを
インターフェイスするディスクインターフェイスと、外
部のデータ送受信装置とバスをインターフェイスするA
Vインターフェイスと、バスに直接接続されバスインタ
ーフェイスならびにディスクインターフェイスならびに
AVインターフェイスからデータを書き込みおよび読み
だしを行われるAVデータメモリと、バスに接続され外
部からのデータ伝送指令を受けるとともにAVデータメ
モリに対して読みだしおよび書き込みを行う通信インタ
ーフェイスと、通信インターフェイスとディスクインタ
ーフェイスとAVインターフェイスから発せられる割り
込み要求信号を受けCPUに伝達する割り込みコントロ
ーラを備えたものである。According to a second aspect of the present invention, there is provided a disk device for recording and reproducing data, a disk interface for interfacing the disk device with a bus, and an A for interfacing an external data transmitting and receiving device with a bus.
A V interface, an AV data memory directly connected to the bus, for writing and reading data from the bus interface, the disk interface and the AV interface, and an external data transmission command connected to the bus for receiving the external data transmission command. A communication interface for reading and writing data; and an interrupt controller for receiving an interrupt request signal issued from the communication interface, the disk interface, and the AV interface and transmitting the interrupt request signal to the CPU.
【0017】また、請求項3記載の本発明は、バスに接
続され外部からのデータ伝送指令を受ける通信インター
フェイスと、データを記録再生するディスク装置と、デ
ィスク装置とバスとをインターフェイスするディスクイ
ンターフェイスと、外部のデータ送受信装置とインター
フェイスするAVインターフェイスと、2つのポートを
持ち一方のポートはバスに直接接続されバスインターフ
ェイスならびにディスクインターフェイスからデータの
書き込みおよび読みだしを行われ、もう一方のポートは
AVインターフェースからデータの書き込みおよび読み
だしを行われるAVデータメモリと、AVデータメモリ
への書き込みおよび読みだし状況を予め設定した条件と
比較し条件成立時に割り込み信号を発生するAVデータ
メモリ割り込み発生手段と、通信インターフェイスとデ
ィスクインターフェイスとAVデータメモリ割り込み発
生手段から発せられる割り込み要求信号を受け前記CP
Uに伝達する割り込みコントローラを備えたものであ
る。According to a third aspect of the present invention, there is provided a communication interface connected to a bus for receiving an external data transmission command, a disk device for recording and reproducing data, and a disk interface for interfacing the disk device with the bus. An AV interface for interfacing with an external data transmission / reception device, and two ports, one of which is directly connected to a bus for writing and reading data from a bus interface and a disk interface, and the other of which is an AV interface An AV data memory for writing and reading data from and an AV data memory interrupt for generating an interrupt signal when the condition is satisfied by comparing the writing and reading status to the AV data memory with a preset condition The CP receives the means, the interrupt request signal generated from the communication interface and the disk interface and AV data memory interrupt generation means
It has an interrupt controller for transmitting to U.
【0018】また、請求項4記載の本発明は、バスに接
続され外部からのデータ伝送指令を受ける通信インター
フェイスと、データを記録再生するディスク装置と、デ
ィスク装置とバスとをインターフェイスするディスクイ
ンターフェイスと、外部のデータ送受信装置とバスをイ
ンターフェイスするAVインターフェイスと、バスに直
接接続されバスインターフェイスならびにディスクイン
ターフェイスならびにAVインターフェイスからデータ
を書き込みおよび読みだしを行われるAVデータメモリ
と、通信インターフェイスとディスクインターフェイス
とAVインターフェイスから発せられる割り込み要求信
号を受けCPUに伝達する第1の割り込みコントローラ
と、ディスクインターフェイスとAVインターフェイス
から発せられる割り込み要求信号を受け通信インターフ
ェイスに伝達する第2の割り込みコントローラと、ディ
スクインターフェイスとAVインターフェイスから発せ
られる割り込み要求信号を第1の割り込みコントローラ
あるいは第2の割り込みコントローラに振り分ける割り
込み信号選択手段を備えたものである。According to a fourth aspect of the present invention, there is provided a communication interface connected to a bus for receiving an external data transmission command, a disk device for recording and reproducing data, and a disk interface for interfacing the disk device with the bus. An AV interface for interfacing a bus with an external data transmission / reception device, an AV data memory directly connected to the bus for writing and reading data from the bus interface, a disk interface and the AV interface, a communication interface, a disk interface and an AV A first interrupt controller for receiving an interrupt request signal issued from the interface and transmitting the interrupt request signal to the CPU; A second interrupt controller for receiving an interrupt request signal and transmitting the interrupt request signal to a communication interface, and an interrupt signal selecting means for distributing an interrupt request signal issued from the disk interface and the AV interface to the first interrupt controller or the second interrupt controller. It is.
【0019】上記の構成により、CPUのメインメモリ
へのアクセスの状態に制限されることなく、バスの転送
能力に応じたデータ伝送能力を発揮することができる。According to the above configuration, the data transmission capability according to the transfer capability of the bus can be exhibited without being limited by the access state of the CPU to the main memory.
【0020】[0020]
【発明の実施の形態】以下、本発明の実施の形態につい
て、図1から図9を用いて説明する。なお、記録と再生
については本発明においてはちょうど逆の過程によって
行われるので以下の説明では再生の過程について説明を
行う。また、通常ビデオサーバとよばれる形態では、通
常、複数のデータ伝送が同時並行で行われるが、以降の
説明では一つのチャネルについて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS. It should be noted that recording and reproduction are performed in exactly the reverse steps in the present invention, and thus the following description will be given of the reproduction process. Further, in a form called a normal video server, a plurality of data transmissions are usually performed simultaneously and in parallel, but in the following description, one channel will be described.
【0021】(実施の形態1)図1は(実施の形態1)
における本発明のデータ伝送装置のブロック図である。(Embodiment 1) FIG. 1 shows (Embodiment 1).
1 is a block diagram of a data transmission device of the present invention in FIG.
【0022】図1において図10と同じ機能を果たす構
成要素については図10と同じ番号を付し、説明を省略
する。図1において101はAVデータメモリであって、
バス1002上のディスクインターフェイス1007とAVイン
ターフェイス1008、そしてバスインターフェイス1004を
介してCPU1001からデータの書き込みおよび読みだし
を行われる。In FIG. 1, components having the same functions as those in FIG. 10 are denoted by the same reference numerals as in FIG. 10, and description thereof will be omitted. In FIG. 1, reference numeral 101 denotes an AV data memory,
Data is written and read from the CPU 1001 via the disk interface 1007, the AV interface 1008, and the bus interface 1004 on the bus 1002.
【0023】以上のように構成されたデータ伝送装置に
ついて以下その動作を説明する。図2は、図1のデータ
伝送装置の動作を示すフローチャートである。The operation of the data transmission apparatus configured as described above will be described below. FIG. 2 is a flowchart showing the operation of the data transmission device of FIG.
【0024】処理201では、バス1002上の各インターフ
ェイスの初期化を行う。AVデータメモリ101に対して
は次の初期化を行う。AVデータメモリ101のアドレス
は、内部に設けられたアドレスレジスタの設定値を変え
ることによって自由に再配置できるようになっているの
で、CPU1001はメインメモリ1003が使用するアドレス
と、AVデータメモリの使用するアドレスが重複しない
ようAVデータメモリのアドレスを設定する。そして、
設定したアドレスを後述する処理で参照できるように保
管する。In step 201, each interface on the bus 1002 is initialized. The following initialization is performed on the AV data memory 101. Since the address of the AV data memory 101 can be freely rearranged by changing the set value of an internally provided address register, the CPU 1001 determines the address used by the main memory 1003 and the address used by the AV data memory. The address of the AV data memory is set so that the addresses to be copied do not overlap. And
The set address is stored so that it can be referred to in the processing described later.
【0025】処理202では、外部からの指令の到着によ
って通信インターフェイス1005が発生する割り込み信号
の到来を待つ。割り込み信号が到来すれば処理203に移
り、通信インターフェイスに到着した再生の指令を読み
取る。In step 202, the flow waits for an interrupt signal generated by the communication interface 1005 due to the arrival of an external command. If an interrupt signal arrives, the process proceeds to step 203 to read the reproduction instruction that has arrived at the communication interface.
【0026】処理204では、再生すべきデータがディス
ク装置1006のどの位置にあるかを算出すると同時に、A
Vデータメモリ101のどのアドレスにそのデータを書き
込むかを決定する。In the process 204, the position of the data to be reproduced in the disk device 1006 is calculated,
The address of the V data memory 101 to which the data is to be written is determined.
【0027】処理205では、ディスクインターフェイス1
007に対して、処理204で得られた結果に基づいてディス
ク装置1006からの読み出しの指令を行う。In process 205, the disk interface 1
007 is instructed to read from the disk device 1006 based on the result obtained in the process 204.
【0028】処理206では、ディスクインターフェイス1
007が、ディスク装置1006からデータを読みだし、AV
データメモリ101の所定のアドレスに書き込むという作
業を終え、割り込み信号を発生するのを待つ。割り込み
信号が発生したら処理207に移る。In process 206, the disk interface 1
007 reads data from the disk device 1006 and
After the work of writing to a predetermined address of the data memory 101 is completed, the process waits for an interrupt signal to be generated. When an interrupt signal is generated, the process proceeds to step 207.
【0029】処理207では、再生すべきデータの内容に
関し、再生するにあたって書き換えが必要な部分につい
て、書き換えを行う。例えば、再生時刻情報を含むタイ
ムコード情報や、再生の順番をを示すシーケンス番号な
どとよばれる情報については再生毎に新規に書き換えが
必要となる。In the process 207, the contents of the data to be reproduced are rewritten for the portions that need to be rewritten for the reproduction. For example, time code information including reproduction time information, and information called a sequence number indicating the order of reproduction need to be newly rewritten for each reproduction.
【0030】処理208では、AVインターフェイス1008
に対して、AVデータメモリ101からデータを読みだ
し、外部のデータ送受信装置1009に出力するように指令
を行う。In process 208, the AV interface 1008
Is instructed to read data from the AV data memory 101 and output it to the external data transmitting / receiving device 1009.
【0031】処理209では、AVインターフェイス1008
が、AVデータメモリ101からデータを読みだし、デー
タ送受信装置1009にデータを出力するのを待つ。完了す
れば処理202に戻り、再び通信インターフェイス1005へ
の外部からの指令を到着を待つ。In process 209, the AV interface 1008
Waits for data to be read from the AV data memory 101 and output to the data transmission / reception device 1009. Upon completion, the process returns to the process 202 and waits for the arrival of a command from the outside to the communication interface 1005 again.
【0032】以上のような一連の処理を行うことによっ
て、メインメモリ1003にはAVインターフェイスから出
力されることになるデータを格納することなくデータ伝
送を行うことができる。この結果、CPU1001からメイ
ンメモリ1003へのアクセスと競合することなく、データ
はバス1002上だけを移動することになるので、そのデー
タの転送速度はメインメモリ1003への書き込みおよび読
みだし速度によって制約を受けない。By performing a series of processes as described above, data transmission can be performed without storing data to be output from the AV interface in the main memory 1003. As a result, the data moves only on the bus 1002 without competing with the access from the CPU 1001 to the main memory 1003.Therefore, the transfer speed of the data is restricted by the writing and reading speed to and from the main memory 1003. I do not receive.
【0033】(実施の形態2)図3は(実施の形態2)
における本発明のデータ伝送装置のブロック図である。
(実施の形態1)と同じく、図3において図1と同じ機
能を果たす構成要素については図1と同じ番号を付し、
説明を省略する。(Embodiment 2) FIG. 3 shows (Embodiment 2)
1 is a block diagram of a data transmission device of the present invention in FIG.
As in (Embodiment 1), components in FIG. 3 that perform the same functions as in FIG. 1 are given the same numbers as in FIG.
Description is omitted.
【0034】(実施の形態2)と(実施の形態1)との
相違点は、(実施の形態2)においては、図3に示すよ
うに通信インターフェイス1005内にバスマスタ回路(以
下、BM回路と記す)301を持つことである。BM回路
は、能動的にバス1002上のAVデータメモリ101や、メ
インメモリ1003に対して読みだしおよび書き込みを行う
機能をそのブロックに付加するものである。すなわち、
バスインターフェイス1004、ディスクインターフェイス
1007、AVインターフェイス1008には図10の従来例に
おいてもすでに含まれている。図3に示す(実施の形態
2)ではこのBM回路が通信インターフェイス1005にも
備えられている。The difference between (Embodiment 2) and (Embodiment 1) is that, in (Embodiment 2), a bus master circuit (hereinafter, referred to as a BM circuit) is provided in a communication interface 1005 as shown in FIG. It has 301). The BM circuit adds a function of actively reading and writing to the AV data memory 101 and the main memory 1003 on the bus 1002 to the block. That is,
Bus interface 1004, disk interface
1007 and the AV interface 1008 are already included in the conventional example of FIG. In FIG. 3 (Embodiment 2), this BM circuit is also provided in the communication interface 1005.
【0035】以上のように構成されたデータ伝送装置に
ついて以下その動作を説明する。図4は、図3のデータ
伝送装置の動作を示すフローチャートである。The operation of the data transmission apparatus configured as described above will be described below. FIG. 4 is a flowchart showing the operation of the data transmission device of FIG.
【0036】処理401では、バス1002上の各インターフ
ェイスの初期化を行う。AVデータメモリ101に対して
は、そのアドレスは、AVデータメモリ101内のレジス
タの設定値によって自由に再配置できるようになってい
るので、CPU1001はメインメモリ1003とアドレスが重
複しないアドレス位置にAVデータメモリのアドレスを
設定する。In the process 401, each interface on the bus 1002 is initialized. With respect to the AV data memory 101, the address can be freely rearranged by the set value of the register in the AV data memory 101, so that the CPU 1001 stores the AV address in the address position where the address does not overlap with the main memory 1003. Set the data memory address.
【0037】処理402では、処理401において設定したA
Vデータメモリ101のアドレスを通信インターフェイス1
005に対して通知する。処理403では、通信インターフェ
イス1005が発生する割り込み信号の到来を待つ。(実施
の形態2)においては通信インターフェイスは、外部か
らの指令を受信した場合と、AVデータメモリ上のデー
タの書き換えが完了した場合の2つの条件で割り込みを
発生する。割り込み信号が到来すれば処理404に移り、
通信インターフェイスの発生した割り込みの要因を読み
取る。In the process 402, the A set in the process 401
Communication interface 1
Notify 005. In the process 403, the process waits for an interrupt signal generated by the communication interface 1005 to arrive. In the second embodiment, the communication interface generates an interrupt under two conditions, that is, when an external command is received and when rewriting of data in the AV data memory is completed. When an interrupt signal arrives, the process proceeds to step 404,
Reads the cause of the interrupt generated by the communication interface.
【0038】処理405では、処理404で読み取った割り込
みの要因によって分岐する。もし、通信インターフェイ
ス1005からの割り込みが外部からの指令の受信に寄るも
のである場合は処理406へ移り、AVデータメモリ101の
データ書き換え完了による場合は処理410へと移る。The process 405 branches depending on the cause of the interrupt read in the process 404. If the interruption from the communication interface 1005 is related to the reception of an external command, the process proceeds to step 406, and if the rewriting of the AV data memory 101 is completed, the process proceeds to step 410.
【0039】処理406では、再生すべきデータがディス
ク装置1006のどの位置にあるかを算出すると同時に、A
Vデータメモリ101のどのアドレスにそのデータを書き
込むかを決定する。In the process 406, the position of the data to be reproduced in the disk device 1006 is calculated, and
The address of the V data memory 101 to which the data is to be written is determined.
【0040】処理407では、ディスクインターフェイス1
007に対して、処理406で得られた結果に基づいてディス
ク装置1006からの読み出しの指令を行う。In process 407, the disk interface 1
007 is instructed to read from the disk device 1006 based on the result obtained in the process 406.
【0041】処理408では、ディスクインターフェイス1
007が、ディスク装置1006からデータを読みだし、AV
データメモリ101の所定のアドレスに書き込むという作
業を終え、割り込み信号を発生するのを待つ。割り込み
信号が発生すれば処理409へ移る。In process 408, the disk interface 1
007 reads data from the disk device 1006 and
After the work of writing to a predetermined address of the data memory 101 is completed, the process waits for an interrupt signal to be generated. If an interrupt signal is generated, the process moves to processing 409.
【0042】処理409では、再生すべきデータの内容に
関し、再生するにあたって書き換えが必要な部分につい
て、通信インターフェイス1005が処理402において通知
された内容に基づき書き換えを行うように指令を出し、
処理403でその完了を待つ。In the process 409, the communication interface 1005 issues a command to rewrite the contents of the data to be reproduced based on the contents notified in the process 402, for the portion that needs to be rewritten in the reproduction.
The process 403 waits for the completion.
【0043】処理410では、AVインターフェイス1008
に対して、AVデータメモリ101からデータを読みだ
し、外部のデータ送受信装置1009に出力するように指令
を行う。In process 410, the AV interface 1008
Is instructed to read data from the AV data memory 101 and output it to the external data transmitting / receiving device 1009.
【0044】処理411では、AVインターフェイス1008
が、AVデータメモリ101からデータを読みだし、デー
タ送受信装置1009にデータを出力するのを待つ。完了す
れば処理403に戻り、再び通信インターフェイス1005か
らの指令を到着を待つ。In the process 411, the AV interface 1008
Waits for data to be read from the AV data memory 101 and output to the data transmission / reception device 1009. Upon completion, the process returns to step 403 and waits for the arrival of a command from the communication interface 1005 again.
【0045】以上のような一連の処理を行うことによっ
て、(実施の形態1)と同様にメインメモリ1003にはA
Vインターフェイスから出力されることになるデータを
格納することなくデータ伝送を行うことができる。従っ
てそのデータの転送速度はメインメモリ1003への書き込
みおよび読みだし速度によって制約を受けない。By performing a series of processes as described above, the main memory 1003 stores A in the same manner as in the first embodiment.
Data transmission can be performed without storing data to be output from the V interface. Therefore, the transfer speed of the data is not restricted by the writing speed and reading speed of the main memory 1003.
【0046】さらに、処理409において行われるデータ
の書き換え処理は通信インターフェイス1005によってな
されるので、CPU1001はディスク装置1006とAVイン
ターフェイス1008の間でやりとりされるデータそのもの
には全く関与する必要がない。このため、通信インター
フェイス1005による書き換え処理中も、メインメモリ10
03に対してアクセスが可能であり、図4にあげた一連の
処理とは別の処理、例えば同時並行で行われている別の
チャネルのデータ転送に関わる処理を行うことが可能と
なり、各インタフェースに対して発せられるデータ転送
指令をより多く処理することが可能となり、同時に扱う
ことのできるデータ伝送数を向上することができる。Further, since the data rewriting process performed in the process 409 is performed by the communication interface 1005, the CPU 1001 does not need to be involved in the data exchanged between the disk device 1006 and the AV interface 1008 at all. Therefore, even during the rewriting process by the communication interface 1005, the main memory 10
03 can be accessed, and it is possible to perform processing other than the series of processing shown in FIG. 4, for example, processing related to data transfer of another channel that is performed simultaneously and in parallel. Can be processed more, and the number of data transmissions that can be handled simultaneously can be improved.
【0047】(実施の形態3)図5は(実施の形態3)
における本発明のデータ伝送装置のブロック図である。
(実施の形態1)と同じく、図5において図1と同じ機
能を果たす構成要素については図1と同じ番号を付し、
説明を省略する。(Embodiment 3) FIG. 5 shows (Embodiment 3)
1 is a block diagram of a data transmission device of the present invention in FIG.
As in (Embodiment 1), components in FIG. 5 that perform the same functions as in FIG. 1 are given the same numbers as in FIG.
Description is omitted.
【0048】(実施の形態3)と(実施の形態1)との
相違点は、図5に示すように、(実施の形態3)におい
ては、2つのポートを持つAVデータメモリ501と、A
Vデータメモリ501への書き込みおよび読みだし状況を
もとに割り込み信号を発生するAVデータメモリ割り込
み発生回路502とを持ち、AVインターフェイス1008が
AVデータメモリ501のバス1002側の反対側のポートに
接続されていることである。The difference between (Embodiment 3) and (Embodiment 1) is that, as shown in FIG. 5, in (Embodiment 3), an AV data memory 501 having two ports,
It has an AV data memory interrupt generation circuit 502 that generates an interrupt signal based on the write / read status to / from the V data memory 501, and the AV interface 1008 is connected to the port on the opposite side of the bus 1002 of the AV data memory 501 That is being done.
【0049】図6はAVデータメモリ割り込み発生回路
の構成を示すブロック図である。図6において、601は
アドレスデコーダであってバス1002を経由して送られて
くるアドレスをデコードし、プリセットレジスタ602の
アドレスと一致した場合はプリセットレジスタ602に対
してバス1002を経由して送られてくるアドレスデータを
保持するようにイネーブル信号を発生する。アドレス比
較器603では、AVデータメモリに対して行われる読み
だしおよび書き込みのアドレスと、プリセットレジスタ
602に保持されたアドレスデータを比較し、一致した場
合には割り込み信号を発生する。FIG. 6 is a block diagram showing the configuration of the AV data memory interrupt generation circuit. In FIG. 6, reference numeral 601 denotes an address decoder, which decodes an address sent via the bus 1002, and sends the address to the preset register 602 via the bus 1002 when the address matches the address of the preset register 602. An enable signal is generated so as to hold incoming address data. The address comparator 603 reads and writes addresses to and from the AV data memory and a preset register.
The address data stored in 602 is compared, and if they match, an interrupt signal is generated.
【0050】以上のように構成されたデータ伝送装置に
ついて以下その動作を説明する。図7は、図5のデータ
伝送装置の動作を示すフローチャートである。The operation of the data transmission apparatus configured as described above will be described below. FIG. 7 is a flowchart showing the operation of the data transmission device of FIG.
【0051】処理701では、バス1002上の各インターフ
ェイスと、AVデータメモリ割り込み発生回路502の初
期化を行う。AVデータメモリ101に対しては次の初期
化を行う。AVデータメモリ101のアドレスは、内部に
設けられたアドレスレジスタの設定値を変えることによ
って自由に再配置できるようになっているので、CPU
1001はメインメモリ1003が使用するアドレスと、AVデ
ータメモリの使用するアドレスが重複しないようAVデ
ータメモリのアドレスを設定する。そして、設定したア
ドレスを後述する処理で参照できるように保管する。In the process 701, each interface on the bus 1002 and the AV data memory interrupt generation circuit 502 are initialized. The following initialization is performed on the AV data memory 101. The address of the AV data memory 101 can be freely rearranged by changing the set value of an internally provided address register.
1001 sets the address of the AV data memory so that the address used by the main memory 1003 and the address used by the AV data memory do not overlap. Then, the set address is stored so that it can be referred to in processing described later.
【0052】AVデータメモリ割り込み発生回路502に
対しては次の初期化を行う。AVインターフェイス1008
がAVデータメモリ501に対して読みだしを完了すると
きのアドレスデータをAVデータメモリ割り込み発生回
路502内のプリセットレジスタ602にセットする。これに
よりAVインターフェイス1008の読みだしが完了すると
割り込み信号が発生することになる。The following initialization is performed on the AV data memory interrupt generation circuit 502. AV interface 1008
Sets the address data when reading from the AV data memory 501 is completed in the preset register 602 in the AV data memory interrupt generation circuit 502. As a result, when the reading of the AV interface 1008 is completed, an interrupt signal is generated.
【0053】処理702では、外部からの指令の到着によ
って通信インターフェイス1005が発生する割り込み信号
の到来を待つ。割り込み信号が到来すれば処理703に移
り、通信インターフェイスに到着した再生の指令を読み
取る。In the process 702, the flow waits for an interrupt signal generated by the communication interface 1005 due to the arrival of a command from the outside. If an interrupt signal arrives, the process proceeds to step 703, where a reproduction command that has arrived at the communication interface is read.
【0054】処理704では、再生すべきデータがディス
ク装置1006のどの位置にあるかを算出すると同時に、A
Vデータメモリ501のどのアドレスにそのデータを書き
込むかを決定する。In the process 704, the position of the data to be reproduced in the disk device 1006 is calculated, and
The address of the V data memory 501 to which the data is to be written is determined.
【0055】処理705では、ディスクインターフェイス1
007に対して、処理704で得られた結果に基づいてディス
ク装置1006からの読み出しの指令を行う。In processing 705, the disk interface 1
007 is instructed to read from the disk device 1006 based on the result obtained in the process 704.
【0056】処理706では、ディスクインターフェイス1
007が、ディスク装置1006からデータを読みだし、AV
データメモリ501の所定のアドレスに書き込むという作
業を終え、割り込み信号を発生するのを待つ。割り込み
信号が発生したら処理707に移る。In processing 706, the disk interface 1
007 reads data from the disk device 1006 and
After the work of writing to a predetermined address of the data memory 501 is completed, the process waits for an interrupt signal to be generated. When an interrupt signal is generated, the process proceeds to step 707.
【0057】処理707では、再生すべきデータの内容に
関し、再生するにあたって書き換えが必要な部分につい
て、書き換えを行う。例えば、再生時刻情報を含むタイ
ムコード情報や、再生の順番をを示すシーケンス番号な
どとよばれる情報については再生毎に新規に書き換えが
必要となる。In the process 707, the contents of the data to be reproduced are rewritten for the portions which need to be rewritten for the reproduction. For example, time code information including reproduction time information, and information called a sequence number indicating the order of reproduction need to be newly rewritten for each reproduction.
【0058】処理708では、AVインターフェイス1008
が、AVデータメモリ501からデータを読みだし、デー
タ送受信装置1009にデータを出力するのを待つ。完了す
れば、AVデータメモリ割り込み発生回路502が割り込
み信号を発生するので、処理702に戻り、再び通信イン
ターフェイス1005への外部からの指令を到着を待つ。In processing 708, the AV interface 1008
Reads data from the AV data memory 501 and waits for data to be output to the data transmitting / receiving apparatus 1009. Upon completion, since the AV data memory interrupt generation circuit 502 generates an interrupt signal, the process returns to step 702 and waits for the arrival of an external command to the communication interface 1005 again.
【0059】以上のような一連の処理を行うことによっ
て、(実施の形態1)と同様にメインメモリ1003にはA
Vインターフェイスから出力されることになるデータを
格納することなくデータ伝送を行うことができる。従っ
てそのデータの転送速度はメインメモリ1003への書き込
みおよび読みだし速度によって制約を受けない。By performing a series of processes as described above, the main memory 1003 stores A in the same manner as in the first embodiment.
Data transmission can be performed without storing data to be output from the V interface. Therefore, the transfer speed of the data is not restricted by the writing speed and reading speed of the main memory 1003.
【0060】さらに、AVデータメモリ501は2つのポ
ートを持つため、AVデータメモリ501に対するデータ
の書き換え処理707と、AVインターフェイス1008の読
みだしはオーバーラップして行うことが可能であり、こ
のことは、ディスク装置1006から読み出されたデータを
より短い時間遅れでもってAVインターフェイス1008か
ら出力することができるので、同時に扱うことのできる
データ伝送数をさらに向上することができる。Further, since the AV data memory 501 has two ports, the data rewriting processing 707 for the AV data memory 501 and the reading of the AV interface 1008 can be performed in an overlapping manner. Since the data read from the disk device 1006 can be output from the AV interface 1008 with a shorter time delay, the number of data transmissions that can be handled simultaneously can be further improved.
【0061】なお、(実施の形態2)において示したよ
うに、図5において通信インターフェイス1005内にBM
回路を備えたものとし、図7におけるデータの書き換え
処理707を通信インターフェイス1005によって行う構成
も可能である。この場合、(実施の形態2)において得
られた効果をも得ることが可能である。As shown in (Embodiment 2), in FIG.
A circuit may be provided, and the data rewriting process 707 in FIG. 7 may be performed by the communication interface 1005. In this case, the effect obtained in (Embodiment 2) can also be obtained.
【0062】(実施の形態4)図8は(実施の形態4)
における本発明のデータ伝送装置のブロック図である。
図8において上述の実施の形態と同じ機能を果たす構成
要素については同じ番号を付し、説明を省略する。(Embodiment 4) FIG. 8 shows (Embodiment 4)
1 is a block diagram of a data transmission device of the present invention in FIG.
In FIG. 8, components that perform the same functions as those in the above-described embodiment are given the same reference numerals, and descriptions thereof will be omitted.
【0063】(実施の形態4)と(実施の形態1)との
相違点は、(実施の形態4)においては、図8に示すよ
うに、ディスクインターフェイス1007およびAVインタ
ーフェイス1008が発生した割り込み信号を振り分けるセ
レクタ801と、セレクタ801からの割り込み信号を受け止
める第2の割り込みコントローラ802があり、通信イン
ターフェイス803には、第2の割り込みコントローラ802
からの割り込み信号を受けると同時に、CPU1001とは
独立に内蔵されたプログラムに基づいて働くマイクロコ
ンピュータ回路(以下MC回路と記す)804と、バスマス
タ回路(以下BM回路と記す)を内蔵していることであ
る。The difference between (Embodiment 4) and (Embodiment 1) is that, in (Embodiment 4), as shown in FIG. 8, an interrupt signal generated by the disk interface 1007 and the AV interface 1008 is generated. And a second interrupt controller 802 for receiving an interrupt signal from the selector 801. The communication interface 803 includes a second interrupt controller 802.
A microcomputer circuit (hereinafter referred to as MC circuit) 804 and a bus master circuit (hereinafter referred to as BM circuit) that operate based on a program built independently of the CPU 1001 at the same time as receiving an interrupt signal from the CPU 1001 It is.
【0064】以上のように構成されたデータ伝送装置に
ついて以下その動作を説明する。図9は、図8のデータ
伝送装置の動作を示すフローチャートである。(実施の
形態4)のデータ伝送装置ではプログラムに基づいて処
理を行う構成要素が、CPU1001と通信インターフェイ
ス803内のMC回路804の2つある。図9(A)はCPU10
01のフローチャート、図9(B)はMC回路804のフロ
ーチャートである。The operation of the data transmission apparatus configured as described above will be described below. FIG. 9 is a flowchart showing the operation of the data transmission device of FIG. In the data transmission apparatus according to the fourth embodiment, there are two components that perform processing based on a program: the CPU 1001 and the MC circuit 804 in the communication interface 803. FIG. 9A shows the CPU 10
FIG. 9B is a flowchart of the MC circuit 804.
【0065】まず、図9(A)のCPUのフローチャート
についてついて説明する。処理901では、バス1002上の
各インターフェイスの初期化を行う。AVデータメモリ
101に対しては、そのアドレスは、AVデータメモリ101
内のレジスタの設定値によって自由に再配置できるよう
になっているので、CPU1001はメインメモリ1003とア
ドレスが重複しないアドレス位置にAVデータメモリの
アドレスを設定する。First, the flowchart of the CPU shown in FIG. 9A will be described. In the process 901, each interface on the bus 1002 is initialized. AV data memory
For 101, the address is the AV data memory 101
The CPU 1001 sets the address of the AV data memory at an address position where the address does not overlap with that of the main memory 1003 because the register can be freely rearranged by the setting value of the register inside the register.
【0066】処理902では、処理901において設定したA
Vデータメモリ101のアドレス、ディスクインターフェ
イス1007に対してデータの読みだしおよび書き込みに必
要な指令を与えるためのレジスタ類のアドレス、AVイ
ンターフェイス1008に対してデータの読みだしおよび書
き込みに必要な指令を与えるためのレジスタ類のアドレ
スを通信インターフェイス1005に対して通知する。In process 902, the A set in process 901
The address of the V data memory 101, the address of a register for giving a command necessary for reading and writing data to the disk interface 1007, and the command for reading and writing data to the AV interface 1008 The communication interface 1005 is notified of the addresses of the registers for this purpose.
【0067】処理903では、セレクタ801に対して、ディ
スクインターフェイス1007と、AVインターフェイス10
08からの割り込み信号を、第2の割り込みコントローラ
802に送るように指令を行う。これにより、ディスクイ
ンターフェイス1007と、AVインターフェイス1008がそ
の指令された処理の完了時に発生する割り込み信号はC
PU1001ではなく、第2の割り込みコントローラ802を
経由して、通信インターフェイス803に伝えられること
になる。In processing 903, the selector 801 is provided with a disk interface 1007 and an AV interface 10
08 from the second interrupt controller
Command to send to 802. As a result, the interrupt signal generated when the disc interface 1007 and the AV interface 1008 complete the processing instructed is C
The information is transmitted to the communication interface 803 via the second interrupt controller 802 instead of the PU 1001.
【0068】処理904では、通信インターフェイス803か
らの割り込みを待つ。割り込み信号が到着したら、処理
905に移る。In the process 904, an interrupt from the communication interface 803 is waited. Processing when an interrupt signal arrives
Move to 905.
【0069】処理905では、通信インターフェイス803内
のレジスタを読み取ることによって通信インターフェイ
ス803からの問い合わせ内容を認識する。問い合わせ内
容に応じて再生すべきデータがディスク装置1006のどの
位置にあるかを算出すると同時に、AVデータメモリ10
1のどのアドレスにそのデータを書き込むかを決定す
る。そしてそれを通信インターフェイス803内のレジス
タに書き込むことによって通信インターフェイス803に
対して通知する。処理が終れば、再び処理904に戻って
通信インターフェイス803からの割り込みを待つ。In the process 905, the contents of the inquiry from the communication interface 803 are recognized by reading the register in the communication interface 803. In accordance with the contents of the inquiry, the position of the data to be reproduced in the disk device 1006 is calculated, and the AV data memory 10
Determine which address of 1 to write the data to. Then, it is notified to the communication interface 803 by writing it into a register in the communication interface 803. Upon completion of the process, the process returns to the process 904 again and waits for an interrupt from the communication interface 803.
【0070】次に、図9(B)のMC回路のフローチャー
トについてついて説明する。処理906では、通信インタ
ーフェイス803に対する外部からの指令の到着を待つ。
指令が到来すれば処理907に移り、通信インターフェイ
スに到着した再生の指令を読み取る。Next, the flowchart of the MC circuit shown in FIG. 9B will be described. In step 906, the process waits for the arrival of a command from the outside to the communication interface 803.
If a command arrives, the process moves to step 907, where the reproduction command arrived at the communication interface is read.
【0071】処理908では、再生すべきデータがディス
ク装置1006のどの位置にあるかという情報と、ディスク
装置1006から読み出したデータをAVデータメモリ101
のどのアドレスに書き込むかという情報をCPU1001対
して問い合わせる。そのために通信インターフェイス80
3はその内部のレジスタに問い合わせ内容を準備し、そ
の後で割り込み信号を発生する。割り込み信号は第1の
割り込みコントローラ1010を経由してCPU1001に伝え
られる。In the process 908, the information indicating the position of the data to be reproduced on the disk device 1006 and the data read from the disk device 1006 are stored in the AV data memory 101.
The CPU 1001 is inquired of information on which address to write to. Communication interface 80
3 prepares the contents of the inquiry in its internal register, and then generates an interrupt signal. The interrupt signal is transmitted to the CPU 1001 via the first interrupt controller 1010.
【0072】処理909では、CPU1001からの回答を待
つ。回答が通知されれば処理910へ移る。In the process 909, a response from the CPU 1001 is waited. If the answer is notified, the process moves to step 910.
【0073】処理910では、ディスクインターフェイス1
007に対して、処理908で得られた結果に基づいてディス
ク装置1006からの読み出しの指令を行う。In the process 910, the disk interface 1
007 is instructed to read from the disk device 1006 based on the result obtained in the process 908.
【0074】処理911では、ディスクインターフェイス1
007が、ディスク装置1006からデータを読みだし、AV
データメモリ101の所定のアドレスに書き込むという作
業を終え、割り込み信号を発生するのを待つ。割り込み
信号が発生したら処理912に移る。In process 911, the disk interface 1
007 reads data from the disk device 1006 and
After the work of writing to a predetermined address of the data memory 101 is completed, the process waits for an interrupt signal to be generated. When an interrupt signal is generated, the process proceeds to step 912.
【0075】処理912では、通信インターフェイス803が
図9(A)の処理901において通知された内容に基づき、
再生するにあたって書き換えが必要な部分について、書
き換え処理を行う。In the process 912, the communication interface 803 performs processing based on the contents notified in the process 901 in FIG.
A rewriting process is performed on a portion that needs to be rewritten for reproduction.
【0076】処理913では、AVインターフェイス1008
に対して、AVデータメモリ101からデータを読みだ
し、外部のデータ送受信装置1009に出力するように指令
を行う。In the process 913, the AV interface 1008
Is instructed to read data from the AV data memory 101 and output it to the external data transmitting / receiving device 1009.
【0077】処理914では、AVインターフェイス1008
が、AVデータメモリ101からデータを読みだし、デー
タ送受信装置1009にデータを出力するのを待つ。完了す
れば処理906に戻り、再び通信インターフェイス1005へ
の外部からの指令を到着を待つ。In the process 914, the AV interface 1008
Waits for data to be read from the AV data memory 101 and output to the data transmission / reception device 1009. Upon completion, the process returns to step 906 and waits for the arrival of an external command to the communication interface 1005 again.
【0078】以上のような一連の処理を行うことによっ
て、(実施の形態1)と同様にメインメモリ1003にはA
Vインターフェイスから出力されることになるデータを
格納することなくデータ伝送を行うことができる。従っ
てそのデータの転送速度はメインメモリ1003への書き込
みおよび読みだし速度によって制約を受けない。さら
に、データそのものを伝送するのに関わる処理は一切が
通信インターフェイス1005によってなされるので、CP
U1001の能力を専ら、ディスク装置1006上にどのように
データが配置すべきかというファイルシステム管理の処
理に振り向けることが可能となる。これによりディスク
装置1006へのアクセスをより最適化することができ、同
時に扱うことのできるデータ伝送数を向上することがで
きる。By performing the above-described series of processing, the main memory 1003 stores A in the same manner as in the first embodiment.
Data transmission can be performed without storing data to be output from the V interface. Therefore, the transfer speed of the data is not restricted by the writing speed and reading speed of the main memory 1003. Further, since all processing related to transmitting the data itself is performed by the communication interface 1005, the CP
It is possible to dedicate the capacity of U1001 solely to file system management processing on how data should be arranged on the disk device 1006. As a result, access to the disk device 1006 can be further optimized, and the number of data transmissions that can be handled simultaneously can be improved.
【0079】[0079]
【発明の効果】以上のように本発明によれば、既存のコ
ンピュータの構造のボトルネック部分を解消すること
で、既存のコンピュータの構造をそのまま利用しなが
ら、より大きな性能向上が可能である。As described above, according to the present invention, by eliminating the bottleneck portion of the structure of the existing computer, it is possible to further improve the performance while using the structure of the existing computer as it is.
【図1】本発明の(実施の形態1)におけるデータ伝送
装置のブロック図FIG. 1 is a block diagram of a data transmission device according to a first embodiment of the present invention.
【図2】本発明の(実施の形態1)における動作の流れ
をを示すフローチャートFIG. 2 is a flowchart showing a flow of an operation according to the first embodiment of the present invention;
【図3】本発明の(実施の形態2)におけるデータ伝送
装置のブロック図FIG. 3 is a block diagram of a data transmission device according to a second embodiment of the present invention.
【図4】本発明の(実施の形態2)における動作の流れ
をを示すフローチャートFIG. 4 is a flowchart showing a flow of an operation according to (Embodiment 2) of the present invention;
【図5】本発明の(実施の形態3)によるデータ伝送装
置のブロック図FIG. 5 is a block diagram of a data transmission device according to a third embodiment of the present invention.
【図6】AVデータメモリ割り込み発生回路のブロック
図FIG. 6 is a block diagram of an AV data memory interrupt generation circuit;
【図7】本発明の(実施の形態3)による動作の流れを
を示すフローチャートFIG. 7 is a flowchart showing an operation flow according to the third embodiment of the present invention.
【図8】本発明の(実施の形態4)によるデータ伝送装
置のブロック図FIG. 8 is a block diagram of a data transmission device according to (Embodiment 4) of the present invention;
【図9】本発明の(実施の形態4)による動作の流れを
を示すフローチャートFIG. 9 is a flowchart showing an operation flow according to (Embodiment 4) of the present invention;
【図10】従来例によるデータ伝送装置のブロック図FIG. 10 is a block diagram of a data transmission device according to a conventional example.
【符号の説明】 101 AVデータメモリ 301 バスマスタ回路 501 AVデータメモリ 502 AVデータメモリ割り込み発生回路 601 アドレスデコーダ 602 プリセットレジスタ 603 アドレス比較器 801 セレクタ 802 第2の割り込みコントローラ 803 通信インターフェイス 804 マイクロコンピュータ回路 1001 CPU 1002 バス 1003 メインメモリ 1004 バスインターフェイス 1005 通信インターフェイス 1006 ディスク装置 1007 ディスクインターフェイス 1008 AVインターフェイス 1009 データ送受信装置 1010 割り込みコントローラ[Description of Signs] 101 AV data memory 301 Bus master circuit 501 AV data memory 502 AV data memory interrupt generation circuit 601 Address decoder 602 Preset register 603 Address comparator 801 Selector 802 Second interrupt controller 803 Communication interface 804 Microcomputer circuit 1001 CPU 1002 Bus 1003 Main memory 1004 Bus interface 1005 Communication interface 1006 Disk device 1007 Disk interface 1008 AV interface 1009 Data transceiver 1010 Interrupt controller
───────────────────────────────────────────────────── フロントページの続き (72)発明者 森岡 芳宏 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yoshihiro Morioka 1006 Kazuma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (4)
によって実行される命令語と前記CPUによって処理さ
れるデータを格納するメインメモリと、複数の周辺イン
ターフェイス間でデータのやりとりを行うためのバス
と、前記CPUと前記メインメモリと前記バスの間のイ
ンターフェイスを行うバスインターフェースとを備えた
データ伝送装置であって、前記バスに接続され外部から
のデータ伝送指令を受ける通信インターフェイスと、デ
ータを記録再生するディスク装置と、前記ディスク装置
と前記バスとをインターフェイスするディスクインター
フェイスと、外部のデータ送受信装置と前記バスをイン
ターフェイスするAVインターフェイスと、前記バスに
直接接続され前記バスインターフェイスならびに前記デ
ィスクインターフェイスならびに前記AVインターフェ
イスからデータを書き込みおよび読みだしを行われるA
Vデータメモリと、前記通信インターフェイスと前記デ
ィスクインターフェイスと前記AVインターフェイスか
ら発せられる割り込み要求信号を受け前記CPUに伝達
する割り込みコントローラを備え、前記AVインターフ
ェイスから前記ディスクインターフェイスを経由して前
記ディスクにデータが入出力される際に、データが前記
メインメモリには格納されることなく前記AVデータメ
モリを介して行われ、前記AVデータメモリ内に格納さ
れたデータの修正動作が前記CPUによって行われるこ
とを特徴とするデータ伝送装置。At least one or more CPUs, and the CPU
A main memory for storing command words executed by the CPU and data processed by the CPU, a bus for exchanging data between a plurality of peripheral interfaces, and an interface between the CPU, the main memory, and the bus A data transmission device comprising a bus interface for performing data communication, a communication interface connected to the bus and receiving an external data transmission command, a disk device for recording and reproducing data, and an interface between the disk device and the bus. A disk interface, an AV interface for interfacing the bus with an external data transmitting / receiving device, and writing data from the bus interface, the disk interface, and the AV interface directly connected to the bus. A carried out write and read
A V data memory; an interrupt controller for receiving an interrupt request signal issued from the communication interface, the disk interface, and the AV interface, and transmitting the interrupt request signal to the CPU; data is transferred from the AV interface to the disk via the disk interface; When inputting and outputting, data is not stored in the main memory, but is performed through the AV data memory, and a correction operation of data stored in the AV data memory is performed by the CPU. Characteristic data transmission device.
によって実行される命令語と前記CPUによって処理さ
れるデータを格納するメインメモリと、複数の周辺イン
ターフェイス間でデータのやりとりを行うためのバス
と、前記CPUと前記メインメモリと前記バスの間のイ
ンターフェイスを行うバスインターフェースとを備えた
データ伝送装置であって、前記バスに接続され外部から
のデータ伝送指令を受ける通信インターフェイスと、デ
ータを記録再生するディスク装置と、前記ディスク装置
と前記バスとをインターフェイスするディスクインター
フェイスと、外部のデータ送受信装置と前記バスをイン
ターフェイスするAVインターフェイスと、前記バスに
直接接続され前記バスインターフェイスならびに前記デ
ィスクインターフェイスならびに前記AVインターフェ
イスからデータを書き込みおよび読みだしを行われるA
Vデータメモリと、前記通信インターフェイスと前記デ
ィスクインターフェイスと前記AVインターフェイスか
ら発せられる割り込み要求信号を受け前記CPUに伝達
する割り込みコントローラを備え、前記AVインターフ
ェイスから前記ディスクインターフェイスを経由して前
記ディスクにデータが入出力される際に、データが前記
メインメモリには格納されることなく前記AVデータメ
モリを介して行われ、前記AVデータメモリ内に格納さ
れたデータの修正動作が前記通信インターフェイスによ
って行われることを特徴とするデータ伝送装置。2. At least one or more CPUs, and said CPU
A main memory for storing command words executed by the CPU and data processed by the CPU, a bus for exchanging data between a plurality of peripheral interfaces, and an interface between the CPU, the main memory, and the bus A data transmission device comprising a bus interface for performing data communication, a communication interface connected to the bus and receiving an external data transmission command, a disk device for recording and reproducing data, and an interface between the disk device and the bus. A disk interface, an AV interface for interfacing the bus with an external data transmitting / receiving device, and writing data from the bus interface, the disk interface, and the AV interface directly connected to the bus. A carried out write and read
A V data memory; an interrupt controller for receiving an interrupt request signal issued from the communication interface, the disk interface, and the AV interface, and transmitting the interrupt request signal to the CPU; data is transferred from the AV interface to the disk via the disk interface; When inputting and outputting data, the data is not stored in the main memory but is performed through the AV data memory, and the operation of correcting the data stored in the AV data memory is performed by the communication interface. A data transmission device characterized by the above-mentioned.
によって実行される命令語と前記CPUによって処理さ
れるデータを格納するメインメモリと、複数の周辺イン
ターフェイス間でデータのやりとりを行うためのバス
と、前記CPUと前記メインメモリと前記バスの間のイ
ンターフェイスを行うバスインターフェースとを備えた
データ伝送装置であって、前記バスに接続され外部から
のデータ伝送指令を受ける通信インターフェイスと、デ
ータを記録再生するディスク装置と、前記ディスク装置
と前記バスとをインターフェイスするディスクインター
フェイスと、外部のデータ送受信装置とインターフェイ
スするAVインターフェイスと、2つのポートを持ち一
方のポートは前記バスに直接接続され前記バスインター
フェイスならびに前記ディスクインターフェイスからデ
ータの書き込みおよび読みだしを行われ、もう一方のポ
ートは前記AVインターフェースからデータの書き込み
および読みだしを行われるAVデータメモリと、前記A
Vデータメモリへの書き込みおよび読みだし状況を予め
設定した条件と比較し条件成立時に割り込み信号を発生
するAVデータメモリ割り込み発生手段と、前記通信イ
ンターフェイスと前記ディスクインターフェイスと前記
AVデータメモリ割り込み発生手段から発せられる割り
込み要求信号を受け前記CPUに伝達する割り込みコン
トローラを備え、前記AVインターフェイスからディス
クにデータが入出力される際に、データが前記メインメ
モリには格納されることなく前記AVデータメモリを介
して行われ前記AVインターフェイスからの前記AVデ
ータメモリに対する書き込みならびに読みだしと前記デ
ィスクインターフェイスからの前記AVデータメモリに
対する書き込みならびに読みだしとが独立して行われる
ことを特徴とするデータ伝送装置。3. At least one or more CPUs, and said CPU
A main memory for storing command words executed by the CPU and data processed by the CPU, a bus for exchanging data between a plurality of peripheral interfaces, and an interface between the CPU, the main memory, and the bus A data transmission device comprising a bus interface for performing data communication, a communication interface connected to the bus and receiving an external data transmission command, a disk device for recording and reproducing data, and an interface between the disk device and the bus. A disk interface, an AV interface for interfacing with an external data transmission / reception device, and two ports, one of which is directly connected to the bus to write and read data from the bus interface and the disk interface. It performed the read, and the AV data memory other port which is performed the read write and data from the AV interface, the A
An AV data memory interrupt generating means for comparing a write / read situation to the V data memory with a preset condition and generating an interrupt signal when the condition is satisfied; and a communication interface, the disk interface and the AV data memory interrupt generating means. An interrupt controller for receiving the generated interrupt request signal and transmitting the interrupt request signal to the CPU; when data is input / output to / from the disk from the AV interface, the data is not stored in the main memory but is transmitted through the AV data memory via the AV data memory; And writing and reading from the AV interface to the AV data memory and writing and reading from the disk interface to the AV data memory are performed independently. Over data transmission equipment.
によって実行される命令語と前記CPUによって処理さ
れるデータを格納するメインメモリと、複数の周辺イン
ターフェイス間でデータのやりとりを行うためのバス
と、前記CPUと前記メインメモリと前記バスの間のイ
ンターフェイスを行うバスインターフェースとを備えた
データ伝送装置であって、前記バスに接続され外部から
のデータ伝送指令を受ける通信インターフェイスと、デ
ータを記録再生するディスク装置と、前記ディスク装置
と前記バスとをインターフェイスするディスクインター
フェイスと、外部のデータ送受信装置と前記バスをイン
ターフェイスするAVインターフェイスと、前記バスに
直接接続され前記バスインターフェイスならびに前記デ
ィスクインターフェイスならびに前記AVインターフェ
イスからデータを書き込みならびに読みだしを行われる
AVデータメモリと、前記通信インターフェイスと前記
ディスクインターフェイスと前記AVインターフェイス
から発せられる割り込み要求信号を受け前記CPUに伝
達する第1の割り込みコントローラと、前記ディスクイ
ンターフェイスと前記AVインターフェイスから発せら
れる割り込み要求信号を受け前記通信インターフェイス
に伝達する第2の割り込みコントローラと、前記ディス
クインターフェイスと前記AVインターフェイスから発
せられる割り込み要求信号を前記第1の割り込みコント
ローラあるいは前記第2の割り込みコントローラに振り
分ける割り込み信号選択手段とを備え、前記AVインタ
ーフェイスから前記ディスクインターフェイスを経由し
て前記ディスクにデータが入出力される際に、データが
前記メインメモリには格納されることなく前記AVデー
タメモリを介して行われ、前記ディスクインターフェイ
スと前記AVインターフェイスに対するデータの書き込
みおよび読みだしの指令が前記通信インターフェイスに
よって行われることを特徴とするデータ伝送装置。4. At least one or more CPUs, and said CPU
A main memory for storing command words executed by the CPU and data processed by the CPU, a bus for exchanging data between a plurality of peripheral interfaces, and an interface between the CPU, the main memory, and the bus A data transmission device comprising a bus interface for performing data communication, a communication interface connected to the bus and receiving an external data transmission command, a disk device for recording and reproducing data, and an interface between the disk device and the bus. A disk interface, an AV interface for interfacing the bus with an external data transmitting / receiving device, and writing data from the bus interface, the disk interface, and the AV interface directly connected to the bus. An AV data memory for reading and writing data, a first interrupt controller for receiving an interrupt request signal issued from the communication interface, the disk interface, and the AV interface to the CPU, and the disk interface and the AV interface. A second interrupt controller that receives an interrupt request signal issued from the controller and transmits the interrupt request signal to the communication interface, and distributes an interrupt request signal issued from the disk interface and the AV interface to the first interrupt controller or the second interrupt controller. Interrupt signal selection means for inputting / outputting data to / from the disk from the AV interface via the disk interface. In this case, data is not stored in the main memory but is transmitted through the AV data memory, and commands for writing and reading data to and from the disk interface and the AV interface are performed by the communication interface. Characteristic data transmission device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9239344A JPH1185672A (en) | 1997-09-04 | 1997-09-04 | Data transmission equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9239344A JPH1185672A (en) | 1997-09-04 | 1997-09-04 | Data transmission equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1185672A true JPH1185672A (en) | 1999-03-30 |
Family
ID=17043352
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9239344A Pending JPH1185672A (en) | 1997-09-04 | 1997-09-04 | Data transmission equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1185672A (en) |
-
1997
- 1997-09-04 JP JP9239344A patent/JPH1185672A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5721840A (en) | Information processing apparatus incorporating automatic SCSI ID generation | |
| US5805927A (en) | Direct memory access channel architecture and method for reception of network information | |
| KR100630071B1 (en) | High speed data transmission method using DM in multiprocessor environment and apparatus therefor | |
| US7484030B2 (en) | Storage controller and methods for using the same | |
| EP0844566B1 (en) | Interface apparatus for adapting data width to system bus width | |
| JPH04363746A (en) | Microcomputer system having dma function | |
| US7127530B2 (en) | Command issuing apparatus for high-speed serial interface | |
| CN101180802A (en) | Access control for shared memory partitioning | |
| US5737634A (en) | Storage device control system with an internal bus wherein a network interface has a data line for memory transfer | |
| JPH1185672A (en) | Data transmission equipment | |
| US6233628B1 (en) | System and method for transferring data using separate pipes for command and data | |
| US20050138236A1 (en) | Direct memory access control device and method for automatically updating data transmisson size from peripheral | |
| US7382970B2 (en) | Process control manager for audio/video file system | |
| KR100950356B1 (en) | Data transmission unit supporting multiple coherency units | |
| JP4979206B2 (en) | Information processing method and information processing apparatus | |
| JPH07271654A (en) | controller | |
| JP2522412B2 (en) | Communication method between programmable controller and input / output device | |
| JPS592058B2 (en) | Storage device | |
| JPH11184761A (en) | Read modify write control system | |
| JP2826780B2 (en) | Data transfer method | |
| JPH11119922A (en) | Data storage system and redundant data write control method | |
| EP1459191B1 (en) | Communication bus system | |
| JP3259095B2 (en) | Data transfer method | |
| JP2752834B2 (en) | Data transfer device | |
| JPH0245208B2 (en) | BASUKETSUGOSHISUTEMUNODEETATENSOSEIGYOHOSHIKI |