JPH09162948A - Data communication method - Google Patents

Data communication method

Info

Publication number
JPH09162948A
JPH09162948A JP7323413A JP32341395A JPH09162948A JP H09162948 A JPH09162948 A JP H09162948A JP 7323413 A JP7323413 A JP 7323413A JP 32341395 A JP32341395 A JP 32341395A JP H09162948 A JPH09162948 A JP H09162948A
Authority
JP
Japan
Prior art keywords
data
transmission
frame
address
group
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
JP7323413A
Other languages
Japanese (ja)
Inventor
Eiji Okajima
英治 岡嶋
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP7323413A priority Critical patent/JPH09162948A/en
Publication of JPH09162948A publication Critical patent/JPH09162948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily detect the transmission completion of data on one group, which is constituted by means of plural frames, in a data communication equipment. SOLUTION: A transmission completion address table AT constituted by the addresses of areas storing the transmission completion flags of a frame management part at the last of a frame management queue on frame formats Q11, Q12 and Q13 is provided. When a control operation means 1 transmits data of one group generated by a frame management queue CQb having the transmission format Q12, for example, the control operation means 1 retrieves the storage address EAB of the transmission completion flag of the frame management part (b) at the last of the frame management queue CQb, stores the address in a transmission completion address register AR. Whenever a transmission/reception part 6 outputs the signal of the transmission completion of one frame, the control operation means 1 judges the content, of the address which the transmission completion address register AR shows and detects the transmission completion of data of one group.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数個のフレーム
からなる1群のデータを、ネットワークの状態や自局の
状態に応じて最適なフレームの送信順序で伝送するデー
タ通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method for transmitting a group of data consisting of a plurality of frames in an optimum frame transmission order according to the state of the network and the state of the local station.

【0002】[0002]

【従来の技術】図8にデータ通信装置の一例としてデー
タ通信装置CAのブロック図を示す。データ通信装置CA
は、制御演算手段1、プログラム記憶手段2、データ記
憶手段3、入力装置4、表示装置5、送受信部6からな
る。プログラム記憶手段2は制御演算手段1によって実
行されデータ通信装置CAの機能を実現するプログラムを
格納する記憶手段であり、プログラム記憶手段2には、
入力装置4からの信号の入力処理をしたり、表示装置へ
のデータの表示処理をするなどのデータ通信装置CAの基
本的な機能を実現するプログラムである基本プログラム
P0と、送受信部6を介しして実行される外部とのデータ
伝送を制御するプログラムである伝送制御プログラムP1
とが格納されている。データ記憶手段3は、制御演算手
段1がプログラムを実行するに当たって参照するデータ
や、制御演算手段1が生成したデータや、送受信部6を
介して入出力されるデータなどを格納するデータ記憶手
段であり、データ記憶手段3には、送受信部6を介して
入力された受信データを格納する受信データ領域RDA 、
送受信部6を介して出力する送信データを格納する送信
データ領域TDA が確保されている。
2. Description of the Related Art FIG. 8 shows a block diagram of a data communication device CA as an example of a data communication device. Data communication device CA
Is composed of control calculation means 1, program storage means 2, data storage means 3, input device 4, display device 5, and transmission / reception unit 6. The program storage unit 2 is a storage unit that stores a program that is executed by the control calculation unit 1 and that realizes the function of the data communication device CA.
A basic program that is a program that implements the basic functions of the data communication device CA such as processing of inputting signals from the input device 4 and processing of displaying data on the display device.
A transmission control program P1 which is a program for controlling data transmission between the P0 and the outside executed via the transmission / reception unit 6.
And are stored. The data storage means 3 is a data storage means for storing data to which the control calculation means 1 refers when executing a program, data generated by the control calculation means 1, data input / output via the transmission / reception unit 6, and the like. In the data storage means 3, a reception data area RDA for storing the reception data input via the transmission / reception section 6,
A transmission data area TDA for storing transmission data output via the transmission / reception unit 6 is secured.

【0003】図9に、図8に示したデータ通信装置CAに
おいて、データ通信装置CAが保有するデータを送信する
場合の動作の説明図を示す。図において、1と6とはそ
れぞれ、図8に示したデータ通信装置CAの制御演算手段
1および送受信部6と同一のものである。FRは、ネット
ワークに接続する他のデータ通信装置に送信される1フ
レーム分(以下の説明ではフレームFRと表記する)を表
した図であり、フレームFRは、フレームの先頭を表す信
号とフレームの末尾を表す信号で区切られた、2値信号
のビット列からなる1群のデータであって、フレームFD
の送信開始を相手局に伝える情報や、送信元番地、送信
先番地を表すデータからなるフレーム頭部FHと、伝送す
べきデータであるデータ主体MDと、フレームの検査用デ
ータやフレームの終了を伝える信号からなるフレーム末
尾FEからなる。フレーム管理部FDと送信データ領域BDと
は、データ記憶手段3に設けられたデータ領域であっ
て、一つのフレームに対応したデータブロックDBを構成
し、送受信部6はデータブロックDBの先頭番地であり、
かつフレーム管理部FDの先頭番地でもある先頭番地FDTA
を制御演算手段1から渡されて、このフレーム管理部FD
と送信データ領域BDの内容に従ってフレームFRを形成
し、ネットワークに送信する。
FIG. 9 is an explanatory view of the operation of the data communication device CA shown in FIG. 8 when transmitting data held by the data communication device CA. In the figure, 1 and 6 are the same as the control calculation means 1 and the transmission / reception unit 6 of the data communication device CA shown in FIG. FR is a diagram showing one frame (which will be referred to as a frame FR in the following description) transmitted to another data communication device connected to the network. The frame FR is a signal indicating the beginning of the frame and a frame. A group of data consisting of a bit string of binary signals separated by a signal indicating the end,
Information to notify the other station of the start of transmission, the frame head FH consisting of data representing the source address and the destination address, the data subject MD that is the data to be transmitted, the frame inspection data and the end of the frame. It consists of the FE at the end of the frame, which consists of the signal to be transmitted. The frame management unit FD and the transmission data area BD are data areas provided in the data storage unit 3 and constitute a data block DB corresponding to one frame, and the transmission / reception unit 6 is a head address of the data block DB. Yes,
And the start address FDTA which is also the start address of the frame management section FD
Is passed from the control calculation means 1, and this frame management unit FD
A frame FR is formed according to the contents of the transmission data area BD and is transmitted to the network.

【0004】フレーム管理部FDには、複数個のフレーム
を連続して出力する場合に、次に続くフレーム用のフレ
ーム管理部の先頭番地NFP と、送信が終了しているか否
かを表すデータである送信完了フラグEFと、送信元、送
信先などのデータからなる第1送信制御データTCD1と、
フレーム管理部FDの内容に従って管理される送信データ
領域BD内の送信データ領域BDの先頭番地BDT を指す、送
信データポインタBDP等を含むデータが格納されてい
る。また、送信データ領域BDは、送信データの本体部分
をなす送信データTDを格納する領域と、送信データの属
性を定義する第2送信制御データTCD2を格納する領域か
らなる。なお以下の説明においては、データ記憶手段3
に格納されるデータに付加する符号と、このデータの格
納領域に付加する符号とは同一の符号を付して説明す
る。
When a plurality of frames are continuously output, the frame management unit FD includes a head address NFP of the frame management unit for the next succeeding frame and data indicating whether or not the transmission is completed. A certain transmission completion flag EF, first transmission control data TCD1 including data such as a transmission source and a transmission destination,
Data including a transmission data pointer BDP, which points to the head address BDT of the transmission data area BD in the transmission data area BD managed according to the contents of the frame management unit FD, is stored. Further, the transmission data area BD is composed of an area for storing the transmission data TD forming the main body of the transmission data and an area for storing the second transmission control data TCD2 defining the attributes of the transmission data. In the following description, the data storage means 3
The code added to the data stored in and the code added to the storage area of this data will be described with the same reference numerals.

【0005】次に図9を参照してデータ通信装置CAから
1フレーム分のデータが送信される動作を説明する。制
御演算手段1(図8を参照)は、伝送制御プログラムP1
(図8を参照)を実行し、伝送制御の初期設定におい
て、フレーム管理部FDをデータ記憶手段3のフレーム管
理領域FD内に形成し、送信データポインタBDP が指す送
信データ領域BD内に第2送信制御データTCD2を形成し、
送信データTDの領域を確保する。伝送すべきデータが生
成された場合には、制御演算手段1は、この伝送すべき
データを送信データ領域TDに格納する。データブロック
DBを送信する場合には、制御演算手段1はフレーム管理
部FDの先頭番地FDTAを送受信部6に渡す。送受信部6
は、先頭番地FDTAが渡されたことによって送信処理を開
始する。送受信部6は、フレーム管理部FDの先頭番地FD
TAから順次フレーム管理部FDの内容を参照し、次いで送
信データポインタBDP によって送信データ領域BDの内容
を特定し、フレーム管理部FDの内容と送信データ領域BD
の内容とからフレームFRを生成し、フレームFRをビット
列として順次送受信部6の送信端からネットワークに出
力する。
Next, the operation of transmitting one frame of data from the data communication device CA will be described with reference to FIG. The control calculation means 1 (see FIG. 8) is the transmission control program P1.
(See FIG. 8) is executed, and in the initial setting of the transmission control, the frame management unit FD is formed in the frame management area FD of the data storage means 3, and the second is set in the transmission data area BD pointed to by the transmission data pointer BDP. Forms transmission control data TCD2,
Reserve the area for the transmission data TD. When the data to be transmitted is generated, the control calculation means 1 stores the data to be transmitted in the transmission data area TD. Data block
When transmitting the DB, the control calculation means 1 passes the head address FDTA of the frame management unit FD to the transmission / reception unit 6. Transmitter / receiver 6
Starts the transmission process when the head address FDTA is passed. The transmission / reception unit 6 is the head address FD of the frame management unit FD.
TA sequentially refers to the contents of the frame management unit FD, then specifies the contents of the transmission data area BD with the transmission data pointer BDP, and the contents of the frame management unit FD and the transmission data area BD
The frame FR is generated from the contents of the above, and the frame FR is sequentially output to the network from the transmitting end of the transmitting / receiving unit 6 as a bit string.

【0006】一つの群として扱われるべきデータが、1
フレームとして扱う量より大きい場合や、データが形成
される時間が長引く場合などには適当な長さのフレーム
に分割したり、データが形成される時間の順序に従って
複数のフレームに分割して送信するとネットワーク全体
の処理効率を上げることができる。図10に、上述の様な
場合に適用される、1群のデータを複数のフレームFRa,
FRb 等の連続したフレーム群として出力する処理の説明
図を示し、この図を参照して、複数個のフレームからな
るデータを連続して送信する処理を例を挙げて説明す
る。
Data to be treated as one group is 1
If it is larger than the amount handled as a frame or if the data formation time is long, divide it into frames of appropriate length, or divide into multiple frames according to the order of the data formation and transmit. The processing efficiency of the entire network can be improved. In FIG. 10, a group of data, which is applied in the above-mentioned case, is divided into a plurality of frames FRa,
An explanatory diagram of a process of outputting as a continuous frame group such as FRb is shown, and with reference to this diagram, a process of continuously transmitting data composed of a plurality of frames will be described as an example.

【0007】例えば一つのフレームとして送信すべき送
信データA,B,C,Dからなる一群のデータを送信す
る場合には、これらそれぞれのデータに対応してフレー
ム管理部a,b,c,dを用意し、フレーム管理部aの
次のフレーム管理部先頭番地NFP (次番地NFP と略記す
る。図9を参照))の内容を、フレーム管理部bの先頭
番地にする。以下フレーム管理部bの次番地NFP の内容
は、フレーム管理部cの先頭番地に、フレーム管理部c
の次番地NFP の内容はフレーム管理部dの先頭番地にす
る。フレーム管理部dの次番地NFP の領域には、次に続
くフレーム管理部がないことを表す符号を格納する。上
述のとおりにして、4個の送信管理部a,b,c,dと
それぞれの送信管理部の管理下にある4個の送信データ
A,B,C,Dからなる4個のデータブロックDB1,DB2,
DB3,DB4 が形成される。
For example, in the case of transmitting a group of data consisting of transmission data A, B, C, D to be transmitted as one frame, the frame management units a, b, c, d corresponding to these respective data. And the contents of the next frame management unit start address NFP of the frame management unit a (abbreviated as next address NFP; see FIG. 9) are set as the start address of the frame management unit b. Below, the contents of the next address NFP of the frame management unit b are stored in the frame management unit c at the head address of the frame management unit c.
The next address NFP is set to the head address of the frame management section d. A code indicating that there is no subsequent frame management unit is stored in the area of the next address NFP of the frame management unit d. As described above, the four data blocks DB1 including the four transmission management units a, b, c and d and the four transmission data A, B, C and D under the control of the respective transmission management units. , DB2,
DB3 and DB4 are formed.

【0008】データブロックDB1,DB2,DB3,DB4 からなる
1群のデータを送信する場合には、制御演算1はデータ
ブロックDB1 の先頭番地、即ち送信管理部aの先頭番地
FDTAを送受信部6に渡す。送受信部6は前述のとおりに
して先ず、データブロックDB1 からフレームFRa を形成
して送信する。フレームFRa の送信が終了すると、送受
信部6はフレーム管理部aの送信完了フラグFaを送信完
了を意味する2進数の1にし、次番地の指定に従ってフ
レーム管理部bの処理に入り、データブロックDB2 を処
理し、フレームFRb を送信する。以下順次同様な処理を
進め最後にデータブロックBD4 の送信が終了すると、フ
レーム管理部dの次番地NFP の内容が次に続くフレーム
管理部が無いことを示す送信完了符号になっているの
で、送受信部6は1群のデータの送信を終了した状態に
なる。
When transmitting a group of data consisting of the data blocks DB1, DB2, DB3, DB4, the control operation 1 is the head address of the data block DB1, that is, the head address of the transmission management section a.
The FDTA is passed to the transmitter / receiver 6. As described above, the transmitting / receiving unit 6 first forms the frame FRa from the data block DB1 and transmits the frame FRa. When the transmission of the frame FRa is completed, the transmission / reception unit 6 sets the transmission completion flag Fa of the frame management unit a to a binary number 1 which means the completion of transmission, enters the process of the frame management unit b according to the designation of the next address, and the data block DB2 Is processed and the frame FRb is transmitted. When the transmission of the data block BD4 ends at the end, the contents of the next address NFP of the frame management unit d is a transmission completion code indicating that there is no subsequent frame management unit. The unit 6 is in a state in which the transmission of the first group of data has been completed.

【0009】データ通信装置CAにおいて、上述のとおり
にして複数フレームからなる1群のデータを送信した場
合に、制御演算1には、他の処理との関連から送受信部
6による1群のデータの送信の送信完了を直ちに検出す
ることが要求される。図11に、複数フレームからなる1
群のデータを送信する場合の、送信完了を検出する方法
を示した説明図を示す。この図によって1群のデータの
送信完了を検出する方法を説明する。
In the data communication device CA, when a group of data composed of a plurality of frames is transmitted as described above, the control operation 1 includes a group of data of the transceiver 6 in relation to other processing. Immediate detection of the transmission completion of the transmission is required. Fig. 11 shows 1 consisting of multiple frames.
The explanatory view showing the method of detecting the completion of transmission when transmitting data of a group is shown. A method of detecting the completion of transmission of the data of one group will be described with reference to this drawing.

【0010】図において1は制御演算手段、6は送受信
部であり、図8または図9に示した同符号のものと同一
のものである。a,b,dはそれぞれフレーム管理部で
あり、A,B,Dはそれぞれフレーム管理部a,b,d
の管理下にある送信データ領域であり、図9に示した同
符号のデータ領域と同一の領域である。送受信部6は1
つのフレームの送信が完了するごとに、1つのフレーム
の送信が完了したことを表す割り込み信号を制御演算1
に出力する。この信号を入力した制御演算手段1は、先
ずフレーム管理部aの送信完了フラグFaの内容を入力し
て判定し、フラグFaの内容が送信未了を示す値の0なら
ば、1群のデータの送信未了を検知する。もし、フラグ
Faの内容が送信完了を示す値の1ならば、次に続くフレ
ーム管理部bの送信完了フラグの内容を判定する。以下
同様にして順次Fc,Fd を判定し、最終フレーム管理部d
の送信完了フラグFdの値が送信完了を示す値の1になっ
ていることを検知した場合に1群のデータの送信が完了
したと判定する。
In the figure, reference numeral 1 is a control operation means, and 6 is a transmission / reception unit, which is the same as the one with the same reference numerals shown in FIG. 8 or 9. a, b, d are frame management units, and A, B, D are frame management units a, b, d, respectively.
Is a transmission data area under the control of the above, and is the same area as the data area of the same symbol shown in FIG. Transmitter / receiver 6 is 1
Every time the transmission of one frame is completed, an interrupt signal indicating that the transmission of one frame is completed is controlled. Calculation 1
Output to The control calculation means 1 which has received this signal first inputs the contents of the transmission completion flag Fa of the frame management part a to make a judgment. Detects the incomplete transmission of. If the flag
If the content of Fa is 1, which is a value indicating completion of transmission, the content of the transmission completion flag of the next frame management unit b is determined. In the same manner, Fc and Fd are sequentially determined, and the final frame management unit d
When it is detected that the value of the transmission completion flag Fd is 1, which is a value indicating the completion of transmission, it is determined that the transmission of the data of the first group is completed.

【0011】図11に示した1群のデータの送信信完了を
検出する方法は、送受信部6からの割り込み信号が入力
される都度、先頭のフレーム管理部aの完了フラグFaか
ら検査するので、検出が完了するまでの時間が長すぎる
欠点がある。図12に、複数フレームからなる1群のデー
タを送信する場合の、1群のデータの送信完了を検出す
る他の方法を示す。図において、1は制御演算手段、6
は送受信部であり、図8または図9に示した同符号のも
のと同一のものである。a,b,dはそれぞれフレーム
管理部であり、A,B,Dはそれぞれフレーム管理部
a,b,dの管理下にある送信データ領域であり、図9
に示した同符号のデータ領域と同一の領域である。MF
は、前回の送受信部6からのフレームの送信が完了した
ことを表す割り込み信号を受信した時点で検出した送信
完了フレームの、次に続くフレームのフレーム管理部の
送信完了フラグの番地を格納する領域である。制御演算
手段1は、送受信部6から1フレームの送信が完了した
割り込み信号を受信すると、次完了フラグ番地格納領域
MFの内容が示す番地の送信完了フラグを判定し、この完
了フラグを格納しているフレーム管理部が最終フレーム
のフレーム管理部であるならば1群のデータの送信が完
了したと判定する。このフレーム管理部が最終フレーム
のフレーム管理部でない場合には、次のフレーム管理部
の完了フラグの番地を次終了フラグ番地格納領域MFに格
納する。
In the method of detecting the completion of the transmission of the data of the first group shown in FIG. 11, the completion flag Fa of the head frame management section a is checked every time the interrupt signal from the transmission / reception section 6 is input. There is a drawback that the detection time is too long. FIG. 12 shows another method of detecting the completion of transmission of a group of data when transmitting a group of data composed of a plurality of frames. In the figure, 1 is a control calculation means, 6
Is a transmission / reception unit, and is the same as that of the same symbol shown in FIG. 8 or 9. 9A and 9B are frame management units, and A, B and D are transmission data areas under the control of the frame management units a, b and d, respectively.
This is the same area as the data area of the same reference sign shown in. MF
Is an area for storing the address of the transmission completion flag of the frame management unit of the next succeeding frame detected at the time of receiving the interrupt signal indicating that the transmission of the frame from the previous transmission / reception unit 6 is completed. Is. When the control calculation unit 1 receives the interrupt signal from the transmission / reception unit 6 indicating that one frame has been transmitted, the next completion flag address storage area
The transmission completion flag at the address indicated by the contents of the MF is determined, and if the frame management unit storing this completion flag is the frame management unit of the final frame, it is determined that the transmission of the group of data has been completed. When this frame management unit is not the frame management unit of the final frame, the address of the completion flag of the next frame management unit is stored in the next end flag address storage area MF.

【0012】フレーム管理部a,b等、順次処理される
フレーム管理部によって連結され、送信される1群のデ
ータのフレームの送信順序の形式を、以下の説明ではフ
レームフォーマットと称する。フレーム管理部は、前述
のとおりデータブロックの前半部分を形成する部分であ
るので、フレームフォーマットはデータブロックの配列
順序形式と一致する。
In the following description, the format of the transmission order of the frames of a group of data that are connected and transmitted by the frame management units that are sequentially processed, such as the frame management units a and b, will be referred to as a frame format. As described above, the frame management unit is a portion that forms the first half of the data block, so the frame format matches the data block arrangement order format.

【0013】図13にフレームフォーマットの例を示す。
図において、Q11 は、フレーム管理部a,b,c,dの
順序で並んだフレームフォーマットであり、Q12 は、フ
レーム管理部a,c,d,bの順序で並んだフレームフ
ォーマットである。フレームフォーマットQ11,Q12 は、
同一の個々のフレーム管理部から構成されているが、フ
レームの送信順序を決めるフレーム管理部の配列が異な
る。データ通信装置CAが扱うデータの準備状況など内部
の状態や、送信先が接続する回線の状態に応じて異なる
送信順序でデータを送信することにより送信効率が上が
るので、内部の状態や、回線の状態に適合したフレーム
フォーマットを選択し、この選択したフレームフォーマ
ットに従ってデータを送信する。
FIG. 13 shows an example of the frame format.
In the figure, Q11 is a frame format in which the frame management units a, b, c, d are arranged in the order, and Q12 is a frame format in which the frame management units a, c, d, b are arranged in the order. Frame formats Q11 and Q12 are
Although it is composed of the same individual frame management units, the arrangement of the frame management units that determines the frame transmission order is different. Data transmission efficiency is improved by transmitting data in a different transmission order depending on the internal status such as the data preparation status handled by the data communication device CA, and the status of the line to which the destination is connected. A frame format suitable for the state is selected, and data is transmitted according to this selected frame format.

【0014】フレームフォーマットの種類は、1群のデ
ータのデータを構成するフレーム数の増加に伴い著しく
増加する。例えば1群のデータが図10に示した例の様に
4フレームで構成される場合には、4個のフレームの送
信順序の順列は、4の階乗通りの24通りであるから、
フレームフォーマットの種類は24個存在し、1群のデ
ータが5個のフレームで構成される場合には、フレーム
フォーマットの種類は、5の階乗通りの120個にな
る。従って、図12に示した次送信完了フラグの番地を次
完了フラグ番地領域MFに格納しておくデータ送信完了検
出方法は、次完了フラグ番地領域MFに格納すべきデータ
として、多数存在するフレームフォーマットの種類お応
じて、それぞれのフレームに対応する送信完了フラグの
番地をデータとして全て用意しておく必要がある。
The type of frame format increases remarkably as the number of frames forming the data of one group increases. For example, when one group of data is composed of 4 frames as in the example shown in FIG. 10, since the permutation of the transmission order of 4 frames is 24 kinds of 4 factorials,
There are 24 types of frame formats, and when a group of data is composed of 5 frames, the number of frame formats is 120, which is a factorial of 5. Therefore, the data transmission completion detection method for storing the address of the next transmission completion flag shown in FIG. 12 in the next completion flag address area MF is the frame format in which there are many data to be stored in the next completion flag address area MF. It is necessary to prepare all the addresses of the transmission completion flags corresponding to the respective frames as data according to the type.

【0015】[0015]

【発明が解決しようとする課題】前述のとおり、複数個
のフレームからなる1群のデータを、ネットワークの状
態や自局の状態に適応したフレームの伝送序列で伝送す
る場合の、1群のデータの送信完了を検出する方法の一
つとしては、送受信部からの1つのフレームの送信完了
を示す信号が出力されるごとに、この送信完了信号が最
終フレームの送信完了による信号であるか否かを、送信
中の1群のデータの先頭のデータブロックから順次辿っ
て判定する方法があり、他の方法として前回の送信完了
信号を受信した時点での次に送信すべきフレームの送信
完了フラグの格納番地を記憶しておき、この記憶してあ
る送信完了フラグの番地が最終フレームの送信完了フラ
グの番地であるか否かによって1群のデータの送信完了
を検出する方法がある。しかし、前者の方法は、1フレ
ームの送信が完了したことを示す信号が出力される都
度、フレームフォーマットの先頭から順次完了フラグの
内容を判別するので判別に時間がかかり、後者の方法
は、フレームフォーマットを構成するフレーム数が多く
なると、飛躍的に参照すべきデータ量が多くなる欠点が
ある。
As described above, a group of data in the case of transmitting a group of data composed of a plurality of frames in the frame transmission sequence adapted to the state of the network and the state of the local station. One of the methods for detecting the completion of transmission of the frame is whether or not this transmission completion signal is a signal due to the completion of transmission of the last frame, every time a signal indicating the completion of transmission of one frame is output from the transmission / reception unit. Is sequentially determined from the first data block of the group of data being transmitted, and another method is to determine the transmission completion flag of the frame to be transmitted next when the previous transmission completion signal is received. A method of storing the stored address and detecting the completion of transmission of a group of data depending on whether or not the stored address of the transmission completion flag is the address of the transmission completion flag of the final frame That. However, the former method determines the content of the completion flag sequentially from the beginning of the frame format each time a signal indicating that one frame has been transmitted is output, and thus the determination takes time. When the number of frames forming the format increases, there is a drawback that the amount of data to be drastically increased increases.

【0016】上述の事情があることに鑑み、本発明は、
1群のデータの送信の完了を、少量のデータを参照する
のみの、手短な処理によって実現する方法を提供するこ
とを目的とする。
In view of the above circumstances, the present invention provides
It is an object of the present invention to provide a method for realizing the completion of transmission of a group of data by a short process that only refers to a small amount of data.

【0017】[0017]

【課題を解決するための手段】前述の目的を達成するた
め、請求項1に記載の発明は、ネットワークに接続し、
制御演算手段と、伝送制御プログラムを格納するプログ
ラム記憶手段と、データ記憶手段と、制御演算手段が伝
送制御プログラムを実行することにより渡した、複数の
データのブロックの配列からなる1群のデータを、デー
タブロックに対応したフレームの、データブロックの配
列順序と同一順序の配列としてネットワークに出力する
送受信部からなるデータ通信装置における、1群のデー
タを、ネットワークの状態や自局の状態に適応したフレ
ームの送信順序で伝送するデータ通信方法において、1
群のデータに相当するフレーム列の送信順序の形式であ
る、フレームフォーマットの種類別と、個々の種類のフ
レームフォーマットの、各フレームの送信が完了したか
否かを表すデータである送信完了フラグの内、フレーム
列の最後尾のフレームの送信完了フラグを格納する領域
の番地とからなる送信完了アドレステーブルと、送信完
了アドレスレスレジスタとをデータ記憶手段中に設け、
伝送制御プログラムを実行することにより制御演算手段
は、1群のデータの送信に先立って、このデータ群の最
後尾のフレームの送信完了フラグの番地を送信完了アド
レステーブルから検索して送信完了アドレスレジスタに
格納し、送受信部が一つのフレームの送信完了を示す信
号を出力するごとに送信完了アドレスレジスタの内容が
示す番地に格納されている送信完了フラグの値を判定し
て、1群のデータの送信完了を検出することを特徴とす
る。
In order to achieve the above-mentioned object, the invention according to claim 1 connects to a network,
A group of data consisting of an array of blocks of a plurality of data, which is passed by the control calculation means, a program storage means for storing a transmission control program, a data storage means, and the control calculation means executing the transmission control program. , A group of data in a data communication device including a transmission / reception unit that outputs to the network an array of frames corresponding to the data blocks in the same order as the array order of the data blocks is adapted to the state of the network and the state of the own station. In the data communication method of transmitting in the frame transmission order, 1
For each frame format type, which is the format of the transmission sequence of the frame sequence corresponding to the group data, and for the transmission completion flag, which is the data indicating whether or not the transmission of each frame has been completed, for each type of frame format In the data storage means, a transmission completion address table consisting of an address of an area for storing the transmission completion flag of the last frame of the frame sequence and a transmission completion addressless register are provided.
By executing the transmission control program, the control calculation means searches the transmission completion address table for the address of the transmission completion flag of the last frame of this data group before transmitting the data of the first group, and transmits the transmission completion address register. Each time the transmitter / receiver outputs a signal indicating the completion of transmission of one frame, the value of the transmission completion flag stored in the address indicated by the contents of the transmission completion address register is determined and It is characterized by detecting the completion of transmission.

【0018】従って、請求項1に記載の発明の方法をを
適用したデータ通信装置において1群のデータを送信す
る場合は、制御演算手段は伝送制御プログラムを実行し
て、送信すべきデータ群を構成するデータブロック列の
最終ブロックに対応するフレームの送信が完了したか否
かを示す送信完了フラグの格納番地を送信完了アドレス
テーブルから検索して、送信完了レジスタに格納し、そ
の後送受信部に一群のデータの送信を開始させる。そし
て、送受信部が出力する1フレームごとの送信完了を示
す信号を入力する都度、制御演算手段は、送信完了レジ
スタの内容が表す番地の内容を判定することにより、1
群のデータの送信完了を検出する。
Therefore, when transmitting a group of data in the data communication apparatus to which the method of the invention described in claim 1 is applied, the control operation means executes the transmission control program to select the data group to be transmitted. The transmission completion address table is searched for the storage address of the transmission completion flag indicating whether or not the transmission of the frame corresponding to the final block of the constituent data block sequence is completed, and the result is stored in the transmission completion register, and then a group is set in the transmission / reception unit. To start sending the data. Then, each time a signal indicating the completion of transmission for each frame output from the transmission / reception unit is input, the control calculation means determines the contents of the address indicated by the contents of the transmission completion register to determine 1
Detects completion of transmission of group data.

【0019】また、請求項2に記載の発明は、ネットワ
ークに接続し、制御演算手段と、伝送制御プログラムを
格納するプログラム記憶手段と、データ記憶手段と、制
御演算手段が伝送制御プログラムを実行することにより
渡した、複数のデータのブロックの配列からなる1群の
データを、データブロックに対応したフレームの、デー
タブロックの配列順序と同一順序の配列としてネットワ
ークに出力する送受信部からなるデータ通信装置におけ
る、1群のデータを、ネットワークの状態や自局の状態
に適応したフレームの送信順序で伝送するデータ通信方
法において、1群のデータを構成する各フレームの送信
が完了したか否かを表すデータである送信完了フラグの
内、最後尾のフレームの送信完了フラグを格納する領域
の番地を固定とし、制御演算手段は、送受信部が一つの
フレームの送信完了を示す信号を出力するごとに、最後
尾フレームの送信完了フラグ領域である最終送信完了フ
ラグ番地の内容を判定して、1群のデータの送信完了を
検出することを特徴とする。
According to a second aspect of the present invention, the transmission control program is connected to the network, and the control calculation means, the program storage means for storing the transmission control program, the data storage means, and the control calculation means execute the transmission control program. A data communication device including a transmission / reception unit that outputs to the network a group of data, which has been transferred by a plurality of blocks of data, as an array in the same order as the array order of the data blocks of the frame corresponding to the data block. In the data communication method for transmitting a group of data in a frame transmission order adapted to the state of the network or the state of the local station, it indicates whether or not the transmission of each frame constituting the group of data is completed. Among the transmission completion flags that are data, the address of the area that stores the transmission completion flag of the last frame is fixed. The control calculation means determines the content of the final transmission completion flag address, which is the transmission completion flag area of the last frame, each time the transmission / reception unit outputs a signal indicating the completion of transmission of one frame, and determines the contents of the group of data. It is characterized by detecting the completion of transmission.

【0020】従って、請求項2の発明の方法を適用した
データ通信装置においては、制御演算手段は、送信すべ
き1群のデータを送受信部に渡して送受信部にこのデー
タの送信を開始させた後、送受信部からの1フレームの
送信が完了するごとに出力される1フレーム分の送信完
了信号を入力する都度、固定した番地である最終完了フ
ラグ番地の内容を判定し、1群のデータの送信完了を検
出する。
Therefore, in the data communication apparatus to which the method according to the second aspect of the invention is applied, the control calculation means passes the group of data to be transmitted to the transmitting / receiving section and causes the transmitting / receiving section to start transmitting this data. After that, each time a transmission completion signal for one frame is output each time transmission of one frame from the transmission / reception unit is completed, the content of the final completion flag address, which is a fixed address, is determined and Detects the completion of transmission.

【0021】また、請求項2に記載の発明において、1
群のデータを構成するデータブロックの内、最終送信完
了フラグ番地を有する最終の位置に配列されるデータブ
ロックを除く個々のデータブロックに、次に配列される
データブロックの先頭番地を格納する次番地領域を設
け、次番地の内容で接続された1群のデータの先頭のデ
ータブロックの先頭番地を送受信部に渡して、この1群
のデータを送受信部に送信させると好適である。即ち、
必要とするフレームフォーマットを次番地領域の内容を
改変することによって動的に生成することができるの
で、フレームフォーマットの種類に応じて同一種類のデ
ータブロックを重複して設ける必要がなく、しかも1箇
所の固定した送信完了フラグ番地の内容を判定すること
によって送信完了を検出することができる。
In the invention according to claim 2, 1
Next address that stores the start address of the next data block in each data block, excluding the data block that is arranged at the final position having the final transmission completion flag address, among the data blocks that make up the group data It is preferable that an area is provided, the head address of the head data block of the data of the first group connected by the contents of the next address is passed to the transmitting / receiving unit, and the data of the first group is transmitted to the transmitting / receiving unit. That is,
Since the required frame format can be dynamically generated by modifying the contents of the next address area, it is not necessary to provide the same type of data block in duplicate according to the type of frame format. The transmission completion can be detected by determining the content of the fixed transmission completion flag address of.

【0022】さらに、トークンパッシング方式でデータ
を伝送するネットワークに適用された、請求項3に記載
のデータ通信方法において、データ記憶手段中に、送信
起動用ポインタと、自局の状態とネットワークの状態と
を条件とする最適なフレームフォーマットを規定するフ
レームアドレステーブルとを設け、1群のデータを送信
中にネットワークから新たな1群のデータの送信を指示
するトークンを受信した場合には、このトークンを受信
した時点における新たな1群のデータを送信するために
最適なフレームフォーマットをフレームアドレステーブ
ルから選択し、この選択したフレームフォーマットの送
信順序に準ずる新たな1群のデータを作成し、この1群
のデータの先頭のデータブロックの先頭番地を送信起動
用ポインタに格納し、送信中であった1群のデータの送
信終了後の最初のトークンの受信によって、送信起動用
ポインタの内容を送受信部に渡し、送受信部に新たに作
成した1群のデータを送信させると好適である。
Furthermore, in the data communication method according to claim 3, which is applied to a network for transmitting data by the token passing system, a transmission starting pointer, a state of the own station and a state of the network are stored in the data storage means. When a token for instructing the transmission of a new group of data is received from the network while transmitting a group of data, this token is provided when a frame address table that defines the optimum frame format under the condition The optimum frame format for transmitting a new group of data at the time of receiving is selected from the frame address table, and a new group of data is created according to the transmission order of the selected frame format. Stores the start address of the start data block of the group data in the transmission start pointer It is preferable that when the first token is received after the transmission of the first group of data that was being transmitted, the content of the transmission start pointer is passed to the transmission / reception unit, and the transmission / reception unit is caused to transmit the newly generated first group of data. Is.

【0023】即ち、本発明の方法を適用したデータ通信
装置においては、1群のデータを送信中に自局の他の1
群のデータの送信を要求するトークンを受信した場合に
は、前の1群のデータの送信が完了し、次にトークンを
受信するまでの間に、制御演算手段は伝送制御プログラ
ムを実行して、トークンを受信した時点における最適フ
レームフォーマットをフレームアドレステーブルから選
択し、選択した最適フレームフォーマットに準じて要求
された1群のデータのデータブロック列を、次番地領域
の内容を確定することによって形成し、形成したデータ
ブロック列の先頭の番地を送信起動用ポインタに格納す
る。そして、次のトークンを受信した時点で送信起動用
ポインタの内容である、形成した1群のデータのデータ
ブロック列の先頭番地を送受信部に渡して要求された1
群のデータの送信をする。
That is, in the data communication apparatus to which the method of the present invention is applied, while one group of data is being transmitted, the other one
When a token requesting transmission of group data is received, the control calculation means executes the transmission control program until the transmission of the previous group of data is completed and the next token is received. , The optimum frame format at the time of receiving the token is selected from the frame address table, and the data block string of the requested group of data is determined by determining the contents of the next address area according to the selected optimum frame format. Then, the head address of the formed data block sequence is stored in the transmission start pointer. Then, when the next token is received, the start address of the data block sequence of the formed group of data, which is the content of the transmission start pointer, is passed to the transmission / reception unit and the requested 1
Send group data.

【0024】[0024]

【発明の実施の形態】図1に請求項1の発明の実施の形
態の一例である、この発明の方法を適用したデータ通信
装置CAA を示す。データ通信装置CAA は、制御演算手段
1、プログラム記憶手段2A、データ記憶手段3A、入力装
置4、表示装置5、送受信部6からなり、これらのデー
タ通信装置CAA を構成する要素の内、図8に示したデー
タ通信装置CAを構成する要素と同一の符号を付して示し
たものは同一のものであるので説明を省略する。プログ
ラム記憶手段2Aには、基本プログラムP0と伝送制御プロ
グラムP1A が格納されている。基本プログラムP0は、図
8に示したデータ通信装置CAの基本プログラムP0と同一
機能のプログラムであり、伝送制御プログラムP1A は図
8に示した伝送制御プログラムP1と、1群のデータの送
信完了を検出する機能が異なる他は、伝送制御プログラ
ムP1と同一の機能を有するプログラムである。プログラ
ム記憶手段2Aは、伝送制御プログラムP1に代わる伝送制
御プログラムP1A を格納する点を除き、図8に示したデ
ータ通信装置CAのプログラム記憶手段2と同一の機能を
有するプログラム記憶手段である。データ記憶手段3Aに
は、受信データ領域RDA 、送信データ領域TDA 、送信完
了アドレステーブルAT、送信完了アドレスレジスタARの
領域が設定されており、受信データ領域RDA と送信デー
タ領域TDA とは、図7に示したデータ通信装置CAのデー
タ記憶手段3に設けられた同符号の領域と同一目的の領
域であって、データ記憶手段3Aは、送信完了アドレステ
ーブルATの領域と送信完了アドレスレジスタARとが設定
される以外は、データ記憶手段3と同一機能、同一目的
のデータ記憶手段である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a data communication device CAA to which the method of the present invention is applied, which is an example of the embodiment of the present invention. The data communication device CAA comprises a control calculation means 1, a program storage means 2A, a data storage means 3A, an input device 4, a display device 5, and a transmission / reception section 6. Of the elements constituting these data communication device CAA, FIG. The components denoted by the same reference numerals as the constituent elements of the data communication device CA shown in FIG. The program storage means 2A stores a basic program P0 and a transmission control program P1A. The basic program P0 is a program having the same function as the basic program P0 of the data communication device CA shown in FIG. 8, and the transmission control program P1A completes the transmission control program P1 shown in FIG. It is a program having the same function as the transmission control program P1 except that the function to be detected is different. The program storage means 2A is a program storage means having the same function as the program storage means 2 of the data communication device CA shown in FIG. 8 except that the transmission control program P1A instead of the transmission control program P1 is stored. In the data storage means 3A, areas of a reception data area RDA, a transmission data area TDA, a transmission completion address table AT, and a transmission completion address register AR are set, and the reception data area RDA and the transmission data area TDA are shown in FIG. The area of the same purpose as the area of the same code provided in the data storage means 3 of the data communication device CA shown in FIG. 3, and the data storage means 3A has the area of the transmission completion address table AT and the transmission completion address register AR. Except for the setting, the data storage means has the same function and the same purpose as the data storage means 3.

【0025】図2に、図1に示したデータ記憶手段3Aの
領域に設けられる送信完了アドレステーブルATの説明図
を示す。図2の(a) は送信完了アドレステーブルATに登
録されるフレームフォーマットQ11,Q12 を示した図であ
る。フレームフォーマットQ11 は、4個のフレーム管理
部a,b,c,dが "abcd" の順番で並んだ形式の
フレームフォーマットであり、フレームフォーマットQ1
2 は、4個のフレーム管理部a,b,c,dが、 "a,
c,d,b”の順番で並んだ形式のフレームフォーマッ
トである。フレームフォーマットQ11 の送信完了フラグ
は、フレームフォーマットQ11 における末尾のデータブ
ロックの送信管理部dの送信完了フラグFdであり、送信
完了フラグFdは送信完了フラグ番地EAD に格納され、フ
レームフォーマットQ12 の送信完了フラグは、フレーム
フォーマットQ12 における末尾のデータブロックの送信
管理部bの送信完了フラグFbであり、送信完了フラグFd
は送信完了フラグ番地EAB に格納される。
FIG. 2 is an explanatory view of the transmission completion address table AT provided in the area of the data storage means 3A shown in FIG. FIG. 2A shows the frame formats Q11 and Q12 registered in the transmission completion address table AT. The frame format Q11 is a frame format in which four frame management units a, b, c, and d are arranged in the order of "abcd".
2 indicates that the four frame management parts a, b, c, d are "a,
It is a frame format of a format in which they are arranged in the order of c, d, and b ″. The transmission completion flag of the frame format Q11 is the transmission completion flag Fd of the transmission management unit d of the last data block in the frame format Q11. The flag Fd is stored in the transmission completion flag address EAD, and the transmission completion flag of the frame format Q12 is the transmission completion flag Fb of the transmission management unit b of the last data block in the frame format Q12.
Is stored in the transmission completion flag address EAB.

【0026】図2の(b) は図2の(a) に示したフレーム
フォーマットQ11,Q12 等を登録した送信完了テーブルAT
の内容を示した図である。図示のとおり送信完了テーブ
ルATは、フレームフォーマットの種類を示す符号と、こ
の符号に代表されるフレームフォーマットを持つ1群の
データの送信完了フラグの番地とからなるデータ群であ
って、フレームフォーマットQ11 に対応する、送信完了
フラグを格納する領域にはフレームフォーマットQ11 の
送信完了フラグ番地EAD が、フレームフォーマットQ12
に対応する、送信完了フラグを格納する領域には、フレ
ームフォーマットQ12 の送信完了フラグ番地EAB が格納
される。
FIG. 2B shows a transmission completion table AT in which the frame formats Q11, Q12, etc. shown in FIG. 2A are registered.
It is a figure showing the contents of. As shown in the figure, the transmission completion table AT is a data group consisting of a code indicating the type of frame format and the address of the transmission completion flag of a group of data having a frame format represented by this code. The transmission completion flag address EAD of frame format Q11 is stored in the area for storing the transmission completion flag corresponding to
The transmission completion flag address EAB of the frame format Q12 is stored in the area for storing the transmission completion flag corresponding to.

【0027】図3に4個のデータブロックからなる1群
のデータを送信する場合の説明図を示す。図において、
ATは図1および図2に示した同符号のテーブルと同一の
送信完了アドレステーブル、ARは図1に示した同符号の
レジスタと同一の送信完了アドレスレジスタである。Q1
2 は、フレーム管理部aと送信データA、フレーム管理
部bと送信データB、フレーム管理部cと送信データ
C、フレーム管理部dと送信データD、それぞれからな
る4個のデータブロックDB1,DB2,DB3,DB4 を、"a,
c,d,b”の順序に接続した1群のデータのフレーム
フォーマットである。以下の説明では、フレームフォー
マットの順序で並んだ、フレーム管理部の並びをフレー
ム管理部キューと言い、図示のフレーム管理部キューCQ
b はフレーム管理部が" a,c,d,b”の順序で並ん
だ管理部キューであり、データブロックDB1,DB2,DB3,DB
4 それぞれにに従って作成されたフレームは、管理部キ
ューのフレームフォーマットに従って送信される。
FIG. 3 is an explanatory diagram for transmitting a group of data consisting of four data blocks. In the figure,
AT is the same transmission completion address table as the table with the same reference numeral shown in FIGS. 1 and 2, and AR is the same transmission completion address register as the register with the same reference numeral shown in FIG. Q1
Reference numeral 2 denotes four data blocks DB1 and DB2 each including a frame management unit a and transmission data A, a frame management unit b and transmission data B, a frame management unit c and transmission data C, a frame management unit d and transmission data D, respectively. , DB3, DB4 to "a,
It is a frame format of a group of data connected in the order of c, d, b ″. In the following description, the arrangement of the frame management units arranged in the order of the frame formats is called a frame management unit queue, and the illustrated frames are shown. Management Queue CQ
b is a management unit queue in which frame management units are arranged in the order of "a, c, d, b", and data blocks DB1, DB2, DB3, DB
4 The frame created according to each is transmitted according to the frame format of the management section queue.

【0028】図によって、フレームフォーマットQ12 を
有する1群のデータを送信する場合の動作を説明する。
制御演算手段1は、送信すべき1群のデータの形式がフ
レームフォーマットQ12 であるので、符号"Q12" をイン
デックスとして送信完了テーブルATを検索し、フレーム
フォーマットQ12 に相当する1群のデータの送信完了フ
ラグの格納番地EAB を得、この番地を送信完了アドレス
レジスタARに格納する。次いで、フレーム管理部キュー
CQb の先頭番地FDTAb を送受信部6に渡す。先頭番地FD
TAb を渡された送受信部6は、番地FDTAb から順次フレ
ーム管理部a、送信データAの内容を読出し、データブ
ロックDB1 に相当するフレームFRa を送信する。以下同
様にして順次、データブロックDB3,BD4,DB2 から作成さ
れたフレームが送信される。制御演算手段1は、送受信
部6が1個のフレームを送信するごとに出力する送信完
了信号を入力する都度、送信完了アドレスレジスタARの
内容が示す番地EAB の内容を判定する。この番地の内容
は、フレームフォーマットQ12 で送信している1群のデ
ータの送信完了フラグであるので、この番地の内容が送
信完了を示す2値信号の1になった時点で送信の完了を
検知する。
The operation of transmitting a group of data having the frame format Q12 will be described with reference to the drawings.
Since the format of the group of data to be transmitted is the frame format Q12, the control operation means 1 searches the transmission completion table AT using the code "Q12" as an index, and transmits the group of data corresponding to the frame format Q12. The storage address EAB of the completion flag is obtained, and this address is stored in the transmission completion address register AR. Then the frame manager queue
The head address FDTAb of CQb is passed to the transmitting / receiving unit 6. First address FD
The transmission / reception unit 6 to which TAb is delivered reads the contents of the frame management unit a and the transmission data A sequentially from the address FDTAb, and transmits the frame FRa corresponding to the data block DB1. The frames created from the data blocks DB3, BD4, and DB2 are sequentially transmitted in the same manner. The control operation means 1 determines the contents of the address EAB indicated by the contents of the transmission completion address register AR each time the transmission / reception unit 6 inputs the transmission completion signal output every time one frame is transmitted. Since the content of this address is the transmission completion flag of the first group of data transmitted in frame format Q12, the completion of transmission is detected when the content of this address becomes 1 of the binary signal indicating the completion of transmission. To do.

【0029】図4に、請求項2の発明の実施の形態の一
例である、請求項2の発明の方法を適用したデータ通信
装置CAB における、送信完了を検知する動作の説明図を
示す。データ通信装置CAB は、送信完了を検知する方法
が伝送制御プログラムP1A (図1を参照)とは異なる伝
送制御プログラムP1B を搭載する以外は、図1に示した
データ通信装置CAA と同一の構成、同一の機能を有する
データ通信装置である。伝送制御プログラムP1B は制御
演算手段1(図1を参照)に実行されて、初期設定にお
いて、フレームフォーマットの種類に応じたフレーム管
理部キューをデータ記憶手段3A(図1を参照)中に生成
するが、どの種類のフレームフォーマットであっても、
最後尾のデータブロックのフレーム管理部キューの送信
完了フラグの番地を固定番地に設定する。即ち、図示の
例に示すとおりに、フレーム管理部キューCQb1とフレー
ム管理部キューCQb2とは、固定した送信完了フラグの番
地EADFを有する最後尾のフレーム管理部dを共有するよ
うに構成する。制御演算手段1は、1フレームの送信完
了の信号を受信するごとに、この固定番地EADFに格納さ
れる送信完了フラグの値によって1群のデータの送信完
了を検知する。
FIG. 4 is an explanatory diagram of an operation of detecting the completion of transmission in the data communication apparatus CAB to which the method of the invention of claim 2 is applied, which is an example of the embodiment of the invention of claim 2. The data communication device CAB has the same configuration as that of the data communication device CAA shown in FIG. 1 except that the transmission control program P1B whose transmission completion detection method is different from the transmission control program P1A (see FIG. 1) is installed. It is a data communication device having the same function. The transmission control program P1B is executed by the control calculation means 1 (see FIG. 1), and in the initial setting, generates a frame management section queue corresponding to the type of frame format in the data storage means 3A (see FIG. 1). However, no matter what kind of frame format,
The address of the transmission completion flag of the frame management section queue of the last data block is set to a fixed address. That is, as shown in the illustrated example, the frame management unit queue CQb1 and the frame management unit queue CQb2 are configured to share the last frame management unit d having the fixed address EADF of the transmission completion flag. The control calculation means 1 detects the completion of transmission of one group of data by the value of the transmission completion flag stored in this fixed address EADF every time it receives a signal indicating the completion of transmission of one frame.

【0030】図5に、請求項3の発明の実施の形態の他
の一例である、請求項3の発明の方法を適用したデータ
通信装置CAC における、送信完了を検知する動作の説明
図を示す。データ通信装置CAC は、送信完了を検知する
方法が伝送制御プログラムP1A (図1を参照)とは異な
る伝送制御プログラムP1C を搭載する以外は、図1に示
したデータ通信装置CAA と同一の構成、同一の機能を有
するデータ通信装置である。データ通信装置CAC の伝送
制御プログラムP1C は制御演算手段1に実行されて、送
受信の途中において送信すべき1群のデータを送信する
場合に、送信時点において、自局の状態やネットワーク
の状態に応じて最適なフレームフォーマットを図6に示
すフレームアドレステーブルFAから選定し、この選定し
たフレームフォーマットに一致するように、かつ、最終
の送信完了フラグを格納する固定番地である最終送信完
了フラグ番地EADFを有するフレーム管理部dが最後尾の
フレーム管理部になるようにフレーム管理キューを構成
する。
FIG. 5 shows another example of the embodiment of the invention of claim 3, which is an explanatory view of the operation of detecting the completion of transmission in the data communication apparatus CAC to which the method of the invention of claim 3 is applied. . The data communication device CAC has the same configuration as the data communication device CAA shown in FIG. 1, except that the transmission control program P1C whose transmission completion detection method is different from the transmission control program P1A (see FIG. 1) is installed. It is a data communication device having the same function. When the transmission control program P1C of the data communication device CAC is executed by the control calculation means 1 to transmit a group of data to be transmitted during transmission / reception, depending on the state of the local station or the state of the network at the time of transmission. The optimum frame format is selected from the frame address table FA shown in FIG. 6, and the final transmission completion flag address EADF, which is a fixed address for storing the final transmission completion flag, is selected so as to match the selected frame format. The frame management queue is configured such that the frame management unit d that it has becomes the last frame management unit.

【0031】図5の(a) は、初期設定において伝送制御
プログラムP1C が作成した、フレーム管理キューの最終
送信完了フラグ番地EADFを有するフレーム管理部d、任
意の領域を有するフレーム管理部a,b,c、およびこ
れらのフレーム管理部a,b,c,dそれぞれの管理下
にある送信データ領域A,B,C,Dを示した図であ
る。
FIG. 5A shows a frame management unit d having the final transmission completion flag address EADF of the frame management queue created by the transmission control program P1C in the initial setting, and frame management units a and b having arbitrary areas. , C, and transmission data areas A, B, C, D under the control of the frame management units a, b, c, d, respectively.

【0032】制御演算手段1は、伝送制御プログラムP1
C を実行して、ある時点において送信すべき1群のデー
タの送信順序が、図5の(b) に示すとおりに、フレーム
管理部キューが "a,b,c,d" となるフレームフォ
ーマットが最適と判断した場合には、フレーム管理部a
の次番地領域の内容をフレーム管理部bの先頭を指すよ
うに設定し、フレーム管理部bの次番地領域の内容をフ
レーム管理部cの先頭を指すように設定し、フレーム管
理部cの次番地領域の内容をフレーム管理部dの先頭を
指すように設定し、フレーム管理部aの先頭番地を送受
信部6(図1を参照)に渡す。送受信部6は、1群のデ
ータをフレーム管理部a,b,c,dの順序に一致させ
て送信し、制御演算手段1は、固定した最終送信完了フ
ラグ番地EADFの内容を見ることによって1群のデータの
送信完了を検出する。
The control calculation means 1 is a transmission control program P1.
When C is executed, the transmission order of a group of data to be transmitted at a certain time is such that the frame management queue becomes "a, b, c, d" as shown in (b) of FIG. Frame management section a
Of the next address area of the frame management unit b is set to point to the beginning of the frame management unit b, and the contents of the next address area of the frame management unit b is set to point to the beginning of the frame management unit c. The contents of the address area are set so as to point to the beginning of the frame managing section d, and the starting address of the frame managing section a is passed to the transmitting / receiving section 6 (see FIG. 1). The transmission / reception unit 6 transmits a group of data in the same order as the frame management units a, b, c, d, and the control calculation unit 1 checks the contents of the fixed final transmission completion flag address EADF 1 Detects completion of transmission of group data.

【0033】図5の(c) は、選択したフレームフォーマ
ットによって、フレーム管理部a,c,d,bの順序の
送信管理部キューが作成された場合を示した図である。
この場合のフレーム管理部キューは、先頭のフレーム管
理部aの次番地領域の内容が、フレーム管理部cの先頭
番地を指し、フレーム管理部cの次番地領域の内容が、
フレーム管理部bの先頭番地を指し、フレーム管理部b
の次番地領域の内容が、フレーム管理部dの先頭番地を
指ようにして構成される。
FIG. 5C is a diagram showing a case where the transmission management unit queues in the order of the frame management units a, c, d, and b are created by the selected frame format.
In the frame management unit queue in this case, the content of the next address area of the head frame management unit a indicates the head address of the frame management unit c, and the content of the next address area of the frame management unit c is
Indicates the head address of the frame management unit b, and the frame management unit b
The content of the next address area of is pointed to the head address of the frame management unit d.

【0034】図6に、自局の状態およびネットワークの
状態に応じた最適なフレームフォーマットを規定するフ
レームアドレステーブルFAの説明図を示す。フレームア
ドレステーブルFAは、自局の状態を示すデータSC(以
下、自局条件SCと略記する)と、ネットワークの状態を
示すデータLC(以下ネットワーク条件LCと略記する)を
条件とし、この条件下で最適なフレームフォーマットが
検索できるようにしたデータ群である。フレームアドレ
ステーブルFAにおいては例えば、図6に示す様に、自局
条件SCが0であり、ネットワーク条件LCが1の場合に
は、フレームフォーマットQ11 が最適フレームフォーマ
ットであり、自局条件SCが0であり、ネットワーク条件
LCが1の場合には、フレームフォーマットQ12 が最適フ
レームフォーマットでありと言うように、自局条件SCと
ネットワーク条件LCとによって、最適なフレームフォー
マットが検索できるようにデータが配列されている。
FIG. 6 is an explanatory diagram of the frame address table FA which defines the optimum frame format according to the state of the own station and the state of the network. The frame address table FA is subject to data SC indicating the status of the own station (hereinafter abbreviated as the own station condition SC) and data LC indicating the status of the network (hereinafter abbreviated as the network condition LC) under these conditions. This is a group of data that allows you to search for the optimal frame format with. In the frame address table FA, for example, when the own station condition SC is 0 and the network condition LC is 1, as shown in FIG. 6, the frame format Q11 is the optimum frame format and the own station condition SC is 0. And network conditions
When LC is 1, the frame format Q12 is said to be the optimum frame format, and the data is arranged so that the optimum frame format can be searched by the local station condition SC and the network condition LC.

【0035】図7に、請求項4の発明の実施の形態の一
例である、請求項4の発明の方法を適用したデータ通信
装置CAD における、送信完了を検知する動作の説明図を
示す。データ通信装置CAD は、伝送制御プログラムP1D
を搭載する以外は、図1に示したデータ通信装置CAA と
同一の構成、同一の機能を有するデータ通信装置であ
る。伝送制御プログラムP1D は、伝送制御プログラムP1
C の内容を含み、データ通信装置CAD がトークンパッシ
ング方式でデータを伝送するネットワークに接続されて
いる場合に、図7 に示すとおりの動作をする。以下図に
よってデータ通信装置CAD の動作を説明する。
FIG. 7 is an explanatory diagram of an operation of detecting the completion of transmission in the data communication device CAD to which the method of the invention of claim 4 is applied, which is an example of the embodiment of the invention of claim 4. Data communication device CAD is a transmission control program P1D
The data communication device has the same configuration and the same function as the data communication device CAA shown in FIG. The transmission control program P1D is the transmission control program P1.
When the data communication device CAD including the contents of C is connected to the network that transmits data by the token passing method, it operates as shown in Fig. 7. The operation of the data communication device CAD will be described below with reference to the drawings.

【0036】図7の(a) は、局B1,B2,B3の3個の局から
なるネットワークであり、局B1、局B2、局B3の順にトー
クンを回してデータの伝送をする。図8の(b) は、図8
の(a) に示したネットワークにおけるデータの送受信を
表した、横軸を時間、縦軸を送受信されるデータとした
タイミングチャートと、データ通信装置CAD をデータ伝
送の手段とする局B3における処理を表した説明図であ
る。
FIG. 7A shows a network consisting of three stations B1, B2 and B3, which transmit data by rotating the tokens in the order of station B1, station B2 and station B3. 8 (b) is the same as FIG.
The timing chart showing the data transmission / reception in the network shown in (a) of this figure, with the horizontal axis representing time and the vertical axis representing transmitted / received data, and the processing in station B3 using the data communication device CAD as the means of data transmission. It is the explanatory view shown.

【0037】図によって、局B3が1群のデータの送信中
に、新たな1群のデータの送信を要求するトークンを受
信した場合の処理を説明する。時刻T1において、局B3が
フレームA1,B1,C1からなる1群のデータD1の送信中に、
局B2からトークンを受信した場合には、現在送信中の1
群のデータの送信が終了した時刻T2から、データ通信装
置CAD は次に説明する処理に入る。データ通信装置CAD
は、受信時点における自局条件SCと、ネットワーク条件
LCとによって、図6に示したフレームアドレステーブル
FAと同一のフレームアドレステーブルFAを検索し、現時
点における、要求された新しい1群のデータの送信に最
適のフレームフォーマットを選択する。次いで、このフ
レームフォーマットに準じたフレーム管理部キューを作
成し、作成したフレーム管理部キューの管理下の送信デ
ータの領域に次に送信すべき1群のデータを格納し、作
成したフレーム管理部キューの先頭番地を送信起動用ポ
インタTSP に格納する。データ通信装置CAD は上述の処
理を、次にトークンが受信される時刻T3までの間に完了
しており、時刻T3において、次のトークンを受信すると
直ちに送信起動用ポインタTSP の内容を送受信部6に渡
し、フレームA2,B2,C2からなる新しい1群のデータD2を
送信する。
With reference to the drawing, the processing when the station B3 receives a token requesting the transmission of a new group of data during the transmission of the group of data will be described. At time T1, station B3 is transmitting a group of data D1 consisting of frames A1, B1, C1,
If the token is received from station B2, the currently transmitting 1
From the time T2 when the transmission of the group data is completed, the data communication device CAD enters the processing described below. Data communication device CAD
Is the local condition SC at the time of reception and the network condition
Frame address table shown in FIG. 6 by LC and
The same frame address table FA as FA is searched, and the optimum frame format for transmitting the requested new group of data at the present time is selected. Next, a frame management unit queue conforming to this frame format is created, a group of data to be transmitted next is stored in the transmission data area under the management of the created frame management unit queue, and the created frame management unit queue is created. The start address of is stored in the transmission start pointer TSP. The data communication device CAD has completed the above processing until the time T3 when the next token is received, and at the time T3, immediately after receiving the next token, the contents of the transmission start pointer TSP are transferred to the transmission / reception unit 6 And sends a new group of data D2 consisting of frames A2, B2, C2.

【0038】[0038]

【発明の効果】以上に説明したとおり、1群のデータを
複数個のフレーム列として送信する、請求項1の発明の
方法を適用したデータ通信装置においては、1群のデー
タに相当するフレーム列の送信順序の形式である、フレ
ームフォーマットの種類別と、個々の種類のフレームフ
ォーマットの、各フレームの送信が完了したか否かを表
すデータである送信完了フラグの内、フレーム列の最後
尾のフレームの送信完了フラグを格納する領域の番地と
からなる送信完了アドレステーブルと、送信完了アドレ
スレスレジスタとをデータ記憶手段中に設け、伝送制御
プログラムを実行することにより制御演算手段は、1群
のデータの送信に先立って、このデータ群の最後尾のフ
レームの送信完了フラグの番地を送信完了アドレステー
ブルから検索して送信完了アドレスレジスタに格納し、
送受信部が一つのフレームの送信完了を示す信号を出力
するごとに送信完了アドレスレジスタの内容が示す番地
に格納されている送信完了フラグの値を判定して、1群
のデータの送信完了を検出する。
As described above, in the data communication device to which the method of the invention of claim 1 is applied, in which one group of data is transmitted as a plurality of frame strings, a frame string corresponding to one group of data. Of the frame sequence type, which is the format of the transmission order, and the transmission completion flag, which is the data indicating whether the transmission of each frame has been completed, of the frame format of each type, at the end of the frame sequence. A transmission completion address table composed of an address of an area for storing a transmission completion flag of a frame and a transmission completion addressless register are provided in the data storage means, and the transmission control program is executed so that the control calculation means can control the Prior to data transmission, the address of the transmission completion flag of the last frame of this data group is searched from the transmission completion address table. Stored in the signal completion address register,
Each time the transmitter / receiver outputs a signal indicating the completion of transmission of one frame, the value of the transmission completion flag stored in the address indicated by the contents of the transmission completion address register is judged to detect the completion of transmission of one group of data. To do.

【0039】即ち、請求項1の発明を適用したデータ通
信装置の制御演算手段は、1群のデータを構成する1フ
レームの送信完了を知らせる信号が入力された場合に、
送信完了アドレスレジスタの内容が示す番地の内容を判
定するのみで、この入力された1フレームの送信完了信
号が1群のデータの送信終了を示す信号でであるか否か
を検出することができるので、1群のデータ送信完了の
判定をする処理が簡便であり、迅速に処理ができる。
That is, the control operation means of the data communication device to which the invention of claim 1 is applied, when a signal notifying the completion of transmission of one frame forming one group of data is input,
Only by determining the contents of the address indicated by the contents of the transmission completion address register, it is possible to detect whether or not the input transmission completion signal of one frame is a signal indicating the end of transmission of one group of data. Therefore, the process of determining the completion of the data transmission of the first group is simple, and the process can be performed quickly.

【0040】また、請求項2の発明の方法を適用したデ
ータ通信装置においては、1群のデータを構成する各フ
レームの送信が完了したか否かを表すデータである送信
完了フラグの内、最後尾のフレームの送信完了フラグを
格納する領域の番地を固定とし、制御演算手段は、送受
信部が一つのフレームの送信完了を示す信号を出力する
ごとに、最後尾フレームの送信完了フラグ領域である最
終送信完了フラグ番地の内容を判定して、1群のデータ
の送信完了を検出する。即ち、請求項2の発明を適用し
たデータ通信装置の制御演算手段は、1群のデータを構
成する1フレームの送信完了を知らせる信号が入力され
た場合に、固定番地の最終送信完了フラグ番地の内容を
判定するのみで1群のデータの送信終了が検出できるの
で、1群のデータ送信完了の判定をする処理が簡便であ
り、迅速に処理ができる。
Further, in the data communication apparatus to which the method according to the invention of claim 2 is applied, the last of the transmission completion flags, which is data indicating whether or not the transmission of each frame constituting one group of data has been completed The address of the area for storing the transmission completion flag of the tail frame is fixed, and the control operation means is the transmission completion flag area of the last frame each time the transmission / reception unit outputs a signal indicating the transmission completion of one frame. The contents of the final transmission completion flag address are judged to detect the completion of transmission of the first group of data. That is, the control operation means of the data communication device to which the invention of claim 2 is applied, when the signal notifying the completion of the transmission of one frame forming one group of data is input, the final transmission completion flag address of the fixed address is set. Since the end of the transmission of the data of the first group can be detected only by determining the content, the process of determining the completion of the transmission of the data of the first group is simple and can be performed quickly.

【0041】また、請求項3に記載の、請求項2の発明
の方法を適用したデータ通信装置においては、1群のデ
ータを構成するデータブロックの内、最終送信完了フラ
グ番地を有する最終の位置に配列されるデータブロック
を除く個々のデータブロックに、次に配列されるデータ
ブロックの先頭番地を格納する次番地領域を設る。そし
て、次番地の内容で接続された1群のデータの先頭のデ
ータブロックの先頭番地を送受信部に渡して、この1群
のデータを送受信部に送信させる。従って、請求項3の
発明のデータ通信装置においては、最終送信完了フラグ
番地を有するデータブロックを固定領域とする以外は、
任意の領域に作られたデータブロックを接続して必要と
するフレームフォーマットの1群のデータを作成するこ
とができる。
Further, in the data communication apparatus to which the method of the invention of claim 2 is applied according to claim 3, the final position having the final transmission completion flag address among the data blocks forming one group of data. The next address area for storing the head address of the data block to be arranged next is provided in each data block except the data block arranged in. Then, the head address of the head data block of the data of the first group connected by the contents of the next address is passed to the transmitting / receiving unit, and the data of the first group is transmitted to the transmitting / receiving unit. Therefore, in the data communication apparatus according to the third aspect of the invention, except that the data block having the final transmission completion flag address is set as the fixed area,
It is possible to create a group of data in a required frame format by connecting data blocks created in arbitrary areas.

【0042】さらに、請求項4に記載の、請求項3の発
明の方法を適用し、トークンパッシング方式でデータを
伝送するネットワークに適用されたデータ通信装置にお
いては、データ記憶手段中に送信起動用ポインタと、自
局の状態とネットワークの状態とを条件とする最適なフ
レームフォーマットを規定するフレームアドレステーブ
ルとを設ける。そして、1群のデータを送信中にネット
ワークから新たな1群のデータの送信を指示するトーク
ンを受信した場合には、このトークンを受信した時点に
おける新たな1群のデータを送信するために最適なフレ
ームフォーマットをフレームアドレステーブルから選択
し、この選択したフレームフォーマットの送信順序に準
ずる新たな1群のデータを作成し、この1群のデータの
先頭のデータブロックの先頭番地を送信起動用ポインタ
に格納し、送信中であった1群のデータの送信終了後の
最初のトークンの受信によって、送信起動用ポインタの
内容を送受信部に渡し、送受信部に新たに作成した1群
のデータを送信させる。
Further, in the data communication apparatus applied with the method of the invention of claim 3 as described in claim 4 and applied to the network for transmitting data by the token passing method, the data storage means is for starting transmission. A pointer and a frame address table that defines an optimum frame format under the conditions of the local station and the network are provided. Then, when a token instructing the transmission of a new group of data is received from the network while transmitting the group of data, it is optimal for transmitting the new group of data at the time when this token is received. From the frame address table, a new group of data is created according to the transmission order of the selected frame format, and the start address of the first data block of this group of data is used as the transmission start pointer. Upon reception of the first token after storing and transmitting the group of data that was being transmitted, the content of the transmission start pointer is passed to the transmitting / receiving unit, and the transmitting / receiving unit is made to transmit the newly created group of data. .

【0043】即ち、請求項4の方法を適用したデータ通
信装置は、1群のデータを送信した後の次のトークンを
受信する時刻までの間に、前の1群のデータを送信中に
受信したトークンによって要求された新しい1群のデー
タを、トークン受信時の自局およびネットワークの状態
に最も適合したフレームフォーマットで準備し、次のト
ークン受信と同時に新しい1群のデータを送信するの
で、送信データの準備の時間が送信時間と平行して行わ
れ、データ通信の時間が短縮される。
That is, the data communication apparatus to which the method of claim 4 is applied receives the previous group of data during transmission by the time of receiving the next token after transmitting the group of data. A new group of data requested by the token is prepared in a frame format most suitable for the state of the local station and the network when the token is received, and a new group of data is transmitted at the same time as the next token is received. The data preparation time is performed in parallel with the transmission time, and the data communication time is shortened.

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

【図1】請求項1の発明の実施の形態の一例である、こ
の発明の方法を適用したデータ通信装置のブロック図
FIG. 1 is a block diagram of a data communication apparatus to which the method of the present invention is applied, which is an example of an embodiment of the invention of claim 1;

【図2】送信アドレステーブルの説明図FIG. 2 is an explanatory diagram of a transmission address table.

【図3】図1に示したデータ通信装置における送信完了
を検出する動作の説明図
FIG. 3 is an explanatory diagram of an operation of detecting completion of transmission in the data communication apparatus shown in FIG.

【図4】請求項2の発明の実施の形態の一例のデータ通
信装置における動作の説明図
FIG. 4 is an explanatory diagram of an operation in the data communication device of the example of the embodiment of the invention of claim 2;

【図5】請求項3の発明の実施の形態の一例のデータ通
信装置における動作の説明図
FIG. 5 is an explanatory diagram of an operation in the data communication device of the example of the embodiment of the invention of claim 3;

【図6】フレームアドレステーブルの説明図FIG. 6 is an explanatory diagram of a frame address table.

【図7】請求項4の発明の実施の形態の一例のデータ通
信装置における動作の説明図
FIG. 7 is an explanatory diagram of an operation in the data communication device of the example of the embodiment of the invention of claim 4;

【図8】従来のデータ通信装置のブロック図FIG. 8 is a block diagram of a conventional data communication device.

【図9】1つのデータブロックからなるデータを送信す
る場合の説明図
FIG. 9 is an explanatory diagram of the case of transmitting data composed of one data block.

【図10】複数のデータブロックからなる1群のデータを
送信する場合の説明図
FIG. 10 is an explanatory diagram when transmitting a group of data including a plurality of data blocks.

【図11】従来の1群のデータの送信完了を検出する一方
法の説明図
FIG. 11 is an explanatory diagram of a conventional method for detecting completion of transmission of a group of data.

【図12】従来の1群のデータの送信完了を検出する他の
方法の説明図
FIG. 12 is an explanatory diagram of another conventional method for detecting completion of transmission of a group of data.

【図13】フレームフォーマットの例を示した図FIG. 13 is a diagram showing an example of a frame format.

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

CAA データ通信装置 1 制御演算手段 2A プログラム記憶手段 P1A 伝送制御プログラム 3A データ記憶手段 AT 送信完了アドレステーブル AR 送信完了アドレスレジスタ a,b,c,d フレーム管理部 Q12 フレーム管理部キュー FDTAb フレーム管理部キュー先頭番地 EAB 送信完了フラグ格納番地 CAA data communication device 1 control calculation means 2A program storage means P1A transmission control program 3A data storage means AT transmission completion address table AR transmission completion address register a, b, c, d frame management unit Q12 frame management unit queue FDTAb frame management unit queue Start address EAB Transmission complete flag storage address

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ネットワークに接続し、制御演算手段と、
伝送制御プログラムを格納するプログラム記憶手段と、
データ記憶手段と、制御演算手段が伝送制御プログラム
を実行することにより渡した、複数のデータのブロック
の配列からなる1群のデータを、データブロックに対応
したフレームの、データブロックの配列順序と同一順序
の配列としてネットワークに出力する送受信部からなる
データ通信装置における、1群のデータを、ネットワー
クの状態や自局の状態に適応したフレームの送信順序で
伝送するデータ通信方法において、 1群のデータに相当するフレーム列の送信順序の形式で
ある、フレームフォーマットの種類別と、個々の種類の
フレームフォーマットの、各フレームの送信が完了した
か否かを表すデータである送信完了フラグの内、フレー
ム列の最後尾のフレームの送信完了フラグを格納する領
域の番地とからなる送信完了アドレステーブルと、送信
完了アドレスレスレジスタとをデータ記憶手段中に設
け、伝送制御プログラムを実行することにより制御演算
手段は、1群のデータの送信に先立って、このデータ群
の最後尾のフレームの送信完了フラグの番地を送信完了
アドレステーブルから検索して送信完了アドレスレジス
タに格納し、送受信部が一つのフレームの送信完了を示
す信号を出力するごとに送信完了アドレスレジスタの内
容が示す番地に格納されている送信完了フラグの値を判
定して、1群のデータの送信完了を検出することを特徴
とするデータ通信方法。
1. A control calculation means connected to a network,
Program storage means for storing a transmission control program,
A group of data consisting of an array of blocks of a plurality of data, which is passed by the data storage unit and the control operation unit executing the transmission control program, is the same as the arrangement order of the data blocks in the frame corresponding to the data block. A data communication method for transmitting a group of data in a frame transmission order adapted to the state of the network or the state of the local station in a data communication device including a transmission / reception unit that outputs the sequence of sequences to the network. The frame of the transmission completion flag, which is data indicating whether or not each frame has been transmitted, of each type of frame format, which is the format of the transmission sequence of the frame sequence corresponding to Transmission completion address consisting of the address of the area that stores the transmission completion flag of the last frame in the column By providing a table and a transmission completion addressless register in the data storage means and executing the transmission control program, the control calculation means transmits the last frame of this data group prior to the transmission of one group of data. The address of the completion flag is retrieved from the transmission completion address table and stored in the transmission completion address register, and is stored in the address indicated by the contents of the transmission completion address register every time the transmitter / receiver outputs a signal indicating the completion of transmission of one frame. A data communication method, characterized in that the value of a transmission completion flag that is being set is determined to detect the completion of transmission of a group of data.
【請求項2】ネットワークに接続し、制御演算手段と、
伝送制御プログラムを格納するプログラム記憶手段と、
データ記憶手段と、制御演算手段が伝送制御プログラム
を実行することにより渡した、複数のデータのブロック
の配列からなる1群のデータを、データブロックに対応
したフレームの、データブロックの配列順序と同一順序
の配列としてネットワークに出力する送受信部からなる
データ通信装置における、1群のデータを、ネットワー
クの状態や自局の状態に適応したフレームの送信順序で
伝送するデータ通信方法において、 1群のデータを構成する各フレームの送信が完了したか
否かを表すデータである送信完了フラグの内、最後尾の
フレームの送信完了フラグを格納する領域の番地を固定
とし、制御演算手段は、送受信部が一つのフレームの送
信完了を示す信号を出力するごとに、最後尾フレームの
送信完了フラグ領域である最終送信完了フラグ番地の内
容を判定して、1群のデータの送信完了を検出すること
を特徴とするデータ通信方法。
2. A control calculation means connected to a network,
Program storage means for storing a transmission control program,
A group of data consisting of an array of blocks of a plurality of data, which is passed by the data storage unit and the control operation unit executing the transmission control program, is the same as the arrangement order of the data blocks in the frame corresponding to the data block. A data communication method for transmitting a group of data in a frame transmission order adapted to the state of the network or the state of the local station in a data communication device including a transmission / reception unit that outputs the sequence of sequences to the network. Of the transmission completion flag, which is data indicating whether or not the transmission of each frame forming the frame is completed, the address of the area for storing the transmission completion flag of the last frame is fixed, and the control calculation means is Every time a signal indicating the completion of transmission of one frame is output, the final transmission completion flag that is the transmission completion flag area of the last frame is output. A data communication method, characterized in that the completion of transmission of a group of data is detected by determining the contents of the end flag address.
【請求項3】請求項2に記載のデータ通信方法におい
て、1群のデータを構成するデータブロックの内、最終
送信完了フラグ番地を有する最終の位置に配列されるデ
ータブロックを除く個々のデータブロックに、次に配列
されるデータブロックの先頭番地を格納する次番地領域
を設け、次番地の内容で接続された1群のデータの先頭
のデータブロックの先頭番地を送受信部に渡して、この
1群のデータを送受信部に送信させることを特徴とする
データ通信方法。
3. The data communication method according to claim 2, wherein, among the data blocks forming one group of data, the individual data blocks except the data block arranged at the final position having the final transmission completion flag address. Next, a next address area for storing the first address of the data block to be arranged next is provided, and the first address of the first data block of the group of data connected by the contents of the next address is passed to the transmitting / receiving unit, and this 1 A data communication method, wherein data of a group is transmitted to a transmission / reception unit.
【請求項4】トークンパッシング方式でデータを伝送す
るネットワークに適用された、請求項3に記載のデータ
通信方法において、データ記憶手段中に、送信起動用ポ
インタと、自局の状態とネットワークの状態とを条件と
する最適なフレームフォーマットを規定するフレームア
ドレステーブルとを設け、1群のデータを送信中にネッ
トワークから新たな1群のデータの送信を指示するトー
クンを受信した場合には、このトークンを受信した時点
における新たな1群のデータを送信するために最適なフ
レームフォーマットをフレームアドレステーブルから選
択し、この選択したフレームフォーマットの送信順序に
準ずる新たな1群のデータを作成し、この1群のデータ
の先頭のデータブロックの先頭番地を送信起動用ポイン
タに格納し、送信中であった1群のデータの送信終了後
の最初のトークンの受信によって、送信起動用ポインタ
の内容を送受信部に渡し、送受信部に新たに作成した1
群のデータを送信させることを特徴とするデータ通信方
法。
4. A data communication method according to claim 3, which is applied to a network for transmitting data by a token passing method, wherein a transmission starting pointer, a state of its own station and a state of a network are stored in a data storage means. When a token for instructing the transmission of a new group of data is received from the network while transmitting a group of data, this token is provided when a frame address table that defines the optimum frame format under the condition The optimum frame format for transmitting a new group of data at the time of receiving is selected from the frame address table, and a new group of data is created according to the transmission order of the selected frame format. Store the start address of the start data block of the group data in the send start pointer and send Upon receipt of the first token after transmission completion of a group of data was to pass the contents of the transmission start pointer to the transceiver unit, the newly created transceiver 1
A data communication method comprising transmitting group data.
JP7323413A 1995-12-13 1995-12-13 Data communication method Pending JPH09162948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7323413A JPH09162948A (en) 1995-12-13 1995-12-13 Data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7323413A JPH09162948A (en) 1995-12-13 1995-12-13 Data communication method

Publications (1)

Publication Number Publication Date
JPH09162948A true JPH09162948A (en) 1997-06-20

Family

ID=18154428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7323413A Pending JPH09162948A (en) 1995-12-13 1995-12-13 Data communication method

Country Status (1)

Country Link
JP (1) JPH09162948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044603A (en) * 2008-08-13 2010-02-25 Sony Corp Communication device, communication method, program, and communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044603A (en) * 2008-08-13 2010-02-25 Sony Corp Communication device, communication method, program, and communication system
US8276824B2 (en) 2008-08-13 2012-10-02 Sony Corporation Communication device, communication method, program, and communication system

Similar Documents

Publication Publication Date Title
EP0282711B1 (en) Method of processing data in a decentralized processing system
JPS61212940A (en) Data transmission method for multi-network system
JP2691883B2 (en) PLC communication parameter setting method
JPH04360467A (en) Facsimile equipment
JPH09162948A (en) Data communication method
JP3490719B2 (en) Digital data bus system including arbitration function
JPH08161244A (en) Data transmission method
JPH05191474A (en) Communication protocol processor
JP2616398B2 (en) Command execution device
JP3634911B2 (en) Data converter
JP3050121B2 (en) Package setting control system
JP3421170B2 (en) Network unit
JPH03276943A (en) Communication system
JPS6125183A (en) Graphic information transmission control system
JPH07129417A (en) Inter-process communication system
JPS5952464B2 (en) Data buffer control method
JPH0468729A (en) Text transmission reception processing system
JPH06125344A (en) Multiple address communication system
JPH02270443A (en) Data transmission system
JPS58121442A (en) Remote process input processor
JPH01243194A (en) Decentralized processing system
JPH07129205A (en) Method for communication between programmable controller and monitor device
JPH01304567A (en) Inter-processor communication control system
JPH0567220A (en) Data sampling system from plural personal computers
JPH06149709A (en) Network system