JPH10289179A - File transfer method, file transfer controller and recording medium recording file transfer program - Google Patents

File transfer method, file transfer controller and recording medium recording file transfer program

Info

Publication number
JPH10289179A
JPH10289179A JP10024472A JP2447298A JPH10289179A JP H10289179 A JPH10289179 A JP H10289179A JP 10024472 A JP10024472 A JP 10024472A JP 2447298 A JP2447298 A JP 2447298A JP H10289179 A JPH10289179 A JP H10289179A
Authority
JP
Japan
Prior art keywords
file
transmission image
transmission
line
transmitted
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
JP10024472A
Other languages
Japanese (ja)
Other versions
JP3973285B2 (en
Inventor
Yuichiro Sugimoto
祐一郎 杉本
Akira Hayakawa
明 早川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
PFU Ltd
Original Assignee
Fujitsu Ltd
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, PFU Ltd filed Critical Fujitsu Ltd
Priority to JP02447298A priority Critical patent/JP3973285B2/en
Publication of JPH10289179A publication Critical patent/JPH10289179A/en
Application granted granted Critical
Publication of JP3973285B2 publication Critical patent/JP3973285B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the utilization efficiency of a computer and to shorten line utilization time by continuing a processing as much as possible when line abnormality is generated and performing the executable processing. SOLUTION: A present system performs the pre-processings of code conversion and compression, etc., to a file 4 to be a transmission object, prepares a transmission image and transmits it to an opposite system 2 when a line state is normal. Also, when file transfer is impossible at the time of the line abnormality or the like, the pre-processing is performed to the file 4 to be the transmission object and the transmission image is prepared and preserved in a transmission image file 5. Then, when the file transfer becomes possible, the transmission image preserved in the transmission image file 5 is transmitted to the opposite system. Also, by setting the line state (normal, restored and abnormal) from an operation console 3, the transmission image is prepared and preserved in the transmission image file 5 and the transmission image preserved in the transmission image file 5 is transmitted to the opposite system 2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の計算機間で
効率的にファイルを転送するためのファイル転送方法お
よびファイル転送制御装置並びにファイル転送プログラ
ムを記録した記録媒体に関し、さらに詳細には、回線異
常時にも可能な範囲で処理を継続することにより、計算
機の利用効率を向上させ回線利用時間を短縮することが
できるファイル転送方法およびファイル転送制御装置並
びにファイル転送プログラムを記録した記録媒体に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file transfer method and a file transfer control device for efficiently transferring a file between a plurality of computers, and a recording medium on which a file transfer program is recorded. The present invention relates to a file transfer method, a file transfer control device, and a recording medium on which a file transfer program is recorded, which can improve the use efficiency of a computer and reduce the line use time by continuing processing as much as possible even in the event of an abnormality. is there.

【0002】[0002]

【従来の技術】通信によって複数の計算機間でファイル
を転送する場合、通信時間を短縮するため、必要に応じ
てファイル中で使用されている文字コードの変換を行っ
た上で、これを適当な方法で圧縮し、適当な送信単位に
分割し、ヘッダを付して送信を行っていた。また、複数
のファイルを送信する場合には、各ファイルについて上
記処理を行い、処理の完了を待って次のファイルの送信
を行っていた。
2. Description of the Related Art When a file is transferred between a plurality of computers by communication, the character code used in the file is converted as needed to reduce the communication time, and then converted to an appropriate file. The data is compressed by a method, divided into appropriate transmission units, and transmitted with a header attached. When transmitting a plurality of files, the above-described processing is performed for each file, and the next file is transmitted after the processing is completed.

【0003】[0003]

【発明が解決しようとする課題】上記した従来のファイ
ル転送処理においては、各ファイルの送信処理の完了を
待って次のファイルの処理を行っていたので、複数のフ
ァイルを送信する場合に、あるファイルの送信中に回線
異常が発生すると、回線が復旧するまで処理が中断され
る。このため、回線中断中、実行可能な処理があって
も、これらの処理も中断され、計算機の利用効率が低下
するといった問題があった。本発明は上記事情を考慮し
てなされたものであって、その目的とするところは、回
線異常発生時にも可能な限り処理を継続することによ
り、計算機の利用効率を向上させるとともに、回線中断
中に実行可能な処理を行っておくことにより回線利用時
間を短縮することである。
In the above-described conventional file transfer processing, the processing of the next file is performed after the completion of the transmission processing of each file. Therefore, there are cases where a plurality of files are transmitted. If a line error occurs during file transmission, processing is suspended until the line is restored. For this reason, there is a problem that even if there are executable processes during the line interruption, these processes are also interrupted, and the utilization efficiency of the computer is reduced. The present invention has been made in consideration of the above circumstances, and its purpose is to improve the utilization efficiency of a computer by continuing processing as much as possible even when a line abnormality occurs, and to improve the efficiency of the line interruption. The purpose of this is to reduce the line use time by performing an executable process in advance.

【0004】[0004]

【課題を解決するための手段】図1は本発明の原理図で
ある。同図において、1はファイルを送信する自システ
ム、2は相手システムであり、自システム1は、回線状
態が正常のとき、送信対象となるファイル4に対して、
前処理部でコード変換、圧縮、送信単位への分割等の前
処理を行って送信イメージを作成し、相手システム2に
送信する。また、回線異常時などファイル転送が不可能
なときには、送信対象となるファイル4に対して、前処
理部でコード変換、圧縮、送信単位への分割等の前処理
を行って送信イメージを作成し、送信イメージファイル
5に保存する。そして、回線が復旧するなどファイル転
送が可能になったとき、送信イメージファイル5に保存
された上記送信イメージを相手システムに送信する。3
は操作卓であり、操作卓3から回線状態(正常、復旧、
異常)を設定することができ、これにより、回線状態と
は無関係に、送信イメージを作成して送信イメージファ
イル5に保存したり、送信イメージファイル5に保存さ
れた送信イメージを相手システムに送信することができ
る。
FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, reference numeral 1 denotes a local system for transmitting a file, and reference numeral 2 denotes a partner system. When the line state is normal, the local system 1
The preprocessing unit performs preprocessing such as code conversion, compression, and division into transmission units to create a transmission image, and transmits the transmission image to the partner system 2. When file transfer is not possible, for example, when a line is abnormal, the preprocessing unit performs preprocessing such as code conversion, compression, and division into transmission units to create a transmission image for the file 4 to be transmitted. Is stored in the transmission image file 5. Then, when file transfer becomes possible, such as when the line is restored, the transmission image stored in the transmission image file 5 is transmitted to the partner system. 3
Is a console, and the line status (normal, recovery,
Abnormal), whereby a transmission image is created and stored in the transmission image file 5 irrespective of the line state, or the transmission image stored in the transmission image file 5 is transmitted to the partner system. be able to.

【0005】上記したように本発明においては、前記課
題を次のようにして解決する。 (1)自システムから相手システムに次のようにしてフ
ァイルを転送する。 ・回線の状態が正常のとき、送信対象となるファイルか
ら送信イメージを作成して相手システムに送信する。 ・回線異常などファイル転送が不可能なとき、送信対象
となるファイルから送信イメージを作成して送信イメー
ジファイルに保存する。 ・回線復旧時などファイル転送が可能になった際、送信
イメージファイルに上記送信イメージが保存されている
とき、送信イメージ作成処理を行うことなく上記送信イ
メージファイルに保存された送信イメージを相手システ
ムに送信する。 (2)上記(1)において、回線状態を実際の回線状態
とは無関係に設定可能とし、回線状態を回線異常に設定
して、オフライン時に送信対象となるファイルから送信
イメージを作成し、送信イメージファイルに保存する。 (3)上記(2)において、回線状態を復旧に設定し、
送信イメージファイルから送信イメージを読み出して、
相手システムに送信する。
As described above, in the present invention, the above-mentioned problem is solved as follows. (1) The file is transferred from the own system to the partner system as follows. -When the line status is normal, a transmission image is created from the file to be transmitted and transmitted to the partner system. -When file transfer is not possible due to a line error or the like, create a transmission image from the file to be transmitted and save it in the transmission image file. -When the file transfer becomes possible, such as when the line is restored, if the above-mentioned transmission image is stored in the transmission image file, the transmission image saved in the above transmission image file is sent to the remote system without performing the transmission image creation processing. Send. (2) In the above (1), the line state can be set irrespective of the actual line state, the line state is set to line abnormal, and a transmission image is created from a file to be transmitted when offline, and the transmission image is created. Save to a file. (3) In the above (2), the line state is set to recovery,
Read the transmission image from the transmission image file,
Send to partner system.

【0006】本発明においては、上記(1)のように、
回線断などの原因で通信が不可能になった場合、通信可
能になるまでの間、業務を中断することなく送信イメー
ジ作成処理を行い送信イメージファイルに保存している
ので、計算機を有効利用することができる。また、通信
ができない間に前処理を行い送信イメージを作成してお
くので、通信が可能になったとき、前処理を行うことな
く送信することができ、回線利用時間を短縮することが
できる。また、上記(2)(3)のように、操作卓から
実際の回線状態とは無関係に回線状態を設定できるよう
にし、回線状態を回線異常に設定することにより、送信
イメージファイルを作成して送信イメージファイルに保
存し、回線復旧に設定することにより、上記送信イメー
ジを相手システムに送信できるようにしたので、回線利
用時間を短縮することができ、回線使用料を節約するこ
とができる。
In the present invention, as described in the above (1),
If communication becomes impossible due to a line disconnection, etc., the transmission image creation process is performed without interruption and saved in the transmission image file until communication becomes possible, so use the computer effectively be able to. Further, since the transmission image is prepared by performing the pre-processing while the communication is not possible, the transmission can be performed without performing the pre-processing when the communication becomes possible, and the line use time can be reduced. Also, as described in (2) and (3) above, the line state can be set from the console regardless of the actual line state, and the line state is set to line abnormal, thereby creating a transmission image file. Since the transmission image is stored in the transmission image file and set for line recovery, the transmission image can be transmitted to the partner system, so that the line use time can be shortened and the line usage fee can be reduced.

【0007】[0007]

【発明の実施の形態】図2は本発明の実施例のシステム
の構成を示す図である。同図において、11は自システ
ムであり、自システム11にはインタフェースI/Fを
介して操作卓12に接続されている。21は相手システ
ムであり、自システム11から相手システム21にファ
イルを転送する。上記自システム11は、公知のパソコ
ンやワークステーションなどのコンピュータから構成さ
れ、プログラムによって処理が実行される。すなわち、
このコンピュータはCPU、メモリ、ハードディスクや
各種デバイス(CD−ROMなどの補助記憶装置、電話
回線を使用してデータ通信をするためのモデム、LAN
などのネットワークを使用してデータ通信をするための
ネットワークカードなど)のインターフェースがそれぞ
れバスに接続される構成を持つ。そして、上記プログラ
ムは上記各種デバイスから、またはハードディスクから
メモリにロードされ、CPUに後述するファイル転送機
能を実行させる。13は送信対象となるファイル群、1
4は送信イメージファイル群であり、送信イメージファ
イルには送信イメージが保存される。送信イメージは、
上記送信ファイルに対して、コード変換、圧縮、送信単
位への分割、送信ヘッダの付加を行い送信可能な形式に
変換したデータであり、相手システム21には上記送信
イメージが送信される。
FIG. 2 is a diagram showing the configuration of a system according to an embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a self system, which is connected to a console 12 via an interface I / F. Reference numeral 21 denotes a partner system, which transfers a file from the own system 11 to the partner system 21. The own system 11 is composed of a known computer such as a personal computer or a workstation, and the processing is executed by a program. That is,
The computer includes a CPU, a memory, a hard disk and various devices (an auxiliary storage device such as a CD-ROM, a modem for data communication using a telephone line, a LAN,
Interfaces for performing data communication using a network such as a network card) are connected to the bus. Then, the program is loaded into the memory from the various devices or from the hard disk, and causes the CPU to execute a file transfer function described later. 13 is a file group to be transmitted, 1
A transmission image file group 4 stores transmission images. The transmission image is
The transmission file is data converted into a format that can be transmitted by performing code conversion, compression, division into transmission units, and adding a transmission header, and the transmission image is transmitted to the partner system 21.

【0008】自システム11において、11aは送信制
御部、11bは送信部であり、送信部11bは回線の異
常を監視する回線異常監視部111を備えている。11
cは回線状態記憶部であり、回線状態記憶部11cは、
上記回線異常監視部111から送信制御部11aを介し
て上がってくる回線状態(標準or異常or復旧)を記憶す
る。また、後述するように自システムの操作卓12から
上記回線状態を設定することができる。11dは送信対
象となるファイル名を格納した送信ファイルリスト、1
1eは前処理部であり、前処理部11aは前記したよう
に、送信ファイルに対して、コード変換、圧縮、送信単
位への分割、送信ヘッダの付加を行い、送信イメージを
作成する。11fは送信状態を管理する送信制御テーブ
ルTを格納した送信制御ファイル、11gは前記した送
信ファイル、送信イメージファイルの入出力を行うI/
O処理部である。
In the own system 11, reference numeral 11a denotes a transmission control unit, 11b denotes a transmission unit, and the transmission unit 11b includes a line abnormality monitoring unit 111 for monitoring a line abnormality. 11
c is a line state storage unit, and the line state storage unit 11c
The line status (standard, abnormal, or recovery) coming from the line abnormality monitoring unit 111 via the transmission control unit 11a is stored. Further, as described later, the line state can be set from the console 12 of the own system. 11d is a transmission file list storing file names to be transmitted, 1
Reference numeral 1e denotes a pre-processing unit. As described above, the pre-processing unit 11a performs code conversion, compression, division into transmission units, and addition of a transmission header to a transmission file to create a transmission image. 11f is a transmission control file storing a transmission control table T for managing a transmission state, and 11g is an I / O for inputting and outputting the above-mentioned transmission file and transmission image file.
O processing unit.

【0009】図3は上記送信制御テーブルTの内容を示
す図であり、送信制御テーブルTには同図に示すよう
に、「レコード番号」と、「送信ファイル名」、「ファ
イル状態」(送信済or送信イメージor未処理)、および
「送信イメージファイル名」が格納される。なお、送信
イメージファイル名のフィールドには、ファイル状態が
「イメージ」になっているときにのみ、「送信イメージ
ファイル名」が格納される。
FIG. 3 is a diagram showing the contents of the transmission control table T. As shown in FIG. 3, the transmission control table T includes a "record number", a "transmission file name", and a "file state" (transmission state). (Transmitted or transmitted image or unprocessed) and “transmitted image file name” are stored. The “transmission image file name” is stored in the transmission image file name field only when the file state is “image”.

【0010】次に本実施例のファイル転送処理について
説明する。本実施例においては、回線状態(標準、回線
異常、回線復旧)に応じて3種類の動作モードを設け、
次のような処理を行う。 (1)標準モード(回線正常モード) 転送元の送信ファイル群13から送信対象となるファイ
ルを読み込み、前処理部11eでコード変換、圧縮等の
前処理を行って、送信イメージを作成したのち、送信イ
メージをそのまま(ファイルに保存することなく)、送
信部11を介して相手システム21に送信する。 (2)回線異常モード 転送元の送信ファイル群13から送信対象となるファイ
ルを読み込み、前処理部11eでコード変換、圧縮等の
前処理を行って、送信イメージを作成し、送信イメージ
を送信イメージファイル群13に保存する。その際、前
記した送信制御テーブルTに送信ファイル名と送信イメ
ージファイル名の対応情報を保存する。 (3)回線復旧モード 送信制御テーブルTを参照し、送信対象となるファイル
に対応した送信イメージが保存されているとき、送信イ
メージファイル群14からその送信イメージを読み込
み、相手システム21へ送信する。送信後、送信済の送
信イメージファイルを削除し、前記した送信制御テーブ
ルTの送信ファイル名と送信イメージファイル名の対応
情報を更新する。
Next, the file transfer processing of the embodiment will be described. In the present embodiment, three types of operation modes are provided according to the line state (standard, line abnormality, line recovery).
The following processing is performed. (1) Standard mode (line normal mode) A file to be transmitted is read from the transmission file group 13 of the transfer source, pre-processing such as code conversion and compression is performed by the pre-processing unit 11e, and a transmission image is created. The transmission image is transmitted to the partner system 21 via the transmission unit 11 as it is (without being saved in a file). (2) Line abnormal mode A file to be transmitted is read from the transmission file group 13 of the transfer source, pre-processing such as code conversion and compression is performed by the pre-processing unit 11e, a transmission image is created, and the transmission image is transmitted. It is stored in the file group 13. At this time, the correspondence information between the transmission file name and the transmission image file name is stored in the transmission control table T described above. (3) Line restoration mode Referring to the transmission control table T, when a transmission image corresponding to a file to be transmitted is stored, the transmission image is read from the transmission image file group 14 and transmitted to the partner system 21. After the transmission, the transmitted transmission image file is deleted, and the correspondence information between the transmission file name and the transmission image file name in the transmission control table T is updated.

【0011】また、自システム11の操作卓12から回
線状態記憶部11cに回線状態を書き込むことにより、
実際の回線状態とは無関係に、上記(2)〜(3)の処
理を行うことができる。すなわち、回線状態を回線異常
とすることにより、上記(2)に記したように、送信イ
メージを作成して送信イメージファイルに保存すること
ができ、また、回線状態を復旧とすることにより、上記
(3)に記したように作成された送信イメージファイル
を送信することができる。これにより、回線時間を有効
に利用することが可能となる。
By writing the line status from the console 12 of the own system 11 to the line status storage unit 11c,
The processes (2) and (3) can be performed irrespective of the actual line condition. That is, as described in the above (2), the transmission image can be created and saved in the transmission image file by setting the line state to the line abnormality, and the line state can be restored by restoring the line state. The transmission image file created as described in (3) can be transmitted. As a result, it is possible to effectively use the line time.

【0012】図4、図5は本発明の実施例のファイル転
送処理を示すフローチャート、図6は送信イメージファ
イル作成処理を示すフローチャート、図7は送信イメー
ジファイル送信処理を示すフローチャートであり、図4
〜図7により本実施例について説明する。図4のステッ
プS1において、操作卓12から回線状態を入力する。
ここで、上記したように、実際の回線状態とは無関係
に、上記(2),(3)の処理を行わせる場合には、
「異常」もしくは「復旧」と入力する。それ以外の場合
には、「標準」を入力する。なおデフォルト値として
「標準」を設定しておき、入力がない場合には、「標
準」とするようにしておいてもよい。次にステップS2
において、送信制御部11aは送信ファイルリスト11
dを読み込む。また、送信ファイル数をN、iを0に設
定する。
4 and 5 are flowcharts showing a file transfer process according to an embodiment of the present invention, FIG. 6 is a flowchart showing a transmission image file creation process, and FIG. 7 is a flowchart showing a transmission image file transmission process.
This embodiment will be described with reference to FIGS. In step S1 of FIG. 4, the line status is input from the console 12.
Here, as described above, when performing the processing of the above (2) and (3) irrespective of the actual line state,
Enter "Abnormal" or "Recovery". Otherwise, enter "Standard". Note that “standard” may be set as a default value, and if there is no input, “standard” may be set. Next, step S2
In the transmission control section 11a, the transmission file list 11
Read d. Also, the number of transmission files is set to N and i is set to 0.

【0013】ステップS3において、回線状態が「復
旧」であるか否かを調べる。回線状態が「標準」または
「異常」の場合には、ステップS4に行き、送信制御部
11aは、送信制御テーブルTを初期化する。そして、
送信制御テーブルTのi番目(最初はi=0)のレコー
ドの送信ファイル名のフィールドに送信ファイルリスト
から送信ファイル名を設定し、また、送信制御テーブル
Tのi番目のレコードのファイル状態のフィールドを
「未処理」に設定する。また、回線状態が「復旧」の場
合には、送信制御テーブルTを送信制御ファイル11f
から読み込む(ステップS5)。
In step S3, it is checked whether or not the line state is "restored". If the line state is “standard” or “abnormal”, the procedure goes to step S4, where the transmission control unit 11a initializes the transmission control table T. And
The transmission file name is set from the transmission file list in the transmission file name field of the i-th (first i = 0) record of the transmission control table T, and the file status field of the i-th record of the transmission control table T is set. To "unprocessed". If the line state is “restored”, the transmission control table T is stored in the transmission control file 11f.
(Step S5).

【0014】次にステップS6に行き、送信制御部11
aは、送信制御テーブルTのi番目のレコードの「ファ
イル状態」を調べる。そして、ファイル状態が「イメー
ジ」の場合には、転送する送信ファイルについて、送信
イメージが作成済であるのでステップS13に行き、上
記送信イメージの送信処理(詳細については図7で後述
する)を行い、図5のステップS18に行く。また、フ
ァイル状態が「送信済」の場合には、なにもせずに図5
のステップS18に行く。ファイル状態が「未処理」の
場合には、ステップS7に行き、送信制御部11aは、
送信制御テーブルTのi番目のレコードの送信ファイル
名のフィールドから送信ファイル名を読み出し、作業領
域Fileに格納する。ついで、ステップS8において、回
線状態記憶部11cの回線状態を調べる。
Next, the process proceeds to step S6, where the transmission control unit 11
a checks the “file status” of the i-th record in the transmission control table T. If the file status is “image”, the transmission image has already been created for the transmission file to be transferred, so the process proceeds to step S13, and the transmission image transmission processing (details will be described later with reference to FIG. 7) is performed. , And goes to step S18 in FIG. If the file status is “sent”, nothing is performed without performing any processing.
Go to step S18. If the file status is “unprocessed”, the process proceeds to step S7, where the transmission control unit 11a
The transmission file name is read from the transmission file name field of the i-th record of the transmission control table T and stored in the work area File. Next, in step S8, the line state of the line state storage unit 11c is checked.

【0015】回線状態が異常の場合には、ステップS1
2に行き、送信イメージファイル作成処理(詳細につい
ては図6で後述する)を行い、図5のステップS18に
いく。回線状態が標準または復旧の場合には、ステップ
S9に行き、送信制御部11aは、上記作業領域Fileに
記憶された送信ファイル名の送信ファイルから送信単位
を読み込み、ステップS10において、前処理部11e
で送信前処理を行う。そして、ステップS11におい
て、前処理済の送信イメージを送信部11bから相手シ
ステム21に送信する。
If the line state is abnormal, step S1
2, the transmission image file creation process (the details will be described later with reference to FIG. 6) is performed, and the process proceeds to step S18 in FIG. If the line state is normal or restored, the process goes to step S9, where the transmission control unit 11a reads the transmission unit from the transmission file of the transmission file name stored in the work area File, and in step S10, the preprocessing unit 11e
Performs pre-transmission processing. Then, in step S11, the pre-processed transmission image is transmitted from the transmission unit 11b to the partner system 21.

【0016】次に、図5のステップS14に行き、送信
制御部11aは、回線状態を調べる。回線状態が回線異
常の場合には、ステップS17において、回線状態記憶
部11cの回線状態を回線異常に設定し、ステップS1
9に行く(この場合には、i番目の送信ファイルの送信
が正常終了していないので、ステップS18においてi
=i+1としない)。回線状態が異常でない場合には、
ステップS15に行き、前記Fileの送信ファイルを最後
まで処理したかを調べ、上記送信ファイルの処理が終了
していない場合には、図4のステップS9に戻り、ステ
ップS9からS15までの処理を繰り返す。
Next, the process proceeds to step S14 in FIG. 5, and the transmission control unit 11a checks the line status. If the line state is abnormal, in step S17, the line state of the line state storage unit 11c is set to abnormal line, and step S1 is executed.
9 (in this case, since the transmission of the i-th transmission file has not been completed normally,
= I + 1). If the line status is not abnormal,
In step S15, it is checked whether the transmission file of the file has been processed to the end. If the processing of the transmission file has not been completed, the process returns to step S9 in FIG. 4, and the processing from step S9 to S15 is repeated. .

【0017】そして上記送信ファイルの最後まで送信処
理が終了すると、ステップS16に行き、送信制御部1
1aは送信制御テーブルTのi番目のレコードのファイ
ル状態のフィールドを「送信済」にして、ステップS1
8に行く。ステップS18において、i=i+1とし、
ステップS19において、iが送信ファイル数Nより小
さいかを調べ、iが送信ファイル数Nより小さい場合に
は、図4のステップS6に戻り上記処理を繰り返す。i
が送信ファイル数Nに達すると、ステップS20に行
き、送信制御部11aは、回線異常監視部111により
回線状態を調べ、回線状態が異常でない場合には処理を
終了する。また、回線状態が異常の場合には、ステップ
S21に行き、送信状態を保存するため送信制御テーブ
ルTを送信制御ファイル11fに格納する。なお、回線
状態が異常でない場合にも、送信制御テーブルTを送信
制御ファイル11fに格納し、送信状態を確認できるよ
うにしてもよい。
When the transmission process is completed to the end of the transmission file, the process goes to step S16, where the transmission control unit 1
1a sets the file status field of the i-th record of the transmission control table T to "transmitted" and sets
Go to 8. In step S18, i = i + 1 is set,
In step S19, it is determined whether i is smaller than the number N of transmission files. If i is smaller than the number N of transmission files, the process returns to step S6 in FIG. 4 and the above processing is repeated. i
Has reached the number N of transmission files, the process goes to step S20, where the transmission control unit 11a checks the line state by the line abnormality monitoring unit 111, and ends the processing if the line state is not abnormal. If the line status is abnormal, the procedure goes to step S21, where the transmission control table T is stored in the transmission control file 11f to save the transmission status. In addition, even when the line state is not abnormal, the transmission control table T may be stored in the transmission control file 11f so that the transmission state can be confirmed.

【0018】図6は図4のステップS12における送信
イメージファイル作成処理を示すフローチャートであ
る。送信ファイル作成処理は次のように行われる。ステ
ップR1において、送信制御部11aは送信イメージフ
ァイル名を決定し、作業領域File.IMGに格納する。つい
で、ステップR2において、送信制御テーブルTのi番
目のレコードの送信イメージファイル名のフィールド
に、作業領域File.IMGに記憶された送信イメージファイ
ル名を格納する。ステップR3において、送信制御部1
1aは、前記した作業領域Fileから送信ファイル名を読
み出し、その送信ファイルから送信単位を読み込む。
FIG. 6 is a flowchart showing the transmission image file creation process in step S12 in FIG. The transmission file creation processing is performed as follows. In step R1, the transmission control unit 11a determines a transmission image file name and stores it in the work area File.IMG. Next, in step R2, the transmission image file name stored in the work area File.IMG is stored in the transmission image file name field of the i-th record of the transmission control table T. In step R3, the transmission control unit 1
1a reads a transmission file name from the work area File, and reads a transmission unit from the transmission file.

【0019】ついで、ステップR4において、前処理部
11eで上記送信ファイルの前処理を行い、上記作業領
域File.IMGに記憶されている送信イメージファイル名の
送信イメージファイルに前処理した送信イメージデータ
を追加する。ステップR6において、上記Fileの送信フ
ァイルを最後まで処理したかを調べ、上記送信イメージ
ファイルの作成処理が終了していない場合には、ステッ
プR3に戻り、ステップR3からR6までの処理を繰り
返す。そして上記送信ファイルの最後まで送信イメージ
ファイル作成処理が終了すると、ステップR7に行き、
送信制御テーブルTのi番目のレコードのファイル状態
フィールドのファイル状態を「イメージ」に設定し処理
を終了する。
Then, in step R4, the preprocessing section 11e performs preprocessing of the transmission file, and stores the preprocessed transmission image data in the transmission image file having the transmission image file name stored in the work area File.IMG. to add. In step R6, it is checked whether the transmission file of the File has been processed to the end. If the transmission image file creation processing has not been completed, the process returns to step R3, and the processing from step R3 to R6 is repeated. When the transmission image file creation processing is completed to the end of the transmission file, the process goes to step R7,
The file status in the file status field of the i-th record in the transmission control table T is set to "image", and the process ends.

【0020】図7は図4のステップS13における送信
イメージファイル送信処理を示すフローチャートであ
る。送信イメージファイル送信処理は次のように行われ
る。ステップT1において、送信制御部11aは、送信
制御テーブルTのi番目のレコードの送信イメージファ
イル名を作業領域File.IMGに格納し、ステップT2にお
いて、作業領域File.IMGに記憶されている送信イメージ
ファイル名の送信イメージファイルを送信単位読み込
み、送信部11bから相手システム12に送信する。次
に、ステップT4に行き、送信制御部11aは、回線状
態を調べる。回線状態が回線異常の場合には、ステップ
T8において、回線状態記憶部11cの回線状態を回線
異常に設定し、処理を終了する。
FIG. 7 is a flowchart showing the transmission image file transmission process in step S13 of FIG. The transmission image file transmission processing is performed as follows. In step T1, the transmission control unit 11a stores the transmission image file name of the i-th record in the transmission control table T in the work area File.IMG, and in step T2, the transmission image file stored in the work area File.IMG The transmission image file having the file name is read in the transmission unit, and transmitted from the transmission unit 11b to the partner system 12. Next, the process proceeds to step T4, where the transmission control unit 11a checks the line status. If the line status is abnormal, the line status of the line status storage unit 11c is set to abnormal in step T8, and the process ends.

【0021】回線状態が異常でない場合には、ステップ
T5に行き、前記File.IMGの送信イメージファイルを最
後まで処理したかを調べ、上記送信イメージファイルの
送信が終了していない場合には、ステップT2に戻り、
ステップT2からT7までの処理を繰り返す。そして上
記送信イメージファイルの最後まで送信処理が終了する
と、ステップT6に行き、送信済のFile.IMGの送信イメ
ージファイルを削除し、ステップT7において、送信制
御テーブルTのi番目のレコードのファイル状態のフィ
ールドを「送信済」にして処理を終了する。
If the line status is not abnormal, the process goes to step T5 to check whether the transmission image file of the above-mentioned File.IMG has been processed to the end. If the transmission of the transmission image file has not been completed, the process goes to step T5. Return to T2,
The processing from steps T2 to T7 is repeated. When the transmission processing is completed to the end of the transmission image file, the process goes to step T6, where the transmitted transmission image file of File.IMG is deleted, and in step T7, the file status of the i-th record of the transmission control table T is changed. The field is set to "sent" and the process ends.

【0022】[0022]

【発明の効果】以上説明したように本発明においては、
以下の効果を得ることができる。 (1)回線断などの原因で通信が不可能になった場合、
通信可能になるまでの間、業務を中断することなく送信
イメージ作成処理を行い送信イメージファイルに保存し
ているので、計算機を有効利用することができる。ま
た、通信ができない間に前処理を行い送信イメージを作
成しておくので、通信が可能になったとき、前処理を行
うことなく送信することができ、回線利用時間を短縮す
ることができる。 (2)操作卓等から、実際の回線状態とは無関係に回線
状態を設定できるようにし、回線状態を回線異常に設定
することにより、送信イメージファイルを作成して送信
イメージファイルに保存し、回線復旧に設定することに
より、上記送信イメージを相手システムに送信できるよ
うにしたので、回線利用時間を短縮することができ、回
線使用料を節約することができる。
As described above, in the present invention,
The following effects can be obtained. (1) If communication becomes impossible due to line disconnection,
Until communication becomes possible, transmission image creation processing is performed without interrupting the work and the image is stored in the transmission image file, so that the computer can be used effectively. Further, since the transmission image is prepared by performing the pre-processing while the communication is not possible, the transmission can be performed without performing the pre-processing when the communication becomes possible, and the line use time can be reduced. (2) From a console or the like, the line state can be set independently of the actual line state, and by setting the line state to line abnormal, a transmission image file is created and saved in the transmission image file. By setting the recovery, the transmission image can be transmitted to the partner system, so that the line use time can be shortened and the line use fee can be saved.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の実施例のシステムの構成を示す図であ
る。
FIG. 2 is a diagram illustrating a configuration of a system according to an embodiment of the present invention.

【図3】本発明の実施例の送信制御テーブルを示す図で
ある。
FIG. 3 is a diagram illustrating a transmission control table according to the embodiment of the present invention.

【図4】本発明の実施例の処理を示すフローチャートで
ある。
FIG. 4 is a flowchart illustrating a process according to the embodiment of the present invention.

【図5】本発明の実施例の処理を示すフローチャート
(続き)である。
FIG. 5 is a flowchart (continued) showing the processing of the embodiment of the present invention.

【図6】図4における送信イメージファイル作成処理を
示すフローチャートである。
FIG. 6 is a flowchart showing a transmission image file creation process in FIG. 4;

【図7】図4における送信イメージファイル送信処理を
示すフローチャートである。
FIG. 7 is a flowchart showing a transmission image file transmission process in FIG. 4;

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

1 自システム 2 相手システム 3 操作卓 4 送信ファイル4 5 送信イメージファイル 11 自システム 12 操作卓 21 相手システム 13 送信ファイル群 14 送信イメージファイル群 11a 送信制御部 11b 送信部 111 回線異常監視部 11c 回線状態記憶部 11d 送信ファイルリスト 11e 前処理部 11f 送信制御ファイル 11g I/O処理部 Reference Signs List 1 own system 2 partner system 3 operation console 4 transmission file 4 5 transmission image file 11 own system 12 operation console 21 partner system 13 transmission file group 14 transmission image file group 11a transmission control unit 11b transmission unit 111 line abnormality monitoring unit 11c line state Storage unit 11d Transmission file list 11e Preprocessing unit 11f Transmission control file 11g I / O processing unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 早川 明 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Akira Hayakawa 98, Unoki-nu, Unoki-cho, Kawakita-gun, Ishikawa Pref.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 自システムから相手システムにファイル
を転送するファイル転送方法であって、 ファイル転送が不可能なとき、業務を中断することなく
送信対象となるファイルから送信イメージを作成して送
信イメージファイルに保存し、 ファイル転送が可能になった際、上記送信イメージファ
イルに上記送信イメージが保存されているとき、上記送
信イメージファイルに保存された送信イメージを相手シ
ステムに送信することを特徴とするファイル転送方法。
1. A file transfer method for transferring a file from a local system to a partner system, wherein when a file transfer is not possible, a transmission image is created from a file to be transmitted without interrupting operations. When the transmission image is stored in the transmission image file, the transmission image stored in the transmission image file is transmitted to the partner system when the file is transmitted and the file transfer is enabled. File transfer method.
【請求項2】 自システムから相手システムにファイル
を転送するファイル転送方法であって、 回線の状態が正常のとき、送信対象となるファイルから
送信イメージを作成して相手システムに送信し、 回線異常のとき、送信対象となるファイルから送信イメ
ージを作成して送信イメージファイルに保存し、 回線復旧時に、送信イメージファイルに上記送信イメー
ジが保存されているとき、送信イメージ作成処理を行う
ことなく、上記送信イメージファイルに保存された送信
イメージを相手システムに送信することを特徴とするフ
ァイル転送方法。
2. A file transfer method for transferring a file from a self-system to a partner system, wherein when a line status is normal, a transmission image is created from a file to be transmitted and transmitted to the partner system, and a line error occurs. In the case of, a transmission image is created from the transmission target file and saved in the transmission image file.When the transmission image is stored in the transmission image file when the line is restored, the transmission image creation processing is not performed. A file transfer method comprising transmitting a transmission image stored in a transmission image file to a partner system.
【請求項3】 回線状態を実際の回線状態とは無関係に
設定可能とし、回線状態を回線異常に設定して、オフラ
イン時に送信対象となるファイルから送信イメージを作
成し、送信イメージファイルに保存することを特徴とす
る請求項2のファイル転送方法。
3. A line state can be set irrespective of an actual line state, a line state is set to a line abnormality, a transmission image is created from a file to be transmitted when offline, and saved in a transmission image file. 3. The file transfer method according to claim 2, wherein:
【請求項4】 回線状態を復旧に設定し、送信イメージ
ファイルから送信イメージを読み出して、相手システム
に送信することを特徴とする請求項3のファイル転送方
法。
4. The file transfer method according to claim 3, wherein the line state is set to recovery, a transmission image is read from the transmission image file, and transmitted to the partner system.
【請求項5】 相手システムへのファイル転送を制御す
る送信制御部と、 送信対象となるファイルから送信イメージを作成する前
処理部と、 上記送信イメージを相手システムに送信する送信部と、 上記送信イメージを保存する送信イメージファイルと、 回線状態を監視する回線異常監視手段とを備え、 上記送信制御部は、回線正常時に、送信対象となるファ
イルから送信イメージを作成し、送信部を介して上記送
信イメージを相手システムに送信し、 回線異常時、上記前処理部において、送信対象となるフ
ァイルから送信イメージを作成して、送信イメージファ
イルに保存し、 回線復旧時、上記送信イメージファイルに送信イメージ
が保存されているとき、上記送信イメージを、送信部を
介して相手システムに送信することを特徴とするファイ
ル転送制御装置。
5. A transmission control unit for controlling file transfer to a partner system; a preprocessing unit for creating a transmission image from a file to be transmitted; a transmission unit for transmitting the transmission image to the partner system; A transmission image file for storing an image, and a line abnormality monitoring unit for monitoring a line state, wherein the transmission control unit creates a transmission image from a transmission target file when the line is normal, and transmits the transmission image via the transmission unit. The transmission image is transmitted to the partner system. When the line is abnormal, the preprocessing unit creates a transmission image from the file to be transmitted and saves it in the transmission image file. When the line is restored, the transmission image is stored in the transmission image file. And transmitting the transmission image to the partner system via the transmission unit when is stored. Airu transfer control device.
【請求項6】 回線状態を設定する操作卓を備えてお
り、該操作卓から回線状態を回線異常に設定したとき、
送信制御部は、前処理部において、送信ファイルから送
信イメージを作成して、送信イメージファイルに保存
し、 上記操作卓から回線状態を回線復旧に設定したとき、送
信制御部は、上記送信イメージファイルから送信イメー
ジを読み出して送信部を介して相手システムに送信する
ことを特徴とする請求項5のファイル転送制御装置。
6. An operation console for setting a line status, wherein when the line status is set to line abnormal from the operation console,
The transmission control unit, in the preprocessing unit, creates a transmission image from the transmission file, saves the transmission image in the transmission image file, and sets the line state to line restoration from the console, the transmission control unit 6. The file transfer control device according to claim 5, wherein a transmission image is read from the communication device and transmitted to a partner system via a transmission unit.
【請求項7】 コンピュータから構成される自システ
ムから相手システムにファイルを転送するためのファイ
ル転送プログラムを記録した記録媒体であって、 上記ファイル転送プログラムは、ファイル転送が不可能
なとき、業務を中断することなく送信対象となるファイ
ルから送信イメージを作成して送信イメージファイルに
保存させ、 ファイル転送が可能になった際、上記送信イメージファ
イルに上記送信イメージが保存されているとき、上記送
信イメージファイルに保存された送信イメージを相手シ
ステムに送信させることを特徴とするファイル転送プロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
7. A recording medium for recording a file transfer program for transferring a file from a self-system constituted by a computer to a partner system, wherein the file transfer program performs a task when file transfer is impossible. Creates a transmission image from the file to be transmitted without interruption, saves it in the transmission image file, and when the file transfer becomes possible, when the transmission image is stored in the transmission image file, the transmission image A computer-readable recording medium on which a file transfer program is recorded, wherein the transmission image stored in the file is transmitted to a partner system.
【請求項8】 コンピュータから構成される自システム
から相手システムにファイルを転送するためのファイル
転送プログラムを記録した記録媒体であって、 上記ファイル転送プログラムは、回線の状態が正常のと
き、送信対象となるファイルから送信イメージを作成し
て相手システムに送信させ、 回線異常のとき、送信対象となるファイルから送信イメ
ージを作成して送信イメージファイルに保存させ、 回線復旧時に、送信イメージファイルに上記送信イメー
ジが保存されているとき、送信イメージ作成処理を行う
ことなく、上記送信イメージファイルに保存された送信
イメージを相手システムに送信させることを特徴とする
ファイル転送プログラムを記録したコンピュータ読み取
り可能な記録媒体。
8. A recording medium recording a file transfer program for transferring a file from a self system composed of a computer to a partner system, wherein the file transfer program is a transmission target when a line status is normal. Create a transmission image from the file to be transmitted and send it to the other system.If there is a line error, create a transmission image from the file to be transmitted and save it in the transmission image file.When the line is restored, send the above to the transmission image file A computer-readable recording medium storing a file transfer program for transmitting a transmission image stored in the transmission image file to a partner system without performing a transmission image creation process when the image is stored. .
JP02447298A 1997-02-13 1998-02-05 File transfer method, file transfer control device, and recording medium recording file transfer program Expired - Fee Related JP3973285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02447298A JP3973285B2 (en) 1997-02-13 1998-02-05 File transfer method, file transfer control device, and recording medium recording file transfer program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-28765 1997-02-13
JP2876597 1997-02-13
JP02447298A JP3973285B2 (en) 1997-02-13 1998-02-05 File transfer method, file transfer control device, and recording medium recording file transfer program

Publications (2)

Publication Number Publication Date
JPH10289179A true JPH10289179A (en) 1998-10-27
JP3973285B2 JP3973285B2 (en) 2007-09-12

Family

ID=26361983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02447298A Expired - Fee Related JP3973285B2 (en) 1997-02-13 1998-02-05 File transfer method, file transfer control device, and recording medium recording file transfer program

Country Status (1)

Country Link
JP (1) JP3973285B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001052088A (en) * 1999-08-06 2001-02-23 Nec Corp Electronic medical examination record system for modeling chart in actual world and medical examination record information management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001052088A (en) * 1999-08-06 2001-02-23 Nec Corp Electronic medical examination record system for modeling chart in actual world and medical examination record information management method

Also Published As

Publication number Publication date
JP3973285B2 (en) 2007-09-12

Similar Documents

Publication Publication Date Title
EP0841626A1 (en) Data transfer mechanism
JPS6142052A (en) Initial load controlling system of terminal equipment
JPH09223052A (en) Electronic mail system
JPH0855069A (en) Network system
JPH10289179A (en) File transfer method, file transfer controller and recording medium recording file transfer program
JPH0816446A (en) Client server system
JP3412342B2 (en) Image drawing apparatus and data decompression method
JP2000330777A (en) Program exchanging method
JP2001138584A (en) Printer
JP3030153B2 (en) App cooperation processing device in file transfer
JPH09331433A (en) Document processor and document processing method
JP3069877B2 (en) Information transceiver
JP2000010922A (en) Job start method and system for computer network and recording medium recording programmed job start method
JP2991026B2 (en) Communication method of communication history information with facsimile mail device
JP3184099B2 (en) Write cache device and write cache circuit
JP2531103B2 (en) Inter-job data communication system
KR100197422B1 (en) Apparatus for managing system file of switching system and method thereof
JP2003099308A (en) Backup device, and data-backup method
JP2638564B2 (en) Remote resume system
JP3270400B2 (en) Print processing cluster system
JP3241278B2 (en) Network print system
JPH09258991A (en) Remote program executing system
JP2002370426A (en) Printer
JP2845006B2 (en) Report output method
JPH09245098A (en) Slip preparation system and slip printing control method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070522

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070612

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070612

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100622

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110622

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120622

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120622

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130622

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140622

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees