JPS6154555A - Buffer control system - Google Patents

Buffer control system

Info

Publication number
JPS6154555A
JPS6154555A JP17603084A JP17603084A JPS6154555A JP S6154555 A JPS6154555 A JP S6154555A JP 17603084 A JP17603084 A JP 17603084A JP 17603084 A JP17603084 A JP 17603084A JP S6154555 A JPS6154555 A JP S6154555A
Authority
JP
Japan
Prior art keywords
register
data
channel
storage device
transfer
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.)
Granted
Application number
JP17603084A
Other languages
Japanese (ja)
Other versions
JPH0439701B2 (en
Inventor
Seiichi Shimizu
誠一 清水
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17603084A priority Critical patent/JPS6154555A/en
Publication of JPS6154555A publication Critical patent/JPS6154555A/en
Publication of JPH0439701B2 publication Critical patent/JPH0439701B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To cope with a high data input/output speed of a channel processor by providing a 2-stage register corresponding to each channel between a register of each channel and a common buffer memory and setting the data width of the 2-stage register at the value equal to the word width of each access of the buffer memory. CONSTITUTION:For data input, the 1-byte data received by a register 3 is transferred by a control part 12 to the sequential byte position of a register 10. The dta on the register 10 is transferred to a register 11 every byte through a control part 13 serving as the 1st common transfer mechanism. When four bytes are transferred to the register 11, the 4-byte data of the register 11 is written on a buffer memory 6 through a control part 14 serving as the 2nd common transfer mechanism. For data output, the 4-byte data is read out of the memory 6 by the part 14 and transferred to the register 11. Then the part 13 transfers the data every byte to the register 10, and the part 12 sets this data every byte to the register 3 from the register 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1ff 部処理システムのチャネル処理装置に
係り、特にチャネル処理装置の入出力データを保持する
バッファ記憶装置と各チャネルとの間のデータ転送を制
御するためのバッファ制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a channel processing device of a 1FF processing system, and particularly relates to a channel processing device for a 1FF processing system, and in particular, data between a buffer storage device that holds input/output data of the channel processing device and each channel. This invention relates to a buffer control method for controlling transfer.

情報処理システムの周辺装置又は入出力装置はチャネル
に接続され、複数のこのようなチャネルを制御し、中央
処理装置及び主記憶装置と接続するように構成された装
置はチャネル処理装置等と呼ばれる。
Peripheral devices or input/output devices of an information processing system are connected to channels, and a device configured to control a plurality of such channels and connect with a central processing unit and a main storage device is called a channel processing device or the like.

チャネル処理装置には、各チャネルと主記憶装置との間
で入出力されるデータを転送過程でバッファするための
記憶機能として、複数のチャネルに共通のバッファ記憶
装置を設けることがある。
A channel processing device may be provided with a common buffer storage device for a plurality of channels as a storage function for buffering data input/output between each channel and a main storage device during a transfer process.

〔従来の技術〕[Conventional technology]

第2図は、前記のようなバッファ記1.α装置を有する
チャネル処理装置の+#を成図である。
FIG. 2 shows the buffer description 1. 1 is a schematic diagram of a channel processing device having an α device;

各チャネルの入出力装置等との間で、データ転送線1及
び2により転送されるデータは、通常1〜2ハイド程度
のデータ幅を有するので、その幅に応じて例えば1バイ
トのレジスタ3に出力データをセットして転送線1に送
出し、又は転送線2からの人力データを受信する。
The data transferred between the input/output devices of each channel through the data transfer lines 1 and 2 usually has a data width of about 1 to 2 hides, so depending on the width, for example, the data is stored in the 1-byte register 3. Set output data and send it to transfer line 1, or receive manual data from transfer line 2.

受信動作においては、レジスタ3にデータを受信すると
、これをレジスタ4に転送してレジスタ3を次のデータ
を受信する状態とする。
In the receiving operation, when data is received in the register 3, it is transferred to the register 4, and the register 3 is placed in a state for receiving the next data.

レジスタ4に受信データがセントされると、バッファ制
御部5に転送要求信号を発するので、バッファ制御部5
はそれに応じてレジスタ4のデータを、ハソファ記tα
装置6に格納する処理を開始する。
When the received data is sent to the register 4, a transfer request signal is issued to the buffer control unit 5.
corresponds to the data in register 4,
The process of storing data in the device 6 is started.

バッファ記憶装置6は、通常主記憶装置のアクセス4′
!−位等を考慮したデータ幅の語をアクセス単位i位と
して構成され、4〜8バイト程度のデータ幅を有するの
で、バッファ制御部5はバッファ記憶装置6の1語を読
み出して、受信データを適当なバイト位置に配置して占
込む。
The buffer storage device 6 is normally used for main storage access 4'.
! The access unit is composed of a word with a data width that takes into account the - place, etc., and has a data width of about 4 to 8 bytes, so the buffer control unit 5 reads one word from the buffer storage device 6 and receives the received data. Place it at an appropriate bite position and occupy it.

データを出力しているチャネルにおいては、レジスタ3
のデータを転送線1に送出すると、次の送出データをレ
ジスタ4からレジスタ3へ転送するので、その時点でバ
ッファ制御部5に転送要求信号を発する。
For channels outputting data, register 3
When the next data is sent to the transfer line 1, the next data to be sent is transferred from the register 4 to the register 3. At that point, a transfer request signal is issued to the buffer control unit 5.

バッファ制御部5はバッファ記憶装置6の該当データ語
を読み出し、その中の1バイトを、要求のあったレジス
タ4にセットする。
The buffer control unit 5 reads the corresponding data word from the buffer storage device 6 and sets one byte therein in the requested register 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前記の従来方式によれば、各チャネルの例えば1バイト
送信又は受信ごとに、バッファ記憶装置6にアクセスを
要するので、チャネル数が増加するとバッファ記憶装置
6のアクセス負荷の大きさが問題になってくる。
According to the above-mentioned conventional method, the buffer storage device 6 must be accessed every time, for example, one byte is transmitted or received on each channel. Therefore, as the number of channels increases, the size of the access load on the buffer storage device 6 becomes a problem. come.

この負荷を減少するために、前記方式におけるレジスタ
3.4のハイド幅を増加する方式があるが、各チャネル
の制御が?JJ ’l(Cになるという問題がある。
In order to reduce this load, there is a method of increasing the hide width of register 3.4 in the above method, but is it possible to control each channel? JJ'l(There is a problem that it becomes C.

又バッファ制御部5によるチャネルのサービスはランダ
ムに各チャネルから発生する要求を処理する方式である
が、このような方式では近年周辺装置のデータ入出力速
度の増大に対処して採用されている、データバイト列の
連続転送方式に対しては、バッファ記憶装置6及びバッ
ファ制御部5の処理能力を、平均の所要処理能力に比較
して十分に余裕のある能力に設定しておかないと、デー
タの喪失ないしは再転送の機会を多くするという問題が
ある。
In addition, the channel service by the buffer control unit 5 is a method of randomly processing requests generated from each channel, but this method has been adopted in recent years to cope with the increase in data input/output speed of peripheral devices. For the continuous transfer method of data byte strings, the processing capacity of the buffer storage device 6 and buffer control unit 5 must be set to a capacity with sufficient margin compared to the average required processing capacity. There is a problem in that it increases the chances of loss or retransmission.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

前記の問題点は、袂故のチャネルと、該チャネルにより
入出力するデータを保持する共通のバッファ記憶装置と
を存するチャネル処理装置において、該チャネルと該バ
ッファ記憶装置との間に、各チャネルに対応して設けら
れ、該バッファ記憶装置のアクセス単位のデータ幅と同
一のデータ幅を存する第1及び第2のレジスタ、該第1
のレジスタと第2のレジスタとの間のデータ転送を上記
入出力データに等しい転送データ幅をip、位として実
行する第1の共通転送機構、及び該第2のレジスタと上
記バッファ記憶装置との間のデータ転送を該バッファ記
憶装置のアクセスii1位データ幅を単位として実行す
る第2の共通転送機構を有し、該第1及び第2の共通転
送機構はそれぞれ、各チャネルに固定的に割り当てられ
たタイミングにおいて該チャネルに対する上記データ転
送を処理するように構成された本発明のハソファ制?1
1方式によって解決される。
The problem described above is that in a channel processing device that includes a secondary channel and a common buffer storage device that holds data to be input/output by the channel, there is a first and second registers provided correspondingly and having the same data width as the data width of the access unit of the buffer storage device;
a first common transfer mechanism that performs data transfer between the register and the second register with a transfer data width equal to the input/output data in ip, and a transfer mechanism between the second register and the buffer storage device; a second common transfer mechanism that executes data transfer between accesses and data widths of the buffer storage device in units of access ii first data width, and the first and second common transfer mechanisms are each fixedly allocated to each channel. 2. The system of the present invention is configured to process the data transfer for the channel at the specified timing. 1
This problem can be solved by one method.

〔作用〕[Effect]

即ち、前記の各チャネルのレジスタ3と、共通のバッフ
ァ記憶装置6との間に、各チャネルに対応した2段のレ
ジスタを設け、レジスタのデータ幅をバッファ記憶装置
6のアクセス単位の語幅に等しくする。
That is, a two-stage register corresponding to each channel is provided between the register 3 of each channel and the common buffer storage device 6, and the data width of the register is set to the word width of the access unit of the buffer storage device 6. Make equal.

このようにして、レジスタ3と第1のレジスタとの間、
及び第1のレジスタと第2のレジスタとの間はレジスタ
3と同じ例えば1ハイドのデータ幅で転送し、第2のレ
ジスタとバッファ記=1.α装置6との間は、該記憶装
置のアクセス幅で転送をする。
In this way, between register 3 and the first register,
The data width between the first register and the second register is the same as that of register 3, for example, 1 hide, and the data width between the second register and the buffer is 1. Transfer with the α device 6 is performed using the access width of the storage device.

以上の11季成で、各転送を固定タイミングの時分割制
御方式で行うことにより、バッファ記憶装置6のデータ
人出力性能を完全に利用するまての処理11ヒカを有す
るハソファ制御を経済的に実現することができる。
By performing each transfer using a time-sharing control method with fixed timing, the data output performance of the buffer storage device 6 can be fully utilized. It can be realized.

〔実施例〕〔Example〕

第1図(alば本発明の一実施例における、1チヤネル
に対応する部分の構成を示ずブロック図である。
FIG. 1 is a block diagram that does not show the configuration of a portion corresponding to one channel in an embodiment of the present invention.

本例では、転送線1.2による入出力装置との間のデー
タ転送単位を1バイトとし、バッファ記憶装置6におけ
るアクセス単位の語幅は・1ハイドとする。
In this example, the unit of data transfer between the input/output device via the transfer line 1.2 is 1 byte, and the word width of the access unit in the buffer storage device 6 is 1 hide.

この前提により、第1のレジスタ10及び第2のレジス
タ11は4ハイド幅とする。
Based on this premise, the first register 10 and the second register 11 have a width of 4 hides.

データ入力動作においては、レジスタ3に受信した1バ
イトデータを制御部12がレジスタ10の順次のバイト
位置に転送し、レジスタ10のデータを第1の共通転送
機構である制御部13が1バイトごとにレジスタ11へ
転送し、レジスタ11に4バイト転送されたタイミング
において、第2の共通転送機構である制御部14がレジ
スタ11の4ハイ1〜データをバッファ記1σ装置6に
書込む。電データ出力動作においては、制御部14がバ
ッファ記1意装置6から4ハイドデータを読み出してレ
ジスタIIに転送すると、制御部13が1ハイドづつレ
ジスタ10に転送し、それを制御部12がレジスタ10
から1ハイドづつレジスタ3ヘセソトすることによりデ
ータバイトの送出が行われる。
In the data input operation, the control unit 12 transfers 1-byte data received in the register 3 to sequential byte positions in the register 10, and the control unit 13, which is the first common transfer mechanism, transfers the data in the register 10 one byte at a time. At the timing when 4 bytes are transferred to the register 11, the control unit 14, which is the second common transfer mechanism, writes the 4 high 1 to data of the register 11 to the buffer memory 1σ device 6. In the electric data output operation, when the control section 14 reads 4 hide data from the buffer memory unit 6 and transfers it to the register II, the control section 13 transfers it to the register 10 one hide at a time, and the control section 12 transfers it to the register II. 10
The data bytes are sent out by loading the register 3 one hide at a time.

制御部15は各チャネルにおいて、転送綿1又は2によ
る入出力装置とレジスタ3との間のデータ転送を制御す
る部分である。
The control unit 15 is a part that controls data transfer between the input/output device and the register 3 using the transfer wire 1 or 2 in each channel.

制御部12.13.14はチャネルに共通の制御部分で
あって、次に例示するようなタイミングにより時分割的
に各チャネルのデータ転送を順次制御する。
The control units 12, 13, and 14 are control units common to the channels, and sequentially control data transfer of each channel in a time-sharing manner at timings as illustrated below.

例えば制御部12及び13は4チヤネルに対して共通に
設けられ、制御部14ば16チヤネルに対して共通に設
けられ、バッファ記憶装置6はこの■6チヤネルに共用
される構成として、第1図(blにデータ出力、(C1
にデータ入力動作の場合の制御タイミングを示す。
For example, the control sections 12 and 13 are provided in common for 4 channels, the control section 14 is provided in common for 16 channels, and the buffer storage device 6 is provided in common for 6 channels, as shown in FIG. (Data output to bl, (C1
shows the control timing for data input operation.

これらの図は上記16チヤネルのうぢの、特定の1組の
制御部12.13を共用する4チヤネルのみを取り出し
て示し、太線は各制御;[j部がI又は4バイトを転送
する期間を示している。太線上の数字はそのタイミング
でサービスされるチャネルの番号(この場合0〜3)を
示すものとする。
These figures show only the 4 channels that share a specific set of control units 12 and 13 among the 16 channels mentioned above, and the bold lines indicate each control; It shows. The numbers on the thick line indicate the number of the channel (0 to 3 in this case) that is served at that timing.

なお、制御部14の動作タイミングには、異なる11a
J a11部12.13の制御下のチャネルであるチャ
ネル番号5〜15をサービスするタイミングも破線によ
り示しである。
Note that the operation timing of the control unit 14 is different from 11a.
The timing for servicing channel numbers 5 to 15, which are channels under the control of the J a11 unit 12.13, is also indicated by dashed lines.

これらのタイミング図により明らかなように、固定的に
各チャネルにタイミングを割り当てる方式により、ザー
ビス要求の競合を制御する必要がなくなり、且つ制御部
14の動作に示されるように、バッファ記憶装置6の性
能を完全に利用するようにすることができる。
As is clear from these timing diagrams, the method of fixedly assigning timing to each channel eliminates the need to control conflicting service requests, and as shown in the operation of the control unit 14, the buffer storage device 6 Performance can be fully utilized.

なお、レジスタ10をレジスタ11と同じ4ハイド幅と
したのは、転送線1又は2上のデータ転送動作と、上記
の各部のバッファ制御タイミングとの位相ずれ(例えば
入力動作において、制御部14がレジスタ11のデータ
を書き込もうとするタイミングに、レジスフ1工に3ハ
イドしか転送されていないようなタイミング位相関係)
をカバーするためである。
Note that the reason why the register 10 has the same 4-hide width as the register 11 is due to the phase shift between the data transfer operation on the transfer line 1 or 2 and the buffer control timing of each part mentioned above (for example, in the input operation, the controller 14 (The timing phase relationship is such that only 3 hides are transferred to register 1 at the time when data in register 11 is to be written.)
This is to cover.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように本発明によれば、チャネ
ル処理装置のデータ人出力の高速化に対処し得るバッフ
ァ制御力式が、経済的に実現されるという著しい工業的
効果がある。
As is clear from the above description, the present invention has a significant industrial effect in that a buffer control force formula that can cope with high-speed data output of a channel processing device can be realized economically.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)は本発明一実施例の構成ブロック図、第1
図(b)、(C)は本発明一実施例のタイミング図、第
2図は従来の構成の一例を示すブロック図である。 図において、 1.2ばデータ転送キ5)、3.4はレジスタ、5はバ
ッファ制御部、 6はバッファ記tα装置、10は第1
のレジスタ、 11は第2のレジスタ、12〜15は制
御部を示す。 代理人 弁理士  検量 宏四部 褒 r  I  @ 鉛) 茅 1 図 ζ−fA)
FIG. 1(a) is a block diagram of the configuration of one embodiment of the present invention.
FIGS. (b) and (C) are timing diagrams of an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a conventional configuration. In the figure, 1.2 is a data transfer key 5), 3.4 is a register, 5 is a buffer control unit, 6 is a buffer recording device, and 10 is a first
11 is a second register, and 12 to 15 are control units. Agent: Patent attorney: Compensation: Koshibu Award I @ Lead) Kaya 1 Figure ζ-fA)

Claims (1)

【特許請求の範囲】[Claims] 複数のチャネルと、該チャネルにより入出力するデータ
を保持する共通のバッファ記憶装置とを有するチャネル
処理装置において、該チャネルと該バッファ記憶装置と
の間に、各チャネルに対応して設けられ、該バッファ記
憶装置のアクセス単位のデータ幅と同一のデータ幅を有
する第1及び第2のレジスタ、該第1のレジスタと第2
のレジスタとの間のデータ転送を上記入出力データに等
しい転送データ幅を単位として実行する第1の共通転送
機構、及び該第2のレジスタと上記バッファ記憶装置と
の間のデータ転送を該バッファ記憶装置のアクセス単位
データ幅を単位として実行する第2の共通転送機構を有
し、該第1及び第2の共通転送機構はそれぞれ、各チャ
ネルに固定的に割り当てられたタイミングにおいて該チ
ャネルに対する上記データ転送を処理するように構成さ
れてなることを特徴とするバッファ制御方式。
In a channel processing device having a plurality of channels and a common buffer storage device for holding data input/output by the channels, a common buffer storage device is provided between the channels and the buffer storage device corresponding to each channel, first and second registers having the same data width as the data width of the access unit of the buffer storage device;
a first common transfer mechanism that executes data transfer between the register and the buffer storage device in units of a transfer data width equal to the input/output data; and a first common transfer mechanism that transfers data between the second register and the buffer storage device. It has a second common transfer mechanism that executes the access unit data width of the storage device as a unit, and the first and second common transfer mechanisms each perform the above-mentioned transfer for each channel at a timing fixedly assigned to each channel. A buffer control method configured to handle data transfer.
JP17603084A 1984-08-24 1984-08-24 Buffer control system Granted JPS6154555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17603084A JPS6154555A (en) 1984-08-24 1984-08-24 Buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17603084A JPS6154555A (en) 1984-08-24 1984-08-24 Buffer control system

Publications (2)

Publication Number Publication Date
JPS6154555A true JPS6154555A (en) 1986-03-18
JPH0439701B2 JPH0439701B2 (en) 1992-06-30

Family

ID=16006498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17603084A Granted JPS6154555A (en) 1984-08-24 1984-08-24 Buffer control system

Country Status (1)

Country Link
JP (1) JPS6154555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017027437A (en) * 2015-07-24 2017-02-02 株式会社デンソー Electronic device and vehicle diagnosis system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5276837A (en) * 1975-12-22 1977-06-28 Fujitsu Ltd Buffer register transfer control
JPS57109023A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Channel device
JPS58107937A (en) * 1981-12-22 1983-06-27 Fujitsu Ltd Channel controlling system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5276837A (en) * 1975-12-22 1977-06-28 Fujitsu Ltd Buffer register transfer control
JPS57109023A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Channel device
JPS58107937A (en) * 1981-12-22 1983-06-27 Fujitsu Ltd Channel controlling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017027437A (en) * 2015-07-24 2017-02-02 株式会社デンソー Electronic device and vehicle diagnosis system

Also Published As

Publication number Publication date
JPH0439701B2 (en) 1992-06-30

Similar Documents

Publication Publication Date Title
JP3688835B2 (en) Data storage system and data transfer method applied to the system
EP0464848B1 (en) Structure for enabling direct memory-to-memory transfer
JPS6154555A (en) Buffer control system
JPS6242306B2 (en)
JPH0149972B2 (en)
JP3225589B2 (en) Multi-channel multiplex communication controller
JPH0736806A (en) Dma system
JPS5936773B2 (en) Local burst transfer control method
SU590725A2 (en) Multiplex channel
JPH0426744B2 (en)
JPH02294755A (en) Data processor
JPS58181134A (en) Data transfer circuit
JPH05250310A (en) Data processor
JPS6028022B2 (en) input/output processing unit
JPH05173936A (en) Data transfer processing device
JPS6389951A (en) Cache memory device
JPH1185683A (en) Information processor
JPS60136853A (en) Data transfer system
JPS60241151A (en) Memory access controller
JPS6383854A (en) Data transfer circuit
JPH05158859A (en) Information processor
JPH064489A (en) Communication system among plural cpu
JPH0573473A (en) Industrial computer system
JPS6378260A (en) Input-output device controlling system
JPH01134654A (en) Information transferring system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees