JPS6126163A - High speed data transfer system - Google Patents

High speed data transfer system

Info

Publication number
JPS6126163A
JPS6126163A JP14683284A JP14683284A JPS6126163A JP S6126163 A JPS6126163 A JP S6126163A JP 14683284 A JP14683284 A JP 14683284A JP 14683284 A JP14683284 A JP 14683284A JP S6126163 A JPS6126163 A JP S6126163A
Authority
JP
Japan
Prior art keywords
data
buffer
input
command
input channel
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
JP14683284A
Other languages
Japanese (ja)
Inventor
Takashi Kobayashi
隆 小林
Nobuyuki Fujikura
藤倉 信之
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 Ltd
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP14683284A priority Critical patent/JPS6126163A/en
Publication of JPS6126163A publication Critical patent/JPS6126163A/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/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

Abstract

PURPOSE:To attain data transfer without lack of data even if the input interval of the data is shorter than a buffer replacing time, by forming an automatic buffer replacing mechanism in double-buffering type data transfer. CONSTITUTION:In the double buffering type data transfer, the same number of commands for inputting data corresponding to the capacity of buffers alternately to two buffers 1-3, 1-4 as the number of inputs of all transfer data are formed and stored in the main memory 1-2. When the address of the initial command is specified and an input channel is started, the input channel reads out the succeeding commands automatically to execute the processing. These buffers are switched by previously storing a buffer 1-3 sending command and a buffer 1-4 sending command in the main memory device 1-2 and specifying the sending com mand in accordance with the even or odd number of the counting value of command interruptions. Even if the data input interval is shorter than the buffer replacing time, the data can be transferred without an lack.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、高速データ転送方式、更に詳しく言えばディ
ジタルデータを一定速度で入力し、入力チャネルを介し
てリアルタイムに計算機に取込み、出力チャネルを介し
てリアルタイムで出力装置に送出するというデータ転送
方式に係り、特に、データの入力間隔(1つのビット信
号を入力完了してから次のビット信号を入力開始するま
での時間)が、バッファ交替に要す時間に比べ短い場合
に好適な転送方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention provides a high-speed data transfer method, more specifically, a method for inputting digital data at a constant speed, importing it into a computer in real time via an input channel, and transmitting the data via an output channel. In particular, the data input interval (the time from the completion of inputting one bit signal to the start of inputting the next bit signal) is the time required for buffer replacement. The present invention relates to a transfer method suitable for a case where the time is shorter than the time required for transfer.

〔発明の背景〕[Background of the invention]

ディジタルデータを一定速度で入力し、入力チャネルを
介してリアルタイムで取込み、出力チャネルを介し°C
出力装置にリアルタイムで送出するというデータのリア
ルタイム転送方式としては、従来法にのべるダブルバッ
ファリング方式が一般的であった。
Digital data is input at a constant rate, captured in real time via the input channel, and captured in °C via the output channel.
As a real-time data transfer method for sending data to an output device in real time, a conventional double buffering method has been common.

データ転送の制御計算機の主記憶装置に一定容量の記憶
領域を2つ設ける(これをバッファとよ”ぶ)。計算機
の処理装置は、入力チャネルに対し一方のバッファへの
指定量のデータの取込を指示する。同時に、出力チャネ
ルに対し他方のバッファからの指示量のデータの送出を
指示する。入力チャネルの上記取込処理と出力チャネル
の上記送出処理が終了したら、処理装置は、取込用のバ
ッファを送出用に、送出用のバッファを取込用に交替さ
せる。以後同じ処理をくり返す。以上によりデータの取
込処理と送出処理を同時に行なう方式である。具体的に
は次のように行なう。
Controlling data transfer Two storage areas of a fixed capacity are provided in the main memory of the computer (these are called buffers).The processing unit of the computer transfers a specified amount of data to one buffer for each input channel. At the same time, it instructs the output channel to send the specified amount of data from the other buffer.When the above-mentioned capture processing of the input channel and the above-mentioned transmission processing of the output channel are completed, the processing device The buffer used for sending data is replaced with the buffer used for sending data, and the buffer used for sending data is replaced with one used for receiving data.The same process is then repeated.This is a method for performing data import processing and data sending processing at the same time.Specifically, the following Do it like this.

