JPH0378065A - Reception control system for peripheral device - Google Patents
Reception control system for peripheral deviceInfo
- Publication number
- JPH0378065A JPH0378065A JP21467089A JP21467089A JPH0378065A JP H0378065 A JPH0378065 A JP H0378065A JP 21467089 A JP21467089 A JP 21467089A JP 21467089 A JP21467089 A JP 21467089A JP H0378065 A JPH0378065 A JP H0378065A
- Authority
- JP
- Japan
- Prior art keywords
- reception
- request
- peripheral
- central processing
- processing unit
- 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
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 98
- 238000000034 method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 10
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、中央処理装置が周辺制御装置を介して周辺装
置を制御する周辺装置の受信制御方式に関し、特に、中
央処理装af側での受信の効率化に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a reception control system for a peripheral device in which a central processing unit controls the peripheral device via a peripheral control device, and in particular to a reception control system for a peripheral device in which a central processing unit controls the peripheral device via a peripheral control device. Regarding efficiency.
従来の技術
従来、この種の周辺装置の受信制御方式は、中央処理装
置が周辺制御装置に対して発行する受信要求と周辺制御
装置が周辺装置に対して発行する受信要求が連動してお
り、中央処理装置が周辺制御装置に対して受信要求を発
行しない限り周辺制御装置から周辺装置に対する受信要
求は発行されなかった。BACKGROUND OF THE INVENTION Conventionally, in the reception control method of this type of peripheral device, the reception request issued by the central processing unit to the peripheral control device and the reception request issued by the peripheral control device to the peripheral device are linked. Unless the central processing unit issues a reception request to the peripheral control device, the peripheral control device does not issue a reception request to the peripheral device.
発明が解決しようとする課題
上述した従来の周辺装置の受信制御方式は、中央処理装
置が周辺制御装置に対して受信要求を発行しない限り周
辺制御装置から周辺装置への受信要求が発行されないの
で、中央処理装置の負荷が増えた場合には周辺制御装置
に対して受信要求が発行されるのに時間がかかるように
なり、中央処理装置の受信要求と連動して周辺制御装置
から周辺装置へ発行される受信要求が発行されず、周辺
装置からの受信データが周辺制御装置からの受信要求が
ない為に周辺制御装置で受信できなくなり、結果として
中央処理装置側でデータ抜けが発生するという欠点があ
る。また、周辺装置側で受信データが大量に発生した場
合にも同様の結果になる。Problems to be Solved by the Invention In the conventional peripheral device reception control method described above, unless the central processing unit issues a reception request to the peripheral control device, the peripheral control device does not issue a reception request to the peripheral device. If the load on the central processing unit increases, it will take time to issue a reception request to the peripheral control device, and the peripheral control device will issue the request to the peripheral device in conjunction with the central processing unit's reception request. The disadvantage is that the received data from the peripheral device cannot be received by the peripheral control device because there is no receive request from the peripheral control device, and as a result, data dropout occurs on the central processing unit side. be. Furthermore, a similar result occurs when a large amount of received data is generated on the peripheral device side.
本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記諸欠
点を解消することを可能とした新規な周辺装置の受信制
御方式を提供することにある。The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a new peripheral device reception control method that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.
課題を解決するための手段
上記目的を達成する為に、本発明に係る周辺装置の受信
制御方式は、中央処理装置から周辺制御装置に対して周
辺制御装置の初期設定を要求する初期設定要求9手段と
、中央処理装置からの初期設定要求で周辺制御装置内を
初期設定する初期設定手段と、初期設定時及び周辺装置
から受信データを受けたときに周辺制御装置内の受信バ
ッファを使用して周辺装置に対して受信要求を発行する
受信手段と、この受信手段によって受信した周辺装置か
らの受信データを保持する受信データ保持手段と、中央
処理装置から周辺制御装置に対して受信を要求する受信
要求手段と、中央処理装置から発行された受信要求を保
持する受信要求保持手段と、前記受信データ保持手段及
び受信要求保持手段によって起動され前記受信要求保持
手段によって保持されている受信要求に前記受信データ
保持手段によって保持されている受信データを割り当て
る受信データ割り当て手段と、この受信データ割り当て
手段によって通知された受信データを主記憶上に転送す
る転送手段と、受信データがこの転送手段によって転送
完了後に受信データを転送し不要となった受信バッファ
を返却する受信バッファ返却手段と、この受信バッファ
返却手段を発行後に前記受信データ割り当て手段によっ
て受信データを割り当てられた中央処理装置からの受信
要求を中央処理装置へ完了通知する受信完了゛通知手段
とを備えて構成される。Means for Solving the Problems In order to achieve the above object, the reception control method for a peripheral device according to the present invention includes an initial setting request 9 that requests the peripheral control device to initialize the peripheral control device from the central processing unit. means, an initial setting means for initializing the inside of the peripheral control device in response to an initial setting request from the central processing unit, and a receiving buffer in the peripheral control device at the time of initial setting and when receiving data from the peripheral device. receiving means for issuing a reception request to a peripheral device; received data holding means for holding received data from the peripheral device received by the receiving means; and receiving means for requesting reception from the central processing unit to the peripheral control device. a request means, a reception request holding means for holding a reception request issued from a central processing unit, and a reception request holding means that is activated by the reception data holding means and the reception request holding means and is held by the reception request holding means; Received data allocation means that allocates the received data held by the data holding means; Transfer means that transfers the received data notified by the received data allocation means to the main memory; and After the received data is transferred by the transfer means, a receive buffer return unit that transfers received data and returns a receive buffer that is no longer needed; and a receive buffer return unit that centrally processes a receive request from a central processing unit to which received data is allocated by the receive data allocation unit after issuing the receive buffer return unit. The apparatus is configured to include a reception completion notifying means for notifying the device of completion.
実施例
次に、本発明をその好ましい一実施例について図面を9
照して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be described with reference to the drawings.
A detailed explanation will be given below.
第1図は本発明の一演施例の全体を示すブロック構成図
である。第2図は中央処理装置から初期設定要求手段が
発行されたときの処理構成図、第3図は中央処理装置か
ら受信要求手段が発行されたときの処理構成図、第4図
は周辺装置から受信データを受信したときの処理構成図
である。FIG. 1 is a block diagram showing the entirety of an embodiment of the present invention. Fig. 2 is a processing block diagram when an initial setting request means is issued from the central processing unit, Fig. 3 is a processing block diagram when a reception request means is issued from the central processing unit, and Fig. 4 is a processing block diagram when a reception request means is issued from the central processing unit. FIG. 3 is a processing configuration diagram when receiving data is received.
第1図を参照すると、本発明の一実施例は、中央処理装
置10、中央処理装置10から周辺制御装置20に対し
て周辺制御装置20の初期設定を要求する初期設定要求
手段101、中央処理装置10がら周辺制御装置20に
対して受信を要求する受信要求手段102、周辺制御装
置20、受信バッファ201、中央処理装置lOからの
初期設定要求で周辺制御装置2゜内を初期設定する初期
設定手段202、初期設定時及び周辺装置30から受信
データを受けたときに周辺制御装置20内の受信バッフ
ァ201を使用して周辺装230に対して受信要求を発
行する受信手段203、受信手段203によって受信し
た周辺装置3゜からの受信データを保持する受信データ
保持手段204、中央処理袋210から発行された受信
要求205、中央処理装置10から発行された受信要求
205を保持する受信要求保持手段206、受信データ
保持手段204及び受信要求保持手段206によって起
動され受信要求保持手段206によって保持されている
受信要求205に受信データ保持手段204によって保
持されている受信データを割り当てる受信データ割り当
て手段207、受信データ割り当て手段207によって
通知された受信データを主記憶装置f40上に転送する
転送手段208、受信データが転送手jf208によっ
て転送完了後に受信データを転送し不要となった受信バ
ッファを返却する受信バッファ返却手段209、受信バ
ッファ返却手段209発行後に受信データ割り当て手段
207によって受信データを割り当てられた中央処理装
置10からの受信要求を中央処理装置10へ完了通知す
る受信完了通知手段210、周辺装置30及び主記憶装
置40から構成されている。Referring to FIG. 1, one embodiment of the present invention includes a central processing unit 10, an initial setting requesting means 101 for requesting the peripheral control device 20 from the central processing unit 10 to initialize the peripheral control device 20, and a central processing Reception request means 102 requests reception from the peripheral control device 20 from the device 10, peripheral control device 20, reception buffer 201, initial setting to initialize the inside of the peripheral control device 2 in response to an initial setting request from the central processing unit IO. means 202, receiving means 203 for issuing a reception request to the peripheral device 230 using the reception buffer 201 in the peripheral control device 20 at the time of initialization and when receiving data from the peripheral device 30; Reception data holding means 204 that holds the received data from the peripheral device 3°, reception request 205 issued from the central processing bag 210, and reception request holding means 206 that holds the reception request 205 issued from the central processing unit 10. , a received data allocating means 207 that allocates the received data held by the received data holding means 204 to the received request 205 activated by the received data holding means 204 and the received request holding means 206 and held by the received request holding means 206; A transfer unit 208 that transfers the received data notified by the data allocation unit 207 onto the main storage device f40, and a receive buffer return unit that transfers the received data and returns the unnecessary receive buffer after the transfer is completed by the transfer hand jf208. means 209, reception completion notification means 210 for notifying the central processing unit 10 of completion of a reception request from the central processing unit 10 to which received data has been allocated by the reception data allocation means 207 after the reception buffer return means 209 is issued; It is composed of a storage device 40.
次に本発明の動作について、第1図〜第4図を参照して
説明する。Next, the operation of the present invention will be explained with reference to FIGS. 1 to 4.
まず、中央処理装置10から周辺制御装置20に対して
初期設定要求手段lO1を使用して周辺制御装置20の
初期設定を要求すると、周辺制御装置20において初期
設定手段202が動作して周辺制御装置20内を初期設
定し、その延長で周辺制御装置20内の受信バッファ2
01を使用して周辺装置30に対して受信要求を発行す
る受信手段203を実行する、これによって周辺装置3
0からのデータ受信が可能になる。First, when the central processing unit 10 requests the peripheral control device 20 to initialize the peripheral control device 20 using the initial setting requesting means lO1, the initial setting means 202 operates in the peripheral control device 20, and the peripheral control device 20, and by extension, receive buffer 2 in peripheral control device 20.
01 to issue a reception request to the peripheral device 30, thereby causing the peripheral device 3
It becomes possible to receive data from 0.
また、周辺制御装置20が周辺装置30から受信手段2
03で受信バッファ201にデータ受信した場合には、
周辺制御装置20は、受信バッファ201を受信データ
保持手段204によって一旦周辺制御装置20内に保持
し、受信データ割り当て手段207を起動する。Further, the peripheral control device 20 receives the reception means 2 from the peripheral device 30.
When data is received in the reception buffer 201 at 03,
The peripheral control device 20 temporarily holds the reception buffer 201 in the peripheral control device 20 by the reception data holding means 204, and activates the reception data allocation means 207.
また、中央処理装置lOが周辺制御装置20に対して受
信要求手段102を使用して受信を要求すると、周辺制
御装置f20は、中央処理装置10からの受信要求20
5を受信要求保持手段206によって周辺制御装置20
内に保持し、受信データ割り当て手段207を起動する
。Further, when the central processing unit lO requests the peripheral control device 20 to receive data using the reception request means 102, the peripheral control device f20 receives the reception request 20 from the central processing device 10.
5 is received by the peripheral control device 20 by the receiving request holding means 206.
The received data allocation means 207 is activated.
ここで、周辺制御装置20が周辺装置30からデータ受
信した場合及び周辺制御装置20が中央処理装置10か
ら受信要求205を受けた場合に起動される受信データ
割り当て手段207は、中央処理装置f10からの受信
要求205及び周辺袋W30からデータ受信した受信バ
ッファ201の両方が周辺制御装[20内に保持されて
いるかを調べ、両方とも保持されていた場合には中央処
理装置1θからの受信要求205に周辺装置30からデ
ータ受信した受信バッファ201を割り当て、転送手段
208を起動する。Here, the received data allocation means 207, which is activated when the peripheral control device 20 receives data from the peripheral device 30 and when the peripheral control device 20 receives the reception request 205 from the central processing unit 10, receives data from the central processing unit f10. It is checked whether both the reception request 205 and the reception buffer 201 that received data from the peripheral bag W30 are held in the peripheral control unit 20, and if both are held, the reception request 205 from the central processing unit 1θ is checked. The receiving buffer 201 that receives data from the peripheral device 30 is allocated to the transfer means 208, and the transfer means 208 is activated.
受信データ割り当て手段207によって起動された転送
手段208は、受信バッファ201の内容を主記憶装置
40上に転送し、受信バッファ返却手段209を起動す
る。転送手段208によって起動された受信バッファ返
却手段209は、受信データを転送し不要となった受信
バッファを次の受信手段203で使用できるように返却
し、受信完了通知手段210を起動する。受信バッファ
返却手段209によって起動された受信完了通知手段2
10は受信バッファ201を受信データ割り当て手段2
07によって割り当てられた中央処理装置10からの受
信要求205を中央処理装置10へ完了通知する。The transfer means 208 activated by the reception data allocation means 207 transfers the contents of the reception buffer 201 onto the main storage device 40, and activates the reception buffer return means 209. The reception buffer return means 209 activated by the transfer means 208 transfers the received data and returns the unnecessary reception buffer so that it can be used by the next reception means 203, and activates the reception completion notification means 210. Reception completion notification means 2 activated by reception buffer return means 209
10, the reception buffer 201 is connected to the reception data allocation means 2;
The reception request 205 from the central processing unit 10 assigned by 07 is notified of completion to the central processing unit 10.
受信データ割り当て手段207で中央処理装置10から
の受信要求205及び周辺装置30からデータ受信した
受信バッファ201の片方もしくは両方がなかった場合
には、受信データ割り当て手段207は何もせず終了し
、周辺制御装置F20は次の中央処理装置10の受信要
求手段101の起動または周辺装置30からのデータの
受信を持つことによって周辺袋。If the reception data allocation means 207 does not have one or both of the reception request 205 from the central processing unit 10 and the reception buffer 201 that received data from the peripheral device 30, the reception data allocation means 207 ends without doing anything, and the peripheral The control device F20 then activates the reception requesting means 101 of the central processing unit 10 or receives data from the peripheral device 30, thereby receiving peripheral processing.
置30の受信制御手段を実現している。The reception control means of the station 30 is realized.
発明の詳細
な説明したように、本発明によれば、周辺制御装置の初
期設定時及び周辺装置からデータ受信時に周辺制御装置
内の受信バッファを使用して周辺装置に対して受信要求
を発行できるようにし、更に、周辺装置からの受信デー
タを周辺制御装置に保持できるようにし、中央処理装置
からの受信要求とは非同期で周辺制御装置から周辺装置
に受信要求を発行できるようにすることにより、中央処
理装置の負荷が増えた場合でも周辺制御装置に対して受
信要求が発行されるので周辺装置からの受信データが周
辺制御装置で受信できないということがなく、中央処理
装置側でのデータ抜けが発生するということがなくなる
。As described in detail, according to the present invention, it is possible to issue a receive request to a peripheral device using a receive buffer in the peripheral control device when initializing the peripheral control device and when receiving data from the peripheral device. Furthermore, by making it possible for the peripheral control device to hold received data from the peripheral device, and by making it possible for the peripheral control device to issue a receive request to the peripheral device asynchronously with the receive request from the central processing unit, Even if the load on the central processing unit increases, a reception request is issued to the peripheral control unit, so there is no possibility that the peripheral control unit cannot receive data received from the peripheral, and data loss on the central processing unit side is prevented. It will no longer occur.
第1図は本発明の一実施例を示す全体ブロック構成図、
第2図は中央処理装置から初期設定要求手段が発行され
たときの処理構成図、第3図は中央処理装置から受信要
求手段が発行されたときの処理構成図、第4図は周辺装
置から受信データを受信したときの処理構成図である。
lO・・・中央処理装置、20・・・周辺制御装置、3
0・・・周辺装置、40・・・主記憶装置、101・・
・初期設定要求手段、102・・・受信要求手段、20
1・・・受信バッファ、202・・・初期設定手段、2
03・・・受信手段、204・・・受信データ保持手段
、205・・・受信要求、206・・・受信要求保持手
段、207・・・受信データ割り当て手段、208・・
・転送手段、209・・・受信バッファ返却手段、21
0・・・受信完了通知手段FIG. 1 is an overall block configuration diagram showing an embodiment of the present invention;
Fig. 2 is a processing block diagram when an initial setting request means is issued from the central processing unit, Fig. 3 is a processing block diagram when a reception request means is issued from the central processing unit, and Fig. 4 is a processing block diagram when a reception request means is issued from the central processing unit. FIG. 3 is a processing configuration diagram when receiving data is received. lO...Central processing unit, 20...Peripheral control device, 3
0...Peripheral device, 40...Main storage device, 101...
- Initial setting requesting means, 102...reception requesting means, 20
1... Reception buffer, 202... Initial setting means, 2
03...Reception means, 204...Reception data holding means, 205...Reception request, 206...Reception request holding means, 207...Reception data allocation means, 208...
・Transfer means, 209...Reception buffer return means, 21
0...Reception completion notification means
Claims (1)
るシステムにおいて、中央処理装置から周辺制御装置に
対して周辺制御装置の初期設定を要求する初期設定要求
手段と、中央処理装置からの初期設定要求で周辺制御装
置内を初期設定する初期設定手段と、初期設定時及び周
辺装置から受信データを受けたときに周辺制御装置内の
受信バッファを使用して周辺装置に対して受信要求を発
行する受信手段と、該受信手段によつて受信した周辺装
置からの受信データを保持する受信データ保持手段と、
中央処理装置から周辺制御装置に対して受信を要求する
受信要求手段と、中央処理装置から発行された受信要求
を保持する受信要求保持手段と、前記受信データ保持手
段及び受信要求保持手段によつて起動され該受信要求保
持手段によって保持されている受信要求に前記受信デー
タ保持手段によって保持されている受信データを割り当
てる受信データ割り当て手段と、該受信データ割り当て
手段によって通知された受信データを主記憶上に転送す
る転送手段と、受信データが該転送手段によって転送完
了後に受信データを転送し不要となった受信バッファを
返却する受信バッファ返却手段と、該受信バッファ返却
手段を発行後に前記受信データ割り当て手段によって受
信データを割り当てられた中央処理装置からの受信要求
を中央処理装置へ完了通知する受信完了通知手段とを有
することを特徴とする周辺装置の受信制御方式。In a system in which a central processing unit controls a peripheral device via a peripheral control device, an initial setting request means for requesting initial settings of the peripheral control device from the central processing unit to the peripheral control device; Initial setting means for initializing the inside of the peripheral control device based on a request, and issuing a reception request to the peripheral device using a receive buffer in the peripheral control device during initial setting and when receiving data from the peripheral device. a receiving means; a received data holding means for holding received data from a peripheral device received by the receiving means;
A reception request means for requesting reception from the central processing unit to the peripheral control device, a reception request holding means for holding the reception request issued from the central processing unit, and the received data holding means and the reception request holding means. a received data allocating means that allocates the received data held by the received data holding means to the received request that is activated and is held by the received request holding means; a transfer means for transferring the received data to the transfer means; a reception buffer return means for transferring the received data and returning the unnecessary reception buffer after the transfer of the received data is completed by the transfer means; and the reception data allocation means after issuing the reception buffer return means. 1. A reception control method for a peripheral device, comprising reception completion notification means for notifying the central processing unit of completion of a reception request from a central processing unit to which reception data has been allocated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21467089A JPH0378065A (en) | 1989-08-21 | 1989-08-21 | Reception control system for peripheral device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21467089A JPH0378065A (en) | 1989-08-21 | 1989-08-21 | Reception control system for peripheral device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0378065A true JPH0378065A (en) | 1991-04-03 |
Family
ID=16659627
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21467089A Pending JPH0378065A (en) | 1989-08-21 | 1989-08-21 | Reception control system for peripheral device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0378065A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100399260B1 (en) * | 2001-05-22 | 2003-09-26 | 김덕성 | Magnification convertible lens holder for measurement and diagnosis |
| US6784240B2 (en) | 2000-01-28 | 2004-08-31 | Kaneka Corporation | Curable composition |
-
1989
- 1989-08-21 JP JP21467089A patent/JPH0378065A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6784240B2 (en) | 2000-01-28 | 2004-08-31 | Kaneka Corporation | Curable composition |
| KR100399260B1 (en) * | 2001-05-22 | 2003-09-26 | 김덕성 | Magnification convertible lens holder for measurement and diagnosis |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02144727A (en) | Data communication | |
| JPH0378065A (en) | Reception control system for peripheral device | |
| JPH0685867A (en) | Remote power-on control method | |
| JP3176199B2 (en) | Server client system | |
| JPH0444291B2 (en) | ||
| JP2961542B2 (en) | Data processing system | |
| JPH06161951A (en) | Bus control system | |
| JP2664827B2 (en) | Real-time information transfer control method | |
| JP2898985B2 (en) | Image processing method | |
| JPH01229357A (en) | Data supplying/receiving method among plural processors | |
| JPS62200839A (en) | Link unit for programmable controller | |
| JPS5989056A (en) | Data transmission system | |
| JPH04274524A (en) | System for controlling inter-process communication | |
| JPS6027427B2 (en) | Data buffer control method | |
| JPS61262955A (en) | Buffer control system for communication controlling equipment | |
| JPH03235152A (en) | Bus control system | |
| JPS63237156A (en) | Picture input processing system | |
| JPS61271555A (en) | Transferring system for direct memory access | |
| JPH0251740A (en) | Control system for process allocation | |
| JPH0226904B2 (en) | ||
| JPH05303524A (en) | Buffer control system | |
| JPH03230249A (en) | Data transfer system using shared memory | |
| JPH05173926A (en) | Peripheral device connection system | |
| JPH01251267A (en) | Data transfer system | |
| JPS58142465A (en) | Data transferring and processing device |