JPH05260198A - Circuit terminal system - Google Patents

Circuit terminal system

Info

Publication number
JPH05260198A
JPH05260198A JP5783192A JP5783192A JPH05260198A JP H05260198 A JPH05260198 A JP H05260198A JP 5783192 A JP5783192 A JP 5783192A JP 5783192 A JP5783192 A JP 5783192A JP H05260198 A JPH05260198 A JP H05260198A
Authority
JP
Japan
Prior art keywords
terminal
communication
line
data
activation
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
JP5783192A
Other languages
Japanese (ja)
Inventor
Kunihiko Yamashita
邦彦 山下
Shinichi Nakane
伸一 中根
Yoshikatsu Oishi
芳功 大石
Masaaki Sakata
雅昭 坂田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5783192A priority Critical patent/JPH05260198A/en
Publication of JPH05260198A publication Critical patent/JPH05260198A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the circuit terminal system for telecontrol provided with a communication means which can execute easily a one-to-n communication. CONSTITUTION:A second terminal 5 always selects a first terminal 1a to which it is desired to execute a communication by a selection actuating means 7, and executes a data communication by occupying a circuit in order to execute a communication to the terminal 1a until the circuit is opened by a finishing means 24. In the case it is necessary that the terminal 1a executes a communication to a second terminal, the terminal 1a decides whether the circuit is being used by actuation means 3 to be selected and a means 7 to be finished or not, and when the circuit is not used, a communication start is requested to the terminal 5 by a selection actuation requesting means 2, this request is detected by a selection actuation request receiving means 6 of the terminal 5, the requested terminal is selected reversely by the selection actuating means 7 and a data communication is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ガスメータ等の第1の
端末と第2の端末を回線で接続して自動検針、ガス漏れ
通報などのテレコントロールを行うための回線端末シス
テムに関するもので、特に第1の端末と第2の端末との
通信手段に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line terminal system for connecting a first terminal such as a gas meter and a second terminal with a line to perform telecontrol such as automatic meter reading and gas leak notification. In particular, it relates to communication means between the first terminal and the second terminal.

【0002】[0002]

【従来の技術】例えば、都市ガスメータ、LPガスメー
タ、及び水道メータ等の第1の端末は、電話回線を介し
てセンタと接続され、また自動検針や通報を行うための
端末網制御装置にメタルケーブルの回線を利用して接続
されている。このような回線端末システムについて、こ
の第1の端末装置の通信手段を図4,図5,図6を用い
て説明する。ここでは、端末網制御装置とセンタ間の通
信については本発明の範囲外であり説明を簡略にするた
め、端末網制御装置とセンタを第2の端末として説明す
る。図4は、第1の端末と第2の端末の構成を示すもの
であり、図5と図6は、第1の端末が都市ガスメータの
場合の通信例を示すものである。
2. Description of the Related Art For example, a first terminal such as a city gas meter, an LP gas meter and a water meter is connected to a center via a telephone line, and a metal cable is connected to a terminal network control device for automatic meter reading and reporting. It is connected using the line. With respect to such a line terminal system, communication means of the first terminal device will be described with reference to FIGS. 4, 5 and 6. Here, communication between the terminal network control device and the center is outside the scope of the present invention, and in order to simplify the description, the terminal network control device and the center will be described as the second terminal. FIG. 4 shows the configuration of the first terminal and the second terminal, and FIGS. 5 and 6 show an example of communication when the first terminal is a city gas meter.

【0003】まず、第1の端末と第2の端末の構成を示
す。第1の端末12は回線26を介して第2の端末19
と接続される。第1の端末12は、通報による通信開始
を第2の端末19に要求するための起動要求手段13
と、第2の端末19からの通信開始要求を受け付ける被
起動手段14と、第2の端末からの各種通信処理要求等
を受信するためのデータ受信手段15と、通信処理要求
に対する処理結果やデータ等を第2の端末に送信するデ
ータ送信手段16と、第2の端末からの通信終了を受け
付ける被終了手段17と、これらの各手段を制御する従
制御手段18で構成されている。なお、従制御手段18
は、被起動手段14によって第2の端末19から通信開
始の要求を検出した場合のみデータ送信手段16とデー
タ受信手段15を駆動するようになっている。また、従
制御手段18は、被起動手段14と被終了手段17によ
って第2の端末19と通信中であるか否かを判断し、通
信中以外の状態時にのみ起動要求手段13を駆動するよ
うに制御するようになっている。
First, the configurations of the first terminal and the second terminal will be described. The first terminal 12 is connected to the second terminal 19 via the line 26.
Connected with. The first terminal 12 has an activation requesting means 13 for requesting the second terminal 19 to start communication by notification.
An activated unit 14 that receives a communication start request from the second terminal 19, a data receiving unit 15 that receives various communication processing requests and the like from the second terminal, and processing results and data for the communication processing request. The data transmission means 16 for transmitting the above information to the second terminal, the terminated means 17 for accepting the termination of communication from the second terminal, and the slave control means 18 for controlling these means. The sub-control means 18
Is designed to drive the data transmitting means 16 and the data receiving means 15 only when the activated means 14 detects a request to start communication from the second terminal 19. Further, the sub-control means 18 determines whether or not the activated means 14 and the terminated means 17 are in communication with the second terminal 19, and drives the activation requesting means 13 only in a state other than in communication. To control.

