JPS61100852A - Data transferring system - Google Patents

Data transferring system

Info

Publication number
JPS61100852A
JPS61100852A JP22151684A JP22151684A JPS61100852A JP S61100852 A JPS61100852 A JP S61100852A JP 22151684 A JP22151684 A JP 22151684A JP 22151684 A JP22151684 A JP 22151684A JP S61100852 A JPS61100852 A JP S61100852A
Authority
JP
Japan
Prior art keywords
address
main memory
data
bytes
stored
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
JP22151684A
Other languages
Japanese (ja)
Inventor
Akio Murata
明男 村田
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 JP22151684A priority Critical patent/JPS61100852A/en
Publication of JPS61100852A publication Critical patent/JPS61100852A/en
Pending 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/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To shorten the time for processing by storing data of block unit in a discontinuous address space of a main memory in a direct memory access mode. CONSTITUTION:A processor 5 indicates an address that indicates a discontinuous address space of a main memory 6 and the number of bytes of a block that indicates data length of a arbitrary length to a subprocessor 9 that controls a disk control channel 7. The subprocessor 9 develops the address and the number of bytes in a buffer 10. A DMA controlling section 14 sends a command to the main memory 6, and transfers data of a buffer 15 to the address space of the main memory 6 designated by an address counter 11. When a transfer byte counter 12 becomes zero, and the content of the buffer 10 is out, a count value loading section 13 gives a notice interrupting the subprocessor 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は高速チャネルと他の高速チャネルとの間で主記
憶を介しダイレクト・メモリ・アクセスモードでデータ
を移動する際に、データのブロック間に制御情報を入れ
る場合のデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention provides a method for moving data between blocks of data through main memory in direct memory access mode between a high speed channel and another high speed channel. This paper relates to a data transfer method when inputting control information into a file.

計算機システムにおいて、高速で動作するチャネルに接
続された入出力装置間では、主記憶を介し、ダイレクト
・メモリ・アクセスモードでデータの転送がしばしば行
われる。例えばストリーミングモード(連続走行モード
)で動作する磁気テープ装置を制御する高速チャネルと
、ディスク装置を制御する高速チャネル間でデータを転
送するような場合、磁気テープ装置から読出されたデー
タはダイレクト・メモリ・アクセスモードにより、−互
生記憶に格納された後ディスク装置に書込まれる。
In computer systems, data is often transferred in direct memory access mode between input/output devices connected to channels operating at high speed via main memory. For example, when data is transferred between a high-speed channel that controls a magnetic tape device operating in streaming mode (continuous running mode) and a high-speed channel that controls a disk device, the data read from the magnetic tape device is transferred to direct memory. - Depending on the access mode, - it is stored in mutual storage and then written to the disk device.

又ディスク装置から読出されたデータは同様に主記憶に
格納された後磁気テープ装置に書込まれる。
Further, data read from the disk device is similarly stored in the main memory and then written to the magnetic tape device.

ところで磁気テープとディスクではデータの管理方法が
異なるため、データブロックの先頭にヘッダ等の制御情
報を付加する場合があるが、この制御情報を付加するた
めにプロセッサの負担が増大しないことが必要である。
By the way, data management methods are different between magnetic tapes and disks, so control information such as a header may be added to the beginning of a data block, but it is necessary that adding this control information does not increase the burden on the processor. be.

〔従来の技術〕[Conventional technology]

第3図は従来のデータ転送方式を説明する図である。 FIG. 3 is a diagram illustrating a conventional data transfer method.

ディスク2からダイレクト・メモリ・アクセスモードで
読出されたデータは主記憶1にブロックfa)、ブロッ
ク(b)の如く連続して書込まれる。プロセッサはこの
主記憶1に書込まれたデータのブロックに制御情報ヘッ
ダを付加するため、主記憶1上でブロックを移動し、主
記憶1゛に示す如(ブロック(a)の先頭にヘッダ(a
lをブロック(blの先頭にヘッダ山)を付加する。
Data read from the disk 2 in the direct memory access mode is successively written into the main memory 1 as blocks fa) and blocks (b). In order to add a control information header to the block of data written in the main memory 1, the processor moves the block on the main memory 1 and adds a header ( a
Add a block (header mountain to the beginning of bl) to l.

主記憶1”で制御情報を付加されたヘッダ(alブロッ
ク(a)、ヘッダ(b)ブロック(b)は順次ダイレク
ト・メモリ・アクセスモードで磁気テープ3に転送され
てデータ転送が完了する。
The headers (al block (a), header (b), and block (b) to which control information has been added in the main memory 1'' are sequentially transferred to the magnetic tape 3 in direct memory access mode to complete the data transfer.

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

上記の如く、従来はディスクからダイレクト・メモリ・
アクセスモードにより主記憶上に格納されたデータの各
ブロックを、プロセッサが主記憶上で移動して制御情報
を付加するため、プロセッサに負担がかかり、ブロック
を移動させる時間だけ処理速度が低下するという問題が
ある。
As mentioned above, conventionally, direct memory data from disk
Depending on the access mode, the processor moves each block of data stored in main memory in main memory and adds control information, which places a burden on the processor and slows down processing by the time it takes to move the block. There's a problem.

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

上記問題点は、データの授受を行う入出力装置を制御す
るチャネルにおいて、主記憶の不連続なアドレス空間を
指示するアドレスと該アドレス空間に格納する任意なデ
ータ長のバイト数とを格納された順に送出する記憶手段
と、該記憶手段から与えられたアドレスを主記憶に指示
する指示手段と、該指示手段の指示するアドレスに格納
されるデータのバイト数を計数し前記記憶手段から与え
られたバイト数に達すると信号を送出する計数手段と、
該計数手段の信号により前記記憶手段から次のアドレス
及びバイト数を読出して前記指示手段及び計数手段に夫
々設定する設定手段とを設け、チャネルを制御するプロ
セッサが前記記憶手段にアドレスとバイト数とを格納し
て初期時に前記設定手段を起動することでダイレクト・
メモリ・アクセスモードにより前記入出力装置のデータ
を主記憶に格納するようにした、本発明によるデータ転
送方式によって解決される。
The above problem is that in a channel that controls an input/output device that sends and receives data, an address indicating a discontinuous address space in main memory and the number of bytes of arbitrary data length to be stored in the address space are stored. a storage means for sequentially transmitting the data, an instruction means for instructing the main memory of the address given from the storage means, and an instruction means for counting the number of bytes of data to be stored at the address designated by the instruction means and receiving the data given from the storage means. a counting means for sending a signal when the number of bytes is reached;
A setting means is provided for reading the next address and number of bytes from the storage means in response to a signal from the counting means and setting them in the instruction means and the counting means, respectively. By storing the information and activating the setting means at the initial
The problem is solved by the data transfer method according to the present invention, which stores data from the input/output device in the main memory using a memory access mode.

〔作用〕[Effect]

即ちチャネルが主記憶へデータの転送を行う時、ブロッ
ク単位で不連続なアドレス空間に転送出来るようにした
ものである。
That is, when the channel transfers data to the main memory, the data can be transferred to discontinuous address spaces in units of blocks.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention.

プロセッサ5はディスク制御チャネル7を制御するサブ
プロセッサ9に、主記憶6の不連続なアドレス空間を指
示するアドレスと任意の長さのデータ長を示すブロック
のバイト数とを指示する。
The processor 5 instructs the sub-processor 9, which controls the disk control channel 7, an address indicating a discontinuous address space in the main memory 6 and the number of bytes of a block indicating an arbitrary data length.

サブプロセッサ9はこのアドレスとバイト数とをバッフ
ァlOに展開する。バッファ10は先に格納されたデー
タが先に読出されるように構成されたメモリである。
Sub-processor 9 develops this address and number of bytes into buffer IO. Buffer 10 is a memory configured such that data stored first is read out first.

第2図はバッファ10に展開された内容を説明する図で
ある。
FIG. 2 is a diagram illustrating the contents developed in the buffer 10.

最初のアドレス■に続いてこのアドレス■の空間に格納
されるブロックのバイト数■、次にアドレス■空間とは
不連続なアドレス■とブロックのバイト数■、前記の繰
り返しの後最後のアドレス■とバイト数■が展開してい
る。
Following the first address ■, the number of bytes in the block stored in the space at this address ■, then the address ■, an address that is discontinuous with the space, and the number of bytes in the block, and after the above repetition, the last address ■ and the number of bytes■ are expanded.

まずサブプロセッサ9はカウント値ロード部13を起動
する。カウント値ロード部13はバッファ10からアド
レス■をアドレスカウンタ11に、バイト数■を転送バ
イトカウンタ12にロードする。
First, the sub-processor 9 activates the count value loading section 13. The count value loading section 13 loads the address ■ into the address counter 11 and the number of bytes ■ into the transfer byte counter 12 from the buffer 10 .

ここでサブプロセッサ9はDMA (ダイレクト・メモ
リ・アクセス)制御部14を起動すると共に、ディスク
制御部16を制御してディスク8からデータを読出させ
、バッファ15に格納させる。
Here, the subprocessor 9 activates the DMA (direct memory access) control section 14 and controls the disk control section 16 to read data from the disk 8 and store it in the buffer 15.

D M A IJ御郡部14主記憶6にコマンドを送出
し、アドレスカウンタ11の指示する主記憶6のアドレ
ス■空間にバッファ15のデータを転送する。転送バイ
トカウンタ12はこの転送バイト数を計数してロードさ
れたバイト数■が零になると、カウント値ロード部13
を起動する。カウント値ロード部13はバッファ10か
らアドレスカウンタ11にアドレス■を、転送バイトカ
ウンタ12にバイト数■をロードする。
The DMA IJ control section 14 sends a command to the main memory 6, and transfers the data in the buffer 15 to the address space of the main memory 6 indicated by the address counter 11. The transfer byte counter 12 counts the number of transferred bytes, and when the loaded byte number becomes zero, the count value loading section 13
Start. The count value loading unit 13 loads the address ■ from the buffer 10 into the address counter 11 and the number of bytes ■ into the transfer byte counter 12 .

DMA制御部14は続いてアドレスカウンタ11の指示
するアドレス■により、主記憶6のアドレス■空間にバ
ッファ15のデータを転送する。
The DMA control unit 14 then transfers the data in the buffer 15 to the address ■ space of the main memory 6 according to the address ■ indicated by the address counter 11 .

転送バイトカウンタ12のロードされたバイト数■が零
となると、カウント値ロード部13が起動される。
When the number of bytes loaded in the transfer byte counter 12 becomes zero, the count value loading unit 13 is activated.

上記動作を繰り返し、転送バイトカウンタ12が零とな
ると共に、バッファ10の内容が無くなると、カウント
値ロード部13はサブプロセッサ9に割込みを上げて通
知する。
By repeating the above operations, when the transfer byte counter 12 becomes zero and the contents of the buffer 10 are exhausted, the count value loading unit 13 raises an interrupt to notify the sub-processor 9.

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

以上説明した如く、本発明は主記憶の不連続なアドレス
空間にブロック羊位のデータをダイレクト・メモリ・ア
クセスモードで格納することが出来るため、各ブロック
毎に制御情報を付加するのにプロセッサがデータの移動
をする必要が無く、処理時間を短縮することが出来る。
As explained above, the present invention can store blocks of data in the discontinuous address space of the main memory in the direct memory access mode, so the processor is required to add control information to each block. There is no need to move data, and processing time can be shortened.

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

第1図は本発明の一実施例を示す回路のブロック図、 第2図はバッファ10に展開された内容を説明する図、 第3図は従来のデータ転送方式を説明する図である。 図において、 5はプロセッサ、    6は主記憶、7ばディスク制
御チャネル、 8はディスク、     9はサブプロセッサ、10、
15はバッファ、  11はアドレスカウンタ、12は
転送バイトカウンタ、 13はカウント値ロード部、 14はD M A IIJ御部、 16はディスク制御部である。
FIG. 1 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 2 is a diagram illustrating contents developed in a buffer 10, and FIG. 3 is a diagram illustrating a conventional data transfer method. In the figure, 5 is a processor, 6 is a main memory, 7 is a disk control channel, 8 is a disk, 9 is a subprocessor, 10,
15 is a buffer, 11 is an address counter, 12 is a transfer byte counter, 13 is a count value load section, 14 is a DMA IIJ control section, and 16 is a disk control section.

Claims (1)

【特許請求の範囲】[Claims] データの授受を行う入出力装置を制御するチャネルにお
いて、主記憶の不連続なアドレス空間を指示するアドレ
スと該アドレス空間に格納する任意なデータ長のバイト
数とを格納された順に送出する記憶手段と、該記憶手段
から与えられたアドレスを主記憶に指示する指示手段と
、該指示手段の指示するアドレスに格納されるデータの
バイト数を計数し前記記憶手段から与えられたバイト数
に達すると信号を送出する計数手段と、該計数手段の信
号により前記記憶手段に格納されるアドレス及びバイト
数を読出して前記指示手段及び計数手段に夫々設定する
設定手段とを設け、チャネルを制御するプロセッサが前
記記憶手段にアドレスとバイト数とを格納して初期時に
前記設定手段を起動することでダイレクト・メモリ・ア
クセスモードにより前記入出力装置のデータを主記憶に
格納することを特徴とするデータ転送方式。
In a channel that controls an input/output device that sends and receives data, a storage device that sends an address indicating a discontinuous address space in main memory and the number of bytes of arbitrary data length to be stored in the address space in the order in which they are stored. and instruction means for instructing the main memory to the address given from the storage means, and counting the number of bytes of data stored at the address indicated by the instruction means, and when the number of bytes given from the storage means is reached. A processor for controlling a channel is provided with a counting means for sending a signal, and a setting means for reading an address and a number of bytes stored in the storage means based on the signal from the counting means and setting them in the instruction means and the counting means, respectively. A data transfer method characterized in that data of the input/output device is stored in a main memory in a direct memory access mode by storing an address and a number of bytes in the storage means and activating the setting means at an initial time. .
JP22151684A 1984-10-22 1984-10-22 Data transferring system Pending JPS61100852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22151684A JPS61100852A (en) 1984-10-22 1984-10-22 Data transferring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22151684A JPS61100852A (en) 1984-10-22 1984-10-22 Data transferring system

Publications (1)

Publication Number Publication Date
JPS61100852A true JPS61100852A (en) 1986-05-19

Family

ID=16767935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22151684A Pending JPS61100852A (en) 1984-10-22 1984-10-22 Data transferring system

Country Status (1)

Country Link
JP (1) JPS61100852A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003501775A (en) * 1999-06-15 2003-01-14 ヒューレット・パッカード・カンパニー Computer architecture including processor and coprocessor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003501775A (en) * 1999-06-15 2003-01-14 ヒューレット・パッカード・カンパニー Computer architecture including processor and coprocessor

Similar Documents

Publication Publication Date Title
US5301351A (en) Data transfer control system between high speed main memory and input/output processor with a data mover
WO1995006284B1 (en) Ata interface architecture employing state machines
US6047340A (en) Method for transmitting data, and apparatus for transmitting data and medium
JPH0576650B2 (en)
JPS61100852A (en) Data transferring system
JPH08106443A (en) Data processing system and parallel computer
JPS63178360A (en) Constitutional system for input/output system
JPH0380470A (en) Storage controller
JPH03158952A (en) Dma controller and information processing system
JPH05173933A (en) Direct memory access transfer system
JPS6240525A (en) Data transfer buffer system
JPS5917447B2 (en) data channel device
JP2577604Y2 (en) Image memory and data processing device
JPH0452923A (en) Data input/output system
JPH01501661A (en) Improved high-speed tag transfer
JPS63255888A (en) File device
JP2604051B2 (en) Data transfer method
JPS60198663A (en) Control system and circuit for data transfer
JPS59123974A (en) Vector data storage control system
JPS63224487A (en) Digital data recorder controller
JP2000132498A (en) Dma transfer controller
JPH02100739A (en) Data transfer controlling system
JPS61153728A (en) High speed control system of magnetic storage device
JPS63129448A (en) Peripheral equipment controller
JPS61211774A (en) Vector processor