JP2001034555A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JP2001034555A
JP2001034555A JP11206138A JP20613899A JP2001034555A JP 2001034555 A JP2001034555 A JP 2001034555A JP 11206138 A JP11206138 A JP 11206138A JP 20613899 A JP20613899 A JP 20613899A JP 2001034555 A JP2001034555 A JP 2001034555A
Authority
JP
Japan
Prior art keywords
transmission
data
reception
information
pointer
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
JP11206138A
Other languages
Japanese (ja)
Inventor
Hiroyuki Sugihara
拓之 杉原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11206138A priority Critical patent/JP2001034555A/en
Publication of JP2001034555A publication Critical patent/JP2001034555A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a data transmission system between computers which can transmit data in real time without any problem. SOLUTION: A transmission control part 3 transmits a data transmission message 'DT N M' including transmit data (data length M) with a serial number N to a reception control part 6. The reception control part 6 having received the data compares the actual data length of the transmit data with the data length M in the data transmission message and checks whether or not the serial number has the value of transmission order to verify the reception state of the received data transmission message, and returns a control transmission message 'OK N Δ' showing normal reception to the transmission control part 3 in the case of confirming the normal reception and a control transmission message meaning abnormal reception to the transmission control part 3 in the case of confirming the abnormal reception.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は複数の計算機間に
おけるデータ伝送方式に関し、特にリアルタイムに行わ
れるデータ伝送システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system between a plurality of computers, and more particularly to a data transmission system performed in real time.

【0002】[0002]

【従来の技術】従来、TCP(Transmission Control P
rotocol)/IP(Internet Protocol)通信プロトコル群
を用いてネットワーク上で結合されている異機種計算機
間のデータ伝送を行うデータ伝送システムを構築する場
合、TCP/IPプロトコル群の通信サービスであるF
TP(File Transfer Protocol;ファイル転送プロトコ
ル)をデータ伝送手段として利用していた。
2. Description of the Related Art Conventionally, TCP (Transmission Control P
When constructing a data transmission system for performing data transmission between heterogeneous computers connected on a network using a network protocol (IP protocol) / IP (Internet Protocol), F which is a communication service of the TCP / IP protocol group
TP (File Transfer Protocol) was used as a data transmission means.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、FTP
はデータをファイル単位で一括伝送する機能であるた
め、送信,受信側ともバッチプログラムで利用する際に
は効率的であるという利点を有しているが、トランザク
ションデータを扱うオンラインプログラム上で利用する
には不向きであった。なお、トランザクションとは、コ
ンピュータ関連分野において、データベースの接続、レ
コードの検索、レコード内のデータ更新、接続の切断等
の一連の手続を意味する。
SUMMARY OF THE INVENTION However, FTP
Has the advantage of being efficient when used in batch programs on both the sending and receiving sides, since it is a function that transmits data collectively in file units, but is used on online programs that handle transaction data Was unsuitable for Note that a transaction refers to a series of procedures such as database connection, record search, data update in a record, and disconnection in a computer-related field.

【0004】しかも、ネットワーク断、データロストな
どの障害時の保証対策として、FTPを利用するアプリ
ケーション同士についてユーザプロトコルとして伝送相
手となる計算機システムとファイル転送時のやり取りを
規定する取り決めを行う必要があった。よってアプリケ
ーションの開発時にFTPの運用(処理内容)を考慮す
る必要があった。
In addition, as a measure against a failure such as a network disconnection or a data loss, it is necessary to make an agreement that defines an exchange between the applications using FTP with a computer system as a transmission partner as a user protocol at the time of file transfer. Was. Therefore, it was necessary to consider the operation (processing content) of FTP when developing the application.

【0005】このように、オンラインで必要とするデー
タをバッチ処理に対応したFTPで利用する場合は、上
記保障対策のための独自のユーザプロトコルをアプリケ
ーションの付加機能としてさらに開発する必要があり、
計算機上のリソース、ネットワークに与える負荷をFT
Pの利用を計画する時点で予測することが困難となる。
[0005] As described above, when data required online is used by FTP corresponding to batch processing, it is necessary to further develop a unique user protocol for the above security measures as an additional function of the application.
FT for load on computer resources and network
It becomes difficult to predict at the time of planning the use of P.

【0006】さらに加えて、構築するシステムはFTP
の機能以外にアプリケーション上で上記独自のユーザプ
ロトコルを利用するため、特に障害時のデータリカバリ
ー処理が複雑となり、データリカバリーに多くの時間を
要してしまう等の問題点があった。
[0006] In addition, the system to be constructed is FTP.
In addition to the above function, since the above-described unique user protocol is used on the application, there is a problem in that data recovery processing particularly at the time of failure becomes complicated, and much time is required for data recovery.

【0007】この発明は上記問題点を解決するためにな
されたもので、データ伝送がリアルタイムで支障無く行
うことが可能な、複数の計算機間におけるデータ伝送シ
ステムを得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a data transmission system between a plurality of computers which can perform data transmission in real time without any problem.

【0008】[0008]

【課題を解決するための手段】この発明に係る請求項1
記載のデータ伝送システムは、互いに接続される送信制
御部と受信制御部との間で伝送データの伝送を行うデー
タ伝送システムであって、前記送信制御部は、前記伝送
データの伝送順を示す通番情報及び前記伝送データのデ
ータ長を示すデータ長情報を少なくとも含む付加情報を
前記伝送データに付加したデータ伝送メッセージを前記
受信制御部に送信し、前記受信制御部は、前記データ伝
送メッセージを受信し、前記通番情報及び前記データ長
情報に基づき、前記データ伝送メッセージの受信の良否
を判定し、その判定結果を示す受信良否情報を含む制御
伝送メッセージを前記送信制御部に返信する。
Means for Solving the Problems Claim 1 according to the present invention.
The data transmission system according to claim 1, wherein the transmission control unit transmits transmission data between a transmission control unit and a reception control unit connected to each other, wherein the transmission control unit includes a serial number indicating a transmission order of the transmission data. Transmitting a data transmission message in which additional information including at least information and data length information indicating the data length of the transmission data is added to the transmission data to the reception control unit, wherein the reception control unit receives the data transmission message. And determining whether or not the data transmission message is received based on the serial number information and the data length information, and returning a control transmission message including reception quality information indicating a result of the determination to the transmission control unit.

【0009】また、請求項2記載のデータ伝送システム
は、複数のデータ伝送メッセージが伝送される請求項1
記載のデータ伝送システムであって、前記付加情報は一
の前記データ伝送メッセージの有する前記伝送データ
と、他の前記データ伝送メッセージの有する前記伝送デ
ータとの連続性の有無を指示する連続性情報を含み、最
後に送信するデータ伝送メッセージの前記連続性情報は
連続性無しを指示し、それ以外の前記データ伝送メッセ
ージの前記連続性情報は連続性有りを指示する。
In the data transmission system according to the second aspect, a plurality of data transmission messages are transmitted.
The data transmission system according to claim 1, wherein the additional information is continuity information indicating whether there is continuity between the transmission data of one data transmission message and the transmission data of another data transmission message. And the continuity information of the data transmission message transmitted last indicates that there is no continuity, and the continuity information of the other data transmission messages indicates that there is continuity.

【0010】また、請求項3記載のデータ伝送システム
は、請求項2記載のデータ伝送システムであって、前記
制御伝送メッセージは、前記連続性情報が連続性無しを
指示する前記データ伝送メッセージのみに応答して返信
する制御伝送メッセージを含む。
The data transmission system according to a third aspect is the data transmission system according to the second aspect, wherein the control transmission message includes only the data transmission message indicating that the continuity information indicates no continuity. Includes a control transmission message that is returned in response.

【0011】また、請求項4記載のデータ伝送システム
は、請求項1記載のデータ伝送システムであって、前記
伝送データを生成する伝送データ生成部と、各々が前記
伝送データを格納可能な複数の情報格納領域を有し、前
記情報格納領域はそれぞれ所定の順序でポインター値が
割り当てられる送信用情報記憶部とをさらに備え、前記
送信用情報記憶部は、新たに書き込むべき前記情報格納
領域に対応するポインター値を示す送信用書込ポインタ
ー情報と、最後に読み出した前記情報格納領域に対応す
るポインター値を示す送信用読込最終ポインター情報と
をさらに格納し、前記伝送データ生成部は、前記送信用
書込ポインター情報の指示する前記ポインター値に対応
する前記情報格納領域に、生成した前記伝送データを書
き込み、前記所定の順序に従い前記送信用書込ポインタ
ー情報の示す前記ポインター値の次に順序づけられた前
記ポインター値に前記送信用書込ポインター情報を更新
し、前記送信制御部は、前記送信用書込ポインター情報
及び前記送信用読込最終ポインター情報のそれぞれの前
記ポインター値に基づき、読み出すべき前記伝送データ
が存在する場合に、前記所定の順序に従い前記送信用読
込最終ポインター情報の指示する前記ポインター値の次
に順序づけられた前記ポインター値に対応する前記情報
格納領域に格納された伝送データを読み出し、前記送信
用読込最終ポインター情報の示す前記ポインター値の次
に順序づけられたポインター値に前記送信用読込最終ポ
インター情報を更新した後、読み出した前記伝送データ
を含む前記データ伝送メッセージを送信し、前記所定の
順序は、序列が先頭のポインター値を序列が最終のポイ
ンター値の次に順序づけるサイクリック順序を含む。
According to a fourth aspect of the present invention, there is provided a data transmission system according to the first aspect, further comprising a transmission data generating unit for generating the transmission data, and a plurality of transmission data generating units each capable of storing the transmission data. An information storage area, wherein each of the information storage areas further includes a transmission information storage unit to which pointer values are assigned in a predetermined order, wherein the transmission information storage unit corresponds to the information storage area to be newly written. The transmission data generation unit further stores transmission write pointer information indicating a pointer value to be transmitted, and transmission read final pointer information indicating a pointer value corresponding to the information storage area read last. The generated transmission data is written in the information storage area corresponding to the pointer value indicated by the write pointer information, and The transmission write pointer information is updated to the pointer value ordered next to the pointer value indicated by the transmission write pointer information according to the order, and the transmission control unit includes the transmission write pointer information and the Based on the respective pointer values of the transmission read final pointer information, if the transmission data to be read exists, the transmission read final pointer information is ordered next to the pointer value indicated by the transmission read final pointer information according to the predetermined order. The transmission data stored in the information storage area corresponding to the pointer value is read, and the transmission read final pointer information is updated to a pointer value ordered next to the pointer value indicated by the transmission read final pointer information. After that, the data transmission message including the read transmission data is transmitted. And Shin, the predetermined order, hierarchy includes a cyclic sequence to sequence beginning pointer value hierarchy is the next final pointer values.

【0012】また、請求項5記載のデータ伝送システム
は、請求項4記載のデータ伝送システムであって、前記
伝送データに基づき所定の処理を行うデータ処理部と、
各々が前記伝送データが格納可能な複数の情報格納領域
を有し、前記情報格納領域はそれぞれ前記所定の順序で
ポインター値が割り当てられる受信用情報記憶部とをさ
らに備え、前記受信用情報記憶部は、新たに書き込むべ
き前記情報格納領域に対応する前記ポインター値を示す
受信用書込ポインター情報と、最後に読み出した情報格
納領域に対応する前記ポインター値を示す受信用読込最
終ポインター情報とをさらに格納し、前記受信制御部
は、前記受信用書込ポインター情報の指示する前記ポイ
ンター値に対応する前記情報格納領域に、受信したデー
タ伝送メッセージのうち少なくとも前記伝送データを書
き込み、前記所定の順序に従い前記受信用書込ポインタ
ー情報の示す前記ポインター値の次に順序づけられた前
記ポインター値に更新し、前記データ処理部は、前記受
信用書込ポインター情報及び前記受信用読込最終ポイン
ター情報それぞれの前記ポインター値に基づき、読み出
すべき前記伝送データが存在する場合に、前記所定の順
序に従い前記受信用読込最終ポインター情報の指示する
前記ポインター値の次に順序づけられた前記ポインター
値に対応する前記情報格納領域に格納された前記伝送デ
ータを読み出し、前記受信用読込最終ポインター情報の
示す前記ポインター値の次に順序づけられた前記ポイン
ター値に前記受信用読込最終ポインター情報を更新し、
読み出した前記伝送データに基づき前記所定の処理を行
う。
A data transmission system according to a fifth aspect of the present invention is the data transmission system according to the fourth aspect, wherein the data processing unit performs a predetermined process based on the transmission data;
Each having a plurality of information storage areas capable of storing the transmission data, the information storage area further comprising: a reception information storage unit to which pointer values are respectively assigned in the predetermined order; Further includes reception write pointer information indicating the pointer value corresponding to the information storage area to be newly written, and reception read final pointer information indicating the pointer value corresponding to the last read information storage area. Storing, the reception control unit writes at least the transmission data of the received data transmission message in the information storage area corresponding to the pointer value indicated by the reception write pointer information, and according to the predetermined order. Updates the pointer value ordered next to the pointer value indicated by the reception write pointer information. The data processing unit, based on the pointer value of each of the reception write pointer information and the reception read final pointer information, when there is the transmission data to be read out, according to the predetermined order, The transmission data stored in the information storage area corresponding to the pointer value ordered next to the pointer value indicated by the read final pointer information is read, and the transmission data is read next to the pointer value indicated by the reception final pointer information. Update the read last pointer information for reception to the pointer value ordered in,
The predetermined processing is performed based on the read transmission data.

【0013】さらに、請求項6記載のデータ伝送システ
ムは、請求項1記載のデータ伝送システムであって、前
記データ伝送処理の起動及び停止を指示するコマンドを
含む送信用オペレータコマンドが外部より入力可能であ
り、前記送信用オペレータコマンドの指示する内容で前
記送信制御部を制御可能な送信用運転管理部と、前記デ
ータ伝送処理の起動及び停止を指示するコマンドを含む
受信用オペレータコマンドが外部より入力可能であり、
前記受信用オペレータコマンドの指示する内容で前記受
信制御部を制御可能な受信用運転管理部とをさらに備え
ている。
The data transmission system according to a sixth aspect of the present invention is the data transmission system according to the first aspect, wherein a transmission operator command including a command to start and stop the data transmission processing can be input from outside. A transmission operation management unit capable of controlling the transmission control unit with the content specified by the transmission operator command, and a reception operator command including a command for instructing start and stop of the data transmission process are externally input. Is possible,
A reception operation management unit configured to control the reception control unit with the content specified by the reception operator command.

【0014】[0014]

【発明の実施の形態】<実施の形態1>図1はこの発明
の実施の形態1であるデータ伝送システムの構成を示す
ブロック図である。
<First Embodiment> FIG. 1 is a block diagram showing a configuration of a data transmission system according to a first embodiment of the present invention.

【0015】同図に示すように、送信側計算機システム
11は、送信側アプリケーション実行部1、送信制御部
3、及び送信用伝文ファイルF1から構成され、受信側
計算機システム21は、受信側アプリケーション実行部
4、受信制御部6、及び受信用伝文ファイルF2から構
成される。
As shown in FIG. 1, the transmission-side computer system 11 comprises a transmission-side application execution unit 1, a transmission control unit 3, and a transmission message file F1, and the reception-side computer system 21 includes a reception-side application It comprises an execution unit 4, a reception control unit 6, and a reception message file F2.

【0016】送信側アプリケーション実行部1は予め格
納された送信用アプリケーションプログラムを実行する
等によって伝送データを生成し、生成した伝送データ及
びそのデータ長を格納データとして送信用伝文ファイル
F1に書き込む。
The transmission-side application execution unit 1 generates transmission data by executing a transmission application program stored in advance, and writes the generated transmission data and its data length in the transmission message file F1 as storage data.

【0017】送信制御部3は予め格納された送信プログ
ラムを実行する等によって、送信用伝文ファイルF1に
格納された格納データを読み取り、読み取ったレコード
単位の伝送データに基づくデータ伝送メッセージを受信
側計算機システム21の受信制御部6に送信する。な
お、レコード単位とは、データ伝送メッセージの送信が
リアルタイムで可能なレベルの比較的小容量な伝送デー
タのデータ単位を意味する。
The transmission control section 3 reads the stored data stored in the transmission message file F1 by executing a transmission program stored in advance, and transmits a data transmission message based on the read transmission data in record units to the receiving side. The data is transmitted to the reception control unit 6 of the computer system 21. Note that the record unit means a data unit of relatively small-capacity transmission data at a level capable of transmitting a data transmission message in real time.

【0018】受信制御部6は予め格納された受信プログ
ラムを実行する等によって、送信制御部3より送信され
てきたデータ伝送メッセージを受信し、正常に受信した
場合、受信したデータ伝送メッセージを受信用伝文ファ
イルF2に書き込む。
The reception control unit 6 receives the data transmission message transmitted from the transmission control unit 3 by executing a reception program stored in advance or the like. If the data transmission message is received normally, the received data transmission message is received. Write to the message file F2.

【0019】受信側アプリケーション実行部4は予め格
納された受信用アプリケーションプログラムを実行する
等によって、受信用伝文ファイルF2に格納された格納
データに基づき所定のデータ処理を実行する。
The receiving-side application execution unit 4 executes predetermined data processing based on the data stored in the receiving message file F2, for example, by executing a receiving application program stored in advance.

【0020】このような構成において、送信側計算機シ
ステム11から受信側計算機システム21へのデータ伝
送は、送信側アプリケーション実行部1が伝送データ及
びそのデータ長を生成し、送信用伝文ファイルF1にこ
れを書込み、送信制御部3が送信用伝文ファイルF1に
書き込まれた伝送データを読み取り、これに基づいたデ
ータ伝送メッセージを受信制御部6に送信することによ
り完了する。
In such a configuration, when data is transmitted from the transmission-side computer system 11 to the reception-side computer system 21, the transmission-side application execution unit 1 generates transmission data and its data length and stores the transmission data and the data length in the transmission message file F1. This is written, and the transmission control unit 3 reads the transmission data written in the transmission message file F1 and transmits a data transmission message based on the transmission data to the reception control unit 6 to complete the process.

【0021】なお、説明の都合上、送信側計算機システ
ム11及び受信側計算機システム21に分類したがネッ
トワークによるデータ伝送システムは双方向送受信が一
般的であり、送信側計算機システム11が受信側アプリ
ケーション実行部4、受信制御部6、受信用伝文ファイ
ルF2を備えて受信側計算機システムとして機能し、受
信側計算機システム21が送信側アプリケーション実行
部1、送信制御部3、送信用伝文ファイルF1を備えて
送信側計算機システムとして機能可能であることは勿論
である。
For the sake of explanation, the transmission side computer system 11 and the reception side computer system 21 are classified. However, a data transmission system using a network is generally bidirectional transmission / reception, and the transmission side computer system 11 executes the reception side application. Unit 4, a reception control unit 6, and a reception message file F2, and functions as a reception-side computer system. The reception-side computer system 21 transmits the transmission-side application execution unit 1, the transmission control unit 3, and the transmission-use message file F1. Needless to say, it can function as a transmission-side computer system.

【0022】図2は送信制御部3と受信制御部6との間
に介在する伝送路、例えば、ネットワーク上を流れるデ
ータ伝送メッセージのデータ構造のフォーマットを示す
説明図である。同図に示すように、データ構造は伝送コ
マンドC1、データ伝送メッセージの伝送順を示す通番
C2、エラー通番C3、伝送データのデータ長を示すデ
ータ長C6、及び伝送データC7から構成される。C1
〜C3が伝送ヘッダであり、データの伝送時は勿論、制
御コマンドの伝送時にも用いられる。データ長C6はプ
ロトコルヘッダでありデータの伝送時のみ用いられる。
伝送データC7は送信側アプリケーション実行部1で生
成される伝送データそのものである。すなわち、データ
の伝送時の伝送メッセージ(データ伝送メッセージ)は
C1〜C3,C6,C7から成るデータ構造を呈してお
り、制御コマンドの伝送時の伝送メッセージ(制御伝送
メッセージ)から成るC1〜C3のデータ構造を呈して
いる。
FIG. 2 is an explanatory diagram showing a format of a data structure of a transmission path interposed between the transmission control unit 3 and the reception control unit 6, for example, a data transmission message flowing on a network. As shown in the figure, the data structure includes a transmission command C1, a serial number C2 indicating the transmission order of the data transmission message, an error serial number C3, a data length C6 indicating the data length of the transmission data, and the transmission data C7. C1
C3 is a transmission header, which is used not only when transmitting data, but also when transmitting a control command. The data length C6 is a protocol header and is used only when transmitting data.
The transmission data C7 is transmission data itself generated by the transmission-side application execution unit 1. That is, a transmission message (data transmission message) at the time of data transmission has a data structure including C1 to C3, C6, and C7, and a transmission message (control transmission message) of a transmission message (control transmission message) at the time of transmitting a control command. It has a data structure.

【0023】FTPを利用したファイル伝送で問題とな
るデータの欠落は、送信側計算機システム11,受信側
計算機システム21間のコネクション時のエラーより
も、むしろコネクション成功後に発生し得る。以下、こ
の点について述べる。
Data loss which is a problem in file transmission using FTP may occur after a successful connection, rather than an error at the time of connection between the transmitting computer system 11 and the receiving computer system 21. Hereinafter, this point will be described.

【0024】FTPによる伝送方式では、コネクション
エラーは送信側及び受信側に設けられた独自のユーザプ
ログラムによって検知することが可能なため問題になら
ない。
In the transmission system based on the FTP, the connection error is not a problem because it can be detected by a unique user program provided on the transmission side and the reception side.

【0025】一方、コネクション成功後に、実際にファ
イルを伝送する処理が行われることになるが、データの
伝送中にネットワーク断などが発生した場合、受信側計
算機システムは全てのデータを受信していないにも係わ
らず、受信側がEOF(EndOf File)を発生するため、
不完全なファイルを形成してしまうという、データの欠
落が生じてしまう。
On the other hand, the process of actually transmitting the file is performed after the connection succeeds. However, if a network disconnection occurs during the data transmission, the receiving computer system does not receive all the data. Nevertheless, since the receiving side generates EOF (EndOf File),
Data loss, such as formation of an incomplete file, occurs.

【0026】図3は実施の形態1のデータ伝送システム
による送信制御部3の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of the transmission control unit 3 in the data transmission system according to the first embodiment.

【0027】同図を参照して、ステップS1で、新たな
データ伝送メッセージを受信制御部6に送信し、受信制
御部6からの制御伝送メッセージの返信を待ち、ステッ
プS2で、制御伝送メッセージを受信する。
Referring to FIG. 2, in step S1, a new data transmission message is transmitted to reception control unit 6, and a reply of the control transmission message from reception control unit 6 is waited. In step S2, the control transmission message is transmitted. Receive.

【0028】そして、ステップS3で、制御伝送メッセ
ージの指示内容が正常受信であるか否かをチェックし、
正常受信を指示していればステップS1に戻り新たなデ
ータ伝送メッセージを送信し、異常受信を指示していれ
ばステップS4に移行する。
Then, in step S3, it is checked whether or not the instruction content of the control transmission message is normal reception.
If normal reception has been instructed, the process returns to step S1 to transmit a new data transmission message, and if abnormal reception has been instructed, the process proceeds to step S4.

【0029】ステップS4で、再送信回数が所定のリト
ライ回数をオーバーしたか否かをチェックし、オーバー
していればステップS5で送信停止し、オーバーしてい
なければステップS6でデータ伝送メッセージを再送信
し、ステップS2に戻る。
In step S4, it is checked whether or not the number of retransmissions exceeds a predetermined number of retries. If it is, transmission is stopped in step S5. If not, the data transmission message is retransmitted in step S6. Transmit and return to step S2.

【0030】図4は実施の形態1のデータ伝送システム
による受信制御部6の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the reception control unit 6 in the data transmission system according to the first embodiment.

【0031】同図を参照して、ステップS11で、送信
制御部3からのデータ伝送メッセージを受信し、ステッ
プS12で伝送データC7のデータ長がデータ長C6と
一致するか否か及び通番C2が伝送順通りの値になって
いるか否かに基づき、データ伝送メッセージの受信状態
を検証して正常受信であるか異常受信であるかをチェッ
クする。
Referring to FIG. 3, in step S11, a data transmission message from transmission control unit 3 is received, and in step S12, whether the data length of transmission data C7 matches data length C6 and whether serial number C2 is determined. Based on whether or not the values are in the order of transmission, the reception state of the data transmission message is verified to check whether the reception is normal or abnormal.

【0032】ステップS12で正常受信が確認される
と、ステップS13で受信したデータ伝送メッセージを
受信用伝文ファイルF2に書き込み、到着通知を受信側
アプリケーション実行部4に伝達した後、ステップS1
4に移行する。一方、ステップS12で異常受信が確認
されると、直ちにステップS14に移行する。
If normal reception is confirmed in step S12, the received data transmission message is written in the reception message file F2 in step S13, and an arrival notification is transmitted to the receiving-side application execution unit 4, and then step S1 is executed.
Move to 4. On the other hand, when abnormal reception is confirmed in step S12, the process immediately proceeds to step S14.

【0033】ステップS14で、受信状態の正常/異常
を指示する制御伝送メッセージを送信制御部3に返信し
た後、ステップS1に戻り次のデータ伝送メッセージを
待つ。
In step S14, after returning a control transmission message instructing the normal / abnormal reception state to the transmission control unit 3, the process returns to step S1 and waits for the next data transmission message.

【0034】図5は実施の形態1のデータ伝送システム
によるデータ伝送状況を示す説明図である。送信制御部
3は受信制御部6に図2で示したデータ構造C1〜C
3,C6,C7からなるデータ伝送メッセージを送信す
る。なお、図5において、通番Nの伝送データ(データ
長M)を含むデータ伝送メッセージを示すべく、伝送コ
マンドC1、通番C2、データ長C6を「DT N
M」と略記している。
FIG. 5 is an explanatory diagram showing a data transmission situation by the data transmission system of the first embodiment. The transmission control unit 3 provides the reception control unit 6 with the data structures C1 to C shown in FIG.
A data transmission message consisting of C3, C6 and C7 is transmitted. In FIG. 5, the transmission command C1, the serial number C2, and the data length C6 are indicated by "DT N" to indicate a data transmission message including the transmission data (data length M) of the serial number N.
M ”.

【0035】受信制御部6は、受信したデータ伝送メッ
セージの受信状況を検証して正常受信を確認すると、デ
ータ構造C1〜C3から成り正常受信を指示する制御伝
送メッセージを送信制御部3に返信するとともに、デー
タ伝送メッセージを受信用伝文ファイルF2に書き込ん
だ後受信側アプリケーション実行部4に到着通知を伝達
する。
When the reception control section 6 verifies the reception status of the received data transmission message and confirms normal reception, it returns a control transmission message composed of data structures C1 to C3 and instructing normal reception to the transmission control section 3. At the same time, after writing the data transmission message in the message file F2 for reception, it transmits an arrival notification to the application execution unit 4 on the reception side.

【0036】なお、受信状況の検証は、前述したよう
に、データ伝送メッセージにおけるデータ長Mと伝送デ
ータC7の実際のデータ長との比較及び通番C2が伝送
順通りの値になっているかによって行われる。また、図
5において、通番Nの伝送データ(データ長M)の正常
受信を意味する制御伝送メッセージを示すべく、伝送コ
マンドC1(データ正常受信コマンド)、通番C2、エ
ラー通番C3を「OKN Δ」と略記している。ただ
し、Δは空を示している。
As described above, the verification of the reception status is performed by comparing the data length M in the data transmission message with the actual data length of the transmission data C7 and checking whether the serial number C2 has the value in the transmission order. Will be In FIG. 5, the transmission command C1 (data normal reception command), the serial number C2, and the error serial number C3 are set to “OKN Δ” to indicate a control transmission message indicating normal reception of the transmission data (data length M) of the serial number N. Abbreviated. Here, Δ indicates the sky.

【0037】次に、送信制御部3は通番Nの次の(N+
1)の通番の伝送データ(データ長M)を含むデータ伝
送メッセージ「DT N+1 M」を受信制御部6に伝
送する。これに対して、受信制御部6は受信状況を検証
後、通番(N+1)の伝送データの正常受信を意味する
制御伝送メッセージ「OK N+1 Δ」を送信制御部
3に返信するとともに、データ伝送メッセージを受信用
伝文ファイルF2に書き込んだ後に受信側アプリケーシ
ョン実行部4に到着通知を伝達する。
Next, the transmission control unit 3 sets (N +
The data transmission message “DT N + 1 M” including the transmission data (data length M) of the serial number of 1) is transmitted to the reception control unit 6. On the other hand, after verifying the reception status, the reception control unit 6 returns a control transmission message “OK N + 1 Δ” indicating normal reception of the transmission data of the serial number (N + 1) to the transmission control unit 3 and also transmits the data transmission message. Is written to the receiving message file F2, and then an arrival notification is transmitted to the receiving-side application execution unit 4.

【0038】続いて、送信制御部3は通番(N+3)の
伝送データ(データ長M)を含むデータ伝送メッセージ
「DT N+3 M」を受信制御部6に伝送する。これ
に対して、受信制御部6は通番(N+3)の伝送データ
の異常受信(通番C2が伝送順通りの値(N+2)にな
っていない)を認識し、異常受信を意味する制御伝送メ
ッセージ「NG N+3 N+2」を送信制御部3に返
信する。ここで、エラー通番C3の(N+2)は、通番
(N+2)のデータ伝送メッセージの送信を送信制御部
3に促している。
Subsequently, the transmission control unit 3 transmits a data transmission message “DT N + 3 M” including the transmission data (data length M) of the serial number (N + 3) to the reception control unit 6. On the other hand, the reception control unit 6 recognizes the abnormal reception of the transmission data of the serial number (N + 3) (the serial number C2 is not the value (N + 2) according to the transmission order), and the control transmission message “the abnormal reception” NG N + 3 N + 2 "to the transmission control unit 3. Here, (N + 2) of the error serial number C3 urges the transmission control unit 3 to transmit the data transmission message of the serial number (N + 2).

【0039】データ受信異常コマンドNGを受けた送信
制御部3は再度、誤って通番(N+3)の伝送データを
含むデータ伝送メッセージ「DT N+3 M」を受信
制御部6に送信する(リトライ動作)。これに対して、
受信制御部6は通番(N+3)の伝送データの異常受信
を再度認識し、異常受信を意味する制御伝送メッセージ
「NG N+3 N+2」を送信制御部3に再度返信す
る。
Receiving the data reception abnormal command NG, the transmission control unit 3 erroneously transmits a data transmission message “DT N + 3 M” including transmission data of the serial number (N + 3) to the reception control unit 6 again (retry operation). On the contrary,
The reception control unit 6 recognizes the abnormal reception of the transmission data of the serial number (N + 3) again, and returns the control transmission message “NG N + 3 N + 2” indicating the abnormal reception to the transmission control unit 3 again.

【0040】データ受信異常コマンドNGを再度受け
た、送信制御部3は再々度、誤って通番(N+3)の伝
送データを含むデータ伝送メッセージ「DT N+3
M」を受信制御部6に送信する(リトライ動作)。これ
に対して、受信制御部6は通番(N+3)の伝送データ
の異常受信を再々度認識し、異常受信を意味する制御伝
送メッセージ「NG N+3 N+2」を送信制御部3
に返信する。
Upon receiving the data reception abnormal command NG again, the transmission control unit 3 again erroneously retransmits the data transmission message “DT N + 3” including the transmission data of the serial number (N + 3).
"M" to the reception control unit 6 (retry operation). On the other hand, the reception control unit 6 recognizes the abnormal reception of the transmission data of the serial number (N + 3) again and sends the control transmission message “NG N + 3 N + 2” indicating the abnormal reception to the transmission control unit 3.
Reply to.

【0041】データ受信異常コマンドNGを3度連続し
て受けた、送信制御部3はリトライ回数オーバーの送信
異常と認識し、リトライ動作を行うことなく伝送メッセ
ージの伝送を停止する。
Upon receiving the data reception error command NG three times in succession, the transmission control unit 3 recognizes that the transmission error has exceeded the number of retries, and stops transmission of the transmission message without performing the retry operation.

【0042】図5の例ではリトライ回数がオーバーする
例を示したが、正常動作では、「NG N+3 N+
2」の制御伝送メッセージに応答して、送信制御部3
は、正常な通番(N+2)の伝送データを含むデータ伝
送メッセージ「DT N+2 M」を送る。
Although the example of FIG. 5 shows an example in which the number of retries is exceeded, in a normal operation, “NG N + 3 N +
2 ”in response to the control transmission message of“ 2 ”.
Sends a data transmission message “DT N + 2 M” including transmission data of a normal serial number (N + 2).

【0043】このように、実施の形態1のデータ伝送シ
ステムは、送信側計算機システム11,受信側計算機シ
ステム21間で通番C2及びデータ長C6を含む付加情
報を伝送データC7に追加したデータ構造のデータ伝送
メッセージを用いてレコード単位にデータ伝送を行うた
め、従来のFTPによるデータ伝送時のように、不完全
なデータが誤って受信側計算機システム21に受信され
てしまうことはなく、データ伝達の保証を送信制御部3
及び受信制御部6によって自動制御できる。
As described above, the data transmission system of the first embodiment has a data structure in which additional information including the serial number C2 and the data length C6 is added to the transmission data C7 between the transmission-side computer system 11 and the reception-side computer system 21. Since data transmission is performed on a record-by-record basis using the data transmission message, incomplete data is not erroneously received by the receiving computer system 21 unlike the conventional data transmission by FTP. Guarantee transmission control unit 3
And can be automatically controlled by the reception control unit 6.

【0044】そして、実施の形態1のデータ伝送システ
ムの受信制御部6は、データ伝送メッセージ中の伝送デ
ータのデータ長とデータ長C6との比較及び通番C2が
伝送順通りであるか否かに基づき、レコード単位のデー
タ伝送メッセージの受信状態の検証を行うことができる
ため、レコード単位の伝送データの伝送を精度良く行う
ことができる。
Then, the reception control unit 6 of the data transmission system according to the first embodiment compares the data length of the transmission data in the data transmission message with the data length C6 and determines whether the serial number C2 is in the transmission order. Based on this, it is possible to verify the reception state of the data transmission message on a record basis, so that transmission of the transmission data on a record basis can be performed with high accuracy.

【0045】さらに、データ伝送メッセージ内の伝送デ
ータのデータ量を比較的小容量なレコード単位に設定す
ることにより、データ伝送がリアルタイムで支障無く行
うことが可能となる。
Further, by setting the data amount of the transmission data in the data transmission message in a relatively small record unit, data transmission can be performed in real time without any trouble.

【0046】<実施の形態2>実施の形態1のデータ伝
送システムにおいて、送信側計算機システム11におい
て送信側アプリケーション実行部1が唯一のインタフェ
ースとしてアクセス可能なのが送信用伝文ファイルF1
であり、受信側計算機システム21において受信側アプ
リケーション実行部4が唯一のインタフェースとしてア
クセス可能なのが受信用伝文ファイルF2である。
<Second Embodiment> In the data transmission system of the first embodiment, the transmission message file F1 can be accessed by the transmission-side application execution unit 1 as the only interface in the transmission-side computer system 11.
In the receiving computer system 21, the receiving message file F2 can be accessed by the receiving application executing unit 4 as a sole interface.

【0047】送信用伝文ファイルF1及び受信用伝文フ
ァイルF2は、通常の利用法ではファイルに収まるレコ
ード長が最大レコード長となってしまう制限を受けてし
まう。
The transmission message file F1 and the reception message file F2 are subject to the restriction that the record length that can be accommodated in the file becomes the maximum record length in a normal usage.

【0048】このように、実施の形態1のデータ伝送シ
ステムを用いる際は、実際の業務に用いるアプリケーシ
ョンデータの有効活用の観点から考えると、固定の最大
レコード長をもたない方がベターである。また、バッチ
処理で有効に利用できる従来のFTPファイル伝送の様
な一括伝送のような比較的大容量なデータ伝送にも不向
きであるというデメリットもあった。
As described above, when the data transmission system according to the first embodiment is used, it is better not to have a fixed maximum record length from the viewpoint of effective use of application data used in actual work. . There is also a disadvantage that it is not suitable for relatively large-capacity data transmission such as batch transmission such as conventional FTP file transmission that can be effectively used in batch processing.

【0049】実施の形態2のデータ伝送システムでは、
上記デメリットの改善を図ったものである。
In the data transmission system according to the second embodiment,
This is to improve the above disadvantages.

【0050】図6は実施の形態2のデータ伝送システム
において、実際にネットワーク上を流れる伝送メッセー
ジのデータ構造のフォーマットを示す説明図である。同
図に示すように、データ構造は伝送コマンドC1、通番
C2、エラー通番C3、確定フラグC4、分割フラグC
5、データ長C6、及び伝送データC7から構成され
る。C1〜C3が伝送ヘッダであり、データの伝送時は
勿論、制御コマンドの伝送時にも用いられる。C4〜C
6はプロトコルヘッダでありデータの伝送時にも用いら
れる。すなわち、データ伝送メッセージはC1〜C7の
データ構造を呈しており、制御伝送メッセージはC1〜
C3のデータ構造を呈している。
FIG. 6 is an explanatory diagram showing the format of the data structure of the transmission message actually flowing on the network in the data transmission system of the second embodiment. As shown in the figure, the data structure includes a transmission command C1, a serial number C2, an error serial number C3, a fixed flag C4, a division flag C
5, data length C6, and transmission data C7. C1 to C3 are transmission headers, which are used not only when transmitting data but also when transmitting control commands. C4-C
Reference numeral 6 denotes a protocol header which is also used when transmitting data. That is, the data transmission message has a data structure of C1 to C7, and the control transmission message has a data structure of C1 to C7.
It shows the data structure of C3.

【0051】分割フラグC5は伝送データC7の連続性
を考慮した制御を可能にしたプロトコルヘッダとしての
フラグであり、分割フラグC5がオン状態のとき当該伝
送データC7の終了(分割可能,連続性無し)を意味
し、オフ状態のとき当該伝送データC7の次に連続する
伝送データC7が他のデータ伝送メッセージに存在する
こと(分割不可能,連続性有り)を意味する。
The division flag C5 is a flag as a protocol header which enables control in consideration of the continuity of the transmission data C7. When the division flag C5 is in the ON state, the end of the transmission data C7 (division possible, no continuity) ) Means that, in the off state, the next transmission data C7 following the transmission data C7 exists in another data transmission message (individable, continuous).