【0004】第2の端末は、第1の端末12からの通信
開始要求を受け付ける起動要求受付手段20と、第1の
端末12に通信開始要求をする起動手段21と、第1の
端末12に各種通信処理要求等を送信するためのデータ
送信手段22と、第1の端末12からの処理結果やデー
タ等を受信するデータ受信手段23と、第1の端末12
との通信終了を行う終了手段24と、これらの各手段を
制御する主制御手段25で構成されている。
The second terminal has a start request receiving means 20 for receiving a communication start request from the first terminal 12, a start means 21 for making a communication start request to the first terminal 12, and a first terminal 12. A data transmitting means 22 for transmitting various communication processing requests and the like, a data receiving means 23 for receiving processing results, data and the like from the first terminal 12, and a first terminal 12
It is composed of a terminating means 24 for terminating communication with and a main control means 25 for controlling each of these means.

【0005】この回線端末システムの動作例を図5,図
6を用いて説明する。第1の端末12である都市ガスメ
ータが第2の端末にガス漏れ通報する例を図5を用いて
説明する。
An operation example of this line terminal system will be described with reference to FIGS. An example in which the city gas meter, which is the first terminal 12, reports the gas leak to the second terminal will be described with reference to FIG.

【0006】第1の端末12は、ガス漏れを検出すると
起動要求手段13を利用して通信開始要求を示す通報先
電話番号が設定された電文27を第2の端末に送信す
る。第2の端末19は起動要求受付手段21により電文
27を検出すると起動手段21を駆動し通信開始を示す
電文28を第1の端末に送信する。この電文28は、電
文27によって通信開始がなされたことを示す第1の起
動であるという情報がセットされている。第1の端末1
2は、被起動手段14により電文28を検出してデータ
送信手段16を駆動してガス漏れ等の通報情報をセット
した電文29を送信する。この電文29は、第2の端末
19がデータ受信手段23により受信される。第2の端
末19は、電文29を受信後通信を終了する場合、終了
手段24を利用して通信終了を示す電文30を送信す
る。これによって、第1の端末12は、被終了手段17
によって通信終了を検出し一連の通信動作を終了する。
第2の端末19が電文29を受信後引き続いて通信を行
う場合には、データ送信手段22を用いて各種通信処理
要求を示す電文を送信し、送信された電文を第1の端末
12がデータ受信手段15にて受信するといった動作と
なる。第2の端末19が、通信終了手段24により通信
を終了しない限り通信は継続される。
Upon detecting a gas leak, the first terminal 12 uses the activation requesting means 13 to transmit a telegram 27 in which a telephone number to be notified indicating a communication start request is set to the second terminal. When the activation request receiving means 21 detects the message 27, the second terminal 19 drives the activation means 21 and transmits an electronic message 28 indicating the start of communication to the first terminal. This telegram 28 is set with information indicating that the communication is started by the telegram 27, that is, the first activation. First terminal 1
2, the activated means 14 detects an electronic message 28 and drives the data transmitting means 16 to transmit an electronic message 29 in which notification information such as a gas leak is set. This telegram 29 is received by the data receiving means 23 of the second terminal 19. When the second terminal 19 receives the electronic message 29 and ends the communication, the second terminal 19 uses the ending unit 24 to transmit the electronic message 30 indicating the end of the communication. As a result, the first terminal 12 has the terminated means 17
The end of communication is detected by and the series of communication operations is ended.
When the second terminal 19 continues to communicate after receiving the electronic message 29, the data transmitting means 22 is used to transmit an electronic message indicating various communication processing requests, and the transmitted electronic message is transmitted to the first terminal 12 as data. The operation is such that the receiving means 15 receives the data. Communication is continued unless the second terminal 19 ends the communication by the communication terminating means 24.

【0007】次に、端末網制御装置から端末の検針値等
の情報を取り出す例について図5を用いて説明する。
Next, an example of extracting information such as a meter reading value of the terminal from the terminal network control device will be described with reference to FIG.

【0008】第2の端末は、起動手段21を利用して通
信開始を示す電文31を送信する。この電文31は、検
針値の読み取り要求を兼ねた第2の起動であることを示
す情報がセットされている。第1の端末12は、被起動
手段14により電文31を検出するとデータ送信手段1
6を駆動して検針値を設定した電文32を送信する。第
2の端末19は、この電文32をデータ受信手段23に
より受信する。第2の端末19は、電文29を受信後通
信を終了する場合、終了手段24を利用して通信終了を
示す電文30を送信する。これによって、第1の端末1
2は、被終了手段17によって通信終了を検出し一連の
通信動作を終了する。
The second terminal uses the activation means 21 to transmit a telegram 31 indicating the start of communication. This telegram 31 is set with information indicating that it is the second activation that also serves as a reading request of the meter reading value. When the first terminal 12 detects the message 31 by the activated means 14, the data transmission means 1
6 is driven to transmit the electronic message 32 in which the meter reading value is set. The second terminal 19 receives the electronic message 32 by the data receiving means 23. When the second terminal 19 receives the electronic message 29 and ends the communication, the second terminal 19 uses the ending unit 24 to transmit the electronic message 30 indicating the end of the communication. Thereby, the first terminal 1
In Step 2, the terminated means 17 detects the end of communication and ends a series of communication operations.

【0009】また、図5と図6に示した各電文は、その
電文の先頭にはSTX符号、電文の末尾にはETX符号
が付与され、電文を構成する各符号には1ビットの垂直
パリティビット、ならびに水平パリティチェックのため
のブロックチェックキャラクタ(BCC)がETX符号
の後ろについた形式となっている。そして、第2の端末
と第1の端末間で交換される各電文の内、第1の端末か
らの通信開始要求に用いられる電文27と、第2の端末
から通信開始を示す電文28、電文31には、図5,図
6でもわかるように、端末を識別する情報は付与されて
おらず、第1の端末と第2の端末は1対1で通信する通
信手順と電文構成とになっている。従って、第2の端末
は、複数の端末との通信を実現するため、端末を接続す
るための複数の電気的インタフェース手段を備えた構成
となっている。
Each of the electronic messages shown in FIGS. 5 and 6 has an STX code at the beginning of the electronic message and an ETX code at the end of the electronic message, and each code forming the electronic message has a 1-bit vertical parity. A bit and a block check character (BCC) for horizontal parity check are in a format following an ETX code. Then, among the respective telegrams exchanged between the second terminal and the first terminal, the telegram 27 used for the communication start request from the first terminal, the telegram 28 indicating the communication start from the second terminal, and the telegram. As can be seen from FIGS. 5 and 6, the information for identifying the terminal is not added to 31, and the first terminal and the second terminal have a communication procedure and a telegram configuration for one-to-one communication. ing. Therefore, the second terminal has a configuration including a plurality of electrical interface means for connecting the terminals in order to realize communication with the plurality of terminals.

【0010】さて、第2の端末に複数の第1の端末を同
一回線を利用して分岐接続し、第2の端末と第1の端末
との1対n通信をする従来の技術について説明する。こ
の手段としてISOで標準化されている基本モード制御
手順がある。
Now, a conventional technique for branching and connecting a plurality of first terminals to a second terminal using the same line and performing one-to-n communication between the second terminal and the first terminal will be described. .. As a means for this, there is a basic mode control procedure standardized by ISO.

【0011】この基本モード制御手順は、第2の端末の
制御のもとに通信の相手を確認し互いに受信、送信状態
を確定するデータリンクを確立してデータ通信が行われ
る手段である。このデータリンク確立の方式として、第
2の端末が各第1の端末に対し順番にデータを送信する
よう勧誘するポーリング方法と、第2の端末から任意の
第1の端末にデータを送信するため、第2の端末がその
第1の端末に呼びかけるセレクション方法がある。そし
て、これらの方法では、第2の端末が任意の端末との通
信を行うため、第2の端末が第1の端末それぞれを区別
できる識別情報を利用して任意の第1の端末を選択する
方法がとられており、これら両方の方法を利用して双方
向のデータ通信を実現している。また、第1の端末ある
いは第2の端末が通信のため回線の使用権を争奪する方
法としてコンテンション方法が規定されており、これ
は、回線を争奪した端末側が主局となり他方が従局とし
て通信動作を行うものである。
This basic mode control procedure is means for performing data communication by establishing a data link for confirming the other party of communication under the control of the second terminal, receiving each other, and establishing the transmission state. As a method of establishing this data link, a polling method in which the second terminal invites each first terminal to transmit data in order, and a method for transmitting data from the second terminal to an arbitrary first terminal , A second terminal calls the first terminal. Then, in these methods, since the second terminal communicates with an arbitrary terminal, the second terminal selects the arbitrary first terminal using the identification information capable of distinguishing each of the first terminals. Method has been adopted, and bidirectional data communication is realized by using both of these methods. Further, a contention method is defined as a method for the first terminal or the second terminal to contend for the right to use the line for communication. This is because the terminal side that contended for the line is the master station and the other terminal is the slave station. It is an operation.

【0012】[0012]

【発明が解決しようとする課題】しかしながら上記従来
の技術には、第2の端末が複数の第1の端末と1対n通
信する場合、次のような2つの課題がある。 (1)テレコントロールシステムに用いられている都市
ガスメータのような第1の端末を複数台第2の端末に接
続するためには、端末網制御装置(第2の端末)内に端
末を接続するための電気的インタフェースを第1の端末
毎に設けなければならない。なぜなら、従来の端末網制
御装置(第2の端末)と第1の端末との通信手順と電文
の構成では、第2の端末が第1の端末を区別して通信で
きないからである。 (2)ISOで標準化されている基本モード制御手順を
第1の端末である都市ガスメータと端末網制御装置(第
2の端末)に適用した場合、ポーリング/セレクション
方法は、第2の端末が常に定期的な送信の勧誘を個々の
第1の端末に行わなければならない。従って、例えば、
電池を電源として用いた第1の端末や第2の端末にとっ
ては通信のための消費電力が増大する。通信手順のため
のマイクロプログラムも大きくなる。また、コンテンシ
ョン方法は、第1の端末も第2の端末も回線の使用権を
争奪する制御をしなければならず複雑な通信手順となる
ばかりか第1の端末と第2の端末が同程度の規模の通信
手順のマイクロプログラムを装備しなければならない。
However, the above-mentioned conventional technique has the following two problems when the second terminal makes one-to-n communication with the plurality of first terminals. (1) In order to connect a plurality of first terminals such as a city gas meter used in a telecontrol system to a second terminal, the terminals are connected to a terminal network control device (second terminal). An electrical interface must be provided for each first terminal. This is because the second terminal cannot distinguish and communicate with the first terminal with the conventional communication procedure between the terminal network control device (second terminal) and the first terminal and the configuration of the message. (2) When the basic mode control procedure standardized by ISO is applied to the city gas meter which is the first terminal and the terminal network control device (second terminal), the polling / selection method is An invitation to send on a regular basis must be made to each first terminal. So, for example,
The power consumption for communication increases for the first terminal and the second terminal that use the battery as a power source. The microprogram for the communication procedure also becomes large. Further, in the contention method, both the first terminal and the second terminal have to perform control to contend for the right to use the line, and not only a complicated communication procedure but also the first terminal and the second terminal are the same. It must be equipped with a microprogram for communication procedures of a moderate scale.

【0013】そこで、本発明は、このような従来の課題
を解決するため、1対n通信が簡単にできる通信手段を
備えた回線端末システムを提供することを目的とするも
のである。
Therefore, an object of the present invention is to provide a line terminal system provided with a communication means capable of easily performing 1-to-n communication in order to solve such a conventional problem.

【0014】[0014]

【課題を解決するための手段】上記第1の目的を達成す
るため、本発明の回線端末システムは、複数の第1の端
末が同一回線に分岐接続され第2の端末と通信する回線
端末システムであって、第2の端末は、第1の端末の内
のひとつを選択しその第1の端末との通信のために回線
を占有して通信開始を要求する選択起動手段と、選択起
動手段により占有した回線を開放し第1の端末との通信
終了を行う終了手段と、第1の端末から通信開始の要求
を受け付ける選択起動要求受付手段と、選択起動手段に
より選択した第1の端末とのデータ送信手段と、選択起
動手段により選択した第1の端末からのデータ受信手段
と、第1の端末は、選択起動手段によって選択されたか
否かを検出すると共に他の第1の端末が選択された場合
は他の第1の端末との通信のために回線が占有されたと
判定する被選択起動手段と、第2の端末との通信の終了
あるいは第2の端末と他の第1の端末との通信が終了し
回線が開放されたことを検出する被終了手段と、各第1
の端末が第2の端末に選択起動手段を利用して通信開始
を促すため回線が占有されていない場合にのみ第2の端
末に通信開始の要求をする選択起動要求手段と、第2の
端末からのデータ受信手段、第2端末へのデータ送信手
段とで構成したものである。
In order to achieve the above first object, the line terminal system of the present invention is a line terminal system in which a plurality of first terminals are branched and connected to the same line to communicate with a second terminal. The second terminal selects and activates one of the first terminals, occupies a line for communication with the first terminal, and requests the start of communication, and a selection and activation means. A termination means for releasing the line occupied by the terminal and terminating communication with the first terminal; a selection activation request acceptance means for accepting a communication initiation request from the first terminal; and a first terminal selected by the selection activation means. Data transmitting means, data receiving means from the first terminal selected by the selecting and activating means, and the first terminal detects whether or not selected by the selecting and activating means, and is selected by another first terminal. The other first terminal if And the selected start-up means that determines that the line has been occupied for the communication between the second terminal and the second terminal is terminated, or the communication between the second terminal and the other first terminal is terminated and the line is opened. The means to be terminated for detecting that
The second terminal uses the selective starting requesting means for requesting the second terminal to start the communication only when the line is not occupied in order to prompt the second terminal to start the communication by using the selective starting means. And data transmission means to the second terminal.

【0015】[0015]

【作用】本発明の回線端末システムは、上記構成によ
り、常に第2の端末が、選択起動手段にて通信したい第
1の端末を選択し、終了手段にて回線を開放するまで第
1の端末との通信のために回線を占有してデータ送信手
段とデータ受信手段にてデータ通信を行うように作用す
る。また、第1の端末が第2の端末と通信を行う必要が
ある場合、第1の端末は、被選択起動手段と被終了手段
により回線が使用されているか否かを判定し、回線が使
用されていない時に選択起動要求手段によって第2の端
末に通信開始を要求し、この要求を第1の端末の選択起
動要求受付手段が検出し要求のあった第1の端末を逆に
第2の端末が選択起動手段にて選択することでデータ通
信を行うように作用する。
According to the line terminal system of the present invention, the second terminal always selects the first terminal to be communicated by the selecting and activating means, and the first terminal until the line is released by the terminating means. In order to communicate with, the data transmission means and the data reception means occupy a line to perform data communication. When the first terminal needs to communicate with the second terminal, the first terminal determines whether the line is used by the selected activation means and the terminated means, and the line is used. When not activated, the selective activation requesting means requests the second terminal to start communication, and the selective activation request accepting means of the first terminal detects this request, and reverses the requesting first terminal to the second terminal. The terminal activates the data communication by selecting with the selecting and activating means.

【0016】[0016]

【実施例】本発明の一実施例について、その構成を図1
に示す。図1は、第2の端末5に都市ガスメータである
第1の端末1aと、水道メータである第1の端末1bを
回線26を介して分岐接続した例を示している。第2の
端末の具体的な例としては、第1の端末を接続する端末
網制御装置と電話回線を介して接続するセンタを含めた
ものがある。ここでは、端末網制御装置とセンタ間の通
信については本発明の範囲外であり説明を簡略にするた
め、従来の技術の説明と同様に端末網制御装置とセンタ
を第2の端末として説明する。また、図1の各ブロック
の内、従来と同等のブロックについては同一の番号を付
与している。図2と図3は、本発明の第1の端末と第2
の端末の通信動作を示すものである。
FIG. 1 is a block diagram showing the construction of an embodiment of the present invention.
Shown in. FIG. 1 shows an example in which a first terminal 1a, which is a city gas meter, and a first terminal 1b, which is a water meter, are branched and connected to a second terminal 5 via a line 26. As a specific example of the second terminal, there is one including a terminal network control device connecting the first terminal and a center connecting via a telephone line. Here, communication between the terminal network control device and the center is outside the scope of the present invention, and in order to simplify the description, the terminal network control device and the center will be described as the second terminal in the same manner as in the description of the prior art. .. Further, of the blocks shown in FIG. 1, the same number is given to the same block as the conventional one. 2 and 3 show a first terminal and a second terminal of the present invention.
It shows the communication operation of the terminal.

【0017】まず、第1の端末と第2の端末の構成を示
す。第1の端末1a,1bは回線26を介して第2の端
末5と接続される。第1の端末1aと1bはどちらも同
じ構成であるため、第1の端末1aの構成についてのみ
説明する。第2の端末5は、第1の端末1a,1bの内
のいずれかを選択しその第1の端末との通信のために回
線を占有して通信開始を要求する選択起動手段7と、選
択起動手段7により得た回線の使用権を開放し第1の端
末との通信終了を行う終了手段24と、第1の端末1a
あるいは1bからの通信開始要求を受け付ける選択起動
要求受付手段6と、選択起動手段7により選択した第1
の端末1aあるいは1bに各種通信処理要求等を送信す
るためのデータ送信手段22と、選択起動手段7により
選択した第1の端末1aあるいは1bからの処理結果や
データ等を受信するデータ受信手段23と、これらの各
手段を制御する拡張主制御手段8とで構成する。
First, the configurations of the first terminal and the second terminal will be described. The first terminals 1a and 1b are connected to the second terminal 5 via the line 26. Since both the first terminals 1a and 1b have the same configuration, only the configuration of the first terminal 1a will be described. The second terminal 5 selects one of the first terminals 1a and 1b, occupies a line for communication with the first terminal, requests the start of communication, and selects the start-up means 7. Termination means 24 for releasing the right to use the line obtained by the activation means 7 and terminating communication with the first terminal, and the first terminal 1a.
Alternatively, the selection start request receiving means 6 for receiving the communication start request from 1b, and the first selection selected by the selection starting means 7.
Data transmission means 22 for transmitting various communication processing requests and the like to the terminal 1a or 1b, and data reception means 23 for receiving the processing result or data from the first terminal 1a or 1b selected by the selection activation means 7. And extended main control means 8 for controlling each of these means.

【0018】第1の端末1aは、選択起動手段7によっ
て選択されたか否かを検出すると共に第1の端末1bが
選択された場合には第2の端末5が第1の端末1bとの
通信のために回線が占有されたと判定する被選択起動手
段3と、第2の端末5との通信の終了あるいは第2の端
末5と他の第1の端末1bとの通信が終了し回線が開放
されたことを検出する第1の端末の被終了手段と、第1
の端末1aが第2の端末5に選択起動手段7を利用して
通信開始を促すため回線が占有されていない場合にのみ
第2の端末5に通信開始の要求をする選択起動要求手段
2と、第2の端末5からの各種通信処理要求等を受信す
るためのデータ受信手段15と、通信処理要求に対する
処理結果やデータ等を第2の端末5に送信するデータ送
信手段16と、これらの各手段を制御する拡張従制御手
段4とで構成する。
The first terminal 1a detects whether or not it has been selected by the selection starting means 7, and when the first terminal 1b is selected, the second terminal 5 communicates with the first terminal 1b. Communication is terminated between the selected starting means 3 and the second terminal 5 or the communication between the second terminal 5 and the other first terminal 1b is terminated and the line is opened. The terminated means of the first terminal for detecting that the
The terminal 1a of the second terminal 5 requests the second terminal 5 to start communication only when the line is not occupied in order to prompt the second terminal 5 to start communication by using the selective start means 7. , A data receiving means 15 for receiving various communication processing requests and the like from the second terminal 5, a data transmitting means 16 for transmitting processing results and data etc. to the second terminal 5 to the second terminal 5, and these. It is composed of an extended slave control unit 4 for controlling each unit.

【0019】この回線端末システムの動作例を図2,図
3を用いて説明する。なお、図2,図3に記述されてい
る各電文の内従来と同じ電文については、同一の名称と
番号を付与して説明している。
An operation example of this line terminal system will be described with reference to FIGS. It should be noted that, of the electronic messages described in FIGS. 2 and 3, the same electronic messages as in the related art are described with the same names and numbers.

【0020】第1の端末1aである都市ガスメータが第
2の端末5にガス漏れ通報する例を図2を用いて説明す
る。
An example in which the city gas meter, which is the first terminal 1a, reports the gas leak to the second terminal 5 will be described with reference to FIG.

【0021】第1の端末1aは、ガス漏れを検出すると
選択起動要求手段2を利用して通信開始要求を促す通報
先を示す電話番号が設定された電文9を第2の端末5に
送信する。この電文9には第1の端末1aからの送信で
あることを示す識別情報(YID)がセットされ送信さ
れる。第2の端末5は選択起動要求受付手段6により電
文9を検出すると選択起動手段7を駆動し通信開始を示
す電文10を第1の端末1aに送信する。この電文10
は電文9にセットされていた第1の端末1aを識別する
情報と、電文9によって通信開始がなされたことを示す
第1の起動であるという情報がセットされている。第1
の端末1aは、被選択起動手段3により電文10から選
択されたことを判定してデータ送信手段16を駆動して
ガス漏れ等の通報情報をセットした電文29を送信す
る。この電文29は、第2の端末5がデータ受信手段2
3により受信する。第2の端末5は、電文29を受信
後、通信を終了する場合には、終了手段24を利用して
通信終了を示す電文30を送信する。これによって、第
1の端末1aは、被終了手段17によって通信終了を検
出し一連の通信動作を終了する。また、第1の端末1b
は、第1の端末1bの被終了手段17によって、第1の
端末1aの通信が終了し回線が開放されたと判定する。
第2の端末5が電文29を受信後引き続いて通信を行う
場合には、データ送信手段22を用いて各種通信処理要
求を示す電文を送信し、送信された電文を第1の端末1
2がデータ受信手段15にて受信するといった動作とな
る。第2の端末5が、終了手段24により通信を終了し
ない限り通信は継続される。このように、第1の端末1
a,1bの被終了手段17は通信の終了を判定するが、
第2の端末5からの通信終了を示す電文30の受信が回
線障害のため受信できない場合に備え、被終了手段17
は、所定時間内に電文を受信するか否かを監視し、所定
時間内に電文を受信しなければ通信が終了したとする判
定するように動作する。
When the first terminal 1a detects a gas leak, the first start-up requesting means 2 is used to transmit a telegram 9 in which a telephone number indicating a notification destination for prompting a communication start request is set to the second terminal 5. .. Identification information (YID) indicating transmission from the first terminal 1a is set in the electronic message 9 and transmitted. When the second terminal 5 detects the message 9 by the selective activation request accepting means 6, it drives the selective activation means 7 and transmits a message 10 indicating the start of communication to the first terminal 1a. This message 10
The information for identifying the first terminal 1a that has been set in the message 9 and the information indicating that the communication is started by the message 9 is the first activation. First
The terminal 1a determines that the selected activation means 3 has selected from the message 10 and drives the data transmission means 16 to transmit the message 29 in which notification information such as gas leak is set. In this message 29, the second terminal 5 receives the data receiving means 2
Received by 3. When the second terminal 5 receives the electronic message 29 and then ends the communication, the second terminal 5 uses the ending means 24 to transmit the electronic message 30 indicating the end of the communication. As a result, the first terminal 1a detects the end of communication by the ended means 17 and ends the series of communication operations. Also, the first terminal 1b
Determines that the terminated means 17 of the first terminal 1b has terminated the communication of the first terminal 1a and opened the line.
When the second terminal 5 continues to communicate after receiving the telegram 29, the data transmitting unit 22 is used to transmit telegrams indicating various communication processing requests, and the transmitted telegram is transmitted to the first terminal 1
2 is received by the data receiving means 15. Communication is continued unless the second terminal 5 terminates the communication by the termination means 24. Thus, the first terminal 1
Although the means 17 to be terminated of a and 1b determines the end of communication,
In case the reception of the telegram 30 indicating the end of communication from the second terminal 5 cannot be received due to a line failure, the terminated means 17 is provided.
Operates to monitor whether or not a message is received within a predetermined time, and to determine that the communication has ended if no message is received within the predetermined time.

【0022】次に、第2の端末が第1の端末1aの検針
値等の情報を取り出す例について図3を用いて説明す
る。
Next, an example in which the second terminal retrieves information such as the meter reading value of the first terminal 1a will be described with reference to FIG.

【0023】第2の端末5は、選択起動手段7を利用し
て通信開始を示す電文11を送信する。この電文11
は、第1の端末1aを識別する情報(TID)と、検針
値を読み取る要求を兼ねた第2の起動であることを情報
がセットされている。第1の端末1aは、被選択起動手
段3により電文11を検出してデータ送信手段16を駆
動して検針値を設定した電文32を送信する。この電文
32は、第2の端末19がデータ受信手段23により受
信する。第2の端末5は、電文32を受信後、通信を終
了する場合には、終了手段24を利用して通信終了を示
す電文33を送信する。これによって、第1の端末1a
は、被終了手段17によって通信終了を検出し一連の通
信動作を終了する。また、第1の端末1bは、第1の端
末1bの被終了手段17によって、第1の端末1aの通
信が終了し回線が開放されたと判定する。第2の端末5
が電文32を受信後引き続いて通信を行う場合には、ガ
ス漏れ通報と同様に、データ送信手段22を用いて各種
通信処理要求を示す電文を送信し、送信された電文を第
1の端末1aがデータ受信手段15にて受信するといっ
た動作となる。第2の端末5が、終了手段24により通
信を終了しない限り通信は継続される。このように、第
1の端末1a,1bの被終了手段17は通信の終了を判
定するが、第2の端末5からの通信終了を示す電文30
の受信が回線障害のため受信できない場合に備え、被終
了手段17は、所定時間内に電文を受信するか否かを監
視し、所定時間内に電文を受信しなければ通信が終了し
たとする判定するように動作する。
The second terminal 5 uses the selective activation means 7 to transmit a telegram 11 indicating the start of communication. This message 11
Indicates that information (TID) for identifying the first terminal 1a and information indicating that the second activation is also a request for reading the meter reading value are set. The first terminal 1a detects the telegram 11 by the selected activation means 3 and drives the data transmission means 16 to transmit the telegram 32 in which the meter reading value is set. The second terminal 19 receives the electronic message 32 by the data receiving means 23. When the second terminal 5 receives the electronic message 32 and then ends the communication, the second terminal 5 transmits the electronic message 33 indicating the end of the communication by using the ending unit 24. Thereby, the first terminal 1a
Ends the communication and ends the series of communication operations. Further, the first terminal 1b determines that the terminated means 17 of the first terminal 1b has finished communication with the first terminal 1a and opened the line. Second terminal 5
When the user continues to communicate after receiving the message 32, similarly to the gas leak notification, a message indicating various communication processing requests is transmitted using the data transmission means 22, and the transmitted message is transmitted to the first terminal 1a. Is received by the data receiving means 15. Communication is continued unless the second terminal 5 terminates the communication by the termination means 24. In this way, the terminated means 17 of the first terminals 1a and 1b determines the end of communication, but the message 30 indicating the end of communication from the second terminal 5 is transmitted.
In case the reception of the message is not possible due to the line failure, the terminated means 17 monitors whether or not the message is received within a predetermined time, and if the message is not received within the predetermined time, it is determined that the communication is completed. Operates to judge.

【0024】なお、第1の端末1aが第2の端末とのデ
ータ通信を行っている時、第1の端末1bに通報すべき
事象が発生した場合、第1の端末1bは、その端末の選
択起動手段2によって、第1の端末1aの通信が終了し
回線が開放されるのを待ち第1の端末1bからの送信で
あることを示す識別情報(TID)がセットされた電文
9と同等の電文を送信するように動作する。第1の端末
1bがデータ通信中の時、第1の端末1aに通報すべき
事象が発生した場合についても同様である。また、本発
明の実施例では2台の第1の端末1a,1bが接続され
た場合を示したが、本発明は第1の端末の台数に特に限
定されない。
When an event that should be reported to the first terminal 1b occurs while the first terminal 1a is performing data communication with the second terminal, the first terminal 1b is It is equivalent to a telegram 9 in which identification information (TID) indicating the transmission from the first terminal 1b is set by waiting for the communication of the first terminal 1a to be completed and the line being opened by the selective activation means 2. It works like sending a message. The same applies to the case where an event to be reported to the first terminal 1a occurs while the first terminal 1b is performing data communication. Further, although the embodiment of the present invention shows the case where the two first terminals 1a and 1b are connected, the present invention is not particularly limited to the number of the first terminals.

【0025】このように、本発明の回線端末システム
は、常に第2の端末5が、選択起動手段7にて通信した
い第1の端末1aまたは1bを選択し、終了手段24に
て回線を開放するまで第1の端末1aあるいは1bとの
通信のために回線を占有してデータ通信を行うように動
作する。また、第1の端末1aまたは1bが第2の端末
と通信を行う必要がある場合、第1の端末1aあるいは
1bは、被選択起動手段3と被終了手段17により回線
が使用されているか否かを判定し、回線が使用されてい
ない時に選択起動要求手段2によって第2の端末5に通
信開始を要求し、この要求を第2の端末5の選択起動要
求受付手段6が検出し要求のあった第1の端末を逆に選
択起動手段7にて選択することでデータ通信を行うよう
に動作する。
As described above, in the line terminal system of the present invention, the second terminal 5 always selects the first terminal 1a or 1b to be communicated by the selective starting means 7 and opens the line by the terminating means 24. Until then, it operates so as to occupy a line and perform data communication for communication with the first terminal 1a or 1b. When the first terminal 1a or 1b needs to communicate with the second terminal, the first terminal 1a or 1b determines whether the line is used by the selected activation means 3 and the terminated means 17. If the line is not used, the selective activation requesting means 2 requests the second terminal 5 to start communication, and the selective activation request accepting means 6 of the second terminal 5 detects this request. On the contrary, by selecting the existing first terminal by the selection starting means 7, the data communication is performed.

【0026】[0026]

【発明の効果】以上のように本発明の回線端末システム
により次のような効果が得られる。 (1)第1の端末を1台接続するために必要な電気的イ
ンタフェースを備えた端末網制御装置(第2の端末)で
複数の都市ガスメータのような第1の端末を接続できる
ため、安価なシステムが構築できる。 (2)ポーリング/セレクション方法のような第2の端
末が常に定期的な送信の勧誘を個々の第1の端末に行う
必要がなく、1対n通信を実現する低消費電力の第1の
端末や第2の端末が実現できる。 (3)従来の第1の端末と第2の端末の通信手段とほぼ
同じ手段で実現できるためマイクロプログラムの大幅な
増大とならない。
As described above, the line terminal system of the present invention has the following effects. (1) Since the first terminal such as a plurality of city gas meters can be connected by the terminal network control device (second terminal) equipped with the electrical interface necessary for connecting one first terminal, it is inexpensive. Various systems can be built. (2) The first terminal of low power consumption that realizes 1-to-n communication without the second terminal like the polling / selection method having to constantly solicit periodical transmission to each first terminal And a second terminal can be realized. (3) Since it can be realized by almost the same means as the conventional communication means of the first terminal and the second terminal, the microprogram does not increase significantly.

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

【図1】本発明の一実施例における回線端末システムの
ブロック構成図
FIG. 1 is a block configuration diagram of a line terminal system according to an embodiment of the present invention.

【図2】同システムの通信動作の説明図FIG. 2 is an explanatory diagram of communication operation of the system.

【図3】同システムの通信動作の別の説明図FIG. 3 is another explanatory diagram of the communication operation of the system.

【図4】従来の回線端末システムのブロック構成図FIG. 4 is a block configuration diagram of a conventional line terminal system.

【図5】同システムの通信動作の説明図FIG. 5 is an explanatory diagram of communication operation of the system.

【図6】同システムの通信動作の別の説明図FIG. 6 is another explanatory diagram of the communication operation of the system.

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

1a,1b 第1の端末 2 選択起動要求手段 3 被選択起動手段 4 拡張従制御手段 5 第2の端末 6 選択起動要求受付手段 7 選択起動手段 8 拡張主制御手段 15,23 データ受信手段 16,22 データ送信手段 17 被終了手段 24 終了手段 1a, 1b 1st terminal 2 selective start request means 3 selected start means 4 extended slave control means 5 second terminal 6 selective start request acceptance means 7 selective start means 8 extended main control means 15, 23 data receiving means 16, 22 data transmission means 17 end means 24 end means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 坂田 雅昭 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masaaki Sakata 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の第1の端末が同一回線に分岐接続さ
れ第2の端末と通信する回線端末システムであって、第
2の端末は、第1の端末の内のひとつを選択しその第1
の端末との通信のために回線を占有して通信開始を要求
する選択起動手段と、選択起動手段により占有した回線
を開放し第1の端末との通信終了を行う終了手段と、第
1の端末から通信開始の要求を受け付ける選択起動要求
受付手段と、前記選択起動手段により選択した第1の端
末とのデータ送信手段と、前記選択起動手段により選択
した第1の端末からのデータ受信手段と、第1の端末
は、前記選択起動手段によって選択されたか否かを検出
すると共に他の第1の端末が選択された場合は他の第1
の端末との通信のために回線が占有されたと判定する被
選択起動手段と、第2の端末との通信の終了あるいは第
2の端末と他の第1の端末との通信が終了し回線が開放
されたことを検出する被終了手段と、各第1の端末が第
2の端末に前記選択起動手段を利用して通信開始を促す
ため回線が占有されていない場合にのみ第2の端末に通
信開始の要求をする選択起動要求手段と、第2の端末か
らのデータ受信手段、第2端末へのデータ送信手段とを
備えた回線端末システム。
1. A line terminal system in which a plurality of first terminals are branched and connected to the same line to communicate with a second terminal, the second terminal selecting one of the first terminals, First
First activating means for occupying a line and requesting the start of communication for communication with the terminal, and terminating means for releasing the occupied line by the selective activating means and terminating communication with the first terminal; Selective activation request acceptance means for accepting a request to start communication from the terminal, data transmission means for the first terminal selected by the selective activation means, and data reception means for the first terminal selected by the selective activation means. , The first terminal detects whether or not it has been selected by the selection activation means, and when the other first terminal is selected, the other first terminal
And the selected start-up means for determining that the line is occupied for communication with the other terminal and the communication with the second terminal or the communication between the second terminal and the other first terminal is completed To the second terminal only when the line to be terminated is detected because the terminated means for detecting the release and each first terminal prompts the second terminal to start communication by using the selective starting means. A line terminal system comprising a selective activation requesting means for requesting communication start, a data receiving means from a second terminal, and a data transmitting means to a second terminal.
JP5783192A 1992-03-16 1992-03-16 Circuit terminal system Pending JPH05260198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5783192A JPH05260198A (en) 1992-03-16 1992-03-16 Circuit terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5783192A JPH05260198A (en) 1992-03-16 1992-03-16 Circuit terminal system

Publications (1)

Publication Number Publication Date
JPH05260198A true JPH05260198A (en) 1993-10-08

Family

ID=13066889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5783192A Pending JPH05260198A (en) 1992-03-16 1992-03-16 Circuit terminal system

Country Status (1)

Country Link
JP (1) JPH05260198A (en)

Similar Documents

Publication Publication Date Title
JP2982907B2 (en) Data processing device and data processing method
JPH0468836A (en) Power line carrier communication system
JPH0419737B2 (en)
JPH05260198A (en) Circuit terminal system
JPH08172680A (en) Registering method for radio slave equipment
JPS6256710B2 (en)
JP4144833B2 (en) Centralized transmission device, communication system, operation method, automatic meter reading system, and recording medium
JP2007184742A (en) Wireless telemeter system
JPH0129110B2 (en)
JP2666849B2 (en) Remote monitoring device
JPH11298976A (en) Polling communication system
KR910005332B1 (en) Integrated remote data service system
JPS60162334A (en) Data transmission equipment
CN116017391A (en) Online equipment detection method, equipment and storage medium
JPS5972853A (en) Facsimile exchange system
JP3013680B2 (en) Communication terminal system
JP3441826B2 (en) Communication system with communication device
JPH1198166A (en) Transmission system
JP2668224B2 (en) Communication control method
KR920007490B1 (en) Universial signal transceiving circuit
JPS5829230A (en) Dispatching telephone system of radio telephone system
KR940008348A (en) Asynchronous serial communication circuit of multi-switch unit electronic switching system
JP2001197575A (en) Error processing method in central transmitter, the central transmitter and data collection system
JPS6175657A (en) Terminal supervisory system
JPS63232558A (en) System for testing digital subscriber's line equipment