JPH11341044A - File transfer protocol system, its method and recording medium - Google Patents

File transfer protocol system, its method and recording medium

Info

Publication number
JPH11341044A
JPH11341044A JP14094598A JP14094598A JPH11341044A JP H11341044 A JPH11341044 A JP H11341044A JP 14094598 A JP14094598 A JP 14094598A JP 14094598 A JP14094598 A JP 14094598A JP H11341044 A JPH11341044 A JP H11341044A
Authority
JP
Japan
Prior art keywords
transfer
job
file
procedure
storage unit
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.)
Granted
Application number
JP14094598A
Other languages
Japanese (ja)
Other versions
JP3323129B2 (en
Inventor
Toshimasa Omoto
敏雅 大本
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.)
NEC Telecom System Ltd
Original Assignee
NEC Telecom System 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 NEC Telecom System Ltd filed Critical NEC Telecom System Ltd
Priority to JP14094598A priority Critical patent/JP3323129B2/en
Publication of JPH11341044A publication Critical patent/JPH11341044A/en
Application granted granted Critical
Publication of JP3323129B2 publication Critical patent/JP3323129B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the constitution of a protocol capable of realizing stable file transfer by using an unstable communication environment such as mobile object communication. SOLUTION: Each of devices 1, 2 for executing file transfer is constituted of a control part 11 for controlling a program, a nonvolatile procedure storing area 14 including procedure states consisting of job ID, a file name, a file attribute, the number of transmitting blocks, the number of receiving blocks, etc., and a non-volatile file 15 for storing data. The control part 11 in the device 1 judges whether file transfer (block transfer) is being executed or not by reading out the contents (procedure states) from the area 14 at the time of starting the device 1, and when file transfer is being executed, restarts file transfer (block transfer) by informing of restart processing. In addition, the control part 11 informs the opposite side of the start of file transfer by a file transfer command from a display operation part 18 to execute file transfer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファイル転送方
式、方法、および記録媒体に関し、特に、移動体通信で
の高信頼性を要求するファイル転送プロトコル方式に関
する。
The present invention relates to a file transfer system, a method, and a recording medium, and more particularly, to a file transfer protocol system that requires high reliability in mobile communication.

【0002】[0002]

【従来の技術】従来技術におけるファイル転送の自動再
送方式として、例えば、特開平7−46289公報が開
示されている。このような自動再送方式は、ビットエラ
ーのような一時的で軽微な通信障害の回復は考慮されて
いるが、ネットワークアーキテクチャ[例えば、ISO
のOSI(開放型システム間相互接続)参照モデル]の
レイヤ1(物理層)が、回線断状態へ移行すると致命的
な通信障害と認識して直ちにファイル転送プロトコルが
中止される。
2. Description of the Related Art As an automatic retransmission method for file transfer in the prior art, for example, Japanese Patent Laid-Open No. 7-46289 is disclosed. Although such an automatic retransmission scheme is intended for recovery from a temporary and minor communication failure such as a bit error, the network architecture [for example, ISO
Layer 1 (physical layer) of the OSI (Open System Interconnection Reference Model) recognizes that a fatal communication failure has occurred and immediately stops the file transfer protocol.

【0003】この考え方は有線固定網を前提としたもの
で、専用線の直接利用の場合、常時、レイヤ1は通信可
能であるべきで回線断は致命的障害であり、ファイル転
送を中止して、最初からやり直すことを意図していた。
回線交換網でレイヤ1障害が発生すると、網が回線を解
放してしまうため、やはりファイル転送を中止して、最
初からやり直すことを意図していた。
[0003] This concept is based on a fixed wired network. In the case of direct use of a dedicated line, layer 1 should always be able to communicate and line disconnection is a fatal obstacle. Was intended to start over.
When a layer 1 failure occurs in the circuit switching network, the network releases the line, so the intention was to stop the file transfer and start over from the beginning.

【0004】回線断状態を緩和する網側の機能として移
動体通信網では無線区間が不通になっても回線端では直
ちに切断状態にはしない例もあるが、長時間の不通に対
しては結局、回線断にしている。
[0004] As a function of the network side to alleviate the line disconnection state, there is a case in which even if a wireless section is disconnected in a mobile communication network, the line end is not immediately set to a disconnected state. , The line is disconnected.

【0005】また従来のデータ通信プロトコル側の回線
断の緩和策として、ファイル転送の下位レイヤにコネク
ションレス型のデータグラムプロトコルを用いて回線断
の概念を無くした上でファイル転送プロトコルの送達確
認のタイムアウトまで耐えられるようにしたものがあ
る。
[0005] As a measure to alleviate the line disconnection on the conventional data communication protocol side, the concept of line disconnection is eliminated by using a connectionless datagram protocol in a lower layer of file transfer, and then the delivery confirmation of the file transfer protocol is confirmed. There are some that can withstand timeouts.

【0006】ファイル転送プロトコル自体の中断の回復
処理方式として、例えば、特開平06−243059公
報が開示されている。この方法はOSI−FTAMに特
化した方法である。しかし、この中断の回復処理方式
は、オペレータ介入による中断と再開を明示的に設ける
ことによって実現しているため長時間の通信障害やノー
ド障害に対応できない。
For example, Japanese Patent Application Laid-Open No. H06-243059 discloses a method for recovering from interruption of the file transfer protocol itself. This method is a method specialized for OSI-FTAM. However, since this interruption recovery processing method is realized by explicitly providing interruption and resumption by operator intervention, it cannot cope with a long-term communication failure or node failure.

【0007】[0007]

【発明が解決しようとする課題】本発明の目的は、移動
体通信など不安定な通信環境を用いて安定したファイル
転送を実現するプロトコルの構成である。
An object of the present invention is to provide a protocol configuration for realizing stable file transfer using an unstable communication environment such as mobile communication.

【0008】従来の有線通信の回線を想定したファイル
転送プロトコルはレイヤ1が不通になることを致命的障
害と解釈して、直ちに処理を完全に中止してしまう。
[0008] The conventional file transfer protocol assuming a wired communication line interprets the interruption of layer 1 as a fatal failure and immediately stops the processing completely.

【0009】しかしながら、無線を用いた移動体通信で
は様々な原因によって短時間から長時間に渡るレイヤ1
の不通が頻発する。電波状態を原因とする例はトンネル
通過などの影響や、実際に空間的なサービス圏外に移行
してしまって不通となりうる。
[0009] However, in mobile communication using wireless communication, layer 1 over a short time to a long time may be caused by various causes.
Frequently occurs. An example due to the radio wave condition may be an effect of passing through a tunnel or the like, and may actually be out of a spatial service area and become disconnected.

【0010】また移動体通信用の装置には電池駆動のも
のが多いので電気容量不足のときにやむなく中断するこ
ともありうる。あるいは、その両方の原因が複合してフ
ァイル転送の長時間の中断が起こり得る。
[0010] Further, since many mobile communication devices are driven by batteries, they may be interrupted when the electric capacity is insufficient. Alternatively, a combination of both causes may cause a long interruption in file transfer.

【0011】移動体通信網の回線交換サービスで用意さ
れる回線の保持機能は短時間の回線断の緩和に限られ
る。長時間の回線の保持は課金処理や資源管理から見て
困難である。
The line holding function prepared by the line switching service of the mobile communication network is limited to alleviation of line disconnection in a short time. It is difficult to keep a line for a long time from the viewpoint of accounting processing and resource management.

【0012】したがって従来の固定網向けに作られてい
たファイル転送プロトコルは、このような移動体通信網
の特性に対する回復処理が不十分だった。
Therefore, the conventional file transfer protocol designed for the fixed network has insufficient recovery processing for such characteristics of the mobile communication network.

【0013】ネットワークアーキテクチャ上でコネクシ
ョンレス型のデータグラムプロトコルを用いて回線断の
概念を無くす方法には多くの下位プロトコルスタックを
実装する必要があり、資源を多量に消費する欠点があ
る。
The method of eliminating the concept of line disconnection by using a connectionless datagram protocol on a network architecture requires mounting many lower-order protocol stacks, and has a disadvantage of consuming a large amount of resources.

【0014】また、コネクションレス型のネットワーク
の上であっても従来のファイル転送プロトコルでは送達
確認のタイムアウトまでの通信障害に耐えられるだけで
あり。別のセッションで回復することは出来なかった。
Further, even on a connectionless network, the conventional file transfer protocol can only withstand a communication failure until a timeout of delivery confirmation. He could not recover in another session.

【0015】また従来技術のファイル転送の中断回復処
理である特開平06−243059公報においては、O
SI−FTAMの範疇での実現方法に限られるため汎用
性が無いうえに実装が重く携帯端末に実装するには無理
がある。更にオペレータの介入による中断だけに対応し
ているため、通信障害とノード障害による中断の自動回
復には無効である。具体的には中断状態に移行する方法
に通信自身を使っている為に通信障害とノード障害の下
では機能しない。更に、中断の途中に電源断が発生する
と、パラメータ等が消去してしまい回復処理ができな
い。
In Japanese Patent Application Laid-Open No. 06-243059, which is a prior art file transfer interruption recovery process, O
Since it is limited to an implementation method in the category of SI-FTAM, it has no versatility, is heavy in mounting, and cannot be mounted on a portable terminal. Furthermore, since it is compatible only with interruption due to operator intervention, it is ineffective for automatic recovery of interruption due to communication failure and node failure. Specifically, it does not function under a communication failure and a node failure because the communication itself is used for the method of shifting to the suspended state. Furthermore, if the power is interrupted during the interruption, the parameters and the like are erased, and the recovery process cannot be performed.

【0016】これらの、従来技術では重大な通信障害に
よるファイル転送の中断を自動的に回復することが出来
ず、手動によりファイル転送をやり直していた。
In these prior arts, interruption of file transfer due to a serious communication failure cannot be automatically recovered, and file transfer has been manually performed again.

【0017】本発明は下位プロトコルに依存しないで致
命的な通信障害から自動的にファイル転送を回復するこ
とを目的とする。
An object of the present invention is to automatically recover a file transfer from a catastrophic communication failure without depending on a lower protocol.

【0018】また、本発明は携帯端末にも実装できるよ
うに、合理的で軽い実装方法とし、電源断を含むノード
障害から回復可能なファイル転送プロトコルを実現する
ことを目的とする。
Another object of the present invention is to provide a file transfer protocol that can be recovered from a node failure including a power failure by using a reasonable and light mounting method so that it can be mounted on a portable terminal.

【0019】[0019]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明は、通信網に接続された複数の装置間でフ
ァイル転送を行う場合にファイルを複数のブロックに分
割し転送するファイル転送プロトコル方法であって、前
記複数の装置の内の第1の装置が前記ファイル転送元と
なり前記複数の装置の内の第2の装置が前記ファイル転
送先となる場合に、転送元と転送先の区別とは独立に起
動側の装置が受動側の装置に開始要求を送信し、受動側
の装置が応答することで、双方の装置はファイル転送を
行う前に唯一の値を持つジョブIDを取り決める開始通
知手順を取り交わし、起動側の装置が受動側の装置から
開始応答を受信した場合にジョブIDを含む自身の手順
初期状態を不揮発性の記憶部に書き込み、前記受動側の
装置が前記開始要求を受信すると自身の手順初期状態を
不揮発性記憶部に書き込んだ後に開始応答を起動側に返
し、前記第1の装置が初期状態からプロック転送の送信
を開始し、前記第2の装置が初期状態からブロック転送
を受信し始め、受信するたびに、ブロックをファイル記
憶域に記憶し、受信確認数を前記第2の手順状態の1部
として第2の不揮発性記憶部に書き込み、ブロック転送
肯定応答を返し、前記第1の装置が前記ブロック転送中
に前記第2の装置から前記ブロック転送肯定応答を受信
する度に送達確認を示す送達確認数を前記第1の手順状
態の1部として前記第1の不揮発性記憶部に書き込み、
前記第1の装置が全ての前記ブロックを受信し終えた場
合に前記ファイル転送の終了通知を前記第2の装置に送
信し、前記第2の装置は終了肯定応答を返し、前記第1
の装置は終了確認通知を返し、全ての前記第1の手順状
態を前記第1の不揮発性記憶部から消去し、前記第2の
装置は終了確認通知を受信するまで終了肯定応答を繰り
返し送り、終了確認通知を受信すると全ての前記第2の
手順状態を第2の不揮発性記憶部から消去することを特
徴としている。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a file transfer method for dividing a file into a plurality of blocks when transferring a file between a plurality of devices connected to a communication network. A transfer protocol method, wherein a first device of the plurality of devices is the file transfer source and a second device of the plurality of devices is the file transfer destination. Independently of the distinction, the initiating device sends a start request to the passive device and the passive device responds, so that both devices have a unique job ID before file transfer. A start notification procedure is negotiated, and when the start-up apparatus receives a start response from the passive apparatus, the start apparatus writes its own procedure initial state including a job ID in a nonvolatile storage unit, and the passive apparatus performs the start Required Is received, a start response is returned to the activation side after writing its own procedure initial state to the non-volatile storage unit, and the first device starts transmitting block transfer from the initial state, and the second device returns to the initial state. Starts receiving a block transfer from each time, each time the block transfer is received, the block is stored in a file storage area, and the number of acknowledgments is written in the second nonvolatile storage as a part of the second procedure state, and the block transfer acknowledgment is performed. Each time the first device receives the block transfer acknowledgment from the second device during the block transfer, the acknowledgment number indicating the acknowledgment as part of the first procedure state. 1 is written into the non-volatile storage unit,
When the first device has received all the blocks, the file transfer end notification is transmitted to the second device, and the second device returns a completion acknowledgment,
Device returns an end confirmation notification, erases all the first procedure states from the first nonvolatile storage unit, the second device repeatedly sends an end acknowledgment until receiving an end confirmation notification, Upon receipt of the end confirmation notice, all the second procedure states are deleted from the second nonvolatile storage unit.

【0020】更に、本発明は前記第1の装置が装置立ち
上げ時に第1の不揮発性記憶部に記憶された前記第1の
手順状態を検索しファイル転送中状態、すなわち中断状
態のものがあれば前記第2の装置の受動部に前記ジョブ
IDを付加した再開要求を送信し、前記第2の装置は前
記第1の装置からの再開要求を受信すると前記再開要求
に付加されたジョブIDと第2の不揮発性記憶部の前記
手順状態とを比較し、該当ジョブが存在しなければ再開
拒否応答を前記第1の装置に返し、該当ジョブが存在す
れば再開肯定応答を前記第1の装置に返し、前記第1の
装置が前記再開要求に対する肯定応答を受信した場合は
装置立ち上げ前に転送し終わった次のブロックから転送
を始め、再開拒否応答を受信した場合は前記第1の不揮
発性記憶部から該当ジョブ情報の全てを消去することを
特徴としている。
Further, according to the present invention, the first apparatus searches the first procedure state stored in the first non-volatile storage unit when the apparatus is started up, and determines whether the first apparatus is in a file transfer state, that is, in a suspended state. For example, a restart request to which the job ID is added is transmitted to the passive unit of the second device. When the second device receives the restart request from the first device, the job ID and the job ID added to the restart request are transmitted. The procedure status is compared with the procedure status in the second nonvolatile storage unit, and if there is no corresponding job, a restart rejection response is returned to the first device. If the corresponding job exists, a restart acknowledgment is sent to the first device. When the first device receives an acknowledgment for the restart request, the first device starts transfer from the next block that has been transferred before starting the device, and when the first device receives a restart rejection response, it receives the first nonvolatile memory. From the sex memory It is characterized by erasing all of the job information.

【0021】更に、本発明は前記第2の装置が装置立ち
上げ時に第2の不揮発性記憶部に記憶された前記第2の
手順状態を検索しファイル転送中状態、すなわち中断状
態のものがあれば前記第1の装置の受動部に前記ジョブ
IDと受信済みブロックを付加した再開要求を送信し、
前記第1の装置は前記第2の装置からの再開要求を受信
すると前記再開要求に付加されたジョブIDと第1の不
揮発性記憶部の前記手順状態とを比較し、該当ジョブが
存在しなければ再開拒否応答を前記第2の装置に返し、
該当ジョブが存在すれば再開肯定応答を前記第2の装置
に返し、転送済みブロックの次から転送を再開し、前記
第2の装置が前記再開要求に対する肯定応答を受信した
場合は装置立ち上げ前に転送し終わった次のブロックか
ら受信を始め、再開拒否応答を受信した場合は前記第2
の不揮発性記憶部から該当ジョブ情報の全てを消去する
ことを特徴としている。
Further, according to the present invention, the second apparatus searches the second procedure state stored in the second nonvolatile storage unit at the time of starting the apparatus, and determines whether the second procedure is in a file transfer state, that is, in a suspended state. For example, a restart request including the job ID and the received block is transmitted to the passive unit of the first device,
When the first device receives the restart request from the second device, the first device compares the job ID added to the restart request with the procedure state in the first non-volatile storage unit. Return a rejection response to the second device,
If the job is present, a restart acknowledgment is returned to the second device, and the transfer is restarted from the position following the transferred block. If the second device receives an acknowledgment for the restart request, the device is not activated. Starts receiving from the next block that has been transferred to
In which the entire job information is deleted from the non-volatile storage unit.

【0022】また、本発明を適用することのできる装置
は不揮発性記憶域を持つ一般のコンピュータとすること
ができる。したがって、上記特徴を持つファイル転送プ
ロトコルを実現するプログラムの記録媒体を構成要素に
含めることが出来る。ファイル転送プロトコルのプログ
ラム記録媒体は、起動側プログラムだけ、または、受動
側プログラムだけを含むこともできる。
The device to which the present invention can be applied can be a general computer having a non-volatile storage area. Therefore, a recording medium of a program for realizing the file transfer protocol having the above characteristics can be included in the components. The program recording medium of the file transfer protocol may include only the starting program or only the passive program.

【0023】[0023]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図3から図5は通信障害と
ノード障害の区別が判別できないデータグラム通信を利
用した場合の実施例である。
Next, embodiments of the present invention will be described with reference to the drawings. FIGS. 3 to 5 show an embodiment in which datagram communication is used in which it is not possible to distinguish between a communication failure and a node failure.

【0024】図2は、本発明の実施の形態を示す、通信
網3と、通信網3に接続されたノードである装置1と、
装置2とを含む。なお、通信網3には装置1,装置2以
外の装置等を接続できるが、実施の形態例では省略して
いる。
FIG. 2 shows a communication network 3 and an apparatus 1 which is a node connected to the communication network 3, showing an embodiment of the present invention.
Device 2. Note that devices other than the device 1 and the device 2 can be connected to the communication network 3, but are omitted in the embodiment.

【0025】図2を参照すると、装置1または装置2
は、ファイル転送を行う実体であり、不揮発性の記憶域
と、人間の操作表示部と、通信用の入出力装置とを持っ
たプログラム制御を行う。通信網3は、ネットワークを
含む通信路であり、装置1または装置2以外の複数の装
置も接続することができる。
Referring to FIG. 2, device 1 or device 2
Is an entity that performs file transfer, and performs program control having a nonvolatile storage area, a human operation display unit, and an input / output device for communication. The communication network 3 is a communication path including a network, and a plurality of devices other than the device 1 or the device 2 can be connected.

【0026】図1は、図2の装置1または装置2を詳細
に示したブロック図である。
FIG. 1 is a block diagram showing the device 1 or 2 in FIG. 2 in detail.

【0027】図1を参照すると、ファイル転送プロトコ
ルプログラムを記録した記録媒体21を備えた装置1ま
たは装置2は、プログラム制御により動作する制御部1
1と、転送中の時間監視に使用するタイマ12と、制御
部11の入出力装置として接続する不揮発性記憶域13
と、表示操作部18と、通信網3とのインタフェースを
持ち他装置との通信を行う通信部17、バス16とから
構成されている。この記録媒体21は磁気ディスク、そ
の他のプログラム記録媒体であってよい。
Referring to FIG. 1, an apparatus 1 or 2 provided with a recording medium 21 on which a file transfer protocol program is recorded is provided with a control unit 1 operating under program control.
1, a timer 12 used for monitoring time during transfer, and a nonvolatile storage area 13 connected as an input / output device of the control unit 11.
, A display operation unit 18, a communication unit 17 having an interface with the communication network 3 and communicating with other devices, and a bus 16. This recording medium 21 may be a magnetic disk or another program recording medium.

【0028】制御部11は、図示されていない中央処理
装置とプログラムの入るメモリとを含みプログラム制御
のコンピュータとして動作する。ファイル転送プロトコ
ルプログラムは記録媒体21から制御部11内のメモリ
に読み込まれ、制御部11の動作を制御する。すなわ
ち、制御部11は制御部11内のメモリに書き込まれた
プログラムを実行することにより、ファイル転送プロト
コルに沿ったファイル転送を実行する。なお、本実施形
態例では、記録媒体21からプログラムを制御部11内
のメモリにファイル転送プロトコルプログラムをロード
してそのプログラムを実行するようにしたが、予め制御
部11内のメモリ(例えばROM)にプログラムが入っ
ていてもよい。
The control unit 11 includes a central processing unit (not shown) and a memory for storing programs, and operates as a computer under program control. The file transfer protocol program is read from the recording medium 21 into the memory in the control unit 11 and controls the operation of the control unit 11. That is, the control unit 11 executes the program written in the memory in the control unit 11 to execute the file transfer according to the file transfer protocol. In the present embodiment, the file transfer protocol program is loaded from the recording medium 21 to the memory in the control unit 11 and the program is executed, but the program (the ROM, for example) in the control unit 11 is executed in advance. May contain a program.

【0029】表示操作部18は、マンマシンインタフェ
ースの手段として表示機能(出力機能)と入力機能とを
実行する。これは、ファイル転送の起動操作と結果表示
を行う。
The display operation section 18 executes a display function (output function) and an input function as means of a man-machine interface. This performs a file transfer start operation and a result display.

【0030】通信部17は、通信網3を介してファイル
を転送する相手と双方向に通信する機能を実行する。
The communication unit 17 executes a function of bidirectionally communicating with a party to which a file is to be transferred via the communication network 3.

【0031】不揮発性記憶域13は、装置1(または装
置2)が電源を断っている間もデータを記憶し続ける機
能を持ち、ファイルの記憶に使われるファイル15と、
本発明の制御手順の状態(送信元か、送信先かを示す情
報、ジョブID、ファイル名、ファイル属性、送信ブロ
ック数、受信ブロック数、送信先アドレス等から構成さ
れている:以降ジョブの記録と略す)を記憶した手順記
憶域14とから構成される。この場合の手順状態の記録
はジョブID単位毎に送信元と送信先とに分けて分類さ
れて記録されている。
The non-volatile storage area 13 has a function of continuously storing data even when the power of the apparatus 1 (or the apparatus 2) is turned off, and includes a file 15 used for storing a file;
Status of the control procedure of the present invention (consisting of information indicating transmission source or destination, job ID, file name, file attribute, number of transmission blocks, number of reception blocks, destination address, etc. ) Is stored in the procedure storage area 14. In this case, the recording of the procedure state is classified into the transmission source and the transmission destination for each job ID unit and recorded.

【0032】なお、元来、ファイルを持つ装置はファイ
ルの記憶域として何かの不揮発性記憶域として磁気ディ
スクなどの媒体が必要である。従って、本発明の実施の
形態例では、このファイル15に不可欠な不揮発性記憶
域13を手順記憶域14としても流用することを特徴と
する。したがって、本発明は一般的なコンピュータに適
用可能であり、プログラム媒体によって制御プログラム
をロードしてプロトコルを実現可能である。
It is to be noted that an apparatus having a file originally requires a medium such as a magnetic disk as a non-volatile storage area as a storage area for the file. Therefore, the embodiment of the present invention is characterized in that the non-volatile storage area 13 indispensable for the file 15 is also used as the procedure storage area 14. Therefore, the present invention is applicable to a general computer, and can implement a protocol by loading a control program with a program medium.

【0033】従来のファイル転送方法ではジョブの状態
は揮発性記憶域(例えば、RAM)に一時的に記憶され
ていただけである。
In the conventional file transfer method, the state of the job is only temporarily stored in a volatile storage area (for example, RAM).

【0034】もちろん磁気ディスクなどの媒体の代わり
に、繰り返し記憶できる、あらゆる不揮発性メモリ(例
えば、フラッシュメモリ)を使用しても良い。
Of course, instead of a medium such as a magnetic disk, any nonvolatile memory (eg, flash memory) that can be repeatedly stored may be used.

【0035】次に、図1〜図5を参照して本実施の形態
の全体の動作について説明する。
Next, the overall operation of the present embodiment will be described with reference to FIGS.

【0036】本発明は、従来のファイル転送に用いられ
てきた一般的な手順を基盤にして発展した手順である。
その一般的な手順と同様の部分とはファイルを複数の転
送ブロックに分割して送信する。転送されたブロックは
直ちにファイルの一部として不揮発性記憶域に記憶す
る。転送元と転送先は転送され記憶されたブロックまで
をチェックポイント(ブロック転送における正当性のチ
ェックを行う時点)として記憶する。転送元と転送先は
このチェックポイントを確実に進めていくことでファイ
ル転送の正当性を確保する。このとき、転送元から送ら
れたブロックと転送先で記憶されたブロックの間に先送
りされる複数のブロック(ブロック送信に対する返答の
前に次のブロックを送信する方式)を設けることで通信
の転送効率を上げることも可能である。この場合チェッ
クポイントの管理手順が複雑になるが、本発明の本質に
は関係が無いので、先送り転送をしない基本的な実施の
形態例を示す。
The present invention is a procedure developed based on a general procedure used for conventional file transfer.
The part similar to the general procedure is that a file is divided into a plurality of transfer blocks and transmitted. The transferred block is immediately stored in non-volatile storage as part of the file. The transfer source and the transfer destination store up to the transferred and stored block as a check point (a point at which validity is checked in block transfer). The transfer source and the transfer destination ensure the validity of the file transfer by reliably performing this checkpoint. At this time, communication transfer is provided by providing a plurality of blocks (a method of transmitting the next block before replying to block transmission) between the block sent from the transfer source and the block stored at the transfer destination. It is also possible to increase efficiency. In this case, the procedure for managing the checkpoints becomes complicated, but is not related to the essence of the present invention. Therefore, a basic embodiment in which the forward transfer is not performed will be described.

【0037】図3は、装置1が転送元および装置2が転
送先となる場合のファイル転送プロトコルプログラムを
実行する場合のフローチャートである。
FIG. 3 is a flowchart when the device 1 executes a file transfer protocol program when the transfer source is the device and the device 2 is the transfer destination.

【0038】図4は、図3内のステップB2およびC2
の動作を起動側か受動側に分けて詳細に示したフローチ
ャートである。
FIG. 4 shows steps B2 and C2 in FIG.
Is a flowchart showing the details of the operation on the activation side or the passive side.

【0039】一般的な装置は、ファイル転送ジョブの起
動側にも受動側にもなれる、また起動によって転送元に
なることも転送先になることもできる。基本的に起動し
た側の表示操作部18だけが対話的に使われる。
A general device can be a start side or a passive side of a file transfer job, and can be a transfer source or a transfer destination by starting. Basically, only the activated display operation unit 18 is used interactively.

【0040】今、装置1(転送元)が起動側となって装
置2(転送先)に対してファイルの転送を行うと仮定し
た場合、まず装置1の表示操作部18からファイル転送
ジョブが起動される(図4のステップA1)そしてステ
ップA2,A3,A4,A5,A6,A7,A8を遷移
する。このときの装置1の起動処理は、転送の起動(ス
テップA1)により、新規ジョブの記録データを決定
し、新規ジョブによる転送ファイルの開始要求をジョブ
IDを含むジョブ情報を付加して装置2に送信し、応答
を待つ(ステップA2〜A5、および通信1)。一方、
装置2は既に立ち上がっており、要求の受信待ち状態に
なっている(ステップD1,D2)。このときに装置1
から開始要求の通知を受信すると、新規か中断によるジ
ョブの再開かを判断することになるが、新規なのでジョ
ブ記録データを不揮発性記憶域3内の手順記憶域14に
記憶することにより初期化する(D3〜D5)。その後
開始要求の応答として肯定応答を装置1に送信する(ス
テップD6および通信2)。その後、自装置が転送先か
転送元かを判断することになるが、受信したジョブ情報
の内容から転送先と判断し、転送先のジョブ状態記録デ
ータとして手順記憶域14に記録される(ステップD
7)。一方、肯定応答を受信した装置1は、転送元か転
送先かを判断することになるがジョブ情報により転送元
と判断し、ジョブ状態記録データを転送元として手順記
憶域14に記憶する(ステップA6〜A8)。
Now, assuming that the device 1 (transfer source) is to be the starting side to transfer a file to the device 2 (transfer destination), first, a file transfer job is started from the display operation unit 18 of the device 1. (Step A1 in FIG. 4), and the process transits to Steps A2, A3, A4, A5, A6, A7, and A8. At this time, the start-up process of the apparatus 1 determines the record data of the new job by starting the transfer (step A1), and sends a request to start the transfer file by the new job to the apparatus 2 by adding job information including the job ID. It transmits and waits for a response (steps A2 to A5 and communication 1). on the other hand,
The device 2 has already been started and is in a request reception waiting state (steps D1 and D2). At this time, device 1
When the notification of the start request is received from the server, it is determined whether the job is new or the job is restarted due to interruption. However, since the job is new, the job recording data is initialized by storing it in the procedure storage area 14 in the nonvolatile storage area 3. (D3-D5). Thereafter, an acknowledgment is transmitted to the device 1 as a response to the start request (step D6 and communication 2). Thereafter, it is determined whether the own apparatus is the transfer destination or the transfer source. However, it is determined from the content of the received job information that the apparatus is the transfer destination, and is recorded in the procedure storage area 14 as the transfer destination job status recording data (step D
7). On the other hand, the device 1 that has received the acknowledgment determines the transfer source or the transfer destination. However, the device 1 determines the transfer source based on the job information, and stores the job state record data in the procedure storage area 14 as the transfer source (step). A6 to A8).

【0041】もし、装置2(転送先)が起動側となって
装置1(転送元)に対してファイルの転送を行うと仮定
した場合は、装置2の表示操作部18からファイル転送
ジョブが起動され、ステップA1,A2,A3,A4,
A5,A6,A7,A9,C3を遷移する。受動側とな
る装置1がステップD1,D2,D3,D4,D5,D
6,D7,B3と遷移する。
If it is assumed that the device 2 (transfer destination) is the starting side to transfer a file to the device 1 (transfer source), a file transfer job is started from the display operation unit 18 of the device 2. Steps A1, A2, A3, A4
A5, A6, A7, A9, and C3 are transited. Steps D1, D2, D3, D4, D5, D
6, D7 and B3.

【0042】この開始処理の中で両ノードにとって一意
にファイル転送ジョブを識別する共通の値のジョブID
を決定する。手順状態値とはジョブIDと、ファイル名
と、ファイル属性と、自装置が転送元か転送先かを示す
情報と、送達確認数または受信確認数と、転送の相手先
の送信アドレスとを含み、ジョブ種別情報として両ノー
ドの不揮発性記憶域13内の手順記憶域14に記憶され
る。これらのジョブの記録データは該当ジョブが完了す
るまで記憶される。
A job ID of a common value that uniquely identifies a file transfer job for both nodes during this start process
To determine. The procedure status value includes a job ID, a file name, a file attribute, information indicating whether the apparatus is a transfer source or a transfer destination, the number of delivery confirmations or reception confirmations, and the transmission address of the transfer destination. Are stored in the procedure storage area 14 in the nonvolatile storage area 13 of both nodes as job type information. The recording data of these jobs is stored until the job is completed.

【0043】次に、転送処理に進むことになるが、転送
処理として転送元ノード(装置1)から転送ブロックの
送信(ステップB3)が開始される(図3の通信3)。
転送先ノード(装置2)では受信したブロックを直ちに
不揮発性記憶域13内のファイル15の一部として記憶
する(ステップC3)。転送先ノード(装置2)は、そ
の直後に最新のチェックポイントとしての転送済みブロ
ック数(送達確認のために受信したブロックの数をい
う)を不揮発性記憶域3内の手順記憶域14に記憶する
(ステップC3)。続けて転送先ノード(装置2)はブ
ロック転送が成功したことを転送元ノード(装置1)に
伝える為にブロック転送肯定応答を送信する(ステップ
C5、および通信4)。なお、転送済のブロック数は転
送時のブロックのヘッダに付与されたシーケンス番号を
見ることで識別できる。
Next, the process proceeds to the transfer process. As the transfer process, transmission of the transfer block (step B3) is started from the transfer source node (device 1) (communication 3 in FIG. 3).
The transfer destination node (device 2) immediately stores the received block as a part of the file 15 in the nonvolatile storage area 13 (Step C3). Immediately thereafter, the transfer destination node (apparatus 2) stores the number of transferred blocks (referred to as the number of blocks received for delivery confirmation) as the latest checkpoint in the procedure storage area 14 in the nonvolatile storage area 3. (Step C3). Subsequently, the transfer destination node (device 2) transmits a block transfer acknowledgment to inform the transfer source node (device 1) that the block transfer was successful (step C5 and communication 4). The number of transferred blocks can be identified by looking at the sequence number assigned to the header of the block at the time of transfer.

【0044】このブロック受信のとき(ステップC
4)、もし受信ブロックデータが伝送エラーで正当でな
いか、受信タイムアウトになったら、最新のチェックポ
イントを含む再送要求を転送元に送り(ステップC
6)、ブロック受信を続ける(ステップC3)。
At the time of this block reception (step C)
4) If the received block data is invalid due to a transmission error or the reception times out, a retransmission request including the latest checkpoint is sent to the transfer source (step C).
6), block reception is continued (step C3).

【0045】受信タイムアウトが続くときは前記予め決
められた1回あたりの待ち時間を増大させながら(例え
ば4,8,16,32,64,128,256,51
2,512[秒]・・・)再送要求と受信待ちを繰り返
す。更に、規定回数だけ待っても(相当長い時間例えば
2時間)回復しない場合は中断状態に移行し、現状のプ
ログラム実体は終了する(ステップC10,C11)。
この後は両ノードからの再開始処理(図5)を待つ。
When the reception timeout continues, the predetermined waiting time per time is increased (for example, 4, 8, 16, 32, 64, 128, 256, 51).
2, 512 [seconds]...) Repeat retransmission request and reception wait. Furthermore, if the recovery is not made after waiting for the specified number of times (for a considerably long time, for example, 2 hours), the state shifts to the suspended state, and the current program entity ends (steps C10 and C11).
After that, it waits for the restart processing (FIG. 5) from both nodes.

【0046】転送元ノード(装置1)は転送先ノード
(装置2)の応答を待ってブロック転送ステップの成否
を判断する(ステップB4)。転送元ノード(装置1)
は再送要求がきたときか、受信データが伝送エラーにな
ったときだけブロック転送を再送する。独自にタイムア
ウトの判断と再送は行わない。
The transfer source node (device 1) waits for a response from the transfer destination node (device 2) to determine whether the block transfer step is successful or not (step B4). Source node (device 1)
Retransmits the block transfer only when a retransmission request is received or when the received data has a transmission error. It does not independently judge the timeout and retransmit.

【0047】転送元ノード(装置1)はブロック転送が
成功したときはチェックポイントとして転送したブロッ
ク数を不揮発性記憶域3内の手順記憶域4に記憶する。
When the block transfer is successful, the transfer source node (device 1) stores the number of blocks transferred as a check point in the procedure storage area 4 in the nonvolatile storage area 3.

【0048】全てのブロックを転送するまで、この一連
の転送処理を繰り返す(ステップB6、ステップC
4)。
This series of transfer processing is repeated until all blocks are transferred (step B6, step C).
4).

【0049】ファイルをすべて転送したら、転送元ノー
ド(装置1)から転送先ノード(装置2)へ終了要求を
送る(図3ではステップB3と通信3が兼用)。
When all the files have been transferred, an end request is sent from the transfer source node (device 1) to the transfer destination node (device 2) (in FIG. 3, step B3 and communication 3 are shared).

【0050】転送先ノード(装置2)では、この終了要
求を受信したら装置1に終了応答する(図3ではステッ
プC5と通信4が兼用)更に、終了確認通知(図3の通
信5)が来るまで待ってから、ジョブの記録をすべて不
揮発性記憶域14から消去し終了する(ステップC8,
C9)、もし、終了確認通知が届かなければ転送先ノー
ド(装置2)は終了応答(ステップC5またはC11)
を再送し再び終了通知を待つ。さらに規定回数だけ待っ
ても(相当長い時間)終了通知が届かなかったときは正
常終了と同じく、ジョブの記録をすべて不揮発性記憶域
から消去する(ステップC8)。
Upon receiving this end request, the transfer destination node (apparatus 2) responds to the apparatus 1 with an end (step C5 and communication 4 are used in FIG. 3). Further, an end confirmation notice (communication 5 in FIG. 3) comes. Then, all the records of the job are deleted from the non-volatile storage area 14 and the processing is terminated (step C8,
C9) If the termination confirmation notification does not arrive, the transfer destination node (device 2) responds with termination (step C5 or C11).
And wait for the end notification again. Further, if the end notification is not received even after waiting for the specified number of times (a considerably long time), all records of the job are deleted from the non-volatile storage area as in the case of the normal end (step C8).

【0051】転送元ノード(装置1)は終了応答を受信
すると、終了確認通知を転送先ノードに返し(図3の通
信5)ジョブの記録をすべて不揮発性記憶域から消去す
る(ステップB7)。また、表示操作部に終了メッセー
ジを表示することによりジョブを終了する(ステップA
2,B8)。
Upon receiving the end response, the transfer source node (apparatus 1) returns an end confirmation notice to the transfer destination node (communication 5 in FIG. 3), and deletes all records of the job from the nonvolatile storage area (step B7). The job is ended by displaying an end message on the display operation unit (step A).
2, B8).

【0052】次に、異常処理の動作について述べる。Next, the operation of the abnormal processing will be described.

【0053】まず、転送中のタイムアウト処理は転送先
のノードでだけ判断し、長時間の無応答でない限り受信
リトライを続けプロトコルを中断すること(ステップC
11)はしない。転送先ノードは基本的に通信障害も相
手ノード障害も区別できないので長時間待ち続けた後に
中断状態にする。
First, timeout processing during transfer is determined only by the transfer destination node, and unless a long-time no response is received, reception retry is continued and the protocol is interrupted (step C).
Don't do 11). Since the transfer destination node basically cannot distinguish between a communication failure and a partner node failure, it waits for a long time and then suspends.

【0054】したがって、起動するノードでは操作表示
部から明示的にジョブを中止するか電源断などによって
暗黙のうちに中断する。中止はジョブの記録を不揮発性
メモリから消去し完全に停止してしまう事であり、中断
はジョブの記録を不揮発性メモリに残したままにして装
置の電源断をまたがって再開始が可能な状態である。も
し、通信線の切断のような致命的な障害ではなく、自然
に復旧するような障害の場合は、通常のブロック転送中
のタイムアウト処理が長い待ちに対応しているので再送
要求(ステップC6)と受信(ステップC3)のリトラ
イを実行しているうちに回復する。
Therefore, at the node to be started, the job is explicitly stopped from the operation display unit, or is implicitly interrupted due to power cutoff or the like. Canceling means erasing the job record from the non-volatile memory and completely stopping it. Interruption means that the job record remains in the non-volatile memory and can be restarted across power cuts of the device. It is. If the failure is not a catastrophic failure such as a communication line disconnection but is a failure that recovers naturally, a retransmission request (step C6) because timeout processing during normal block transfer corresponds to a long wait. While the retry of reception (step C3) is being executed.

【0055】携帯端末では電池切れによって機能を停止
することが多く、これは一種のノード障害である。パソ
コンのOSの信頼性が低くリセットで回復したいときも
ノード障害である。このようなシステムダウンをまたが
ってファイル転送が中断し、再開始しされても正当に結
果を保証する。
In the portable terminal, the function is often stopped by running out of the battery, and this is a kind of node failure. Node failure occurs when the OS of the personal computer is low in reliability and it is desired to recover by reset. Even if the file transfer is interrupted and restarted over such a system down, the result is properly guaranteed.

【0056】プログラムが異常終了した場合でも、明示
的に中断を指示されて終わった場合でも、該当ファイル
転送ジョブの中断時点の状態は不揮発性記憶域13内の
手順記憶域14に記憶されている。したがって電源投入
やリセットによるノード(装置)のシステム再開始後
(図5のステップE1)に不揮発性記憶域13内の手順
記憶域14を参照して(ステップE2)ジョブの記録が
残っていれば中断ジョブがあると判断してプログラムを
自動的に開始して該当ジョブを再開始する(ステップE
3)。また、起動側ノード(装置)が明示的に中断の操
作をした場合は明示的な操作によっても該当ジョブを再
開始できる。再開始したノード側のプログラムは改めて
「前処理」として相手側のノードのプログラムを開始さ
せて中断点までの状態を回復してチェックポイントの同
期を回復する。
Regardless of whether the program terminates abnormally or terminates after being explicitly instructed to suspend, the state at the time of suspension of the file transfer job is stored in the procedure storage area 14 in the nonvolatile storage area 13. . Therefore, after the system restart of the node (apparatus) due to power-on or reset (step E1 in FIG. 5), if a job record remains by referring to the procedure storage area 14 in the nonvolatile storage area 13 (step E2) It is determined that there is a suspended job, the program is started automatically, and the job is restarted (step E).
3). Further, when the initiating node (apparatus) explicitly performs an operation of suspending, the job can be restarted by an explicit operation. The restarted node-side program restarts the other node's program as "pre-processing", recovers the state up to the interruption point, and recovers the checkpoint synchronization.

【0057】再開始ノードが手順記憶域14に転送元
(装置1)になる中断ジョブ情報を見つけた場合、ステ
ップE4〜E7を実行し、状態B5を回復する。このと
きステップE4で該当ジョブの再開要求を転送先(装置
2)のノードに送信し、転送先のノードは再開要求を受
信した事で状態C5を回復する。転送先ノード(装置
2)は再開要求のジョブID、ファイル名等を読み出
し、自装置の手順記憶域14に書き込まれた内容と比較
する。比較した結果等しいジョブがあれば、ファイル転
送の再開と判断し、最新の受信確認数と共にファイル転
送の再開要求に対する肯定応答を返し、ブロック転送の
受信待ちになる。装置2は、それ以降、図3のフローチ
ャートのステップC3以降と同じ処理を行うことにな
る。また、装置1は、装置2からの再開要求に対する肯
定応答を受信すると、前回終了したブロックの次のブロ
ックから転送を始める。それ以降の処理は、図2のフロ
ーチャートのステップB3からの処理と同じである。な
お、装置2において再開要求と上記手順記憶域14を比
較した結果が等しくない場合は、装置1に拒否応答を返
すことにより、装置1は転送元のジョブの記録を手順記
憶域14から消去する。
When the restarting node finds the interrupted job information to be the transfer source (apparatus 1) in the procedure storage area 14, the steps E4 to E7 are executed to recover the state B5. At this time, in step E4, a request to restart the job is transmitted to the node of the transfer destination (apparatus 2), and the transfer destination node recovers the state C5 by receiving the restart request. The transfer destination node (apparatus 2) reads the job ID, file name, and the like of the restart request, and compares them with the contents written in the procedure storage area 14 of the own apparatus. If there is an equal job as a result of the comparison, it is determined that the file transfer is to be resumed, an acknowledgment is returned to the file transfer restart request together with the latest number of received confirmations, and block transfer reception is waited. Thereafter, the device 2 performs the same processing as in step C3 and subsequent steps in the flowchart of FIG. Further, upon receiving an acknowledgment of the restart request from the device 2, the device 1 starts transfer from the block next to the block that was completed last time. The subsequent processing is the same as the processing from step B3 in the flowchart of FIG. If the result of the comparison between the restart request and the procedure storage area 14 in the apparatus 2 is not the same, a rejection response is returned to the apparatus 1 so that the apparatus 1 deletes the record of the transfer source job from the procedure storage area 14. .

【0058】再開始ノードが手順記憶域14に転送先
(装置2)になる中断ジョブ情報を見つけた場合、ステ
ップE8〜E11を実行し、状態C5を回復する。この
ときステップE8で受信済みブロック数を付加した該当
ジョブの再開要求を転送元(装置1)のノードに送信
し、転送元のノードは再開要求を受信した事で状態B5
を回復する。転送元ノード(装置1)は再開要求のジョ
ブID、ファイル名等を読み出し、自装置の手順記憶域
14に書き込まれた内容と比較する。比較した結果等し
いジョブがあれば、ファイル転送の再開と判断し、ファ
イル転送の再開要求に対する肯定応答を返す。装置1
は、それ以降、図3のフローチャートのステップB3以
降と同じ処理を行うことになる。また、装置2は、装置
1からの再開肯定応答を受信すると、前回中断したブロ
ックの次のブロックから受信を始める。その処理は、図
3のフローチャートのステップC3からの処理と同じで
ある。なお、装置1において再開要求と上記手順記憶域
14を比較した結果が等しくない場合は、装置2に再開
拒否応答を返すことにより、装置2は転送元のジョブの
記録を手順記憶域14から消去する。
When the restarting node finds the interrupted job information to be the transfer destination (apparatus 2) in the procedure storage area 14, the steps E8 to E11 are executed to recover the state C5. At this time, in step E8, a request to restart the job to which the number of received blocks has been added is transmitted to the node of the transfer source (apparatus 1), and the transfer source node receives the restart request and returns to state B5.
To recover. The transfer source node (apparatus 1) reads the job ID, file name, and the like of the restart request and compares them with the contents written in the procedure storage area 14 of the own apparatus. If there is an equal job as a result of the comparison, it is determined that the file transfer is to be resumed, and an affirmative response to the file transfer restart request is returned. Apparatus 1
Thereafter, the same processing as in step B3 and subsequent steps in the flowchart of FIG. 3 is performed. In addition, upon receiving the restart acknowledgment from the device 1, the device 2 starts receiving from the block next to the last interrupted block. The processing is the same as the processing from step C3 in the flowchart of FIG. If the result of the comparison between the restart request and the procedure storage area 14 in the apparatus 1 is not the same, the apparatus 2 sends a restart rejection response to the apparatus 2 so that the apparatus 2 deletes the record of the transfer source job from the procedure storage area 14. I do.

【0059】実際には、中断再開時の相手先(受動側ノ
ード)の動作としては、図4のフローチャートによる動
作(ステップD3,D8,D9,D10,D11,D
7)となるが、通信1により動作する相手側のノードの
プログラムは基本的に中断前に実行していた実体が待ち
続けている可能性がある。この状態のときは、中断以前
から存在している実行実体を終了させ、新たな実行実体
を有効とする(図4のステップD9)。新たな実行実体
の「前処理」で回線交換型の通信回線の回復処理を行う
為である。受動側ノードは中断点までの状態を回復し、
再同期した後に残りのファイル転送を実行する。すなわ
ち転送元ノードなら状態、ステップB5を回復し、ステ
ップB3から実行する。転送先ノードなら状態、ステッ
プC5を回復しステップC3から実行する。
Actually, as the operation of the partner (passive node) at the time of suspension / resumption, the operation according to the flowchart of FIG. 4 (steps D3, D8, D9, D10, D11, D
7), but there is a possibility that the entity running before communication is basically waiting for the program of the partner node operated by communication 1 to continue. In this state, the execution entity existing before the interruption is terminated, and the new execution entity is made effective (step D9 in FIG. 4). This is for performing the recovery processing of the circuit switching type communication line in the "preprocessing" of the new execution entity. The passive node recovers its state up to the point of interruption,
Perform the rest of the file transfer after resynchronization. That is, if it is the transfer source node, the state, step B5 is recovered, and the processing is executed from step B3. If it is the transfer destination node, the state is restored, and step C5 is recovered and executed from step C3.

【0060】もし、転送元のノード(装置1)におい
て、再開始したジョブの「前処理」の段階で転送先のノ
ード(装置2)との通信(図5の通信1、通信2)がで
きない場合は、規定回数のステップE4、E5またはス
テップE8,E9のリトライ(予め決められた時間間隔
でリトライを行う)を試みて回復できなければジョブの
記録と転送途中ファイルを不揮発性記憶域13から抹消
して(ステップE12)ジョブを終了する(ステップE
13)。
If the transfer source node (apparatus 1) cannot communicate with the transfer destination node (apparatus 2) at the "pre-processing" stage of the restarted job (communication 1 and communication 2 in FIG. 5). In this case, if a predetermined number of retries of steps E4 and E5 or steps E8 and E9 are attempted (retry is performed at a predetermined time interval) and recovery is not possible, the job recording and the file being transferred are transferred from the non-volatile storage area 13 to the non-volatile storage area 13. Delete (step E12) and end the job (step E12).
13).

【0061】これら異常処理で行うリトライ後のジョブ
の放棄までの時間は数時間から数十時間を想定して回復
の機会を長くとる。相手ノード(装置)は起動されてい
れば常時、受動側開始処理ステップD2で待ち受けて回
復手順を始められるため、相手ノード(装置)の電源断
に対応した長時間の再開始要求のリトライを行うためで
ある。
The time until the job is abandoned after the retry performed in the abnormal processing is assumed to be several hours to several tens of hours, so that the chance of recovery is increased. If the partner node (device) is activated, it can always wait in the passive-side start processing step D2 and start the recovery procedure, so that a long-time retry request corresponding to the power failure of the partner node (device) is retried. That's why.

【0062】以上説明したように、本発明は手順記憶域
14が破壊されない限りネットワークアーキテクチャー
の他の層のプロトコルに頼らずにファイル転送プロトコ
ル自身(制御部11のメモリに格納されたプログラムに
よる動作)が不揮発性記憶域13に手順の段階を記憶し
ておき、制御部11がこの手順の段階を利用するプログ
ラムを実行することで長時間の回線断をまたがって別の
データリンクに乗り換えた後でも確実にファイル転送を
実現することを可能にする。
As described above, according to the present invention, unless the procedure storage area 14 is destroyed, the file transfer protocol itself (operation by the program stored in the memory of the control unit 11) does not depend on the protocol of the other layers of the network architecture. ) Stores the steps of the procedure in the non-volatile storage area 13, and after the control unit 11 executes a program using the steps of the procedure to switch to another data link over a long-time line disconnection. However, it is possible to surely realize the file transfer.

【0063】以上、説明してきた実施の形態では、利用
する下位プロトコルを通信障害と相手方ノード障害の区
別が付かない前提で説明したが、もし、専用線、回線交
換、コネクション型プロトコルのように通信線の切断を
検出できる下位プロトコルを使っている場合は、通信線
の切断を検出したときに直ちにファイル転送プロトコル
を中断状態に移行、あるいは一旦プログラムの実行を終
了して、更に、新しい通信線を確保して中断再開始処理
を開始してもよい。この手順は通信線の切断を別の通信
線に乗り換えて回復することを試みることになる。
In the embodiment described above, the lower protocol to be used has been described on the assumption that there is no distinction between a communication failure and a partner node failure. If a lower-level protocol that can detect a line disconnection is used, the file transfer protocol is immediately suspended when the disconnection of the communication line is detected, or the program execution is terminated once, and a new communication line is established. Alternatively, the suspension restart processing may be started. This procedure attempts to recover from the disconnection of the communication line by switching to another communication line.

【0064】[0064]

