JPS61141063A - Suspension resumption system of file transfer - Google Patents

Suspension resumption system of file transfer

Info

Publication number
JPS61141063A
JPS61141063A JP59264027A JP26402784A JPS61141063A JP S61141063 A JPS61141063 A JP S61141063A JP 59264027 A JP59264027 A JP 59264027A JP 26402784 A JP26402784 A JP 26402784A JP S61141063 A JPS61141063 A JP S61141063A
Authority
JP
Japan
Prior art keywords
file
file transfer
request
command
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59264027A
Other languages
Japanese (ja)
Inventor
Keishiro Konuma
小沼 敬四郎
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 JP59264027A priority Critical patent/JPS61141063A/en
Publication of JPS61141063A publication Critical patent/JPS61141063A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To attain emergent interruption by preparing suspending and resuming commands, suspending file transfer processing at the next point when the suspending command is inputted and resuming the transfer by means of the resuming command upon the completion of interruption processing. CONSTITUTION:Suspending and resuming commands such as 'SUSPEND', 'RESUME', etc., are prepared, and the file transfer processing is provisionally suspended at the next checking point when the suspending command is inputted. At this time the suspended section is made receptive of a new request. When the resuming command is inputted upon the completion of the interruption processing, the transfer of the suspended file is resumed. The resumption of the suspension can be made any time during transferring one file.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファイル転送手段に中断再開機能を持たせる
ことによって、緊急割込みやファイルの分割転送を可能
としたファイル転送の中断再開方式に関するものである
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a file transfer interrupt/restart method that enables emergency interrupts and divided file transfer by providing a file transfer means with an interrupt/restart function. It is.

〔従来技術と問題点〕[Prior art and problems]

第10図はファイル転送方式の1例を示す図、第11図
は従来のファイル転送を説明する図である。第1θ図に
おいて、■はホスト計算機、2は端末、3と4はファイ
ル転送手段、5と6はファイルをそれぞれ示している。
FIG. 10 is a diagram showing an example of a file transfer method, and FIG. 11 is a diagram explaining conventional file transfer. In FIG. 1θ, ■ indicates a host computer, 2 indicates a terminal, 3 and 4 indicate file transfer means, and 5 and 6 indicate files, respectively.

なお、図では端末は1個しか示されていないが、実際に
は複数個の端末が存在する。端末2のユーザがファイル
6のデ−タをファイル5に転送したい場合、5END 
FILE(6) TOFILE(5) 5TATION
 1というコマンドを例えばキーボードから入力する。
Note that although only one terminal is shown in the figure, there are actually multiple terminals. If the user of terminal 2 wants to transfer the data of file 6 to file 5, 5END
FILE(6) TOFILE(5) 5TATION
For example, input the command 1 from the keyboard.

そうすると、端末2のファイル転送手段4はファイル送
信要求をホスト計算機lに送信し、ホスト計算機lのフ
ァイル転送手段3はファイル送信要求に対して応答を返
し、次いでブロック群要求を送る。ブロック群要求を受
信すると、端末2のファイル転送手段4ははn個のデー
タ・ブロックを順々に送る。n個のデータ・ブロックを
受信すると、チェック・ポイント処理が行われ、n個の
データ・ブロックが全て正常に受信されたか否かのチェ
ック・が行われる。
Then, the file transfer means 4 of the terminal 2 sends a file transmission request to the host computer 1, the file transfer means 3 of the host computer 1 returns a response to the file transmission request, and then sends a block group request. Upon receiving the block group request, the file transfer means 4 of the terminal 2 sequentially sends n data blocks. When n data blocks are received, check point processing is performed to check whether all n data blocks have been received normally.

データ転送が正常に行われたとすると、送信側のセショ
ン・サービス・テーブルにどこまでが送信されたかを示
す情報が書き込まれ、受信側のセション・サービス・テ
ーブルにどこまで受信したかを示す情報が書き込まれる
。このようなn個のデータ・ブロック転送が複数回行わ
れ、ファイル6の全データがファイル5に転送される。
Assuming that the data transfer is successful, information indicating how far has been sent is written to the session service table on the sending side, and information indicating how far has been received is written to the session service table on the receiving side. . Such n data block transfers are performed multiple times, and all data in file 6 is transferred to file 5.

ホスト計算機1のユーザがRECEIVEコマンドを入
力したときにも、ファイル6の全データがファイル5に
転送される。勿論、ホスト計算機lのファイル転送手段
3がファイル送信要求を発行することも可能であり、端
末2のファイル転送手段4がファイル受信要求を発行す
ることも可能である。なお、セション・サービス・テー
ブルには、転送元と転送先のファイル名、ファイルの何
処まで転送したか或いはファイルの何処まで書き込んだ
かを示すポインタ、ブロック群を構成するデータ・ブロ
ックの個数などが格納されている。
All data in file 6 is also transferred to file 5 when the user of host computer 1 inputs a RECEIVE command. Of course, it is also possible for the file transfer means 3 of the host computer 1 to issue a file transmission request, and it is also possible for the file transfer means 4 of the terminal 2 to issue a file reception request. The session service table stores information such as the transfer source and destination file names, pointers that indicate how far in the file has been transferred or written, and the number of data blocks that make up the block group. has been done.

従来のファイル転送では一旦転送を開始すると、これが
完了するか又はキャンセルする迄そのセションを占有し
てしまうので次のような問題がある。
In conventional file transfer, once the transfer is started, the session is occupied until the transfer is completed or canceled, resulting in the following problems.

即ち、長大なファイル転送中に緊急な要求、例えばメツ
セージの伝送、小さいが緊急性の高いファイル転送等が
発生しても、割込むことが出来ず、効果的な業務の遂行
を阻害する。長大なファイルは負荷の低い時間帯(複数
)に分割して転送するのが効果的であるが、このような
操作が出来ない。
That is, even if an urgent request such as a message transmission or a small but highly urgent file transfer occurs during a large file transfer, the request cannot be interrupted, which hinders effective business execution. It is effective to transfer large files by dividing them into periods of low load (multiple times), but this operation is not possible.

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

本発明は、上記の考察に基づ(ものであって、ファイル
転送手段に中断再開機能を持たせ、緊急割込みを可能と
するファイル転送の中断再開方式を提供することを目的
としている。
The present invention is based on the above consideration, and an object of the present invention is to provide a file transfer suspending/resuming method in which a file transfer means is provided with a suspending/resuming function and an emergency interrupt is possible.

〔目的を達成するための手段〕    。[Means to achieve a goal].

そしてそのため本発明のファイル転送の中断再開方式は
、ホスト計算機と、複数の端末とを具備し、ホスト計算
機のファイルから端末のファイルへ又は端末のファイル
からホスト計算機のファイルへデータを転送出来るよう
になったシステムにおけるファイル転送の中断再開方式
であって、上記ホスト計算機のファイル転送手段は、中
断コマンドが入力されたとき、プロッタ群転送が終了し
た後に中断要求を受信側の端末に送信し、当該ファイル
転送を中断して次の新サービス要求を待つと共に、再開
コマンドが入力されたとき中断しているファイル転送を
再開するための処理を行うよう構成され、端末のファイ
ル転送手段は、中断コマンドが入力されたとき、ブロッ
ク群転送が終了した後に中断要求を上記ホスト計算機に
送信し、当該ファイル転送を中断して次の新サービス要
求を待つと共に、再開コマンドが入力されたとき中断し
ているファイル転送を再開するための処理を行うように
構成されていることを特徴とするものである。
Therefore, the file transfer interruption/resumption method of the present invention is equipped with a host computer and a plurality of terminals, and is capable of transferring data from a file on the host computer to a file on the terminal or from a file on the terminal to a file on the host computer. In this system, when a suspend command is input, the file transfer means of the host computer sends a suspend request to the receiving terminal after plotter group transfer is completed, and The device is configured to interrupt file transfer and wait for the next new service request, and to perform processing to resume the interrupted file transfer when a resume command is input, and the file transfer means of the terminal is configured to When input, a suspension request is sent to the above host computer after the block group transfer is completed, the file transfer is suspended and the next new service request is waited for, and when a restart command is input, the suspended file is The present invention is characterized in that it is configured to perform processing for restarting transfer.

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

要約すると、本発明は下記の如きものである。 In summary, the present invention is as follows.

例えば、5USPEND 、 RHSIIMB等の中断
、再開コマンドをそれぞれ用意する。中断コマンドが入
力されたら次のチェック・ポイントで一旦フアイル転送
処理を中断する。中止したセツションでは新しい要求を
受付可能とする。割込み処理が完了した時点で再開コマ
ンドが入力されたら中断中のファイル転送を再開する。
For example, suspend and resume commands such as 5USPEND and RHSIIMB are prepared. When the interrupt command is input, the file transfer process is temporarily interrupted at the next check point. The canceled session can accept new requests. When the restart command is input when the interrupt processing is completed, the suspended file transfer will be resumed.

中断再開は一つのファイル転送中に何回行っても良いも
のとする。
Interruption and resumption may be performed any number of times during one file transfer.

第1図(a)は送信側のファイル転送手段が中断要求を
送信する場合の処理の概要を示す図である。
FIG. 1(a) is a diagram showing an outline of processing when the file transfer means on the sending side sends an interruption request.

中断コマンドがキーボード等から入力されると、中断要
求表示がオンする。中断コマンドは、例えば5USPE
ND FILE(A) To FILf!(B) 5T
AT夏ON Xというものである。データ・ブロック1
ないしnが転送されたならば、送信側はチェック・ポイ
ント処理を行う。このチェック・ポイント処理の中で従
来のようなチェック・ポイント処理を行うと共に中゛断
要求表示がオンしているか否かを調べる。オンしている
場合には送信側は中断要求を受信側に送り、応答が帰っ
て来たならば、次の新サービスのための処理を行う、− 第1図fb)は受信側のファイル転送手段が中断要求を
送信する場合の処理の概要を示す図である。
When an interrupt command is input from a keyboard or the like, an interrupt request display is turned on. The interrupt command is, for example, 5USPE
ND FILE(A) To FILf! (B) 5T
It's called AT Summer ON X. data block 1
If n is transferred, the sender performs checkpoint processing. During this check point processing, conventional check point processing is performed and it is checked whether the interrupt request display is on. If it is on, the sending side sends an interruption request to the receiving side, and when a response is received, it performs processing for the next new service. - Figure 1 fb) is the file transfer on the receiving side. FIG. 6 is a diagram illustrating an overview of processing when the means transmits an interruption request.

受信側はデータ・ブロック1ないしnを受信すると、・
チェック・ポイント処理を行う、この’fエフク・ポイ
ント処理の過程で中断要求表示がオンであるか否かを調
べる。オンであれば、中断要求を送信側に送り、応答が
帰って来るのを待つ。応答が帰ってきたならば、新サー
ビスのための処理を行う。
When the receiving side receives data blocks 1 to n,
During check point processing, it is checked whether the interrupt request display is on or not. If it is on, it sends an interrupt request to the sender and waits for a response. If a response is returned, processing for the new service is performed.

第2図(alは送信側のファイル転送手段が再開要求を
送信する場合の処理の概要を示す図である。
FIG. 2 (al) is a diagram showing an outline of processing when the file transfer means on the sending side sends a restart request.

キーボードから再開コマンドが入力されると、送信側は
再開要求を受信側に送り、応答が帰って来たならばブロ
ック群要求が送られて来るのを待)。
When a resume command is input from the keyboard, the sending side sends a restart request to the receiving side, and if a response is received, it waits for a block group request to be sent).

再開コマンドは、例えばRESt1Mt! FILt!
(A) To FILE(8) 5TATION Xと
いうものである。ブロック群要求が送られて来たならば
、データ・ブロックの送出を開始する。
The restart command is, for example, REST1Mt! FILt!
(A) To FILE (8) 5TATION X. When a block group request is sent, data block transmission begins.

第2図(blは受信側のファイル転送手段が再開要求を
送信する場合の処理の概要を示す図である。
FIG. 2 (bl is a diagram showing an outline of the process when the file transfer means on the receiving side sends a restart request.

再開コマンドが入力されると、受信側は再開要求を送信
側に送り、応答を待つ、応答が送られて来たならば、ブ
ロック群要求を送信側に送り、続いて送信側から送られ
て来るデータ・ブロックを受信する。
When a resume command is input, the receiver sends a resume request to the sender, waits for a response, and if a response is received, sends a block request to the sender, and then Receive incoming data blocks.

第3図は中断コマンドがキーボードから入力されたとき
の処理を示す図である。ホスト計算機1及び端末は中断
コマンドが入力されると、下記のような処理を行う。
FIG. 3 is a diagram showing the processing when an interrupt command is input from the keyboard. When the host computer 1 and the terminal receive the interrupt command, they perform the following processing.

■ 中断コマンドの妥当性をチェックする。■ Check the validity of the interrupt command.

■ 対応するセション・サービス・テーブルに中断要求
表示を立てる。
■ Place an abort request indication in the corresponding session service table.

第4図は送信側のファイル転送手段が中断要求を送信す
る場合の処理を示す図である。
FIG. 4 is a diagram showing the process when the file transfer means on the sending side sends an interruption request.

■ 送信しようとしているデータ・ブロックがn番目の
ものか否かを調べる。Yesであれば■の処理を行う。
■ Check whether the data block you are about to send is the nth one. If Yes, perform the process (■).

■ 中断要求の表示があるか否かを調べる。YeSのと
きは■の処理を行う。
■ Check to see if there is an indication of a suspend request. If Yes, process (2) is performed.

■ 送信権委譲なしでn番目のデータ・ブロックを送信
する。なお、送信権委謹とは相手方にデータを送信でき
る権利を与えることを意味している。
■ Send the nth data block without sending rights delegation. It should be noted that the term "transmission right entitlement" means granting the other party the right to transmit data.

■ 中断要求を送信する。■ Send an interruption request.

■ 応答を受信する。■ Receive a response.

第5図は受信側のファイル転送手段が中断要求を送信す
る場合の処理を示す図である。
FIG. 5 is a diagram showing a process when the file transfer means on the receiving side sends an interruption request.

■ n番目のデータ・ブロックを受信したか否を調べる
。Yesのときは■の処理を行う。
■ Check whether the nth data block has been received. If Yes, perform the process (■).

■ 中断要求の表示があるか否かを調べる。YeSのと
きは■の処理を行い、NOのときはブロック群要求を送
信する。
■ Check to see if there is an indication of a suspend request. If Yes, process (2) is performed, and if No, a block group request is transmitted.

■ 中断要求を送信する。■ Send an interruption request.

■ 応答を受信する。■ Receive a response.

第6図はファイル転送中に送信側のファイル転送手段が
中断要求を受信する場合の処理を示す図である。 −゛ ■ 受信側から送ら”れて来た要求が中断要求であるか
否か調べる。YeSのときは■の処理を行う。
FIG. 6 is a diagram showing a process when the file transfer means on the sending side receives an interruption request during file transfer. -゛■ Check whether the request sent from the receiving side is an interruption request. If Yes, perform the process of ■.

■ 応答を送信する。■ Send a response.

第7図はファイル転送手段 送手段が中断要求を受信する場合の処理を示す図である
FIG. 7 is a diagram showing a process when the file transfer means sending means receives an interruption request.

■ 受信データ・ブロック(n番目)に送信権委譲あり
か否かを調べる。Yesのときは■の処理を行う。
■ Check whether transmission right has been delegated to the received data block (nth). If Yes, perform the process (■).

■ 中断要求を受信する。■ Receive an interruption request.

■ 応答を送信する。■ Send a response.

第8図は再開処理を示す図である。    ・■ 再開
コマンドの妥当性をチェックする。
FIG. 8 is a diagram showing restart processing.・■ Check the validity of the restart command.

■ 対応するセション・サービス・テーブルをサーチす
る。
■ Search the corresponding session service table.

■ 再開要求を送信する。■ Send a restart request.

■ 応答を受信する。■ Receive a response.

第9図はファイル転送手段が再開要求を受信したときの
処理を示す図である。
FIG. 9 is a diagram showing the processing when the file transfer means receives a restart request.

■ 再開要求を受信する。■ Receive a restart request.

■ 応答を送信する。■ Send a response.

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

以上の説明から明らかなように、本発明によれば、優先
度に応じたファイル転送及び関連業務のスケジュールが
可能となる。
As is clear from the above description, according to the present invention, it is possible to schedule file transfers and related tasks according to priorities.

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

第1図はファイル転送手段が中断要求を送信する場合の
処理の概要を示す図、第2図はファイル転送手段が再開
要求を送信する場合の処理の概要を示す図、第3図は中
断コマンドがキーボードから入力されたときの処理を示
す図、第4図は送信側のファイル転送手段が中断要求を
送信する場合の処理を示す図、第5図は受信側のファイ
ル転送手段が中断要求を送信する場合の処理を示す図、
第6図はファイル転送中に送信側のファイル転送手段が
中断要求を受信する場合の処理を示す図、第7図はファ
イル転送中に受信側のファイル転送手段が中断要求を受
信する場合の処理を示す図、第8図は再開処理を示す図
、第9図はファイル転送手段が再開要求を受信したとき
の処理を示す図、第10図はファイル転送方式の1例を
示す図、第11図は従来のファイル転送を説明する図で
ある。 1・・・ホスト計算機、2・・・端末、3と4・・・フ
ァイル転送手段、5と6・・・ファイル。
Figure 1 is a diagram showing an overview of the process when the file transfer means sends a suspension request, Figure 2 is a diagram showing an overview of the process when the file transfer means sends a restart request, and Figure 3 is a diagram showing the outline of the process when the file transfer means sends a restart request. Figure 4 is a diagram showing the processing when the file transfer means on the sending side sends an interruption request, and Figure 5 is a diagram showing the processing when the file transfer means on the receiving side sends an interruption request. A diagram showing the processing when sending,
Figure 6 is a diagram showing the process when the sending side file transfer means receives an interruption request during file transfer, and Figure 7 is the process when the receiving side file transfer means receives an interruption request during file transfer. , FIG. 8 is a diagram showing restart processing, FIG. 9 is a diagram showing processing when the file transfer means receives a restart request, FIG. 10 is a diagram showing an example of a file transfer method, and FIG. The figure is a diagram explaining conventional file transfer. 1...Host computer, 2...Terminal, 3 and 4...File transfer means, 5 and 6...File.

Claims (1)

【特許請求の範囲】[Claims] ホスト計算機と、複数の端末とを具備し、ホスト計算機
のファイルから端末のファイルへ又は端末のファイルか
らホスト計算機のファイルへデータを転送出来るように
なったシステムにおけるファイル転送の中断再開方式で
あって、上記ホスト計算機のファイル転送手段は、中断
コマンドが入力されたとき、ブロック群転送が終了した
後に中断要求を受信側の端末に送信し、当該ファイル転
送を中断して次の新サービス要求を待つと共に、再開コ
マンドが入力されたとき中断しているファイル転送を再
開するための処理を行うよう構成され、端末のファイル
転送手段は、中断コマンドが入力されたとき、ブロック
群転送が終了した後に中断要求を上記ホスト計算機に送
信し、当該ファイル転送を中断して次の新サービス要求
を待つと共に、再開コマンドが入力されたとき中断して
いるファイル転送を再開するための処理を行うように構
成されていることを特徴とするファイル転送の中断再開
方式。
A method for suspending and resuming file transfer in a system that is equipped with a host computer and a plurality of terminals and can transfer data from a file on the host computer to a file on the terminal or from a file on the terminal to a file on the host computer. , when the above-mentioned file transfer means of the host computer receives the interrupt command, it sends an interrupt request to the receiving terminal after the block group transfer is completed, interrupts the file transfer, and waits for the next new service request. In addition, the device is configured to perform processing for restarting the suspended file transfer when the resume command is input, and the file transfer means of the terminal is configured to resume the suspended file transfer after the block group transfer is completed when the suspend command is input. It is configured to send a request to the host computer, suspend the file transfer, wait for the next new service request, and perform processing to restart the suspended file transfer when a restart command is input. A method for suspending and resuming file transfers.
JP59264027A 1984-12-14 1984-12-14 Suspension resumption system of file transfer Pending JPS61141063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59264027A JPS61141063A (en) 1984-12-14 1984-12-14 Suspension resumption system of file transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59264027A JPS61141063A (en) 1984-12-14 1984-12-14 Suspension resumption system of file transfer

Publications (1)

Publication Number Publication Date
JPS61141063A true JPS61141063A (en) 1986-06-28

Family

ID=17397532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59264027A Pending JPS61141063A (en) 1984-12-14 1984-12-14 Suspension resumption system of file transfer

Country Status (1)

Country Link
JP (1) JPS61141063A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0333617A2 (en) * 1988-03-15 1989-09-20 International Business Machines Corporation Process for creating a temporary suspension of tasks running in a virtual machine data processing system
JPH01279338A (en) * 1988-04-30 1989-11-09 Nec Corp Stop system for file transfer processing
JPH0390949A (en) * 1989-09-01 1991-04-16 Fujitsu Ltd File transfer system
JP2005339341A (en) * 2004-05-28 2005-12-08 Fuji Xerox Co Ltd Information processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0333617A2 (en) * 1988-03-15 1989-09-20 International Business Machines Corporation Process for creating a temporary suspension of tasks running in a virtual machine data processing system
JPH01279338A (en) * 1988-04-30 1989-11-09 Nec Corp Stop system for file transfer processing
JPH0390949A (en) * 1989-09-01 1991-04-16 Fujitsu Ltd File transfer system
JP2005339341A (en) * 2004-05-28 2005-12-08 Fuji Xerox Co Ltd Information processor
JP4556493B2 (en) * 2004-05-28 2010-10-06 富士ゼロックス株式会社 Information processing device

Similar Documents

Publication Publication Date Title
JP3490473B2 (en) Communication system between processors
JPS61196326A (en) Priority processing system
JPS61141063A (en) Suspension resumption system of file transfer
US5754856A (en) MVS/ESA message transport system using the XCF coupling facility
JPS62126457A (en) Distributed data processing system
JPH055414B2 (en)
JP2903525B2 (en) Job management method
JPH0381852A (en) Connection control system
JP3112287B2 (en) Message management processor
JPS61195439A (en) Remote file access system
JPH04274524A (en) System for controlling inter-process communication
JPS59146347A (en) Communication system between processes
JPH0285947A (en) Data transmission system
JPH10320345A (en) Bus controller
JPH08305511A (en) Print method and its system
JPH0991157A (en) Task-device driver communication control method
JPH02118841A (en) Input queue control system
JPH11194978A (en) Priority control system for transmission data
JPH0235850A (en) Exclusivecontrol system for pre-communication processor
JPS62241056A (en) Control system for data reception
JPH07182285A (en) Remote job entry system
JPH05342136A (en) Resources common use method
JPH03265250A (en) Communication controller
JPS62214456A (en) Data transfer schedule system
JPH0365720A (en) Print server