JPH01156856A - Data transfer and control system - Google Patents

Data transfer and control system

Info

Publication number
JPH01156856A
JPH01156856A JP31406187A JP31406187A JPH01156856A JP H01156856 A JPH01156856 A JP H01156856A JP 31406187 A JP31406187 A JP 31406187A JP 31406187 A JP31406187 A JP 31406187A JP H01156856 A JPH01156856 A JP H01156856A
Authority
JP
Japan
Prior art keywords
data
field
data transfer
command
holding area
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
Application number
JP31406187A
Other languages
Japanese (ja)
Inventor
Takeshi Masuda
健 増田
Minoru Kimura
実 木村
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP31406187A priority Critical patent/JPH01156856A/en
Publication of JPH01156856A publication Critical patent/JPH01156856A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten data transfer time by reading data out of a data holding area shown in a 1st field and then writing this data in each data holding area shown in a 2nd field by an extent equal to a data transfer value shown in a 3rd field. CONSTITUTION:Command words 11-15 are read and held before the transfer of data is started. Thus a data transfer controller 41 can know the data transfer value written in the data protection area of a device holding transmission data received from a 1st field of a command word, in the data holding area of a device holding reception data received from a 2nd field, and in the data holding area of a device holding the reception data from a 3rd field respectively before the transfer of data is started. Thus the controller 41 can read and hold the data transferred from the data holding area shown in the 1st field and write said data in each data holding area shown in the 2nd field by an extent equal to the data transfer value shown in the 3rd field.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、内部にデータを保持する手段を持つ複数の装
置間のデータ転送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer control system between a plurality of devices having means for internally retaining data.

〔従来の技術〕[Conventional technology]

内部にデータを保持する手段を持つ装置としては、例え
ば中央処理装置や磁気ディスク制御装置などがあり、複
数の装置間のデータ転送を行なうデータ転送制御装置と
しては、従来、データチャネル装置などがある。このデ
ータチャネル装置を使ったデータ転送制御方式について
は、日本電偏電゛話公社編集、電気通イぎ共済会発行の
「D10形自l交換機、第8部、入出力系装置」に記載
されている。
Examples of devices that have means for internally retaining data include central processing units and magnetic disk control devices, and conventional data transfer control devices that transfer data between multiple devices include data channel devices. . The data transfer control method using this data channel device is described in "D10 type private switching equipment, Part 8, Input/output equipment" edited by Japan Electric Power Corporation and published by Dentsu Electric Co., Ltd. ing.

以下、データチャネル装置(DCH)Kおけるデータ転
送処理方式を例に説明する。
The data transfer processing method in the data channel device (DCH) K will be explained below as an example.

第4図に、中央処理装置(Pi(、E)とDCHとの間
の命令語、修飾語及び指令語の構成を示す。
FIG. 4 shows the structure of command words, modifier words, and command words between the central processing unit (Pi(,E)) and the DCH.

21はPREが実行するスタートIO命令の命令語であ
り、命令コードを示すOPフィールド、修飾アドレスを
算出するためにX2 、b 2 、d2フィールドなど
から構成される。22は命令語21の修飾語であり、D
C’Hのチャネルアドレス(CHA)フィールドと、デ
ータ転送の対象となる装置のIOアドレス(IOA)フ
ィールドとから構成される。25はDCHの詳細動作を
規定する指令語0(CCWO)であり、リード、ライト
等の入出力動作種類を示すコマンドコード(CMC)フ
ィールドと、チェーンコマンド等の動作バリエーション
を示すフラグ(FLG)フィールドなどから構成される
。24は指令語1(CCWl)であり、データ転送語数
を示すワードカクンタ(WC)フィールドと、P゛几E
内主記憶装置(MM)のデータ保持領域の先頭アドレス
を示すデータアドレス(DA)フィールドとから構成さ
れる。
Reference numeral 21 is an instruction word of the start IO instruction executed by the PRE, which is composed of an OP field indicating an instruction code, and fields X2, b 2 , and d2 for calculating a qualified address. 22 is a modifier of the command word 21, and D
It consists of a channel address (CHA) field of C'H and an IO address (IOA) field of the device to which data is transferred. 25 is a command word 0 (CCWO) that specifies detailed operations of the DCH, and includes a command code (CMC) field that indicates input/output operation types such as read and write, and a flag (FLG) field that indicates operation variations such as chain commands. Consists of etc. 24 is a command word 1 (CCWl), and a word cocunta (WC) field indicating the number of data transfer words and a P゛几E
The data address (DA) field indicates the start address of the data holding area of the internal main memory (MM).

上記、命令語21、修飾N22、指令語23及び241
CよるD CHのデータ転送制御方式では、1つのスタ
ー)IO命令は、PRE内のMMと、1つのIOAを持
つ装置との間のデータ転送を実行するものである。
Above, command word 21, modification N22, command word 23 and 241
In the DCH data transfer control method by C, one star) IO instruction executes data transfer between the MM in the PRE and the device with one IOA.

さらに、IO装置内のデータ保持領域の指定が必要な場
合は、別のスター)IO命令が必要である。
Furthermore, if it is necessary to specify a data holding area within the IO device, another star) IO instruction is required.

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

上記従来例における問題点を第5図忙示す装置構成例に
より説明する。
Problems in the above conventional example will be explained using an example of the device configuration shown in FIG.

第5図において、中央処理装置ft(P几E)31は中
央制御装置(CC)32と主記憶装置(MM)53とか
ら構成され、プロセッサパス34を介してデータチャネ
ル装置(DCH)35と接続されており、また入出力装
置(I OE ) 36,37.38がIOパス39を
介して1)CH35と接続されている。
In FIG. 5, a central processing unit ft(P几E) 31 is composed of a central control unit (CC) 32 and a main memory (MM) 53, and is connected to a data channel unit (DCH) 35 via a processor path 34. Input/output devices (I OE ) 36, 37, and 38 are also connected to 1) CH 35 via an IO path 39.

ここで、CC32がDCH35を使い、10E5611
C保持されているW語のデータをl0E57と、l0B
38にデータ転送する場合を考える。
Here, CC32 uses DCH35 and 10E5611
The data of the W word held in C is written as l0E57 and l0B.
Consider the case where data is transferred to 38.

従来例で説明したよう忙、DCH&Cよるデータ転送制
御方式では、1つのスタートIO命令はP1RB内のM
Mと1つの108間のデータ転送を実。
As explained in the conventional example, in the busy, DCH&C data transfer control method, one start IO command is
Actual data transfer between M and one 108.

行するものである。そこで先ず、CC32はDCH35
を使いl0E36に保持されたW語のデータをMM35
に転送させる。この転送が終了してから、次1CCC3
2はDCH35を使いMM55上の転送データをl0B
57KW語転送する。最後KCC32はDCH35を使
いMM35上のデータをl0g5aKW語転送する。
It is something that should be carried out. Therefore, first of all, CC32 is DCH35
The W word data held in l0E36 is transferred to MM35 using
transfer to. After this transfer is completed, the next 1CCC3
2 uses DCH35 to transfer data on MM55 to 10B
Transfer 57KW words. Finally, KCC32 uses DCH35 to transfer the data on MM35 in 10g5aKW words.

以上述べたような複数の108間のデータ転送を実施す
る場合、DCHを使ったデータ転送処理方式には、次に
示す問題点がある。
When performing data transfer between a plurality of 108s as described above, the data transfer processing method using the DCH has the following problems.

(1)  一般に、N個の108間のデータ転送を実施
するためにはN回以上のスターMO命令を実行する必要
がある。このため、スター)IO命令を実行する回数、
順番、及び実行間隔等をソフトウェアで管理する必要が
あり、ソフトウェア負担が大きい。
(1) Generally, in order to transfer data between N 108s, it is necessary to execute the star MO instruction N or more times. For this reason, the number of times to execute a star) IO instruction,
It is necessary to manage the order, execution interval, etc. with software, which places a large burden on the software.

(2)  複数のIOB間のデータ転送の場合、スター
トIO命令を出したPRE内のMMIC転送データをい
ったん曹き込む必要があり、MMをデータ転送媒体とし
て使用する。このため、データ転送量が多いほどMM上
のデータ転送媒体量が多く必要になる。
(2) In the case of data transfer between multiple IOBs, the MMIC transfer data in the PRE that issued the start IO command must be saved, and the MM is used as the data transfer medium. Therefore, the larger the amount of data transferred, the larger the amount of data transfer medium on the MM is required.

(3)  MM′f:データ転送媒体として使用するた
め、DCHはMMK対して行なうデータ書き込み及び読
み出し処理を必要とする。このため、DCHとMMを結
ぶパスの使用回数、使用時間、及びこれに伴うデー声転
送処理時間が増加する。
(3) MM'f: Since it is used as a data transfer medium, the DCH requires data writing and reading processing to be performed on the MMK. For this reason, the number of times the path connecting the DCH and the MM is used, the usage time, and the accompanying voice transfer processing time increase.

増加値はデータ転送量が多いほど大きい。The increase value increases as the amount of data transferred increases.

本発明の目的は、データ転送制御装置が複数の装置間の
データ転送を処理するに当り、ソフトウェアの負担を帳
<シ、データ転送制御装置以外のデータ転送媒体を使用
せず、またデータ転送制御装置内のデータ転送媒体量を
最小にでき、さらにデータ転送のためのパス使用回数を
最小とすることができ、データ転送処理時間を短くする
データ転送制御方式を提供すること忙ある。
An object of the present invention is to reduce the burden on software when a data transfer control device processes data transfer between a plurality of devices, to avoid using a data transfer medium other than the data transfer control device, and to control data transfer. There is an urgent need to provide a data transfer control method that can minimize the amount of data transfer media in a device, minimize the number of paths used for data transfer, and shorten data transfer processing time.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、データ転送を命令する装置と、データ転送
制御装置との間の指令語を、少な(とも送16′データ
が保持されている装置のデータ保持領域を示す第1フィ
ールドと、受信データを保持する複数の装置のデータ保
持領域を示す複数の第2フィールドと、この第2フィー
ルドに示される複数のデータ保持領域のそれぞれに転送
するデータ転送量を示す複数の第3フィールドとから構
成し、データ転送制御装置が該指令語を読み取り保持し
た後に、第1フィールドに示されたデータ保持領域から
データを読み取り保持した上で、該読み取り保持したデ
ータを第2フィールドに示されたデータ保持領域のそれ
ぞれに書き込む処理を第3フィールドに示されたデータ
転送量だけ実行することにより達成される。
The above purpose is to transmit a command word between a data transfer commanding device and a data transfer control device into a small number of fields (both the first field indicating the data holding area of the device in which sending data is held, and the receiving data It consists of a plurality of second fields indicating the data holding areas of the plurality of devices holding the data storage area, and a plurality of third fields indicating the amount of data to be transferred to each of the plurality of data holding areas indicated in the second field. , After the data transfer control device reads and holds the command word, reads and holds the data from the data holding area shown in the first field, and then transfers the read and held data to the data holding area shown in the second field. This is achieved by executing the process of writing to each of the data transfer amounts indicated in the third field.

〔作用〕[Effect]

データ転送命令を受けたデータ転送制御装置は、データ
転送を開始する前に前記指令語を読み取り保持する。こ
のため、データ転送制御装置は、データ転送を開始する
前K、指令語の第1フィールドから送信データを保持し
ている装置のデータ保護領域を、第2フィールドから受
イぎデータを保持する装置のデータ保持領域を、第3フ
ィールドから受信データを保持する装置のデータ保持領
域のそれぞれKWき込むデータ転送量を知ることができ
る。
The data transfer control device that receives the data transfer command reads and holds the command word before starting data transfer. For this reason, before starting data transfer, the data transfer control device transfers the data protection area of the device holding the transmitted data from the first field of the command word to the device holding the received data from the second field. From the third field, it is possible to know the amount of data transferred in each KW of the data holding area of the device that holds the received data.

これKより、データ転送制御装置は、第1フィールドに
示されたデータ保持領域から転送データを読み取り保持
した上で、この保持したデータを第2フィールドに示さ
れたデータ保持領域のそれぞれに−J’き込む処理を、
第3フィールドに示されたデータ転送量だけ実行するこ
とができる。
From this K, the data transfer control device reads and holds the transfer data from the data holding area indicated in the first field, and then transfers the held data to each of the data holding areas indicated in the second field. 'The process of importing
Only the data transfer amount indicated in the third field can be executed.

以上によりデータ転送−制御装置は複数の装置間のデー
タ転送を、1回の命令で実行でき、データ転送制御装置
以外のデータ転送媒体を使用せず、またデータ転送制御
装置内のデータ転送媒体証を最小にでき、さらにデータ
転送のためのパス使用−回゛数を少なくすることができ
、データ転送処理時間を短くすることができる。
As described above, the data transfer control device can transfer data between multiple devices with a single command, without using any data transfer medium other than the data transfer control device, and without using a data transfer medium certificate within the data transfer control device. Furthermore, the number of paths used for data transfer can be reduced, and the data transfer processing time can be shortened.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図〜第3図を用いて説明
する。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 3.

第1図に、本実施例における指令語構成を示す。FIG. 1 shows the command word structure in this embodiment.

11は指令語0 (CCWo )であり、データ転送?
ffl制御装置の動作種別を示すコマンドコード(CM
C)フィールドと、チェーンコマンド等の動作バリエー
ションを示すフラグ(FLG)フィールドと、受信デー
タを保持する領域数を示すアドレスワードカウンタ(A
WC)フィールドとから構成される。12は指令i1(
CCwl)であり、送信データを保持している装置の固
有の番号を示す装置番号0 (NCO)フィールドと、
NCOの装置内データ保持領域の先頭アドレスを示すデ
ータアドレス0(DAO)フィールドとから構成される
。13は指令語2(CCW2)であり、受信データを保
持する装置の固有の番号を示す装置番号1 (NC1)
フィールドと、NC1の装置内データ保持領域の先頭ア
ドレスを示すデータアドレス1(DAl)フィールドと
DAIK保持するデータ語数を示すデータワード力クン
タ1(f)WCl )フィールドとから構成される。1
4は指令語3(CCW3)であり、構成はCCW 2と
同じであり、以後15の指令語1十1(CCVVfL+
1 )まで同様である。
11 is the command word 0 (CCWo) and is the data transfer?
Command code (CM
C) field, a flag (FLG) field that indicates operation variations such as chain commands, and an address word counter (A) that indicates the number of areas that hold received data.
WC) field. 12 is the command i1 (
CCwl) and a device number 0 (NCO) field indicating the unique number of the device holding the transmitted data;
The data address 0 (DAO) field indicates the start address of the internal data holding area of the NCO. 13 is command word 2 (CCW2), and device number 1 (NC1) indicates the unique number of the device that holds the received data.
field, a data address 1 (DAl) field indicating the start address of the internal data holding area of the NC1, and a data word address 1 (WCl) field indicating the number of data words held in the DAIK. 1
4 is the command word 3 (CCW3), the structure is the same as CCW 2, and hereafter 15 command words 111 (CCVVfL+
The same applies up to 1).

第2図K、本実施例におけるデータ転送制御装置の構成
を示す。データ転送制御装置41は、マイクロプロセッ
サ(μPRC)42と、R,OMとR,AMを含む内部
メモリ(IM)45と、ファーストインファーストアウ
ト型メモリ(FIFO)44と、パスカプラA(BCA
)45と、パスカプラB(BCB)46と、内部パス4
7とから構成される。μPRC42と、IM43と、F
IFO44と、HCA45と、BCB46とは内部パス
47で接続されている。さらに、BCA45は外部のパ
スA48と、BCB46は外部のパスB49とそれぞれ
接続されている。BCA45は内部パス47とパスA4
8とのパス変換を行ない、BCB415は内部パス47
とパスB49とのバス変換を行なう。μP几C42はパ
スA48または、パスB89からのデータ転送命令によ
り配湯を受け、IM45忙保持されたプログラムに従い
動作する。
FIG. 2K shows the configuration of the data transfer control device in this embodiment. The data transfer control device 41 includes a microprocessor (μPRC) 42, an internal memory (IM) 45 including R, OM, and R, AM, a first-in-first-out memory (FIFO) 44, and a path coupler A (BCA).
) 45, path coupler B (BCB) 46, and internal path 4
It consists of 7. μPRC42, IM43, and F
The IFO 44, HCA 45, and BCB 46 are connected by an internal path 47. Further, the BCA 45 is connected to an external path A 48, and the BCB 46 is connected to an external path B 49. BCA45 has internal path 47 and path A4
8, BCB 415 converts to internal path 47.
Bus conversion between the path B49 and path B49 is performed. μP box C42 receives hot water in response to a data transfer command from path A48 or path B89, and operates according to the program stored in IM45.

今、中央処理装置(PRE)が1つの装置alK保持さ
れた送信データを複数の装置のn個のデータ保持領域K
、送信データの先頭から、それぞれ任意の語数だけ転送
したい場合を考える。ただし、PRE及び複数の装置は
パスA48またはパスB49のいずれかに接続されてい
るとする。
Now, the central processing unit (PRE) transfers the transmission data held in one device alK to n data holding areas K of multiple devices.
, consider the case where you want to transfer an arbitrary number of words from the beginning of the transmission data. However, it is assumed that the PRE and the plurality of devices are connected to either path A48 or path B49.

pRg、は第1図に示す指令語において、上記データ転
送種別を示す2oコマンドをCMCフィールドに設定し
、受イぎデータ保持領域数九をAWCフィールドに設定
する。次に1送信装置番号をNCOフィールドに、送信
装置内データ保持領域をDAOフィールドに設定する。
pRg, in the command word shown in FIG. 1, sets the 2o command indicating the data transfer type in the CMC field, and sets the number of received data holding areas 9 in the AWC field. Next, 1 transmitting device number is set in the NCO field, and the data holding area in the transmitting device is set in the DAO field.

