JPH03269656A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH03269656A
JPH03269656A JP2069442A JP6944290A JPH03269656A JP H03269656 A JPH03269656 A JP H03269656A JP 2069442 A JP2069442 A JP 2069442A JP 6944290 A JP6944290 A JP 6944290A JP H03269656 A JPH03269656 A JP H03269656A
Authority
JP
Japan
Prior art keywords
file
transfer
data
status
message
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
JP2069442A
Other languages
Japanese (ja)
Inventor
Tomonori Yamashita
智規 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2069442A priority Critical patent/JPH03269656A/en
Publication of JPH03269656A publication Critical patent/JPH03269656A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform the transfer of data with highly effective use of the resources by integrating a transmission status file SF with a reception SF, monitoring the idle capacity of the integrated SF after a fixed time for deletion of the undesired data, and compressing the SF. CONSTITUTION:A store means 2 transfers the desired data on a user file 1 and its attribute information to a data file 3 and an SF 4 to store them there. The transfer condition of the data transfer destination is stored in a transfer condition information storing means of SF4. A message transmission means 7 reads the information out of the SF 4 every fixed time and compresses the SF 4 when an idle area of the SF 4 is decuded down to a level less than a fixed size. At the data transfer destination (computer), a reception file 9 is secured after reception of a message from the means 7, the transfer information is written into the SF 4, and then the information is read out of the SF 4 and sent to the transfer destination. The transfer destination message reception means 8 updates the transfer condition storing area of NF. Each file transmission means 6 reads the SF 4 every fixed time and sends the file 3 to the transfer destination. This operation is repeated until no transfer data is received from each transfer original yet.

Description

【発明の詳細な説明】 [4a要] 複数の発信元からの転送データを一方の計算機から他方
の計算機または、一方の計IIIから中継用の計算機を
介して他方の計算機に転送するデータ転送方式に関し。
[Detailed Description of the Invention] [Required 4a] A data transfer method in which data transferred from multiple sources is transferred from one computer to another computer, or from one total III to another computer via a relay computer. Regarding.

一方の計算機から他方の計算機へ直接または中間の計算
機を経由するデータ転送が資源を効率良く利用して行う
ことができるデータ転送方式を提供することを目的とし
The object of the present invention is to provide a data transfer method that allows data transfer from one computer to another computer directly or via an intermediate computer while efficiently using resources.

発信元からの転送すべきデータが格納されるデータファ
イルと、該データの少なくとも転送元情報、転送先情報
、転送データに関する情報とを含む属性情報及び各属性
情報に対応する転送状態情報が格納されるステータスフ
ァイルとを備え、各ステータスファイルに格納された転
送状態情報の内容に応じてメツセージを送信し、転送状
態情報を変更するメツセージ送信手段と、ステータスフ
ァイルを読出し、転送先にデータを送信すると共に、前
記転送状態情報を変更するファイル送信手段と、メツセ
ージを受信し、ステータスファイルの転送状態格納領域
を変更するメツセージ受信手段と、ステータスファイル
を読出し、転送状態情報を監視する監視手段とを備える
よう構成する。
A data file in which data to be transferred from a source is stored, attribute information of the data including at least transfer source information, transfer destination information, and information regarding transfer data, and transfer status information corresponding to each attribute information are stored. a message transmitting means for transmitting a message according to the contents of the transfer status information stored in each status file and changing the transfer status information; and a message transmitting means for reading the status file and transmitting the data to the transfer destination. The system also includes file sending means for changing the transfer status information, message receiving means for receiving a message and changing the transfer status storage area of the status file, and monitoring means for reading the status file and monitoring the transfer status information. Configure it like this.

[産業上の利用分野] 本発明は複数の発信元からの転送データを一方の計算機
から他方の計算機または、一方の計算機から中継用の計
算機を介して他方の計算機に転送するデータ転送方式に
関する。
[Industrial Application Field] The present invention relates to a data transfer method for transferring data from a plurality of sources from one computer to another computer, or from one computer to another computer via a relay computer.

[従来の技術] 計算機と計算機間で各種のデータを送受信するための従
来の構成を第9図に示す従来例の原理構成図により説明
する。
[Prior Art] A conventional configuration for transmitting and receiving various data between computers will be explained with reference to the principle configuration diagram of a conventional example shown in FIG.

第9図の構成全体は、1つの送信側の計算機を表し、複
数の発信元(端末装置等)から、他の計算機に送信した
いデータの本体がデータファイル91に格納され、デー
タの転送元(発信元)、転送先(相手計算機)及び転送
データに関するその他の情報とからなる属性情報が情報
ファイル92に格納される。複数の発信元90から発生
したこれらの情報は、データファイル91.情報ファイ
ル92からそれぞれに対応して設けられた転送データ格
納手段93の制御により、データの本体が送信用−次フ
アイル94に格納され、属性情報が転送状態表示領域を
持つ送信用ステータスファイル95に格納される。
The entire configuration of FIG. 9 represents one sending computer, and the main body of data to be sent from multiple sources (terminal devices, etc.) to other computers is stored in a data file 91, and the data transfer source ( Attribute information consisting of the sender), transfer destination (recipient computer), and other information regarding the transfer data is stored in the information file 92. This information generated from multiple sources 90 is stored in data files 91. Under the control of transfer data storage means 93 provided corresponding to each information file 92, the main body of data is stored in a transmission-next file 94, and attribute information is stored in a transmission status file 95 having a transfer status display area. Stored.

この送信用−次フアイル94と送信用ステータスファイ
ル95に対して設けられた送信手段96は特定の受信側
計算機と通信回線を介して接続されている。送信手段9
6は、送信用−次フアイル94と送信用ステータファイ
ル95の最初に格納されたデータと属性情報を取り出し
て受信側計算機へ転送する。この時、送信用ステータス
ファイル95内の転送状1!表示領域を送信済とし、受
信側の計算機が受信したことを確認(図示しない受信手
段による)すると、送信用−次フアイル94と送信用ス
テータスファイル95から次に記憶されたデータと属性
情報を取り出して上記と同様に受信側計算機に送信し、
この動作を発信元からの転送データがなくなるまで繰り
返す。
A transmitting means 96 provided for the next file for transmitting 94 and the status file for transmitting 95 is connected to a specific receiving computer via a communication line. Transmission means 9
6 extracts the data and attribute information stored at the beginning of the next file for transmission 94 and the status file for transmission 95 and transfers them to the receiving computer. At this time, the transmittal letter 1 in the transmission status file 95! When the display area is marked as sent and the receiving computer confirms that the data has been received (by a receiving means (not shown)), the next stored data and attribute information are retrieved from the sending-next file 94 and the sending status file 95. and send it to the receiving computer in the same way as above,
This operation is repeated until there is no more data transferred from the source.

第9図において、送信用−次フアイル94.送信用ステ
ータスファイル95及び送信手段96の各装置は、異な
る場所にある各受信側計算機に対応してそれぞれ個別に
設けられ1発信元90に対応する転送データ格納手段9
3から複数の受信側計算機に対応するそれぞれのファイ
ル94.95に接続されている。また、第9図では省略
されているが、受信側の機構として受信用−次フアイル
In FIG. 9, the next file for transmission 94. The transmission status file 95 and the transmission means 96 are individually provided for each receiving computer located at a different location, and the transmission data storage means 9 corresponds to one transmission source 90.
3 to each file 94 and 95 corresponding to a plurality of receiving computers. Also, although omitted in FIG. 9, there is a receiving-next file as a mechanism on the receiving side.

受信用ステータスファイル、受信手段を備えている。It is equipped with a receiving status file and receiving means.

[発明が解決しようとする課題] 上記従来例の横取によれば、送信用−次フアイルまたは
、送信用ステータスファイルの空き容量が足りなくなる
と、転送すべきデータまたは情報(属性情報)を格納す
ることができない、そのため格納容量ができるまで発信
元のファイルで待機させられて、転送することができな
かった。また。
[Problems to be Solved by the Invention] According to the above-mentioned prior art example of stealing, when there is insufficient free space in the next file for transmission or the status file for transmission, data or information (attribute information) to be transferred is stored. Therefore, the source file was forced to wait until storage capacity became available, and it could not be transferred. Also.

各計算機内に送信用ステータスファイル、送信用−次フ
アイル、受信用ステータスファイル、及び受信用−次フ
アイルを設ける必要があり、計算機が増加するとそれぞ
れの相手に対応してこられるファイルも増加するため、
コストが増大し資源管理が困難になるという問題があっ
た。
It is necessary to provide a transmission status file, a transmission-next file, a reception status file, and a reception-next file in each computer, and as the number of computers increases, the number of files that can be sent to each destination also increases.
There were problems in that costs increased and resource management became difficult.

本発明は一方の計算機から他方の計算機へ直接または中
間の計算機を経由するデータ転送が資源を効率良く利用
して行うことができるデータ転送方式を提供することを
目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer method that allows data transfer from one computer to another computer directly or via an intermediate computer while efficiently utilizing resources.

[iaを解決するための手段] 第1図は本発明の原理構成図である。[Means to solve ia] FIG. 1 is a diagram showing the principle configuration of the present invention.

第1図において、1はユーザファイル、2はユーザファ
イル1とユーザ端末(図示せず)からの属性情報を受は
取ってデータファイル3.ステータスファイル4に転送
する転送データ格納手段3は送信データを格納するデー
タファイル、4は属性情報を格納すると共に転送状態情
報の格納領域を備えるステータスファイル、5はステー
タスファイルの状態を監視する監視手段、6はデータフ
ァイル3のデータを他の計算機に送信するファイル送信
手段、7はステータスファイルの属性情報や状態情報を
他の計算機に転送するメツセージ送信手段、8は他の計
算機から送られたメソセージを受信するメツセージ受信
手段、9は他社算機から送信されたデータを格納する受
信ファイル10は受信ファイル9のデータ及びステータ
スファイル4の属性情報をユーザファイル1やユーザ端
末に転送する転送データ受取手段である。
In FIG. 1, 1 is a user file, 2 is a data file 3 which receives attribute information from the user file 1 and a user terminal (not shown). The transfer data storage means 3 to be transferred to the status file 4 is a data file that stores transmission data, 4 is a status file that stores attribute information and has a storage area for transfer status information, and 5 is a monitoring unit that monitors the status of the status file. , 6 is a file transmitting means for transmitting the data of data file 3 to other computers, 7 is a message transmitting means for transmitting the attribute information and status information of the status file to other computers, and 8 is a message sent from another computer. 9 is a receiving file 10 that stores data sent from another company's computer. 9 is a transfer data receiving means that transfers the data of the receiving file 9 and the attribute information of the status file 4 to the user file 1 or the user terminal. It is.

本発明は従来用いられていた送信用−次フアイルを使用
することなく送信用ステータスファイルと受信用ステー
タスファイルを統合して、その統合したステータスファ
イルの空き容量を一定時間毎に監視して不要なデータを
削除してステータスファイルを圧縮するものである。
The present invention integrates the sending status file and the receiving status file without using the conventional sending file, and monitors the free space of the integrated status file at regular intervals to eliminate unnecessary files. It deletes data and compresses the status file.

[作用] 第1図の構成を転送元の計算機とすると、転送が要求さ
れたユーザファイル1のデータとそのデータの転送元情
報、転送先情報及びデータに関する情報を含む属性情報
は転送データ格納手段2によりそれぞれデータファイル
3とステータスファイル4に転送されて格納される。ス
テータスファイル4には転送データの転゛送状態(転送
待ち、相手先の応答待ち、送信法等の多数の状態がある
)を表示する情報が格納される転送状態情報の格納領域
が設けられている。
[Operation] When the configuration shown in FIG. 1 is used as the transfer source computer, the data of the user file 1 requested to be transferred, the transfer source information of the data, the transfer destination information, and the attribute information including information regarding the data are stored in the transfer data storage means. 2 are transferred to and stored in the data file 3 and status file 4, respectively. The status file 4 is provided with a transfer status information storage area in which information indicating the transfer status of the transferred data (there are many statuses such as waiting for transfer, waiting for a response from the other party, transmission method, etc.) is stored. There is.

メツセージ送信手段7は、一定時間毎にステータスファ
イル4の情報を読出し、転送先(計算機)に読出した情
報をメツセージとして送信すると共に、ステータスファ
イル4の空き容量が一定以下になるとステータスファイ
ル4を圧縮(送信法の情報を削除する等)したり、予め
用意されている別のステータスファイル(図示しない)
に交替する処理を行う。
The message transmitting means 7 reads the information of the status file 4 at regular intervals, transmits the read information to the transfer destination (computer) as a message, and compresses the status file 4 when the free space of the status file 4 becomes less than a certain value. (Delete transmission method information, etc.) or use another status file prepared in advance (not shown)
Performs processing to replace.

転送先(計算機)では、メツセージ受信手段8により転
送元のメツセージ送信手段7から送信されたメツセージ
を受信すると、受信ファイル9を確保し、転送先のステ
ータスファイル4に転送情報を書込み、受信側計算機内
のメツセージ送信手段も一定時間毎にステータスファイ
ルを読出し。
At the transfer destination (computer), when the message receiving means 8 receives the message sent from the message transmitting means 7 of the transfer source, it secures the receiving file 9, writes the transfer information to the status file 4 of the transfer destination, and transfers the message to the receiving computer. The message sending means inside also reads the status file at regular intervals.

転送元に読出した情報(データファイルを確保したこと
を表す)をメツセージとして送信する。
Sends the read information (indicating that the data file has been secured) to the transfer source as a message.

転送元計算機内のメツセージ受信手段8は、受信された
メツセージによりステータスファイルの。
The message receiving means 8 in the transfer source computer updates the status file according to the received message.

転送状態格納領域を変更する(転送先のデータファイル
が確保された状態)。各ファイル送信手段6は一定時間
毎にステータスファイルを読出しその転送状態を見て内
容が示すデータファイルを転送先に転送する。この動作
を各メールの送信。
Change the transfer status storage area (with the transfer destination data file secured). Each file sending means 6 reads the status file at regular intervals, checks the transfer status, and transfers the data file indicated by the contents to the transfer destination. This behavior works for each email sent.

メンセージの受信及び送信手段が各々の転送元からの転
送データがなくなるまで繰り返す。
The message receiving and transmitting means repeats this until there is no more data to be transferred from each transfer source.

メツセージ送信手段7.メツセージ受信手段8及びステ
ータスファイル4は複数の異なる相手計算機に対して共
通に使用することができ、複数の発信元(転送データ格
納手段2が複数個備えられている時)から複数組のデー
タと属性情報がデータファイル3.ステータスファイル
4に格納された場合に、各々のメソセージ送信手段7.
メソセージ受信手段8及びファイル送信手段6により最
初にステータスファイル4に格納された転送データと属
性情報を転送先計算機に転送する。
Message sending means7. The message receiving means 8 and the status file 4 can be used in common for a plurality of different partner computers, and can receive a plurality of sets of data from a plurality of senders (when a plurality of transfer data storage means 2 are provided). Attribute information is data file 3. When stored in the status file 4, each message transmitting means 7.
The message receiving means 8 and the file transmitting means 6 first transfer the transfer data and attribute information stored in the status file 4 to the transfer destination computer.

一方、転送先計算機では、その転送データを受は取った
ことを確認すると、転送先計算機のステータスファイル
の転送状態格納領域に転送データ受取済みと書込み、メ
ソセージ送信手段がステータスファイルに示された転送
元に受取済メツセージを送信し、各々の計算機からの送
信データがなくなるまで繰り返して転送する。
On the other hand, when the destination computer confirms that it has received the transferred data, it writes ``Received the transferred data'' in the transfer status storage area of the status file of the destination computer, and the message sending means transfers the data as indicated in the status file. The received message is sent to the original computer, and the message is transferred repeatedly until there is no more data sent from each computer.

また、相手計算機に送信したデータの属性情報によりそ
のデータの宛先が、相手計算機を介して他の計算機であ
った場合は、−旦属性情報をメッセージ送信手段7から
相手計算機のステータスファイルに格納し、データをフ
ァイル送信手段6から相手計算機の受信ファイル9に転
送する。その後、ステータスファイルの内容から更に他
の計算機へ送信すべきものと判断して、他の計算機への
転送を実行する。
Furthermore, if the destination of the data is another computer via the other computer according to the attribute information of the data sent to the other computer, the attribute information is stored in the status file of the other computer from the message sending means 7. , the data is transferred from the file sending means 6 to the receiving file 9 of the other party's computer. Thereafter, it is determined that the status file should be further transmitted to another computer based on the contents of the status file, and the transfer to the other computer is executed.

このようにして各計算機の転送は従来の方式より資源を
有効に利用することができ、且つ転送状態も使用詳細に
認識することができる。
In this way, resources can be used more effectively for transfer from each computer than in the conventional method, and the transfer status can also be recognized in detail.

[実施例] 第2図は実施例の構成図、第3図(a)乃至第3図(d
)は実施例のメツセージ送信の処理フロー図、第4図は
実施例のファイル送信の処理フロー図、第5図は実施例
のメツセージ受信の処理フロー図。
[Example] Figure 2 is a configuration diagram of an example, and Figures 3(a) to 3(d)
) is a processing flow diagram of message transmission according to the embodiment, FIG. 4 is a processing flow diagram of file transmission according to the embodiment, and FIG. 5 is a processing flow diagram of message reception according to the embodiment.

第6図は実施例の監視の処理フロー図、第7図は1対1
の転送動作における転送状態を示すシーケンス図、第8
図は中継転送の転送動作における転送状態を示すシーケ
ンス図である。
Figure 6 is a processing flow diagram of monitoring in the embodiment, Figure 7 is one-to-one
Sequence diagram showing the transfer state in the transfer operation, No. 8
The figure is a sequence diagram showing the transfer state in the transfer operation of relay transfer.

第2図において、20a、20bは複数の転送元(計算
機)、30は転送先(計算機)であり。
In FIG. 2, 20a and 20b are a plurality of transfer sources (computers), and 30 is a transfer destination (computer).

21はユーザファイル、22は転送データ格納プログラ
ム、23は送信用のデータが格納されるデータファイル
、24は転送状態情報を格納する領域を備え、属性情報
が格納されるステータスファイル、25は監視プログラ
ム、26はファイル送信プログラム、27はメツセージ
送信プログラム。
21 is a user file, 22 is a transfer data storage program, 23 is a data file in which transmission data is stored, 24 is a status file having an area for storing transfer status information and in which attribute information is stored, and 25 is a monitoring program. , 26 is a file sending program, and 27 is a message sending program.

28はメツセージ受信プログラム、30は転送先(計算
Iすであり、31はデータを受信するユーザファイル、
32は転送データ受取プログラム33はデータ受信用の
データファイル、34〜38は前記24〜28に対応す
るものである。
28 is a message receiving program, 30 is a transfer destination (calculation I), 31 is a user file for receiving data,
Reference numeral 32 indicates a transfer data receiving program 33, which is a data file for receiving data, and 34-38 correspond to the above-mentioned 24-28.

第2図に示すように、複数の転送元20a、20bにお
いて それぞれ発信元から5少なくとも転送元情報、転
送先情報および転送データ情報(属性情報)を含む転送
情報(第1図の属性情報)が発生し、転送したい情報が
ユーザファイル21に格納されている。2つの転送元2
0aと20bから同時に転送依頼が発生しても、各々の
転送元で転送データ格納プログラム22により、データ
と転送情報はそれぞれデータファイル23とステータス
ファイル24に格納される。この場合ステータスファイ
ル24には転送状態格納領域が設けられ転送要求を表す
ファイル確保要求を表す情報が設定される。
As shown in FIG. 2, in each of the plurality of transfer sources 20a and 20b, transfer information (attribute information in FIG. 1) including at least 5 transfer source information, transfer destination information, and transfer data information (attribute information) is transmitted from each source. The information that has been generated and that is desired to be transferred is stored in the user file 21. Two transfer sources 2
Even if transfer requests are issued from 0a and 20b at the same time, the data and transfer information are stored in the data file 23 and status file 24, respectively, by the transfer data storage program 22 at each transfer source. In this case, the status file 24 is provided with a transfer status storage area in which information representing a file reservation request representing a transfer request is set.

次に、各メツセージ送信プログラム27が起動する、メ
ッセージ送信処理部の処理フローは第3図(a)乃至第
3図(d)に示されており、これを参照しながら説明す
る。
Next, the processing flow of the message transmission processing unit activated by each message transmission program 27 is shown in FIGS. 3(a) to 3(d), and will be described with reference to these.

すなわち、起動すると、ステータスファイル24を圧縮
し、また一定時間毎に各々のステータスファイル24を
読出して、転送状態格納領域がファイル確保要求状B(
転送を要求する状態)の時。
That is, when started, the status files 24 are compressed, and each status file 24 is read out at regular intervals, so that the transfer status storage area is filled with file reservation request letter B (
(state requesting transfer).

転送先30に対し転送データを格納用のデータファイル
33の領域を確保するためのメツセージを送信しく第3
図(a)の301〜304)、正常に送信されるとステ
ータスファイル24の転送状態格納領域をファイル確保
要求通知状態に変更する(同304,305)。
3. To send a message to the transfer destination 30 to secure an area in the data file 33 for storing transfer data.
301 to 304 in Figure (a), if the transmission is successful, the transfer status storage area of the status file 24 is changed to the file reservation request notification status (304, 305).

転送先30のメツセージ受信プログラム38は第5図に
示すメツセージ受信の処理フローに示す処理を実行する
The message receiving program 38 of the transfer destination 30 executes the processing shown in the message receiving processing flow shown in FIG.

この場合、転送先30のメツセージ受信プログラム38
は受信したメツセージの内容から受信用データファイル
33を確保し、ステータスファイル34に転送状態格納
領域を作成して、ファイル確保済みに変更する(第5図
の500〜504参照)。
In this case, the message receiving program 38 of the forwarding destination 30
secures the reception data file 33 from the contents of the received message, creates a transfer status storage area in the status file 34, and changes the file to secured (see 500 to 504 in FIG. 5).

また転送先30のメツセージ送信プログラム37は、上
記の第3図(a)乃至第3図(d)により処理を行い、
一定時間毎にステータスファイル34を読出し、転送状
態格納領域が受信ファイル確保完了済み状態の時、その
情報から転送元に受信ファイル確保メソセージを送信し
、ステータスファイルの転送状態格納領域をファイル確
保完了メツセージ受信済状態に変更する(第3図(b)
の309〜311.313,314参照)。
Further, the message sending program 37 of the forwarding destination 30 performs the processing according to FIGS. 3(a) to 3(d) above,
The status file 34 is read at regular intervals, and when the transfer status storage area is in the received file reservation completed state, a reception file reservation message is sent to the transfer source based on the information, and a file reservation completion message is sent to the transfer status storage area of the status file. Change to received status (Figure 3(b))
309-311, 313, 314).

各転送元のメツセージ受信プログラム28は上記第5図
の処理フローを実行し、受信されたファイル確保メツセ
ージから各々のステータスファイル24の転送状態格納
領域のファイル確保要求済状態をファイル送信待機状態
に変更する。(第5図参照) 転送元の各々ファイル送信プログラム26は第4図に示
すファイル送信の処理フローにより処理を実行し、一定
時間毎にステータスファイル24を読出し、転送状態の
内容がファイル送信待機状態の時、その情報に対応する
転送データファイル23から取出して転送先に転送し、
各々のステータスファイル24の転送状態格納領域をフ
ァイル送信済み状態に変更する(第5図の400〜40
3.405,406参照)、 各々のメツセージ送信プ
ログラム27は、前記と同様に一定時間毎にステータス
ファイル24を読出し、ファイル送信完了状態が検出さ
れると、その情報から転送先にファイル送信完了メツセ
ージを送信し、正常に送信されるとステータスファイル
24の転送状態格納領域をデータ送信完了通知状態に変
更する(第3図(C)の316〜318,320,32
1参照)。
The message reception program 28 of each transfer source executes the processing flow shown in FIG. 5 above, and changes the file reservation requested state in the transfer status storage area of each status file 24 to the file transmission standby state based on the received file reservation message. do. (See Figure 5) Each file transmission program 26 at the transfer source executes processing according to the file transmission processing flow shown in Figure 4, reads the status file 24 at regular intervals, and changes the transfer status to a file transmission waiting state. At that time, extract the information from the transfer data file 23 corresponding to the information and transfer it to the transfer destination,
Change the transfer status storage area of each status file 24 to the file sent status (400 to 40 in Figure 5).
3.405, 406), each message sending program 27 reads the status file 24 at regular intervals as described above, and when the file sending completion state is detected, sends a file sending completion message to the transfer destination based on the information. When the data is sent normally, the transfer status storage area of the status file 24 is changed to the data transmission completion notification status (316 to 318, 320, 32 in FIG. 3(C)).
(see 1).

受信したメツセージの内容がファイル送信済みメツセー
ジであり、転送先が日計算機の時ステータスファイル3
4の転送状態格納領域の内容をファイル受信完了に変更
し、そうでないときはステータスファイル34の転送状
態格納領域をファイル確保要求状態に変更する。(第3
図(C)の505506)。
If the content of the received message is a file sent message and the forwarding destination is a date calculator, the status file 3
The contents of the transfer status storage area of the status file 34 are changed to indicate that the file has been received, and if not, the contents of the transfer status storage area of the status file 34 are changed to the file reservation request status. (3rd
505506 in Figure (C)).

転送先30の転送データ受取プログラム32はステータ
スファイル34を読出し、転送状態格納領域がファイル
受信完了状態になっている属性情報に基づき、受信用の
データファイル33のデータを取り出し、各ユーザファ
イル31に書込んでステータスファイル34の転送状態
格納領域のファイル受信完了状態をファイル受取状態に
変更する。
The transfer data receiving program 32 of the transfer destination 30 reads the status file 34, extracts the data from the data file 33 for reception based on the attribute information indicating that the transfer status storage area is in the file reception completed state, and transfers the data to each user file 31. By writing, the file reception completion status in the transfer status storage area of the status file 34 is changed to the file reception status.

転送先30のメンセージ送信プログラム37は。The message sending program 37 of the transfer destination 30 is.

一定時間毎にステータスファイル34を読出して転送状
態格納領域がファイル受取状態の場合、その情報から転
送元にファイル受取メツセージを送信し、転送状態格納
領域をファイル受取通知状態に変更する(第3図(d)
の323〜325.327328参照)。
If the status file 34 is read at regular intervals and the transfer status storage area is in the file reception status, a file reception message is sent to the transfer source based on the information, and the transfer status storage area is changed to the file reception notification status (Fig. 3). (d)
323-325.327328).

転送元のメツセージ受信プログラム28は、受信された
メツセージがファイル受取メツセージの時は、それぞれ
の転送ステータスファイル240転送状態格納領域のフ
ァイル送信完了通知状態をファイル受取完了通知状態に
変更する。 以上の動作を各々のプログラムが転送すべ
きデータがなくなるまで繰り返す。
When the received message is a file reception message, the transfer source message reception program 28 changes the file transmission completion notification state in the transfer status storage area of each transfer status file 240 to the file reception completion notification state. The above operations are repeated until there is no more data to be transferred by each program.

上記した第3図乃至第5図の各処理フローにおいて、異
常が発生した場合は、それぞれ対応するステップにおい
てステータスファイルの転送状態格納領域のをシステム
障害状態に変更したり1通知エラー状態に変更する。
If an abnormality occurs in each of the processing flows shown in Figures 3 to 5 above, the transfer status storage area of the status file is changed to a system failure status or a 1 notification error status in the corresponding step. .

監視プログラム25は第6図に示す処理フローを実行し
、それぞれが備えるステータスファイル(第2図の24
.34)を一定時間毎に読出し。
The monitoring program 25 executes the processing flow shown in FIG.
.. 34) is read out at regular intervals.

ステータスファイルの容量及び回線状態を監視し。Monitor status file capacity and line status.

またシステムに異常が発生した時計算機システムに通知
する。
It also notifies the computer system when an abnormality occurs in the system.

次に第7図に示す1対1の転送動作における転送状態を
示すシーケンスを概説する。
Next, a sequence showing the transfer state in the one-to-one transfer operation shown in FIG. 7 will be outlined.

この例は転送元の計算機Xから転送先の計算機Yヘデー
タを送信する場合であり、ユーザファイルから送信ファ
イルが作成されて転送依頼を行うと、転送状態格納領域
にはA9999が書込まれる。この場合「A」は転送ス
テータスコードであり、ファイル確保要求依頼待機状態
を表し、「9999」は転送用の追番であり、各ファイ
ルに対応して付される。この状態でメツセージが送信さ
れると、転送元のステータスコードはB(ファイル確保
要求通知状態)になり、転送先ではメツセージが受信さ
れて、受信ファイルを確保するとステータスコードがC
(ファイル確保完了状態)となる。このファイル確保完
了通知がメツセージ送信されると、転送先のステータス
コードがD(ファイル確保完了通知状態)となり、転送
元ではこのメツセージを受信すると、ステータスコード
がE(ファイル送信待機状態)になる、このあと転送元
は送信ファイルの内容を送信して転送先の受信ファイル
に格納される。
This example is a case where data is transmitted from a transfer source computer In this case, "A" is a transfer status code, indicating a file reservation request waiting state, and "9999" is a serial number for transfer, which is assigned in correspondence with each file. When a message is sent in this state, the status code of the transfer source becomes B (file reservation request notification state), and when the message is received and the received file is secured at the transfer destination, the status code becomes C.
(file reservation complete state). When this file reservation completion notification is sent as a message, the status code at the transfer destination becomes D (file reservation completion notification state), and when the transfer source receives this message, the status code becomes E (file transmission standby state). Thereafter, the transfer source transmits the contents of the sending file and stores them in the receiving file of the transfer destination.

以下、上記の第2図乃至第5図の説明と同様の処理によ
りデータ転送が行われる。
Thereafter, data transfer is performed by the same process as described in FIGS. 2 to 5 above.

ここで、第7図の他のステータスコードの意味を掲げる
Here, the meanings of other status codes shown in FIG. 7 are listed.

F:ファイル送信開始状態 G:ファイル送信完了状態 H:ファイル送信完了通知状態 I:ファイル受信完了状態 J:ファイル受取状態 に:ファイル受取通知状態 次に、第8図(a)、第8図中)に示す中継転送動作に
おける転送状態を示すシーケンスを概説する。
F: File transmission start state G: File transmission completion state H: File transmission completion notification state I: File reception completion state J: File reception state: File reception notification state Next, Fig. 8(a), Fig. 8 middle ) will outline the sequence showing the transfer status in the relay transfer operation.

この例は転送元の計算I!Xから中間の計算機Yを経由
して計算機Zにデータ転送する場合である。
This example shows the source calculation I! This is a case where data is transferred from X to computer Z via intermediate computer Y.

最初に第8図(a)において、第7図と同様の処理によ
り送信ファイルが作成されて、送信依頼が行われ、メツ
セージ送信により計算機Yの受信ファイルが確保されて
、その通知がメツセージ送信されて計算機Xで受信され
ると(ステータスコードE)、計算llXから送信ファ
イルの内容が送信されて計算11Yの受信ファイルに格
納される。
First, in FIG. 8(a), a transmission file is created by the same process as in FIG. When the data is received by computer X (status code E), the contents of the transmission file are transmitted from calculation 11X and stored in the reception file of calculation 11Y.

計算I!xからファイル送信完了メツセージが送信され
て計算機Yでこれを受信すると、計算llYの受信処理
プログラムは、最初のメツセージ受信のとき受は取った
転送元、転送先等の属性情報を識別してこのファイルが
自計算機宛のものでなく計算機Zを宛先とすることが分
かっているので計算llXからのファイル送信完了メツ
セージの受信によりステータスコードをAに変更する。
Calculation I! When a file transmission completion message is sent from x and received by computer Y, the reception processing program of calculation llY identifies the attribute information such as the forwarding source and forwarding destination that the receiver took when receiving the first message, and processes this message. Since it is known that the file is not addressed to its own computer but to computer Z, the status code is changed to A upon receiving the file transmission completion message from Calculator 11X.

続いて、第8図中)において、計算機Xはメツセージ送
信を行い、ファイル確保要求を通知する。
Subsequently, in FIG. 8), computer X sends a message to notify the file reservation request.

これに対して計算機Zで受信ファイルを確保して。For this, secure the received file on computer Z.

その通知をメツセージ送信により行うと5計算機Yでこ
れを受信する。
When the notification is made by sending a message, the 5 computers Y receive this.

この後、第7図の1対lの転送と同様にファイル送信と
、ファイル送信完了メツセージの送信が順次行われ、計
算機Zにおいて受信ファイルをユーザファイルで受取る
処理が行われる。最後に計算l!Zでファイル受取完了
のメツセージが送信されると、これを中継の計算llY
で受信すると、このメツセージは自計算機Y宛のもので
はないので。
Thereafter, similar to the one-to-one transfer in FIG. 7, file transmission and transmission of a file transmission completion message are performed in sequence, and computer Z receives the received file as a user file. Finally, calculate! When Z sends a message indicating that the file has been received, this is used for relay calculations.
When I receive it, this message is not addressed to my own computer Y.

ステータスコードをJに変更し、更に計算機Yから転送
元の計算機Xに対してファイル受取完了のメツセージを
送信する。これを受信すると計算機χは相手計算IIZ
でファイル受取が行われたことを知ることができる。
The status code is changed to J, and furthermore, computer Y sends a message indicating that the file has been received to computer X, which is the transfer source. Upon receiving this, the computer χ will start the other party's calculation IIZ.
You can know that the file has been received.

[発明の効果] 本発明によれば複数の発信元からの転送データを一方の
計算機から他方の計算機または、一方の計算機から途中
複数の計算機を通り他方の計算機に転送することができ
、従来の方式より資源を効率良く利用したデータ転送を
行うことができ しかも転送システムの状態監視により
安定した運用を行うことができる。
[Effects of the Invention] According to the present invention, data transferred from multiple sources can be transferred from one computer to another computer, or from one computer to another computer passing through multiple computers on the way. This method allows data transfer to be performed using resources more efficiently, and stable operation can be achieved by monitoring the status of the transfer system.

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

第1図は本発明の原理構成図、第2図は実施例の構成図
、第3図(a)乃至第3図(d)は実施例のメツセージ
送信の処理フロー図、第4図は実施例のファイル送信の
処理フロー図、第5図は実施例のメツセージ受信の処理
フロー図、第6図は実施例の監視の処理フロー図、第7
図は1対1の転送動作における転送状態を示すシーケン
ス図、第8図(a)〜第8図(b)は中継転送の転送動
作における転送状態を示すシーケンス図、第9図は従来
例の原理構成図である。 第1図中9 1:ユーザファイル 2:転送データ格納手段 3:データファイル 4:ステータスファイル 5:監視手段 6;ファイル送信手段 7:メツセージ送信手段 8:メツセージ受信手段 9:受信ファイル lO:転送データ受取手段 本発明の原理構成図 実慶伊Jのメツセージ送信の処理フロー図M 3  図
 (a) 実施例の構成図 実胸例のメツセージ送信の処理フロー図第3図(b) 実卵喉りのメツセージ送信の処理フロー間第 3 図 
(C) 実3!#IIのメツセージ送信の処理フロー間第 3 
 図 (d) 実施例の監視の処理フロー図 第 6 図 中継転送の転送節句:おける 転送状態を示すシーケンス図 第 8 日 (a) 計算41X 計算機Y 計算機 中l!転送の転送動作における 転送状態表示すシーケンス図 第8図(b) 従来例の原理構成図 第 9 図