【0052】確定フラグC4は送信制御部3、受信制御
部6間のデータの伝送時における制御を行うためのフラ
グであり、確定フラグC4がオン状態のとき当該伝送デ
ータC7は終了であること(確定,連続性無し)を意味
し、オフ状態のとき当該伝送データC7の次に連続する
伝送データC7が他のデータ伝送メッセージに存在する
こと(不確定,連続性有り)を意味する。
The confirmation flag C4 is a flag for performing control at the time of data transmission between the transmission control unit 3 and the reception control unit 6. When the confirmation flag C4 is on, the transmission data C7 is completed ( (Determined, no continuity), and means that the next transmission data C7 following the transmission data C7 is present in another data transmission message (uncertain, continuity) in the off state.

【0053】図7は実施の形態2のデータ伝送システム
によるデータ伝送状況を示す説明図である。図示しない
送信側アプリケーション実行部1より生成されるデータ
が、データ構造C5〜C7からなる格納データ(C1〜
C4は空)として送信用伝文ファイルF1に書き込まれ
る。この際、分割フラグC5がオフ状態(Δ)のときは
次の生成データを連続して書き込む、以降、分割フラグ
C5がオン状態(E)となるまで連続して書き込む。
FIG. 7 is an explanatory diagram showing a data transmission situation by the data transmission system of the second embodiment. Data generated by the transmitting-side application execution unit 1 (not shown) is stored data (C1 to C7) having data structures C5 to C7.
C4 is written as empty) in the transmission message file F1. At this time, when the division flag C5 is in the off state (Δ), the next generated data is continuously written. Thereafter, the data is continuously written until the division flag C5 is turned on (E).

【0054】図7の例では、送信用伝文ファイルF1
は、生成データを4回連続して書込み、4回目の生成デ
ータの分割フラグC5をオン状態に設定している。その
後、送信制御部3が送信用伝文ファイルF1から読出処
理を行う。
In the example of FIG. 7, the transmission message file F1
, The generated data is written four times in succession, and the division flag C5 of the fourth generated data is set to the ON state. Thereafter, the transmission control unit 3 performs a reading process from the transmission message file F1.

【0055】送信制御部3は送信用伝文ファイルF1か
ら読み出した格納データに伝送ヘッダC1〜C3及び確
定フラグC4を追加して、図6で示したデータ構造C1
〜C7からなるデータ伝送メッセージを受信制御部6に
送信する。この際、送信制御部3は、分割フラグC5の
内容を確認しながら分割フラグC5がオン状態のとき確
定フラグC4がオン状態(F)のデータ伝送メッセージ
が最終のデータ伝送メッセージとなるように、データ伝
送メッセージを受信制御部6にレコード単位に順次連続
して出力する。なお、図7において、通番Nの伝送デー
タを含むデータ伝送メッセージを示すべく、伝送コマン
ドC1、通番C2を「DT N」と略記している。
The transmission control unit 3 adds the transmission headers C1 to C3 and the confirmation flag C4 to the stored data read from the transmission message file F1, and adds the data header C1 to the data structure C1 shown in FIG.
To the reception control unit 6. At this time, the transmission control unit 3 checks the content of the division flag C5 so that when the division flag C5 is on, the data transmission message with the confirmation flag C4 on (F) is the final data transmission message. The data transmission messages are sequentially and continuously output to the reception control unit 6 in record units. In FIG. 7, the transmission command C1 and the serial number C2 are abbreviated as “DTN” to indicate a data transmission message including the transmission data of the serial number N.

【0056】受信制御部6は、データ伝送メッセージに
おけるデータ長と伝送データC7の実際のデータ長との
比較処理及び通番C2が伝送順通りであるか否かの検証
処理によって、伝送データ転送が正常に行われたか否か
をデータ伝送メッセージ単位で確認するとともに、確定
フラグC4がオフ状態(Δ)のとき次のデータ伝送メッ
セージを待ち、確定フラグC4がオン状態(F)のと
き、はじめてデータ伝送メッセージが正常に受信された
か否かを示す制御伝送メッセージを送信制御部3に返信
する。
The reception control unit 6 compares the data length in the data transmission message with the actual data length of the transmission data C7, and verifies whether the serial number C2 is in the transmission order. Is confirmed in units of data transmission messages, and when the confirmation flag C4 is in the off state (Δ), the next data transmission message is waited. When the confirmation flag C4 is in the on state (F), data transmission is performed for the first time. A control transmission message indicating whether or not the message has been normally received is returned to the transmission control unit 3.

【0057】図7の例では、送信制御部3は通番N〜
(N+3)のデータ伝送メッセージを4回連続して受信
制御部6に送信し、受信制御部6は通番N〜(N+3)
のデータ伝送メッセージを4回連続して受け、通番N〜
(N+3)の伝送データ全ての正常受信を意味する制御
伝送メッセージを送信制御部3に返信している。
In the example of FIG. 7, the transmission control unit 3
The (N + 3) data transmission message is transmitted to the reception control unit 6 four times in succession, and the reception control unit 6 sets the serial number N to (N + 3).
Received the data transmission message four times in succession,
A control transmission message indicating normal reception of all (N + 3) transmission data is returned to the transmission control unit 3.

【0058】なお、図7において、伝送コマンドC1
(データ正常受信コマンド)、通番C2、エラー通番C
3を「OK N+3 Δ」と略記している。ただし、Δ
はエラー無しを意味する。なお、データ伝送メッセージ
が連続して受信制御部6に伝送される場合、最後のデー
タ伝送メッセージの通番を通番C2及びエラー通番C3
として用いる。
In FIG. 7, the transmission command C1
(Data normal reception command), serial number C2, error serial number C
3 is abbreviated as “OK N + 3 Δ”. Where Δ
Means no error. When the data transmission message is continuously transmitted to the reception control unit 6, the serial number C2 and the error serial number C3 of the last data transmission message are used.
Used as

【0059】例えば、図7において、受信制御部6が通
番N〜(N+3)のデータ伝送メッセージにおける伝送
データのいずれかに異常受信を確認した場合、「NG
N+3 N+3」の制御伝送メッセージを送信制御部3
に返信することにより、送信制御部3に、通番N〜(N
+3)のデータ伝送メッセージを再度連続して送信する
ことを促す。
For example, in FIG. 7, when the reception control unit 6 confirms abnormal reception in any of the transmission data in the data transmission messages of the serial numbers N to (N + 3), the message "NG
N + 3 N + 3 ”control transmission message
, The transmission control unit 3 sends the serial numbers N to (N
The user is prompted to continuously transmit the data transmission message of +3) again.

【0060】このように、実施の形態2は情報量が比較
的大きな大容量伝送データを伝送する際、当該大容量伝
送データを連続するレコード単位の複数の伝送データ
(データ伝送メッセージ)として送信する機能を備える
ことにより、情報管理ファイルF2の容量を超える情報
量のデータの送信も支障無く行える。この際、受信制御
部6からの制御伝送メッセージが送信制御部3に返され
るのは、連続する複数の伝送データの最終データの伝送
後に行われることにより、大容量伝送データ単位となる
ため、効率的に大容量伝送データを送信することができ
る。
As described above, according to the second embodiment, when transmitting large-capacity transmission data having a relatively large amount of information, the large-capacity transmission data is transmitted as a plurality of transmission data (data transmission messages) in continuous record units. By providing the function, transmission of data having an information amount exceeding the capacity of the information management file F2 can be performed without any trouble. At this time, since the control transmission message from the reception control unit 6 is returned to the transmission control unit 3 after transmission of the last data of a plurality of continuous transmission data, it becomes a large-capacity transmission data unit. Large-capacity transmission data can be transmitted.

【0061】なお、確定フラグC4は送信制御部3,受
信制御部6間で連続して伝送されるデータ伝送メッセー
ジの最終を意味しており、必ずしも分割フラグC5のよ
うに大容量伝送データの最終を意味するものではない。
複数の大容量伝送データ中の最終の大容量伝送データ内
の最終のデータ伝送メッセージの確定フラグC4のみオ
ン状態に設定することにより、複数の大容量伝送データ
をデータ伝送メッセージ単位に連続して伝送することも
可能となる。
The confirmation flag C4 indicates the end of a data transmission message continuously transmitted between the transmission control unit 3 and the reception control unit 6, and is not necessarily the end of the large-capacity transmission data like the division flag C5. It does not mean.
By setting only the confirmation flag C4 of the final data transmission message in the last large-capacity transmission data in the plurality of large-capacity transmission data to the ON state, the plurality of large-capacity transmission data are continuously transmitted in data transmission message units. It is also possible to do.

【0062】例えば、図8に示すように、通番N〜(N
+3)のデータ伝送メッセージによって第1の大容量伝
送データを送信し、通番(N+4)〜(N+6)のデー
タ伝送メッセージによって第2の大容量伝送データを送
信する際、通番(N+6)のデータ伝送メッセージの確
定フラグC4のみをオン状態にして、通番N〜(N+
6)のデータ伝送メッセージを連続して送信することも
できる。
For example, as shown in FIG.
When the first large-capacity transmission data is transmitted by the data transmission message of (+3) and the second large-capacity transmission data is transmitted by the data transmission messages of the serial numbers (N + 4) to (N + 6), the data transmission of the serial number (N + 6) is performed. Only the message confirmation flag C4 is turned on, and the serial numbers N to (N +
The data transmission message of 6) can be transmitted continuously.

【0063】<実施の形態3>図9はこの発明の実施の
形態3であるデータ伝送システムで用いる送信用伝文フ
ァイルF1,受信用伝文ファイルF2の内部構造(送信
用伝文ファイルF1,受信用伝文ファイルF2で全く同
じ構造)を示す説明図である。同図に示すように、伝文
ファイル内に割り当てられる全てのレコードがレコード
位置に対応して情報格納領域が設けられている。そし
て、伝文ファイルに対する書込み及び読出し制御用にポ
インター値(位置情報)が設けられている。
<Third Embodiment> FIG. 9 shows the internal structure of transmission message file F1 and reception message file F2 (transmission message file F1 and F1) used in the data transmission system according to the third embodiment of the present invention. FIG. 9 is an explanatory diagram showing the same structure of the receiving message file F2). As shown in the figure, all the records allocated in the message file have information storage areas corresponding to the record positions. A pointer value (position information) is provided for controlling writing and reading of the message file.

【0064】図9の例では、ポインター値が“1”(1
レコード目)の情報格納領域には伝文ファイルを構成す
るポインター値の最大値(最大ポインター値n)が格納
され、ポインター値が“2”(2レコード目)の情報格
納領域には送信制御部3によって読み込み処理が行われ
た最終レコード位置を示すポインター値(読込最終レコ
ードポインター値LK)が格納され、ポインター値が
“3”(3レコード目)の情報格納領域には書込み処理
を行うレコード位置を示すポインター値(書込レコード
ポインター値NW)が格納されるように予め設定してい
る。
In the example of FIG. 9, the pointer value is "1" (1
The maximum value (maximum pointer value n) of the pointer values constituting the message file is stored in the information storage area of the (record), and the transmission control unit is stored in the information storage area of the pointer value of "2" (the second record). The pointer value (read last record pointer value LK) indicating the last record position where the reading process has been performed by No. 3 is stored, and the record position where the writing process is performed is stored in the information storage area where the pointer value is “3” (third record). Is set in advance so that a pointer value (write record pointer value NW) indicating the above is stored.

【0065】ポインター値が“4”から最大ポインター
値nまでの情報格納領域には、図2あるいは図6で示し
たデータ構造の1レコード単位の伝送メッセージ(C1
〜C4は空)が格納データとして格納できる。
In the information storage area from the pointer value "4" to the maximum pointer value n, the transmission message (C1) in units of one record having the data structure shown in FIG. 2 or FIG.
To C4 are empty) can be stored as storage data.

【0066】送信側アプリケーション実行部1は書込レ
コードポインター値NWと読込最終レコードポインター
値LKとの比較から書き込み可能な情報格納領域の有無
を判断し、書込み可能な情報格納領域が存在する場合
に、1レコード単位のデータを生成し、生成したデータ
を送信用伝文ファイルF1の書込レコードポインター値
NWが示すポインター値の情報格納領域に格納データと
して書き込み、その後、ポインター値“3”の書込レコ
ードポインター値NWを1インクリメントする。
The transmission-side application execution unit 1 determines the presence or absence of a writable information storage area based on a comparison between the write record pointer value NW and the read last record pointer value LK. 1. Generate data in units of one record, write the generated data as storage data in the information storage area of the pointer value indicated by the write record pointer value NW of the transmission message file F1, and then write the pointer value "3". Increment the record pointer value NW by one.

【0067】送信制御部3は、書込レコードポインター
値NWと読込最終レコードポインター値LKとの比較か
ら読み出すべき格納データの有無を判断し、読み出すべ
き格納データが存在する場合に、送信用伝文ファイルF
1におけるポインター値(LK(読込最終レコードポイ
ンター値)+1)の情報格納領域の格納データを読出
し、読出した格納データに伝送ヘッダを付加して、デー
タ伝送メッセージとして受信制御部6に送信し、その
後、ポインター値“2”の読込最終レコードポインター
値LKを1インクリメントする。
The transmission control unit 3 determines whether or not there is stored data to be read out by comparing the write record pointer value NW and the read last record pointer value LK. File F
The data stored in the information storage area of the pointer value (LK (read last record pointer value) +1) at 1 is read, a transmission header is added to the read storage data, and the data is transmitted to the reception control unit 6 as a data transmission message. Then, the read last record pointer value LK of the pointer value “2” is incremented by one.

【0068】受信制御部6は、送信側アプリケーション
実行部1が送信用伝文ファイルF1に対するのと同様、
受信用伝文ファイルF2における書込レコードポインタ
ー値NWが示すポインター値の情報格納領域に受信した
データ伝送メッセージを書き込み、その後、ポインター
値“3”の書込レコードポインター値NWを1インクリ
メントする。
The reception control unit 6 controls the transmission-side application execution unit 1 in the same manner as for the transmission message file F1.
The received data transmission message is written in the information storage area of the pointer value indicated by the write record pointer value NW in the reception message file F2, and thereafter, the write record pointer value NW of the pointer value “3” is incremented by one.

【0069】受信側アプリケーション実行部4は、送信
制御部3が送信用伝文ファイルF1に対すると同様、受
信用伝文ファイルF2におけるポインター値(LK(読
込最終レコードポインター値)+1)の情報格納領域の
格納データを読出し、読出した格納データに基づきアプ
リケーションを実行するとともに、ポインター値“2”
の読込最終レコードポインター値LKを1インクリメン
トする。
The receiving-side application execution unit 4 stores an information storage area of the pointer value (LK (read last record pointer value) +1) in the reception message file F2 in the same manner as the transmission control unit 3 applies to the transmission message file F1. , The application is executed based on the read storage data, and the pointer value “2” is read.
Is incremented by one.

【0070】送信側アプリケーション実行部1及び送信
制御部3による送信用伝文ファイルF1に対する書込み
及び読出しのポインター値制御、並びに受信制御部6及
び受信側アプリケーション実行部4による受信用伝文フ
ァイルF2に対する書込み及び読出しのポインター値制
御は以下の制御規則を満足するように行う。
Pointer value control for writing and reading of the transmission message file F1 by the transmission-side application execution unit 1 and the transmission control unit 3 and control of the reception message file F2 by the reception control unit 6 and the reception-side application execution unit 4 Write and read pointer value control is performed so as to satisfy the following control rules.

【0071】(1)書込レコードポインター値NW及び
読込最終レコードポインター値LKはそれぞれ最大ポイ
ンター値nに達した際に次のインクリメント実行時に、
4レコード目のポインター値“4”に更新する。 (2)読込最終レコードポインター値LKは書込レコー
ドポインター値NWに一致させない。なぜならば、書込
レコードポインター値NWに“1”を引いた値が読込最
終レコードポインター値LKと一致した場合、読み出す
べき格納データが存在しないため、読出し処理を実行す
る必要がないからである。 (3)書込みに際して、書込レコードポインター値NW
は読込最終レコードポインター値LKを超えないように
する。すなわち、書込レコードポインター値NWと読込
最終レコードポインター値LKが一致している場合、書
き込み可能な情報格納領域がないため、書込むべきデー
タを発生させない。
(1) When the write record pointer value NW and the read last record pointer value LK reach the maximum pointer value n, respectively, when the next increment is executed,
The pointer value of the fourth record is updated to “4”. (2) The read last record pointer value LK does not match the write record pointer value NW. This is because, when the value obtained by subtracting “1” from the write record pointer value NW matches the read last record pointer value LK, there is no storage data to be read, so that it is not necessary to execute the read process. (3) When writing, the write record pointer value NW
Does not exceed the read last record pointer value LK. That is, when the write record pointer value NW and the read last record pointer value LK match, no data to be written is generated because there is no writable information storage area.

【0072】上記制御規則を満足することにより、図9
に示すように、書込レコードポインター値NWから読込
最終レコードポインター値LKに“1”を加えた情報格
納領域が読出し未処理領域となり、それ以外の領域が空
き領域(処理済み領域を含む)となる。読出し未処理領
域が存在する時は読み出すべき格納データが存在するこ
とになる。
By satisfying the above control rules, FIG.
As shown in the figure, the information storage area obtained by adding "1" to the read last record pointer value LK from the write record pointer value NW is a read unprocessed area, and the other areas are free areas (including processed areas). Become. When there is an unread area, there is stored data to be read.

【0073】空き領域のうち一度でも書込み処理が行わ
れている領域は、処理済み領域となり、以前に読み出さ
れた格納データが残存しているため、障害時送信できな
かったデータを再度送信することは勿論、上記制御規則
を満足させながら読込最終レコードポインター値LKを
意図的に変更することにより、空き領域に残存した格納
データを再度送信することもできる。
The area in which the write processing has been performed at least once in the free area is a processed area, and since the storage data previously read remains, data that could not be transmitted at the time of failure is transmitted again. Needless to say, by intentionally changing the read last record pointer value LK while satisfying the above control rules, the stored data remaining in the empty area can be transmitted again.

【0074】FTPファイル伝送などのバッチ処理で
は、予め拡張可能な最大サイズまで段階的に伝送データ
量を増加する際に、最大拡張データ量を超えるエクステ
ンド・オーバーなどが発生するなどの不具合が生じるた
め、ファイル管理は複雑である。
In batch processing such as FTP file transmission, when the amount of transmission data is increased stepwise up to the maximum scalable size in advance, problems such as occurrence of overextend exceeding the maximum expansion data amount may occur. , File management is complicated.

【0075】これに対して、実施の形態3では、上述し
た制御規則(1)を満足する制御を行うため、伝文ファ
イルの情報格納領域はサイクリックに利用することがで
きる。その結果、送信用伝文ファイルF1,受信用伝文
ファイルF2の容量が比較的小容量でもほとんど支障無
くデータ伝送が行えるため、ファイルサイズの管理を容
易に済ますことができる。
On the other hand, in the third embodiment, since the control that satisfies the above-described control rule (1) is performed, the information storage area of the message file can be cyclically used. As a result, even if the size of the transmission message file F1 and the size of the reception message file F2 are relatively small, data transmission can be performed with almost no trouble, and the file size can be easily managed.

【0076】<実施の形態4>図10はこの発明の実施
の形態4であるデータ伝送システムの構成を示すブロッ
ク図である。同図に示すように、送信制御部3を制御す
る送信側運転管理部2と、受信制御部6を制御する受信
側運転管理部5が追加されている。なお、他の構成は図
1で示した実施の形態1と同様である。
<Fourth Embodiment> FIG. 10 is a block diagram showing a configuration of a data transmission system according to a fourth embodiment of the present invention. As shown in the figure, a transmission-side operation management unit 2 that controls the transmission control unit 3 and a reception-side operation management unit 5 that controls the reception control unit 6 are added. Other configurations are the same as those of the first embodiment shown in FIG.

【0077】送信側及び受信側運転管理部2及び5は、
実施の形態1〜実施の形態3のデータ伝送システムによ
るデータ伝送を外部から有効かつ容易に実現するため
に、外部からのオペレータコマンドに基づき送信制御部
3及び受信制御部6を制御して計算機間を結ぶネットワ
ークを論理的に制御する。送信側及び受信側運転管理部
2及び5によって、送信側アプリケーション実行部1及
び受信側アプリケーション実行部4にネットワークを意
識させない環境を実現することができる。
The operation management units 2 and 5 on the transmission side and the reception side are
In order to effectively and easily realize data transmission by the data transmission system according to the first to third embodiments from outside, the transmission control unit 3 and the reception control unit 6 are controlled based on an operator command from the outside, and the computer Is logically controlled. The transmission-side and reception-side operation management units 2 and 5 can realize an environment in which the transmission-side application execution unit 1 and the reception-side application execution unit 4 are not aware of the network.

【0078】図11及び図12は送信側及び受信側運転
管理部2及び5によるネットワークを論理的に制御する
ために利用するコマンド(伝送コマンド、オペレータコ
マンド)や、プログラム状態を示すステータス情報を示
す説明図である。なお、ステータス情報はコマンドによ
って遷移する。
FIGS. 11 and 12 show commands (transmission commands and operator commands) used for logically controlling the network by the transmission side and reception side operation management sections 2 and 5, and status information indicating the program state. FIG. The status information changes according to the command.

【0079】送信制御部3及び受信制御部6で実行され
るプログラムは、ネットワークを利用して送受信処理を
行う状態にあるかどうか、送受信処理を行って問題ない
のか否か等の、データ伝送システムの状態(ステータ
ス)やオペレータの要求を判断する必要があるため、図
11で示すようなステータス情報を持つ。
The programs executed by the transmission control unit 3 and the reception control unit 6 include a data transmission system for determining whether or not transmission / reception processing is performed using a network and whether or not transmission / reception processing is satisfactory. Since it is necessary to judge the status (status) and the request of the operator, it has status information as shown in FIG.

【0080】図11に示すように、ステータス「X」が
プロセス停止(起動不許可)の状態を示し、ステータス
「S」がプロセス停止(起動許可)の状態を示し、ステ
ータス「C」がプロセス起動中で相手先のオープン要求
待ちの状態を示し、ステータス「O」がプロセス起動中
でオープン中の状態を示し、ステータス「Q」がプロセ
ス起動中でステータスが「O」から「S」または「C」
への遷移中の状態を示している。なお、図11の「伝送
プロセスの処理状態」とは相手先との関係を示し、「相
手伝送プロセスの状態」とは、考えられる相手先のプロ
セスの状態を示している。
As shown in FIG. 11, status “X” indicates a process stopped (startup not permitted), status “S” indicates a process stopped (startup permitted), and status “C” indicates process start. Indicates a state of waiting for an open request of the other party, status “O” indicates a state in which the process is activated and is being opened, and status “Q” indicates that the process is activated and the status is changed from “O” to “S” or “C”. "
The state during the transition to is shown. Note that the “processing state of the transmission process” in FIG. 11 indicates a relationship with the other party, and the “state of the other party transmission process” indicates a possible state of the process of the other party.

【0081】図12に示すように、オペレータコマンド
として、「CX」,「CS」,「CO」,「CQ」があ
り、それぞれ図12で示すような伝送プロセスへの機能
を有しており、「CO」,「CQ」は相手先の伝送プロ
セスの制御も可能である。
As shown in FIG. 12, operator commands include “CX”, “CS”, “CO”, and “CQ”, each of which has a function for a transmission process as shown in FIG. “CO” and “CQ” can also control the transmission process of the other party.

【0082】オペレータコマンドに対して、送信制御部
3,受信制御部6間で相手先実行部のプログラムを制御
する目的で制御系データとして相手先に伝送されるのが
伝送コマンドである。オペレータコマンド「CO」でオ
ープン要求がなされた場合の伝送コマンドとなるのが
「OP」であり、オペレータコマンド「CQ」でクロー
ズ要求がなされた場合の伝送コマンドとなるのが「C
L」である。また、それ以外の伝送コマンドとして、デ
ータ転送を意味する「DT」、データの正常受信を意味
する「OK」、データの異常受信を意味する「NG」、
受信側計算機システム21側の状態を確認するアライブ
信号を意味する「PL」等がある。なお、伝送コマンド
PLは送信制御部3でのみ利用される。
In response to an operator command, a transmission command is transmitted as control system data to the destination between the transmission control unit 3 and the reception control unit 6 in order to control the program of the destination execution unit. The transmission command when an open request is made by the operator command “CO” is “OP”, and the transmission command when a close request is made by the operator command “CQ” is “C”.
L ". Other transmission commands include “DT” meaning data transfer, “OK” meaning normal data reception, “NG” meaning abnormal data reception,
There is "PL" or the like meaning an alive signal for confirming the state of the receiving computer system 21 side. Note that the transmission command PL is used only by the transmission control unit 3.

【0083】以下、例を挙げて説明する。送信制御部3
及び受信制御部6は共に、ステータスが「S」の状態を
初期状態(プロセス停止(起動許可))と仮定する。そ
こで、オペレータコマンド「CO」によって、ステータ
ス「S」の状態から、相手先のプログラムに対する論理
ネットワークのオープン要求を行う。このとき、相手先
の実行部のプログラムのステータスが「C」(プロセス
起動中、相手先のオープン要求待ち)であればオープン
が成功し、双方のステータスが「O」(プロセス起動
中、伝送処理中)となる。
Hereinafter, an example will be described. Transmission control unit 3
Both the reception control unit 6 and the reception control unit 6 assume that the state whose status is “S” is an initial state (process stop (start permission)). Therefore, the operator command “CO” is used to issue a logical network open request to the destination program from the status “S”. At this time, if the status of the program of the execution unit of the other party is “C” (during process startup, waiting for an open request of the other party), the open is successful, and both statuses are “O” (during process startup, transmission processing Middle).

【0084】一方、相手先の実行部のプログラムのステ
ータスが「S」であればオープンが失敗し、相手先のプ
ログラムからのオープン要求を待つステータス「C」と
なる。
On the other hand, if the status of the program of the execution unit of the partner is "S", the open fails and the status becomes "C" waiting for an open request from the program of the partner.

【0085】図13及び図14並びに図15及び図16
はデータ伝送システムとしてのプロトコル状態遷移状況
を示した説明図であり、図13及び図14は受信制御部
6の制御内容を示しており、図15及び図16は送信制
御部3の制御内容を示している。
FIGS. 13 and 14 and FIGS. 15 and 16
FIGS. 13 and 14 show the control contents of the reception control unit 6, and FIGS. 15 and 16 show the control contents of the transmission control unit 3 as a data transmission system. Is shown.

【0086】図13及び図14において、項目「状態」
は受信制御部6の状態及び処理の状況を示し、項目「送
信プロセスからのイベント」は送信プロセスから受信プ
ロセスへ与えられるトリガー(処理要求)を示し、項目
「手動操作」はオペレータコマンドによって受信プロセ
スに与えられるトリガーを示し、項目「内部イベント」
は受信プロセス自身の処理でおきた事象が受信プロセス
へ与えられるトリガーを示している。なお、送信プロセ
スは送信制御を行うことが可能な状態の送信制御部3を
意味し、受信プロセスは受信制御を行うことが可能な状
態の受信制御部6を意味する。
In FIG. 13 and FIG. 14, the item “state”
Indicates the state of the reception control unit 6 and the state of processing, the item "event from the transmission process" indicates a trigger (processing request) given from the transmission process to the reception process, and the item "manual operation" indicates the reception process by an operator command. Shows the trigger given to the item "internal event"
Indicates a trigger in which an event generated in the process of the receiving process itself is given to the receiving process. The transmission process refers to the transmission control unit 3 in a state where transmission control can be performed, and the reception process refers to the reception control unit 6 in a state capable of performing reception control.

【0087】図13及び図14は7つの状態(停止;Co
nnect送信;Accept処理;OP受信待ち;未確定DT受
信後待ち;未確定DTを廃棄,NG送信後受信待ち;O
K送信後受信待ち)それぞれにイベントが生じた時の処
理を示している。なお、"Connect"及び"Accept"はそれ
ぞれTCP/IPソケットレベルでの接続要求及び接続
要求待ちを意味する。OP,DT,OK,NG,PLは
前述した伝送コマンドであり、NOP(NonOPeration)
は無視するという意味である。発報処理は処理が異常と
なり例えばポケベルを鳴らすことによってオペレータに
異常を伝達することを意味する。
FIGS. 13 and 14 show seven states (stop; Co)
nnect transmission; Accept processing; waiting for OP reception; waiting after reception of unconfirmed DT; discarding unconfirmed DT, waiting for reception after transmission of NG; O
(K transmission and waiting for reception). Note that “Connect” and “Accept” mean a connection request and a connection request wait at the TCP / IP socket level, respectively. OP, DT, OK, NG, and PL are the transmission commands described above, and are NOP (NonOPeration).
Means to ignore. The alerting process means that the process becomes abnormal and the abnormality is transmitted to the operator by, for example, sounding a pager.

【0088】例えば、図13及び図14において、受信
プロセスが起動されていない時の「状態」は“1”の停
止が該当し、この停止状態時に手動操作「起動」のイベ
ントを起こすと、受信プロセスが起動され、“2”のCo
nnect送信の状態へ遷移する。また、受信プロセスがCon
nect送信を行った後、送信プロセスからのイベントとし
て"Connect OK"が生じたとき、受信プロセスは“4”の
OP受信待ちの状態に遷移する。
For example, in FIG. 13 and FIG. 14, when the reception process is not activated, the “state” corresponds to the stop of “1”. The process is started and “2” Co
Transition to the nnect transmission state. Also, if the receiving process
After the nect transmission, when "Connect OK" occurs as an event from the transmission process, the reception process transits to the OP reception waiting state of "4".

【0089】図15及び図16において、項目「状態」
は送信制御部3の状態及び処理の状況を示し、項目「受
信プロセスからのイベント」は受信プロセスから送信プ
ロセスへ与えられるトリガー(処理要求)を示し、項目
「手動操作」はオペレータコマンドによって送信プロセ
スに与えられるトリガーを示し、項目「内部イベント」
は送信プロセス自身の処理でおきた事象が送信プロセス
へ与えられるトリガーを示している。
In FIG. 15 and FIG. 16, the item “state”
Indicates the state of the transmission control unit 3 and the status of processing, the item “event from the receiving process” indicates a trigger (processing request) given from the receiving process to the transmitting process, and the item “manual operation” indicates the transmitting process by an operator command. Shows the trigger given to the item "internal event"
Indicates a trigger in which an event generated in the process of the transmission process itself is given to the transmission process.

【0090】図15及び図16は7つの状態(停止;Co
nnect送信;Accept処理;OP送信後受信待ち;DT書
込み処理;確定DT送信後待ち;PL送信後待ち)それ
ぞれにイベントが生じた時の処理を示している。
FIGS. 15 and 16 show seven states (stop; Co
nnect transmission; Accept processing; waiting for reception after OP transmission; DT writing processing; waiting after confirmed DT transmission; waiting after PL transmission).

【0091】なお、図13及び図14並びに図15及び
図16において、複数の処理が記載されている箇所は、
上に記載された処理から優先的に行われる。例えば、図
13及び図14において、“4”のOP受信待ちで、送
信プロセスから伝送コマンドOPのイベントが発生した
場合、第1優先処理として、手動操作によるCL(クロ
ーズ)要求があれば、伝送コマンドCLを送信プロセス
に送信後停止する。
In FIGS. 13 and 14 and FIGS. 15 and 16, the places where a plurality of processes are described are as follows.
The processing described above is performed preferentially. For example, in FIGS. 13 and 14, when an event of the transmission command OP occurs from the transmission process while waiting for the reception of the OP of “4”, if there is a CL (close) request by a manual operation as the first priority processing, the transmission is performed. After transmitting the command CL to the transmission process, the process is stopped.

【0092】次に、手動操作によるCL要求がない場
合、第2優先処理として、受信検証時に通番が連続して
いない等のエラーが発生している場合、伝送コマンドN
Gを送信後、発報処理を行い、“3”のAccept処理に遷
移する。
Next, when there is no CL request by manual operation, when an error such as a serial number is not continuous at the time of reception verification is performed as a second priority process, the transmission command N
After transmitting G, a notification process is performed, and the process proceeds to an accept process of “3”.

【0093】さらに、受信検証時にエラーが発生しない
場合、“7”の伝送コマンドOK送信後受信待ち状態と
なる。
Further, if no error occurs during the reception verification, the transmission command OK of "7" is transmitted and then the reception wait state is set.

【0094】これら伝送コマンドとステータス及びステ
ータスを遷移できるオペレータコマンドにより、ネット
ワークを含む相手計算機とデータ伝送で異常が発生した
場合、手動操作を利用した送信側運転管理部2及び受信
側運転管理部5単独によるで0他伝送処理の自動停止
や、異常が復旧した際にオペレーションを必要としない
データ伝送処理の再開(起動)を可能とする。
When an error occurs in data transmission with the partner computer including the network by the transmission command and the operator command capable of transitioning between the status and the status, the transmission-side operation management unit 2 and the reception-side operation management unit 5 using manual operation are used. It is possible to automatically stop other transmission processing by itself and to restart (start) the data transmission processing that does not require operation when the abnormality is recovered.

【0095】すなわち、実施の形態4のデータ伝送シス
テムは、送信用運転管理部及び受信用運転管理部それぞ
れによって、送信側及び受信側のオペレータコマンドの
指示する内容で送信制御部3及び受信制御部6を制御す
ることにより、外部から伝送システムにおけるデータ伝
送処理の起動及び停止を行うことができる。
That is, in the data transmission system according to the fourth embodiment, the transmission operation management unit and the reception operation management unit respectively operate the transmission control unit 3 and the reception control unit in accordance with the instructions of the transmission side and reception side operator commands. 6, the data transmission processing in the transmission system can be started and stopped from outside.

【0096】[0096]

【発明の効果】以上説明したように、この発明における
請求項1記載のデータ伝送システムにおける受信制御部
は、伝送データの伝送順を示す通番情報及び伝送データ
のデータ長を示すデータ長情報を少なくとも含む付加情
報を伝送データに付加したデータ伝送メッセージを送信
制御部から受信し、通番情報及びデータ長情報に基づ
き、データ伝送メッセージの受信の良否を判定し、その
判定結果を示す受信良否情報を含む制御伝送メッセージ
を送信制御部に返信している。
As described above, the reception control unit in the data transmission system according to the first aspect of the present invention includes at least serial number information indicating a transmission order of transmission data and data length information indicating a data length of the transmission data. A data transmission message obtained by adding the additional information to the transmission data is received from the transmission control unit, and based on the serial number information and the data length information, the reception quality of the data transmission message is determined, and the reception quality information indicating the determination result is included. The control transmission message is returned to the transmission control unit.

【0097】したがって、受信制御部は、送信制御部か
らのデータ伝送メッセージ送信毎に、誤った順番でデー
タ伝送メッセージが送信されたり誤ったデータ長の伝送
データが送信されたりした場合に、その誤りを示す受信
良否情報を含む制御伝送メッセージを送信制御部に返信
することにより、正常な伝送データの再送信を送信制御
部に促すことができ、伝送データの伝送精度を高めるこ
とができる。
[0097] Therefore, each time a data transmission message is transmitted from the transmission control unit, the reception control unit determines whether an error occurs when a data transmission message is transmitted in an incorrect order or transmission data having an incorrect data length is transmitted. By returning a control transmission message including the reception quality information indicating the above to the transmission control unit, it is possible to urge the transmission control unit to retransmit the normal transmission data, thereby improving the transmission accuracy of the transmission data.

【0098】そして、データ伝送メッセージ内の伝送デ
ータのデータ量を比較的小容量に抑えることにより、デ
ータ伝送がリアルタイムで支障無く行うことが可能とな
る。
[0098] By suppressing the amount of transmission data in the data transmission message to a relatively small amount, data transmission can be performed in real time without any trouble.

【0099】請求項2記載のデータ伝送システムにおい
て、付加情報は伝送データの連続性の有無を指示する連
続性情報を含むため、最後に送信するデータ伝送メッセ
ージ以外のデータ伝送メッセージの上記連続性情報を連
続性有りに設定することにより、一の大容量伝送データ
を複数のデータ伝送メッセージの伝送データに分割して
送信することができる。
[0099] In the data transmission system according to claim 2, since the additional information includes continuity information indicating presence / absence of continuity of transmission data, the continuity information of a data transmission message other than the data transmission message transmitted last. Is set to have continuity, one large-capacity transmission data can be divided into transmission data of a plurality of data transmission messages and transmitted.

【0100】請求項3記載のデータ伝送システムにおい
て、制御伝送メッセージは、連続性情報が連続性無しを
指示するデータ伝送メッセージのみに応答して返信する
制御伝送メッセージを含んでおり、複数のデータ伝送メ
ッセージに対して1単位の制御伝送メッセージを返信す
る手順で、複数のデータ伝送メッセージの伝送を行うこ
とができるため、複数のデータ伝送メッセージの伝送を
効率的に行うことができる。
[0100] In the data transmission system according to the third aspect, the control transmission message includes a control transmission message which returns only in response to the data transmission message whose continuity information indicates that there is no continuity. Since a plurality of data transmission messages can be transmitted in a procedure of returning a unit control transmission message to a message, transmission of a plurality of data transmission messages can be performed efficiently.

【0101】請求項4記載のデータ伝送システムは、デ
ータ生成部から生成した伝送データの書込み用及び送信
制御部から伝送データの読出し用として利用される送信
用情報記憶部を有し、読出し及び書込み毎に送信用読込
最終ポインター情報及び送信用書込ポインター情報それ
ぞれが示すポインター値をサイクリック順序で更新する
ことにより、送信用情報記憶部内の複数の情報格納領域
の再利用を可能にし、その結果、送信用情報格納部の情
報量(情報可能領域の数)が比較的小量であってもデー
タ生成部及び送信制御部で支障無く利用することができ
る。
According to a fourth aspect of the present invention, there is provided a data transmission system including a transmission information storage unit used for writing the transmission data generated from the data generation unit and for reading the transmission data from the transmission control unit. By updating the pointer values indicated by the transmission read final pointer information and the transmission write pointer information in the cyclic order each time, it is possible to reuse a plurality of information storage areas in the transmission information storage unit, and as a result, Even if the information amount (the number of information available areas) in the transmission information storage unit is relatively small, the data generation unit and the transmission control unit can use the information amount without any problem.

【0102】請求項5記載のデータ伝送システムの受信
側計算機は、受信制御部による少なくとも伝送データを
含むデータの書込み用及びデータ処理部から伝送データ
の読出し用として利用される受信用情報記憶部を有し、
読出し及び書込み毎に受信用読込最終ポインター情報及
び受信用書込ポインター情報それぞれが示すポインター
値をサイクリック順序で更新することにより、受信用情
報記憶部内の複数の情報格納領域の再利用を可能にし、
その結果、受信用情報格納部の情報量(情報可能領域の
数)が比較的小量であってもデータ処理部及び受信制御
部で支障無く利用することができる。
According to a fifth aspect of the present invention, a reception-side computer of the data transmission system includes a reception information storage unit used for writing at least data including transmission data by the reception control unit and for reading transmission data from the data processing unit. Have
By updating the pointer values indicated by the reception-read final pointer information and the reception-write pointer information in each of the reading and writing in a cyclic order, it is possible to reuse a plurality of information storage areas in the reception information storage unit. ,
As a result, even if the amount of information (the number of information-capable areas) in the reception information storage unit is relatively small, it can be used by the data processing unit and the reception control unit without any problem.

【0103】請求項6記載のデータ伝送システムは、送
信用運転管理部及び受信用運転管理部それぞれによっ
て、外部から入力される送信用及び受信用オペレータコ
マンドの指示する内容で送信制御部及び受信制御部を制
御することにより、オペレータコマンドを用いて外部か
らデータ伝送処理の起動及び停止を行うことができる。
According to a sixth aspect of the present invention, in the data transmission system, the transmission operation management unit and the reception operation management unit respectively transmit and receive the transmission control unit and the reception control unit according to the contents of the externally input transmission and reception operator commands. By controlling the unit, it is possible to start and stop the data transmission process from the outside using an operator command.

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

【図1】 この発明の実施の形態1であるデータ伝送シ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a data transmission system according to a first embodiment of the present invention.

【図2】 実施の形態1においてネットワーク上を流れ
る伝送メッセージのデータ構造のフォーマットを示す説
明図である。
FIG. 2 is an explanatory diagram showing a format of a data structure of a transmission message flowing on a network in the first embodiment.

【図3】 実施の形態1の送信制御部の動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart illustrating an operation of a transmission control unit according to the first embodiment.

【図4】 実施の形態1の受信制御部の動作を示すフロ
ーチャートである。
FIG. 4 is a flowchart illustrating an operation of a reception control unit according to the first embodiment.

【図5】 実施の形態1のデータ伝送システムによるデ
ータ伝送状況を示す説明図である。
FIG. 5 is an explanatory diagram illustrating a data transmission state by the data transmission system according to the first embodiment.

【図6】 実施の形態2においてネットワーク上を流れ
る伝送メッセージのデータ構造のフォーマットを示す説
明図である。
FIG. 6 is an explanatory diagram showing a format of a data structure of a transmission message flowing on a network in the second embodiment.

【図7】 実施の形態2のデータ伝送システムによるデ
ータ伝送状況を示す説明図である。
FIG. 7 is an explanatory diagram illustrating a data transmission state by the data transmission system according to the second embodiment.

【図8】 実施の形態2のデータ伝送システムによるデ
ータ伝送状況を示す説明図である。
FIG. 8 is an explanatory diagram illustrating a data transmission state by the data transmission system according to the second embodiment.

【図9】 この発明の実施の形態3であるデータ伝送シ
ステムで用いる送信用伝文ファイルF1,受信用伝文フ
ァイルF2の内部構造を示す説明図である。
FIG. 9 is an explanatory diagram showing an internal structure of a transmission message file F1 and a reception message file F2 used in the data transmission system according to the third embodiment of the present invention.

【図10】 この発明の実施の形態4であるデータ伝送
システムの構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of a data transmission system according to a fourth embodiment of the present invention.

【図11】 送信制御部,受信制御部間におけるステー
タス情報を示す説明図である。
FIG. 11 is an explanatory diagram showing status information between a transmission control unit and a reception control unit.

【図12】 コマンド(伝送コマンド、オペレータコマ
ンド)の機能を示す説明図である。
FIG. 12 is an explanatory diagram showing functions of commands (transmission commands, operator commands).

【図13】 受信制御部の制御内容を示す図である。FIG. 13 is a diagram illustrating control contents of a reception control unit.

【図14】 受信制御部の制御内容を示す図である。FIG. 14 is a diagram illustrating control contents of a reception control unit.

【図15】 送信制御部の制御内容を示す図である。FIG. 15 is a diagram illustrating control contents of a transmission control unit.

【図16】 送信制御部の制御内容を示す図である。FIG. 16 is a diagram illustrating control contents of a transmission control unit.

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

1 送信側アプリケーション実行部、2 送信側運転管
理部、3 送信制御部、4 受信側アプリケーション実
行部、5 受信側運転管理部、6 受信制御部6、C4
確定フラグ、C5 分割フラグC5、F1 送信用伝
文ファイル、F2 受信用伝文ファイル。
1 transmission-side application execution unit, 2 transmission-side operation management unit, 3 transmission control unit, 4 reception-side application execution unit, 5 reception-side operation management unit, 6 reception control unit 6, C4
Confirmation flag, C5 Division flag C5, F1 transmission message file, F2 reception message file.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 互いに接続される送信制御部と受信制御
部との間で伝送データの伝送を行うデータ伝送システム
であって、 前記送信制御部は、前記伝送データの伝送順を示す通番
情報及び前記伝送データのデータ長を示すデータ長情報
を少なくとも含む付加情報を前記伝送データに付加した
データ伝送メッセージを前記受信制御部に送信し、 前記受信制御部は、前記データ伝送メッセージを受信
し、前記通番情報及び前記データ長情報に基づき、前記
データ伝送メッセージの受信の良否を判定し、その判定
結果を示す受信良否情報を含む制御伝送メッセージを前
記送信制御部に返信する、データ伝送システム。
1. A data transmission system for transmitting transmission data between a transmission control unit and a reception control unit connected to each other, the transmission control unit comprising: serial number information indicating a transmission order of the transmission data; A data transmission message, in which additional information including at least data length information indicating a data length of the transmission data is added to the transmission data, is transmitted to the reception control unit.The reception control unit receives the data transmission message, A data transmission system that determines whether the data transmission message is received properly based on the serial number information and the data length information, and returns a control transmission message including reception quality information indicating a result of the determination to the transmission control unit.
【請求項2】 複数のデータ伝送メッセージが伝送され
る請求項1記載のデータ伝送システムであって、 前記付加情報は一の前記データ伝送メッセージの有する
前記伝送データと、他の前記データ伝送メッセージの有
する前記伝送データとの連続性の有無を指示する連続性
情報を含み、 最後に送信するデータ伝送メッセージの前記連続性情報
は連続性無しを指示し、それ以外の前記データ伝送メッ
セージの前記連続性情報は連続性有りを指示する、デー
タ伝送システム。
2. The data transmission system according to claim 1, wherein a plurality of data transmission messages are transmitted, wherein the additional information is one of the transmission data of one data transmission message and another of the data transmission messages. Continuity information indicating whether there is continuity with the transmission data having, wherein the continuity information of the last data transmission message transmitted indicates no continuity, and the continuity of the other data transmission messages A data transmission system that indicates that information is continuous.
【請求項3】 請求項2記載のデータ伝送システムであ
って、 前記制御伝送メッセージは、前記連続性情報が連続性無
しを指示する前記データ伝送メッセージのみに応答して
返信する制御伝送メッセージを含む、データ伝送システ
ム。
3. The data transmission system according to claim 2, wherein the control transmission message includes a control transmission message returned only in response to the data transmission message indicating that the continuity information indicates no continuity. , Data transmission system.
【請求項4】 請求項1記載のデータ伝送システムであ
って、 前記伝送データを生成する伝送データ生成部と、 各々が前記伝送データを格納可能な複数の情報格納領域
を有し、前記情報格納領域はそれぞれ所定の順序でポイ
ンター値が割り当てられる送信用情報記憶部とをさらに
備え、 前記送信用情報記憶部は、新たに書き込むべき前記情報
格納領域に対応するポインター値を示す送信用書込ポイ
ンター情報と、最後に読み出した前記情報格納領域に対
応するポインター値を示す送信用読込最終ポインター情
報とをさらに格納し、 前記伝送データ生成部は、前記送信用書込ポインター情
報の指示する前記ポインター値に対応する前記情報格納
領域に、生成した前記伝送データを書き込み、前記所定
の順序に従い前記送信用書込ポインター情報の示す前記
ポインター値の次に順序づけられた前記ポインター値に
前記送信用書込ポインター情報を更新し、 前記送信制御部は、前記送信用書込ポインター情報及び
前記送信用読込最終ポインター情報のそれぞれの前記ポ
インター値に基づき、読み出すべき前記伝送データが存
在する場合に、前記所定の順序に従い前記送信用読込最
終ポインター情報の指示する前記ポインター値の次に順
序づけられた前記ポインター値に対応する前記情報格納
領域に格納された伝送データを読み出し、前記送信用読
込最終ポインター情報の示す前記ポインター値の次に順
序づけられたポインター値に前記送信用読込最終ポイン
ター情報を更新した後、読み出した前記伝送データを含
む前記データ伝送メッセージを送信し、 前記所定の順序は、序列が先頭のポインター値を序列が
最終のポインター値の次に順序づけるサイクリック順序
を含む、データ伝送システム。
4. The data transmission system according to claim 1, further comprising: a transmission data generating unit configured to generate the transmission data; and a plurality of information storage areas each capable of storing the transmission data. Each of the areas further includes a transmission information storage unit to which pointer values are assigned in a predetermined order, and the transmission information storage unit includes a transmission write pointer indicating a pointer value corresponding to the information storage area to be newly written. Information, and transmission read final pointer information indicating a pointer value corresponding to the information storage area read last, the transmission data generation unit further includes: the pointer value indicated by the transmission write pointer information. The generated transmission data is written into the information storage area corresponding to the transmission write pointer information according to the predetermined order. The transmission write pointer information is updated to the pointer value ordered next to the pointer value indicated by the transmission control unit, and the transmission control unit is configured to transmit the transmission write pointer information and the transmission read final pointer information respectively. Based on the pointer value, when the transmission data to be read exists, the information storage corresponding to the pointer value ordered next to the pointer value indicated by the transmission read final pointer information according to the predetermined order. After reading the transmission data stored in the area and updating the transmission read last pointer information to a pointer value ordered next to the pointer value indicated by the transmission read final pointer information, including the read transmission data Transmitting the data transmission message, wherein the predetermined order is such that Inter value hierarchy comprises a cyclic sequence to sequence to the next final pointer value, the data transmission system.
【請求項5】 請求項4記載のデータ伝送システムであ
って、 前記伝送データに基づき所定の処理を行うデータ処理部
と、 各々が前記伝送データが格納可能な複数の情報格納領域
を有し、前記情報格納領域はそれぞれ前記所定の順序で
ポインター値が割り当てられる受信用情報記憶部とをさ
らに備え、 前記受信用情報記憶部は、新たに書き込むべき前記情報
格納領域に対応する前記ポインター値を示す受信用書込
ポインター情報と、最後に読み出した情報格納領域に対
応する前記ポインター値を示す受信用読込最終ポインタ
ー情報とをさらに格納し、 前記受信制御部は、前記受信用書込ポインター情報の指
示する前記ポインター値に対応する前記情報格納領域
に、受信したデータ伝送メッセージのうち少なくとも前
記伝送データを書き込み、前記所定の順序に従い前記受
信用書込ポインター情報の示す前記ポインター値の次に
順序づけられた前記ポインター値に更新し、 前記データ処理部は、前記受信用書込ポインター情報及
び前記受信用読込最終ポインター情報それぞれの前記ポ
インター値に基づき、読み出すべき前記伝送データが存
在する場合に、前記所定の順序に従い前記受信用読込最
終ポインター情報の指示する前記ポインター値の次に順
序づけられた前記ポインター値に対応する前記情報格納
領域に格納された前記伝送データを読み出し、前記受信
用読込最終ポインター情報の示す前記ポインター値の次
に順序づけられた前記ポインター値に前記受信用読込最
終ポインター情報を更新し、読み出した前記伝送データ
に基づき前記所定の処理を行う、データ伝送システム。
5. The data transmission system according to claim 4, comprising: a data processing unit that performs a predetermined process based on the transmission data; and a plurality of information storage areas each capable of storing the transmission data. Each of the information storage areas further includes a reception information storage unit to which pointer values are assigned in the predetermined order. The reception information storage unit indicates the pointer value corresponding to the information storage area to be newly written. The reception control unit further stores reception write pointer information and reception read final pointer information indicating the pointer value corresponding to the last read information storage area, wherein the reception control unit indicates an instruction of the reception write pointer information. Writing at least the transmission data of the received data transmission message into the information storage area corresponding to the pointer value to be transmitted. The data processing unit updates the pointer value ordered following the pointer value indicated by the reception write pointer information according to the predetermined order, and the data processing unit includes the reception write pointer information and the reception read last pointer. Based on the pointer value of each piece of information, when the transmission data to be read exists, the pointer data corresponds to the pointer value ordered next to the pointer value indicated by the reception final read pointer information according to the predetermined order. The transmission data stored in the information storage area is read, the reception read final pointer information is updated to the pointer value ordered next to the pointer value indicated by the reception read final pointer information, and the read read pointer information is updated. A data transmission system for performing the predetermined processing based on transmission data
【請求項6】 請求項1記載のデータ伝送システムであ
って、 前記データ伝送処理の起動及び停止を指示するコマンド
を含む送信用オペレータコマンドが外部より入力可能で
あり、前記送信用オペレータコマンドの指示する内容で
前記送信制御部を制御可能な送信用運転管理部と、 前記データ伝送処理の起動及び停止を指示するコマンド
を含む受信用オペレータコマンドが外部より入力可能で
あり、前記受信用オペレータコマンドの指示する内容で
前記受信制御部を制御可能な受信用運転管理部とをさら
に備える、データ伝送システム。
6. The data transmission system according to claim 1, wherein a transmission operator command including a command for instructing start and stop of the data transmission processing can be input from outside, and an instruction of the transmission operator command is provided. A transmission operation management unit capable of controlling the transmission control unit with contents to be transmitted, a reception operator command including a command for instructing start and stop of the data transmission process can be input from the outside, and the reception operator command A data transmission system, further comprising: a reception operation management unit capable of controlling the reception control unit according to the instruction.
JP11206138A 1999-07-21 1999-07-21 Data transmission system Pending JP2001034555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11206138A JP2001034555A (en) 1999-07-21 1999-07-21 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11206138A JP2001034555A (en) 1999-07-21 1999-07-21 Data transmission system

Publications (1)

Publication Number Publication Date
JP2001034555A true JP2001034555A (en) 2001-02-09

Family

ID=16518425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11206138A Pending JP2001034555A (en) 1999-07-21 1999-07-21 Data transmission system

Country Status (1)

Country Link
JP (1) JP2001034555A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103999A (en) * 2005-09-30 2007-04-19 Toshiba Corp Data transfer control apparatus and data transfer control method
JP2007299271A (en) * 2006-05-01 2007-11-15 Softbank Mobile Corp Mobile communication terminal
JP2009525000A (en) * 2006-01-25 2009-07-02 コネクサント システムズ、インク Send notification instructions
JP2011198380A (en) * 2011-05-27 2011-10-06 Softbank Mobile Corp Mobile communication terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103999A (en) * 2005-09-30 2007-04-19 Toshiba Corp Data transfer control apparatus and data transfer control method
JP4693576B2 (en) * 2005-09-30 2011-06-01 株式会社東芝 Data transfer control device and data transfer control method
JP2009525000A (en) * 2006-01-25 2009-07-02 コネクサント システムズ、インク Send notification instructions
JP2007299271A (en) * 2006-05-01 2007-11-15 Softbank Mobile Corp Mobile communication terminal
JP2011198380A (en) * 2011-05-27 2011-10-06 Softbank Mobile Corp Mobile communication terminal

Similar Documents

Publication Publication Date Title
CN110349029B (en) Block chain-based transaction consistency processing method, device and system
US8307178B2 (en) Storage system, remote copy and management method therefor
US6915326B2 (en) Information processing apparatus and method and information processing program recording medium
JP4756992B2 (en) Storage system and storage control method
JP4621273B2 (en) Data synchronization method, data synchronization program, database server device, and database system
EP1510921A2 (en) Remote copy storage system
WO1991014230A1 (en) Message communication processing system
JP2012018449A (en) Snapshot acquisition processing program, snapshot acquisition processing method, snapshot participant computer, and snap shot coordinator computer
US8103758B2 (en) Service processing apparatus, system, and recording medium
Chopra et al. Bungie: Improving fault tolerance via extensible application-level protocols
JP2011248678A (en) Database duplexing system, storage device and method for database duplexing
JP2001034555A (en) Data transmission system
KR100788851B1 (en) System and method for determining a designated connection between components of computing devices
JP2007235674A (en) Communication device and communication method
JPH11177655A (en) Device and method for automatically verifying communication software
JP2020008999A (en) Information processing system, information processing apparatus, and control program
JP4186168B2 (en) File sending terminal
JP6932961B2 (en) Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program
JP3890154B2 (en) Multi-level management system
TWI839203B (en) Extended server system and data update method
CN113138722B (en) Replication snapshot method, system and medium for distributed block storage system
KR100279559B1 (en) How to transfer switch software using LAN
JP2002073453A (en) File transmission system and file transmission method
JP2005250720A (en) Method and system for finding inconsistent data
JP2001109641A (en) Computer backup system