JPH11149432A - Data transfer processor - Google Patents

Data transfer processor

Info

Publication number
JPH11149432A
JPH11149432A JP9317361A JP31736197A JPH11149432A JP H11149432 A JPH11149432 A JP H11149432A JP 9317361 A JP9317361 A JP 9317361A JP 31736197 A JP31736197 A JP 31736197A JP H11149432 A JPH11149432 A JP H11149432A
Authority
JP
Japan
Prior art keywords
data
computer
data transfer
transfer processing
processing
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
JP9317361A
Other languages
Japanese (ja)
Inventor
Yukisuke Nomura
享右 野村
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.)
Taisei Corp
Original Assignee
Taisei Corp
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 Taisei Corp filed Critical Taisei Corp
Priority to JP9317361A priority Critical patent/JPH11149432A/en
Publication of JPH11149432A publication Critical patent/JPH11149432A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data transfer processor appropriate for continuing and completing data transfer processing with the outside even when the CPU of a computer is hung up just in the middle of executing that data transfer processing. SOLUTION: An auxiliary storage device 6, which can be accessed from both a computer 1a and an arithmetic processor 4, is provided and corresponding to a data exchange processing request from the computer 1a, the processing of data exchange with a data transmission line 3 is executed. Then, the transmission object data received from the data transmission line 3 are stored in the auxiliary storage device 6, and transmission object data stored in the auxiliary storage device 6 are transmitted to the data transmission line 3 on the other hand.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術の分野】本発明は、コンピュータの
外部との間のデータ転送処理を実行するデータ転送処理
装置に係り、特に、外部とのデータ転送処理を実行して
いる最中にコンピュータのCPUがハングアップして
も、そのデータ転送処理を継続し完了させるのに好適な
データ転送処理装置に関する。さらに詳しくは、ネット
ワーク回線とのデータの送受信処理を実行するデータ転
送処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer processing device for executing a data transfer process with a computer, and more particularly to a data transfer processing device for executing a data transfer process with a computer. The present invention relates to a data transfer processing device suitable for continuing and completing a data transfer process even when a CPU hangs up. More specifically, the present invention relates to a data transfer processing device that executes processing for transmitting and receiving data to and from a network line.

【0002】[0002]

【従来の技術】最近、マイクロプロセッサの高速化に伴
って、マルチタスクシステムを備えるOS(オペレーテ
ィングシステム)では、複数のタスクを一つのCPUで
実行させても比較的有効時間内に処理することができる
ようになったため、こうしたOSが単一CPUからなる
コンピュータにも適用されるようになってきた。
2. Description of the Related Art Recently, with the increase in the speed of microprocessors, an OS (Operating System) equipped with a multitasking system can process a plurality of tasks within a relatively effective time even if they are executed by one CPU. As a result, such OSs have been applied to computers having a single CPU.

【0003】この場合に、単一CPUからなるコンピュ
ータに適用される上記OSでは、FDD(Flexible Disk
Drive) 、モデム、プリンタ、スキャナ、ネットワーク
回線などのコンピュータの外部とのデータ入出力処理に
係るタスクを、次のように実行させていた。
In this case, the above OS applied to a computer having a single CPU uses an FDD (Flexible Disk).
Drive), a modem, a printer, a scanner, a network line, and the like, and a task relating to data input / output processing with the outside of the computer were executed as follows.

【0004】まず、外部からデータを入力するときに
は、外部のデータ伝送速度に応じて、インターフェース
を介して外部から入力したデータを、一旦コンピュータ
のRAMに読み込み、RAMに読み込んだデータを内蔵
のHDD(Hard Disk Drive)に格納する。一方、外部に
データを出力するときには、HDDから出力用のデータ
を一旦RAMに読み込み、外部のデータ伝送速度に応じ
て、RAMに読み込んだデータをインターフェースを介
して外部に出力するようになっている。
First, when data is input from the outside, the data input from the outside via the interface is once read into the RAM of the computer according to the external data transmission speed, and the data read into the RAM is stored in the built-in HDD ( Hard Disk Drive). On the other hand, when outputting data to the outside, data for output is temporarily read from the HDD to the RAM, and the data read into the RAM is output to the outside via the interface according to the external data transmission speed. .

【0005】したがって、いずれの場合にも外部とのデ
ータは、CPUにより一旦RAMを介して処理されるよ
うになっている。
Therefore, in any case, data from the outside is once processed by the CPU via the RAM.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、単一C
PUからなるコンピュータに適用される上記OSでは、
複数のタスクを一つのCPUで実行させるようになって
いるため、外部とのデータ入出力処理に係るタスクを実
行させている一方で、他のタスクによりCPUがハング
アップしてしまうと、実行中のすべてのタスクが停止状
態となり、したがって、データの入出力処理も当然に中
断される。この場合には、一旦CPUにリセットをか
け、データの入出力処理を始めからやりなおさなければ
ならない。
However, a single C
In the above OS applied to a computer including a PU,
Since multiple tasks are executed by one CPU, tasks related to data input / output processing with the outside are executed, but if the CPU hangs up due to other tasks, the task is being executed. Are stopped, and the data input / output processing is naturally suspended. In this case, the CPU must be reset once and the data input / output processing must be restarted from the beginning.

【0007】例えば、FDDやネットワーク回線とのデ
ータ入出力処理は、通常ファイル単位で行われるため、
データサイズの大きいファイルのデータ入出力処理中に
CPUがハングアップしたときには、これをやりなおす
ための手間が膨大なものとなる。特に、ネットワーク回
線とのデータ入出力処理では、大きなデータサイズのフ
ァイルが比較的頻繁に取り扱われるため、このような問
題が顕著である。
For example, data input / output processing with an FDD or a network line is usually performed in file units.
When the CPU hangs up during the data input / output processing of a file having a large data size, it takes enormous time to redo the processing. In particular, in a data input / output process with a network line, such a problem is remarkable because a file having a large data size is handled relatively frequently.