Fig. 1 is a diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment, Figs. 3(a) to 3(d) are processing flow diagrams of message transmission in the embodiment, and Fig. 4 is an implementation diagram. FIG. 5 is a process flow diagram for sending a file in the example. FIG. 5 is a process flow diagram for receiving a message in the embodiment. FIG. 6 is a process flow diagram for monitoring in the embodiment.
The figure is a sequence diagram showing the transfer state in a one-to-one transfer operation, FIGS. 8(a) to 8(b) are sequence diagrams showing the transfer state in a relay transfer transfer operation, and FIG. 9 is a sequence diagram showing the transfer state in a relay transfer operation. It is a principle block diagram. 9 in Figure 1 1: User file 2: Transfer data storage means 3: Data file 4: Status file 5: Monitoring means 6; File sending means 7: Message sending means 8: Message receiving means 9: Reception file IO: Transfer data Receiving means Principle block diagram of the present invention Processing flow diagram for sending a message for Jikei J M3 Figure (a) Block diagram for the embodiment Processing flow diagram for sending a message for an actual chest example Figure 3 (b) Real egg throat Figure 3 shows the processing flow for sending a message.
(C) Real 3! #II message sending processing flow 3rd
Figure (d) Processing flow diagram of monitoring in the embodiment Figure 6 Transfer clause of relay transfer: Sequence diagram showing the transfer status in Day 8 (a) Calculation 41X Computer Y Computer middle! Sequence diagram showing transfer status in transfer operation Figure 8 (b) Principle configuration diagram of conventional example Figure 9

Claims (1)

【特許請求の範囲】 一方の計算機から他方の計算機または一方の計算機から
中継計算機を介して他方の計算機にデータを自動転送す
るためのデータ転送において、発信元からの転送すべき
データが格納されるデータファイル(3)と、該データ
の少なくとも転送元情報、転送先情報、転送データに関
する情報とを含む属性情報及び各属性情報に対応する転
送状態情報が格納されるステータスファイル(4)とを
備え、 各ステータスファイルに格納された転送状態情報の内容
に応じてメッセージを送信し、転送状態格納領域を変更
するメッセージ送信手段(7)と、ステータスファイル
を読出し、転送先にデータを送信すると共に、前記転送
状態情報を変更するファイル送信手段(6)と、 メッセージを受信し、ステータスファイルの転送状態情
報を変更するメッセージ受信手段(8)と、ステータス
ファイルを読出し、転送状態情報を監視する監視手段(
5)とを備えることを特徴とするデータ転送方式。
[Claims] In data transfer for automatically transferring data from one computer to another computer or from one computer to another computer via a relay computer, data to be transferred from a source is stored. It includes a data file (3) and a status file (4) in which attribute information including at least transfer source information, transfer destination information, and information regarding transfer data of the data and transfer status information corresponding to each attribute information are stored. , message transmitting means (7) for transmitting a message according to the contents of the transfer status information stored in each status file and changing the transfer status storage area; File transmitting means (6) for changing the transfer status information; Message receiving means (8) for receiving a message and changing the transfer status information in the status file; and monitoring means for reading the status file and monitoring the transfer status information. (
5) A data transfer method comprising:
JP2069442A 1990-03-19 1990-03-19 Data transfer system Pending JPH03269656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2069442A JPH03269656A (en) 1990-03-19 1990-03-19 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2069442A JPH03269656A (en) 1990-03-19 1990-03-19 Data transfer system

Publications (1)

Publication Number Publication Date
JPH03269656A true JPH03269656A (en) 1991-12-02

Family

ID=13402757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2069442A Pending JPH03269656A (en) 1990-03-19 1990-03-19 Data transfer system

Country Status (1)

Country Link
JP (1) JPH03269656A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008040579A (en) * 2006-08-02 2008-02-21 Sony Corp COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM
US10032152B2 (en) 2013-10-22 2018-07-24 Seiko Epson Corporation Transmission system that enables correlation between a sending device and each of multiple receiving devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008040579A (en) * 2006-08-02 2008-02-21 Sony Corp COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM
US10032152B2 (en) 2013-10-22 2018-07-24 Seiko Epson Corporation Transmission system that enables correlation between a sending device and each of multiple receiving devices

Similar Documents

Publication Publication Date Title
US6476935B1 (en) Data communication apparatus and communication control method
JPH03269656A (en) Data transfer system
CN111813575B (en) Customized cleaning method and system based on container service
JPH0778115A (en) Network definition change method
US11445075B2 (en) Display system, display device, terminal device, and data management method with notification function of receiving communication data
JPS5936287B2 (en) Data transfer method
JPH10257051A (en) Information transmission apparatus and information transmission destination selection method
JPH0798690A (en) Inter-on-line system data transfer system
JPH06259302A (en) Data update processing system of decentralized computer
JPH07334439A (en) Data communication system and its terminal equipment
JP2508959B2 (en) Computer system
JP3501975B2 (en) Data transmission system and data transmission program stored in computer-readable storage medium
JP3526073B2 (en) E-mail distribution method and distribution system
JPH04242396A (en) Remote supervisory system
JPH0784857A (en) Relay type file transfer system
JPS5961337A (en) Electronic mail system
JP2696254B2 (en) Network communication status management method
WO2025088877A1 (en) Control device, control system, and control method
JPS6196849A (en) Transmission system control system
JPH08335205A (en) Inter-job communication system
JPH03209531A (en) Service process control system
JPH0442697B2 (en)
JPS6168661A (en) Transmission system
JPH11102330A (en) Receipt confirmation system and receipt confirmation method in electronic data exchange system
JP2004078415A (en) Data back-up method and system carrying out method