JPH09305563A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JPH09305563A
JPH09305563A JP8125759A JP12575996A JPH09305563A JP H09305563 A JPH09305563 A JP H09305563A JP 8125759 A JP8125759 A JP 8125759A JP 12575996 A JP12575996 A JP 12575996A JP H09305563 A JPH09305563 A JP H09305563A
Authority
JP
Japan
Prior art keywords
data
transmission
area
transmission data
index number
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
JP8125759A
Other languages
Japanese (ja)
Inventor
Tomoji Ito
知二 伊藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8125759A priority Critical patent/JPH09305563A/en
Publication of JPH09305563A publication Critical patent/JPH09305563A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the processing burden in the manner of software for writing data into a queue table by writing the transmission data into any correspondent area inside the queue table after the confirmation of presence/absence flag when a write request is generated. SOLUTION: When the write request is inputted from a host computer 11 and the presence/absence flag of a management storage part corresponding to the identification number of inputted transmission data shows presence, the transmission data are written in the area designated by a storage destination index number stored in the management storage part. When the presence/ absence flag shows absence, the transmission data are written in the area designated by a write index number, and the presence of the presence/absence flag and the storage destination index number are registered in the management storage part. Besides, when a read request is inputted from a slave station 17 and a read index number is different from the write index number, the transmission data in the area designated by the read index number are read out and the presence/absence flag corresponding to the identification number of these transmission data is registered to absence.

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 device for performing data transmission between a plurality of information processing units that perform data processing asynchronously with each other.

【0002】[0002]

【従来の技術】互いに非同期でデータ処理を実行する複
数の情報処理装置相互間でデータ伝送を行う場合は、情
報処理装置相互間で直接データを送受信することはな
く、中間にデータを一旦記憶しておくバッファ又はキュ
ーテーブルを設けて、送信側の情報処理装置は自己のデ
ータ処理タイミング又はデータ処理周期で前記バッファ
又はキューテーブルにデータを書き込む。一方、受信側
の情報処理装置は自己のデータ処理タイミング又はデー
タ処理周期で前記バッファ又はキューテーブルに書込ま
れたデータを読出して自己装置内に取込むようにしてい
る。
2. Description of the Related Art When data is transmitted between a plurality of information processing apparatuses that perform data processing asynchronously with each other, data is not directly transmitted and received between the information processing apparatuses, but data is temporarily stored in the middle. A buffer or queue table is provided, and the information processing apparatus on the transmission side writes data in the buffer or queue table at its own data processing timing or data processing cycle. On the other hand, the information processing device on the receiving side reads out the data written in the buffer or the queue table at its own data processing timing or data processing cycle and takes it into its own device.

【0003】図28は、上述したデータ伝送機能を有し
たデータ伝送装置の概略構成を示すブロック図である。
送信側情報処理装置としての上位計算機1から入力した
データと該当データの属性を特定する識別番号と該当デ
ータの有効ビット位置を指定するマスクパターンからな
る伝送データと、この伝送データを書込むためのタイミ
ング信号(書込要求)とが入力データ書込部2で受信さ
れて、タイミング信号に同期してキューテーブル3ヘ書
込まれる。
FIG. 28 is a block diagram showing a schematic structure of a data transmission device having the above-mentioned data transmission function.
Transmission data composed of data input from the host computer 1 as the information processing device on the transmission side, an identification number for identifying the attribute of the corresponding data, and a mask pattern for specifying the effective bit position of the corresponding data, and for writing this transmission data A timing signal (write request) is received by the input data writing unit 2 and written to the queue table 3 in synchronization with the timing signal.

【0004】送信データ編集部4は、受信側情報処理装
置としての子局7からの読出要求に応じて、キューテー
ブル3に書込まれた伝送データを読出して、送信テキス
トに編集して、送信部6を介して読出要求元の子局7へ
送信する。なお、送信データは必要に応じて送信データ
記憶部5に記憶される。
The transmission data editing unit 4 reads the transmission data written in the queue table 3 in response to a read request from the slave station 7 as the information processing device on the receiving side, edits it into a transmission text, and transmits it. It transmits to the slave station 7 of the read request source via the unit 6. The transmission data is stored in the transmission data storage unit 5 as needed.

【0005】ここで、識別番号とデータとマスクパター
ンからなる伝送データが上位計算機1から図29に示す
順番で入力すると仮定する。上位計算機1から同じ識別
番号のデータが連続して入力した場合には、入力した順
でキューテーブル3へ書込まれて記憶されている。
Here, it is assumed that transmission data composed of an identification number, data and a mask pattern is input from the host computer 1 in the order shown in FIG. When the data of the same identification number is continuously input from the host computer 1, the data is written and stored in the queue table 3 in the input order.

【0006】そして、子局7から読出要求が入力する
と、送信データ編集部4は、キューテーブル3に記憶さ
れている各伝送データを入力順に読出して、図30に示
す送信テキスト8を編集して、送信部6を介して子局7
へ送信する。
When a read request is input from the slave station 7, the transmission data editing unit 4 reads each transmission data stored in the queue table 3 in the order of input and edits the transmission text 8 shown in FIG. , The slave station 7 via the transmitter 6.
Send to

【0007】しかし、上位計算機1のキューテーブル3
に対して書込要求時間間隔が子局7の読出要求時間間隔
より長い場合で、キューテーブル3をFIFOメモリ
(first−in first−out、又はfir
st−in fast−out)で構成すると、データ
伝送装置における送信データ編集部4におけるデータ処
理はFIFOメモリにおける書込順番に実施する。
However, the queue table 3 of the host computer 1
On the other hand, when the write request time interval is longer than the read request time interval of the slave station 7, the queue table 3 is stored in the FIFO memory (first-in first-out or first-out).
When configured as st-in fast-out), the data processing in the transmission data editing unit 4 in the data transmission device is performed in the writing order in the FIFO memory.

【0008】ある特定の情報に対して、短時間に複数の
要求が連続してあると、その要求した順番でデータ処理
することになる。しかし、子局7側のデータ処理速度が
低速であれば、データ処理を完了するまで費やす時間が
無視できなくなる虞れがある。
When a plurality of requests for certain specific information are continuously made in a short time, data processing is performed in the order of request. However, if the data processing speed on the slave station 7 side is low, the time spent until the data processing is completed may not be negligible.

【0009】しかし、上位計算機1から送信する伝送デ
ータがプラントのプロセスデータ等のよう連続するデー
タをサンプリングしたデータ等の場合は、子局7として
は読出要求した時点の最新のデータのみが存在すればよ
く、この最新のデータより古いデータは必要ない場合が
多い。このような場合、キューテーブル3に記憶された
全ての伝送データを送信テキスト8に編集して送信する
ことは無駄なことである。
However, when the transmission data transmitted from the host computer 1 is data obtained by sampling continuous data such as plant process data, the slave station 7 only has the latest data at the time of the read request. Of course, data older than this latest data is often not needed. In such a case, it is useless to edit all the transmission data stored in the queue table 3 into the transmission text 8 and transmit it.

【0010】このような不都合を解消するために、図3
1に示すように、キューテーブル3内に、複数の記憶領
域9と一つの管理領域10とを設けて、管理領域10に
子局からの読出要求があったときの読出の記憶領域9を
指定する読出インデックス番号iと、上位計算機1から
の書込要求があったときの書込の記憶領域9を指定する
書込インデックス番号jとを設定する。
In order to eliminate such inconvenience, FIG.
As shown in FIG. 1, a plurality of storage areas 9 and one management area 10 are provided in the queue table 3, and the storage area 9 for reading is designated when the management area 10 receives a read request from a slave station. The read index number i to be written and the write index number j for designating the storage area 9 for writing when there is a write request from the host computer 1 are set.

【0011】そして、図32の流れ図に示すように、上
位計算機1からの書込要求が発生すると、読出インデッ
クス番号iと書込インデックス番号jとを比較して(P
2)、一致の場合は、書込インデックス番号jが示す記
憶領域9へ書込要求の識別番号,データ及びマスクパタ
ーンを書込む(P8)。そして、書込インデックス番号
jを更新し(P9)、更新後の書込インデックス番号j
が最終の記憶領域9に達した場合は(P10)、書込イ
ンデックス番号jを初期値に戻す(P11)。
Then, as shown in the flow chart of FIG. 32, when a write request is issued from the host computer 1, the read index number i and the write index number j are compared (P
2) If they match, the identification number, data, and mask pattern of the write request are written in the storage area 9 indicated by the write index number j (P8). Then, the write index number j is updated (P9), and the updated write index number j
Has reached the final storage area 9 (P10), the write index number j is returned to the initial value (P11).

【0012】P2にて、両者が一致しない場合は、読出
インデックス番号iが示す書込領域の識別番号と今回の
書込要求の伝送データの識別番号が一致するか否かを調
べる(P3)。不一致の場合、読出インデックス番号i
を1だけ更新して、P2へ戻る。なお、更新後の読出イ
ンデックス番号iが最終の記憶領域9に達した場合は
(P6)、読出インデックス番号iを初期値に戻したの
ちP2へ戻る。
If they do not match in P2, it is checked whether or not the identification number of the write area indicated by the read index number i and the identification number of the transmission data of the current write request match (P3). If they do not match, the read index number i
Is updated by 1 and the process returns to P2. When the updated read index number i reaches the final storage area 9 (P6), the read index number i is returned to the initial value and then the process returns to P2.

【0013】そして、P3にて読出インデックス番号i
が示す記憶領域9の識別番号と今回の書込要求の伝送デ
ータの識別番号が一致すると、この読出インデックス番
号iが示す記憶領域9に今回の書込要求の伝送データを
上書きする。
Then, at P3, the read index number i
When the identification number of the storage area 9 indicated by and the identification number of the transmission data of the current writing request match, the transmission data of the current writing request is overwritten in the storage area 9 indicated by the read index number i.

【0014】このような手順で上位計算機1からの書込
要求の伝送データをキューテーブル3の各記憶領域9に
書込むことによって、書込要求のデータと同一識別番号
のデータがキューテーブル3内ににまだ読出されずに存
在する場合は、該当データに上書きすることによって、
同一識別番号を有する複数のデータが同時に子局7へ送
信されることが防止される。
By writing the transmission data of the write request from the host computer 1 in each storage area 9 of the queue table 3 in this procedure, the data of the same identification number as the write request data is stored in the queue table 3. If it still exists in and is not read in, by overwriting the corresponding data,
It is possible to prevent a plurality of data having the same identification number from being simultaneously transmitted to the slave station 7.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上述し
た手順で同一識別番号を有する複数のデータが同時に子
局7へ送信されることを防止したデータ伝送装置におい
ても、まだ改良すべき次のような課題があった。
However, even in the data transmission apparatus which prevents a plurality of data having the same identification number from being simultaneously transmitted to the slave station 7 by the above-mentioned procedure, the following should be improved. There were challenges.

【0016】すなわち、キューテーブル3の管理領域1
0の読出インデックス番号iと書込インデックス番号j
の範囲を比較して同じ識別番号があれば上書きするが、
書込要求が発生する毎に、キューテーブル3の各記憶領
域9ヘデータを書込みする場合、書込もうとするデータ
が既にキューテーブル3に既に記憶されて、上書きする
のか、あるいは新規に書込みするのかを、キューテーブ
ル3の管理領域10にある書込インデックス番号j、読
出インデックス番号iと各識別番号より判断する必要が
あった。
That is, the management area 1 of the queue table 3
0 read index number i and write index number j
Compare the ranges of and overwrite if there is the same identification number,
When data is written to each storage area 9 of the queue table 3 each time a write request is generated, whether the data to be written is already stored in the queue table 3 and is overwritten or newly written. Need to be determined from the write index number j, the read index number i, and the respective identification numbers in the management area 10 of the queue table 3.

【0017】この図32に示すソフト的に複数ステップ
に亘る判断処理を書込要求が発生する毎に実行すると、
データ処理装置全体の処理負担が増大するのみならず、
上位計算機1と子局7との間のデータ伝送処理速度が低
下する懸念がある。
When the judgment process including a plurality of steps shown in FIG. 32 is executed every time a write request is issued,
Not only does the processing load on the entire data processing device increase,
There is a concern that the data transmission processing speed between the host computer 1 and the slave station 7 may decrease.

【0018】本発明はこのような事情に鑑みてなされた
ものであり、キューテーブル内に各識別番号に対応した
各領域に未読出のデータの有無を示す有無フラグを設け
ることによって、同一識別番号を有する複数のデータが
同時に読出要求元へ送信されることを防止した状態で、
かつ書込要求発生時におけるキューテーブルに対するデ
ータの書込処理のソフト的処理負担を軽減でき、情報処
理装置相互間のデータ伝送効率を向上できるデータ伝送
装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the presence / absence flag indicating the presence / absence of unread data is provided in each area corresponding to each identification number in the queue table. In a state in which a plurality of data having
Another object of the present invention is to provide a data transmission device that can reduce the software processing load of writing data to the queue table when a write request occurs and improve the data transmission efficiency between information processing devices.

【0019】[0019]

【課題を解決するための手段】上記課題を解消するため
に請求項1は、書込要求に応じて、第1の情報処理装置
からのデータと識別番号とを含む伝送データを一旦キュ
ーテーブル内に形成された各領域に書込むと共に、読出
要求に応じて、各領域に記憶された各伝送データを読出
して第2の情報処理装置へ送信するデータ伝送装置にお
いて、伝送データを書込む領域を指定する書込インデッ
クス番号及び伝送データを読出す領域を指定する読出イ
ンデックス番号と、各識別番号が所属する伝送データを
記憶する領域を指定する記憶先インデックス番号と該当
指定領域に未読出の伝送データの有無を示す有無フラグ
を記憶する複数の管理記憶部と、書込要求に応じて、入
力した伝送データの識別番号に対応する管理記憶部の有
無フラグが有りのとき該当管理記憶部に記憶された記憶
先インデックス番号が指定する領域に伝送データを書込
み、有無フラグが無しのとき書込インデックス番号が指
定する領域に伝送データを書込み、かつ該当管理記憶部
に有無フラグ有り及び記憶先インデックス番号を登録す
る書込処理手段と、読出要求に応じて、読出インデック
ス番号が書込インデックス番号と異なるとき、読出イン
デックス番号が指定する領域の伝送データを読出すとと
もに、該当伝送データの識別番号に対応する有無フラグ
の無しを登録する読出処理手段とを備えたものである。
According to a first aspect of the present invention, in order to solve the above-mentioned problems, transmission data including data and an identification number from a first information processing device is temporarily stored in a queue table in response to a write request. In the data transmission device that writes in each area formed in the area, and reads out each transmission data stored in each area in response to the read request and transmits the transmission data to the second information processing device, A write index number to be specified and a read index number to specify an area to read the transmission data, a storage index number to specify an area to store the transmission data to which each identification number belongs, and unread transmission data to the corresponding specified area There is a plurality of management storage units for storing presence / absence flags indicating presence / absence and presence / absence flags of the management storage unit corresponding to the identification number of the input transmission data in response to the write request. Write the transmission data to the area specified by the storage destination index number stored in the corresponding management storage unit, write the transmission data to the area specified by the write index number when the presence / absence flag is not set, and Write processing means for registering a flag presence and a storage destination index number, and when the read index number differs from the write index number in response to a read request, the transmission data in the area designated by the read index number is read and And a read processing means for registering the absence / presence of the presence / absence flag corresponding to the identification number of the transmission data.

【0020】請求項2は、書込要求に応じて、第1の情
報処理装置からのデータと識別番号とを含む伝送データ
を一旦キューテーブル内に形成された各領域に書込むと
共に、読出要求に応じて、各領域に記憶され各伝送デー
タを読出して第2の情報処理装置へ送信するデータ伝送
装置において、各識別番号が所属する伝送データを記憶
する領域を指定する記憶先インデックス番号と該当指定
領域に未読出の伝送データの有無を示す有無フラグを記
憶する複数の管理記憶部と、伝送データを書込む領域を
指定するためのボトムインデックス番号及び伝送データ
を読出す領域を指定するためのトップインデックス番号
と、各領域新内に設けられ読出順序を示すフロムインデ
ックス番号とトゥインデックス番号と、書込要求に応じ
て、入力した伝送データの識別番号に対応する管理記憶
部の有無フラグが無しのとき、ボトムインデックス番号
にて求まる領域に伝送データを書込み、かつ該当領域に
フロムインデックス番号及びトゥインデックス番号を設
定し、有無フラグが有りのとき、該当管理記憶部に記憶
された記憶先インデックス番号が指定する領域に伝送デ
ータを書込み、かつ該当領域のフロムインデックス番号
が指定する領域のトゥインデックス番号及び該当領域の
トゥインデックス番号が指定する領域のフロムインデッ
クス番号を該当領域がパスされるように修正する書込処
理手段と、読出要求に応じて、トップインデックス番号
が指定す領域の識別番号に対応する管理記憶部の有無フ
ラグが有りのとき、該当領域及び該当領域のトゥインデ
ックス番号で順次指定される各領域に記憶されている伝
送データを順次読出すとともに、読出した各伝送データ
の識別番号の有無フラグを無しに設定する読出処理手段
とを備えたものである。
According to a second aspect, in response to the write request, the transmission data including the data from the first information processing device and the identification number is once written in each area formed in the queue table, and the read request is issued. In accordance with the above, in a data transmission device which stores each transmission data stored in each region and transmits the transmission data to the second information processing device, a storage destination index number that specifies the region in which the transmission data to which each identification number belongs is stored and the corresponding index number. A plurality of management storage units for storing presence / absence flags indicating presence / absence of unread transmission data in the designated area, a bottom index number for designating an area to write the transmission data, and an area for reading the transmission data. The top index number, from index number and toe index number provided in each area to indicate the reading order, and the input transmission in response to the write request When the presence / absence flag of the management storage unit corresponding to the identification number of the data is not present, the transmission data is written in the area obtained by the bottom index number, and the from index number and toe index number are set in the corresponding area, and the presence / absence flag is set. When there is, the transmission data is written in the area specified by the storage destination index number stored in the corresponding management storage unit, and the to-index number of the area specified by the from-index number of the corresponding area and the to-index number of the corresponding area are specified. There is a writing processing means for modifying the from-index number of the area to be passed so that the corresponding area is passed, and a management storage section presence / absence flag corresponding to the identification number of the area designated by the top index number in response to a read request. When, the corresponding area and each area sequentially specified by the toe index number of the corresponding area Together sequentially reading out transmission data stored, in which a read processing means for setting without the presence flag of the identification number of each transmission data read.

【0021】請求項3は、請求項1又は2のデータ伝送
装置において、各管理領域に設けられ、該当管理領域の
識別番号に対応する伝送データの書込み時刻から該当伝
送データの読出時刻までの経過時間を計時するタイマ
と、タイマが計時した経過時間が予め記憶された許容時
間を越えると、読出を無効とする診断手段とを備えてい
る。
According to a third aspect of the present invention, in the data transmission device according to the first or second aspect, the time from the writing time of the transmission data corresponding to the identification number of the relevant management area to the reading time of the relevant transmission data is provided in each management area. A timer for counting time and a diagnostic means for invalidating reading when the elapsed time measured by the timer exceeds a pre-stored permissible time.

【0022】請求項4は、請求項1又は2のデータ伝送
装置において、伝送データにはデータと識別番号との他
にデータの有効ビット位置を指定するマスクパターンも
含む。
According to a fourth aspect of the present invention, in the data transmission apparatus according to the first or second aspect, the transmission data includes a mask pattern for designating an effective bit position of the data in addition to the data and the identification number.

【0023】請求項5は、請求項4のデータ伝送装置に
おいて、キューテーブルの各領域に、伝送データに含ま
れるマスクパターンと、伝送データに含まれるデータの
うちマスクパターンで指定されたビットからなるデータ
とを記憶する。
According to a fifth aspect of the present invention, in the data transmission apparatus according to the fourth aspect, each area of the queue table includes a mask pattern included in the transmission data and bits designated by the mask pattern among the data included in the transmission data. Store data and.

【0024】請求項6は、請求項4のデータ伝送装置に
おいて、キューテーブルの各領域には、書込要求発生時
に現在時点で書込まれているマスクパターンと今回の書
込要求の伝送データに含まれるマスクパターンとの論理
和からなるマスクパターンが新規に記憶され、伝送デー
タに含まれるデータのうち新規に記憶されたマスクパタ
ーンで指定されたビットからなるデータとが記憶され
る。
According to a sixth aspect of the present invention, in the data transmission apparatus according to the fourth aspect, in each area of the queue table, the mask pattern written at the present time when the write request is generated and the transmission data of the present write request are stored. A mask pattern formed of a logical sum of the included mask pattern is newly stored, and data consisting of bits designated by the newly stored mask pattern among the data included in the transmission data is stored.

【0025】請求項7は、請求項1又は2のデータ伝送
装置において、キューテーブルは複数の単位キューテー
ブルからなり、各単位キューテーブルに記憶された各デ
ータ群の送信優先度と1送信テキスト当たりの最大送信
データ数とを設けている。
According to a seventh aspect of the present invention, in the data transmission apparatus according to the first or second aspect, the queue table is composed of a plurality of unit queue tables, and the transmission priority of each data group stored in each unit queue table and per transmission text. And the maximum number of data to be transmitted.

【0026】そして、データ送信のため送信テキストを
編集する際に、送信テキストを編集する都度、1送信テ
キスト当たりの最大送信データ数になるまで、送信優先
度の高いデータ群の単位キューテーブルよりデータを順
次読出して送信テキストを編集してデータ送信する。
When the transmission text is edited for data transmission, every time the transmission text is edited, data is transmitted from the unit queue table of the data group having high transmission priority until the maximum transmission data number per transmission text is reached. Is sequentially read, the transmission text is edited, and the data is transmitted.

【0027】請求項8は、請求項7のデータ伝送装置に
おいて、送信優先度の高いデータ群の単位キューテーブ
ルから読出したデータ数が1送信テキスト当たりの最大
送信データ数に満たないとき、順次送信優先度の低いデ
ータ群の単位キューテーブルよりデータを読出して送信
テキストを編集する。
According to an eighth aspect of the present invention, in the data transmission device according to the seventh aspect, when the number of data read from the unit queue table of the data group having a high transmission priority is less than the maximum number of transmission data per transmission text, sequential transmission is performed. Data is read from the unit queue table of the data group with low priority and the transmitted text is edited.

【0028】請求項9は、請求項1又は2のデータ伝送
装置において、キューテーブルは複数の単位キューテー
ブルからなり、各単位キューテーブルに記憶されたデー
タ群毎の最大送信データ数を設けている。
A ninth aspect of the data transmission apparatus according to the first or second aspect is that the queue table is composed of a plurality of unit queue tables, and the maximum transmission data number for each data group stored in each unit queue table is provided. .

【0029】そして、データ送信のため送信テキストを
編集する際に、送信テキストを編集する都度、各最大送
信データ数になるまで、各データ群の単位キューテーブ
ルより順次読出したデータを送信テキストヘ編集してデ
ータ送信する。
When editing the transmission text for data transmission, each time the transmission text is edited, the data sequentially read from the unit queue table of each data group is edited into the transmission text until the maximum number of transmission data is reached. And send the data.

【0030】請求項10は、請求項1又は2のデータ伝
送装置において、キューテーブルは複数の単位キューテ
ーブルからなり、各単位キューテーブルに記憶されたデ
ータ群毎の送信優先度と暫定最大送信データ数と1送信
テキスト当たりの最大送信データ数とを設けている。
A tenth aspect of the data transmission apparatus according to the first or second aspect is that the queue table is composed of a plurality of unit queue tables, and the transmission priority and provisional maximum transmission data for each data group stored in each unit queue table. The number and the maximum number of transmitted data per transmitted text are provided.

【0031】そして、データ送信のため送信テキストを
編集する際に、送信テキストを編集する都度、各データ
群毎の暫定最大送信データ数になるまで送信テキストを
編集し、暫定的な編集完了後に1送信テキスト当たりの
最大送信データ数に満たないとき、更に第2回目の送信
テキスト編集のため、1送信テキスト当たりの最大送信
データ数になるまで、送信優先度の高いデータ群の単位
キューテーブルよりデータを順次読出して送信テキスト
を編集してデータ送信する。
When editing the transmission text for data transmission, each time the transmission text is edited, the transmission text is edited until the provisional maximum number of transmission data for each data group is reached, and after the provisional editing is completed, 1 When the maximum number of transmitted data per transmitted text is not reached, the data is read from the unit queue table of the data group with high transmission priority until the maximum transmitted data number per transmitted text is reached due to the second transmitted text editing. Is sequentially read, the transmission text is edited, and the data is transmitted.

【0032】このように構成された請求項1のデータ伝
送装置においては、第1の情報処理装置から書込要求が
入力すると、入力した伝送データの識別番号に対応する
管理記憶部の有無フラグが有りのとき該当管理記憶部に
記憶された記憶先インデックス番号が指定する領域に伝
送データを書込み、有無フラグが無しのとき前記書込イ
ンデックス番号が指定する領域に前記伝送データを書込
み、かつ該当管理記憶部に有無フラグ有り及び記憶先イ
ンデックス番号を登録する。
In the data transmission apparatus of the present invention configured as above, when the write request is input from the first information processing apparatus, the presence / absence flag of the management storage unit corresponding to the identification number of the input transmission data is set. When there is, the transmission data is written in the area designated by the storage destination index number stored in the corresponding management storage unit, and when there is no presence / absence flag, the transmission data is written in the area designated by the write index number, and the corresponding management is performed. The presence / absence flag and the storage destination index number are registered in the storage unit.

【0033】また、第2の情報処理装置から読出要求が
入力すると、読出インデックス番号が書込インデックス
番号と異なるとき、読出インデックス番号が指定する領
域の伝送データを読出すとともに、該当伝送データの識
別番号に対応する有無フラグの無しを登録する。
When a read request is input from the second information processing device, when the read index number is different from the write index number, the transmission data in the area designated by the read index number is read and the corresponding transmission data is identified. Register the absence / presence flag corresponding to the number.

【0034】したがって、書込要求が発生する毎に、書
込先の領域のデータが未読出か既読出かの判断及び、書
込先の領域の識別番号を判定する煩雑なソフト的処理を
実施する必要がなくなり、各情報処理装置からの書込要
求及び読出要求に応じて実行されるキューテーブルに対
する書込処理及び読出処理の各処理能率を大幅に向上で
きる。
Therefore, every time a write request is made, it is determined whether the data in the write destination area is unread or read, and a complicated software process is performed to determine the identification number of the write destination area. Therefore, the efficiency of each of the writing process and the reading process for the queue table executed in response to the writing request and the reading request from each information processing device can be significantly improved.

【0035】また、請求項2の発明においては、伝送デ
ータを書込む領域を指定するボトムインデックス番号及
び伝送データを読出す領域を指定するトップインデック
ス番号と、各領域新内に設けられ読出順序を示すフロム
インデックス番号とトゥインデックス番号とを設けてい
る。
Further, in the invention of claim 2, the bottom index number for designating the area for writing the transmission data, the top index number for designating the area for reading the transmission data, and the reading order provided in each of the areas. The from index number and toe index number shown are provided.

【0036】そして、第1の情報処理装置から書込要求
が発生した場合、管理記憶部の有無フラグで識別番号に
対応する領域に未読出の伝送データの有無を判断して、
未読出データが無しの場合、ボトムインデックス番号が
指定する領域に伝送データを書込み、該当領域にフロム
インデックス番号及びトゥインデックス番号を設定す
る。
When a write request is issued from the first information processing apparatus, the presence / absence flag of the management storage unit determines whether or not there is unread transmission data in the area corresponding to the identification number.
When there is no unread data, the transmission data is written in the area designated by the bottom index number, and the from index number and toe index number are set in the corresponding area.

【0037】一方、未読出デーテが有りの場合、管理記
憶部に記憶された記憶先インデックス番号が指定する領
域に伝送データを書込み、かつ該当領域にフロムインデ
ックス番号及びトゥインデックス番号を設定し、有無フ
ラグが有りのとき、該当管理記憶部に記憶された記憶先
インデックス番号が指定する領域に伝送データを書込
み、かつ該当領域のフロムインデックス番号が指定する
領域のトゥインデックス番号及び該当領域のトゥインデ
ックス番号が指定する領域のフロムインデックス番号が
該当領域がパスされるように修正される。
On the other hand, when there is an unread data, the transmission data is written in the area designated by the storage destination index number stored in the management storage section, and the from index number and toe index number are set in the corresponding area. When the flag is present, the transmission data is written in the area specified by the storage destination index number stored in the corresponding management storage section, and the to-index number of the area specified by the from-index number of the corresponding area and the to-index number of the corresponding area are written. The from index number of the area specified by is modified so that the corresponding area is passed.

【0038】このように、各領域へ書込要求のデータを
書込毎に、各領域に記憶されたフロムインデックス番号
及びトゥインデックス番号をリンクさせて更新すること
によって、第2の情報処理装置から読出要求が発生した
時点で、キューテーブルに記憶されている同一識別番号
でかつ書込順序の古い伝送データをパスして書込みの新
しい順に各伝送データを読出して第2の情報処理装置へ
送信できる。
As described above, the write index data and the toe index number stored in each area are linked and updated every time the write request data is written to each area. When a read request is issued, the transmission data having the same identification number stored in the queue table and having the oldest writing order is passed, and the respective transmission data can be read in the newest writing order and transmitted to the second information processing apparatus. .

【0039】請求項3においては、各管理領域に伝送デ
ータの書込み時刻から読出時刻までの経過時間が許容時
間を越えると、読出側に何等かの異常が発生したと判断
できので、この読出を無効と診断して、データ伝送装置
の信頼性を向上させている。
In the third aspect, when the elapsed time from the writing time of the transmission data to the reading time of each management area exceeds the allowable time, it can be determined that some abnormality has occurred on the reading side. By diagnosing it as invalid, the reliability of the data transmission device is improved.

【0040】請求項4においては、マスクパターンも同
時にキューテーブルの各領域に記憶させている。このマ
スクパターンは、入力された多数ビットで構成されたデ
ータのち必要な部分のビット値を抽出する機能を有して
いるので、このマスクパターンをこのデータ伝送装置又
は受信側の第2の情報処理装置で有効に使用できる。
In the fourth aspect, the mask pattern is also stored in each area of the queue table at the same time. Since this mask pattern has a function of extracting a bit value of a necessary portion of the input data composed of a large number of bits, this mask pattern is used as the second information processing of the data transmitting device or the receiving side. It can be used effectively in equipment.

【0041】請求項5においては、前記マスクパターン
で指定されたビットからなるデータのみがキューテーブ
ルの各領域に記憶される。請求項6においては、マスク
パターンをキューテーブルの各領域に書込むときに、前
回に書込まれて記憶されているマスクパターンと今回の
マスクパターンとの論理和を新規のマスクパターンとし
て領域に書込んでいる。
In the fifth aspect, only the data consisting of the bits designated by the mask pattern is stored in each area of the queue table. In claim 6, when writing the mask pattern in each area of the queue table, a logical sum of the mask pattern previously written and stored and the current mask pattern is written in the area as a new mask pattern. It is crowded.

【0042】したがって、たとえ同一識別番号内で送信
順序(書込要求順序)によりマスクパターンが変化した
としても、最終的に制限が最も緩いマスクパターンで送
信データが規制されるので、必要なデータが欠落するこ
とが防止される。
Therefore, even if the mask pattern changes depending on the transmission order (write request order) within the same identification number, the transmission data is finally regulated by the least restrictive mask pattern, so that the required data is It is prevented from missing.

【0043】請求項7〜請求項10においては、伝送デ
ータ数が多いとキューテーブルを複数の単位キューテー
ブルに分割して各伝送データを書込むが、第2の情報処
理装置へ伝送データを送信する場合、一つの送信テキス
トに全ての伝送データを組込むことが困難な場合が発生
することを想定している。
In the seventh to tenth aspects, when the number of transmission data is large, the queue table is divided into a plurality of unit queue tables and each transmission data is written, but the transmission data is transmitted to the second information processing device. In this case, it is assumed that it may be difficult to incorporate all the transmission data into one transmission text.

【0044】そして、送信テキストに対して種々の条件
下で効率的に各送信テキストが編集されて送信される。
請求項7においては、送信テキストを編集する際に、送
信優先度の高いデータ群の単位キューテーブルよりデー
タが順次読出されて送信テキストに編集される。
Then, the transmission texts are efficiently edited and transmitted under various conditions.
In the seventh aspect, when editing the transmission text, the data is sequentially read from the unit queue table of the data group having a high transmission priority and edited into the transmission text.

【0045】請求項8においては、送信テキストが1送
信テキスト当たりの最大送信データ数に満たないとき、
順次送信優先度の低いデータ群の単位キューテーブルよ
りデータが読出されて送信テキストに編集される。
In the eighth aspect, when the transmitted text is less than the maximum number of transmitted data per transmitted text,
Data is sequentially read from the unit queue table of the data group having the lower transmission priority and edited into the transmission text.

【0046】請求項9においては、送信テキストを編集
する際に、送信テキストを編集する都度、前記各最大送
信データ数になるまで、各データ群の単位キューテーブ
ルより順次読出したデータで送信テキストか編集され
る。
In the ninth aspect, when the transmission text is edited, each time the transmission text is edited, the data is read sequentially from the unit queue table of each data group until the maximum transmission data number is reached. Edited.

【0047】請求項10においては、送信テキストを編
集する際に、送信テキストを編集する都度、各データ群
毎の暫定最大送信データ数になるまでテキストを編集
し、暫定的な編集完了後に1送信テキスト当たりの最大
送信データ数に満たないとき、更に第2回目のテキスト
編集のため、1送信テキスト当たりの最大送信データ数
になるまで、送信優先度の高いデータ群の単位キューテ
ーブルよりデータが順次読出して送信テキストが編集さ
れる。
According to the tenth aspect, when the transmission text is edited, each time the transmission text is edited, the text is edited until the provisional maximum number of transmission data for each data group is reached, and one transmission is made after the provisional editing is completed. When the maximum number of transmission data per text is not reached, the data is sequentially transferred from the unit queue table of the data group with high transmission priority until the maximum number of transmission data per transmission text is reached for the second text editing. The read and transmitted text is edited.

【0048】[0048]

【発明の実施の形態】以下本発明の各実施形態を図面を
用いて説明する。 (第1実施形態)図1は本発明の第1実施形態に係わる
データ伝送装置の概略構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing the schematic arrangement of a data transmission apparatus according to the first embodiment of the present invention.

【0049】第1の情報処理装置としての上位計算機1
1から入力したデータと該当データの属性を特定する識
別番号と該当データの有効ビット位置を指定するマスク
パターンからなる伝送データと、この伝送データを書込
むためのタイミング信号(書込要求)とが入力データ読
込部12で受信されて、タイミング信号に同期してキュ
ーテーブル13ヘ書込まれる。
Host computer 1 as first information processor
The transmission data composed of the data inputted from 1, the identification number for identifying the attribute of the corresponding data, the mask pattern for specifying the effective bit position of the corresponding data, and the timing signal (write request) for writing the transmission data are The data is received by the input data reading unit 12 and written in the queue table 13 in synchronization with the timing signal.

【0050】送信データ編集部14は、第2の情報処理
装置としての子局17からの読出要求に応じて、キュー
テーブル13に書込まれた伝送データを読出して、送信
テキストに編集して、送信部16を介して読出要求元の
子局17へ送信する。なお、送信データは必要に応じて
送信データ記憶部15に記憶される。
The transmission data editing unit 14 reads the transmission data written in the queue table 13 in response to a read request from the slave station 17 as the second information processing device, edits the transmission data into a transmission text, It transmits to the slave station 17 of the read request source via the transmitter 16. The transmission data is stored in the transmission data storage unit 15 as needed.

【0051】キューテーブル13内には、図2に示すよ
うに、各伝送データに含まれる識別番号,データ及びマ
スクパターンを記憶するn個の領域19が形成されてい
る。各領域19には0〜(n−1)の記憶先インデック
ス番号が付されている。また、キューテーブル13内に
は、1〜mの各識別番号毎に、該当識別番号の伝送デー
タが書込まれる領域19を指定するインデックス番号及
び該当領域19に未読出の伝送データの有無を示す有無
フラグ20を記憶するm個の管理記憶部21が形成され
ている。
In the queue table 13, as shown in FIG. 2, n areas 19 for storing the identification number, data and mask pattern included in each transmission data are formed. A storage destination index number of 0 to (n-1) is assigned to each area 19. Further, in the queue table 13, for each identification number of 1 to m, an index number designating an area 19 in which the transmission data of the corresponding identification number is written and the presence or absence of unread transmission data in the corresponding area 19 are shown. M management storage units 21 that store the presence / absence flag 20 are formed.

【0052】さらに、キューテーブル13内には、伝送
データを書込む領域19を指定する書込インデックス番
号j及び伝送データを読出す領域19を指定する読出イ
ンデックス番号iを記憶する領域22が形成されてい
る。
Further, in the queue table 13, an area 22 for storing a write index number j for designating an area 19 for writing the transmission data and a read index number i for designating the area 19 for reading the transmission data is formed. ing.

【0053】そして、入力データ書込部12は、図3に
示す流れ図に従って、キューテーブル13に対する伝送
データの書込処理を実施する。上位計算機11からの書
込要求が発生すると、書込要求した伝送データの識別番
号の管理記憶部21の有無フラグ20の状態を調べる
(P21)。有無フラグ20が無し(F=0)の場合
は、書込インデックス番号jが指定する領域19に入力
した伝送データの識別番号,データ及びマスクパターン
を書込む(P22)。そして、該当管理記憶部21の有
無フラグ20を有り(F=1)に設定する(P23)。
次に、該当管理記憶部21に記憶先インデックス番号と
してjを書込む(P24)。
Then, the input data writing unit 12 carries out the write processing of the transmission data to the queue table 13 according to the flow chart shown in FIG. When a write request is issued from the host computer 11, the state of the presence / absence flag 20 of the management storage unit 21 of the identification number of the transmission data for which the write request is made is checked (P21). When the presence flag 20 is absent (F = 0), the identification number, data and mask pattern of the input transmission data are written in the area 19 designated by the write index number j (P22). Then, the presence / absence flag 20 of the relevant management storage unit 21 is set to be present (F = 1) (P23).
Next, j is written as the storage destination index number in the relevant management storage unit 21 (P24).

【0054】そして、書込インデックス番号jを更新し
(P25)、更新後の書込インデックス番号jが最終の
領域19に達した場合は(P26)、書込インデックス
番号jを初期値に戻す(P27)。
Then, the write index number j is updated (P25), and when the updated write index number j reaches the final area 19 (P26), the write index number j is returned to the initial value (P26). P27).

【0055】P21にて、書込要求した伝送データの識
別番号の管理記憶部21の有無フラグ20が既に有り
(F=1)の場合は、P28へ進み、該当管理記憶部2
1に記憶されている記憶先インデックス番号が指定する
領域19に今回入力した伝送データの識別番号,データ
及びマスクパターンを上書きする。
In P21, if the presence / absence flag 20 of the management storage unit 21 for the identification number of the transmission data requested to be written is already present (F = 1), the process proceeds to P28, and the management storage unit 2 concerned.
The identification number, data, and mask pattern of the transmission data input this time are overwritten in the area 19 designated by the storage destination index number stored in 1.

【0056】また、送信データ編集部14は図4にに示
す流れ図に従って、キューテーブル13から伝送データ
の読出処理を実施する。子局7から読出要求が入力され
ると、P31にて、領域22に記憶されている読出イン
デックス番号iと書込インデックス番号jとを比較す
る。
Further, the transmission data editing unit 14 carries out a process of reading transmission data from the queue table 13 according to the flow chart shown in FIG. When a read request is input from the slave station 7, the read index number i stored in the area 22 is compared with the write index number j in P31.

【0057】不一致の場合は、P32へ進み、読出イン
デックス番号iが指定する領域19に記憶されている識
別番号,データ及びマスクバターンからなる伝送データ
を読出す。そして、読出した識別番号が指定する管理記
憶部21の有無フラグ20を無し(F=0)に解除する
(P33)。
If they do not match, the process proceeds to P32 to read the transmission data composed of the identification number, the data and the mask pattern stored in the area 19 designated by the read index number i. Then, the presence / absence flag 20 of the management storage unit 21 designated by the read identification number is canceled (F = 0) (P33).

【0058】そして、読出インデックス番号iを更新し
(P34)、更新後の読出インデックス番号iが最終の
領域19に達した場合は(P35)、読出インデックス
番号iを初期値に戻す(P36)。
Then, the read index number i is updated (P34), and when the updated read index number i reaches the final area 19 (P35), the read index number i is returned to the initial value (P36).

【0059】その後、読出した伝送データを送信テキス
トに書込む(P37)、そして、P31へ戻り、更新後
の読出インデックス番号iと書込インデックス番号jと
を比較する。
After that, the read transmission data is written in the transmission text (P37), and the process returns to P31 to compare the updated read index number i with the write index number j.

【0060】そして、一致する場合は、未読出の伝送デ
ータは全て送信テキストに組込まれたので、この流れ図
を終了する。次に、各伝送データに含まれるマスクパー
タンの機能を説明する。マスクパターンは、伝送テータ
のデータに含まれるデータのうちこのマスクパターンが
[1]に設定されたビットのみ有効として、有効と指定
されたビットが抽出されて各領域19に書込まれる。
If there is a match, then all unread transmission data has been incorporated into the transmission text, and this flow chart ends. Next, the function of the mask pattern included in each transmission data will be described. As for the mask pattern, of the data included in the data of the transmission data, only the bits for which this mask pattern is set to [1] are valid, and the bits designated as valid are extracted and written in each area 19.

【0061】例えば図29に示す順序で識別番号1,2
の各データ及び各マスクパターンが入力したとする。こ
の場合、図5(a)及び図5(b)の各上段は、図29
に示す入力データであり、図5(a)及び図5(b)の
各下段は、キューテーブル13の対応する各識別番号
1,2で指定される各領域19に実際に書込まれるデー
タ値及びその順序を示す。
For example, in the order shown in FIG.
It is assumed that the respective data and the mask patterns are input. In this case, the upper stages of FIG. 5A and FIG.
5A and 5B, the lower part of FIG. 5A and FIG. 5B is a data value actually written in each area 19 designated by the corresponding identification numbers 1 and 2 of the queue table 13. And its order.

【0062】識別番号1の各マスクパターンは全て[F
FFF]であるので、入力された各データの各ビットは
全て有効であり、そのまま領域19に順番に上書されて
いく。そして、図29に示す8個の伝送データの書込処
理が終了した時点では、識別番号1の領域19には、図
5(a)の右端に示すように、最終に入力した伝送デー
タのデータ[3456]とマスクパターン[FFFF]
が記憶されている。
All the mask patterns of the identification number 1 are [F
FFF], all the bits of each input data are valid and are overwritten in order in the area 19 as they are. Then, at the time when the writing process of the eight transmission data shown in FIG. 29 is completed, the data of the last input transmission data is displayed in the area 19 of the identification number 1 as shown at the right end of FIG. [3456] and mask pattern [FFFF]
Is remembered.

【0063】一方、識別番号2の各マスクパターンは
[FFFF]でない。先頭のデータ[1234]はマス
クパターン[000F]で制限されて、図5(b)に示
すように、[0004]が領域19に書込まれる。
On the other hand, each mask pattern with the identification number 2 is not [FFFF]. The first data [1234] is limited by the mask pattern [000F], and [0004] is written in the area 19 as shown in FIG.

【0064】2番目のデータは[5678]であり、マ
スクパターンは[0408]である。そこて、記憶され
た1番目のマスクパターン[000F]と入力された2
番目のマスクパターン[0408]の論理和を新規の2
番目のマスクパターン[040F]として領域19に書
込まれる。そして、2番目のデータ[5678]はこの
書込まれたマスクパターン[040F]で制限されて、
[040C]が領域19に書込まれる。
The second data is [5678] and the mask pattern is [0408]. There, the stored first mask pattern [000F] is input and
The logical sum of the th mask pattern [0408] is set to 2
The mask pattern [040F] is written in the area 19 as the th mask pattern. Then, the second data [5678] is limited by the written mask pattern [040F],
[040C] is written in area 19.

【0065】そして、図5(b)の右端に示すように、
最終に入力したデータ[3456]に対応する[945
C]のデータと一つ前のマスクパターンとの論理和で作
成されたマスクパターン[F4FF]が記憶されてい
る。
Then, as shown at the right end of FIG.
[945 corresponding to the last input data [3456]
The mask pattern [F4FF] created by the logical sum of the data of C] and the preceding mask pattern is stored.

【0066】その結果、図29に示す8個の伝送データ
の書込処理が終了した時点で子局17から読出要求が発
生した場合は、最終的に図6に示す送信テキスト23が
作成されて送信部16を介して子局17へ送信される。
As a result, when the read request is issued from the slave station 17 at the time when the writing process of the eight transmission data shown in FIG. 29 is completed, the transmission text 23 shown in FIG. 6 is finally created. It is transmitted to the child station 17 via the transmitter 16.

【0067】このように構成された第1実施形態のデー
タ伝送装置においては、上位計算機11から書込要求が
入力すると、入力した伝送データの識別番号に対応する
管理記憶部21の有無フラグ20が有り(F=1)のと
き、該当管理記憶部21に記憶された記憶先インデック
ス番号が指定する領域19に伝送データが書込まれる。
一方、有無フラグ20が無し(F=0)のとき書込イン
デックス番号jが指定する領域19に伝送データが書込
まれ、かつ該当管理記憶部21に有無フラグ20有り及
び記憶先インデックス番号が登録される。
In the data transmission apparatus of the first embodiment configured as described above, when a write request is input from the host computer 11, the presence / absence flag 20 of the management storage unit 21 corresponding to the identification number of the input transmission data is set. When there is (F = 1), the transmission data is written in the area 19 designated by the storage destination index number stored in the relevant management storage unit 21.
On the other hand, when the presence flag 20 is absent (F = 0), the transmission data is written in the area 19 designated by the write index number j, and the presence / absence flag 20 is present and the storage destination index number is registered in the relevant management storage unit 21. To be done.

【0068】また。子局17から読出要求が入力する
と、読出インデックス番号iが書込インデックス番号j
と異なるとき、読出インデックス番号iが指定する領域
19の伝送データが読出されるとともに、該当伝送デー
タの識別番号に対応する有無フラグ20が無しに登録さ
れる。
Also, When a read request is input from the slave station 17, the read index number i is changed to the write index number j.
, The transmission data in the area 19 designated by the read index number i is read, and the presence / absence flag 20 corresponding to the identification number of the transmission data is registered as none.

【0069】したがって、同一識別番号を有する伝送デ
ータは同一の領域19へ順次上書きされていき、読出要
求が発生すると、最終に書込まれた有効な伝送データの
みが送信テキスト23に組込まれて子局17へ送信され
るので、一度に同一識別番号を有した複数の伝送データ
が送信されることはない。
Therefore, the transmission data having the same identification number are sequentially overwritten in the same area 19, and when a read request occurs, only the last valid transmission data written is incorporated in the transmission text 23 and the child data is transmitted. Since it is transmitted to the station 17, a plurality of transmission data having the same identification number are not transmitted at one time.

【0070】また、書込要求が発生する毎に、書込先の
領域19のデータが未読出か既読出かの判断及び、書込
先の領域19の識別番号を判定する煩雑なソフト的処理
を実施する必要がなくなり、上位計算機11及び子局1
7からの書込要求及び読出要求に応じて実行されるキュ
ーテーブル13に対する書込処理及び読出処理の各処理
能率を大幅に向上できる。
Further, every time a write request is generated, a complicated software process for determining whether the data in the write destination area 19 is unread or read and determining the identification number of the write destination area 19 is performed. Need not be performed, and the host computer 11 and slave station 1
It is possible to greatly improve the processing efficiency of the writing process and the reading process for the queue table 13 executed in response to the writing request and the reading request from 7.

【0071】また、領域19へ書込むマスクパターンを
既に記憶されているマスクパターンと新規入力したマス
クパターンとの論理和のマスクパターンとしているの
で、たとえ同一識別番号内で送信順序(書込要求順序)
によってマスクパターンが変化したとしても、最終的に
制限が最も緩いマスクパターンで送信データが規制され
るので、必要なデータが欠落することが防止される。
Further, since the mask pattern to be written in the area 19 is the mask pattern of the logical sum of the already stored mask pattern and the newly input mask pattern, even in the same identification number, the transmission order (write request order) )
Even if the mask pattern changes due to, the transmission data is finally regulated by the mask pattern with the least restriction, so that the necessary data is prevented from being lost.

【0072】なお、第1実施形態においては、図5に示
すように、領域19へ書込むマスクパターンを既に記憶
されているマスクパターンと新規入力したマスクパター
ンとの論理和のマスクパターンとしたが、図7に示すよ
うに、単純に新規に入力したマスクパターンを既に書込
まれているマスクパターンにそのまま上書きすることも
可能である。
In the first embodiment, as shown in FIG. 5, the mask pattern to be written in the region 19 is the logical sum of the mask pattern already stored and the newly input mask pattern. As shown in FIG. 7, it is also possible to simply overwrite a mask pattern that has been newly input with the mask pattern that has already been written as it is.

【0073】また、図6に示すように、第1実施形態に
おいては、送信部16から子局17へ送信される送信テ
キスト23には識別番号とデータとマスクパターンとを
組込んだが、図8に示すように、マスクパターンを省略
して、識別番号とデータのみを組込んでもよい。
Further, as shown in FIG. 6, in the first embodiment, the transmission text 23 transmitted from the transmission section 16 to the slave station 17 incorporates the identification number, the data and the mask pattern. As shown in, the mask pattern may be omitted and only the identification number and data may be incorporated.

【0074】また、このように構成された図1〜8に示
す実施形態においては、たとえ図9(a)に示すよう
に、伝送データの各領域19に対する書込み順序が整理
番号順でなかったとしても、図9(b)に示すように、
識別番号順に読出されて、送信テキスト23に組込まれ
て子局17へ送信される。
Further, in the embodiment shown in FIGS. 1 to 8 configured as described above, it is assumed that the writing order of the transmission data in each area 19 is not the serial number order, as shown in FIG. 9A. Also, as shown in FIG.
It is read in the order of the identification numbers, embedded in the transmission text 23, and transmitted to the child station 17.

【0075】(第2実施形態)図10は本発明の第2実
施形態に係わるデータ伝送装置に組込まれたキューテー
ブル13aの記憶内容を示す図である。このキューテー
ブル13a以外の構成は図1に示した第1実施形態のデ
ータ伝送装置とほぼ同様であるので詳細説明を省略す
る。
(Second Embodiment) FIG. 10 is a diagram showing the stored contents of a queue table 13a incorporated in a data transmission apparatus according to the second embodiment of the present invention. Since the configuration other than the queue table 13a is almost the same as that of the data transmission apparatus of the first embodiment shown in FIG. 1, detailed description will be omitted.

【0076】この第2実施形態のデータ伝送装置に組込
まれたキューテーブル13aの各識別番号に対応する各
管理記憶部21a内には、記憶先のインデックス番号及
び有無フラグ20の他に、タイマ値24が設定されてい
る。このタイマ値はインデックス番号が指定する領域1
9に新規のデータが書込まれると0にリセット(再起
動)される。すなわち、このタイマ値は領域19に新規
データが書込まれてからの経過時間を計時する。
In each management storage unit 21a corresponding to each identification number of the queue table 13a incorporated in the data transmission apparatus of the second embodiment, in addition to the storage destination index number and presence / absence flag 20, a timer value is set. 24 is set. This timer value is the area 1 specified by the index number.
When new data is written in 9, it is reset (restarted) to 0. That is, this timer value measures the elapsed time since the new data was written in the area 19.

【0077】そして、入力データ書込部12は、上位計
算機11から書込要求が発生すると、図11の流れ図に
従って、キューテーブル13aに対する書込処理を実行
する。なお、図3の流れ図と同一部分には同一符号が付
してある。したがって、異なる部分のみを説明する。
Then, when a write request is issued from the host computer 11, the input data writing unit 12 executes the writing process to the queue table 13a according to the flowchart of FIG. The same parts as those in the flowchart of FIG. 3 are designated by the same reference numerals. Therefore, only different parts will be described.

【0078】P22〜P24にて、新規入力した伝送デ
ータの指定領域19に対する書込処理が終了すると、P
24aにて、対応する管理記憶部21aのタイマ値を0
にリセット(再起動)させる。
When the writing process for the newly input transmission data in the designated area 19 is completed in P22 to P24, P
24a, the timer value of the corresponding management storage unit 21a is set to 0.
To reset (restart).

【0079】同様に、P28にて新規入力した伝送デー
タの指定領域19に対する書込処理が終了すると、P2
8aにて、対応する管理記憶部21aのタイマ値を0に
リセット(再起動)させる。
Similarly, when the writing process of the newly input transmission data in the designated area 19 in P28 is completed, P2 is set.
At 8a, the timer value of the corresponding management storage unit 21a is reset to 0 (restart).

【0080】送信データ編集部14は、子局17から読
出要求が発生すると、図12の流れ図に従って、キュー
テーブル13aから伝送データの読出処理を実行する。
図4の流れ図と同一部分には同一符号が付してある。し
たがって、異なる部分のみを説明する。
When a read request is issued from the slave station 17, the transmission data editing unit 14 executes a process of reading transmission data from the queue table 13a according to the flowchart of FIG.
The same parts as those in the flowchart of FIG. 4 are designated by the same reference numerals. Therefore, only different parts will be described.

【0081】P32〜33にて読出インデックス番号i
の指定する領域19からデータを読出すと、P33aに
て、対応する管理記憶部21aのタイマ値を調べて、こ
のタイマ値が限界値を越えていた場合は、何等かの異常
が発生したと判断して、該当データの送信テキスト23
への書込みを中止する。
Read index number i in P32-33
When the data is read from the area 19 designated by, the timer value of the corresponding management storage unit 21a is checked in P33a, and if this timer value exceeds the limit value, it means that some abnormality has occurred. Judgment, the transmission text of the corresponding data 23
Stop writing to.

【0082】このように構成された第2実施形態のデー
タ伝送装置においては、各領域19に記憶された伝送デ
ータが限界時間を越えて長期に亘って読出されない場合
は、該当領域19に記憶されている識別番号、データ,
マスクパターンは無効となる。
In the data transmission apparatus of the second embodiment having such a configuration, if the transmission data stored in each area 19 is not read out for a long period of time exceeding the limit time, it is stored in the corresponding area 19. Identification number, data,
The mask pattern is invalid.

【0083】すなわち、キューテーブル13aヘ書込み
したにもかかわらず読出要求が無い場合は、送信デ−タ
編集部14に何らかの問題が発生した可能性がある。こ
のように、タイマ値が限界時間を越えた後に読出しがあ
った場合、古い情報を読出し、その値を子局17へデー
タ伝送することになり、制御性や操作性から異常状態を
招く虞れが強い。
That is, if there is no read request even though the data is written in the queue table 13a, there is a possibility that some problem has occurred in the transmission data editing unit 14. In this way, when the timer value exceeds the limit time and is read, old information is read and the value is transmitted to the slave station 17, which may cause an abnormal state due to controllability and operability. Is strong.

【0084】そこで、実施形態のように、異常発生の可
能性ありと判断されたデータの送信を中止して子局17
で異常発生を未然に防止している。なお、異常発生情報
を送信テキスト23に組込んで子局17へ送信すること
も可能である。この場合、子局17は異常発生の識別番
号に対応する信号路の異常を認識できる。
Therefore, as in the embodiment, the transmission of the data judged to have the possibility of the abnormality occurrence is stopped and the slave station 17
To prevent the occurrence of abnormalities. It is also possible to incorporate the abnormality occurrence information into the transmission text 23 and transmit it to the child station 17. In this case, the slave station 17 can recognize the abnormality of the signal path corresponding to the identification number of the abnormality occurrence.

【0085】(第3実施形態)図13は本発明の第3実
施形態に係わるデータ伝送装置に組込まれたキューテー
ブル13bの記憶内容を示す図である。このキューテー
ブル13b以外の構成は図1に示した第1実施形態のデ
ータ伝送装置とほぼ同様であるので詳細説明を省略す
る。
(Third Embodiment) FIG. 13 is a diagram showing the stored contents of a queue table 13b incorporated in a data transmission apparatus according to the third embodiment of the present invention. Since the configuration other than the queue table 13b is almost the same as that of the data transmission device of the first embodiment shown in FIG. 1, detailed description thereof is omitted.

【0086】この第3実施形態のデータ伝送装置に組込
まれたキューテーブル13b内には、1〜mの各識別番
号に対応するm個の管理記憶部21aと、0〜(n−
1)のインデックス番号が付されたn個の領域19a
と、一つの領域25が形成されている。
In the queue table 13b incorporated in the data transmission apparatus of the third embodiment, m management storage sections 21a corresponding to the respective identification numbers 1 to m and 0 to (n-
N areas 19a to which the index numbers of 1) are attached
And one region 25 is formed.

【0087】領域25内には、書込要求の伝送データの
書込領域19aを指定するための Bttom(ポトム)イン
デックス番号と、読出要求に応じて、伝送データの読出
先頭領域19aを指定するTop (トップ)インデックス
番号とが記憶されている。
In the area 25, a Bttom index number for designating the write area 19a of the transmission data of the write request, and a Top area 19a for designating the read start area 19a of the transmission data in response to the read request. The (top) index number is stored.

【0088】また、各管理記憶部21a内には、図10
に示す第2実施形態と同様に、自己の識別番号に対応す
る伝送データを記憶する領域19aを指定する記憶先の
インデックス番号、有無フラグ20、タイマ値24が記
憶されている。
Further, in each management storage unit 21a, FIG.
Similar to the second embodiment shown in FIG. 3, the index number of the storage destination that specifies the area 19a that stores the transmission data corresponding to its own identification number, the presence / absence flag 20, and the timer value 24 are stored.

【0089】さらに、各領域19aには、伝送データを
構成する識別番号,データ及びマスクパターンの他に、
読出順序を示すfrom(フロム)インデックス番号及びto
(トゥ)インデックス番号が書込まれる。
Further, in each area 19a, in addition to the identification number, data and mask pattern which form the transmission data,
From (from) index number and to indicating the reading order
(To) The index number is written.

【0090】次に、各インデックス番号の説明を行う。
上位計算機11から書込要求が順次入力すると、この各
書込要求の各伝送データをbottomインデックス番号の次
の番号の指定する領域19aから順番に格納してゆく。
一方、子局17から読出要求が入力すると、top インデ
ックス番号の指定する領域19aから伝送データを順番
に読出して送信データ編集部14で送信テキストに編集
して送信部16を介して要求元の子局17へ送信する。
Next, each index number will be described.
When write requests are sequentially input from the host computer 11, each transmission data of each write request is sequentially stored from the area 19a designated by the number next to the bottom index number.
On the other hand, when the read request is input from the slave station 17, the transmission data is sequentially read from the area 19a designated by the top index number, the transmission data editing unit 14 edits the transmission text, and the transmission request is transmitted via the transmission unit 16 to the child of the request source. Send to station 17.

【0091】各領域19aに設定されるfromインデック
ス番号は一つ前に読出すべき領域19aを特定するイン
デックス番号である。また、各領域19aに設定される
toインデックス番号は、次に読出すべき領域19aを特
定するインデックス番号である。
The from index number set in each area 19a is an index number that specifies the area 19a to be read immediately before. Moreover, it is set in each area 19a.
The to index number is an index number that specifies the area 19a to be read next.

【0092】上位計算機11から全く書込要求が入力し
ていない初期状態では、図14の(動作a)及び図15
の(状態a)に示すように、キューテーブル13bのbo
ttomインデックス番号及びtop インデックス番号は共に
[FFFF]であり、各管理記憶部21aの有無フラグ
20は共に無し(F=0)である。
In the initial state where no write request is input from the host computer 11, (operation a) of FIG. 14 and FIG.
As shown in (state a) of, the bo of the queue table 13b is
Both the ttom index number and the top index number are [FFFF], and the presence / absence flag 20 of each management storage unit 21a is absent (F = 0).

【0093】ここで、動作説明を解り易くするために、
図9(a)に示した順序で各識別番号の伝送データが入
力されるとする。なお、マスクパターンは省略されてい
る。先頭の[1 000A]の書込要求が発生すると、
[FFFF]のBottomインデックス番号の次の番号であ
るインデックス番号0の領域19aに識別番号1,デー
タ000Aを書込み、一つ前に読出すべき領域19aを
特定するfromインデックス番号にtop インデックス番号
である[FFFF]を設定する。なお、この時点ではto
インデックス番号は不明であり、[FFFF]を設定す
る。
Here, in order to make the explanation of the operation easy to understand,
It is assumed that the transmission data of each identification number is input in the order shown in FIG. The mask pattern is omitted. When a write request of the first [1000A] occurs,
The identification number 1 and the data 000A are written in the area 19a of the index number 0, which is the number next to the Bottom index number of [FFFF], and the top index number is the top index number in the from index number that specifies the area 19a to be read immediately before. Set [FFFF]. At this point, to
The index number is unknown and [FFFF] is set.

【0094】そして、読出開始位置を示すtop インデッ
クス番号に該当領域19aを特定するインデックス番号
[0]を書込む。そして、bottomインデックス番号を1
だけ更新して[0]とする。さらに、該当領域19aの
伝送データの識別番号1に対応する管理記憶部21aに
記憶先インデックス番号[0]を設定し、有無フラグ2
0を有り(F=1)に設定する。
Then, the index number [0] for specifying the corresponding area 19a is written in the top index number indicating the read start position. And set the bottom index number to 1
Just update to [0]. Further, the storage destination index number [0] is set in the management storage unit 21a corresponding to the identification number 1 of the transmission data of the relevant area 19a, and the presence / absence flag 2 is set.
Set 0 to Yes (F = 1).

【0095】2番目の[2 000B]の書込要求が発
生すると、該当伝送データの識別番号の管理記憶部21
aの有無フラグ20が無し(F=0)を確認した後、
[0]のbottomインデックス番号の次の番号であるイン
デックス番号1の領域19aに、この入力書込要求の伝
送データを書込む。そして、一つ前に読出すべき領域1
9aを特定するfromインデックス番号に[0]を設定す
る。さらに、このfromインデックス番号[0]で指定さ
れる領域19aのtoインデックス番号を自己の領域19
aを特定する[1]とする。自己のtoインデックス番号
は[FFFF]とする。
When the second [2000B] write request is generated, the management storage unit 21 of the identification number of the corresponding transmission data is generated.
After confirming that the presence / absence flag 20 of a is absent (F = 0),
The transmission data of the input write request is written in the area 19a of the index number 1 which is the number next to the bottom index number of [0]. And the area 1 to be read one before
[0] is set to the from index number that specifies 9a. Furthermore, the to index number of the area 19a designated by this from index number [0] is set to the own area 19
Let a be specified as [1]. The own to index number is [FFFF].

【0096】3番目の[3 000C]の書込要求が発
生すると、該当伝送データの識別番号の管理記憶部21
aの有無フラグ20が無し(F=0)を確認した後、こ
の入力書込要求の伝送データをbottomインデックス番号
の次の番号が指定するインデックス番号[2]の領域1
9aへ書込む。
When the third [3000C] write request is generated, the management storage unit 21 of the identification number of the corresponding transmission data is generated.
After confirming that the presence / absence flag 20 of a is absent (F = 0), the transmission data of this input write request is designated by the area 1 of the index number [2] designated by the number next to the bottom index number.
Write to 9a.

【0097】図14の(動作b)に示す1番目から3番
目までの3つの伝送データに対する書込処理か終了した
状態のキューテーブル13bの各領域の記憶状態を図1
5の(状態b)に示す。図示するように、インデックス
番号0〜2の各良識19aに[1 000A],[2
000B],[3 000C]の各伝送データが格納さ
れている。そして、次の書込先領域19aを指定するbo
ttomインデックス番号には[2]が設定され、読出開始
領域19aを指定する topインデックス番号は[0]の
まま変化しない。
FIG. 1 shows the storage state of each area of the queue table 13b in the state where the write processing for the first to third transmission data shown in (Operation b) of FIG. 14 has been completed.
5 (state b). As shown in the figure, [1,000 A], [2
Each transmission data of [000B] and [3000C] is stored. Then, bo that specifies the next write destination area 19a
The ttom index number is set to [2], and the top index number designating the read start area 19a remains unchanged at [0].

【0098】そして、例えば[1]のインデックス番号
の領域19aには、自己より一つ先に読出す[0]のイ
ンデックス番号がfromインデックス番号として記憶さ
れ、自己より一つ後に読出す[2]のインデックス番号
がtoインデックス番号として記憶されている。
Then, for example, in the area 19a of the index number of [1], the index number of [0] which is read ahead of itself is stored as the from index number, and the index number is read after one from itself [2]. The index number of is stored as the to index number.

【0099】すなわち、伝送データは、[1 000
A],[2 000B],[3 000C]の順にリン
ク(接続)されていることを示す。したがって、この時
点で子局17から読出要求が発生した場合は、上述した
書込み順序と同一順序で読出されることを示す。
That is, the transmission data is [1000
A], [2000B], and [3000C] are linked (connected) in this order. Therefore, if a read request is issued from the slave station 17 at this point, it indicates that the read is performed in the same order as the above-described write order.

【0100】次に、4番目の伝送データ[2 000
D]の書込要求が発生すると、図14の(動作c)及び
図16の(状態c)に示すように、該当識別番号[2]
の管理記憶部21aの有無フラグ20が有り(F=1)
であるので、該当伝送データ[2 000D]は識別番
号[2]の管理記憶部21aの記憶先インデックス番号
の指定するインデックス番号[1]の領域19aに上書
きされる。そして、bottomインデックス番号は最終に書
込まれた領域19aのインデックス番号である[1]が
設定される。
Next, the fourth transmission data [2000
When the write request of D] is generated, as shown in (operation c) of FIG. 14 and (state c) of FIG. 16, the corresponding identification number [2]
Presence / absence flag 20 of the management storage unit 21a of F exists (F = 1)
Therefore, the corresponding transmission data [2000D] is overwritten in the area 19a of the index number [1] specified by the storage index number of the management storage unit 21a of the identification number [2]. Then, the bottom index number is set to [1], which is the index number of the area 19a that was finally written.

【0101】そして、該当領域19aのfromインデック
ス番号が指定する一つ前に読出すべきインデックス番号
[0]の領域19atoインデックス番号を自己のtoイン
デックス番号が指定する[2]へ変更する。自己のtoイ
ンデックス番号が指定する[2]の領域19aのfromイ
ンデックス番号を自己のfromインデックス番号が指定す
る[1]へ変更する。
Then, the area 19a to index number of the index number [0] to be read immediately before that specified by the from index number of the area 19a is changed to [2] specified by its own to index number. The from index number of the area 19a of [2] designated by its own to index number is changed to [1] designated by its own from index number.

【0102】そして、自己の領域19aのfromインデッ
クス番号を、自己のtoインデックス番号が指定する
[2]の領域19aのインデックス番号の[2]を設定
する。さらに、自己のtoインデックス番号を未定を示す
[FFFF]に書き直す。
Then, the from index number of its own area 19a is set to the index number [2] of the area 19a of [2] designated by its own to index number. Furthermore, the own to index number is rewritten to [FFFF] indicating undecided.

【0103】このように、書込要求の伝送データと同一
識別番号の伝送データが未読出状態で残留している場合
は、未読出の伝送データに上書きすると共に、読出要求
発生時に、この新規に上書きした伝送データの読出順位
が先に書込まれた他の領域19aの伝送データより後に
なるように、自己の前後に読出される各領域19aのto
インデックス番号及びfromインデックス番号を自己の領
域19aをパスするように設定し直す。
In this way, when the transmission data of the same identification number as the transmission data of the write request remains in the unread state, it is overwritten on the unread transmission data, and at the time of the read request, this new data is newly added. In order that the read order of the overwritten transmission data is later than the transmission data of the other area 19a written earlier, the to of each area 19a read before and after itself is
The index number and the from index number are reset so as to pass the area 19a.

【0104】具体的には、図16の(状態c)では、伝
送データは[1 000A]→[2000B]→[3
000C]の読出順でリンク(接続)されていたが、図
16の(状態d)では、[1 000A]→[3 00
0C]→[2 000D]の読出順に変化したことを示
す。
Specifically, in (state c) of FIG. 16, the transmission data is [1000A] → [2000B] → [3
000C] were linked (connected) in the reading order, but in (state d) of FIG. 16, [1000A] → [300
This indicates that the reading order has changed from 0C] to [2000D].

【0105】同様に、図9(a)の4番目の[1 00
0E]の伝送データのキューテーブル13bに対する書
込動作を図14の(動作d)に示し、該当伝送データが
キューテーブル13bに書込まれた状態を図16の(状
態d)に示す。
Similarly, the fourth [100] in FIG.
The operation of writing the transmission data of [0E] to the queue table 13b is shown in (operation d) of FIG. 14, and the state in which the corresponding transmission data is written in the queue table 13b is shown in (status d) of FIG.

【0106】この状態においては、識別番号[1]に所
属する伝送データも上書きされるので、この領域19a
のfoomインデックス番号が指定する[FFFF]のイン
デックス番号を有すtop インデックス番号を自己のtoイ
ンデックス番号である[2]へ変更する。
In this state, since the transmission data belonging to the identification number [1] is also overwritten, this area 19a
The top index number having the index number of [FFFF] specified by the foom index number of is changed to [2] which is its own to index number.

【0107】さらに、図9(a)の最終(5番目)の
[2 000F]の伝送データのキューテーブル13b
に対する書込動作を図14の(動作e)に示し、該当伝
送データがキューテーブル13bに書込まれた状態を図
17の(状態e)に示す。
Furthermore, the queue table 13b of the final (fifth) [2000F] transmission data in FIG.
14 (operation e) shows the write operation for the, and FIG. 17 (status e) shows the state in which the corresponding transmission data is written in the queue table 13b.

【0108】この状態においては、この最終(5番目)
の[2 000F]の伝送データが書込まれて状態にお
いては、top インデックス番号は[2]であるので、こ
の時点で子局17から読出要求が入力されると、図18
に示すように、[2]のインデックス番号が指定する領
域19aに記憶されている[3 000C]の伝送デー
タが最初に読出され、該当領域19aのtoインデックス
番号が指定する[0]のインデックス番号の領域19a
に記憶されている[1 000E]が読み出される。最
後に、該当領域19aのtoインデックス番号が指定する
[1]のインデックス番号の領域19aに記憶されてい
る[2 000F]が読出される。そして、送信テキス
ト23に同一順序で組込まれて子局17へ送信される。
In this state, this final (fifth)
In the state in which the transmission data of [2000F] has been written, the top index number is [2]. Therefore, if a read request is input from the slave station 17 at this point, FIG.
As shown in, the transmission data of [3000C] stored in the area 19a designated by the index number of [2] is first read, and the index number of [0] designated by the to index number of the relevant area 19a. Area 19a
[1000E] stored in is read. Finally, [2000F] stored in the area 19a having the index number [1] specified by the to index number of the area 19a is read. Then, it is incorporated in the transmission text 23 in the same order and transmitted to the child station 17.

【0109】したがって、読出要求に応じて、図9
(b)に示す無条件に識別番号順に読出されることはな
く、識別番号もデータも後からキューテーブル13bに
書込まれたものが、優先して出力される。
Therefore, in response to the read request, the process shown in FIG.
It is not unconditionally read in the order of the identification number shown in (b), and the identification number and the data written in the queue table 13b later are preferentially output.

【0110】このような読出順序制御は、例えばキュー
テーブル13bへ書込要求した伝送データの内容が機器
の操作順を指す場合は、あくまで識別番号もデータも後
優先にしてデータ伝送しないと、機器の操作順に手順前
後が生じ、操作順が誤ってしまうシステムに対して非常
に有効である。
In such read order control, when the content of the transmission data requested to be written in the queue table 13b indicates the operation order of the equipment, the identification number and the data are prioritized after the data transmission. This is very effective for a system in which the sequence of operations occurs before and after the procedure and the sequence of operations is incorrect.

【0111】(第4実施形態)図19は本発明の第4実
施形態のデータ伝送装置の概略構成を示すブロック図で
ある。図1に示す第1実施形態のデータ伝送装置と同一
部分には同一符号が付してある。したがって、重複する
部分の詳細説明は省略されている。
(Fourth Embodiment) FIG. 19 is a block diagram showing a schematic structure of a data transmission device according to a fourth embodiment of the present invention. The same parts as those of the data transmission apparatus of the first embodiment shown in FIG. 1 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions is omitted.

【0112】この第4実施形態においては、上位計算機
11から最終的に伝送データを送信すべきき1番目から
I番目までの合計I個の子局17aが設らけている。そ
して、上位計算機11からの書込要求の各伝送データを
記憶するキーテーブル13cは、前記各子局17aにそ
れぞれ対応する1番目からI番目からのI個の単位キュ
ーテーブル26で構成されている。
In the fourth embodiment, there are provided a total of I slave stations 17a from the first computer to the Ith computer to which the transmission data should be finally transmitted from the host computer 11. The key table 13c for storing each transmission data of the write request from the high-order computer 11 is composed of 1 to I unit queue tables 26 corresponding to the respective slave stations 17a. .

【0113】図20はキーテーブル13cの概略構成を
示す模式図である。このキーテーブル13cを構成する
1番目〜I番目の各局番号に対応する単位キーテーブル
26は図2に示した第1実施形態に組込まれたキーテー
ブル13と同一構成を有している。
FIG. 20 is a schematic diagram showing a schematic structure of the key table 13c. The unit key table 26 corresponding to each of the first to I-th station numbers forming the key table 13c has the same structure as the key table 13 incorporated in the first embodiment shown in FIG.

【0114】そして、上位計算機11から出力される書
込要求の各伝送データには、前述した識別番号,デー
タ,マスクパターンの他に局番が含まれており、入力デ
ータ書込部12は入力した各伝送データをこの伝送デー
タに含まれる1番目〜I番目の各局番号に局番に対応す
る単位キューテーブル26へ第1実施形態と同一手順で
書込む。
Each transmission data of the write request output from the host computer 11 includes the station number in addition to the above-mentioned identification number, data and mask pattern, and the input data writing unit 12 inputs the data. The respective transmission data are written in the unit queue table 26 corresponding to the station numbers of the first to I-th station numbers included in the transmission data in the same procedure as in the first embodiment.

【0115】キューテーブル13cを構成する各単位キ
ューテーブル26に記憶された各データ群は送信データ
編集部14でそれぞれ個別に読出されて、送信テキスト
に組込まれて回線切換部27を介して該当データ群が所
属する局番号の子局17aへ送信される。
Each data group stored in each unit queue table 26 constituting the queue table 13c is individually read out by the transmission data editing section 14 and incorporated in the transmission text to be transmitted to the corresponding data via the line switching section 27. It is transmitted to the slave station 17a having the station number to which the group belongs.

【0116】このように構成された第4実施形態のデー
タ伝送装置であっても、各子局17aに対応した単位キ
ューテーブル26に対する伝送データの書込処理及び読
出処理は図1に示した第1実施形態と同様の処理手順で
実施されるので、第1実施形態と同様の効果を得ること
ができる。
Even in the data transmission apparatus of the fourth embodiment configured as described above, the writing process and the reading process of the transmission data with respect to the unit queue table 26 corresponding to each slave station 17a are the same as those shown in FIG. Since the procedure is similar to that of the first embodiment, the same effect as that of the first embodiment can be obtained.

【0117】(第5実施形態)図21は本発明の第5実
施形態のデータ伝送装置の概略構成を示すブロック図で
ある。図19に示す第4実施形態のデータ伝送装置と同
一部分には同一符号が付してある。したがって、重複す
る部分の詳細説明は省略されている。
(Fifth Embodiment) FIG. 21 is a block diagram showing the schematic arrangement of a data transmission device according to the fifth embodiment of the present invention. The same parts as those of the data transmission device of the fourth embodiment shown in FIG. 19 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions is omitted.

【0118】この第5実施形態においては、上位計算機
11から出力される各伝送データはそれぞれデータ種別
に応じて、制御−A,制御−B,…,制御−J等の複数
種類に分類される。そして、上位計算機11から入力さ
れた書込要求の各伝送データは入力データ書込部12を
経由して分配部28で前述した制御−A〜制御−Jまで
のデータ種毎に仕分けられる。仕分けられた各伝送デー
タはキューテーブル13dを構成する各制御−A〜制御
−Jに対応する各単位キューテーブル26aへ書込まれ
る。
In the fifth embodiment, each transmission data output from the host computer 11 is classified into a plurality of types such as control-A, control-B, ..., Control-J according to the data type. . Then, each transmission data of the write request input from the host computer 11 is sorted by the distribution unit 28 via the input data writing unit 12 for each data type from the above-mentioned control-A to control-J. Each sorted transmission data is written in each unit queue table 26a corresponding to each control-A to control-J forming the queue table 13d.

【0119】送信データ編集部14aには、1つの送信
テキストに組込む制御−A〜制御−Jの各データ群毎の
最大送信データ数を記憶するメモリ29と、1つの送信
テキスト当りの最大信データ数を記憶するメモリ30
と、制御−A〜制御−Jの各データ群相互間を含む各種
の送信優先度を記憶するメモリ31とが接続されてい
る。
The transmission data editing section 14a has a memory 29 for storing the maximum number of transmission data for each data group of control-A to control-J to be incorporated in one transmission text, and maximum transmission data for one transmission text. Memory 30 for storing numbers
And a memory 31 that stores various transmission priorities including mutual control-A to control-J data groups.

【0120】なお、各メモリ29〜31に対して各条件
を設定するか否か、また設定する場合にどのような値を
設定するかは、このデータ伝送装置の操作者が図示しな
い操作部を介して任意に選択設定可能である。
Whether or not to set each condition for each of the memories 29 to 31 and what value to set when setting each condition, the operator of this data transmission apparatus operates an operation unit (not shown). It can be arbitrarily selected and set via the.

【0121】そして、通信データ編集部14aは、各メ
モリ29,30,31に記憶されている各データ群毎の
最大送信データ数、1送信テキスト当りの最大送信デー
タ数及び各データ群相互間の送信優先順位等からなる編
集条件に基づいて各単位キューテーブル26aに記憶さ
れている各データ群を読出して、一つまたは複数の送信
テキストに組込んで送信部16を介して子局17へ送信
する。
Then, the communication data editing section 14a uses the maximum number of transmission data for each data group stored in each of the memories 29, 30, 31 and the maximum number of transmission data for each transmission text, and between each data group. Each data group stored in each unit queue table 26a is read out based on an editing condition such as a transmission priority order, incorporated into one or a plurality of transmission texts, and transmitted to the slave station 17 via the transmission unit 16. To do.

【0122】以下、各メモリ29〜31に各種の条件が
設定された場合における通信データ編集部14aで作成
される各送信テキストのフォーマットを順番に説明す
る。 (条件1) 条件設定なし(図22) 図22は、各メモリ29〜31に条件が全く設定されて
いない状態において、通信データ編集部14aが編集し
て子局17へ送信される送信テキスト32のフォーマッ
トを示す図である。この送信テキスト32はテキスト長
を自由に設定可能な可変長テキストである。
The format of each transmission text created by the communication data editing unit 14a when various conditions are set in each of the memories 29 to 31 will be sequentially described below. (Condition 1) No condition is set (FIG. 22) FIG. 22 shows a transmission text 32 that is edited by the communication data editing unit 14a and transmitted to the slave station 17 when no conditions are set in the memories 29 to 31. It is a figure which shows the format of. The transmission text 32 is a variable length text whose text length can be freely set.

【0123】この送信テキスト32の先頭近傍に制御−
A〜制御の各データ群毎に、送信データ数が設定され、
その後に制御−A〜制御−Jの各データ群が設定され
る。 (条件2) メモリ30に条件設定(図23) メモリ30に1送信テキスト当りの最大送信データ数が
設定されていた場合で、かつ最大送信データ数が例えば
[6]に設定されていた場合は、図22の送信テキスト
32に含まれる全部の伝送データを同時に送信できない
ので、各送信データを図23に示すように、複数の送信
テキスト33に分割して送信する。
Control near the beginning of this transmitted text 32
The number of transmitted data is set for each data group of A to control,
After that, each data group of control-A to control-J is set. (Condition 2) Condition setting in the memory 30 (FIG. 23) In the case where the maximum transmission data number per one transmission text is set in the memory 30 and the maximum transmission data number is set to [6], for example , All the transmission data included in the transmission text 32 in FIG. 22 cannot be transmitted at the same time, so each transmission data is divided into a plurality of transmission texts 33 and transmitted as shown in FIG.

【0124】具体的には、図23に示すように、各送信
テキスト33を編集する都度、該当送信テキストに含ま
れる送信データ数(伝送データ数)が最大送信データ数
に達するまで、各単位キューテーブル26aから読出し
た各データ群を各伝送データ単位で分解して順番に
(a)〜(e)の各送信テキスト33に設定していく。
したがって、最終に編集された(e)で示す送信テキス
ト内には最大送信データ数[6]より少ない5個の伝送
データが組込まれる。
Specifically, as shown in FIG. 23, each time when each transmission text 33 is edited, each unit queue is processed until the number of transmission data included in the transmission text (transmission data number) reaches the maximum transmission data number. Each data group read from the table 26a is decomposed in each transmission data unit and set in order in each transmission text 33 of (a) to (e).
Therefore, five pieces of transmission data, which is less than the maximum number of transmission data [6], are incorporated in the finally edited transmission text shown in (e).

【0125】なお、この1つの送信テキストに組込むデ
ータ数の最大値を設定する理由は、特定のワードアドレ
スの送信(受信)する時間間隔を極力均一にすることに
ある。言い替えれば、前記時間間隔の周期より小さい時
間間隔で送受信しても無駄になり、逆に長すぎると制御
性が損なう可能性が高いためである。
The reason for setting the maximum value of the number of data to be incorporated in this one transmission text is to make the time intervals for transmitting (receiving) a specific word address as uniform as possible. In other words, it is wasteful to transmit / receive at a time interval smaller than the cycle of the time interval, and conversely, if it is too long, the controllability is likely to be impaired.

【0126】(条件3) メモリ29,30に条件設定
−1(図24) さらに、メモリ30に1送信テキスト当りの最大送信デ
ータ数が設定され、かつ各メモリ29内に、1送信テキ
ストに組込む各データ群の最大送信データ数が設定され
ていた場合で、かつその値が[2]に設定されていた場
合は、図24に示すように、各データ群が複数の送信テ
キスト34に分散されて組込まれる。
(Condition 3) Condition setting-1 in the memories 29 and 30 (FIG. 24) Further, the maximum number of transmission data per transmission text is set in the memory 30, and one transmission text is incorporated in each memory 29. When the maximum number of transmission data of each data group is set and the value is set to [2], each data group is dispersed into a plurality of transmission texts 34 as shown in FIG. Be incorporated.

【0127】具体的には、先頭の(a)の送信テキスト
34及び2番目の(b)の送信テキスト34には、制御
−A,制御−B,制御−Jに所属するそれぞれ2個の伝
送データが設定される。しかし、3番目以降の(c)
(e)(e)の各送信テキスト34は、たとえ該当送信
テキスト34が1送信テキスト当りの最大送信データ数
[6]に達していなかったとして、同一種類のデータ数
が2を越えるので、最大送信データ数[6]に達しない
短い送信テキスト34となる。
More specifically, the transmission text 34 at the beginning (a) and the transmission text 34 at the second (b) each include two transmissions belonging to control-A, control-B, and control-J. The data is set. However, after the third (c)
(E) Since each transmission text 34 of (e) does not reach the maximum number of transmission data [6] per transmission text 34, the number of data of the same type exceeds 2, so The short transmission text 34 does not reach the transmission data number [6].

【0128】(条件4) メモリ29,30に条件設定
−2(図25) また、各メモリ29内に設定する最大送信データ数をデ
ータ群の種類に応じて互いに異なる値に設定できる。例
えば、制御−Aの最大送信データ数を[3]と設定し、
制御−Bのデータ群の最大送信データ数を[1]と設定
し、制御−Jのデータ群の最大送信データ数を[2]と
設定した条件下で作成される各送信テキスト35を図2
5に示す。
(Condition 4) Condition setting in the memories 29 and 30-2 (FIG. 25) Further, the maximum number of transmission data set in each memory 29 can be set to different values depending on the type of data group. For example, the maximum number of transmission data of control-A is set to [3],
FIG. 2 shows each transmission text 35 created under the condition that the maximum transmission data number of the control-B data group is set to [1] and the maximum transmission data number of the control-J data group is set to [2].
It is shown in FIG.

【0129】図示するように、先頭から3番目までの
(a)(b)(c)の各送信テキスト35は1送信テキ
スト当りの最大送信データ数[6]を有する同一フォー
マットであり、4番目の(e)の送信テキスト35と4
番目の(e)の送信テキスト35は最大送信データ数
[6]に満たない短い送信テキスト35となる。
As shown in the figure, the transmission texts 35 (a), (b) and (c) from the beginning to the third have the same format with the maximum number of transmission data [6] per transmission text, (E) send text 35 and 4
The transmission text 35 of the (e) th is a short transmission text 35 that is less than the maximum transmission data number [6].

【0130】(条件5) メモリ29,30に条件設定
−3(図26) さらに、各メモリ29内に設定する最大送信データ数を
データ群の種類に応じて互いに異なる値に設定すると共
に、データ群相互間の組合せで最大送信データ数を設定
できる。例えば、制御−Aの最大送信データ数を[3]
と設定し、制御−Bのデータ群のデータ数と制御−Jの
データ群のデータ数とを合計したデータ数が[3]以下
と設定した条件下で作成される各送信テキスト36を図
26に示す。
(Condition 5) Condition setting-3 in the memories 29 and 30 (FIG. 26) Further, the maximum number of transmission data set in each memory 29 is set to a value different from each other according to the type of data group, and The maximum number of transmission data can be set by the combination between groups. For example, the maximum number of transmission data of control-A is [3]
26 and each transmission text 36 created under the condition that the total number of data of the control-B data group and the control-J data group is set to [3] or less. Shown in.

【0131】この場合、制御−Aの各伝送データは3個
づつ各送信テキスト36に組込まれるが、制御−Bの各
伝送データと制御−Jの各伝送データとは合計が3個で
あるので、制御−Bのデータ群を制御−Jのデータ群に
対して送信優先度か高い場合には、先頭(a)の送信テ
キスト36には制御−Jの伝送データは含まれない。逆
に、3番目(c)以降の各送信テキスト36には制御−
Bの伝送データは含まれない。
In this case, three pieces of each control-A transmission data are incorporated into each transmission text 36, but since the total number of each control-B transmission data and each control-J transmission data is three. , If the transmission-priority of the data group of control-B is higher than that of the data group of control-J, the transmission data 36 of the head (a) does not include the transmission data of control-J. On the contrary, the control is applied to each of the third (c) and subsequent transmission texts 36-
B transmission data is not included.

【0132】(条件6) メモリ29,30,31に条
件設定(図27) さらに、メモリ31に下記に示す優先送信順位が設定さ
れているとする。 最大送信データ数>制御−Aデータ>制御−Bデータ>
制御−Jデータ この場合、先頭(a)と2番目(b)の各送信テキスト
37には、それぞれ制御−Aの伝送データ、制御−Βの
伝送データ,制御一Jの伝送データが各2で均等して組
込まれる。この段階で未組込みの伝送データは、制御−
Aの伝送データが6、制御−Bの伝送データが1、制御
−Jの伝送データが4であることから、3番目の送信テ
キスト37には、送信優先度が高い最大送信データ数6
を満足させるために、制御−Aの伝送データを3、制御
−Βの伝送データを1、制御−Jの伝送データを2に設
定する。
(Condition 6) Conditions are set in the memories 29, 30 and 31 (FIG. 27) Further, it is assumed that the following priority transmission order is set in the memory 31. Maximum number of transmitted data> Control-A data> Control-B data>
Control-J data In this case, in each of the first (a) and second (b) transmission texts 37, control-A transmission data, control-B transmission data, and control-J transmission data are 2 each. It is incorporated evenly. At this stage, the transmission data that is not embedded is controlled by
Since the transmission data of A is 6, the transmission data of control-B is 1, and the transmission data of control-J is 4, the maximum transmission data number 6 with high transmission priority is included in the third transmission text 37.
In order to satisfy the above condition, the transmission data of control-A is set to 3, the transmission data of control-B is set to 1, and the transmission data of control-J is set to 2.

【0133】なお、この場合、制御−Aの伝送データの
1つの伝送テキストに組込む最大データ数2は送信優先
順位が低いので無視されて3となる。そして、最終
(d)の送信テキスト37には、残りの制御−Aの伝送
データが3、制御−Jの伝送データが2組込まれる。こ
の場合の送信テキスト37の送信データ数は5となる。
In this case, the maximum data number 2 incorporated in one transmission text of the control-A transmission data is ignored because the transmission priority is low and becomes 3. Then, in the final (d) transmission text 37, the remaining control-A transmission data of 3 and the control-J transmission data of 2 are incorporated. In this case, the transmission data number of the transmission text 37 is 5.

【0134】このように構成された第5実施形態のデー
タ伝送装置の特徴を説明する。送信データ編集部14a
は各単位キューテーブル26bより伝送データを順次読
出して、送信テキストヘ組込むが、第2回目の編集が無
い場合には、各データ種別の最大送信データ数以下で編
集する。しかし、各キューテーブル26aに記憶してい
る各データ群のデータ数にバラツキがあると、1送信テ
キスト当たりのサイズ以下で編集して送信してしまい、
結果的に無駄で非効率な伝送を繰り返してしまう懸念が
ある。
The features of the data transmission apparatus of the fifth embodiment configured as described above will be described. Transmission data editing unit 14a
The transmission data is sequentially read from each unit queue table 26b and embedded in the transmission text. However, if there is no second editing, the transmission data is edited with the maximum number of transmission data of each data type or less. However, if there is a variation in the number of data of each data group stored in each queue table 26a, it will be edited and transmitted with a size less than one transmission text,
As a result, there is a concern that wasteful and inefficient transmission may be repeated.

【0135】そこで、第5実施形態のデータ伝送装置に
おいては、送信テキスト37に組込む伝送データ数が1
送信テキスト当りの最大送信データ数に満たない場合に
は、更に第2回目の送信テキスト編集のため、1送信テ
キスト当たりの最大送信データ数になるまで、送信優先
の高いデータ群の単位キューテーブル26bより伝送デ
ータを順次読出して、送信テキストヘ編集して子局17
へデータ送信している。
Therefore, in the data transmission device of the fifth embodiment, the number of transmission data to be incorporated in the transmission text 37 is 1.
If the maximum number of transmission data per transmission text is not reached, the unit queue table 26b of the data group with high transmission priority is kept until the maximum transmission data number per transmission text is reached because of the second transmission text editing. The transmission data is sequentially read, and the transmission text is edited and the slave station 17
Sending data to.

【0136】また、送信優先度が高いデータ群のキュー
テーブル26aから読出したデータ数が1送信テキスト
当たりの最大送信データ数に満たない場合には、順次、
送信優先度の低いデータ群のキューテーブルから読出し
て送信テキストに組込む。
If the number of data read from the queue table 26a of the data group having a high transmission priority is less than the maximum number of transmission data per one transmission text,
It is read from the queue table of the data group with low transmission priority and incorporated in the transmission text.

【0137】したがって、送信優先度の高いデータ群
を、無駄を少なく、効率良く目的とする子局17へ伝送
できる。なお、本発明は上述した各実施形態に限定され
るものではない。図10に示す第2実施形態において
は、タイマ値24を識別番号に対応した各管理記憶部2
1a内に設定した。しかし、キューテーブル13aに対
して共通な一つのタイマ値を設定することが可能であ
る。この場合、キューテーブル13a全体に対する書込
要求発生時刻から、読出要求発生までの経過時間が許容
値を越えると異常発生と判断する。
Therefore, a data group having a high transmission priority can be efficiently transmitted to the intended slave station 17 with little waste. Note that the present invention is not limited to the above embodiments. In the second embodiment shown in FIG. 10, each management storage unit 2 in which the timer value 24 corresponds to the identification number
It was set within 1a. However, it is possible to set one common timer value for the queue table 13a. In this case, if the elapsed time from the write request generation time for the entire queue table 13a to the read request generation exceeds the allowable value, it is determined that an abnormality has occurred.

【0138】さらに、図21に示す第5実施形態にも前
記タイマ値を設定することが可能である。すなわち、制
御−A、制御−B、…、制御−Jの各データ群を一時記
憶する各単位キューテーブル26a毎に前記タイマ値を
設定するる。このような場合には、タイマ値が許容値を
越えると該当キューテーブル28aの全ての識別番号に
対応する管理記憶部21aの有無フラグ20を無し(F
=0)に設定すればよい。
Further, the timer value can be set also in the fifth embodiment shown in FIG. That is, the timer value is set for each unit queue table 26a that temporarily stores each data group of control-A, control-B, ..., Control-J. In such a case, if the timer value exceeds the allowable value, the presence / absence flag 20 of the management storage unit 21a corresponding to all the identification numbers of the corresponding queue table 28a is absent (F
= 0).

【0139】[0139]

【発明の効果】以上説明したように、本発明のデータ伝
送装置においては、キューテーブル内に各識別番号に対
応した各領域に未読出のデータの有無を示す有無フラグ
を設けて、書込要求発生時には、有無フラグを確認した
後に伝送データをキューテーブル内の対応する領域に書
込むようにしている。
As described above, in the data transmission apparatus of the present invention, the queue table is provided with the presence / absence flag indicating the presence / absence of unread data in each area corresponding to each identification number, and the write request is issued. When it occurs, the transmission data is written in the corresponding area in the queue table after checking the presence flag.

【0140】したがって、同一識別番号を有する複数の
データが同時に読出要求元へ送信されることを防止した
状態で、かつ書込要求発生時におけるキューテーブルに
対するデータの書込処理のソフト的処理負担を軽減で
き、情報処理装置相互間のデータ伝送効率を向上でき
る。
Therefore, while preventing a plurality of data having the same identification number from being transmitted to the read request source at the same time, the processing load of data writing to the queue table when a write request is generated is reduced. The data transmission efficiency between the information processing devices can be reduced.

【0141】また、キューテーブルに対する書込先及び
読出先の領域を特定するためのインデックス番号及び読
出順序を特定するためのインデックス番号を設けてい
る。したがって、読出要求発生時におけるキューテーブ
ルに記憶された各伝送データの読出順序を識別番号順の
みななず、最新に書込んだ伝送データから読出す等の種
々の読出順序を設定でき、情報処理装置相互間のデータ
伝送の多様性を確保できる。
Further, an index number for specifying the writing destination and the reading destination area for the queue table and an index number for specifying the reading order are provided. Therefore, when the read request is issued, the read order of the transmission data stored in the queue table is not limited to the identification number order, and various read orders such as reading from the most recently written transmission data can be set. It is possible to secure diversity of data transmission between devices.

【0142】さらに、キューテーブルから読出したデー
タを送信テキストに組込んで第2の情報処理装置に送信
する場合に、送信データの種類や送信データ数に応じ
て、送信テキストに対す伝送データの組込条件を任意に
設定できる。
Further, when the data read from the queue table is incorporated into the transmission text and transmitted to the second information processing apparatus, the transmission data group corresponding to the transmission text is set according to the type of transmission data and the number of transmission data. Included conditions can be set arbitrarily.

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

【図1】 本発明の第1実施形態に係わるデータ伝送装
置の概略構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of a data transmission device according to a first embodiment of the present invention.

【図2】 同データ伝送装置に組込まれたキューテーブ
ルの記憶内容を示す図
FIG. 2 is a diagram showing stored contents of a queue table incorporated in the data transmission device.

【図3】 同データ伝送装置に組込まれた入力データ書
込部のキューテーブルに対する書込処理動作を示す流れ
FIG. 3 is a flowchart showing a write processing operation for a queue table of an input data writing unit incorporated in the data transmission device.

【図4】 同データ伝送装置に組込まれた送信データ編
集部のキューテーブルに対する読出処理動作を示す流れ
FIG. 4 is a flowchart showing a read processing operation for a queue table of a transmission data editing unit incorporated in the same data transmission device.

【図5】 同データ伝送装置に対する書込要求のデータ
とキューテーブルに書込まれた記憶データとの対比を示
す図
FIG. 5 is a diagram showing a comparison between write request data for the data transmission device and stored data written in a queue table.

【図6】 同データ伝送装置における送信データ編集部
で作成された送信テキストを示す図
FIG. 6 is a diagram showing a transmission text created by a transmission data editing unit in the data transmission device.

【図7】 同データ伝送装置に対する書込要求のデータ
とキューテーブルに書込まれた記憶データとの他の対比
を示す図
FIG. 7 is a diagram showing another comparison between the write request data for the data transmission device and the storage data written in the queue table.

【図8】 同データ伝送装置における送信データ編集部
で作成された他の送信テキストを示す図
FIG. 8 is a diagram showing another transmission text created by a transmission data editing unit in the data transmission device.

【図9】 同データ伝送装置に対する各伝送データの書
込要求順序と読出順序との関係を示す図
FIG. 9 is a diagram showing a relationship between a write request sequence and a read sequence of each transmission data to the data transmission device.

【図10】 本発明の第2実施形態に係わるデータ伝送
装置に組込まれたキューテーブルの記憶内容を示す図
FIG. 10 is a diagram showing stored contents of a queue table incorporated in the data transmission device according to the second embodiment of the present invention.

【図11】 同データ伝送装置に組込まれた入力データ
書込部のキューテーブルに対する書込処理動作を示す流
れ図
FIG. 11 is a flowchart showing a write processing operation for a queue table of an input data writing unit incorporated in the data transmission device.

【図12】 同データ伝送装置に組込まれた送信データ
編集部のキューテーブルに対する読出処理動作を示す流
れ図
FIG. 12 is a flowchart showing a read processing operation for a queue table of a transmission data editing unit incorporated in the same data transmission device.

【図13】 本発明の第3実施形態に係わるデータ伝送
装置に組込まれたキューテーブルの記憶内容を示す図
FIG. 13 is a diagram showing stored contents of a queue table incorporated in a data transmission device according to a third embodiment of the present invention.

【図14】 同データ伝送装置に組込まれた入力データ
書込部のキューテーブルに対する書込処理動作を示す模
式図
FIG. 14 is a schematic diagram showing a write processing operation for a queue table of an input data writing unit incorporated in the data transmission device.

【図15】 同データ伝送装置におけるキューテーブル
に対する各書込処理時における該当キューテーブルの記
憶状態を示す図
FIG. 15 is a diagram showing a storage state of a corresponding queue table at each writing process to the queue table in the data transmission device.

【図16】 同じく同キューテーブルに対する各書込処
理時における該当キューテーブルの記憶状態を示す図
FIG. 16 is a diagram showing a storage state of the corresponding queue table at the time of each writing process to the same queue table.

【図17】 同じく同キューテーブルに対する各書込処
理時における該当キューテーブルの記憶状態を示す図
FIG. 17 is a diagram showing a storage state of a corresponding queue table at the time of each writing process to the same queue table.

【図18】 同データ伝送装置における送信データ編集
部の伝送データの読出順序を示す図
FIG. 18 is a diagram showing a reading order of transmission data of a transmission data editing unit in the data transmission device.

【図19】 本発明の第4実施形態に係わるデータ伝送
装置の概略構成を示すブロック図
FIG. 19 is a block diagram showing a schematic configuration of a data transmission device according to a fourth embodiment of the present invention.

【図20】 同データ伝送装置に組込まれたキューテー
ブルの記憶内容を示す図
FIG. 20 is a diagram showing stored contents of a queue table incorporated in the data transmission device.

【図21】 本発明の第5実施形態に係わるデータ伝送
装置の概略構成を示すブロック図
FIG. 21 is a block diagram showing a schematic configuration of a data transmission device according to a fifth embodiment of the present invention.

【図22】 同データ伝送装置における送信データ編集
部で条件1に基づいて作成された送信テキストを示す図
FIG. 22 is a diagram showing a transmission text created based on condition 1 by a transmission data editing unit in the same data transmission device.

【図23】 同データ伝送装置における送信データ編集
部で条件2に基づいて作成された送信テキストを示す図
FIG. 23 is a diagram showing a transmission text created based on condition 2 by a transmission data editing unit in the same data transmission device.

【図24】 同データ伝送装置における送信データ編集
部で条件3に基づいて作成された送信テキストを示す図
FIG. 24 is a diagram showing a transmission text created based on condition 3 by a transmission data editing unit in the data transmission device.

【図25】 同データ伝送装置における送信データ編集
部で条件4に基づいて作成された送信テキストを示す図
FIG. 25 is a diagram showing a transmission text created based on condition 4 by a transmission data editing unit in the data transmission device.

【図26】 同データ伝送装置における送信データ編集
部で条件5に基づいて作成された送信テキストを示す図
FIG. 26 is a diagram showing a transmission text created based on condition 5 by a transmission data editing unit in the same data transmission device.

【図27】 同データ伝送装置における送信データ編集
部で条件6に基づいて作成された送信テキストを示す図
FIG. 27 is a diagram showing a transmission text created based on condition 6 by a transmission data editing unit in the same data transmission device.

【図28】 一般的なデータ伝送装置の概略構成を示す
ブロック図
FIG. 28 is a block diagram showing a schematic configuration of a general data transmission device.

【図29】 データ伝送装置に対する各伝送データの伝
送要求順序を示す図
FIG. 29 is a diagram showing a transmission request sequence of each transmission data to the data transmission device.

【図30】 同一般的なデータ伝送装置における送信デ
ータ編集部で作成された送信テキストを示す図
FIG. 30 is a diagram showing a transmission text created by a transmission data editing unit in the general data transmission apparatus.

【図31】 同一般的なデータ伝送装置に組込まれたキ
ューテーブルの記憶内容を示す図
FIG. 31 is a diagram showing stored contents of a queue table incorporated in the general data transmission apparatus.

【図32】 同一般的なデータ伝送装置に組込まれた入
力データ書込部のキューテーブルに対する書込処理動作
を示す流れ図
FIG. 32 is a flowchart showing the write processing operation for the queue table of the input data writing unit incorporated in the general data transmission apparatus.

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

11…上位計算機 12…入力データ書込部 13,13a,13b,13c…キューテーブル 14,14a…送信データ編集部 16…送信部 17,17a…子局 19,19a…領域 20…有無フラグ 21,21a…管理記憶部 22,25…領域 23,32,33,34,35,36,37…送信テキ
スト 24…タイマ値 26,26a…単位キューテーブル 27…回線切換部 28…分配部 29,30,31…メモリ
11 ... Host computer 12 ... Input data writing unit 13, 13a, 13b, 13c ... Queue table 14, 14a ... Transmission data editing unit 16 ... Transmission unit 17, 17a ... Slave station 19, 19a ... Area 20 ... Presence / absence flag 21, 21a ... Management storage unit 22, 25 ... Area 23, 32, 33, 34, 35, 36, 37 ... Transmission text 24 ... Timer value 26, 26a ... Unit queue table 27 ... Line switching unit 28 ... Distribution unit 29, 30, 31 ... Memory

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 書込要求に応じて、第1の情報処理装置
からのデータと識別番号とを含む伝送データを一旦キュ
ーテーブル内に形成された各領域に書込むと共に、読出
要求に応じて、前記各領域に記憶された各伝送データを
読出して第2の情報処理装置へ送信するデータ伝送装置
において、 前記伝送データを書込む領域を指定する書込インデック
ス番号及び前記伝送データを読出す領域を指定する読出
インデックス番号と、 前記各識別番号が所属する伝送データを記憶する領域を
指定する記憶先インデックス番号と該当指定領域に未読
出の伝送データの有無を示す有無フラグを記憶する複数
の管理記憶部と、 前記書込要求に応じて、入力した伝送データの識別番号
に対応する管理記憶部の有無フラグが有りのとき該当管
理記憶部に記憶された記憶先インデックス番号が指定す
る領域に前記伝送データを書込み、前記有無フラグが無
しのとき前記書込インデックス番号が指定する領域に前
記伝送データを書込み、かつ該当管理記憶部に有無フラ
グ有り及び記憶先インデックス番号を登録する書込処理
手段と、 前記読出要求に応じて、前記読出インデックス番号が書
込インデックス番号と異なるとき、前記読出インデック
ス番号が指定する領域の伝送データを読出すとともに、
該当伝送データの識別番号に対応する有無フラグの無し
を登録する読出処理手段とを備えたデータ伝送装置。
1. In response to a write request, transmission data including data and an identification number from the first information processing device is once written in each area formed in the queue table, and in response to a read request. A data transmission device for reading each transmission data stored in each region and transmitting the transmission data to a second information processing device, wherein a write index number designating a region to write the transmission data and a region for reading the transmission data A plurality of managements that store a read index number that specifies a read index number, a storage index number that specifies an area to store the transmission data to which each identification number belongs, and a presence flag that indicates the presence or absence of unread transmission data in the corresponding designated area When a storage unit and a management storage unit presence / absence flag corresponding to the identification number of the input transmission data in response to the write request are stored in the corresponding management storage unit The transmission data is written in the area designated by the storage destination index number, the transmission data is written in the area designated by the write index number when the presence / absence flag is absent, and the presence / absence flag is present in the corresponding management storage unit and the storage destination. Write processing means for registering an index number, and when the read index number is different from the write index number in response to the read request, the transmission data in the area designated by the read index number is read, and
A data transmission device, comprising: a read processing unit that registers the presence / absence flag corresponding to the identification number of the corresponding transmission data.
【請求項2】 書込要求に応じて、第1の情報処理装置
からのデータと識別番号とを含む伝送データを一旦キュ
ーテーブル内に形成された各領域に書込むと共に、読出
要求に応じて、前記各領域に記憶され各伝送データを読
出して第2の情報処理装置へ送信するデータ伝送装置に
おいて、 前記各識別番号が所属する伝送データを記憶する領域を
指定する記憶先インデックス番号と該当指定領域に未読
出の伝送データの有無を示す有無フラグを記憶する複数
の管理記憶部と、 前記伝送データを書込む領域を指定するためのボトムイ
ンデックス番号及び前記伝送データを読出す領域を指定
するためのトップインデックス番号と、 前記各領域新内に設けられ読出順序を示すフロムインデ
ックス番号とトゥインデックス番号と、 前記書込要求に応じて、入力した伝送データの識別番号
に対応する管理記憶部の有無フラグが無しのとき、ボト
ムインデックス番号にて求まる領域に前記伝送データを
書込み、かつ該当領域にフロムインデックス番号及びト
ゥインデックス番号を設定し、前記有無フラグが有りの
とき、該当管理記憶部に記憶された記憶先インデックス
番号が指定する領域に前記伝送データを書込み、かつ該
当領域のフロムインデックス番号が指定する領域のトゥ
インデックス番号及び該当領域のトゥインデックス番号
が指定する領域のフロムインデックス番号を該当領域が
パスされるように修正する書込処理手段と、 前記読出要求に応じて、前記トップインデックス番号が
指定する領域の識別番号に対応する管理記憶部の有無フ
ラグが有りのとき、該当領域及び該当領域のトゥインデ
ックス番号で順次指定される各領域に記憶されている伝
送データを順次読出すとともに、読出した各伝送データ
の識別番号の有無フラグを無しに設定する読出処理手段
とを備えたデータ伝送装置。
2. The transmission data including the data and the identification number from the first information processing apparatus is once written in each area formed in the queue table in response to the write request, and the read data is also transmitted in response to the read request. A data transmission device for reading out each transmission data stored in each area and transmitting the transmission data to a second information processing device, a storage destination index number for specifying an area for storing the transmission data to which each identification number belongs, and a corresponding designation A plurality of management storage units for storing presence / absence flags indicating presence / absence of unread transmission data in an area, a bottom index number for designating an area in which the transmission data is written, and an area for reading the transmission data Top index number, from index number and toe index number provided in each area new and indicating the reading order, and in response to the write request. When the presence / absence flag of the management storage unit corresponding to the identification number of the input transmission data is absent, the transmission data is written in the area obtained by the bottom index number, and the from index number and toe index number are set in the corresponding area. When the presence flag is present, the transmission data is written in the area specified by the storage destination index number stored in the corresponding management storage unit, and the to-index number and the corresponding area of the area specified by the from-index number of the corresponding area are written. Corresponding to the identification number of the area designated by the top index number in response to the read request, and the write processing means for correcting the from index number of the area designated by the to index number so that the corresponding area is passed. When the presence / absence flag of the management storage unit is present, the applicable area and The transmission data stored in the respective areas with successively read is sequentially designated by index number, the data transmission apparatus and a reading process means for setting without the presence flag of the identification number of each transmission data read.
【請求項3】 前記各管理領域に設けられ、該当管理領
域の識別番号に対応する伝送データの書込み時刻から該
当伝送データの読出時刻までの経過時間を計時するタイ
マと、 このタイマが計時した経過時間が予め記憶された許容時
間を越えると、前記読出を無効とする診断手段とを備え
た請求項1又は2記載のデータ伝送装置。
3. A timer provided in each of the management areas, for measuring the elapsed time from the writing time of the transmission data corresponding to the identification number of the corresponding management area to the reading time of the corresponding transmission data, and the elapsed time measured by this timer. 3. The data transmission device according to claim 1, further comprising a diagnostic means for invalidating the reading when the time exceeds a pre-stored permissible time.
【請求項4】 前記伝送データには前記データと識別番
号との他に前記データの有効ビット位置を指定するマス
クパターンも含むことを特徴とする請求項1又は2記載
のデータ伝送装置。
4. The data transmission device according to claim 1, wherein the transmission data includes a mask pattern for designating an effective bit position of the data, in addition to the data and the identification number.
【請求項5】 前記キューテーブルの各領域には、前記
伝送データに含まれるマスクパターンと、前記伝送デー
タに含まれるデータのうち前記マスクパターンで指定さ
れたビットからなるデータとを記憶することを特徴とす
る請求項4記載のデータ伝送装置。
5. A mask pattern included in the transmission data and data consisting of bits designated by the mask pattern in the data included in the transmission data are stored in each area of the queue table. The data transmission device according to claim 4, which is characterized in that:
【請求項6】 前記キューテーブルの各領域には、書込
要求発生時に現在時点で書込まれているマスクパターン
と今回の書込要求の伝送データに含まれるマスクパター
ンとの論理和からなるマスクパターンが新規に記憶さ
れ、前記伝送データに含まれるデータのうち前記新規に
記憶されたマスクパターンで指定されたビットからなる
データとが記憶されることを特徴とした請求項4記載の
データ伝送装置。
6. A mask formed by a logical sum of a mask pattern written at the present time when a write request is generated and a mask pattern included in transmission data of the current write request, in each area of the queue table. 5. The data transmission device according to claim 4, wherein a pattern is newly stored, and among the data included in the transmission data, data consisting of bits designated by the newly stored mask pattern is stored. .
【請求項7】 前記キューテーブルは複数の単位キュー
テーブルからなり、各単位キューテーブルに記憶された
各データ群の送信優先度と1送信テキスト当たりの最大
送信データ数とを設け、 データ送信のため送信テキストを編集する際に、送信テ
キストを編集する都度、前記1送信テキスト当たりの最
大送信データ数になるまで、前記送信優先度の高いデー
タ群の単位キューテーブルよりデータを順次読出して送
信テキストを編集してデータ送信することを特徴とする
請求項1又は2記載のデータ伝送装置。
7. The queue table is composed of a plurality of unit queue tables, and is provided with a transmission priority of each data group stored in each unit queue table and a maximum number of transmission data per one transmission text for data transmission. When editing the transmission text, each time the transmission text is edited, the data is sequentially read from the unit queue table of the data group having the high transmission priority until the maximum transmission data number per the transmission text is reached, and the transmission text is read. The data transmission device according to claim 1, wherein the data is edited and transmitted.
【請求項8】 前記送信優先度の高いデータ群の単位キ
ューテーブルから読出したデータ数が前記1送信テキス
ト当たりの最大送信データ数に満たないとき、順次送信
優先度の低いデータ群の単位キューテーブルよりデータ
を読出して送信テキストを編集することを特徴とする請
求項7記載のデータ伝送装置。
8. A unit queue table for a data group having a sequentially lower transmission priority when the number of data read from the unit queue table for the data group having a higher transmission priority is less than the maximum number of transmission data per one transmission text. 8. The data transmission device according to claim 7, wherein the data is read out and the transmitted text is edited.
【請求項9】 前記キューテーブルは複数の単位キュー
テーブルからなり、各単位キューテーブルに記憶された
データ群毎の最大送信データ数を設け、 データ送信のため送信テキストを編集する際に、送信テ
キストを編集する都度、前記各最大送信データ数になる
まで、各データ群の単位キューテーブルより順次読出し
たデータを送信テキストヘ編集してデータ送信すること
を特徴とする請求項1又は2記載のデータ伝送装置。
9. The queue table is composed of a plurality of unit queue tables, the maximum transmission data number for each data group stored in each unit queue table is provided, and the transmission text is edited when the transmission text is edited for data transmission. 3. The data transmission according to claim 1 or 2, characterized in that, each time the data is edited, the data sequentially read from the unit queue table of each data group is edited into a transmission text until the maximum number of transmission data is reached, and the data is transmitted. apparatus.
【請求項10】 前記キューテーブルは複数の単位キュ
ーテーブルからなり、各単位キューテーブルに記憶され
たデータ群毎の送信優先度と暫定最大送信データ数と1
送信テキスト当たりの最大送信データ数とを設け、 データ送信のため送信テキストを編集する際に、送信テ
キストを編集する都度、前記各データ群毎の暫定最大送
信データ数になるまでテキストを編集し、暫定的な編集
完了後に前記1送信テキスト当たりの最大送信データ数
に満たないとき、更に第2回目の送信テキスト編集のた
め、前記1送信テキスト当たりの最大送信データ数にな
るまで、前記送信優先度の高いデータ群の単位キューテ
ーブルよりデータを順次読出して送信テキストを編集し
てデータ送信することを特徴とする請求項1又は2記載
のデータ伝送装置。
10. The queue table is composed of a plurality of unit queue tables, and the transmission priority and the provisional maximum number of transmission data for each data group stored in each unit queue table and 1 are set.
The maximum transmission data number per transmission text is provided, and when editing the transmission text for data transmission, each time the transmission text is edited, the text is edited until the provisional maximum transmission data number for each data group is reached, After the provisional editing is completed, when the maximum transmission data number per 1 transmission text is not reached, the transmission priority is kept until the maximum transmission data number per 1 transmission text is reached for the second transmission text editing. 3. The data transmission device according to claim 1, wherein data is sequentially read from a unit queue table of a high data group, the transmission text is edited, and the data is transmitted.
JP8125759A 1996-05-21 1996-05-21 Data transmitter Pending JPH09305563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8125759A JPH09305563A (en) 1996-05-21 1996-05-21 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8125759A JPH09305563A (en) 1996-05-21 1996-05-21 Data transmitter

Publications (1)

Publication Number Publication Date
JPH09305563A true JPH09305563A (en) 1997-11-28

Family

ID=14918123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8125759A Pending JPH09305563A (en) 1996-05-21 1996-05-21 Data transmitter

Country Status (1)

Country Link
JP (1) JPH09305563A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091838A (en) * 2000-09-18 2002-03-29 Toshiba Corp Data processing system and storage medium
JP2005311417A (en) * 2004-04-16 2005-11-04 Nippon Telegr & Teleph Corp <Ntt> Data setup system and apparatus provided with priority function, method thereof, and program using the same
JP2014206835A (en) * 2013-04-12 2014-10-30 富士通フロンテック株式会社 Flow rate control device, communication control system, flow rate control method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091838A (en) * 2000-09-18 2002-03-29 Toshiba Corp Data processing system and storage medium
JP2005311417A (en) * 2004-04-16 2005-11-04 Nippon Telegr & Teleph Corp <Ntt> Data setup system and apparatus provided with priority function, method thereof, and program using the same
JP4524777B2 (en) * 2004-04-16 2010-08-18 日本電信電話株式会社 Data setting system with priority function
JP2014206835A (en) * 2013-04-12 2014-10-30 富士通フロンテック株式会社 Flow rate control device, communication control system, flow rate control method and program

Similar Documents

Publication Publication Date Title
CN103080921B (en) Multi-core processor system, synchronous control system, sync control device, information generating method
KR940003698B1 (en) Method of program management in multi-computer system
US5606705A (en) Communication coordinator for messages to be sent from at least one data source to a plurality of clients
JPH09305563A (en) Data transmitter
US6374335B1 (en) Data loading process
US11262834B1 (en) Data processing system and method for monitoring system properties
JP3491379B2 (en) Information processing apparatus and trace information storage method
EP1389748A2 (en) Numerical controller
JPH08161244A (en) Data transmission method
CN110268390A (en) Reading in relevant interconnection system is traded the tracker lifetime
JPH08278953A (en) Exclusive control system of computer system
JPS5854437A (en) Interruption request processing system for communication controller
JP3056348B2 (en) Bridge device and storage means management method
JP3219810B2 (en) Data processing device
JP2000047935A (en) High speed memory access processor
EP0500284A1 (en) Method and apparatus for querying a memory system
CN117472819A (en) PXIe-based DMA data transmission processing method, system and equipment
JP2797653B2 (en) Image data processing device
JPH01232852A (en) Communication control system
JPH11306060A (en) Distributed editing method for data
JPH01140301A (en) Sequence control method
JPH03225552A (en) Program update system of decentralized processing system
JP2003015957A (en) Cache memory control system
JPS6126684B2 (en)
JPS61117941A (en) Method for transmitting plant process signal