JPH11243406A - Data communication method, communication terminal and terminal controller - Google Patents

Data communication method, communication terminal and terminal controller

Info

Publication number
JPH11243406A
JPH11243406A JP5889398A JP5889398A JPH11243406A JP H11243406 A JPH11243406 A JP H11243406A JP 5889398 A JP5889398 A JP 5889398A JP 5889398 A JP5889398 A JP 5889398A JP H11243406 A JPH11243406 A JP H11243406A
Authority
JP
Japan
Prior art keywords
response
waiting time
communication terminal
batch request
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5889398A
Other languages
Japanese (ja)
Other versions
JP4046204B2 (en
Inventor
Yukito Fujita
幸人 藤田
Hiromoto Tanigawa
博基 谷川
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.)
KYUSHU DENKI SEIZO KK
Kyushu Electric Power Co Inc
Original Assignee
KYUSHU DENKI SEIZO KK
Kyushu Electric Power Co Inc
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 KYUSHU DENKI SEIZO KK, Kyushu Electric Power Co Inc filed Critical KYUSHU DENKI SEIZO KK
Priority to JP05889398A priority Critical patent/JP4046204B2/en
Publication of JPH11243406A publication Critical patent/JPH11243406A/en
Application granted granted Critical
Publication of JP4046204B2 publication Critical patent/JP4046204B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To send a response telegraphic message at a different timing and to avoid the collision of response telegraphic messages with each other on a communication line by detecting the receiving of a batch request telegraphic message, storing an inherent identification number in a self-station, calculating a response waiting time that is the function of the identification number and sending the response telegraphic message after the response waiting time passes, in response to the receiving of the batch request telegraphic message. SOLUTION: A response timing setting part 14 selects a waiting time setting number N and notifies it to a polling part 11 and the part 11 produces a batch request telegraphic message, that stores a selected waiting time setting number '1' in an information part and sends it onto a communication line 3. When a polling detecting part 21 detects the batch request telegraphic message, each communication terminal 2 checks an address notified flag that is set, when the registration of an address on a master station 1 is completed. The number N of the batch request telegraphic message which is included in the information part is extracted and notified to a waiting time operating part 24, and a waiting time coefficient is calculated by function calculation based on the address of a self-station.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、子局としての複数
の通信端末装置が、親局としての端末制御装置による一
括ポーリングに応答してデータを送出するデータ通信方
法ならびに通信端末装置および端末制御装置に係り、特
に、一括ポーリングによってデータ要求を受けた各通信
端末が、それぞれ異なったタイミングで応答データを送
出するデータ通信方法ならびに通信端末装置および端末
制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method in which a plurality of communication terminal devices as slave stations transmit data in response to a batch polling by a terminal control device as a master station, and a communication terminal device and terminal control. More particularly, the present invention relates to a data communication method in which each communication terminal that has received a data request by collective polling transmits response data at different timings, a communication terminal device, and a terminal control device.

【0002】[0002]

【従来の技術】一般に、1つの親局に複数の通信端末
(子局)が半二重通信で接続された1:nのマルチドロ
ップ形態の通信システムでは、親局が一括要求電文を送
出する一括ポーリングによって各通信端末からデータ
(応答電文)を収集する場合、一括要求電文に応答して
各通信端末が一斉に応答電文を送出してしまうと、応答
電文同士が回線上で衝突してしまう。このような問題点
を解決し、一括要求電文に応答して各通信端末から送出
される応答電文を衝突させずに収集する一括ポーリング
方式として、いわゆる『2分法』と呼ばれる方式が提案
されている。
2. Description of the Related Art Generally, in a 1: n multi-drop communication system in which a plurality of communication terminals (child stations) are connected to one master station by half-duplex communication, the master station sends a batch request message. When collecting data (response message) from each communication terminal by batch polling, if each communication terminal sends a response message at once in response to the batch request message, the response messages collide on the line. . A so-called "bisection method" has been proposed as a collective polling method for solving such problems and collecting response messages sent from each communication terminal in response to the collective request message without collision. I have.

【0003】『2分法』では、初めに複数の全ての通信
端末に対して一括ポーリングを行い、各通信端末から送
出された応答電文に衝突が生じると、次は複数の通信端
末を2つのグループに2分し、それぞれのグループに対
して別々に一括ポーリングを行う。ここでも応答電文に
衝突が生じると、次は各グループをさらに2分し、衝突
が発生しなくなるまで2分化を繰り返す。
In the "bisection method", first, collective polling is performed for all of a plurality of communication terminals, and when a collision occurs in a response message transmitted from each communication terminal, the plurality of communication terminals are connected to two communication terminals. Divide into two groups, and perform collective polling separately for each group. Here, if a collision occurs in the response message, each group is further divided into two, and the division is repeated until the collision does not occur.

【0004】[0004]

【発明が解決しようとする課題】上記した従来技術で
は、通信端末数がMの場合、応答電文に衝突が発生しな
くなるまで、最大でlog2 M回の一括ポーリングが必
要となる。このため、通信端末数が増えると多大な時間
を費やすことになるという問題があった。
In the prior art described above, when the number of communication terminals is M, a maximum of log 2 M polling is required until collision does not occur in the response message. For this reason, there has been a problem that a large amount of time is spent when the number of communication terminals increases.

【0005】本発明の目的は、上記した従来技術の問題
点を解決し、一括ポーリングによって同時にデータ要求
を受けた各通信端末が、それぞれ異なったタイミングで
応答電文を送出するようにしたデータ通信方法ならびに
通信端末装置および端末制御装置を提供することにあ
る。
An object of the present invention is to solve the above-mentioned problems of the prior art, and to provide a data communication method in which each communication terminal which has received a data request simultaneously by collective polling transmits response messages at different timings. And a communication terminal device and a terminal control device.

【0006】[0006]

【課題を解決するための手段】上記した目的を達成する
ために、本発明では、以下のような手段を講じた点に特
徴がある。 (1) 本発明の通信端末装置は、一括要求電文の受信を検
知する検知手段と、自局に固有の識別番号を記憶する手
段と、前記識別番号の関数である応答待ち時間を求める
演算手段と、一括要求電文の受信に応答して、前記応答
待ち時間の経過後に応答電文を送出する送出手段とを具
備した。
Means for Solving the Problems In order to achieve the above object, the present invention is characterized in that the following means are taken. (1) A communication terminal device according to the present invention includes: a detecting unit that detects reception of a batch request message; a unit that stores an identification number unique to the own station; and an arithmetic unit that calculates a response waiting time that is a function of the identification number. And sending means for sending a response message after the response waiting time elapses in response to the reception of the batch request message.

【0007】上記した構成によれば、親局から一括要求
電文が送出されると、識別番号に基づいて応答待ち時間
が求められ、応答待ち時間の経過後に応答電文が送出さ
れる。したがって、複数の通信端末装置が一括要求電文
を同時に受信した場合でも、各通信端末装置からは異な
るタイミングで応答電文が送出される。 (2) 本発明の端末制御装置は、待ち時間設定番号を含む
一括要求電文を送出するポーリング手段と、応答電文の
衝突の有無を判定する衝突判定手段と、正規に受信され
た応答電文を登録する手段とを具備し、前記ポーリング
手段は、応答電文に衝突が生じると、異なる待ち時間設
定番号を含む一括要求電文を再送出するようにした。
According to the above configuration, when the master station sends a batch request message, a response waiting time is obtained based on the identification number, and the response message is sent after the response waiting time has elapsed. Therefore, even when a plurality of communication terminal devices simultaneously receive the batch request message, response messages are transmitted from each communication terminal device at different timings. (2) The terminal control device of the present invention includes: a polling unit that transmits a batch request message including a waiting time setting number; a collision determination unit that determines whether there is a collision between response messages; and registers a normally received response message. Means for re-transmitting a batch request message including a different waiting time setting number when a collision occurs in the response message.

【0008】上記した構成によれば、自身が送出した待
ち時間設定番号を含む一括要求電文に対して複数の通信
端末装置から送出された応答電文に衝突が生じると、前
回とは別の待ち時間設定番号を含む一括要求電文が送出
される。したがって、通信端末装置から応答電文が送出
させるタイミングを待ち時間設定番号の関数とすれば、
各通信端末装置から応答電文を異なるタイミングで送出
させることができる。 (3) 本発明のデータ通信方法では、親局は、ある一の関
数計算を指示して一括要求電文を送出する。各通信端末
装置は、それぞれ自局に固有の識別番号に対して、前記
指示された関数計算を実行して応答待ち時間を求め、応
答待ち時間の経過後に応答電文を送出する。親局は、各
通信端末装置から送出された応答電文の衝突を検知する
と、前回までとは異なる他の一の関数計算を指示して一
括要求電文を再送出する。
According to the above configuration, when a collision occurs between response messages sent from a plurality of communication terminal devices with a batch request message including a waiting time setting number sent by itself, another waiting time different from the previous time is used. A batch request message including the setting number is sent. Therefore, if the timing at which a response message is sent from the communication terminal device is a function of the waiting time setting number,
A response message can be transmitted from each communication terminal device at a different timing. (3) In the data communication method of the present invention, the master station instructs a certain function calculation and sends a batch request message. Each communication terminal device calculates the response wait time by executing the above-described function calculation for the identification number unique to the own station, and sends a response message after the response wait time has elapsed. When detecting the collision of the response message transmitted from each communication terminal device, the master station instructs another function calculation different from the previous one and retransmits the batch request message.

【0009】上記した構成によれば、親局から一括要求
電文が送出され、ここで指示された関数計算によって得
られた応答待ち時間が複数の通信端末装置において偶発
的に一致し、これらの応答電文が衝突しても、次の一括
要求電文では、前回とは異なる関数計算が指示されるの
で、今度は各応答電文を異なるタイミングで送出できる
ようになる。
According to the above-described configuration, a batch request message is transmitted from the master station, and the response waiting times obtained by the function calculation indicated here coincide with each other accidentally in a plurality of communication terminal devices. Even if the messages collide, in the next batch request message, a function calculation different from the previous one is instructed, so that each response message can be sent at a different timing.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図1は、本発明を適用したデータ通信シ
ステムの主要部のブロック図である。さらに具体的にい
えば、図1は、本発明を適用した自動検針システムのブ
ロック図であり、親局1には複数の通信端末2が1:n
のマルチドロップ形態で接続され、両者は半二重通信方
式によりデータ通信を行う。各通信端末2には、電子式
電力メータあるいは電子式ガスメータ等の電子メータ4
が接続されており、各電子メータ4による検針値は各通
信端末2を経由して親局へ伝送される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a main part of a data communication system to which the present invention is applied. More specifically, FIG. 1 is a block diagram of an automatic meter reading system to which the present invention is applied.
Are connected in a multi-drop mode, and both perform data communication by a half-duplex communication method. Each communication terminal 2 has an electronic meter 4 such as an electronic power meter or an electronic gas meter.
Are connected, and the meter readings from each electronic meter 4 are transmitted to the master station via each communication terminal 2.

【0011】このような構成の自動検針システムでは、
電子メータ4を新規に設置した場合、親局1が各電子メ
ータ4を識別するための情報、すなわち各通信端末2の
アドレスを、検針に先立って親局1へ予め通知しておく
必要がある。このため、親局1では新規に設置した全て
の電子メータ4の通信端末2を対象に、予め一括ポーリ
ングを行ってアドレスを送出させ、これを収集して管理
する。以下では、上記したように各通信端末2のアドレ
スを親局1が一括ポーリングによって収集する場合を例
にして本発明を説明する。
In the automatic meter reading system having such a configuration,
When the electronic meter 4 is newly installed, it is necessary for the master station 1 to notify the master station 1 of information for identifying each electronic meter 4, that is, the address of each communication terminal 2 before the meter reading. . For this reason, the master station 1 collectively polls the communication terminals 2 of all the newly installed electronic meters 4 in advance and sends the addresses, collects and manages the addresses. Hereinafter, the present invention will be described by taking as an example a case where the master station 1 collects the addresses of the respective communication terminals 2 by collective polling as described above.

【0012】親局1において、通信インターフェース
(I/F)10は、自局と通信回線3との接続を制御す
る。ポーリング部11は、アドレスの返送を一括して要
求するための電文(以下、一括要求電文と表現する)
や、検針値等のメンテナンスデータの返送を個別に要求
するための電文(以下、メンテナンス要求電文と表現す
る)等を通信I/F10を介して通信回線3上に送出す
る。
In the master station 1, a communication interface (I / F) 10 controls connection between the own station and the communication line 3. The polling unit 11 sends a message for collectively requesting the return of addresses (hereinafter, referred to as a batch request message).
And a message for individually requesting return of maintenance data such as a meter reading value (hereinafter, referred to as a maintenance request message) is transmitted to the communication line 3 via the communication I / F 10.

【0013】衝突判定部12は、一括要求電文に応答し
て各通信端末2から送出された応答電文の衝突の有無を
判定する。アドレス登録部13には、他の応答電文と衝
突せずに受信された応答電文内に含まれるアドレスが登
録される。応答タイミング設定部14は、前記一括要求
電文に、後に詳述する待ち時間設定番号Nを挿入する。
メンテナンスデータ収集部15は、メンテナンス要求電
文に応答して各電子メータ4から送出されるメンテナン
スデータを収集する。
The collision judging unit 12 judges whether or not there is a collision between the response messages sent from the respective communication terminals 2 in response to the batch request message. The address registration unit 13 registers an address included in a response message received without colliding with another response message. The response timing setting unit 14 inserts a waiting time setting number N described later in detail into the batch request message.
The maintenance data collection unit 15 collects maintenance data transmitted from each electronic meter 4 in response to the maintenance request message.

【0014】一方、通信端末2において、通信I/F2
0は、自局と通信回線3との接続を制御する。ポーリン
グ検知部21は、親局1から送出された一括要求電文や
メンテナンス要求電文を検知する。アドレス記憶部22
には、自局に固有の識別番号であるアドレスが予め記憶
されている。待ち時間演算部24は、前記ポーリング検
知部21によって一括要求電文が検知されると、後に詳
述するように、電文中の待ち時間設定番号Nと前記アド
レス記憶部22に記憶されたアドレスとに基づいて待ち
時間ΔTnを演算する。
On the other hand, in the communication terminal 2, the communication I / F 2
0 controls the connection between the own station and the communication line 3. The polling detection unit 21 detects a batch request message and a maintenance request message sent from the master station 1. Address storage unit 22
Stores an address which is an identification number unique to the own station. When the batch request message is detected by the polling detection unit 21, the waiting time calculation unit 24 stores the waiting time setting number N in the message and the address stored in the address storage unit 22, as described later in detail. The waiting time ΔTn is calculated based on the waiting time ΔTn.

【0015】応答電文送出部23は、一括要求電文が検
知されると、前記アドレス記憶部22に記憶されたアド
レスを含む応答電文を、前記待ち時間ΔTnの経過後に
通信回線3上へ送出する。データ送出部25は、メンテ
ナンス要求電文に応答してメンテナンスデータを送出す
る。I/F26は、自局と電子メータ4との接続を制御
する。
When the batch request message is detected, the response message sending unit 23 sends a response message including the address stored in the address storage unit 22 onto the communication line 3 after the elapse of the waiting time ΔTn. The data transmission unit 25 transmits maintenance data in response to the maintenance request message. The I / F 26 controls connection between the own station and the electronic meter 4.

【0016】図2は、前記通信端末2の待ち時間演算部
24の動作内容を説明するための図である。待ち時間演
算部24には、親局1から送出された待ち時間設定番号
Nに基づいて待ち時間ΔTnを演算するために、複数の
待ち時間設定番号N(本実施形態では、“1”〜
“6”)ごとに、自局のアドレスに対して実行する関数
計算の内容が登録されている。
FIG. 2 is a diagram for explaining the operation of the waiting time calculator 24 of the communication terminal 2. In order to calculate the waiting time ΔTn based on the waiting time setting number N sent from the master station 1, the waiting time calculating unit 24 includes a plurality of waiting time setting numbers N (“1” to “1” in the present embodiment).
For each “6”), the contents of the function calculation to be executed for the address of the own station are registered.

【0017】本実施形態では、待ち時間設定番号“1”
に対しては、アドレスの下1桁と下2桁とを加算する関
数が登録されている。同様に、待ち時間設定番号“2”
に対しては、下1桁と下3桁とを加算する関数、待ち時
間設定番号“3”に対しては、下1桁と下4桁とを加算
する関数、待ち時間設定番号“4”に対しては、下2桁
と下3桁とを加算する関数、待ち時間設定番号“5”に
対しては、下2桁と下4桁とを加算する関数、待ち時間
設定番号“6”に対しては、下3桁と下4桁とを加算す
る関数が、それぞれ登録されている。
In this embodiment, the waiting time setting number "1"
For, a function for adding the lower one digit and the lower two digits of the address is registered. Similarly, the waiting time setting number “2”
For, the function of adding the lower one digit and the lower three digits, for the waiting time setting number “3”, the function of adding the lower one digit and the lower four digits, and the waiting time setting number “4” For, the function of adding the lower two digits and the lower three digits, for the waiting time setting number “5”, the function of adding the lower two digits and the lower four digits, and for the waiting time setting number “6” For, a function for adding the last three digits and the last four digits is registered.

【0018】例えば、自局のアドレスが“9082”の
場合、図2に示したように、待ち時間設定番号として
“1”が入力されると、下1桁の“2”と下2桁の
“8”とが加算され、待ち時間係数kとして“10”が
求められる。同様に、待ち時間設定番号“2”が入力さ
れると、下1桁の“2”と下3桁の“0”とが加算され
て待ち時間係数“2”が求められる。
For example, when the address of the own station is "9082", as shown in FIG. 2, when "1" is inputted as the waiting time setting number, the lower one digit "2" and the lower two digits are inputted. “8” is added to obtain “10” as the waiting time coefficient k. Similarly, when the waiting time setting number “2” is input, the last one digit “2” and the last three digits “0” are added to obtain the waiting time coefficient “2”.

【0019】このようにして待ち時間係数kが求められ
ると、待ち時間演算部24はさらに、当該待ち時間係数
kと単位時間T0 との積を今回の待ち時間ΔTnとす
る。この単位時間T0 は、応答電文の送出に要する時間
に所定の安全率(マージン)を加算した値であり、本実
施形態では300msに設定されている。このため、図
2に示したように、待ち時間係数kが“10”であれ
ば、待ち時間ΔTnは3000msとなり、待ち時間係
数kが“2”であれば、待ち時間ΔTnは600msと
なる。
When the waiting time coefficient k is obtained in this way, the waiting time calculating unit 24 further sets the product of the waiting time coefficient k and the unit time T0 as the current waiting time ΔTn. The unit time T0 is a value obtained by adding a predetermined safety factor (margin) to the time required for sending a response message, and is set to 300 ms in the present embodiment. Therefore, as shown in FIG. 2, if the waiting time coefficient k is “10”, the waiting time ΔTn becomes 3000 ms, and if the waiting time coefficient k is “2”, the waiting time ΔTn becomes 600 ms.

【0020】図3(a) は、親局1から各通信端末2へ送
出される前記一括要求電文のデータフォーマットを示し
た図であり、同図(b) は、各通信端末2から親局1へ送
出させる前記応答電文のフォーマットを示した図であ
る。
FIG. 3A is a diagram showing a data format of the batch request message transmitted from the master station 1 to each communication terminal 2, and FIG. FIG. 3 is a diagram showing a format of the response message to be transmitted to No. 1;

【0021】一括要求電文は、データ長“1”のスター
トテキスト(STX)と、データ長“13”の共通部
と、データ長“1”の情報部と、データ長“1”のエン
ドテキスト(ETX)と、データ長“2”のブロックチ
ェックシーケンス(BCC)とにより構成されている。
応答電文のフォーマットも、同図(b) に示したように、
前記待ち時間設定番号Nを格納するための情報部を含ま
ない点を除いて同様の構成である。
The batch request message includes a start text (STX) having a data length of “1”, a common portion having a data length of “13”, an information portion having a data length of “1”, and an end text having a data length of “1” ( ETX) and a block check sequence (BCC) having a data length of “2”.
The format of the response message is also as shown in Fig.
The configuration is the same except that the information section for storing the waiting time setting number N is not included.

【0022】前記共通部は、データ長“3”のデータ長
領域と、データ長“1”の情報種別領域と、データ長
“6”のアドレス領域と、データ長“1”のポートNo.
領域と、データ長“2”の種別コード領域とにより構成
されている。
The common part includes a data length area having a data length of "3", an information type area having a data length of "1", an address area having a data length of "6", and a port No. having a data length of "1".
An area and a type code area having a data length of “2”.

【0023】以下、本実施形態の動作を、フローチャー
トおよびプロトコルシーケンスを参照して説明する。図
5は、親局1の動作を示したフローチャートであり、図
6は、通信端末2の動作を示した図である。図7、8
は、親局1と通信端末2との間での通信例を示した図で
ある。本実施形態では、1つの親局1に5つの通信端末
2(2a,2b,2c,2d,2e)が接続されている
ものとして説明する。
Hereinafter, the operation of the present embodiment will be described with reference to flowcharts and protocol sequences. FIG. 5 is a flowchart showing the operation of the master station 1, and FIG. 6 is a diagram showing the operation of the communication terminal 2. 7 and 8
3 is a diagram showing an example of communication between a master station 1 and a communication terminal 2. FIG. In the present embodiment, a description will be given assuming that five communication terminals 2 (2a, 2b, 2c, 2d, 2e) are connected to one master station 1.

【0024】親局1では、ステップS100においてT
1タイマ(図示せず)がスタートする。このT1タイマ
は、親局1が各通信端末2に対して一括要求電文の送出
を繰り返す周期であり、本実施形態では、予め5分に設
定されている。ステップS101では、応答タイミング
設定部14が、今回の待ち時間設定番号Nを選択してポ
ーリング部11へ通知する。ここでは、待ち時間設定番
号Nとして最初に“1”が選択されたものとして説明す
る。ステップS102では、ポーリング部11が、選択
された待ち時間設定番号“1”を前記情報部に格納した
一括要求電文を作成して通信回線3上へ送出する。
In the master station 1, at step S100, T
One timer (not shown) starts. The T1 timer is a cycle in which the master station 1 repeats sending a batch request message to each communication terminal 2, and is set to 5 minutes in this embodiment. In step S101, the response timing setting unit 14 selects the current waiting time setting number N and notifies the polling unit 11. Here, a description will be given assuming that "1" is initially selected as the waiting time setting number N. In step S102, the polling unit 11 creates a batch request message in which the selected waiting time setting number “1” is stored in the information unit, and sends the message to the communication line 3.

【0025】このとき、各通信端末2では、ステップS
200においてポーリング検知部21が一括要求電文を
検知すると、ステップS201では、親局1へのアドレ
スの登録が完了したときにセットされるアドレス通知済
フラグがチェックされる。ここでは未だセットされてい
ないのでステップS202へ進む。ステップS202で
はT2タイマ27がスタートする。
At this time, in each communication terminal 2, step S
When the polling detection unit 21 detects the batch request message in 200, in step S201, the address notification completion flag set when the registration of the address to the master station 1 is completed is checked. Here, since it has not been set yet, the process proceeds to step S202. In step S202, the T2 timer 27 starts.

【0026】このT2タイマ27は、一括要求電文が検
出されてからの経過時間を計測するタイマである。ステ
ップS203では、一括要求電文の情報部に含まれる待
ち時間設定番号Nが抽出されて待ち時間演算部24へ通
知される。ステップS204では、待ち時間設定番号N
とアドレス記憶部22に記憶されている自局のアドレス
とに基づいて、前記図2に関して説明した関数計算によ
り待ち時間係数kが演算される。
The T2 timer 27 is a timer for measuring an elapsed time from the detection of the batch request message. In step S203, the waiting time setting number N included in the information part of the batch request message is extracted and notified to the waiting time calculation unit 24. In step S204, the waiting time setting number N
The waiting time coefficient k is calculated by the function calculation described with reference to FIG. 2 based on the address of the own station stored in the address storage unit 22.

【0027】図4は、本実施形態における各通信端末2
a〜2eのアドレスと、待ち時間設定番号Nごとに求め
られる待ち時間係数kの関係を示した図である。本実施
形態では、前記したように、最初は待ち時間設定番号N
として“1”が抽出されるので、アドレス“2002”
の通信端末2aでは待ち時間係数として“2”が求めら
れる。同様に、アドレス“2322”の通信端末2bで
は、待ち時間係数“4”が求められ、アドレス“363
1”の通信端末2cでは、待ち時間係数“4”が求めら
れ、アドレス“5678”の通信端末2dでは、待ち時
間係数“15”が求められ、アドレス“7830”の通
信端末2eでは、待ち時間係数“3”が求められる。
FIG. 4 shows each communication terminal 2 in this embodiment.
FIG. 6 is a diagram showing a relationship between addresses a to 2e and a waiting time coefficient k obtained for each waiting time setting number N. In the present embodiment, as described above, initially, the waiting time setting number N
Is extracted, the address “2002” is extracted.
In the communication terminal 2a, "2" is obtained as the waiting time coefficient. Similarly, in the communication terminal 2b having the address “2322”, the waiting time coefficient “4” is obtained, and the address “363” is obtained.
In the communication terminal 2c of "1", the waiting time coefficient "4" is obtained. In the communication terminal 2d of the address "5678", the waiting time coefficient "15" is obtained. In the communication terminal 2e of the address "7830", the waiting time coefficient is obtained. The coefficient "3" is obtained.

【0028】ステップS205では、待ち時間係数kと
単位時間(本実施形態では、300ms)との積が待ち
時間ΔTnとして求められる。ステップS206では、
自局に関して求められた前記待ち時間ΔTnとT2タイ
マ27の計時時間とが一致したか否かが判定される。な
お、通信回線としてメタル回線を利用した場合、その特
性上、電文を受信してから送出するまでに所定の待機時
間(本実施形態では、180ms)が必要となる。この
ため、本実施形態ではT2タイマ27の計時時間から1
80msを減じた計時時間と待ち時間ΔTnとを比較す
るようにしており、以下でも、T2タイマ27の計時時
間は、一括要求電文を検知してから180ms経過後が
計時開始タイミングとなっているものとする。
In step S205, the product of the waiting time coefficient k and the unit time (300 ms in this embodiment) is obtained as the waiting time ΔTn. In step S206,
It is determined whether or not the waiting time ΔTn obtained for the own station matches the time counted by the T2 timer 27. When a metal line is used as a communication line, a predetermined standby time (180 ms in the present embodiment) is required from reception of a message to transmission of the message due to its characteristics. For this reason, in the present embodiment, the time counted by the T2 timer 27 is 1
The timing time obtained by subtracting 80 ms is compared with the waiting time ΔTn. In the following description, the timing time of the T2 timer 27 is a timing start timing that is 180 ms after the batch request message is detected. And

【0029】なお、このようなタイミング補正は、例え
ばT2タイマ27の初期値を、予め−180msとした
り、あるいは待ち時間ΔTnに180msを加算した値
とT2タイマ27の計時時間とを比較することによって
達成することができる。
Such timing correction can be made by, for example, setting the initial value of the T2 timer 27 to -180 ms in advance, or comparing the value obtained by adding 180 ms to the waiting time ΔTn with the time measured by the T2 timer 27. Can be achieved.

【0030】ステップS206において、待ち時間ΔT
nとT2タイマ27の計時時間とが一致していると判定
されると、応答電文返送部23は、アドレス記憶部22
に記憶されたアドレスを共通部のアドレス領域に格納し
た応答電文を、ステップS207において通信回線3上
へ送出する。
In step S206, the waiting time ΔT
If it is determined that the n and the time counted by the T2 timer 27 match, the response message returning unit 23
Is sent to the communication line 3 in step S207.

【0031】すなわち、図7に例示したように、T2タ
イマが前記基準タイミングから600msを計時する
と、通信端末2aからアドレス“2002”を含む応答
電文が送出され、T2タイマが900msを計時する
と、通信端末2eからアドレス“7830”を含む応答
電文が送出され、T2タイマが1200msを計時する
と、通信端末2b,2cからアドレス“2322”,
“3631”をそれぞれ含む応答電文が送出され、T2
タイマが4500msを計時すると、通信端末2dから
アドレス“5678”を含む応答電文が送出される。
That is, as shown in FIG. 7, when the T2 timer measures 600 ms from the reference timing, a response message including the address "2002" is transmitted from the communication terminal 2a, and when the T2 timer measures 900 ms, communication starts. When a response message including the address “7830” is transmitted from the terminal 2e and the T2 timer measures 1200 ms, the communication terminals 2b and 2c transmit the address “2322”,
Response messages each containing “3631” are sent out, and T2
When the timer counts 4500 ms, a response message including the address “5678” is transmitted from the communication terminal 2d.

【0032】このとき親局1では、ステップS103に
おいて、最初にアドレス“2002”を含む応答電文が
受信され、ステップS104では、当該応答電文が正常
に受信されているか否かが衝突判定部12によって判定
される。本実施形態では、図7に例示したように、アド
レス“2202”を含む応答電文は他の応答電文と衝突
することなく正常受信されるので、ステップS105で
は、アドレス“2202”がアドレス登録部13に登録
される。ステップS106ではT1タイマが参照され、
タイムアウトしていなければ、ステップS103へ戻っ
て次の応答電文を待つ。本実施形態では、図7に例示し
たように、次いでアドレス“7830”を含む応答電文
が、他の応答電文と衝突することなく正常受信されるの
で、ステップS105では、アドレス“7830”がア
ドレス登録部13に登録される。
At this time, the master station 1 first receives a response message including the address “2002” in step S103, and in step S104, the collision determination unit 12 determines whether the response message has been normally received. Is determined. In the present embodiment, as illustrated in FIG. 7, the response message including the address “2202” is normally received without colliding with another response message, and therefore, in step S105, the address “2202” is stored in the address registration unit 13. Registered in. In step S106, the T1 timer is referred to,
If the timeout has not occurred, the process returns to step S103 and waits for the next response message. In the present embodiment, as illustrated in FIG. 7, the response message including the address “7830” is normally received without colliding with another response message. Therefore, in step S105, the address “7830” is registered in the address registration. Registered in the unit 13.

【0033】再びステップS103へ戻ると、図7に例
示したように、今度はアドレス“2322”を含む応答
電文と“3431”を含む応答電文とが検出される。し
かしながら、各応答電文は衝突しているので、各応答電
文に含まれるアドレスはアドレス登録部13に登録され
ること無く、当該処理はステップS106を経てステッ
プS103へ戻る。ステップS103では、図7に例示
したように、今度はアドレス“5678”を含む応答電
文が受信され、これも他の応答電文と衝突することなく
正常受信されるので、ステップS105では、アドレス
“5678”がアドレス登録部13に登録される。
Returning to step S103, as shown in FIG. 7, a response message including the address "2322" and a response message including "3431" are detected. However, since the response messages collide, the address included in each response message is not registered in the address registration unit 13, and the process returns to step S103 via step S106. In step S103, as illustrated in FIG. 7, a response message including the address “5678” is received this time, and this is also normally received without colliding with another response message. Therefore, in step S105, the address “5678” is received. Is registered in the address registration unit 13.

【0034】このように、本実施形態では待ち時間ΔT
nを単位時間T0 (300ms)の整数倍にしたので、
待ち時間係数kが異なれば、各通信端末2から送出され
る応答電文の衝突を回避できる。
As described above, in this embodiment, the waiting time ΔT
Since n is an integral multiple of the unit time T0 (300 ms),
If the waiting time coefficient k is different, collision of response messages sent from each communication terminal 2 can be avoided.

【0035】その後、ステップS106においてT1タ
イマのタイムアウトが検知されると、ステップS107
では、応答電文がアドレス登録部13に新規登録された
か否かが判定され、ここでは3つのアドレスが新規登録
されたのでステップS108へ進む。ステップS108
では、アドレスが新規登録された通信端末に対してメン
テナンス要求電文が送出される。
Thereafter, when a timeout of the T1 timer is detected in step S106, step S107 is performed.
Then, it is determined whether or not the response message has been newly registered in the address registration unit 13. Here, since three addresses have been newly registered, the process proceeds to step S108. Step S108
In, a maintenance request message is sent to a communication terminal whose address is newly registered.

【0036】ここでは、3つの通信端末2a,2d,2
eのアドレス“2202”,“7830”,“587
8”が新規登録されており、最初のステップS108で
は、親局1のポーリング部11から、アドレス“220
2”を含むメンテナンス要求電文が送出される。
Here, three communication terminals 2a, 2d, 2
e of addresses “2202”, “7830”, “587”
8 ”is newly registered. In the first step S108, the address“ 220 ”is sent from the polling unit 11 of the master station 1.
A maintenance request message including "2" is transmitted.

【0037】このとき通信端末2aでは、図6のステッ
プS210において自局宛のメンテナンス要求電文を検
知すると、ステップS211では、電子メータ4からI
/F26を介して検針値を受け取り、これをメンテナン
スデータとしてデータ送出部25から送出する。
At this time, when the communication terminal 2a detects a maintenance request message addressed to itself at step S210 in FIG.
The meter reading value is received via / F26, and is sent from the data sending unit 25 as maintenance data.

【0038】親局1では、ステップS109において通
信端末2aから送出されたメンテナンスデータを受け取
ると、これをメンテナンスデータ収集部15へ格納す
る。ステップS110では、図7に例示したように、登
録確認終了メッセージを子機2aに対して送出する。こ
のとき、通信端末2aはステップS212において自局
宛の登録確認終了メッセージを検知すると、ステップS
213において、前記アドレス通知済フラグをセットす
る。
When receiving the maintenance data sent from the communication terminal 2a in step S109, the master station 1 stores it in the maintenance data collection unit 15. In step S110, as shown in FIG. 7, a registration confirmation end message is sent to the slave unit 2a. At this time, when the communication terminal 2a detects the registration confirmation end message addressed to its own station in step S212,
At 213, the address notification flag is set.

【0039】親局1では、登録確認終了メッセージを送
出すると、ステップS111において、新規登録された
通信端末に対するメンテナンス要求が全て終了したか否
かが判定される。本実施形態では、通信端末2d(アド
レス“7830”)および2e(アドレス“587
8”)に関するメンテナンス要求が終了していないので
ステップS108〜S111の処理が繰り返され、図
7、8に例示したように、通信端末2d、2eのメンテ
ナンスデータもメンテナンスデータ収集部15へ格納さ
れる。
When the master station 1 sends a registration confirmation end message, it is determined in step S111 whether or not all maintenance requests for newly registered communication terminals have been completed. In the present embodiment, the communication terminals 2d (address “7830”) and 2e (address “587”)
Since the maintenance request regarding 8 ″) has not been completed, the processing of steps S108 to S111 is repeated, and the maintenance data of the communication terminals 2d and 2e are also stored in the maintenance data collection unit 15, as illustrated in FIGS. .

【0040】その後、親局1では、ステップS112に
おいてT1タイマがタイムアウトすると、当該処理はス
テップS100へ戻り、T1タイマを再スタートした
後、ステップS101では、応答タイミング設定部14
が、今度は待ち時間設定番号Nとして“2”を選択して
ポーリング部11へ通知する。ポーリング部11は、ス
テップS102において、前記と同様に、待ち時間設定
番号“2”を情報部に格納した一括要求電文を作成して
通信回線3上へ送出する。
Thereafter, in the master station 1, when the T1 timer times out in step S112, the process returns to step S100, and after restarting the T1 timer, in step S101, the response timing setting unit 14
However, this time, “2” is selected as the waiting time setting number N and the polling unit 11 is notified. In step S102, the polling unit 11 creates a batch request message in which the waiting time setting number "2" is stored in the information unit and sends the message to the communication line 3 in the same manner as described above.

【0041】このとき、図4に示したように、アドレス
“2322”の通信端末2bでは、待ち時間係数“5”
が求められ、アドレス“3631”の通信端末2cで
は、待ち時間係数“7”が求められる。このため、図7
に例示したように、T2タイマ27が前記基準タイミン
グから1500msを計時すると、通信端末2bからア
ドレス“2322”を含む応答電文が送出され、T2タ
イマ27が2100msを計時すると、通信端末2cか
らアドレス“3631”を含む応答電文が送出されるの
で、それぞれの応答電文は、今度は衝突することなく、
親局1において正常受信される。
At this time, as shown in FIG. 4, in the communication terminal 2b of the address "2322", the waiting time coefficient "5"
Is calculated, and the communication terminal 2c at the address “3631” obtains the waiting time coefficient “7”. Therefore, FIG.
When the T2 timer 27 measures 1500 ms from the reference timing, a communication message including the address “2322” is transmitted from the communication terminal 2b, and when the T2 timer 27 measures 2100 ms, the communication terminal 2c measures the address “ 3631 "is sent out, so that each response message does not collide,
The signal is normally received by the master station 1.

【0042】その後、親局1の処理が再びステップS1
01へ進むと、今度は待ち時間設定番号Nとして“3”
が選択され、ポーリング部11は、ステップS102に
おいて、待ち時間設定番号“3”を情報部に格納した一
括要求電文を作成して通信回線3上へ送出する。しかし
ながら、本実施形態では全ての通信端末装置2a〜2e
からのアドレス収集が既に完了しており、各通信端末装
置2のアドレス通知済フラグは全てセットされている。
したがって、ステップS106においてT1タイマがタ
イムアウトした後でもアドレスは新規登録されておら
ず、当該処理はステップS107を経て終了する。
Thereafter, the processing of the master station 1 is repeated at step S1.
01, the waiting time setting number N is set to "3"
Is selected, and the polling unit 11 creates a batch request message in which the waiting time setting number “3” is stored in the information unit and sends it out to the communication line 3 in step S102. However, in the present embodiment, all the communication terminal devices 2a to 2e
Has already been completed, and all the address notification flags of the communication terminals 2 have been set.
Therefore, no new address is registered even after the T1 timer times out in step S106, and the process ends after step S107.

【0043】本実施形態によれば、親局1から送出され
た一括要求電文を受信した各通信端末2は、自局に固有
のアドレスに基づいて応答待ち時間ΔTnを求め、予定
のタイミングから応答待ち時間ΔTnの経過後に応答電
文を送出するので、各通信端末2からは異なるタイミン
グで応答電文が送出されることになり、各応答電文の通
信回線3上での衝突を実質的に回避できるようになる。
According to the present embodiment, each communication terminal 2 that has received the batch request message transmitted from the master station 1 obtains a response waiting time ΔTn based on an address unique to its own station, and responds from a scheduled timing. Since the response message is sent after the elapse of the waiting time ΔTn, the response message is sent from each communication terminal 2 at a different timing, so that collision of each response message on the communication line 3 can be substantially avoided. become.

【0044】なお、上記した実施形態では、各通信端末
2は、一括要求電文を受信してから180msの待機時
間経過後を待ち時間ΔTnの計時開始タイミングとする
ものとして説明したが、本発明はこれのみに限定され
ず、一括要求電文を受信してから応答電文を送出するま
でに待機時間を設定する必要のない通信回線を利用する
のであれば、一括要求電文の受信検知タイミングを計時
開始タイミングとしても良い。
In the above-described embodiment, each communication terminal 2 has been described as setting the timing after the elapse of the standby time of 180 ms from the reception of the batch request message as the timing to start the measurement of the standby time ΔTn. However, if the communication line does not need to set a waiting time between receiving the batch request message and sending the response message, the reception detection timing of the batch request message should be set to the timing start timing. It is good.

【0045】[0045]

【発明の効果】本発明によれば、以下のような効果が達
成される。 (1) 本発明の通信端末装置によれば、親局から一括要求
電文が送出されると、自局に固有の識別番号に基づいて
応答待ち時間が求められ、この応答待ち時間の経過後に
応答電文が送出される。したがって、複数の通信端末装
置が一括要求電文を同時に受信した場合でも、各通信端
末装置からは異なるタイミングで応答電文が送出され、
通信回線上での応答電文同士の衝突を実質的に回避でき
るようになる。 (2) 本発明の端末制御装置によれば、待ち時間設定番号
を含む一括要求電文に対して複数の通信端末装置から送
出された応答電文に衝突が生じると、前回とは別の待ち
時間設定番号を含む一括要求電文が送出される。したが
って、通信端末装置から応答電文が送出させるタイミン
グを待ち時間設定番号の関数とすれば、各通信端末装置
から応答電文を異なるタイミングで送出させることがで
き、通信回線上での応答電文の衝突を実質的に回避でき
るようになる。 (3) 本発明のデータ通信方法によれば、親局は、ある一
の関数計算を指示して一括要求電文を送出し、各通信端
末装置から送出された応答電文の衝突を検知すると、前
回までとは異なる他の一の関数計算を指示して一括要求
電文を再送出する。したがって、親局によって最初に指
示された関数計算によって得られた応答待ち時間が複数
の通信端末装置において偶発的に一致し、これらの応答
電文が衝突しても、次の一括要求電文では、前回とは異
なる関数計算が指示されるので、今度は各応答電文を異
なるタイミングで送出できるようになる。
According to the present invention, the following effects are achieved. (1) According to the communication terminal device of the present invention, when a batch request message is sent from the master station, a response waiting time is obtained based on an identification number unique to the own station, and after the response waiting time elapses, A message is sent. Therefore, even when a plurality of communication terminal devices simultaneously receive the batch request message, response messages are transmitted from each communication terminal device at different timings,
Collision between response messages on the communication line can be substantially avoided. (2) According to the terminal control device of the present invention, if a collision occurs in response messages sent from a plurality of communication terminal devices for a batch request message including a waiting time setting number, a different waiting time setting from the previous time is set. A batch request message including the number is sent. Therefore, if the timing at which a response message is sent from the communication terminal is set as a function of the waiting time setting number, the response message can be sent at a different timing from each communication terminal, and collision of the response message on the communication line can be prevented. It can be substantially avoided. (3) According to the data communication method of the present invention, the master station sends a batch request message by instructing a certain function calculation, and when detecting a collision of response messages sent from each communication terminal device, A different function calculation different from the above is instructed and the batch request message is retransmitted. Therefore, even if the response waiting times obtained by the function calculation first instructed by the master station coincidentally coincide with each other in a plurality of communication terminal devices, and these response messages collide, the next batch request message will not Since a different function calculation is instructed, each response message can be transmitted at a different timing.

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

【図1】本発明を適用したデータ通信システムの主要部
のブロック図である。
FIG. 1 is a block diagram of a main part of a data communication system to which the present invention is applied.

【図2】通信端末2の待ち時間演算部24の動作を説明
するための図である。
FIG. 2 is a diagram for explaining an operation of a waiting time calculation unit 24 of the communication terminal 2;

【図3】一括要求電文および応答電文のフォーマットを
示した図である。
FIG. 3 is a diagram showing a format of a batch request message and a response message.

【図4】各通信端末2a〜2eのアドレスと、待ち時間
設定番号Nごとに求められる待ち時間係数kの関係を示
した図である。
FIG. 4 is a diagram showing a relationship between addresses of communication terminals 2a to 2e and a waiting time coefficient k obtained for each waiting time setting number N.

【図5】親局1の動作を示したフローチャートである。FIG. 5 is a flowchart showing an operation of the master station 1;

【図6】通信端末2の動作を示した図である。FIG. 6 is a diagram illustrating an operation of the communication terminal 2.

【図7】親局1と通信端末2との間での通信例を示した
図(その1)である。
FIG. 7 is a diagram (part 1) illustrating an example of communication between a master station 1 and a communication terminal 2;

【図8】親局1と通信端末2との間での通信例を示した
図(その2)である。
FIG. 8 is a diagram (part 2) illustrating a communication example between the master station 1 and the communication terminal 2.

【符号の説明】 1…親局、2…通信端末、3…通信回線、4…電子メー
タ、10,20…通信I/F、11…ポーリング部、1
2…衝突判定部、14…応答タイミング設定部、21…
ポーリング検知部、24…待ち時間演算部
[Description of Signs] 1 ... Master station, 2 ... Communication terminal, 3 ... Communication line, 4 ... Electronic meter, 10, 20 ... Communication I / F, 11 ... Polling unit, 1
2 ... collision determination unit, 14 ... response timing setting unit, 21 ...
Polling detection unit, 24 ... wait time calculation unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 ポーリングによるデータ要求を検知して
応答電文を送出する通信端末装置において、 一括要求電文の受信を検知する検知手段と、 自局に固有の識別番号を記憶する手段と、 前記識別番号の関数である応答待ち時間を求める演算手
段と、 一括要求電文の受信に応答して、応答待ち時間の経過後
に応答電文を送出する送出手段とを具備したことを特徴
とする通信端末装置。
1. A communication terminal device for detecting a data request by polling and transmitting a response message, detecting means for detecting reception of a batch request message, means for storing an identification number unique to the own station, A communication terminal device, comprising: a calculating means for calculating a response waiting time as a function of a number; and a transmitting means for transmitting a response message after the response waiting time elapses in response to reception of a batch request message.
【請求項2】 前記演算手段は、通信回線を介して通知
される待ち時間設定番号に基づいて関数の内容を決定す
ることを特徴とする請求項1に記載の通信端末装置。
2. The communication terminal device according to claim 1, wherein the calculating means determines the contents of the function based on a waiting time setting number notified via a communication line.
【請求項3】 前記送出手段は、一括要求電文の受信検
知タイミングから応答待ち時間の経過後に応答電文を送
出することを特徴とする請求項1または2に記載の通信
端末装置。
3. The communication terminal device according to claim 1, wherein the transmitting unit transmits the response message after a response waiting time has elapsed from the reception detection timing of the batch request message.
【請求項4】 前記送出手段は、一括要求電文の受信検
知タイミングから予定時間および前記応答待ち時間の経
過後に応答電文を送出することを特徴とする請求項1ま
たは2に記載の通信端末装置。
4. The communication terminal device according to claim 1, wherein the transmitting unit transmits the response message after a lapse of a scheduled time and the response waiting time from the reception detection timing of the batch request message.
【請求項5】 前記演算手段は、前記識別番号に応じた
乗算係数と予定の単位時間との積を応答待ち時間とする
ことを特徴とする請求項1ないし4のいずれかに記載の
通信端末装置。
5. The communication terminal according to claim 1, wherein said calculating means sets a product of a multiplication coefficient corresponding to said identification number and a predetermined unit time as a response waiting time. apparatus.
【請求項6】 前記演算手段は、前記識別番号に応じた
乗算係数と予定の単位時間との積に予定時間を加算した
値を応答待ち時間とすることを特徴とする請求項3に記
載の通信端末装置。
6. The response waiting time according to claim 3, wherein the calculation means sets a value obtained by adding a scheduled time to a product of a multiplication coefficient corresponding to the identification number and a scheduled unit time. Communication terminal device.
【請求項7】 前記単位時間は、応答電文の送信に要す
る時間よりも長いことを特徴とする請求項5または6に
記載の通信端末装置。
7. The communication terminal device according to claim 5, wherein the unit time is longer than a time required for transmitting a response message.
【請求項8】 前記乗算係数は、識別番号の複数の桁の
数値の和であることを特徴とする請求項5ないし7のい
ずれかに記載の通信端末装置。
8. The communication terminal device according to claim 5, wherein the multiplication coefficient is a sum of numerical values of a plurality of digits of an identification number.
【請求項9】 前記加算する桁の組み合わせは、通信回
線を介して通知される待ち時間設定番号に基づいて決定
されることを特徴とする請求項8に記載の通信端末装
置。
9. The communication terminal device according to claim 8, wherein the combination of digits to be added is determined based on a waiting time setting number notified via a communication line.
【請求項10】 前記請求項2ないし9のいずれかに記
載の通信端末装置の親局として機能し、各通信端末装置
へ一括要求電文を送出して応答電文を収集する端末制御
装置において、 待ち時間設定番号を含む一括要求電文を送出するポーリ
ング手段と、 応答電文の衝突の有無を判定する衝突判定手段と、 正規に受信された応答電文を登録する応答電文登録手段
とを具備し、 前記ポーリング手段は、応答電文に衝突が生じると、異
なる待ち時間設定番号を含む一括要求電文を再送出する
ことを特徴とする端末制御装置。
10. A terminal control device that functions as a master station of the communication terminal device according to any one of claims 2 to 9, sends a batch request message to each communication terminal device, and collects a response message. A polling unit for sending a batch request message including a time setting number; a collision determining unit for determining whether there is a collision between response messages; and a response message registering unit for registering a normally received response message. The terminal control device retransmits a batch request message including a different waiting time setting number when a collision occurs in the response message.
【請求項11】 親局から送出された一括要求電文に応
答して複数の通信端末装置が応答電文を送出するデータ
通信方法において、 親局は、ある一の関数計算を指示して一括要求電文を送
出し、 各通信端末装置は、前記一括要求電文の受信に応答し
て、それぞれ自局に固有の識別番号に対して前記指示さ
れた関数計算を実行して応答待ち時間を求め、前記応答
待ち時間の経過後に応答電文を送出し、 親局は、各通信端末装置から送出された応答電文の衝突
を検知すると、前回までとは異なる他の一の関数計算を
指示して一括要求電文を再送出することを特徴とするデ
ータ通信方法。
11. A data communication method in which a plurality of communication terminal devices send a response message in response to a batch request message sent from a master station, wherein the master station instructs a certain function calculation to execute the batch request message. In response to the reception of the batch request message, each communication terminal device executes the instructed function calculation for the identification number unique to its own station to obtain a response waiting time, and When the response message is transmitted after the elapse of the waiting time, and the master station detects a collision of the response messages transmitted from the respective communication terminal devices, the master station instructs another function calculation different from the previous time to output the batch request message. A data communication method characterized by retransmitting.
【請求項12】 前記他の一の関数計算の指示および一
括要求電文の再送出は、応答電文の衝突が検知されなく
なるまで繰り返されることを特徴とする請求項11に記
載のデータ通信方法。
12. The data communication method according to claim 11, wherein the instruction of another function calculation and retransmission of the batch request message are repeated until collision of response messages is not detected.
JP05889398A 1998-02-24 1998-02-24 Data communication method, communication terminal device and terminal control device Expired - Fee Related JP4046204B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05889398A JP4046204B2 (en) 1998-02-24 1998-02-24 Data communication method, communication terminal device and terminal control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05889398A JP4046204B2 (en) 1998-02-24 1998-02-24 Data communication method, communication terminal device and terminal control device

Publications (2)

Publication Number Publication Date
JPH11243406A true JPH11243406A (en) 1999-09-07
JP4046204B2 JP4046204B2 (en) 2008-02-13

Family

ID=13097478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05889398A Expired - Fee Related JP4046204B2 (en) 1998-02-24 1998-02-24 Data communication method, communication terminal device and terminal control device

Country Status (1)

Country Link
JP (1) JP4046204B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007006086A (en) * 2005-06-23 2007-01-11 Kyuki:Kk Power line carrier communication equipment
WO2017110173A1 (en) * 2015-12-22 2017-06-29 ソニー株式会社 Communication device and method of communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007006086A (en) * 2005-06-23 2007-01-11 Kyuki:Kk Power line carrier communication equipment
WO2017110173A1 (en) * 2015-12-22 2017-06-29 ソニー株式会社 Communication device and method of communication
US10708961B2 (en) 2015-12-22 2020-07-07 Sony Corporation Communication device and communication method

Also Published As

Publication number Publication date
JP4046204B2 (en) 2008-02-13

Similar Documents

Publication Publication Date Title
CN1977479B (en) Method for clear channel assessment optimization in a wireless local area network
EP1339210B1 (en) Relay Terminal, Base Station and Communication System
EP0715433B1 (en) Method for wireless communication by way of repeatedly transmitted messages
US4896151A (en) Simultaneous communication method and system
JP3118263B2 (en) Vending machine data collection device
JP2001051859A (en) Load information communication method
CN105336138A (en) Method and system for wireless electricity meter to be automatically registered to concentrator
US7356018B2 (en) Communication system, communication device, and communication method
JPH11243406A (en) Data communication method, communication terminal and terminal controller
CN113965904B (en) Device registration method, device and storage medium
JP3525867B2 (en) Communication device and communication terminal
EP2438581B1 (en) Wireless connectivity for sensors
CN103685249B (en) A kind of register the method for application, terminal and server
JPH05314030A (en) Time adjusting method through communication line
CN115825785A (en) Battery pack detection method, system and device and vehicle-mounted terminal platform
US8909275B2 (en) Wireless communication system
JP2003283472A (en) Data transfer control method
KR101328439B1 (en) The concentrator using multi reading processes and control method thereof
US20230194680A1 (en) Method for Estimating the Time of Flight Between a First Equipment Item and a Second Equipment Item.
CN113341364A (en) Multi-module electric energy meter data identification method
JPH1132084A (en) Communication connection control system
JP3075739B2 (en) Vending machine management system
JPH0562059A (en) Saies data managing device
JP2005094429A (en) Wireless communication device
JP6226541B2 (en) Power line communication system and terminal subscription method to the same system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070801

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070928

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071115

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121130

Year of fee payment: 5

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20121130

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20131130

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees