JPH0247750A - File transfer device - Google Patents

File transfer device

Info

Publication number
JPH0247750A
JPH0247750A JP63198568A JP19856888A JPH0247750A JP H0247750 A JPH0247750 A JP H0247750A JP 63198568 A JP63198568 A JP 63198568A JP 19856888 A JP19856888 A JP 19856888A JP H0247750 A JPH0247750 A JP H0247750A
Authority
JP
Japan
Prior art keywords
reception
storage device
external storage
processing device
data
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
JP63198568A
Other languages
Japanese (ja)
Inventor
Kazuhiro Tada
多田 和博
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
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63198568A priority Critical patent/JPH0247750A/en
Publication of JPH0247750A publication Critical patent/JPH0247750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To effectively and efficiently execute the retransmission processing by executing the retransmission processing from the text following a processed text even in the case of the destination system to which a variable text is transmitted. CONSTITUTION:A file transfer device 5 is provided with a reception processing device 2 which stores reception data in an external storage device 1 for reception. A transfer management processing device 3 stores the processing position of reception data, which is stored in the external storage device 1 for reception through the reception processing device 2, in an external storage device 4 for management information at the time of the occurrence of trouble. The reception processing device 2 reads out position information stored in the external storage device 4 for management information at the time of retransmission and writes reception data in the external storage device 1 for reception in accordance with this information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオンラインデータ処理システムにおけるファイ
ル転送装置に利用される。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is utilized in a file transfer device in an online data processing system.

本発明は、オンラインデータ処理システムにおける、受
信用記憶装置へ出力する受信処理手段を有するファイル
転送装置に関する。ここで、ファイルとは定められた規
則に従って論理的な意味を有するデータの集合をいう。
The present invention relates to a file transfer device in an online data processing system that has a reception processing means for outputting to a reception storage device. Here, a file refers to a collection of data that has a logical meaning according to established rules.

〔概要〕〔overview〕

本発明は、相手システムからの受信データを受信記憶装
置へ格納する処理を行うファイル転送装置において、 ファイル転送の障害時に、障害発生までに受信したデー
タの次のデータより再送するためのチェックポイントを
取得し、この取得したチェックポイントにより再送を行
うようにすることにより、可変テキストを送信する相手
システムに対しても、再送処理を有効かつ効率的に実行
できるようにしたものである。
The present invention provides a checkpoint in a file transfer device that stores received data from a partner system in a receiving storage device, so that when a file transfer failure occurs, the data is retransmitted starting from the next data received before the failure occurs. By performing retransmission using the acquired checkpoint, retransmission processing can be executed effectively and efficiently even to the other party's system to which the variable text is transmitted.

〔従来の技術〕[Conventional technology]

従来、この種のファイル転送装置におけるファイル転送
の再送方式は、チェックポイントの取得を行わないため
、回線上に、固定長のテキストを送信してくるシステム
に対しては、テキスト数からレコード数を計算して途中
レコードからの再送が可能であったが、その他の場合は
ファイルの先頭からの再送を行っていた。
Conventionally, the retransmission method for file transfer in this type of file transfer device does not acquire checkpoints, so for systems that send fixed-length text over the line, it is difficult to calculate the number of records from the number of texts. It was possible to calculate and resend from an intermediate record, but in other cases, resend was performed from the beginning of the file.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述した従来のファイル転送装置では、障害発生後途中
から再送できるのは、回線上のテキストが固定長で送信
されてくるときに限られており、その他の大容量ファイ
ルの再送には、障害前に転送を行いファイルに書き込ま
れた分のデータが無効となり、非常に効率が悪いものと
なる欠点があった。
With the conventional file transfer devices mentioned above, retransmission from the middle after a failure is only possible when text on the line is sent in a fixed length. This had the drawback that the data transferred to the file and written to the file became invalid, resulting in extremely low efficiency.

本発明の目的は、前記の欠点を除去することにより、再
送時の転送時間の短縮が可能なファイル転送装置を提供
することにある。
An object of the present invention is to provide a file transfer device that can reduce the transfer time during retransmission by eliminating the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、相手システムからの受信データを格納する受
信用記憶装置と、この受信用記憶装置に受信データの格
納処理を行う受信処理装置とを備えたファイル転送装置
において、ファイル転送中の障害時に、障害発生までに
受信したデータの次のデータより再送を始めるためのチ
ェックポイントを取得するチェックポイント取得手段を
備え、前記受信処理装置は、前記チェックポイント取得
手段により取得されたチェックポイントにより再送を行
う手段を含むことを特徴とする。
The present invention provides a file transfer device that includes a reception storage device that stores reception data from a partner system and a reception processing device that stores the reception data in the reception storage device, when a failure occurs during file transfer. , further comprising checkpoint acquisition means for acquiring a checkpoint for starting retransmission from data subsequent to the data received before the occurrence of a failure, and the reception processing device performs retransmission using the checkpoint acquired by the checkpoint acquisition means. It is characterized by including means for performing.

〔作用〕[Effect]

チェックポイント取得手段は、例えば管理情報用記憶装
置を有し、障害発生時に、受信処理装置を介して受信用
記憶装置に格納された受信データの処理位置(チェック
ポイント)を前記管理情報用記憶装置に格納する。そし
て、受信処理装置は再送時に前記管理情報用記憶装置に
格納された前記位置情報を読み出して、それに従って受
信データの前記受信用記憶装置への書き込みを行う。
The checkpoint acquisition means has, for example, a storage device for management information, and when a failure occurs, the processing position (checkpoint) of the received data stored in the storage device for reception via the reception processing device is transferred to the storage device for management information. Store in. Then, the reception processing device reads the position information stored in the management information storage device at the time of retransmission, and writes the received data to the reception storage device in accordance with the position information.

従って、可変テキストを送信するような相手システムに
対しても、処理済みテキストの次のテキストから再処理
を実行することができ、再送処理を有効かつ効率的に実
行することが可能となる。
Therefore, even for a partner system that transmits variable text, reprocessing can be performed starting from the next text after the processed text, making it possible to perform retransmission processing effectively and efficiently.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の要部を示すブロック構成図
である。
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention.

本実施例は、相手システムからの受信データを格納する
受信用記憶装置としての受信用外部記憶装置1と、この
受信用外部記憶装置1に受信データの格納処理を行う受
信処理装置2とを備えたファイル転送装置5において、
ファイル転送中の障害時に、障害発生までに受信したデ
ータの次のデータより再送を始めるためのチェックポイ
ントを取得するチェックポイント取得手段としての転送
管理処理装置3および管理情報用外部記憶装置4を備え
、受信処理装置2は、転送管理処理装置3および管理情
報用外部記憶装置4により取得されたチェックポイント
により再送を行う手段を含んでいる。なお、6はオンラ
インシステムおよび7は伝送装置である。
This embodiment includes a receiving external storage device 1 as a receiving storage device that stores received data from a partner system, and a receiving processing device 2 that performs storage processing of the received data in this receiving external storage device 1. In the file transfer device 5,
Equipped with a transfer management processing device 3 and an external storage device 4 for management information as a checkpoint acquisition means for acquiring a checkpoint for starting retransmission from the next data of the data received before the failure occurs when a failure occurs during file transfer. , the reception processing device 2 includes means for performing retransmission based on the checkpoint acquired by the transfer management processing device 3 and the external storage device 4 for management information. Note that 6 is an online system and 7 is a transmission device.

ここで、受信用外部記憶装置1は、ファイル転送におけ
る相手システムからの受信データを格納し、新規転送時
には、データは先頭から格納され、途中再送時には指定
された位置から格納する手段を有する。
Here, the receiving external storage device 1 has a means for storing received data from a partner system in file transfer, storing data from the beginning when transferring a new file, and storing data from a specified position when retransmitting midway.

管理情報用外部記憶装置2は、受信処理装置2が受信用
外部記憶装置に対し途中から受信データが書き込めるよ
う受信データの処理位置を格納保管する。
The management information external storage device 2 stores the processing position of the received data so that the reception processing device 2 can write the received data to the reception external storage device from the middle.

受信処理装置2は、相手システムからの受信データに対
し、受信データの位置(何番目に受信したデータである
か)とそのデータを受信用外部記憶装置1に書き込んだ
際の位置との関係を取得する。これは途中再送開始時の
受信開始位置に用いる。
The reception processing device 2 determines the relationship between the position of the received data (which data is received) and the position when the data is written to the external storage device 1 for reception, for the received data from the partner system. get. This is used as the reception start position when starting retransmission midway.

転送管理処理装置3は、相手システムからの受信データ
に対し、受信テキストとしての管理を行う。受信テキス
トは再送時の開始位置を示す単位でプロトコル上のST
X (テキスト開始制御符号)からETX (テキスト
終了制御符号)までの間を1テキストとしている。受信
したテキストに対しテキスト内の最初のレコードの番号
を取得し、それを再送時に受信処理装置2が参照できる
ように管理情報用外部記憶装置4に格納する。
The transfer management processing device 3 manages the data received from the other party's system as received text. The received text is a unit that indicates the starting position for retransmission and is based on the ST on the protocol.
The period from X (text start control code) to ETX (text end control code) is defined as one text. The number of the first record in the received text is acquired and stored in the management information external storage device 4 so that the reception processing device 2 can refer to it when retransmitting it.

伝送装置7は、相手システムとのデータ授受を可能とす
る回線およびO8である。
The transmission device 7 is a line and O8 that enable data exchange with the partner system.

本発明の特徴は、チェックポイント取得手段としての転
送管理処理装置3および管理情報用外部記憶装置4と、
取得されたチェックポイントにより再送を行う手段を含
む受信処理装置2とを設けたことにある。
The features of the present invention include a transfer management processing device 3 as a checkpoint acquisition means and an external storage device 4 for management information,
The present invention is characterized in that a reception processing device 2 including a means for retransmission based on the acquired checkpoint is provided.

次に、本実施例の動作について、第2図および第3図に
示す流れ図を参照して説明する。
Next, the operation of this embodiment will be explained with reference to the flowcharts shown in FIGS. 2 and 3.

第2図は転送管理処理装置3の処理手順を示す流れ図で
ある。転送管理処理装置3は、転送を開始するにあたり
、前回の転送結果が正常終了であったのか異常終了であ
ったのかを管理情報用外部記憶装置4で参照する(ステ
ップSl)。正常ならば受信処理装置2に対し正常転送
を開始することを通知しくステップS2)、異常終了な
らば再送転送を開始することを受信処理装置2に通知す
る(ステップS3)。受信処理装置2から受信テキスト
数および最新受信テキスト内の最初のレコード番号の通
知を受けたら、その情報を管理情報用外部記憶装置2に
保持しくステップS4)、転送を開始する(ステップS
5)。このとき、受信処理装置2に対し、正常転送の開
始を通知したときは受信処理装置2からの受信テキスト
数は常に0、および最新受信テキスト内の最初のレコー
ド番号は常に1である。転送管理処理装置3が受信処理
中はテキストを受信した時点で受信テキスト数および最
新受信テキスト内の最初のレコード番号を管理情報用外
部記憶装置4に保持する(ステップS6.37)。ここ
で、最新受信テキスト内の最初のレコード番号とは受信
用外部記憶装置1に書き込み済レコード数+1である。
FIG. 2 is a flowchart showing the processing procedure of the transfer management processing device 3. Before starting the transfer, the transfer management processing device 3 refers to whether the previous transfer result was a normal end or an abnormal end in the management information external storage device 4 (step Sl). If it is normal, the receiving processing device 2 is notified to start normal transfer (step S2), and if it is abnormal, the receiving processing device 2 is notified to start retransmission transfer (step S3). Upon receiving notification of the number of received texts and the first record number in the latest received text from the reception processing device 2, the information is retained in the external storage device 2 for management information (step S4) and transfer is started (step S4).
5). At this time, when the reception processing device 2 is notified of the start of normal transfer, the number of texts received from the reception processing device 2 is always 0, and the first record number in the latest received text is always 1. During the reception process, the transfer management processing device 3 holds the number of received texts and the first record number in the latest received text in the management information external storage device 4 at the time of receiving the text (step S6.37). Here, the first record number in the latest received text is the number of records written in the receiving external storage device 1 +1.

第3図は受信処理装置2の処理手順を示す流れ図である
。受信処理装置2は、転送管理処理装置3から転送状態
の通知を受け(ステップ511)、正常終了ならば新規
の正常転送開始ということで受信テキスト数O,最新受
信テキスト内の最初のレコード番号1を内部情報として
保持する(ステップ512)。異常終了ならば管理情報
用外部記憶装置2から受信テキスト数および最新受信テ
キスト内の最初のレコード番号を取得し内部情報として
保持する(ステップ513)。次に、ファイルの受信開
始位置として内部情報に保持した最新受信テキスト内の
最初のレコード番号でポイントする(ステップ514)
。受信開始位置にポイントが完了したら転送管理処理装
置3に受信テキスト数および最新受信テキスト内の最初
のレコード番号を通知する(ステップ515)。転送開
始(ステップ516)後、受信したレコードは先はどポ
イントした位置より書き込む(ステップ517)。
FIG. 3 is a flowchart showing the processing procedure of the reception processing device 2. The reception processing device 2 receives a notification of the transfer status from the transfer management processing device 3 (step 511), and if it ends normally, a new normal transfer starts, so the number of received texts is O, and the first record number in the latest received text is 1. is held as internal information (step 512). If the process ends abnormally, the number of received texts and the first record number in the latest received text are acquired from the management information external storage device 2 and held as internal information (step 513). Next, point to the first record number in the latest received text held in internal information as the file reception start position (step 514).
. When the point to the reception start position is completed, the transfer management processing device 3 is notified of the number of received texts and the first record number in the latest received text (step 515). After starting the transfer (step 516), the received record is written from the previously pointed position (step 517).

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

以上説明したように、本発明は、ファイル転送中の障害
時に、例えば、障害情報、受信テキスト数および最新受
信テキスト内の最初のレコード番号を管理情報用外部記
憶装置に保持しておき、管理情報用外部記憶装置に保持
されている障害情報、受信テキスト数および最新受信テ
キスト内の最初のレコード番号を利用して再送を行うこ
とにより、可変テキストを送信するような相手システム
に対しても、処理済テキストの次のテキストから再送処
理を実行するため、再送処理を有効、かつ効率的に実行
することができる効果がある。
As explained above, in the case of a failure during file transfer, the present invention stores, for example, failure information, the number of received texts, and the first record number in the latest received text in an external storage device for management information. By performing retransmission using the failure information held in the external storage device, the number of received texts, and the first record number in the most recently received text, processing can be performed even for a partner system that sends variable text. Since the retransmission process is executed from the next text after the completed text, the retransmission process can be executed effectively and efficiently.

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

第1図は本発明の一実施例の要部を示すブロック構成図
。 第2図はその転送管理処理装置の処理手順を示す流れ図
。 第3図はその受信処理装置の処理手順を示す流れ図。 1・・・受信用外部記憶装置、2・・・受信処理装置、
3・・・転送管理処理装置、4・・・管理情報用外部記
憶装置、5・・・ファイル転送装置、6・・・オンライ
ンシステム、 7・・・伝送装置、 81〜S7、 SLl〜S17 ・・・ステップ。
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention. FIG. 2 is a flowchart showing the processing procedure of the transfer management processing device. FIG. 3 is a flowchart showing the processing procedure of the reception processing device. 1... external storage device for reception, 2... reception processing device,
3... Transfer management processing device, 4... External storage device for management information, 5... File transfer device, 6... Online system, 7... Transmission device, 81-S7, SL1-S17. ...step.

Claims (1)

【特許請求の範囲】 1、相手システムからの受信データを格納する受信用記
憶装置(1)と、 この受信用記憶装置に受信データの格納処理を行う受信
処理装置(2)と を備えたファイル転送装置(5)において、ファイル転
送中の障害時に、障害発生までに受信したデータの次の
データより再送を始めるためのチェックポイントを取得
するチェックポイント取得手段(3、4)を備え、 前記受信処理装置は、前記チェックポイント取得手段に
より取得されたチェックポイントにより再送を行う手段
を含む ことを特徴とするファイル転送装置。
[Claims] 1. A file comprising a receiving storage device (1) that stores received data from a partner system, and a receiving processing device (2) that stores the received data in this receiving storage device. The transfer device (5) includes checkpoint acquisition means (3, 4) for acquiring a checkpoint for starting retransmission from data subsequent to the data received up to the occurrence of the failure in the event of a failure during file transfer; A file transfer device characterized in that the processing device includes means for performing retransmission using the checkpoint acquired by the checkpoint acquisition means.
JP63198568A 1988-08-08 1988-08-08 File transfer device Pending JPH0247750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63198568A JPH0247750A (en) 1988-08-08 1988-08-08 File transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63198568A JPH0247750A (en) 1988-08-08 1988-08-08 File transfer device

Publications (1)

Publication Number Publication Date
JPH0247750A true JPH0247750A (en) 1990-02-16

Family

ID=16393346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63198568A Pending JPH0247750A (en) 1988-08-08 1988-08-08 File transfer device

Country Status (1)

Country Link
JP (1) JPH0247750A (en)

Similar Documents

Publication Publication Date Title
US5271013A (en) Fault tolerant computer system
JP4288418B2 (en) Computer system, status acquisition method, and status acquisition program
JPH06250902A (en) File backup method for distributed system
JPH0247750A (en) File transfer device
US7533132B2 (en) Parallel replication mechanism for state information produced by serialized processing
JPS6380347A (en) Retransmission system for file transfer
US20030033440A1 (en) Method of logging message activity
JP2776274B2 (en) Virtual buffer control system in relay computer
JP2834006B2 (en) Failure recovery processing method and method
JP2522435B2 (en) Input message guarantee method for computer system
JPH0348315A (en) Timer control system
JPH05241990A (en) File transfer system
JPH032950A (en) Reception buffer control system
JP3254814B2 (en) Data transfer method
JP4680440B2 (en) Serial transmission apparatus and transmission buffering control method for serial transmission apparatus
JPH04291650A (en) Information processing system provided with data destruction preventing function
JPH10289140A (en) Recovery method for batch processing failure
JPH06301608A (en) File transfer control system
JPS6198480A (en) Data transmitting system
JP3368378B2 (en) Storage content management method and data processing device
JPH0895839A (en) Data backup method
JPH05265785A (en) Error recovery method for file transfer
JPH04312062A (en) Facsimile mail system
JPH06242976A (en) System fault recovery processing system
JPH03102553A (en) Response confirming system for computer communication