【発明の効果】第1の効果は、あらゆる下位プロトコル
を利用可能である。本発明の回復処理は独立に機能する
ものであって、下位プロトコルの働きに依存しない。た
だし、下位プロトコルによって最適化する余地はある。
The first effect is that any lower-level protocol can be used. The recovery process of the present invention functions independently and does not depend on the operation of the lower protocol. However, there is room for optimization by the lower protocol.

【0065】第2の効果は、ファイル転送処理の途中で
長時間の中断があっても打ち切りを行わないで再開始し
て、回復できることにある。その理由は、ファイル転送
ジョブの属性とチェックポイント(手順状態)を不揮発
性記憶域に保持している為、プログラムの終了や装置の
電源断の後でも、改めて再開始処理が行えるためであ
る。
The second effect is that even if there is a long interruption in the middle of the file transfer process, the file can be restarted without interruption and recovered. The reason is that the attribute and the checkpoint (procedure state) of the file transfer job are held in the non-volatile storage area, so that the restart processing can be performed again even after the end of the program or the power-off of the apparatus.

【0066】第3の効果は、有害な再送にまつわる伝送
データの輻輳を防止できることにある。その理由は、中
断になる前の状態でのブロック転送のタイムアウトの判
定を転送先のノードだけで行い、転送元は、その判断に
従っているため、また、そのときの転送先ノードのタイ
ムアウトが繰り返される場合は判定時間を長くしていく
ことによって無駄な再送要求が発生しないためである。
両方のノードが中断状態である間は全く通信は使用され
ないこと、更に、中断再開始時に通信できないときも再
開始処理のリトライ間隔を数分程度に長くしておく事に
よって無駄な再開始要求を低下できる。
A third effect is that congestion of transmission data related to harmful retransmission can be prevented. The reason is that the determination of the timeout of the block transfer before the interruption is performed only by the transfer destination node, and the transfer source follows the determination, and the timeout of the transfer destination node at that time is repeated. In this case, useless retransmission requests are not generated by increasing the determination time.
Communication is not used at all while both nodes are suspended, and even if communication is not possible at the time of suspension restart, wasteful restart requests can be made by increasing the retry interval of restart processing to several minutes. Can be lowered.

【0067】第4の効果は、重大な通信障害とノード障
害を区別無く同じ手順で回復できることにある。その理
由は、第2の効果を利用して両方の場合分けをせずに、
全て中断再開始処理の中で重大障害の回復をするためで
ある。もし、重大な通信障害のときは中断再開始処理の
最初に、通信回線を確保し直すので回復可能である。も
し、ノード障害のときはノード障害が回復した後で再開
始処理が実行されるはずなので回復可能である。
A fourth effect is that a serious communication failure and a node failure can be recovered by the same procedure without distinction. The reason is that without using the second effect to separate both cases,
This is for recovering from a serious failure during the interruption restart processing. If a serious communication failure occurs, it is possible to recover by re-securing the communication line at the beginning of the interruption restart processing. If a node failure has occurred, the restart processing should be executed after the node failure has been recovered, so that recovery is possible.

【0068】第5の効果は、移動体通信の応用だけでな
く、一般の情報処理装置の通信障害やノード障害にまた
がったファイル転送も自動回復して実行できることにあ
る。その理由は、発明を適用する構成に汎用的なコンピ
ュータを含めることができ、前記、第1から第4の効果
があるためである。
A fifth effect is that not only the application of mobile communication but also the automatic transfer of a file transfer over a communication failure or a node failure of a general information processing apparatus can be automatically recovered and executed. The reason is that a general-purpose computer can be included in the configuration to which the present invention is applied, and the above-described first to fourth effects are obtained.

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

【図1】図2の装置内を詳細に示したブロック図であ
る。
FIG. 1 is a block diagram showing the inside of the apparatus of FIG. 2 in detail.

【図2】本発明の実施形態例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】本発明の実施の形態例におけるブロック転送時
のフローチャートである。
FIG. 3 is a flowchart at the time of block transfer in the embodiment of the present invention.

【図4】図3の前処理に関するフローチャートである。FIG. 4 is a flowchart relating to pre-processing of FIG. 3;

【図5】再開始処理に関するフローチャートである。FIG. 5 is a flowchart relating to a restart process.

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

