JPH05342151A - Bus controller - Google Patents

Bus controller

Info

Publication number
JPH05342151A
JPH05342151A JP17484592A JP17484592A JPH05342151A JP H05342151 A JPH05342151 A JP H05342151A JP 17484592 A JP17484592 A JP 17484592A JP 17484592 A JP17484592 A JP 17484592A JP H05342151 A JPH05342151 A JP H05342151A
Authority
JP
Japan
Prior art keywords
data
transfer
compression
decompression
processing means
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.)
Withdrawn
Application number
JP17484592A
Other languages
Japanese (ja)
Inventor
Masaaki Nishikiro
正明 西来路
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP17484592A priority Critical patent/JPH05342151A/en
Publication of JPH05342151A publication Critical patent/JPH05342151A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To execute a data transfer at a high speed, and also, to improve the availability of a bus by providing plural transfer data processing means, and a data control part for managing them, and sending transfer data to the transfer data processing means which is not operating, from the data control part. CONSTITUTION:At the time of transferring data between an input/output controller 10 and plural peripheral equipments 11, 12, a data control part 3 refers to a state flag of every transfer data processing means 1, 2, and sends transfer data to the transfer data processing means 1, 2 which are not operating. The transfer data processing means 1, 2 which receive the data process the sent data, and also, set the state flag in the course of processing. When the data processing is finished and the transfer preparation is completed, it is informed to the data control part 3. The data control part 3 refers to the state flag of every transfer data processing means 1, 2, and when it is confirmed that the bus is not occupied by the other transfer data processing means 1 or 2, it is permitted to the transfer data processing means 1, 2 to output the data to the peripheral equipments 11, 12.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、バス制御装置に係り、
とくに入出力制御装置と周辺装置間のデータ転送におけ
るバス制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus controller,
In particular, it relates to a bus controller for data transfer between an input / output controller and peripheral devices.

【0002】[0002]

【従来の技術】従来の入出力制御装置と複数の周辺装置
間のデータ転送を制御するバス制御装置は、入出力制御
装置から転送データを受信すると、バスを占有し、指定
された周辺装置へデータがすべて転送されるとバスを解
放していた。また、ある周辺装置から転送データを受信
すると、同様にバスを占有し、入出力制御装置へデータ
がすべて転送されるとバスを解放していた。
2. Description of the Related Art A conventional bus controller, which controls data transfer between an input / output controller and a plurality of peripheral devices, occupies the bus when a transfer data is received from the input / output controller and sends the data to a designated peripheral device. The bus was released when all the data was transferred. Further, when the transfer data is received from a certain peripheral device, the bus is similarly occupied, and the bus is released when all the data is transferred to the input / output control device.

【0003】つまり、例えば図3に示されるように入出
力制御装置と第1の周辺装置11間でデータ転送が行わ
れているときには第2の周辺装置12は待機状態になっ
ていた。そして、入出力制御装置と第1の周辺装置11
間のデータ転送が終了すると入出力制御装置と第2の周
辺装置12間でデータ転送が開始され、データ転送中は
第1の周辺装置11は待機状態になっていた。
That is, for example, as shown in FIG. 3, the second peripheral device 12 is in a standby state while data is being transferred between the input / output control device and the first peripheral device 11. Then, the input / output control device and the first peripheral device 11
When the data transfer between them is completed, the data transfer is started between the input / output control device and the second peripheral device 12, and the first peripheral device 11 is in the standby state during the data transfer.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来例においては、入出力制御装置とある周辺装置間でデ
ータ転送を行っているときには実際はバスを使用してい
なくてもデータ転送が完了するまでバスを占有している
ために、他の周辺装置とのデータ転送は先のデータ転送
が終了してバスが解放されるまで行うことができないと
いう不都合があった。
However, in the above-mentioned conventional example, when data is being transferred between the input / output control device and a peripheral device, the bus is not used until the data transfer is completed even if the bus is not actually used. However, there is an inconvenience that the data transfer with other peripheral devices cannot be performed until the previous data transfer is completed and the bus is released.

【0005】[0005]

【発明の目的】本発明の目的は、かかる従来例の有する
不都合を改善し、とくに入出力制御装置と周辺装置間の
データ転送において、データ転送を高速で行うととも
に、バスの利用効率を向上させることができるバス制御
装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to improve the inconvenience of the conventional example, and particularly in the data transfer between the input / output control device and the peripheral device, perform the data transfer at high speed and improve the bus utilization efficiency. It is to provide a bus control device capable of performing the above.

【0006】[0006]

【課題を解決するための手段】そこで、本発明では、入
出力制御装置と周辺装置間の転送データをデータ処理す
るとともに処理状況を状況フラグとして管理する複数の
転送データ処理手段と、これら転送データ処理手段毎の
状況フラグに基づいて各転送データ処理手段のデータ転
送タイミングを制御するデータ制御部とを具備するとい
う構成を採っている。これによって前述した目的を達成
しようとするものである。
Therefore, according to the present invention, a plurality of transfer data processing means for processing the transfer data between the input / output control device and the peripheral device and managing the processing status as a status flag, and these transfer data processing means. The data control unit controls the data transfer timing of each transfer data processing unit on the basis of the status flag of each processing unit. This is intended to achieve the above-mentioned object.

【0007】[0007]

【作用】入出力制御装置あるいは周辺装置がデータを出
力すると、データ制御部は、転送データ処理手段毎の状
況フラグを参照し稼働中でない転送データ処理手段に当
該データを送付する。データを受信した転送データ処理
手段は、送られてきたデータを処理するとともに状況フ
ラグを処理中にセットする。そして、当該転送データ処
理手段は、データ処理が終了し転送準備が完了するとデ
ータ制御部に通知する。
When the input / output control device or the peripheral device outputs data, the data control unit refers to the status flag of each transfer data processing means and sends the data to the transfer data processing means which is not in operation. The transfer data processing means that has received the data processes the sent data and sets the status flag during processing. Then, the transfer data processing means notifies the data control unit when the data processing is completed and the transfer preparation is completed.

【0008】データ制御部は、転送データ処理手段毎の
状況フラグを参照し、他の転送データ処理手段におい
て、バスが占有されていないことを確認すると、当該転
送データ処理手段にデータ処理されたデータを周辺装置
に出力する許可を与える。
When the data control unit refers to the status flag of each transfer data processing unit and confirms that the bus is not occupied in the other transfer data processing unit, the data processed by the transfer data processing unit is processed. To output to the peripheral device.

【0009】すると当該転送データ処理手段は状況フラ
グをバス占有中にセットするとともにデータを入出力制
御装置あるいは周辺装置に出力する。当該転送データ処
理手段は、データ転送が終了すると当該転送データ処理
手段の状況フラグをリセットする。
Then, the transfer data processing means sets the status flag while the bus is occupied and outputs the data to the input / output control device or the peripheral device. The transfer data processing means resets the status flag of the transfer data processing means when the data transfer is completed.

【0010】[0010]

【発明の実施例】以下、本発明の一実施例を図1ないし
図2に基づいて説明する。図1の実施例は、入出力制御
装置10と周辺装置11,12間の転送データをデータ
処理するとともに処理状況を状況フラグとして管理する
複数の転送データ処理手段1,2と、これら転送データ
処理手段1,2毎の状況フラグに基づいて各転送データ
処理手段1,2のデータ転送タイミングを制御するデー
タ制御部3とから構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. In the embodiment shown in FIG. 1, a plurality of transfer data processing means 1 and 2 for processing the transfer data between the input / output control device 10 and the peripheral devices 11 and 12 and managing the processing status as a status flag, and these transfer data processing means. The data control unit 3 controls the data transfer timing of each transfer data processing unit 1 or 2 based on the status flag of each unit 1 or 2.

【0011】ここで、第1の転送データ処理手段1と第
2の転送データ処理手段2は同様な構成を有し、同様な
動作を行う。
Here, the first transfer data processing means 1 and the second transfer data processing means 2 have the same configuration and perform the same operation.

【0012】第1の転送データ処理手段1は、入出力制
御装置10および第1の周辺装置11あるいは第2の周
辺装置12との転送データを格納する第1のバッファ1
Aと、データの圧縮および展開を行う第1のデータ圧縮
/展開手段1Bと、第1のバッファ1Aに格納されてい
るデータを第1のデータ圧縮/展開手段1Bに送るとと
もに第1のデータ圧縮/展開手段1Bでの圧縮/展開結
果を第1のバッファ1Aに格納する第1の圧縮/展開制
御部1Cと、第1のデータ圧縮/展開手段1Bでの処理
中のデータを第1の圧縮/展開制御部1Cを介して一時
的に記憶する第1の記憶部1Dとを具備している。
The first transfer data processing means 1 is a first buffer 1 for storing transfer data with the input / output control device 10 and the first peripheral device 11 or the second peripheral device 12.
A, first data compression / expansion means 1B for compressing and expanding data, and data stored in the first buffer 1A sent to the first data compression / expansion means 1B and the first data compression / A first compression / decompression control section 1C for storing the result of compression / decompression by the decompression means 1B in the first buffer 1A, and data being processed by the first data compression / decompression means 1B for the first compression / A first storage unit 1D that temporarily stores the data via the expansion control unit 1C.

【0013】さらに第1の圧縮/展開制御部1Cは、第
1のバッファ1Aに転送データが送付された時に第1の
ビジーフラグ1Eを立て、第1のデータ圧縮/展開手段
1Bにて圧縮/展開処理されたデータが転送され第1の
バッファ1Aが空になると第1のビジーフラグ1Eを下
げる。すなわち、第1のビジーフラグ1Eが立っている
ときは、第1の転送データ処理手段1は、新たなデータ
を受け付けることはできないことを示している。
Further, the first compression / decompression control section 1C sets a first busy flag 1E when the transfer data is sent to the first buffer 1A, and the first data compression / decompression means 1B compresses / decompresses it. When the processed data is transferred and the first buffer 1A becomes empty, the first busy flag 1E is lowered. That is, when the first busy flag 1E is set, it means that the first transfer data processing means 1 cannot accept new data.

【0014】また第1の圧縮/展開制御部1Cは、周辺
装置からのデータが第1のデータ圧縮/展開手段1Bに
て展開されて第1のバッファ1Aに格納された時、ある
いは入出力制御装置10からのデータが第1のデータ圧
縮/展開手段1Bにて圧縮されて第1のバッファ1Aに
格納された時に第1のバス占有フラグ1Fを立て、デー
タが転送されて第1のバッファ1Aが空になると第1の
バス占有フラグ1Fを下げる。すなわち、第1のバス占
有フラグ1Fが立っているときは、第1の転送データ処
理手段1がデータ転送中であることを示している。
The first compression / decompression control section 1C controls the input / output control when the data from the peripheral device is decompressed by the first data compression / decompression means 1B and stored in the first buffer 1A. When the data from the device 10 is compressed by the first data compression / decompression means 1B and stored in the first buffer 1A, the first bus occupation flag 1F is set, and the data is transferred to the first buffer 1A. Is empty, the first bus occupation flag 1F is lowered. That is, when the first bus occupancy flag 1F is set, it means that the first transfer data processing means 1 is transferring data.

【0015】第2の転送データ処理手段2は、入出力制
御装置10および第1の周辺装置11あるいは第2の周
辺装置12との転送データを格納する第2のバッファ2
Aと、データの圧縮および展開を行う第2のデータ圧縮
/展開手段2Bと、第2のバッファ2Aに格納されてい
るデータを第2のデータ圧縮/展開手段2Bに送るとと
もに第2のデータ圧縮/展開手段2Bでの圧縮/展開結
果を第2のバッファ2Aに格納する第2の圧縮/展開制
御部2Cと、第2のデータ圧縮/展開手段2Bでの処理
中のデータを第2の圧縮/展開制御部2Cを介して一時
的に記憶する第2の記憶部2Dとを具備している。
The second transfer data processing means 2 stores the transfer data of the input / output control device 10 and the first peripheral device 11 or the second peripheral device 12 in the second buffer 2.
A, second data compression / expansion means 2B for compressing and expanding data, and data stored in the second buffer 2A to the second data compression / expansion means 2B and second data compression A second compression / expansion control unit 2C for storing the compression / expansion result of the expansion / expansion means 2B in the second buffer 2A, and the data being processed by the second data compression / expansion means 2B to the second compression. A second storage unit 2D that temporarily stores the data via the expansion control unit 2C.

【0016】さらに第2の圧縮/展開制御部2Cは、第
2のバッファ2Aに転送データが送付された時に第2の
ビジーフラグ2Eを立て、第2のデータ圧縮/展開手段
2Bにて圧縮/展開処理されたデータが転送され第2の
バッファ2Aが空になると第2のビジーフラグ2Eを下
げる。すなわち、第2のビジーフラグ2Eが立っている
ときは、第2の転送データ処理手段2は、新たなデータ
を受け付けることはできないことを示している。
Further, the second compression / decompression control section 2C sets a second busy flag 2E when the transfer data is sent to the second buffer 2A, and the second data compression / decompression means 2B compresses / decompresses it. When the processed data is transferred and the second buffer 2A becomes empty, the second busy flag 2E is lowered. That is, when the second busy flag 2E is set, it means that the second transfer data processing means 2 cannot accept new data.

【0017】また第2の圧縮/展開制御部2Cは、周辺
装置からのデータが第2のデータ圧縮/展開手段2Bに
て展開されて第2のバッファ2Aに格納された時、ある
いは入出力制御装置10からのデータが第2のデータ圧
縮/展開手段2Bにて圧縮されて第2のバッファ2Aに
格納された時に第2のバス占有フラグ2Fを立て、デー
タが転送されて第2のバッファ2Aが空になると第2の
バス占有フラグ2Fを下げる。すなわち、第2のバス占
有フラグ2Fが立っているときは、第2の転送データ処
理手段2がデータ転送中であることを示している。
The second compression / decompression control unit 2C controls the input / output control when the data from the peripheral device is decompressed by the second data compression / decompression means 2B and stored in the second buffer 2A. When the data from the device 10 is compressed by the second data compression / decompression means 2B and stored in the second buffer 2A, the second bus occupation flag 2F is set, and the data is transferred to the second buffer 2A. Is empty, the second bus occupation flag 2F is lowered. That is, when the second bus occupation flag 2F is set, it means that the second transfer data processing means 2 is transferring data.

【0018】次に、本実施例の動作について説明する。 (1)入出力制御装置10から第1の周辺装置11およ
び第2の周辺装置12へデータを転送する場合:ここで
は、第1のデータと第3のデータを第1の周辺装置11
に、第2のデータを第2の周辺装置12に転送する場合
について説明する。
Next, the operation of this embodiment will be described. (1) When data is transferred from the input / output control device 10 to the first peripheral device 11 and the second peripheral device 12: Here, the first data and the third data are transferred to the first peripheral device 11.
First, the case of transferring the second data to the second peripheral device 12 will be described.

【0019】.入出力制御装置10は第1のデータを
出力する。
.. The input / output control device 10 outputs the first data.

【0020】.データ制御部3は、第1のビジーフラ
グ1Dが立っていないことを確認すると、第1の転送デ
ータ処理手段1は稼働中でないと判断し、第1の転送デ
ータ処理手段1を選択して第1のバッファ1Aに第1の
データを送付する。
[0020]. When confirming that the first busy flag 1D is not set, the data control unit 3 determines that the first transfer data processing means 1 is not in operation, selects the first transfer data processing means 1, and selects the first transfer data processing means 1. The first data is sent to the buffer 1A.

【0021】ここで、第1の圧縮/展開制御部1Cは第
1のビジーフラグ1Eを立てる。
Here, the first compression / decompression control section 1C sets the first busy flag 1E.

【0022】続けて、入出力制御装置10は第2のデー
タを出力する。 データ制御部3は、第1のビジーフラ
グ1Eが立っているために、第1の転送データ処理手段
1は稼働中であると判断し、第2の転送データ処理手段
2を選択して第2のバッファ2Aに第2のデータを送付
する。
Subsequently, the input / output control device 10 outputs the second data. The data control unit 3 determines that the first transfer data processing unit 1 is in operation because the first busy flag 1E is set, and selects the second transfer data processing unit 2 to select the second transfer data processing unit 2. The second data is sent to the buffer 2A.

【0023】ここで、第2の圧縮/展開制御部2Cは第
2のビジーフラグ2Eを立てる。
Here, the second compression / decompression control section 2C sets the second busy flag 2E.

【0024】.第1の圧縮/展開制御部1Cは、第1
のバッファ1Aに格納されている第1のデータを第1の
データ圧縮/展開手段1Bに送付し、圧縮処理を指示す
る。第1のデータ圧縮/展開手段1Bは、第1の圧縮/
展開制御部1Cの制御に従い、受け取った第1のデータ
を圧縮し、第1の圧縮/展開制御部1Cに送り返す。第
1の圧縮/展開制御部1Cは、第1のデータ圧縮/展開
手段1Bからの圧縮データを順次第1の記憶部1Dに格
納し、第1のデータ圧縮/展開手段1Bでの圧縮処理が
終了すると、第1の記憶部1Dに格納されている圧縮デ
ータを第1のバッファ1Aに転送する。
[0024]. The first compression / decompression controller 1C
The first data stored in the buffer 1A is sent to the first data compression / decompression means 1B to instruct the compression processing. The first data compression / decompression means 1B uses the first compression / decompression
Under the control of the expansion control unit 1C, the received first data is compressed and sent back to the first compression / expansion control unit 1C. The first compression / decompression control unit 1C sequentially stores the compressed data from the first data compression / decompression unit 1B in the first storage unit 1D, and the compression processing in the first data compression / decompression unit 1B is performed. Upon completion, the compressed data stored in the first storage unit 1D is transferred to the first buffer 1A.

【0025】そして、第1の圧縮/展開制御部1Cは、
第1のバス占有フラグ1Fを立てる。
Then, the first compression / decompression control section 1C is
The first bus occupation flag 1F is set.

【0026】.データ制御部3は、第2のバス占有フ
ラグ2Fが立っていないことを確認すると、バスが解放
されていると判断し第1のバッファ1Aに格納されてい
るデータをバスを介して第1の周辺装置11に転送す
る。
.. When the data control unit 3 confirms that the second bus occupancy flag 2F is not set, it determines that the bus is released, and the data stored in the first buffer 1A is transferred to the first buffer 1A via the bus. Transfer to the peripheral device 11.

【0027】データ転送が終了すると第1の圧縮/展開
制御部1Cは、第1のビジーフラグ1Eおよび第1のバ
ス占有フラグ1Fを下げる。
When the data transfer is completed, the first compression / decompression control section 1C lowers the first busy flag 1E and the first bus occupation flag 1F.

【0028】このとき、同時に第2の圧縮/展開制御部
2Cは、第2のバッファ2Aに格納されている第2のデ
ータを第2のデータ圧縮/展開手段2Bに送付し、圧縮
処理を指示する。第2のデータ圧縮/展開手段2Bは、
第2の圧縮/展開制御部2Cの制御に従い、受け取った
第2のデータを圧縮し、第2の圧縮/展開制御部2Cに
送り返す。第2の圧縮/展開制御部2Cは、第2のデー
タ圧縮/展開手段2Bからの圧縮データを順次第2の記
憶部2Dに格納し、第2のデータ圧縮/展開手段2Bで
の圧縮処理が終了すると、第2の記憶部2Dに格納され
ている圧縮データを第2のバッファ2Aに転送する。
At this time, at the same time, the second compression / decompression control section 2C sends the second data stored in the second buffer 2A to the second data compression / decompression means 2B to instruct the compression process. To do. The second data compression / decompression means 2B is
Under the control of the second compression / decompression control unit 2C, the received second data is compressed and sent back to the second compression / decompression control unit 2C. The second compression / decompression control unit 2C sequentially stores the compressed data from the second data compression / decompression unit 2B in the second storage unit 2D, and the compression processing in the second data compression / decompression unit 2B is performed. When finished, the compressed data stored in the second storage unit 2D is transferred to the second buffer 2A.

【0029】そして、第2の圧縮/展開制御部2Cは、
第2のバス占有フラグ2Fを立てる。
Then, the second compression / decompression control section 2C is
The second bus occupation flag 2F is set.

【0030】続けて、入出力制御装置10は第3のデー
タを出力する。 データ制御部3は、第1のビジーフラ
グ1Eが立っていないので第1の転送データ処理手段1
は稼働中でないと判断し、第1の転送データ処理手段1
を選択して第1の展開データバッファ1Aに第3のデー
タを送付する。
Subsequently, the input / output control device 10 outputs the third data. Since the first busy flag 1E is not set, the data control unit 3 has the first transfer data processing means 1
Is determined not to be operating, and the first transfer data processing means 1
To send the third data to the first expanded data buffer 1A.

【0031】ここで、第1の圧縮/展開制御部1Cは第
1のビジーフラグ1Eを立てる。
Here, the first compression / decompression control unit 1C sets the first busy flag 1E.

【0032】.データ制御部3は、第1のバス占有フ
ラグ1Fが立っていないことを確認すると、バスが解放
されていると判断し第2のバッファ2Aに格納されてい
る第2のデータをバスを介して第2の周辺装置12に転
送する。
.. When confirming that the first bus occupation flag 1F is not set, the data control unit 3 determines that the bus is released, and transfers the second data stored in the second buffer 2A via the bus. Transfer to the second peripheral device 12.

【0033】データ転送が終了すると第2の圧縮/展開
制御部2Cは、第2のビジーフラグ2Eと第2のバス占
有フラグ2Fを下げる。
When the data transfer is completed, the second compression / decompression control section 2C lowers the second busy flag 2E and the second bus occupation flag 2F.

【0034】第1の圧縮/展開制御部1Cは、第1のバ
ッファ1Aに格納されている第3のデータを第1のデー
タ圧縮/展開手段1Bに送付し、圧縮処理を指示する。
第1のデータ圧縮/展開手段1Bは、第1の圧縮/展開
制御部1Cの制御に従い、受け取った第3のデータを圧
縮し、第1の圧縮/展開制御部1Cに送り返す。第1の
圧縮/展開制御部1Cは、第1のデータ圧縮/展開手段
1Bからの圧縮データを順次第1の記憶部1Dに格納
し、第1のデータ圧縮/展開手段1Bでの圧縮処理が終
了すると、第1の記憶部1Dに格納されている圧縮デー
タを第1のバッファ1Aに転送する。
The first compression / decompression control section 1C sends the third data stored in the first buffer 1A to the first data compression / decompression means 1B to instruct the compression process.
The first data compression / decompression unit 1B compresses the received third data under the control of the first compression / decompression control unit 1C and sends it back to the first compression / decompression control unit 1C. The first compression / decompression control unit 1C sequentially stores the compressed data from the first data compression / decompression unit 1B in the first storage unit 1D, and the compression processing in the first data compression / decompression unit 1B is performed. Upon completion, the compressed data stored in the first storage unit 1D is transferred to the first buffer 1A.

【0035】そして、第1の圧縮/展開制御部1Cは、
第1のバス占有フラグ1Fを立てる。
Then, the first compression / decompression control section 1C is
The first bus occupation flag 1F is set.

【0036】.データ制御部3は、第2のバス占有フ
ラグ2Fが立っていないことを確認すると、バスが解放
されていると判断し第1のバッファ1Aに格納されてい
る第3のデータをバスを介して第1の周辺装置11に転
送する。
.. When confirming that the second bus occupancy flag 2F is not set, the data control unit 3 determines that the bus is released and sends the third data stored in the first buffer 1A via the bus. Transfer to the first peripheral device 11.

【0037】データ転送が終了すると第1の圧縮/展開
制御部1Cは、第1のビジーフラグ1Eと第1のバス占
有フラグ1Fを下げる。
When the data transfer is completed, the first compression / decompression control section 1C lowers the first busy flag 1E and the first bus occupation flag 1F.

【0038】すなわち図2に示されるように、最初第1
の転送データ処理手段1が圧縮処理中は第2の転送デー
タ処理手段2は待機中であるが、第1の転送データ処理
手段1が転送中になると第2の転送データ処理手段2は
圧縮処理中となる。そして、第1の転送データ処理手段
1が圧縮処理中になると第2の転送データ処理手段2は
転送中になる。さらに第1の転送データ処理手段1が転
送中になると第2の転送データ処理手段2は待機中とな
る。このように各転送データ処理手段では転送データの
圧縮と転送が交互に行われる。
That is, as shown in FIG. 2, first the first
While the second transfer data processing means 1 is in compression processing, the second transfer data processing means 2 is on standby, but when the first transfer data processing means 1 is in transfer, the second transfer data processing means 2 is in compression processing. Will be inside. Then, when the first transfer data processing means 1 is in compression processing, the second transfer data processing means 2 is in transfer. Furthermore, when the first transfer data processing means 1 is in the middle of transfer, the second transfer data processing means 2 is in the standby state. In this way, in each transfer data processing means, transfer data compression and transfer are alternately performed.

【0039】(2)第1の周辺装置11および第2の周
辺装置12から入出力制御装置10へデータを転送する
場合:ここでは、第1のデータと第3のデータが第1の
周辺装置11から、第2のデータが第2の周辺装置12
から出力される場合について説明する。
(2) When data is transferred from the first peripheral device 11 and the second peripheral device 12 to the input / output control device 10: Here, the first data and the third data are the first peripheral device. 11 from the second data to the second peripheral device 12
The case of output from will be described.

【0040】.第1の周辺装置11は第1のデータを
出力する。
.. The first peripheral device 11 outputs the first data.

【0041】.データ制御部3は、第1のビジーフラ
グ1Eが立っていないことを確認すると、第1の転送デ
ータ処理手段1が稼働中でないと判断し、第1の転送デ
ータ処理手段1を選択して第1のバッファ1Aに第1の
データを格納する。
.. When confirming that the first busy flag 1E is not set, the data control unit 3 determines that the first transfer data processing means 1 is not in operation, selects the first transfer data processing means 1, and selects the first transfer data processing means 1. The first data is stored in the buffer 1A.

【0042】ここで、第1の圧縮/展開制御部1Cは第
1のビジーフラグ1Eを立てる。
Here, the first compression / decompression control unit 1C sets the first busy flag 1E.

【0043】続けて、第2の周辺装置12は第2のデー
タを出力する。 データ制御部3は、第1のビジーフラ
グ1Eが立っているために、第1の転送データ処理手段
1が稼働中であると判断し、第2の転送データ処理手段
2を選択して第2のバッファ2Aに第2のデータを格納
する。
Subsequently, the second peripheral device 12 outputs the second data. The data control unit 3 determines that the first transfer data processing unit 1 is in operation because the first busy flag 1E is set, and selects the second transfer data processing unit 2 to select the second transfer data processing unit 2. The second data is stored in the buffer 2A.

【0044】ここで、第2の圧縮/展開制御部2Cは第
2のビジーフラグ2Eを立てる。
Here, the second compression / decompression control unit 2C sets the second busy flag 2E.

【0045】.第1の圧縮/展開制御部1Cは、第1
のバッファ1Aに格納されている第1のデータを第1の
データ圧縮/展開手段1Bに送付し、展開処理を指示す
る。第1のデータ圧縮/展開手段1Bは、第1の圧縮/
展開制御部1Cの制御に従い、受け取った第1のデータ
を展開し、第1の圧縮/展開制御部1Cに送り返す。第
1の圧縮/展開制御部1Cは、第1のデータ圧縮/展開
手段1Bからの展開データを順次第1の記憶部1Dに格
納し、第1のデータ圧縮/展開手段1Bでの展開処理が
終了すると、第1の記憶部1Dに格納されている展開デ
ータを第1のバッファ1Aに転送する。
.. The first compression / decompression controller 1C
The first data stored in the buffer 1A is sent to the first data compression / decompression means 1B to instruct decompression processing. The first data compression / decompression means 1B uses the first compression / decompression
Under the control of the expansion controller 1C, the received first data is expanded and sent back to the first compression / expansion controller 1C. The first compression / decompression control unit 1C sequentially stores the decompressed data from the first data compression / decompression unit 1B in the first storage unit 1D, and the decompression processing by the first data compression / decompression unit 1B is performed. When finished, the expanded data stored in the first storage unit 1D is transferred to the first buffer 1A.

【0046】そして、第1の圧縮/展開制御部1Cは、
第1のバス占有フラグ1Fを立てる。
Then, the first compression / decompression control section 1C
The first bus occupation flag 1F is set.

【0047】.データ制御部3は、第2のバス占有フ
ラグ2Fが立っていないことを確認すると、第1のバッ
ファ1Aに格納されている第1のデータを入出力制御装
置10に転送する。
.. When confirming that the second bus occupation flag 2F is not set, the data control unit 3 transfers the first data stored in the first buffer 1A to the input / output control device 10.

【0048】データ転送が終了すると第1の圧縮/展開
制御部1Cは、第1のビジーフラグ1Eと第1のバス占
有フラグ1Fを下げる。
When the data transfer is completed, the first compression / decompression control section 1C lowers the first busy flag 1E and the first bus occupation flag 1F.

【0049】このとき、同時に第2の圧縮/展開制御部
2Cは、第2のバッファ2Aに格納されている第2のデ
ータを第2のデータ圧縮/展開手段2Bに送付し、展開
処理を指示する。第2のデータ圧縮/展開手段2Bは、
第2の圧縮/展開制御部2Cの制御に従い、受け取った
第2のデータを展開し、第2の圧縮/展開制御部2Cに
送り返す。第2の圧縮/展開制御部2Cは、第2のデー
タ圧縮/展開手段2Bからの展開データを順次第2の記
憶部2Dに格納し、第2のデータ圧縮/展開手段2Bで
の展開処理が終了すると、第2の記憶部2Dに格納され
ている展開データを第2のバッファ2Aに転送する。
At this time, at the same time, the second compression / decompression control section 2C sends the second data stored in the second buffer 2A to the second data compression / decompression means 2B to instruct decompression processing. To do. The second data compression / decompression means 2B is
Under the control of the second compression / expansion controller 2C, the received second data is expanded and sent back to the second compression / expansion controller 2C. The second compression / decompression control unit 2C sequentially stores the decompressed data from the second data compression / decompression unit 2B in the second storage unit 2D, and the decompression processing by the second data compression / decompression unit 2B is performed. When completed, the expanded data stored in the second storage unit 2D is transferred to the second buffer 2A.

【0050】そして、第2の圧縮/展開制御部2Cは、
第2のバス占有フラグ2Fを立てる。
Then, the second compression / decompression control section 2C is
The second bus occupation flag 2F is set.

【0051】続けて、第1の周辺装置11は第3のデー
タをバスに出力する。 データ制御部3は、第1のビジ
ーフラグ1Dが立っていないので第1の転送データ処理
手段1が稼働中でないと判断し、第1の転送データ処理
手段1を選択して第1のバッファ1Aに第3のデータを
格納する。
Subsequently, the first peripheral device 11 outputs the third data to the bus. The data control unit 3 determines that the first transfer data processing unit 1 is not in operation because the first busy flag 1D is not set, and selects the first transfer data processing unit 1 to store it in the first buffer 1A. The third data is stored.

【0052】ここで、第1の圧縮/展開制御部1Cは第
1のビジーフラグ1Eを立てる。
Here, the first compression / decompression control unit 1C sets the first busy flag 1E.

【0053】.データ制御部3は、第1のバス占有フ
ラグ1Fが立っていないことを確認すると、第2の展開
データバッファ2Aに格納されている第2のデータを入
出力制御装置10に転送する。
.. When confirming that the first bus occupation flag 1F is not set, the data control unit 3 transfers the second data stored in the second expanded data buffer 2A to the input / output control device 10.

【0054】データ転送が終了すると第2の圧縮/展開
制御部2Cは、第2のビジーフラグ2Eと第2のバス占
有フラグ2Fを下げる。
When the data transfer is completed, the second compression / decompression controller 2C lowers the second busy flag 2E and the second bus occupation flag 2F.

【0055】第1の圧縮/展開制御部1Cは、第1のバ
ッファ1Aに格納されている第3のデータを第1のデー
タ圧縮/展開手段1Bに送付し、展開処理を指示する。
第1のデータ圧縮/展開手段1Bは、第1の圧縮/展開
制御部1Cの制御に従い、受け取った第3のデータを展
開し、第1の圧縮/展開制御部1Cに送り返す。第1の
圧縮/展開制御部1Cは、第1のデータ圧縮/展開手段
1Bからの展開データを順次第1の記憶部1Dに格納
し、第1のデータ圧縮/展開手段1Bでの展開処理が終
了すると、第1の記憶部1Dに格納されている展開デー
タを第1のバッファ1Aに転送する。
The first compression / decompression control section 1C sends the third data stored in the first buffer 1A to the first data compression / decompression means 1B to instruct decompression processing.
The first data compression / decompression unit 1B decompresses the received third data according to the control of the first compression / decompression control unit 1C and sends it back to the first compression / decompression control unit 1C. The first compression / decompression control unit 1C sequentially stores the decompressed data from the first data compression / decompression unit 1B in the first storage unit 1D, and the decompression processing by the first data compression / decompression unit 1B is performed. When finished, the expanded data stored in the first storage unit 1D is transferred to the first buffer 1A.

【0056】そして、第1の圧縮/展開制御部1Cは、
第1のバス占有フラグ1Fを立てる。
Then, the first compression / decompression controller 1C
The first bus occupation flag 1F is set.

【0057】.データ制御部3は、第2のバス占有フ
ラグ2Fが立っていないことを確認すると、第1のバッ
ファ1Aに格納されている第3のデータを入出力制御装
置10に転送する。
.. When confirming that the second bus occupation flag 2F is not set, the data control unit 3 transfers the third data stored in the first buffer 1A to the input / output control device 10.

【0058】データ転送が終了すると第1の圧縮/展開
制御部1Cは、第1のビジーフラグ1Eと第1のバス占
有フラグ1Fを下げる。
When the data transfer is completed, the first compression / decompression control section 1C lowers the first busy flag 1E and the first bus occupation flag 1F.

【0059】また、入出力制御装置から周辺装置へのデ
ータ転送と、周辺装置から入出力制御装置へのデータ転
送を交互に行うことも可能である。
It is also possible to alternately perform data transfer from the input / output control device to the peripheral device and data transfer from the peripheral device to the input / output control device.

【0060】本実施例では、周辺装置が2台の場合につ
いて説明しているがこれに限定されるものではない。
In this embodiment, the case where the number of peripheral devices is two has been described, but the present invention is not limited to this.

【0061】また、本実施例では、転送データ処理手段
における処理内容をデータ圧縮とデータ展開として説明
しているがこれに限定されるものではない。
Further, in the present embodiment, the processing contents in the transfer data processing means are described as data compression and data expansion, but the present invention is not limited to this.

【0062】[0062]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、入出力制御装置とある周辺装置間
でデータ転送が行われていてもバスの空き時間を利用し
て入出力制御装置と他の周辺装置間でデータ転送がで
き、これがため、データ転送を高速で行うことができる
とともにバスの使用効率を向上させることができるとい
う従来にない優れたバス制御装置を提供することができ
る。
Since the present invention is constructed and functions as described above, according to this, even when data transfer is performed between the input / output control device and a peripheral device, the input / output is performed by utilizing the idle time of the bus. (EN) Provided is an unprecedented excellent bus control device capable of transferring data between a control device and other peripheral devices, which enables high-speed data transfer and improves bus usage efficiency. You can

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1の動作を説明するためのタイミングチャー
トである。
FIG. 2 is a timing chart for explaining the operation of FIG.

【図3】従来例の動作を説明するためのタイミングチャ
ートである。
FIG. 3 is a timing chart for explaining the operation of the conventional example.

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

1 第1の転送データ処理手段 1A 第1のバッファ 1B 第1のデータ圧縮/展開手段 1C 第1の圧縮/展開制御部 1D 第1の記憶部 1E 第1のビジーフラグ 1F 第1のバス占有フラグ 2 第2の転送データ処理手段 2A 第2のバッファ 2B 第2のデータ圧縮/展開手段 2C 第2の圧縮/展開制御部 2D 第2の記憶部 2E 第2のビジーフラグ 2F 第2のバス占有フラグ 3 データ制御部 10 入出力制御装置 11 第1の周辺装置 12 第2の周辺装置 1 1st transfer data processing means 1A 1st buffer 1B 1st data compression / expansion means 1C 1st compression / expansion control section 1D 1st storage section 1E 1st busy flag 1F 1st bus occupation flag 2 2nd transfer data processing means 2A 2nd buffer 2B 2nd data compression / decompression means 2C 2nd compression / decompression control section 2D 2nd storage section 2E 2nd busy flag 2F 2nd bus occupation flag 3 data Control unit 10 Input / output control device 11 First peripheral device 12 Second peripheral device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入出力制御装置と複数の周辺装置間のデ
ータ転送を制御するバス制御装置において、 前記入出力制御装置と前記周辺装置間の転送データをデ
ータ処理するとともに処理状況を状況フラグとして管理
する複数の転送データ処理手段と、これら転送データ処
理手段毎の状況フラグに基づいて前記各転送データ処理
手段のデータ転送タイミングを制御するデータ制御部と
を装備したことを特徴とするバス制御装置。
1. A bus control device for controlling data transfer between an input / output control device and a plurality of peripheral devices, processing data transferred between the input / output control device and the peripheral device, and setting a processing status as a status flag. A bus control device equipped with a plurality of transfer data processing means to be managed and a data control section for controlling the data transfer timing of each transfer data processing means based on a status flag for each of these transfer data processing means. .
【請求項2】 前記転送データ処理手段が、前記入出力
制御装置および前記周辺装置との転送データを格納する
バッファと、データの圧縮および展開を行うデータ圧縮
/展開手段と、前記バッファに格納されているデータを
前記データ圧縮/展開手段に送付し前記データ圧縮/展
開手段での圧縮/展開結果を前記バッファに格納すると
ともに処理状況を状況フラグとして管理する圧縮/展開
制御部とを具備していることを特徴とする請求項1記載
のバス制御装置。
2. The transfer data processing means stores a buffer for storing transfer data of the input / output control device and the peripheral device, a data compression / decompression means for compressing and decompressing data, and a buffer stored in the buffer. Data to the data compression / decompression means, stores the compression / decompression result of the data compression / decompression means in the buffer, and manages the processing status as a status flag. The bus control device according to claim 1, wherein the bus control device is provided.
JP17484592A 1992-06-09 1992-06-09 Bus controller Withdrawn JPH05342151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17484592A JPH05342151A (en) 1992-06-09 1992-06-09 Bus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17484592A JPH05342151A (en) 1992-06-09 1992-06-09 Bus controller

Publications (1)

Publication Number Publication Date
JPH05342151A true JPH05342151A (en) 1993-12-24

Family

ID=15985662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17484592A Withdrawn JPH05342151A (en) 1992-06-09 1992-06-09 Bus controller

Country Status (1)

Country Link
JP (1) JPH05342151A (en)

Similar Documents

Publication Publication Date Title
JPH02206264A (en) Protocol discretionary switching system
JP2007505507A (en) Machining system schedule using multiple robots
US5436732A (en) Image data processing system
JPH05342151A (en) Bus controller
JPH05334045A (en) Bus controller
JPH04205634A (en) Storage device control method
JPH05334044A (en) Bus controller
JPH0628284A (en) Method and device for transmitting picture data
JP3412342B2 (en) Image drawing apparatus and data decompression method
JPS58151743A (en) Polling system
JPH05334224A (en) Bus controller
JPS6083133A (en) Compression/restoration data storage system
JPH03265953A (en) Down load control system for control program to terminal equipment
JPH02268046A (en) Packet multiplexer
JPH066387A (en) Method and device for data transfer control
JPH0789649B2 (en) Image data processor
JPH0683321A (en) Image data processor
JPH10260793A (en) Printing controller
JPH01286017A (en) Printing controller
JPH1040189A (en) Program transfer method for portable personal telephone system
JP2822935B2 (en) Table management method
JPS61228581A (en) Data processor
JPH0541804A (en) Picture processing unit
JPH04148247A (en) Automatic file optimization processing system for random-accessible storage device
JPH03113554A (en) Data transfer system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831