(1)計算機の主記憶装置に一定容量の記憶領域を2つ
設ける。これをバッファ1、バッファ2とよぶ。また、
これらのバッファの容量をバッファ容量とよぶ。
(1) Two storage areas of a certain capacity are provided in the main storage of the computer. These are called buffer 1 and buffer 2. Also,
The capacity of these buffers is called buffer capacity.

(2)計算機の処理装置は、入力チャネルに対し、バッ
ファ容量分のデータをバッファ1に取込めという命令を
出す。この命令をうけると入力チャネルはバッファ1の
データ取込を開始する。
(2) The processing unit of the computer issues an instruction to the input channel to take in data corresponding to the buffer capacity into buffer 1. Upon receiving this command, the input channel starts taking in data from buffer 1.

(3)処理装置は、入力チャネルからのデータ取込完了
信号(入力割込とよぶ)をうけとると、取込処理のエラ
ーチェックを行なう。
(3) When the processing device receives a data acquisition completion signal (referred to as an input interrupt) from the input channel, it performs an error check on the acquisition process.

(4)この後、入力チャネルに対し、バッファ容量分の
データをバッファ2に取込めという命令を出す。同時に
、出力チャネルに対し、バッファ1のデータを出力装置
に送出せよという命令を出す。これらの命令をうけ、入
力チャネルはバッファのデータ取込を開始し、出力チャ
ネルはバッファ1からのデータ送出を開始する。
(4) After this, issue an instruction to the input channel to take in data corresponding to the buffer capacity into buffer 2. At the same time, a command is issued to the output channel to send the data in buffer 1 to the output device. In response to these commands, the input channel starts taking in data from the buffer, and the output channel starts sending out data from buffer 1.

(5)処理装置は、入力チャネルからの入力割込をうけ
ると、取込処理のエラーチェックを行なう。
(5) When the processing device receives an input interrupt from the input channel, it performs an error check on the capture process.

(6)この後、入力チャネルに対し、バッファ容量分の
データをバッファ1に取込めという命令を出し、同時に
、出力チャネルに対し、バッファ2のデータを出力装置
に送出せよという命令を出す。これらの命令により入力
チャネルはバッファ1のデータ取込を開始し、出力チャ
ネルはバッファ2からのデータ送出を開始する。転送処
理を行なう全データを転送完了するまで(3)〜(6)
の処理をくり返す。
(6) After this, a command is issued to the input channel to take in data corresponding to the buffer capacity into buffer 1, and at the same time, a command is issued to the output channel to send the data in buffer 2 to the output device. These instructions cause the input channel to start taking in data from buffer 1, and the output channel to start sending out data from buffer 2. Until all data to be transferred is completed (3) to (6)
Repeat the process.

以上の方式では、入力チャネルは、バッファ容量分のデ
ータ取込を完了した後、処理装置が取込と送出のバッフ
ァを交替し入力チャネルに対し再度、取込命令を出すま
での間(バッファ交替時間とよぶ)、処理停止する。こ
の停止期間が、データの入力間隔(1つのビット信号を
入力完了してから次のビット信号を入力開始するまでの
時間)を上回る場合、取込データの欠落がおこる。
In the above method, after the input channel completes data capture for the buffer capacity, the processing unit switches the capture and output buffers and issues a capture command to the input channel again (buffer replacement). time), processing is stopped. If this stop period exceeds the data input interval (time from completion of input of one bit signal to start of input of the next bit signal), loss of captured data will occur.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、ダブルバッファリング方式によりディ
ジタルデータのリアルタイム転送処理を行なう際、取込
用と送出用のバッファ交替を、入力チャネルの取込処理
を停止せずに行なうことにより、データの入力間隔が計
算機のバッファ交替時間に比べて短い場合においてもデ
ータを欠落なく転送できる転送方式を提供することにあ
る。
An object of the present invention is to change the input and output buffers without stopping input channel input processing when performing real-time transfer processing of digital data using a double buffering method. An object of the present invention is to provide a transfer method capable of transferring data without loss even when the interval is shorter than the buffer replacement time of a computer.

〔発明の概要〕[Summary of the invention]

本発明では、上記目的を実現するために炊方法によって
データを転送する。
In the present invention, data is transferred using a cooking method in order to achieve the above object.

(1)入力チャネルに、次の自動交替バッファ機能を設
ける。処理装置の1回の指示により、一方のバッファへ
の指定量のデータの取込処理および他方のバッファへの
指定量のデータの取込処理を交互に指定回数だけ実行す
る。
(1) Provide the following automatic replacement buffer function for the input channel. In response to one instruction from the processing device, the process of taking in a specified amount of data into one buffer and the process of taking in a specified amount of data into the other buffer are performed alternately a specified number of times.

(2)処理装置に、次の出力チャネル起動機能を設ける
。入力チャネルが1つのバッファへの指定量のデータ取
込を完了したことを検知し、出力チャネルに対し取込完
了したバッファからのデータ送出を指示する。
(2) The processing device is provided with the following output channel activation function. It detects that the input channel has completed loading a specified amount of data into one buffer, and instructs the output channel to send out the data from the buffer that has completed loading.

以上により、入力チャネルは、転送する全データを転送
完了するまで、一定量毎にバッファを交替させながらデ
ータを取込む。この間、入力チャネルは取込処理を停止
しない。また、出力チャネルは、処理装置による指定バ
ッファからのデータ送出指示を受ける度に、これを実行
する。
As described above, the input channel takes in data while changing the buffer every fixed amount until all the data to be transferred is completed. During this time, the input channel does not stop the acquisition process. Further, the output channel executes this instruction each time it receives an instruction from the processing device to send data from the specified buffer.

従って、本発明により、入力チャネルの取込処理を停止
することなく、取込用と送出用のバッファの交替を行な
うことができる。
Therefore, according to the present invention, the buffers for capture and output can be exchanged without stopping the capture process of the input channel.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を、衛星画像データ受信システムと適用し
た実施例について説明する。
Hereinafter, an embodiment in which the present invention is applied to a satellite image data receiving system will be described.

第1図は、衛星画像データ受信システムの全体構成を示
す。本データ受信システムは、次の処理を行なう。
FIG. 1 shows the overall configuration of a satellite image data receiving system. This data receiving system performs the following processing.

受信機3及びアンテナ2により、衛星画像データを受信
し、直列デジタル信号に復調した後、同期装置4により
並列デジタル信号に変換する。
Satellite image data is received by a receiver 3 and an antenna 2, demodulated into a serial digital signal, and then converted into a parallel digital signal by a synchronizer 4.

入力チャネル5を介して、上記並列デジタル信号(デー
タ量:約60メガワード(120メガバイト)、入力間
隔: 15.2マイクロ秒)を計算機1に取込み、出力
チャネル6を介して、磁気ディスク装置7に送出する。
The parallel digital signal (data amount: approximately 60 megawords (120 megabytes), input interval: 15.2 microseconds) is input to the computer 1 via the input channel 5, and is sent to the magnetic disk device 7 via the output channel 6. Send.

上記受信システムにおいて、並列デジタル信号の転送処
理を、計算機の主記憶装置1−2に、2つのバッファ1
−3.1−4 (容量:各々1.2キロワードを設け、
ダブルバッファリング方式により行なう。
In the receiving system described above, parallel digital signal transfer processing is performed in two buffers 1 and 1 in the main storage device 1-2 of the computer.
-3.1-4 (Capacity: 1.2 kilowords each,
This is done using a double buffering method.

この場合、従来のダブルバッファリング方式により転送
処理を行なうと、バッファ交替に30マイクロ秒を要す
る。取込データの入力間隔は、15.2マイクロ秒であ
るから、取込データの欠落がおこる。
In this case, if transfer processing is performed using the conventional double buffering method, it will take 30 microseconds for buffer replacement. Since the input interval of the captured data is 15.2 microseconds, the captured data is lost.

従って、本発明の高速度データ転送処理方式により、次
にようにデータ転送処理を行なう。
Therefore, according to the high-speed data transfer processing method of the present invention, data transfer processing is performed as follows.

(1)データ取込および取込バッファ交替処理の実現: 次のように、バッファ容量分のデータを、2つのバッフ
ァ(BUFI、BUF2)に交互に取込むコマンドを、
転送データ全てを取込む数だけ作成し、主記憶装置に格
納する。
(1) Realization of data import and import buffer alternation processing: As shown below, the command to import data equivalent to the buffer capacity into two buffers (BUFI, BUF2) alternately is executed.
Create as many files as you need to capture all the transfer data, and store them in the main memory.

READ  BUFI   12000     1(
命令)、(データ取込矢尻(データワード数)、(次の
コマンドあり)READ、BtJF2  .12000
      .1Ljl READ、BUFI   、12000       
、IREAD、BUF2  .12600      
.0(次のコマンドなし) 以上のコマンドを格納した後、最初のコマンドのアドレ
スを指定し入力チャネルを起動すると、入力チャネルは
、以後のコマンドを自動的に読出し、処理を実行する。
READ BUFI 12000 1(
command), (data import arrowhead (number of data words), (next command available) READ, BtJF2 .12000
.. 1Ljl READ, BUFI, 12000
, IREAD, BUF2. 12600
.. 0 (No next command) After storing the above commands, when the address of the first command is specified and the input channel is activated, the input channel automatically reads subsequent commands and executes the processing.

(2)データ送出および送出バッファ交替処理の実現: 次のように行なう。(2) Realization of data transmission and transmission buffer replacement processing: Do it as follows.

(a)バッファ1からバッファ容量分のデータを磁気デ
ィスク装置に送るコマンド(バッファ送出コマンド)と
、バッファ2からバッファ容量分のデータを磁気ディス
ク装置に送るコマンド(バッファ2送出コマンド)を、
あらかじめ主記憶装置に格納しておく。
(a) A command to send the buffer capacity's worth of data from buffer 1 to the magnetic disk device (buffer send command) and a command to send the buffer capacity's worth of data from buffer 2 to the magnetic disk device (buffer 2 send command).
Store it in the main memory in advance.

(b)次の処理を行なうプログラムを作成する。(b) Create a program that performs the following processing.

1)入力チャネルからの1つのコマンドの実行終了信号
(コマンド割込)により起動し、取込処理を開始した時
点からのコマンド割込の回数をカウントする。
1) It is activated by the execution end signal (command interrupt) of one command from the input channel, and counts the number of command interrupts from the time when the capture process is started.

++)上記コマンド割込のカウント値が奇数の場合、バ
ッファ1送出コマンドを指定し出力チャネルを起動する
。カウント値が偶数の場合、バッファ2送出コマンドを
指定し出力チャネルを起動する。
++) If the count value of the above command interrupt is an odd number, specify the buffer 1 send command and start the output channel. If the count value is an even number, specify the buffer 2 send command and start the output channel.

以上により、入力チャネルからのコマンド割込により、
出力チャネルを起動し、2つのバッファから磁気ディス
クに交互にデータを送出する。
As a result of the above, command interrupt from the input channel causes
Activate the output channel and send data alternately from the two buffers to the magnetic disk.

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

本発明によりば、デジタルデータダブルバッファリング
方式によりリアルタイムで転送処理する場合、取込用と
送出用のバッファ交替を、入力チャネルの取込処理を停
止せずに行なうことができる。従って、データの入力間
隔のバッファ交替時間に比べ短い場合においても、デー
タを欠落なく転送することができる。
According to the present invention, when transferring data in real time using the digital data double buffering method, buffers for taking in and sending out can be exchanged without stopping the taking process of the input channel. Therefore, even if the data input interval is shorter than the buffer replacement time, data can be transferred without loss.

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

第1図は、本発明による高速データの転送方式を適用し
た衛星画像システムの全体構成を示す。 1・・・計算機、1−2・・・主記憶装置、1−3.1
−4・・・バッファ、2・・・アンテナ、3・・・受信
機、4・・・同期装置、訃−・入力チャネル、6・・・
出力チャネル、7・・・ディスク装置。
FIG. 1 shows the overall configuration of a satellite imaging system to which a high-speed data transfer method according to the present invention is applied. 1... Computer, 1-2... Main storage device, 1-3.1
-4... Buffer, 2... Antenna, 3... Receiver, 4... Synchronizer, - Input channel, 6...
Output channel, 7...disk device.

Claims (1)

【特許請求の範囲】[Claims] ディジタルデータを一定速度で入力し、入力チャネルに
より計算機にリアルタイムで取込み、出力チャネルによ
りリアルタイムで出力するというデータ転送システムを
実現するために、転送処理を制御するための計算機の処
理装置と、入力装置と、データを一時記憶するために計
算機の主記憶装置内に設けた2つの記憶領域(バッファ
とよぶ)と、処理装置の指示により入力装置から指定バ
ッファへのデータ取込を実行する入力チャネルと、出力
装置と、処理装置の指示により指定バッファから出力装
置に指定量のデータ送出を実行する出力チャネルから成
るデータ転送設備において、入力チャネル内に、処理装
置の1回の指示により一方のバッファへの指定量のデー
タの取込処理および他方のバッファへの指定量のデータ
の取込処理を交互に指定回数分実行する、という自動バ
ッファ交替機能を設け、データ取込用バッファとデータ
送出用バッファの交替を、入力チャネルの取込処理を停
止せずに行なうことを可能とした、高速データ転送方式
In order to realize a data transfer system that inputs digital data at a constant speed, inputs it into a computer in real time through an input channel, and outputs it in real time through an output channel, a computer processing device and an input device are used to control the transfer process. , two storage areas (called buffers) provided in the computer's main memory to temporarily store data, and an input channel that reads data from the input device to the designated buffer according to instructions from the processing device. , in a data transfer facility consisting of an output device and an output channel that sends a specified amount of data from a specified buffer to the output device according to instructions from a processing device; An automatic buffer switching function is provided, which alternately executes the process of importing a specified amount of data into the other buffer and the process of importing a specified amount of data into the other buffer for a specified number of times. A high-speed data transfer method that enables switching of input channels without stopping the input channel acquisition process.
JP14683284A 1984-07-17 1984-07-17 High speed data transfer system Pending JPS6126163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14683284A JPS6126163A (en) 1984-07-17 1984-07-17 High speed data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14683284A JPS6126163A (en) 1984-07-17 1984-07-17 High speed data transfer system

Publications (1)

Publication Number Publication Date
JPS6126163A true JPS6126163A (en) 1986-02-05

Family

ID=15416527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14683284A Pending JPS6126163A (en) 1984-07-17 1984-07-17 High speed data transfer system

Country Status (1)

Country Link
JP (1) JPS6126163A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191916A (en) * 1986-02-18 1987-08-22 Panafacom Ltd Image data transfer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191916A (en) * 1986-02-18 1987-08-22 Panafacom Ltd Image data transfer system

Similar Documents

Publication Publication Date Title
US3541513A (en) Communications control apparatus for sequencing digital data and analog data from remote stations to a central data processor
US4145755A (en) Information transferring apparatus
JPH05173938A (en) Intermittent dma control system
US5842042A (en) Data transfer control method for controlling transfer of data through a buffer without causing the buffer to become empty or overflow
JPS6126163A (en) High speed data transfer system
JPS61251252A (en) Processing method for data transfer
JPH0581165A (en) Data transfer circuit
JPH01291350A (en) Channel device
JPS61250758A (en) Communication controller
JPH02310649A (en) Reception frame transfer system and communication controller
JPS63180153A (en) Line-back control system for cache memory
JPS61210464A (en) Data buffer device
JPH0436410B2 (en)
JP2773198B2 (en) Data transfer device
JPS6278933A (en) Line monitor device for high speed transmission
JPH023343B2 (en)
JPH0465421B2 (en)
JPH01243184A (en) Picture display device
JPH089368A (en) Image processor
JPH023345B2 (en)
JPH05276221A (en) Reception control system
JPS59117653A (en) External storage controller
JPH01311650A (en) Data transfer method
JPH0736739A (en) Data processor
JPS5839328A (en) Input and output controller for auxiliary storage data