さらに、1つの受信装置番号をNC1フィールドに、こ
の受信装置内データ保持領域t−DA1フィールドに、
このデータ保持領域に転送するデータ語数をDWC1フ
ィールドにそれぞれ設定する。池の9L−1の受信デー
タ保持領域についても同様に設定する。本実施例ではF
LGフィールドはノーオペレーション(NOP )であ
る。PR,Eはこれらの指令語をPRE内主記憶装置t
(MM)上に保持した後、データ転送制御装置41にデ
ータ転送命令を送出する。
Furthermore, one receiving device number is written in the NC1 field, and the data holding area t-DA1 field in this receiving device is written.
The number of data words to be transferred to this data holding area is set in the DWC1 field. The received data holding area of pond 9L-1 is similarly set. In this example, F
The LG field is a no-operation (NOP). PR, E stores these command words in the main memory t in PRE.
(MM) and then sends a data transfer command to the data transfer control device 41.

データ転送命令を受けたデータ転送制御装置では、μP
R,C42が起動される。μP几C42は、工M43に
保持されたプログラムに従い動作する。このプログラム
の動作フローチャートを第3図に示す。以下第3図の動
作フローチャートに従い、データ転送制御装[41の動
作を説明する。
In the data transfer control device that received the data transfer command, μP
R, C42 is activated. The μP unit C42 operates according to the program held in the unit M43. An operational flowchart of this program is shown in FIG. The operation of the data transfer control device [41] will be explained below according to the operation flowchart of FIG.

起動を受けたμPRC42は、はじめにPRE内MMか
らc c w o anとCCWl(13を読み出しI
M46に保持する。次に、CCWounのAWCフィー
ルドの内容をラベルLで示されるIM43上の領域に退
避した後、AWCフィールドに示されたルだけM Mか
らひきつづ<CCWを読み出し、次々にFI)’044
にライトしてお(。ここで、P I F’ 044に1
3Fき込まれたCCWはすべて受信データ保持領域を示
したCCW2(13以降のものである。またラペ、ルL
はFIFO44に入っているCCW語数を示している。
The μPRC 42 that has been activated first reads c c w o an and CCWl (13) from the MM in the PRE.
Hold at M46. Next, after saving the contents of the AWC field of CCWoun to the area on the IM43 indicated by the label L, only the number indicated in the AWC field is read out from M M, and one after another FI)'044
(Here, write 1 to P I F' 044.
All of the CCWs written into 3F are CCW2 (13 or later) that indicate the received data holding area.
indicates the number of CCW words stored in the FIFO 44.

全てのCCWをMMから読み出し終った後、CCWO(
111のCMCフィールドの内容を判別し各コマンド処
理に分岐する。今、CMCフィールドには1oコマンド
が入っているため、fiflコマンド処理に分岐する。
After reading all CCWs from MM, CCWO(
111 and branches to each command process. Since the CMC field now contains the 1o command, the process branches to fifl command processing.

もしL1コマンドが入っていたらL1コマンド処理に分
岐する。
If an L1 command is included, the process branches to L1 command processing.

1、oコマンド処理に入ると、すぐにラペルシの内容0
0判定を行なう。もし0であればPIFO44に入って
いるCCWがないことを示しているため、10コマンド
処理終了とみなし終了報告処理に入る。
1. When entering o command processing, the contents of La Persie are immediately set to 0.
Performs 0 judgment. If it is 0, it indicates that there is no CCW in the PIFO 44, so it is assumed that the 10 command processing has been completed, and completion reporting processing begins.

今、ラベル↓の内容は九であり0でないため、CCW1
TJ2のNCOフィールドに示された装置のDAOフィ
ールドに示されたデータ保持領域から送信データを1語
読み取りIM4!lに保持した後、DAOフィールドの
内容を+1だけ更新する。そしてラベルjで示されるI
M43上の領域を0に初期設定する。ここでラベルjは
、この時点でPIFOK入っているCCWのうち、IM
43に保持した送信データをCCWが示す受信データ保
持領域に幡き込み終ったCCWの数を示す。
Now, since the content of label ↓ is 9 and not 0, CCW1
Read one word of the transmission data from the data holding area indicated in the DAO field of the device indicated in the NCO field of TJ2 IM4! After holding it at l, the contents of the DAO field are updated by +1. and I denoted by label j
Initialize the area on M43 to 0. Here, label j is the IM of the CCW that contains PIFOK at this point.
43 indicates the number of CCWs that have completed storing the transmitted data held in the received data holding area indicated by the CCW.

次にμPRC42は、FIFO44からCCWAを1語
読み出し、CCWAのDWCルフィールドの0判定を行
なう。0でなければCCWAのNCAフィールドに示さ
れる装置のDAAフィールドに示されたデータ保持領域
に、IM43に保持した送信データを嘗き込んだ後、D
AAフィールドの内容を+1だけ更新し、さらIcDW
cAフィールドの内容を−1だけ更新する。ここで再び
DWCAフィールドの0判定を行なう。0でなければ更
新したCCWAをPIF’044に再び書き込み、ラベ
ルjの内容を+1だけ更新する。ラベルjの更新は、F
IFO44に再び書き込まれたCCWAについてこの時
点でIM43に保持している送信データの転送を終えた
ことを意味する。
Next, the μPRC 42 reads one word of CCWA from the FIFO 44 and performs a 0 determination of the DWC field of CCWA. If it is not 0, after reading the transmission data held in the IM43 into the data holding area shown in the DAA field of the device shown in the NCA field of CCWA, the D
Update the contents of the AA field by +1 and further IcDW
Update the contents of the cA field by -1. Here, the 0 determination of the DWCA field is performed again. If it is not 0, the updated CCWA is written to PIF'044 again, and the contents of label j are updated by +1. To update label j, use F
Regarding the CCWA rewritten to the IFO 44, it means that the transmission data held in the IM 43 has been transferred at this point.

これまでに行なわれた2回のDWCAの0判定のうち、
いずれか一方で0を検出した場合はラベルLの内容を−
1だけ更新し、CCWAを再びFIFO44に書き込む
処理は行なわない。つまりCCWAに対するデータ転送
はすべて終了したことにたり、F’IFO44からCC
WAが削除されたことになる。ここで最初のDWCAの
0判定は、PR,Eが初めから0を設定してしまった時
に有効である。
Of the two DWCA zero determinations conducted so far,
If 0 is detected in either one, the contents of label L are -
The process of updating CCWA by 1 and writing CCWA to the FIFO 44 again is not performed. In other words, all data transfer to CCWA has been completed, and from F'IFO44 to CC
This means that the WA has been deleted. Here, the initial 0 determination of DWCA is effective when PR and E are set to 0 from the beginning.

次に続(、ラベルLの内容とラベルjの内容とを比較判
断する処理は、DWCAの内容が0でも、0でなくても
行なわれる。両者が一致しなかった場合、FIFO44
に含まれるすべてのCCWK対し、その時点でIM43
に保持された送信データを転送し終でいないことを意味
するため、μPnC42は引き続きF I F 044
からCCW 4−4−1を1語読み出しCCWA0時と
同様の処理を行なう。両者が一致した場合、PIF04
4に含まれるすべてのCCWに対し、その時点でIM4
3に保持された送信データを転送し終だことを意味する
。このときμPnC42はioコマンド処理の先頭から
再び同様の処理を実行すること釦より、2語目の送信デ
ータの転送を行なうこと忙なる。
Next, the process of comparing and determining the content of label L and the content of label j is performed regardless of whether the content of DWCA is 0 or not. If they do not match, the FIFO 44
For all CCWKs included in IM43 at that time
This means that the transmission data held in
One word of CCW 4-4-1 is read from CCW 4-4-1 and the same processing as at CCWA 0 is performed. If both match, PIF04
IM4 at that time for all CCWs included in IM4.
This means that the transmission data held at 3 has been transferred. At this time, the μPnC 42 is busy transferring the second word transmission data by pressing the button to execute the same process again from the beginning of the io command process.

このようにμPnC42がラベルLの内存が0になるま
でデータ転送処理を繰り返すことにより、PR,Eが指
示語に示した内容をすべて処理することができる。
In this way, the μPnC 42 repeats the data transfer process until the existence of the label L becomes 0, thereby making it possible to process all the contents indicated by PR and E in the instruction word.

すべてのデータ転送処理が終了したら1.u P RC
42はP L(、E K終了報告を行ない動作を終了さ
せる。
When all data transfer processing is completed, 1. uPRC
42 reports the completion of PL(, EK) and ends the operation.

本実施例によれば、次忙示す効果がある。According to this embodiment, there is an effect of making the next busy day easier.

(1)1つの送信データ保持領域に入ったデータを複数
の受信データ保持領域へ任意の語数行なう転送が1回の
命令ででさるため、ソフトウェアの負担が小さくなる。
(1) The burden on the software is reduced because data stored in one transmission data holding area can be transferred to a plurality of received data holding areas for any number of words with a single command.

(2)  上記データ転送に使5データ転送媒体をデー
タ転送制御装置以外に持つ必要がない。またデータ転送
制御装置内のデータ転送媒体は1語しか必要としない。
(2) There is no need to have a data transfer medium other than the data transfer control device used for the above data transfer. Also, the data transfer medium within the data transfer control device requires only one word.

(3)  上記データ転送においてデータ転送制御装置
以外のデータ転送媒体を必要としないため、データ転送
制御装置が、データ転送のために使うバスの使用回数、
使用時間が減少し、さらにこれに伴いデータ転送処理時
間が減少する。
(3) Because the data transfer does not require any data transfer medium other than the data transfer control device, the data transfer control device can reduce the number of times the bus used for data transfer is
Usage time is reduced, and data transfer processing time is also reduced accordingly.

以上述べた実施例は一例であり、送信データ保持領域数
対受信データ保持領域数が1対Nの例であったが、指令
語のFLGフィールドにチェーンコマンド等を設けるこ
とにより複数の指令語を連続させ、M対Nのデータ転送
も容易に可能である。
The embodiment described above is an example, and the number of transmission data holding areas to the number of reception data holding areas is 1:N, but multiple command words can be written by providing a chain command etc. in the FLG field of the command word. Continuous M-to-N data transfer is also easily possible.

また、本実施例は複数の受信データ保持領域に転送する
転送語数をそれぞれに設定できるよ5にしたが、すべて
の複数受信データ保持領域に送る転送語数を同一にする
と、指令語の構成及び動作フローをより簡単にできるが
、本実施例の特殊な一例にすぎない。
In addition, in this embodiment, the number of transfer words to be transferred to multiple received data holding areas can be set to 5, respectively, but if the number of transferred words to be sent to all multiple received data holding areas is the same, the structure of command words and operation Although the flow can be made simpler, this is only a special example of this embodiment.

さらに、本実施例は1対Nのデータ転送であったが、N
台装置への制御コマンドの転送も容易に実施可能なこと
は明らかである。
Furthermore, although this embodiment was a 1-to-N data transfer,
It is clear that control commands can also be easily transferred to the stand device.

また本実施例は、送信データ受信領域から1語読み出し
複数の受信データ領域のそれぞれに1語書き込む例であ
ったが、1度に1語ではなくa故語ずつ転送することも
また容易に実施可能である。
Furthermore, in this embodiment, one word is read from the transmission data reception area and one word is written to each of a plurality of reception data areas, but it is also easily possible to transfer one word at a time instead of one word at a time. It is possible.

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

本発明によれば、複数の装置間の任意語数のデータ転送
を1回の命令で実行できるので、ソフトウェアの負担が
小さくなり、データ転送制御装置以外のデータ転送媒体
を使用せずにまたデータ転送制御装置内のデータ転送媒
体奮を最小にでき経済的であり、さら化データ転送のた
めのバス使用回数を少なくすることができるため、パス
の使用時間が短くなりデータ転送処理時間が短縮される
などの効果がある。
According to the present invention, data transfer of an arbitrary number of words between multiple devices can be executed with a single command, so the burden on software is reduced, and data transfer can be performed without using a data transfer medium other than the data transfer control device. It is economical because it minimizes the effort of the data transfer medium in the control device, and the number of times the bus is used for data transfer can be reduced, resulting in shorter path usage time and data transfer processing time. There are effects such as

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

第1図は本発明の一実施例に係る指令語構成図、第2図
は本発明の一実施例を適用したデータ転送制御gcif
fiの構成図、第3図は第2図に示すデータ転送制御装
置の動作フローチャート、第4図は従来例の命令語、修
飾語、指令語の構成図、第5図は従来例の装置構成図で
ある。 11.12.13,14,15,23.24・・・指令
語、21・・・命令語、22・・・修飾語、31・・・
中央処理装置、32・・・中央制御装置、33・・・主
記憶装置、34・・・プロセッサパス、35・・・デー
タチャネル装置、56,57.58・・・入出力装置、
41・・・データ転送制御装置、42・・・マイクロプ
ロセッサ、45・・・内部メモリ、44・・・F I 
F O,45,415・・・パスヵプラ、47,48・
・・パス。 第 /[ 第 2 @
FIG. 1 is a command word configuration diagram according to an embodiment of the present invention, and FIG. 2 is a data transfer control gcif to which the embodiment of the present invention is applied.
FIG. 3 is an operation flowchart of the data transfer control device shown in FIG. 2. FIG. 4 is a configuration diagram of conventional command words, modifier words, and command words. FIG. 5 is a conventional device configuration. It is a diagram. 11.12.13,14,15,23.24...command word, 21...command word, 22...modifier word, 31...
Central processing unit, 32... Central control unit, 33... Main storage device, 34... Processor path, 35... Data channel device, 56, 57.58... Input/output device,
41...Data transfer control device, 42...Microprocessor, 45...Internal memory, 44...FI
F O, 45, 415... Paskapura, 47, 48.
··path. No. / [ No. 2 @

Claims (1)

【特許請求の範囲】[Claims] 1、内部にデータを保持する手段を持つ複数の装置と、
内部にデータを保持する手段を持つと共に前記複数の装
置間のデータ転送を行なうデータ転送制御装置とを備え
、前記複数の装置の1つが他の装置間のデータ転送方法
を指示する指令語を作成し保持した後に前記データー転
送制御装置にデータ転送を命令することで、命令を発し
た装置とは独立に前記データ転送制御装置が前記指令語
を読取・保持した後に前記指令語の指示に従い複数の装
置間のデータ転送を行なうシステムにおいて、前記指令
語を、少なくとも送信データが保持されている装置のデ
ータ保持領域を示す第1フィールドと、転送データを保
持する複数の装置のデータ保持領域を示す第2フィール
ドと、該第2フィールドに示される複数のデータ保持領
域の夫々に転送するデータ転送量を示す第3フィールド
とから構成し、該指令語を前記データ転送制御装置が読
取・保持した後に第1フィールドに示されたデータ保持
領域からデータを読取り、このデータを第2フィールド
に示されたデータ保持領域の夫々に書き込む処理を第3
フィールドに示されたデータ転送量だけ実行することを
特徴とするデータ転送制御方式。
1. A plurality of devices each having means for internally retaining data;
a data transfer control device having means for internally holding data and transferring data between the plurality of devices, one of the plurality of devices creating a command word instructing a data transfer method between the other devices; By instructing the data transfer control device to transfer data after reading and holding the command word, the data transfer control device reads and holds the command word independently of the device that issued the command, and then reads and holds the command word and then transmits a plurality of data according to the instructions of the command word. In a system that transfers data between devices, the command word is divided into at least a first field indicating a data holding area of a device in which transmission data is held, and a first field indicating a data holding area of a plurality of devices holding transfer data. 2 fields and a third field indicating the amount of data to be transferred to each of the plurality of data holding areas indicated in the second field, and after the data transfer control device reads and holds the command word, The third step is a process of reading data from the data holding area shown in the first field and writing this data into each of the data holding areas shown in the second field.
A data transfer control method characterized by executing only the data transfer amount indicated in the field.
JP31406187A 1987-12-14 1987-12-14 Data transfer and control system Pending JPH01156856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31406187A JPH01156856A (en) 1987-12-14 1987-12-14 Data transfer and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31406187A JPH01156856A (en) 1987-12-14 1987-12-14 Data transfer and control system

Publications (1)

Publication Number Publication Date
JPH01156856A true JPH01156856A (en) 1989-06-20

Family

ID=18048756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31406187A Pending JPH01156856A (en) 1987-12-14 1987-12-14 Data transfer and control system

Country Status (1)

Country Link
JP (1) JPH01156856A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536486A (en) * 2010-06-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Save / Save block instruction to communicate with adapter
JP2013536487A (en) * 2010-06-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Load instruction for communication with the adapter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536486A (en) * 2010-06-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Save / Save block instruction to communicate with adapter
JP2013536487A (en) * 2010-06-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Load instruction for communication with the adapter

Similar Documents

Publication Publication Date Title
JPS5975365A (en) Vector processing device
US20060168366A1 (en) Direct memory access control method, direct memory access controller, information processing system, and program
US4415971A (en) Apparatus for managing the data transfers between a memory unit and the different processing units of a digital data processing system
JPS6356747A (en) Data processor
JPH01156856A (en) Data transfer and control system
JP3384601B2 (en) Parallel processing computer
JPS6211736B2 (en)
JPS6122830B2 (en)
JPH052468A (en) Buffer memory management system
JP2552025B2 (en) Data transfer method
JPS6218948B2 (en)
CN114936102A (en) Hydropower LCU controller signal interaction method, system, equipment and storage medium thereof
JPH0342740B2 (en)
JPS63249243A (en) Secondary storage information saving system
JPS6010345B2 (en) Information transfer method
JPH02136949A (en) Input/output controller
JPS63234749A (en) Message transmitting equipment
JPS59226957A (en) Data control system
JPS58184629A (en) Preference control circuit for digital calculator
JPH06110681A (en) Microcomputer system
JPH0219926A (en) Microprogram storing system
JPS61262946A (en) Data transfer system for dispersed data base system
JPS5960624A (en) System for dynamically converting channel program
JP2016157235A (en) Information processing device having distributed shared memory, method, and program
JPH01111250A (en) Data processing system