1,2 装置 3 通信網 11 制御部 12 タイマ 13 不揮発性記憶域 14 手順記憶域 15 ファイル 16 バス 17 通信部 18 表示操作部 21 記録媒体 Reference numerals 1 and 2 3 Communication network 11 Control unit 12 Timer 13 Non-volatile storage area 14 Procedure storage area 15 File 16 Bus 17 Communication unit 18 Display operation unit 21 Recording medium

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 通信網に接続された複数の装置間でファ
イル転送を行う場合にファイルを複数のブロックに分割
し転送を行うファイル転送プロトコル方式において、前
記複数の装置の内の第1の装置がファイル転送元となり
前記複数の装置の内の第2の装置がファイル転送先とな
る場合に、前記第1または第2の双方の装置は、ファイ
ル転送を行う前に唯一の値を持つジョブIDを取り決め
る開始通知手段を有し、前記第1の装置は、前記開始通
知手順に対する応答を前記第2の装置から受信した場合
にジョブIDを含む自身の第1の手順状態を不揮発性の
第1の記憶部に書き込む第1の状態記憶手段と、前記開
始通知手段に対する応答を前記第2の装置から受信した
場合は前記ブロック転送を始めるブロック転送開始手段
と、前記ブロック転送中に前記第2の装置から前記ブロ
ックの受信の確認がとれる度に送達確認を示す送達確認
数を前記第1の手順状態の1部として前記第1の記憶部
に書き込む送達確認記憶手段と、全ての前記ブロックを
転送し終えた場合に全ての前記第1の手順状態を前記第
1の記憶部から消去する転送元消去手段とを有し、前記
第2の装置は、ジョブIDを含む自身の第2の手順状態
を前記ファイル転送を行う前に不揮発性の第2の記憶部
に書き込む第2の状態記憶手段と、前記ブロックを受信
する度に受信したことを示す受信確認数を前記第2の手
順状態の1部として第2の記憶部に書き込む受信確認記
憶手段と、前記ブロックを受信する度に受信したことを
前記第1の装置に返信する返信手段と、全ての前記ブロ
ックを受信し終えた場合に前記第1の装置から終了通知
を待つ受信手段と、前記終了通知を受信した後に全ての
前記第2の手順状態を前記第2の不揮発性記憶部から消
去する記憶消去手段とを有することを含むことを特徴と
するファイル転送プロトコル方式。
In a file transfer protocol system in which a file is divided into a plurality of blocks and transferred when a file is transferred between a plurality of devices connected to a communication network, a first device among the plurality of devices is used. Is the file transfer source and the second device of the plurality of devices is the file transfer destination, the first and second devices both have a unique job ID before performing the file transfer. The first device has a first procedure status including a job ID when a response to the start notification procedure is received from the second device. First state storage means for writing to the storage unit, block transfer start means for starting the block transfer when a response to the start notification means is received from the second device, Delivery confirmation storage means for writing the number of delivery confirmations indicating delivery confirmation to the first storage unit as a part of the first procedure state each time reception of the block is confirmed from the second device during transmission; Transfer source erasing means for erasing all the first procedure states from the first storage unit when all the blocks have been transferred, and the second apparatus includes a job ID. A second state storage unit that writes its own second procedure state to a non-volatile second storage unit before performing the file transfer; and a reception confirmation number indicating that the block has been received each time the block is received. Receiving confirmation storage means for writing to the second storage section as a part of the second procedure state, reply means for returning to the first device that the block has been received each time the block is received, When the reception is completed, the first Receiving means for waiting for an end notification from the device, and storage erasing means for erasing all the second procedure states from the second nonvolatile storage unit after receiving the end notification. File transfer protocol method to use.
【請求項2】 前記第2の装置は、予め決められた時間
内に次に受信するべき前記ブロックを受信しなければ、
再送要求を前記返信手段にて第1の装置に行い、このタ
イムアウトが続くときは前記予め決められた1回あたり
の待ち時間を増大させながら規定回数に達するまで再送
要求を繰り返すことを特徴とする請求項1記載のファイ
ル転送プロトコル方式。
2. The second device, if it does not receive the next block to be received next within a predetermined time,
A retransmission request is made to the first device by the reply means, and when the timeout continues, the retransmission request is repeated until the predetermined number of times is reached while increasing the predetermined waiting time per one time. The file transfer protocol system according to claim 1.
【請求項3】 前記第1または第2の不揮発性記憶部
は、前記ジョブIDと、ファイル名と、ファイル属性
と、自装置が転送元か転送先かを示す情報と、前記送達
確認数または前記受信確認数と、転送相手の送信アドレ
スとを含む手順状態を有することを特徴とする請求項1
のファイル転送プロトコル方式。
3. The first or second non-volatile storage unit stores the job ID, a file name, a file attribute, information indicating whether the apparatus is a transfer source or a transfer destination, 2. The communication system according to claim 1, wherein a procedure status including the number of acknowledgments and a transmission address of a transfer partner is provided.
File transfer protocol method.
【請求項4】 前記第1の装置は、装置立ち上げ時に第
1の不揮発性記憶部に記憶された前記手順状態を検索し
ファイル転送中であれば、前記第2の装置に転送中のジ
ョブIDを付加した再開要求を送信する再開要求手段
と、前記再開要求に対する肯定応答を前記第2の装置か
ら受信した場合は、中断状態を回復し、装置立ち上げ前
に転送し終わった次の前記ブロックから転送を始めるブ
ロック転送再開手段とを有することと、前記再開要求に
対する否定応答を前記第2の装置から受信した場合は、
該当ジョブの全ての記録を前記第1の不揮発性記憶部か
ら消去しジョブを終了することとを含むことを特徴とす
る請求項1または2記載のファイル転送プロトコル方
式。
4. The first device searches the procedure status stored in a first non-volatile storage unit when the device is started up, and if a file is being transferred, the job being transferred to the second device. A restart requesting means for transmitting a restart request to which an ID has been added, and when an acknowledgment to the restart request is received from the second device, the suspended state is restored and the transfer is completed before the device is started. Having block transfer restart means for starting transfer from a block, and when receiving a negative response to the restart request from the second device,
3. The file transfer protocol system according to claim 1, further comprising erasing all records of the job from the first nonvolatile storage unit and ending the job.
【請求項5】 前記第2の装置は、前記第1の装置から
の前記再開要求を受信すると前記再開要求に付加された
ジョブIDと第2の不揮発性記憶部の前記手順状態とを
比較し、該当ジョブが存在しなければ再開拒否応答を前
記第1の装置に返し、該当ジョブが存在すれば再開肯定
応答を前記第1の装置に返すことを特徴とする請求項4
記載のファイル転送プロトコル方式。
5. The second device, upon receiving the restart request from the first device, compares the job ID added to the restart request with the procedure state in a second nonvolatile storage unit. And returning a restart rejection response to the first device if the job does not exist, and returning a restart acknowledgment to the first device if the job exists.
The described file transfer protocol method.
【請求項6】 前記第2の装置は、装置立ち上げ時に第
2の不揮発性記憶部に記憶された前記手順状態を検索し
ファイル転送中であれば、中断状態を回復し、前記第1
の装置に前記ファイル転送の再開依頼を行うことを特徴
とする請求項1,2または3記載のファイル転送プロト
コル方式。
6. The second device retrieves the procedure status stored in a second nonvolatile storage unit when the device is started up, and if a file transfer is being performed, recovers an interrupted state, and
4. The file transfer protocol system according to claim 1, wherein the file transfer request is sent to the first device.
【請求項7】 前記第1の装置は、通常ジョブの受信待
ち状態のとき前記第2の装置の前記再開要求を受信する
と新たに別の実行実体にジョブの状態を明け渡すことを
特徴とする請求項1または4記載のファイル転送プロト
コル方式。
7. The method according to claim 7, wherein the first device, when in a normal job reception waiting state, receives the restart request of the second device and hands over the job status to another execution entity. Item 5. The file transfer protocol system according to item 1 or 4.
【請求項8】 前記第1または第2の双方の装置は、互
いに相手の新規ジョブの開始または中断ジョブの再開始
要求を受け付け、中断ジョブの再開を要求された場合
は、実行中の実体からジョブを引き継ぐことを特徴とす
る請求項1,2,4,5,または7記載のファイル転送
方式。
8. The apparatus according to claim 1, wherein both the first and second apparatuses receive a request to start a new job or restart the interrupted job with each other, and when requested to resume the interrupted job, the first or second apparatus determines whether the current entity is executing. 8. The file transfer method according to claim 1, wherein the job is taken over.
【請求項9】 通信網に接続された複数の装置間でファ
イル転送を行う場合にファイルを複数のブロックに分割
し転送するファイル転送プロトコル方法であって、前記
複数の装置の内の第1の装置が前記ファイル転送元とな
り前記複数の装置の内の第2の装置が前記ファイル転送
先となる場合に、転送元と転送先の区別とは独立にジョ
ブの起動側の装置が受動側の装置に開始要求を送信し、
前記受動側の装置が応答することで、双方の装置はファ
イル転送を行う前に唯一の値を持つジョブIDを取り決
める開始通知手順を取り交わし、前記起動側の装置が前
記受動側の装置から開始応答を受信した場合にジョブI
Dを含む自身の手順初期状態を不揮発性の記憶部に書き
込み、前記受動側の装置が前記開始要求を受信すると自
身の手順初期状態を不揮発性記憶部に書き込んだ後に開
始応答を前記起動側の装置に返し、前記第1の装置が初
期状態からプロック転送の送信を開始し、前記第2の装
置が初期状態からブロック転送を受信し始め、受信する
たびに、ブロックをファイル記憶域に記憶し、受信確認
数を前記第2の手順状態の1部として第2の不揮発性記
憶部に書き込み、ブロック転送肯定応答を返し、前記第
1の装置が前記ブロック転送中に前記第2の装置から前
記ブロック転送肯定応答を受信する度に送達確認を示す
送達確認数を前記第1の手順状態の1部として前記第1
の不揮発性記憶部に書き込み、前記第1の装置が全ての
前記ブロックを受信し終えた場合に前記ファイル転送の
終了通知を前記第2の装置に送信し、前記第2の装置は
終了肯定応答を返し、前記第1の装置は終了確認通知を
返し、全ての前記第1の手順状態を前記第1の不揮発性
記憶部から消去し、前記第2の装置は終了確認通知を受
信するまで終了肯定応答を繰り返し送り、終了確認通知
を受信すると全ての前記第2の手順状態を第2の不揮発
性記憶部から消去することを特徴とするファイル転送プ
ロトコル方法。
9. A file transfer protocol method for dividing and transferring a file into a plurality of blocks when transferring a file between a plurality of devices connected to a communication network, the method comprising: When a device is the file transfer source and a second device of the plurality of devices is the file transfer destination, the device on the job starting side is a device on the passive side independently of the distinction between the transfer source and the transfer destination. Send a start request to
When the passive device responds, both devices exchange a start notification procedure for determining a job ID having a unique value before performing file transfer, and the activation device responds to the start response from the passive device. Job I when receiving
D writes its own procedure initial state to a non-volatile storage unit, and when the passive-side device receives the start request, writes its own procedure initial state to a non-volatile storage unit, and then sends a start response to the boot-side unit. Returning to the device, the first device starts transmitting a block transfer from the initial state, and the second device starts receiving the block transfer from the initial state, and stores the block in the file storage area each time it receives the block transfer. Writing the number of acknowledgments to the second non-volatile storage unit as a part of the second procedure state, returning a block transfer acknowledgment, and allowing the first device to execute the block transfer from the second device during the block transfer. Each time a block transfer acknowledgment is received, the acknowledgment number indicating the acknowledgment is regarded as a part of the first procedure state.
And when the first device has received all of the blocks, sends a file transfer end notification to the second device, and the second device sends an end acknowledgment Is returned, the first device returns a termination confirmation notice, all the first procedure states are deleted from the first nonvolatile storage unit, and the second device terminates until receiving the termination confirmation notice. A file transfer protocol method, wherein an acknowledgment is repeatedly sent, and upon receipt of an end confirmation notice, all the second procedure states are deleted from the second nonvolatile storage unit.
【請求項10】 前記第1の装置が装置立ち上げ時に第
1の不揮発性記憶部に記憶された前記第1の手順状態を
検索しファイル転送中状態、すなわち中断状態のものが
あれば前記第2の装置の受動部に前記ジョブIDを付加
した再開要求を送信し、前記第2の装置は前記第1の装
置からの再開要求を受信すると前記再開要求に付加され
たジョブIDと第2の不揮発性記憶部の前記手順状態と
を比較し、該当ジョブが存在しなければ再開拒否応答を
前記第1の装置に返し、該当ジョブが存在すれば受信済
みブロック数を付加した再開肯定応答を前記第1の装置
に返し、ブロック転送の受信待ちとなり、前記第1の装
置が前記再開要求に対する肯定応答を受信した場合は装
置立ち上げ前に転送し終わった次のブロックから転送を
始め、再開拒否応答を受信した場合は前記第1の不揮発
性記憶部から該当ジョブ情報の全てを消去することを特
徴とする請求項9記載のファイル転送プロトコル方法。
10. The first device searches the first procedure status stored in the first nonvolatile storage unit when the first device starts up, and if there is a file transfer status, that is, if there is an interrupted status, the first device returns to the first procedure status. The second device transmits a restart request to which the job ID is added to the passive unit of the second device. When the second device receives the restart request from the first device, the second device outputs the job ID added to the restart request and the second request. Comparing the procedure status in the nonvolatile storage unit, if there is no corresponding job, return a refusal rejection response to the first device, if there is a corresponding job, the restart acknowledgment added the number of received blocks, the When the first device receives an acknowledgment for the restart request, the transfer is started from the next block that has been transferred before the device is started, and resumption is rejected. response 10. The file transfer protocol method according to claim 9, wherein when receiving the job information, all of the corresponding job information is deleted from the first nonvolatile storage unit.
【請求項11】前記第2の装置が装置立ち上げ時に第2
の不揮発性記憶部に記憶された前記第2の手順状態を検
索しファイル転送中状態、すなわち中断状態のものがあ
れば前記第1の装置の受動部に前記ジョブIDと受信済
みブロック数を付加した再開要求を送信し、前記第1の
装置は前記第2の装置からの再開要求を受信すると前記
再開要求に付加されたジョブIDと第1の不揮発性記憶
部の前記手順状態とを比較し、該当ジョブが存在しなけ
れば再開拒否応答を前記第2の装置に返し、該当ジョブ
が存在すれば再開肯定応答を前記第2の装置に返し、転
送済みブロックの次から転送を再開し、前記第2の装置
が前記再開要求に対する肯定応答を受信した場合は装置
立ち上げ前に転送し終わった次のブロックから受信を始
め、再開拒否応答を受信した場合は前記第2の不揮発性
記憶部から該当ジョブ情報の全てを消去することを特徴
とする請求項9記載のファイル転送プロトコル方法。
11. The apparatus according to claim 1, wherein said second device is connected to a second
The second procedure status stored in the non-volatile storage unit is searched, and if there is a file transfer status, that is, an interrupted status, the job ID and the number of received blocks are added to the passive unit of the first device. When the first device receives the restart request from the second device, the first device compares the job ID added to the restart request with the procedure state in the first nonvolatile storage unit. If the corresponding job does not exist, a return rejection response is returned to the second device. If the corresponding job exists, a restart acknowledgment is returned to the second device. When the second device receives an acknowledgment for the restart request, the second device starts reception from the next block that has been transferred before starting the device, and when the second device receives a restart rejection response, it receives a response from the second nonvolatile storage unit. Applicable File Transfer Protocol method of claim 9, wherein the erasing of all of the probe information.
【請求項12】 前記第1または第2の不揮発性記憶部
は、前記ジョブIDと、ファイル名と、ファイル属性
と、自装置が転送元か転送先かを示す情報と、前記送達
確認数または前記受信確認数と、転送相手の送信アドレ
スとを含む手順状態を有することを特徴とする請求項
9,10,11のファイル転送プロトコル方法。
12. The first or second nonvolatile storage unit stores the job ID, a file name, a file attribute, information indicating whether the apparatus is a transfer source or a transfer destination, the number of delivery confirmations, 12. The file transfer protocol method according to claim 9, further comprising a procedure state including the number of acknowledgments and a transmission address of a transfer partner.
【請求項13】 ファイル転送の転送元になる場合は、
前記ファイル転送を行う前に前記ファイル転送の転送先
にジョブIDを含む手順状態を付加して前記ファイル転
送の開始を通知する開始通知処理と、前記ファイル転送
を行う前に前記手順状態を転送元手順状態として不揮発
性の不揮発性記憶部に書き込む転送元状態記憶処理と、
前記開始通知処理に対する応答を前記転送先から受信し
た場合は前記ブロック転送を始めるブロック転送開始処
理と、前記ブロック転送中に前記転送先から前記ブロッ
クの受信の確認がとれる度に送達確認を示す送達確認数
を前記転送元手順状態の1部として前記不揮発性記憶部
に書き込む送達確認記憶処理と、全ての前記ブロックを
転送し終えた場合に全ての前記転送元手順状態を前記不
揮発性記憶部から消去する転送元消去処理とをプロセッ
サに実行させるためと、前記ファイル転送の転送先とな
る場合は、前記開始通知処理により受信した前記手順状
態を転送先手順状態として不揮発性の記憶部に書き込む
転送先状態記憶処理と、前記ブロックを受信する度に受
信したことを示す受信確認数を前記転送先手順状態の1
部として不揮発性記憶部に書き込む受信確認記憶処理
と、前記ブロックを受信する度に受信したことを前記送
信元に返信する返信手段と、全ての前記ブロックを受信
し終えた場合に全ての前記転送先手順状態を前記不揮発
性記憶部から消去する転送元消去処理とをプロセッサに
実行させるためとのプログラムを記録したファイル転送
プロトコル記録媒体。
13. When a file transfer source is used,
A start notification process for notifying the start of the file transfer by adding a procedure state including a job ID to the transfer destination of the file transfer before performing the file transfer, and a transfer source state before performing the file transfer. A transfer source state storage process for writing to a nonvolatile nonvolatile storage unit as a procedure state;
A block transfer start process for starting the block transfer when a response to the start notification process is received from the transfer destination, and a delivery indicating a delivery acknowledgment every time reception of the block is confirmed from the transfer destination during the block transfer. A delivery confirmation storage process for writing the number of confirmations to the nonvolatile storage unit as a part of the transfer source procedure state, and transferring the transfer source procedure state from the nonvolatile storage unit when all the blocks have been transferred. In order to cause the processor to execute a transfer source erasing process to be erased and to transfer the procedure status received by the start notification process to a non-volatile storage unit as a transfer destination procedure status when the transfer destination is the file transfer. The destination state storage process and the number of acknowledgments indicating that the block has been received each time the block is received are stored in the destination procedure state as 1
Reception confirmation storage processing to be written into the non-volatile storage unit as a unit, reply means for returning to the transmission source that the block has been received each time the block is received, and all the transfer when all the blocks have been received A file transfer protocol recording medium recording a program for causing a processor to execute a transfer source erasure process for erasing a pre-procedure state from the nonvolatile storage unit.
【請求項14】 装置立ち上げ時に前記不揮発性記憶部
に記憶された前記手順状態を検索する検索処理と、前記
検索処理においてファイル転送中で転送元であれば前記
転送先に前記転送元手順状態を付加した再開要求を送信
する再開要求処理と、前記検索処理においてファイル転
送中で転送先であれば中断状態を回復し前記転送元に再
開依頼を送信する再開依頼処理と、前記再開要求に対す
る肯定応答を前記転送先から受信した場合は装置立ち上
げ前に転送し終わった次の前記ブロックから転送を始め
るブロック転送再開処理とをプロセッサに実行させるこ
とを特徴とする請求項13記載のファイル転送プロトコ
ル記録媒体。
14. A retrieval process for retrieving the procedure status stored in the non-volatile storage unit at the time of device startup, and if the file is being transferred during the retrieval process, the transfer source procedure status is transmitted to the transfer destination. A restart request process for transmitting a restart request with an affixed thereto, a restart request process for recovering an interrupted state if the file is being transferred in the search process and transmitting a restart request to the transfer source, and affirming the restart request. 14. The file transfer protocol according to claim 13, wherein, when a response is received from the transfer destination, the processor causes the processor to execute a block transfer restart process that starts transfer from the next block that has been transferred before starting the apparatus. recoding media.
【請求項15】 前記再開要求を受信すると前記再開要
求に付加された前記転送元手順状態と前記不揮発性記憶
部に格納された前記転送先手順状態とを比較し、前記ジ
ョブIDが一致すれば前記肯定応答を前記転送元に返し
ジョブIDが一致しなければ拒否応答を前記転送元に返
すことをプロセッサに実行させることを特徴とする請求
項14記載のファイル転送プロトコル記録媒体。
15. Receiving the restart request, comparing the transfer source procedure state added to the restart request with the transfer destination procedure state stored in the nonvolatile storage unit, and if the job IDs match. 15. The file transfer protocol recording medium according to claim 14, wherein the processor is made to execute returning the affirmative response to the transfer source and returning a reject response to the transfer source if the job ID does not match.
【請求項16】 前記再開要求に対する拒否応答を前記
転送先から受信した場合は前記転送元手順状態を前記不
揮発性記憶部から消去することをプロセッサに実行させ
ることを特徴とする請求項14または15記載のファイ
ル転送プロトコル記録媒体。
16. A processor according to claim 14, wherein when a rejection response to said restart request is received from said transfer destination, said processor deletes said transfer source procedure state from said nonvolatile storage unit. The file transfer protocol recording medium described in the above.
JP14094598A 1998-05-22 1998-05-22 File transfer protocol method, method, and recording medium Expired - Fee Related JP3323129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14094598A JP3323129B2 (en) 1998-05-22 1998-05-22 File transfer protocol method, method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14094598A JP3323129B2 (en) 1998-05-22 1998-05-22 File transfer protocol method, method, and recording medium

Publications (2)

Publication Number Publication Date
JPH11341044A true JPH11341044A (en) 1999-12-10
JP3323129B2 JP3323129B2 (en) 2002-09-09

Family

ID=15280476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14094598A Expired - Fee Related JP3323129B2 (en) 1998-05-22 1998-05-22 File transfer protocol method, method, and recording medium

Country Status (1)

Country Link
JP (1) JP3323129B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005263A1 (en) * 2001-07-05 2003-01-16 Sony Corporation Communication system using communication network and communication method
KR100382446B1 (en) * 1998-05-20 2003-05-01 루센트 테크놀러지스 인크 System and method for processing wireless files based on filename extension
US7146406B2 (en) * 2000-06-29 2006-12-05 Panasonic Communications Co., Ltd. Server apparatus and method to distribute media data
JP2007150745A (en) * 2005-11-28 2007-06-14 Nippon Telegr & Teleph Corp <Ntt> Method for resending data of radio communication system, mobile terminal and fixed terminal
JP2007537500A (en) * 2004-05-13 2007-12-20 松下電器産業株式会社 Information processing apparatus, integrated circuit, data transfer control method, data transfer control program, program recording medium, program transmission medium, and data recording medium
JP2007328640A (en) * 2006-06-08 2007-12-20 Canon Inc Image processing unit and control method thereof
JP2009194765A (en) * 2008-02-15 2009-08-27 Nippon Telegr & Teleph Corp <Ntt> Information distribution system and its information distribution apparatus
JP2011172061A (en) * 2010-02-19 2011-09-01 Oki Electric Industry Co Ltd Video data collection system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102137217B1 (en) * 2013-07-18 2020-07-23 한국전자통신연구원 Method of data re-replication in asymmetric file system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100382446B1 (en) * 1998-05-20 2003-05-01 루센트 테크놀러지스 인크 System and method for processing wireless files based on filename extension
US7146406B2 (en) * 2000-06-29 2006-12-05 Panasonic Communications Co., Ltd. Server apparatus and method to distribute media data
WO2003005263A1 (en) * 2001-07-05 2003-01-16 Sony Corporation Communication system using communication network and communication method
JP2003016041A (en) * 2001-07-05 2003-01-17 Sony Corp Communication system, server apparatus, client apparatus, cellular phone, communication method, providing method for coordination processing, method for coordination processing, method for representative charge, validating method for contents, program and recording medium
US7334025B2 (en) 2001-07-05 2008-02-19 Sony Corporation Communication system using communication network and communication method
JP2007537500A (en) * 2004-05-13 2007-12-20 松下電器産業株式会社 Information processing apparatus, integrated circuit, data transfer control method, data transfer control program, program recording medium, program transmission medium, and data recording medium
JP2007150745A (en) * 2005-11-28 2007-06-14 Nippon Telegr & Teleph Corp <Ntt> Method for resending data of radio communication system, mobile terminal and fixed terminal
JP4594852B2 (en) * 2005-11-28 2010-12-08 日本電信電話株式会社 Data retransmission method, mobile terminal and fixed terminal for wireless communication system
JP2007328640A (en) * 2006-06-08 2007-12-20 Canon Inc Image processing unit and control method thereof
JP2009194765A (en) * 2008-02-15 2009-08-27 Nippon Telegr & Teleph Corp <Ntt> Information distribution system and its information distribution apparatus
JP2011172061A (en) * 2010-02-19 2011-09-01 Oki Electric Industry Co Ltd Video data collection system

Also Published As

Publication number Publication date
JP3323129B2 (en) 2002-09-09

Similar Documents

Publication Publication Date Title
US8161138B2 (en) Replication system having the capability to accept commands at a standby-system site before completion of updating thereof
US7900006B2 (en) Maintaining checkpoints during backup of live system
US6647473B1 (en) Kernel-based crash-consistency coordinator
WO1991014230A1 (en) Message communication processing system
WO2018214887A1 (en) Data storage method, storage server, storage medium and system
JP3323129B2 (en) File transfer protocol method, method, and recording medium
US6880013B2 (en) Permanent TCP connections across system reboots
JP4713843B2 (en) Backup method
JPH11340986A (en) Device used for radio communication system and program recording medium
JP2008503116A (en) Data transmission method between devices in a network
WO2020094063A1 (en) Data storage method and device, storage medium and electronic device
CN112084159A (en) File synchronization system and method based on Bluetooth communication
JP2003179541A (en) System for informing trouble of portable telephone terminal
JP2002108698A (en) Memory managing system and memory managing method
JP3088683B2 (en) Data communication system
JP4266107B2 (en) Data transfer device, data transfer destination device, data collection device, data transfer program, data transfer destination program, and data collection program
CN116996505B (en) File exchange control method and system based on scheduling engine
JP3487786B2 (en) E-mail system, e-mail transmission device, and e-mail transmission method
JP2776442B2 (en) Compound computer system
JP2002007197A (en) System for monitoring file transfer and method for the same and recording medium with recorded for monitoring file transfer
JPH11212917A (en) Transaction recovery system and its program recording medium
CN115580610B (en) Batch file uploading method, device, equipment and readable storage medium
JP2000194624A (en) Computer system and communication recovery system
CN108377670A (en) A kind of method of processing business, service node, control node and distributed system
JP2638564B2 (en) Remote resume system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020604

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees