JPH05265785A - Error recovery method for file transfer - Google Patents

Error recovery method for file transfer

Info

Publication number
JPH05265785A
JPH05265785A JP4053067A JP5306792A JPH05265785A JP H05265785 A JPH05265785 A JP H05265785A JP 4053067 A JP4053067 A JP 4053067A JP 5306792 A JP5306792 A JP 5306792A JP H05265785 A JPH05265785 A JP H05265785A
Authority
JP
Japan
Prior art keywords
data
point
file transfer
reception
data point
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
JP4053067A
Other languages
Japanese (ja)
Inventor
Akihiro Anezaki
章博 姉崎
Takahiro Okaki
孝浩 岡木
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 Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Software Kyushu 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 Corp, NEC Software Kyushu Ltd filed Critical NEC Corp
Priority to JP4053067A priority Critical patent/JPH05265785A/en
Publication of JPH05265785A publication Critical patent/JPH05265785A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Retry When Errors Occur (AREA)
  • Multi Processors (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To shorten the time required for recovery at the time of the occurrence of a fault by resending data from the data point, where reception was last confirmed, or following data in the case of the occurrence of the recoverable fault during the file transfer processing. CONSTITUTION:If the reception side detects a fault after reception of data 16 and data is secured up to data 11 at this time, the reception side requests the transmission side to resend data from data 12, and the transmission side resends data from data 12 after responding to this request. At this time, it is judged that transmission up to data 11 has been confirmed and preserved data ending with data 11 is logically deleted. If the transmission side detects a fault, the transmission side requests to resend data from data following the data point where reception is last confirmed, and the reception side returns the value of the data point following data, which is actually secured by itself, as the response. Thus, the error recovery processing of file transfer is performed by resending from the last confirmed data point or following data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファイル転送に於ける
誤り回復方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error recovery method in file transfer.

【0002】[0002]

【従来の技術】近年、情報化社会に於けるデータの転送
量は増加する一方、異機種間に於けるファイルの転送に
於ける障害発生が問題化してきている。従来、そのよう
な障害発生時の誤り回復のために、図4に示すように、
送信データの途中にチェックポイントを挿入し、その応
答を受け取ることにより、チェックポイントからの回
復、又はファイルの先頭からの回復を可能化していた。
2. Description of the Related Art In recent years, while the amount of data transferred in the information-oriented society has increased, the occurrence of problems in the transfer of files between different models has become a problem. Conventionally, for error recovery when such a failure occurs, as shown in FIG.
By inserting a checkpoint in the middle of the transmission data and receiving the response, the recovery from the checkpoint or the recovery from the beginning of the file is enabled.

【0003】[0003]

【発明が解決しようとする課題】このような従来のファ
イル転送に於ける誤り回復方法では、データの途中にチ
ェックポイントを挿入する必要があり、プログラムの処
理が複雑になる上、チェックポイントを挿入する事によ
り、転送効率が大幅に減少してしまうという問題があっ
た。
In such an error recovery method in the conventional file transfer, it is necessary to insert a checkpoint in the middle of the data, which complicates the processing of the program and inserts the checkpoint. By doing so, there was a problem that the transfer efficiency was significantly reduced.

【0004】本発明は、ファイル転送に於ける誤り回復
処理に於いて、チェックポイントの代わりに、送信デー
タの数をデータポイントとして、誤り回復の為のポイン
トとして用い、また、データの応答を返す事により、デ
ータの送信確認を行い、障害発生時には最後に確認が行
われたデータポイント又は、それ以降のデータからの再
送を行う事により、障害発生時の回復のために要する時
間を短縮させる事を目的とする。
According to the present invention, in error recovery processing in file transfer, the number of transmitted data is used as a data point instead of a checkpoint as a point for error recovery, and a data response is returned. By confirming the data transmission, and by resending from the data point that was confirmed last or the data after that when a failure occurs, the time required for recovery in the event of a failure can be shortened. With the goal.

【0005】[0005]

【課題を解決するための手段】本発明のファイル転送に
於ける誤り回復方法は、障害発生時にデータの再送を行
う位置を、送信データの数で示すデータポイント回復手
段と、従来非確認型プリミティブであったデータを、確
認型プリミティブにする事によりチェックポイントを代
用するためのデータ応答手段と、前記データ応答により
確認を受けるまでの、送信データの保存を行うデータ保
存手段と、データポイントの確認を行った場合に、確認
データポイント以前のデータを削除するデータ削除手段
と、回復可能な一時的障害発生時に最後に確認を行った
データポイント、又はそれ以降のデータポイントからの
データ再送を行うデータ再送手段とを有し、ファイル転
送処理中に回復可能な障害が発生した場合、最後に受信
確認が行われたデータポイント、又はそれ以降のデータ
からの再送を行う事により、障害発生時の回復を行う事
を特徴とする。
An error recovery method for file transfer according to the present invention comprises a data point recovery means for indicating the position at which data is retransmitted when a failure occurs by the number of transmitted data, and a conventional non-confirmation type primitive. The data response means for substituting a checkpoint for the data that has been a confirmation type primitive, the data storage means for storing the transmission data until the confirmation is received by the data response, and the data point confirmation Data deletion means to delete the data before the confirmation data point, and the data to be retransmitted from the last confirmed data point when a recoverable temporary failure occurs, or from the data point after that. If there is a recoverable failure during the file transfer process that has a resending means, the device that received the last confirmation By performing a retransmission from the other point, or later of the data, and performs a recovery in the event of a failure.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】図1は、本発明のファイル転送に於けるチ
ェックポイントレス誤り回復処理方法の流れ図を表し、
図2は、データを保存するための記憶領域のイメージを
表し、図3は、記憶領域管理のためのデータに関する情
報のフォーマットを表したものである。
FIG. 1 is a flow chart of a checkpointless error recovery processing method for file transfer according to the present invention.
2 shows an image of a storage area for storing data, and FIG. 3 shows a format of information regarding data for storage area management.

【0008】図2に於いて、それぞれ記憶領域1〜記憶
領域n、又記憶領域nと記憶領域1は論理的に連続であ
り、それぞれ次の領域へのアドレスで結ばれている。
In FIG. 2, storage area 1 to storage area n, or storage area n and storage area 1 are logically continuous and are connected by an address to the next area.

【0009】図3に於いて、先頭データポイント及び、
最終データポイントは初期値として共に“0”を持ち、
先頭データアドレス及び最小データアドレスは初期値と
して共に空のアドレスを持つ。データ(1)の送信によ
り先頭データポイント及び最終データポイントは“1”
に更新され、同時に先頭データアドレス及び最終データ
アドレスには記憶領域1へのアドレスが格納される。デ
ータ(2)の送信により、最終データポイントは(2)
になり最終データアドレスには記憶領域2へのアドレス
が格納される。データ(3)〜(6)の送信に伴い、最
終データポイント及び最終データアドレスは随時更新さ
れる。また、データ(5)応答の受信により先頭データ
ポイントの値は“6”に更新され、先頭データアドレス
も記憶領域6へのアドレスに更新される。 このよう
に、データを送信するたびにそのデータを記憶領域に格
納し又、データの応答を受信した時点で先頭データポイ
ント及び先頭データアドレスを書き換えることにより論
理的に保存データを削除する。
In FIG. 3, the first data point and
The final data points both have "0" as the initial value,
The initial data address and the minimum data address both have an empty address as an initial value. The first and last data points are "1" due to the transmission of data (1)
The address to the storage area 1 is simultaneously stored in the first data address and the last data address. By sending the data (2), the final data point is (2)
Then, the address to the storage area 2 is stored in the final data address. With the transmission of the data (3) to (6), the final data point and the final data address are updated at any time. Further, the value of the head data point is updated to “6” by the reception of the data (5) response, and the head data address is also updated to the address to the storage area 6. In this way, each time the data is transmitted, the data is stored in the storage area, and when the response of the data is received, the head data point and the head data address are rewritten to logically delete the stored data.

【0010】図1に於いて、受信側がデータ(16)を
受信後障害を検出し、その時データ(11)までの確保
が行われていた場合、受信側は送信側に対しデータ(1
2)からの回復要求を行い、送信側はそれに対する応答
を返した後データ(12)からの再送を行う。この時送
信側はデータ(12)からの回復要求を受けた事でデー
タ(11)までは送信確認が行われたものと判断し、デ
ータ(11)までの保存データの論理的削除を行う。
In FIG. 1, when the receiving side detects a fault after receiving the data (16) and the data (11) is secured at that time, the receiving side sends the data (1) to the transmitting side.
The recovery request from (2) is made, the transmitting side returns a response to the request, and then the data (12) is retransmitted. At this time, the transmission side receives the recovery request from the data (12) and determines that the transmission confirmation up to the data (11) has been performed, and logically deletes the stored data up to the data (11).

【0011】同様に、送信側に於いて障害を検出した場
合、送信側は自分が最後に確認を行ったデータポイント
の次のデータからの再送を要求し、それに対し受信側は
実際に自分が確保したデータの次のデータポイントの値
を応答で返す。その応答を受けた送信側は受信側が指定
したデータポイントからの再送を行う。
Similarly, when the transmitting side detects a failure, the transmitting side requests retransmission from the data next to the last confirmed data point, whereas the receiving side does not Returns the value of the next data point of the secured data in the response. The transmitting side receiving the response retransmits from the data point designated by the receiving side.

【0012】このようにして、障害が発生した場合に
は、確認された最後のデータポイント又は、それ以降の
データからの再送を行うことで、チェックポイントを用
いずにファイル転送に於ける誤り回復処理が可能とな
る。
In this way, when a failure occurs, the error is recovered in the file transfer without using the checkpoint by retransmitting from the last confirmed data point or the data after that. Processing becomes possible.

【0013】[0013]

【発明の効果】以上のように本発明によって、ファイル
転送に於いてチェックポイントを使用せずに、データの
保存、データの削除、データの再送が可能となり、回復
可能な障害の発生時の誤り回復のために、チェックポイ
ントを挿入し、そのチェックポイントからの回復しか行
えないという非効率的な方法をとらずに、ファイル転送
に於ける誤り回復処理が可能となる。
As described above, according to the present invention, it is possible to save data, delete data, and retransmit data without using checkpoints in file transfer, and an error occurs when a recoverable failure occurs. For recovery, error recovery processing in file transfer is possible without using an inefficient method of inserting a checkpoint and only recovering from the checkpoint.

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

【図1】本発明の一実施例の流れ図である。FIG. 1 is a flow chart of one embodiment of the present invention.

【図2】データを保存するための記憶領域のイメージを
示す図である。
FIG. 2 is a diagram showing an image of a storage area for storing data.

【図3】記憶領域管理のためのデータに関する情報のフ
ォーマットを示す図である。
FIG. 3 is a diagram showing a format of information regarding data for storage area management.

【図4】従来の一例を示す流れ図である。FIG. 4 is a flowchart showing a conventional example.

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

1〜n 記憶領域 1 to n storage area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 障害発生時にデータの再送を行う位置
を、送信データの数で示すデータポイント回復手段と、 従来非確認型プリミティブであったデータを、確認型プ
リミティブにする事によりチェックポイントを代用する
ためのデータ応答手段と、 前記データ応答により確認を受けるまでの、送信データ
の保存を行うデータ保存手段と、 データポイントの確認を行った場合に、確認データポイ
ント以前のデータを削除するデータ削除手段と、 回復可能な一時的障害発生時に最後に確認を行ったデー
タポイント、又はそれ以降のデータポイントからのデー
タ再送を行うデータ再送手段とを有し、 ファイル転送処理中に回復可能な障害が発生した場合、
最後に受信確認が行われたデータポイント、又はそれ以
降のデータからの再送を行う事により、障害発生時の回
復を行う事を特徴とするファイル転送に於ける誤り回復
方法。
1. A checkpoint is substituted by a data point recovery means that indicates the position where data is retransmitted in the event of a failure by the number of transmitted data, and by replacing the data that was conventionally a non-confirmation type primitive with a confirmation type primitive. Data response means for saving, data storage means for storing transmission data until confirmation by the data response, and data deletion for deleting data before the confirmation data point when the data point is confirmed Means and a data resending means for resending data from the last confirmed data point or a subsequent data point when a recoverable temporary failure occurs, and a recoverable failure occurs during the file transfer process. if it occurs,
An error recovery method in file transfer, characterized in that recovery is performed when a failure occurs by retransmitting from the data point for which reception confirmation was finally performed or data after that.
JP4053067A 1992-03-12 1992-03-12 Error recovery method for file transfer Pending JPH05265785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4053067A JPH05265785A (en) 1992-03-12 1992-03-12 Error recovery method for file transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4053067A JPH05265785A (en) 1992-03-12 1992-03-12 Error recovery method for file transfer

Publications (1)

Publication Number Publication Date
JPH05265785A true JPH05265785A (en) 1993-10-15

Family

ID=12932482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4053067A Pending JPH05265785A (en) 1992-03-12 1992-03-12 Error recovery method for file transfer

Country Status (1)

Country Link
JP (1) JPH05265785A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370563B2 (en) 2008-11-20 2013-02-05 Samsung Electronics Co., Ltd. Non-volatile memory system and access method thereof utilizing a confirm mark when data has been successfully recorded therein

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4998506A (en) * 1973-01-22 1974-09-18
JPS63226738A (en) * 1987-03-16 1988-09-21 Fujitsu Ltd Retry system in continuous data transfer
JPH01305742A (en) * 1988-06-03 1989-12-11 Nec Corp Retry system for inter-computer communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4998506A (en) * 1973-01-22 1974-09-18
JPS63226738A (en) * 1987-03-16 1988-09-21 Fujitsu Ltd Retry system in continuous data transfer
JPH01305742A (en) * 1988-06-03 1989-12-11 Nec Corp Retry system for inter-computer communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370563B2 (en) 2008-11-20 2013-02-05 Samsung Electronics Co., Ltd. Non-volatile memory system and access method thereof utilizing a confirm mark when data has been successfully recorded therein

Similar Documents

Publication Publication Date Title
JPH02310665A (en) Data restoration method for distributed transaction processing system
JP3472511B2 (en) Data transmission equipment
US7817572B2 (en) Communications apparatus and communication method
JPH05265785A (en) Error recovery method for file transfer
WO2020094063A1 (en) Data storage method and device, storage medium and electronic device
JPH04230553A (en) Method for recovery from file transfer error
US7533132B2 (en) Parallel replication mechanism for state information produced by serialized processing
US20210120072A1 (en) Processing computer files
US7535840B2 (en) Information processing apparatus and method, recording medium, and program
US8289838B2 (en) Data transfer in a messaging system
JP3598202B2 (en) Online system
JP3069877B2 (en) Information transceiver
JP2000194624A (en) Computer system and communication recovery system
EP1244015B1 (en) Parallel replication mechanism for state information produced by serialized processing
JP2776274B2 (en) Virtual buffer control system in relay computer
JPH04107660A (en) File transfer system
KR100279559B1 (en) How to transfer switch software using LAN
JPH11249820A (en) Disk control system and storage medium
JP2834006B2 (en) Failure recovery processing method and method
JPH05241990A (en) File transfer system
JPH10336274A (en) Data communication system and data communication method
JPH01291543A (en) Transmission control method
JPH0895876A (en) Data transfer method
JPH11215204A (en) Data transmitter and its method
JPH0997237A (en) Input telegraphic message guaranteeing method for on-line transaction processing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980630