【0008】そこで、本発明は、このような従来の問題
を解決することを課題としており、外部とのデータ転送
処理を実行している最中にコンピュータのCPUがハン
グアップしても、そのデータ転送処理を継続し完了させ
るのに好適なデータ転送処理装置を提供することを目的
としている。
Accordingly, an object of the present invention is to solve such a conventional problem. Even if the CPU of a computer hangs up during execution of data transfer processing with an external device, the data of the computer hangs. It is an object of the present invention to provide a data transfer processing device suitable for continuing and completing the transfer process.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る請求項1記載のデータ転送処理装置
は、コンピュータとその外部との間に設けられ、当該コ
ンピュータと前記外部との間のデータ転送処理を実行す
るようになっているデータ転送処理装置であって、前記
コンピュータからのデータ転送処理要求に応じて前記外
部とのデータ転送処理を実行するデータ転送処理手段
と、前記コンピュータと前記データ転送処理手段との両
方がデータの読み出しおよび書き込みが可能な記憶手段
と、を備え、前記データ転送処理手段は、前記外部から
入力したデータを前記記憶手段に格納し、または、前記
記憶手段に格納されているデータを前記外部に出力する
ようになっている。
In order to achieve the above object, a data transfer processing device according to the present invention is provided between a computer and the outside thereof, and is provided between the computer and the outside. A data transfer processing device configured to execute data transfer processing between the computer and the external device in response to a data transfer processing request from the computer; Storage means capable of both reading and writing data, and the data transfer processing means, wherein the data transfer processing means stores data input from the outside in the storage means, or The data stored in the means is output to the outside.

【0010】このような構成であれば、コンピュータに
より外部からデータを入力するというデータ転送処理の
実行を要求されたときには、データ転送処理手段で、そ
の要求に応じたデータが外部から入力され、入力された
データが記憶手段に格納される。ここで、データ転送処
理手段は、コンピュータとは独立にデータ転送処理を実
行するようになっているため、コンピュータの動作状態
にかかわらずそのデータ転送処理が正常に完了、すなわ
ちすべてのデータを入力するまで継続実行される。
With this configuration, when the computer is requested to execute data transfer processing for inputting data from the outside, data corresponding to the request is input from the outside by the data transfer processing means. The obtained data is stored in the storage means. Here, since the data transfer processing means executes the data transfer processing independently of the computer, the data transfer processing is normally completed regardless of the operation state of the computer, that is, all data is input. It is continuously executed until

【0011】したがって、コンピュータは、記憶手段に
格納されたデータを自己の記憶手段に読み込むようにす
ればよく、データ転送処理を実行している最中にCPU
がハングアップしても、一旦CPUにリセットをかけて
から改めて記憶手段に格納されたデータを自己の記憶手
段に読み込むようにすればよい。
Therefore, the computer only has to read the data stored in the storage means into its own storage means.
Even if hangs up, it is only necessary to reset the CPU once and then read the data stored in the storage means again into its own storage means.

【0012】また、コンピュータにより外部にデータを
出力するというデータ転送処理の実行を要求されたとき
には、データ転送処理手段で、処理対象となるデータが
記憶手段から読み込まれ、読み込まれたデータが外部に
出力される。ここで、データ転送処理手段は、同様にコ
ンピュータとは独立にデータ転送処理を実行するように
なっているため、コンピュータの動作状態にかかわらず
そのデータ転送処理が正常に完了、すなわちすべてのデ
ータを出力するまで継続実行される。
Further, when the computer is requested to execute data transfer processing for outputting data to the outside, the data to be processed is read from the storage means by the data transfer processing means, and the read data is sent to the outside. Is output. Here, since the data transfer processing means similarly executes the data transfer processing independently of the computer, the data transfer processing is normally completed regardless of the operation state of the computer, that is, all the data is Continued until output.

【0013】したがって、コンピュータは、自己の記憶
手段に格納されている処理対象となるデータを記憶手段
に書き込むとともに、これを外部に出力するというデー
タ転送処理の実行を要求すれば、データ転送処理を実行
している最中にCPUがハングアップしても、記憶手段
に書き込んだ処理対象のデータは、データ転送処理手段
によりすべて外部に出力される。
Therefore, the computer writes the data to be processed stored in its own storage means to the storage means and requests the execution of the data transfer processing of outputting the data to the outside. Even if the CPU hangs up during execution, all data to be processed written in the storage means is output to the outside by the data transfer processing means.

【0014】なお、記憶手段は、そのアクセス速度が外
部とのデータ伝送速度よりも速いものであることが好ま
しい。また、本発明に係るデータ転送処理装置は、一台
のコンピュータに対してのみデータの入力または出力等
のデータ転送処理を実行するようになっているが、外部
に対しては、一つに限らず複数のものに対してデータ転
送処理を実行するようにしてもよい。すなわち、コンピ
ュータと外部とに対して1対1のデータ転送処理を実行
するようにしてもよく、または1対多数のデータ転送処
理を実行するようにしてもよい。
Preferably, the storage means has an access speed higher than a data transmission speed with the outside. Further, the data transfer processing device according to the present invention executes data transfer processing such as data input or output to only one computer, but is limited to one for the outside. Alternatively, the data transfer process may be performed on a plurality of devices. That is, one-to-one data transfer processing may be performed between the computer and the outside, or one-to-many data transfer processing may be performed.

【0015】この請求項1記載の発明において、コンピ
ュータの外部とは、本発明に係るデータ転送処理装置を
設けない場合に、シリアルポート、パラレルポート、プ
リンタポートなどのインターフェースを介してコンピュ
ータと直接的にデータの入力または出力をする装置また
は媒体であって、これには、例えば、FDD等のように
記憶媒体に対してデータの読み出しおよび書き込みが可
能な装置、モデム等のようにネットワーク回線に対して
データの通信を制御する装置、プリンタ、スキャナ、F
D等のような記憶媒体そのもの、ネットワーク回線その
もの、などが挙げられる。この場合に、FD等のような
記憶媒体やネットワーク回線のように、外部がコンピュ
ータとデータの入力または出力をする媒体であることを
意味する場合には、本発明に係るデータ転送処理装置ま
たはコンピュータの内部にFDDやモデム等の装置に相
当するものが設けられている。
In the first aspect of the present invention, the outside of the computer is directly connected to the computer via an interface such as a serial port, a parallel port, and a printer port when the data transfer processing device according to the present invention is not provided. A device or a medium for inputting or outputting data to and from a storage medium such as an FDD, a device capable of reading and writing data to a storage medium, a network such as a modem, etc. , Printer, scanner, F
D or the like, a network medium itself, or the like. In this case, if the external means is a medium for inputting or outputting data to and from a computer, such as a storage medium such as an FD or a network line, the data transfer processing device or the computer according to the present invention may be used. Is provided with an apparatus equivalent to an apparatus such as an FDD or a modem.

【0016】また、データ転送処理には、FDD、モデ
ム等に対してはデータの入力処理、出力処理または制御
信号の応答処理、プリンタ等に対してはデータの出力処
理または制御信号の応答処理、スキャナに対してはデー
タの入力処理または制御信号の応答処理、ネットワーク
回線に対してはデータの受信処理、送信処理または回線
制御処理、などが挙げられる。
In the data transfer processing, data input processing, output processing or control signal response processing for an FDD, a modem or the like, data output processing or control signal response processing for a printer or the like, For a scanner, data input processing or control signal response processing is performed, and for a network line, data reception processing, transmission processing, or line control processing is performed.

【0017】また、本発明に係る請求項2記載のデータ
転送処理装置は、請求項1記載のデータ転送処理装置に
おいて、前記外部は、他のコンピュータが接続されたネ
ットワーク回線である。
According to a second aspect of the present invention, in the data transfer processing device according to the first aspect, the outside is a network line to which another computer is connected.

【0018】このような構成であれば、コンピュータに
よりデータ転送処理が要求されたときには、データ転送
処理手段で、ネットワーク回線に対してデータ転送処理
が実行される。ネットワークとのデータ転送処理では、
大きなデータサイズのファイルが比較的頻繁に取り扱わ
れるため、データ送受信処理を実行している最中にコン
ピュータのCPUがハングアップしたときに、ファイル
の受信を始めからやりなおしたり、ファイルの送信を始
めからやりなおしたりするのに要していた手間が従来よ
りも大幅に低減される。
With such a configuration, when data transfer processing is requested by the computer, the data transfer processing means executes the data transfer processing to the network line. In the process of transferring data to and from the network,
Because files with large data sizes are handled relatively frequently, when the CPU of the computer hangs up while executing data transmission / reception processing, file reception is restarted or file transmission is started from the beginning. The time and effort required to start over is greatly reduced compared to the related art.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しながら説明する。図1は、本発明に係るデータ
転送処理装置の実施の形態を示す図である。図2は、デ
ータ転送処理装置の構成を示す図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an embodiment of a data transfer processing device according to the present invention. FIG. 2 is a diagram illustrating a configuration of the data transfer processing device.

【0020】この実施の形態は、本発明に係るデータ転
送処理装置を、図1に示すように、送信側コンピュータ
1aから送信したデータを、受信側コンピュータ1bで
受信する場合について適用したものである。
In this embodiment, as shown in FIG. 1, the data transfer processing device according to the present invention is applied to a case where data transmitted from a transmitting computer 1a is received by a receiving computer 1b. .

【0021】図中、送信側コンピュータ1aと受信側コ
ンピュータ1bとは、データを伝送するためのデータ伝
送路3によりデータを送受信可能に接続されている。そ
して、送信側コンピュータ1aとデータ伝送路3との間
には、データ転送処理装置2aが設けられ、受信側コン
ピュータ1bとデータ伝送路3との間には、データ転送
処理装置2bが設けられている。なお、発明の理解を容
易にするため、2台のコンピュータ1a,1bしか図示
していないが、実際には複数台のコンピュータがデータ
伝送路3に接続されている。
In FIG. 1, a transmitting computer 1a and a receiving computer 1b are connected to each other via a data transmission line 3 for transmitting data so that data can be transmitted and received. A data transfer processor 2a is provided between the transmitting computer 1a and the data transmission path 3, and a data transfer processor 2b is provided between the receiving computer 1b and the data transmission path 3. I have. Although only two computers 1a and 1b are shown for easy understanding of the invention, a plurality of computers are actually connected to the data transmission path 3.

【0022】データ転送処理装置2a,2bは、同一機
能を有している。そのため、ここでは、データ転送処理
装置2aの構成についてのみ説明し、データ転送処理装
置2bの構成についての説明は、省略する。
The data transfer processing devices 2a and 2b have the same function. Therefore, here, only the configuration of the data transfer processing device 2a will be described, and description of the configuration of the data transfer processing device 2b will be omitted.

【0023】データ転送処理装置2aは、図2に示すよ
うに、制御プログラムに基づいて演算およびシステム全
体を制御する演算処理装置4と、電気的にデータの読み
出しおよび書き込みが可能な主記憶装置5と、磁気的に
データの読み出しおよび書き込みが可能な補助記憶装置
6と、コンピュータ1a、データ伝送路3、主記憶装置
5および補助記憶装置7間のデータの入出力を制御する
入出力制御装置7と、で構成されている。なお、演算処
理装置4と、主記憶装置5と、入出力制御装置7とは、
データを伝送するための信号線であるバスBLで相互に
接続されている。
As shown in FIG. 2, the data transfer processing device 2a includes an arithmetic processing device 4 for controlling arithmetic and the entire system based on a control program, and a main storage device 5 capable of electrically reading and writing data. An auxiliary storage device 6 that can magnetically read and write data, and an input / output control device 7 that controls input and output of data between the computer 1a, the data transmission path 3, the main storage device 5, and the auxiliary storage device 7. And is composed of Note that the arithmetic processing unit 4, the main storage device 5, and the input / output control device 7
They are interconnected by a bus BL, which is a signal line for transmitting data.

【0024】入出力制御装置7には、コンピュータ1a
と、データ伝送路3と、補助記憶装置6と、が接続され
ており、これは、コンピュータ1a、主記憶装置5およ
び補助記憶装置6相互間のデータ入出力、並びに、デー
タ伝送路3と主記憶装置5とのデータ入出力を制御する
ようになっている。
The input / output control device 7 includes a computer 1a
, The data transmission path 3 and the auxiliary storage device 6 are connected to each other, which are used for data input / output between the computer 1a, the main storage device 5 and the auxiliary storage device 6, and the data transmission path 3 Data input / output with the storage device 5 is controlled.

【0025】主記憶装置5は、所定領域にあらかじめ演
算処理装置4の制御プログラム等を格納しているROM
と、ROM、コンピュータ1a、データ伝送路3または
補助記憶装置6から読み込んだデータや演算処理装置4
の演算過程で必要な演算結果を格納するRAMと、で構
成されている。
The main storage device 5 is a ROM in which a control program for the arithmetic processing device 4 is stored in a predetermined area in advance.
And data read from the ROM, the computer 1a, the data transmission path 3 or the auxiliary storage device 6, and the arithmetic processing device 4.
And a RAM for storing calculation results required in the calculation process.

【0026】補助記憶装置6は、演算処理装置4とコン
ピュータ1aとが両方でアクセス可能となっている。た
だし、一方がデータの読み出しまたは書き込みを実行し
ている最中において、他方がデータの読み出しまたは書
き込みを要求しても、一方の処理が終了するまではその
実行を待機するようになっている。
The auxiliary storage device 6 can be accessed by both the arithmetic processing unit 4 and the computer 1a. However, while one is reading or writing data, even if the other requests reading or writing data, the execution of one of the data is waited until one of the processes is completed.

【0027】演算処理装置4は、マイクロプロセッシン
グユニットMPU等からなり、コンピュータ1aにより
データ送信処理の実行が要求されたときには、主記憶装
置5のROMの所定領域に格納されている所定のプログ
ラムを起動させ、図3のフローチャートに示す処理を実
行する一方、コンピュータ1aによりデータ受信処理の
実行が要求されたときには、図4のフローチャートに示
す処理を実行するように構成されている。
The arithmetic processing unit 4 comprises a micro-processing unit MPU or the like. When the computer 1a requests execution of data transmission processing, a predetermined program stored in a predetermined area of the ROM of the main storage device 5 is started. Then, while the processing shown in the flowchart of FIG. 3 is executed, when the execution of the data receiving processing is requested by the computer 1a, the processing shown in the flowchart of FIG. 4 is executed.

【0028】ここで、演算処理装置4において、コンピ
ュータ1aによりデータ送信処理の実行が要求されたと
きに実行する処理は、次のように構成されている。な
お、後述するが、演算処理装置4では、データ転送処理
装置2bからデータを送信するようにとの要求を受信す
ると、コンピュータ1aにその旨を通知するようになっ
ており、この通知を受け、コンピュータ1aは、データ
送信処理実行の要求をデータ転送処理装置2aに発信す
るが、送信対象データを送信しようとするときには、送
信対象データを補助記憶装置6に格納したのちに、デー
タ送信処理実行の要求を発信するとともに、送信対象デ
ータの指定と、送信先コンピュータ1bのネットワーク
アドレスと、をデータ転送処理装置2aに提供するもの
とする。
Here, in the arithmetic processing unit 4, the processing to be executed when execution of the data transmission processing is requested by the computer 1a is configured as follows. As described later, when the arithmetic processing unit 4 receives a request to transmit data from the data transfer processing unit 2b, the arithmetic processing unit 4 notifies the computer 1a of the request. The computer 1a sends a request to execute the data transmission process to the data transfer processing device 2a. When the transmission target data is to be transmitted, the computer 1a stores the transmission target data in the auxiliary storage device 6, and then executes the data transmission process execution. A request is sent, and the designation of data to be transmitted and the network address of the destination computer 1b are provided to the data transfer processing device 2a.

【0029】まず、図3に示すように、ステップS1で
は、データ送信処理実行の要求とともに提供された送信
対象データの指定を取得し、ステップS2に移行して、
データ送信処理実行の要求とともに提供された送信先コ
ンピュータ1bのネットワークアドレスを取得し、ステ
ップS3に移行して、取得した送信対象データの指定に
基づいて、補助記憶装置6に格納されている送信対象デ
ータを主記憶装置5のRAMに読み込み、ステップS4
に移行するようになっている。
First, as shown in FIG. 3, in step S1, the designation of the transmission target data provided with the request for executing the data transmission process is obtained, and the process proceeds to step S2.
The network address of the destination computer 1b provided together with the request for execution of the data transmission process is obtained, and the process proceeds to step S3, where the transmission target stored in the auxiliary storage device 6 is specified based on the obtained specification of the transmission target data. The data is read into the RAM of the main storage device 5, and the process proceeds to step S4.
It is supposed to shift to.

【0030】ステップS4では、送信対象データを所定
データサイズごとに分割し、ステップS5に移行して、
分割した各送信対象データに取得したネットワークアド
レス等を付加してデータパケットを生成し、ステップS
6に移行して、結合情報(分割した送信対象データを復
元するための情報)等を付加したヘッダパケットを生成
し、ステップS7に移行するようになっている。
In step S4, the transmission target data is divided for each predetermined data size, and the process proceeds to step S5.
A data packet is generated by adding the acquired network address and the like to each of the divided transmission target data, and step S
6, the process generates a header packet to which combined information (information for restoring the divided transmission target data) and the like are added, and then proceeds to step S7.

【0031】ステップS7では、生成したヘッダパケッ
トを入出力制御装置7を介してデータ伝送路3に送信
し、ステップS8に移行して、生成したデータパケット
を入出力制御装置7を介してデータ伝送路3に送信し、
ステップS9に移行して、すべてのデータパケットを送
信したか否かを判定し、送信したと判定されたときに
は、ステップS10に移行して、送信対象データの送信
を完了した旨をコンピュータ1aに通知し、一連の処理
を終了するようになっている。
In step S7, the generated header packet is transmitted to the data transmission line 3 via the input / output control device 7, and the process proceeds to step S8, where the generated data packet is transmitted via the input / output control device 7. Send to Road 3,
The process proceeds to step S9 to determine whether all data packets have been transmitted. If it is determined that the data packets have been transmitted, the process proceeds to step S10 to notify the computer 1a that the transmission of the transmission target data has been completed. Then, a series of processing is terminated.

【0032】一方、ステップS9で、すべてのデータパ
ケットを送信しないと判定されたときには、ステップS
8に移行するようになっている。また、演算処理装置4
において、コンピュータ1aによりデータ受信処理の実
行が要求されたときに実行する処理は、次のように構成
されている。
On the other hand, if it is determined in step S9 that all data packets are not to be transmitted, the process proceeds to step S9.
8. In addition, the arithmetic processing unit 4
The processing executed when the computer 1a requests execution of the data reception processing is configured as follows.

【0033】まず、データ受信処理の実行が要求される
と、演算処理装置4では、データを受信しようとするコ
ンピュータ1bに対して、要求に応じたデータを送信す
るようにとの要求を発信し、図4のフローチャートのス
テップS11に移行するようになっている。
First, when execution of the data receiving process is requested, the arithmetic processing unit 4 sends a request to the computer 1b to receive the data to transmit the data according to the request. Then, the process proceeds to step S11 in the flowchart of FIG.

【0034】ステップS11では、入出力制御装置7を
介してデータ伝送路3からヘッダパケットまたはデータ
パケットを受信し、ステップS12に移行して、受信し
たヘッダパケットまたはデータパケットに付加されてい
るネットワークアドレスがコンピュータ1aのものと一
致するか否かを判定し、一致すると判定されたときに
は、ステップS13に移行するようになっている。な
お、ステップS12で一致判定をする際には、コンピュ
ータ1aのネットワークアドレスが参照されるが、これ
は、あらかじめ主記憶装置5のROMに記憶されている
か、または、補助記憶装置6に記憶されている。
In step S11, a header packet or data packet is received from the data transmission path 3 via the input / output control device 7, and the process proceeds to step S12, where the network address added to the received header packet or data packet is received. Is determined to match with that of the computer 1a, and when it is determined to match, the process proceeds to step S13. When the match is determined in step S12, the network address of the computer 1a is referred to. This is stored in advance in the ROM of the main storage device 5 or stored in the auxiliary storage device 6. I have.

【0035】ステップS13では、受信したヘッダパケ
ットに付加されている結合情報に基づいて、受信したデ
ータパケットから元の送信対象データを組み立て、ステ
ップS14に移行して、送信対象データが完全に復元さ
れたか否かを判定し、完全に復元されたと判定されたと
きには、ステップS15に移行するが、そうでないと判
定されたときには、ステップS11に移行するようにな
っている。
In step S13, the original data to be transmitted is assembled from the received data packet based on the combination information added to the received header packet, and the flow advances to step S14 to completely restore the data to be transmitted. It is determined whether or not the process has been completed. If it is determined that the image has been completely restored, the process proceeds to step S15. If it is determined that the image has not been completely restored, the process proceeds to step S11.

【0036】ステップS15では、復元された送信対象
データを補助記憶装置6に格納し、ステップS16に移
行して、送信対象データを受信した旨をコンピュータ1
aに通知し、一連の処理を終了するようになっている。
In step S15, the restored data to be transmitted is stored in the auxiliary storage device 6, and the process proceeds to step S16, where the computer 1 notifies that the data to be transmitted has been received.
a, and a series of processes is terminated.

【0037】一方、ステップS12で、受信したパケッ
トに付加されているネットワークアドレスがコンピュー
タ1aのものと一致しないと判定されたときには、ステ
ップS17に移行して、受信したヘッダパケットまたは
データパケットを入出力制御装置7を介してデータ伝送
路3に再送信し、ステップS11に移行するようになっ
ている。
On the other hand, if it is determined in step S12 that the network address added to the received packet does not match that of the computer 1a, the flow shifts to step S17 to input / output the received header packet or data packet. The data is retransmitted to the data transmission path 3 via the control device 7, and the process proceeds to step S11.

【0038】次に、上記実施の形態の動作を説明する。
まず、コンピュータ1bがコンピュータ1aの記憶手段
に格納されている所望のデータを受信しようとして、デ
ータ受信処理実行の要求をデータ転送処理装置2bに発
信するものとする。そうすると、データ転送処理装置2
bでは、コンピュータ1aに対してデータ受信処理実行
の要求に応じたデータを送信するようにとの要求が発信
される。
Next, the operation of the above embodiment will be described.
First, it is assumed that the computer 1b transmits a request to execute data reception processing to the data transfer processing device 2b in order to receive desired data stored in the storage unit of the computer 1a. Then, the data transfer processing device 2
In b, a request is transmitted to the computer 1a to transmit data according to the request for executing the data reception process.

【0039】一方、この要求を受信したときに、データ
転送処理装置2aでは、その旨がコンピュータ1aに通
知される。この通知を受け、コンピュータ1aがコンピ
ュータ1bに向けて要求に係る送信対象データAを送信
するときには、コンピュータ1aでは、データ転送処理
装置2aの補助記憶装置6に送信対象データAを格納
し、データ送信処理実行の要求を発信するとともに、送
信対象データAの指定と、送信先コンピュータ1bのネ
ットワークアドレスBadと、をデータ転送処理装置2a
に提供するものとする。なお、送信対象データAは、そ
のデータサイズが比較的大きく、ここでは、そのデータ
サイズが例えば6Mbyte (6,291,456 byte)であるもの
とする。
On the other hand, when this request is received, the data transfer processor 2a notifies the computer 1a of the request. When the computer 1a receives the notification and transmits the transmission target data A according to the request to the computer 1b, the computer 1a stores the transmission target data A in the auxiliary storage device 6 of the data transfer processing device 2a, and transmits the data. A request for execution of processing is transmitted, and the designation of the transmission target data A and the network address Bad of the transmission destination computer 1b are transmitted to the data transfer processing device 2a
Shall be provided. The transmission target data A has a relatively large data size, and here, the data size is, for example, 6 Mbytes (6,291,456 bytes).

【0040】そうすると、データ転送処理装置2aで
は、提供された送信対象データAの指定に基づいて、送
信対象データAがRAMに読み込まれ、所定データサイ
ズ(例えば、128byte)に分割され、すなわち、送信
対象データAが49,152個(6,291,456 ÷ 128)の送信対
象データA0 〜AN (N=49,151)に分割される。そし
て、送信対象データA0 には、提供されたネットワーク
アドレスBad、およびその他の情報(送信元コンピュー
タ1aのネットワークアドレスAad等)が付加され、こ
れによってデータパケットA0 が生成される。同様に、
送信対象データA 1 〜AN には、提供されたネットワー
クアドレスBad、およびその他の情報が付加され、これ
によってデータパケットA1 〜AN が生成される。
Then, in the data transfer processing device 2a,
Is transmitted based on the specified transmission target data A.
The data A to be transmitted is read into the RAM, and
(E.g., 128 bytes)
49,152 target data A (6,291,456 ÷ 128) transmission pairs
Elephant data A0~ AN(N = 49,151). Soshi
And the transmission target data A0The provided network
Address Bad and other information (source computer
Network address Aad of the data 1a) is added.
As a result, the data packet A0Is generated. Similarly,
Transmission target data A 1~ ANThe provided network
Address Bad and other information are added.
Data packet A1~ ANIs generated.

【0041】次いで、結合情報(元の送信対象データA
がデータパケットA0 〜AN から構成されていることを
示す情報)、提供されたネットワークアドレスBad、お
よびその他の情報が付加されたヘッダパケットHが生成
され、これがデータ伝送路3に送信される。続いて、デ
ータパケットA0 〜AN がデータ伝送路3に順次送信さ
れるが、すべてのデータパケットA0 〜AN が送信され
ると、送信対象データAの送信が完了した旨がコンピュ
ータ1aに通知される。この通知によって、コンピュー
タ1aは、送信対象データAの送信が完了したことを確
認することができる。
Next, the combination information (the original transmission target data A
Is generated from the data packets A 0 to A N ), the provided network address Bad, and a header packet H to which other information is added, and the header packet H is transmitted to the data transmission path 3. . Subsequently, the data packets A 0 to A N are sequentially transmitted to the data transmission line 3, all of the data packets A 0 to A N is transmitted, the computer 1a that the transmission has been completed the transmission target data A Will be notified. By this notification, the computer 1a can confirm that the transmission of the transmission target data A has been completed.

【0042】このように、コンピュータ1aがデータ送
信処理実行の要求をデータ転送処理装置2aに発信した
のちは、送信対象データAの送信処理がデータ転送処理
装置2aにより代行されるため、コンピュータ1aの動
作状態にかかわらず送信対象データAが送信先コンピュ
ータ1bに送信される。
As described above, after the computer 1a sends the data transmission processing execution request to the data transfer processing device 2a, the transmission process of the transmission target data A is performed by the data transfer processing device 2a. The transmission target data A is transmitted to the transmission destination computer 1b regardless of the operation state.

【0043】他方、データ転送処理装置2bでは、コン
ピュータ1aから送信されたヘッダパケットHが受信さ
れるとともに、データパケットA0 〜AN が順次受信さ
れる。このとき、ヘッダパケットHおよびデータパケッ
トA0 〜AN に付加されているネットワークアドレスB
adと、自己に接続されているコンピュータ1bのネット
ワークアドレスBadと、が一致するので、ヘッダパケッ
トHに付加されている結合情報に基づいて、データパケ
ットA0 〜AN から送信対象データAが復元される。次
いで、復元された送信対象データAが補助記憶装置6に
格納されるとともに、送信対象データAが受信された旨
がコンピュータ1bに通知される。
On the other hand, in the data transfer processing device 2b, the header packet H transmitted from the computer 1a is received, and the data packets A 0 to A N are sequentially received. At this time, the network address B added to the header packet H and the data packets A 0 to A N
and ad, because the network address Bad computer 1b connected to the self, are matched, based on binding information added to the header packet H, restore transmitted data A from the data packet A 0 to A N Is done. Next, the restored transmission target data A is stored in the auxiliary storage device 6, and the computer 1b is notified that the transmission target data A has been received.

【0044】コンピュータ1bでは、この通知を受ける
と、データ転送処理装置2bの補助記憶装置6をアクセ
スし、受信された送信対象データAを自己のRAM等の
記憶手段に読み込むようにする。
Upon receiving this notification, the computer 1b accesses the auxiliary storage device 6 of the data transfer processing device 2b and reads the received transmission target data A into its own storage means such as a RAM.

【0045】このように、送信対象データAの受信処理
がデータ転送処理装置2bにより代行されるため、コン
ピュータの1bの動作状態にかかわらず送信対象データ
Aがデータ転送処理装置2bに受信される。
As described above, since the receiving process of the transmission target data A is performed by the data transfer processing device 2b, the transmission target data A is received by the data transfer processing device 2b regardless of the operation state of the computer 1b.

【0046】このようにして、コンピュータ1aと演算
処理装置4との両方がアクセス可能な補助記憶装置6を
備え、コンピュータ1aからのデータ送受信処理実行の
要求に応じて、データ伝送路3とのデータ送受信処理を
実行し、データ伝送路3から受信した送信対象データを
補助記憶装置6に格納する一方、補助記憶装置6に格納
されている送信対象データをデータ伝送路3に送信する
ようにしたから、コンピュータ1aの動作状態にかかわ
らず送信対象データを送信することができるので、デー
タ送信処理を実行している最中にコンピュータ1aのC
PUがハングアップしたときに、そのデータ送信処理を
始めからやりなおす可能性を従来よりも低減することが
できる。また、コンピュータ1aの動作状態にかかわら
ず送信対象データを受信することができるから、データ
受信処理を実行している最中にコンピュータ1aのCP
Uがハングアップしたときに、そのデータ受信処理を始
めからやりなおす可能性を従来よりも低減することがで
きる。したがって、やりなおしに要していた手間や時間
を従来よりも低減することができる。
As described above, the auxiliary storage device 6 which can be accessed by both the computer 1a and the arithmetic processing unit 4 is provided, and in response to a request for execution of data transmission / reception processing from the computer 1a, data is transmitted to / from the data transmission path 3. Since the transmission / reception processing is executed to store the transmission target data received from the data transmission path 3 in the auxiliary storage device 6, the transmission target data stored in the auxiliary storage device 6 is transmitted to the data transmission path 3. The transmission target data can be transmitted regardless of the operation state of the computer 1a.
When the PU hangs up, the possibility of restarting the data transmission process from the beginning can be reduced as compared with the related art. In addition, since the transmission target data can be received regardless of the operation state of the computer 1a, the CP of the computer 1a during the data reception processing is executed.
When U hangs up, the possibility of restarting the data receiving process from the beginning can be reduced as compared with the related art. Therefore, it is possible to reduce the labor and time required for redoing as compared with the related art.

【0047】特に、データ転送処理装置2aを、大きな
データサイズのファイルを比較的頻繁に取り扱うネット
ワーク上のデータを送受信するのに適用したから、デー
タ送受信中にコンピュータ1aのCPUがハングアップ
したときに、ファイルの受信を始めからやりなおした
り、ファイルの送信を始めからやりなおしたりするのに
要していた手間を大幅に低減することができる。
In particular, since the data transfer processing device 2a is applied to the transmission and reception of data on a network that handles files of large data size relatively frequently, when the CPU of the computer 1a hangs up during data transmission and reception. Thus, it is possible to greatly reduce the time and effort required to restart receiving a file from the beginning or to restart transmitting a file from the beginning.

【0048】なお、上記実施の形態においては、データ
転送処理装置2a,2bをデータの送信処理および受信
処理を実行するように構成したが、これに限らず、必要
に応じていずれか一方のみを実行するように構成しても
よい。
In the above-described embodiment, the data transfer processing devices 2a and 2b are configured to execute the data transmission processing and the data reception processing. It may be configured to execute.

【0049】また、上記実施の形態においては、本発明
に係るデータ転送処理装置2a,2bをネットワーク上
のデータの送受信処理を実行するのに適用したが、これ
に限らず、FDD等のように記憶媒体に対してデータの
読み出しおよび書き込みが可能な装置、モデム等のよう
にネットワーク回線に対してデータの通信を制御する装
置、プリンタ、スキャナなどに対してデータ転送処理を
実行するのに適用してもよい。また、この場合におい
て、データ転送処理装置2a,2bは、ネットワーク上
のデータの送受信処理のみを実行するだけでなく、これ
に加えて、プリンタ、スキャナなどに対してもデータ転
送処理を実行するように構成してもよい。
Further, in the above-described embodiment, the data transfer processing devices 2a and 2b according to the present invention are applied to execute data transmission / reception processing on a network. However, the present invention is not limited to this. Applicable to execute data transfer processing to devices that can read and write data to and from storage media, devices that control data communication to network lines such as modems, printers, scanners, etc. You may. Further, in this case, the data transfer processing devices 2a and 2b not only execute the data transmission / reception processing on the network, but also execute the data transfer processing with respect to a printer, a scanner, and the like. May be configured.

【0050】さらに、上記実施の形態において、図3お
よび図4のフローチャートに示す処理を実行するにあた
ってはいずれも、主記憶装置5のROMにあらかじめ格
納されているプログラムを実行するように構成したが、
これに限らず、これらの手順を示したプログラムが記憶
された記憶媒体から、そのプログラムを主記憶装置5の
RAMに読み込んで実行するように構成してもよい。
Further, in the above embodiment, when executing the processing shown in the flow charts of FIGS. 3 and 4, the program stored in the ROM of the main storage device 5 is executed. ,
The present invention is not limited to this, and the program may be configured to be read from a storage medium storing a program indicating these procedures into the RAM of the main storage device 5 and executed.

【0051】ここで、記録媒体とは、RAM、ROM等
の半導体記憶媒体、FD、HD等の磁気記憶型記憶媒
体、CD、CDV、LD、DVD等の光学的読取方式記
憶媒体、MO等の磁気記憶型/光学的読取方式記憶媒体
であって、電子的、磁気的、光学的等の読み取り方法の
いかんにかかわらず、コンピュータで読み取り可能な記
録媒体であれば、あらゆる記録媒体を含むものである。
Here, the recording medium is a semiconductor storage medium such as a RAM or a ROM, a magnetic storage type storage medium such as an FD or HD, an optical reading type storage medium such as a CD, CDV, LD, or DVD, or an MO storage medium. It is a magnetic storage type / optical readout type storage medium, and includes any storage medium that can be read by a computer irrespective of an electronic, magnetic, optical or other reading method.

【0052】上記実施の形態において、補助記憶装置6
は、請求項1記載の記憶手段に対応し、演算処理装置4
およびステップS1からS9まで、または、演算処理装
置4、ステップS11からS15までおよびステップS
17は、請求項1記載のデータ転送処理手段に対応し、
データ伝送路3は、請求項1又は2記載の外部に対応し
ている。
In the above embodiment, the auxiliary storage device 6
Corresponds to the storage means according to claim 1, and the arithmetic processing unit 4
And steps S1 to S9 or the processing unit 4, steps S11 to S15 and step S
17 corresponds to the data transfer processing means according to claim 1;
The data transmission path 3 corresponds to the outside according to the first or second aspect.

【0053】[0053]

【発明の効果】以上説明したように、本発明に係るデー
タ転送処理装置によれば、コンピュータの動作状態にか
かわらず外部とのデータ転送処理を実行することができ
るので、従来に比して、外部とのデータ転送処理を実行
している最中にコンピュータのCPUがハングアップし
たときに、そのデータ転送処理を始めからやりなおす可
能性を低減し、よってこれに要していた手間を低減する
ことができるという効果が得られる。
As described above, according to the data transfer processing device of the present invention, the data transfer processing with the outside can be executed irrespective of the operating state of the computer. When the CPU of the computer hangs up while executing data transfer processing with the outside, the possibility of restarting the data transfer processing from the beginning is reduced, thereby reducing the time and effort required for this. Is obtained.

【0054】特に、本発明に係る請求項2記載のデータ
転送処理装置によれば、外部とのデータ転送処理を実行
している最中にコンピュータのCPUがハングアップし
たときに、そのデータ転送処理を始めからやりなおすの
に要していた手間をより低減することができるという効
果も得られる。
In particular, according to the data transfer processing device of the present invention, when the CPU of the computer hangs up while executing the data transfer processing with the outside, the data transfer processing is performed. The effect that the labor required to start over from the beginning can be further reduced.

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

【図1】実施の形態の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment.

【図2】データ転送処理装置の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of a data transfer processing device.

【図3】コンピュータによりデータ送信処理の実行が要
求されたときに実行する処理を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating a process executed when execution of a data transmission process is requested by a computer.

【図4】コンピュータによりデータ受信処理の実行が要
求されたときに実行する処理を示すフローチャートであ
る。
FIG. 4 is a flowchart illustrating processing executed when execution of data reception processing is requested by a computer.

【符号の説明】[Explanation of symbols]

1a,1b コンピュータ 2a,2b データ転送処理装置 3 データ伝送路 4 演算処理装置 5 主記憶装置 6 補助記憶装置 7 入出力制御装置 1a, 1b Computer 2a, 2b Data transfer processing device 3 Data transmission path 4 Arithmetic processing device 5 Main storage device 6 Auxiliary storage device 7 Input / output control device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータとその外部との間に設けら
れ、当該コンピュータと前記外部との間のデータ転送処
理を実行するようになっているデータ転送処理装置であ
って、 前記コンピュータからのデータ転送処理要求に応じて前
記外部とのデータ転送処理を実行するデータ転送処理手
段と、前記コンピュータと前記データ転送処理手段との
両方がデータの読み出し及び書き込みが可能な記憶手段
と、を備え、 前記データ転送処理手段は、前記外部から入力したデー
タを前記記憶手段に格納し、又は、前記記憶手段に格納
されているデータを前記外部に出力するようになってい
ることを特徴とするデータ転送処理装置。
1. A data transfer processing device provided between a computer and the outside thereof and adapted to execute a data transfer process between the computer and the outside, comprising: A data transfer processing unit that executes a data transfer process with the outside in response to a processing request; and a storage unit that allows both the computer and the data transfer processing unit to read and write data. A data transfer processing device, wherein the transfer processing means stores the data input from the outside in the storage means, or outputs the data stored in the storage means to the outside. .
【請求項2】 前記外部は、他のコンピュータが接続さ
れたネットワーク回線であることを特徴とする請求項1
記載のデータ転送処理装置。
2. The system according to claim 1, wherein the outside is a network line to which another computer is connected.
The data transfer processing device according to the above.
JP9317361A 1997-11-18 1997-11-18 Data transfer processor Pending JPH11149432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9317361A JPH11149432A (en) 1997-11-18 1997-11-18 Data transfer processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9317361A JPH11149432A (en) 1997-11-18 1997-11-18 Data transfer processor

Publications (1)

Publication Number Publication Date
JPH11149432A true JPH11149432A (en) 1999-06-02

Family

ID=18087390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9317361A Pending JPH11149432A (en) 1997-11-18 1997-11-18 Data transfer processor

Country Status (1)

Country Link
JP (1) JPH11149432A (en)

Similar Documents

Publication Publication Date Title
JP4896328B2 (en) System and method for managing a connection between a client and a server
JP4160642B2 (en) Network data transfer method
US20070006020A1 (en) Inter-host data transfer method, program, and system
JP2004157966A (en) End point memory control method and device, usb device, and storage medium
JP2001024733A (en) Data transmission equipment
JP4071098B2 (en) Architecture and runtime environment for network filter drivers
KR100834431B1 (en) RNIC-BASED OFFLOAD OF iSCSI DATA MOVEMENT FUNCTION BY INITIATOR
EP1122924B1 (en) Method and apparatus for providing local path I/O in a distributed file system
US6704836B1 (en) Method for dynamic control of concurrent extended copy tasks
US7127530B2 (en) Command issuing apparatus for high-speed serial interface
EP1033658B1 (en) Communication apparatus with means for allocating alternate designation information to each function unit, and communication system with two such communication apparatus
JPH10334037A (en) Communication dma device
TWI235921B (en) System and method for effectively performing physical direct memory access operations
JP3189269B2 (en) Network printer
JPH11149432A (en) Data transfer processor
JP4218034B2 (en) Data communication system, data communication method, and data communication program
JP2000259362A (en) Printer and data processing method of printer
JP3838606B2 (en) Sequence processing device
JPH11149455A (en) Memory disk sharing method and its executing device
JP3237592B2 (en) Communication load control method, its device, and its program recording medium
JP3598924B2 (en) Data transfer control device, information storage medium, and electronic device
JP2853607B2 (en) Communication system between jobs
JP2008148181A (en) Communication apparatus and communication control method
JP3606145B2 (en) Data transfer control device and electronic device
WO2005013137A1 (en) Data transfer method