JP2554940B2 - Data communication system - Google Patents

Data communication system

Info

Publication number
JP2554940B2
JP2554940B2 JP1271379A JP27137989A JP2554940B2 JP 2554940 B2 JP2554940 B2 JP 2554940B2 JP 1271379 A JP1271379 A JP 1271379A JP 27137989 A JP27137989 A JP 27137989A JP 2554940 B2 JP2554940 B2 JP 2554940B2
Authority
JP
Japan
Prior art keywords
message
response
ncu
center
data
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.)
Expired - Fee Related
Application number
JP1271379A
Other languages
Japanese (ja)
Other versions
JPH03133242A (en
Inventor
晴彦 村上
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP1271379A priority Critical patent/JP2554940B2/en
Publication of JPH03133242A publication Critical patent/JPH03133242A/en
Application granted granted Critical
Publication of JP2554940B2 publication Critical patent/JP2554940B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ通信システムに関し、特に、通信網
を介して接続される、ホストコンピュータを含むセンタ
ー側と網制御装置およびデータ端末側装置とのデータ通
信制御を行なう、データ通信システムに関する。
The present invention relates to a data communication system, and more particularly, to a center side including a host computer, a network control device, and a data terminal side device, which are connected via a communication network. The present invention relates to a data communication system for controlling the data communication.

[従来の技術] 通信網にデータ端末装置を接続しデータ通信を行なう
場合、データの送受信に先立ちデータ端末装置とセンタ
ー側のホストコンピュータとの間に通信路を設定する必
要がある。このために、局交換機の起動・復旧、選択信
号の送出、呼出信号の検出などの接続制御を行ない通信
路を設定するようにしている。
[Prior Art] When a data terminal device is connected to a communication network for data communication, it is necessary to set a communication path between the data terminal device and the host computer on the center side before data transmission / reception. For this reason, connection control such as activation / restoration of a central office switch, transmission of a selection signal, detection of a ringing signal, etc. is performed to set a communication path.

一般に、複数台のデータ端末装置が通信網を介してセ
ンター側のホストコンピュータに接続されるが、これら
両者間の上述のような制御は端末側網制御装置(以下、
T−NCUと略す)により行なわれる。
Generally, a plurality of data terminal devices are connected to a host computer on the center side via a communication network.
T-NCU).

従来から、T−NCUを介してのデータ通信は、特殊な
場合を除けば、一方から他方へ電文を送れば、それに対
する応答があるのが普通である。そのため、T−NCUは
基本的には、電文の通信方向として上り下りをペアと扱
っている。その例を、第7図を参照して説明する。
Conventionally, in data communication via the T-NCU, except for a special case, when a message is sent from one side to the other side, there is usually a response to it. Therefore, the T-NCU basically treats the uplink and downlink as a pair as the communication direction of the message. An example thereof will be described with reference to FIG.

第7図は、上り下りの電文がペアで通信されることを
説明するための、T−NCUの基本プロトコル図である。
FIG. 7 is a basic protocol diagram of the T-NCU for explaining that upstream and downstream electronic messages are communicated in pairs.

図において、ホストコンピュータを備えるセンターと
データ端末装置を含む端末側装置とは端末側網制御装置
(T−NCU)を介して通信を行なう。センターから端末
側装置への電文方向は“下り”、逆に端末側装置からセ
ンターへの電文方向は“上り”として通信するとすれ
ば、第7図の電文方向と、と、と、と
がペアになっており、“下り”に対して必ず“上り”を
返している。ところが、センターと端末側装置との間で
直接通信し、T−NCUはその電文内容を参照せず通過さ
せるだけのスルーモード(第7図のと、とに相
当)においては、常に電文の上り下りがペアになるとは
限らない。これを第8図を参照して説明する。
In the figure, a center including a host computer and a terminal-side device including a data terminal device communicate with each other via a terminal-side network control unit (T-NCU). Assuming that the communication from the center to the device on the terminal side is "down" and the communication from the device on the terminal to the center is "up", the message direction in Fig. 7 is paired with. It always returns "up" for "down". However, in the through mode (corresponding to and in Fig. 7) in which the T-NCU communicates directly between the center and the terminal side device and the T-NCU simply passes without referring to the contents of the message, the T-NCU always goes up the message. Downlinks are not always paired. This will be described with reference to FIG.

第8図は、通信終了電文に対して通信方向を切換えて
も上り電文エラーとなるプロトコル図である。
FIG. 8 is a protocol diagram in which an upstream message error occurs even if the communication direction is switched with respect to the communication end message.

図において、電文方向と、と、とが上り
下りのペアで対応し、特に、、およびはスルーモ
ードに対応する。今、電文をセンターが端末側装置に
送信する通信終了を示す終了電文とし、また端末側装置
は終了電文を受信すると応答電文を返さないとする。し
がってセンターから端末側装置へ終了電文である下り電
文が送信されると、上り電文は端末側装置からセン
ターへ送信されない。
In the figure, the message direction, and correspond to an up / down pair, and in particular, and correspond to the through mode. Now, it is assumed that the telegram is an end telegram indicating the end of communication that the center sends to the terminal side device, and that the terminal side device does not return a response telegram when receiving the end telegram. Therefore, when the downlink message which is the end message is transmitted from the center to the terminal device, the uplink message is not transmitted from the terminal device to the center.

[発明が解決しようとする課題] 上述のように、従来のデータ通信システムのT−NCU
はスルーモード時にセンターと端末側装置との間で直接
通信されるスルー電文についてはその内容を全く参照せ
ず通過させるよう動作する。そのためT−NCUはスルー
モード時、センターから端末側装置へ送られた電文が終
了電文であるか否か判断できないので、終了電文送信後
も通信方向を切換えて送られてくるはずのない応答電文
(第8図の上り電文)を待つような状態が発生する。
そこで、T−NCUは応答電文が送信されて来ないこと
に応じて、端末側装置の応答エラーと認識し、エラー処
理を行ない、その結果通信回線を切断してしまうという
問題があった。
[Problems to be Solved by the Invention] As described above, the T-NCU of the conventional data communication system is used.
Operates to refer to the contents of a through message directly communicated between the center and the terminal device in the through mode without referring to the contents. Therefore, the T-NCU cannot judge whether the message sent from the center to the terminal side device is the end message in the through mode, so the response message that should not be sent by switching the communication direction even after sending the end message. A state occurs such that it waits for (the upstream message in FIG. 8).
Therefore, there is a problem that the T-NCU recognizes a response error of the terminal device in response to the fact that the response message is not transmitted, performs error processing, and consequently disconnects the communication line.

また、上述の問題を解決するために、T−NCUがスル
ー電文の内容を確認するという方法が考えられる。これ
を第9図を参照して説明する。
Further, in order to solve the above-mentioned problem, a method in which the T-NCU confirms the content of the through message can be considered. This will be described with reference to FIG.

第9図は、電文蓄積型のT−NCUの通信プロトコル図
である。
FIG. 9 is a communication protocol diagram of a message storage type T-NCU.

第9図において、下り電文およびならびに上り電
文は本来T−NCUを通過するスルー電文である。T−N
CUはスルー電文を受信すると電文内容を一旦T−NCU内
部に蓄積し、その内容を確認した後送信すると想定す
る。したがって下り電文およびについては一旦蓄積
し、下り電文 して端末側装置へ送信し、同様に上り電文については
上り電文 してセンターへ送信するような電文蓄積の方法をとるこ
とも考えられる。しかしこの方法では、常にスルー電文
をT−NCUが蓄積し確認する形態をとっているため通信
時間がかかりすぎる。さらに、T−NCUは全く無関係の
電文を内部に蓄積する必要があるので、上り下り電文長
に相当分の記憶容量を備える必要がある。そのため、T
−NCUの負荷が増大し、通信コストも高くなるという問
題がある。
In FIG. 9, the downlink message and the uplink message are through messages that originally pass through the T-NCU. TN
It is assumed that when the CU receives the through message, it temporarily stores the message contents inside the T-NCU, confirms the contents, and then sends the message. Therefore, the downlink message and And send it to the device on the terminal side. It is also conceivable to use a method of storing electronic messages that is then transmitted to the center. However, in this method, since the T-NCU always stores and confirms the through message, the communication time is too long. Furthermore, since the T-NCU needs to store completely unrelated telegrams inside, it is necessary to provide a storage capacity corresponding to the length of the up and down telegrams. Therefore, T
-There is a problem that the load of the NCU increases and the communication cost also increases.

さらに、他の解決方法として、T−NCUはスルーモー
ド時においても常に通過する電文を監視するという方法
がある。これは、前述のようにスルー電文を内部に一旦
記憶し、その後に確認するという方法ではないので、T
−NCUには、電文長相当分の記憶容量は不要であるが、
極めて高速な処理機能が要求される。そのためT−NCU
は非常に高価な主制御装置を備えて高速に動作する必要
がある。また、前述のスルー電文蓄積の方法同様に、T
−NCUは予め終了電文などの内容を知っておく必要があ
るので、端末側装置などの仕様変更時ならびに終了電文
の仕様変更時にはT−NCUもそれに準じた仕様変更が必
要となる。したがってメンテナンス性に劣り、メンテナ
ンスコストが高くなるという問題がある。
Further, as another solution, there is a method in which the T-NCU constantly monitors a telegram passing through even in the through mode. This is not the method of temporarily storing the through message inside and confirming it afterwards as described above.
-The NCU does not require a storage capacity equivalent to the message length,
An extremely high-speed processing function is required. Therefore T-NCU
Must operate at high speed with a very expensive main controller. Further, as in the case of the above-mentioned through message accumulation, T
-Since the NCU needs to know the contents of the termination message in advance, the T-NCU also needs to change the specifications when the specifications of the terminal device or the like are changed and when the specifications of the termination message are changed. Therefore, there is a problem that the maintainability is poor and the maintenance cost is high.

それゆえに本発明の目的は、網制御装置を通過し、セ
ンターと端末側装置間で直接に電文の送受信が行なわれ
る場合でも、通信終了などの内容を含む電文がセンター
から端末側装置へ送信されたことに応じて、継続して次
の通信処理を行なうことのできるデータ通信システムを
提供することである。
Therefore, an object of the present invention is to transmit a message including contents such as communication completion from the center to the terminal device even when the message is transmitted and received directly between the center and the terminal device through the network control device. Accordingly, it is an object of the present invention to provide a data communication system capable of continuously performing the next communication process.

[課題を解決するための手段] 本発明にかかるデータ通信システムは、センターと複
数のデータ端末装置とが網制御装置を介して双方向に通
信接続され、センターから網制御装置を通過させデータ
端末装置側へ送信するスルー電文にデータ端末装置側か
らの応答を必要とする応答必要スルー電文およびデータ
端末装置側からの応答を不要とする応答不要スルー電文
を含み、センターが網制御装置に送信する電文に網制御
装置からの応答を必要とする指令電文を含んで通信する
データ通信システムであって、 前記センターは、前記応答不要スルー電文と前記指令
電文とを連結して送信する連結電文送信手段を備え、 前記網制御装置は、送信された前記連結電文を受信し
て前記応答不要スルー電文と前記指令電文とに分割し、
分割された前記応答不要スルー電文をデータ端末装置側
へ送信し、分割された前記指令電文を解読してセンター
に応答する手段を備えて構成される。
[Means for Solving the Problem] In a data communication system according to the present invention, a center and a plurality of data terminal devices are bidirectionally connected via a network control device, and the data terminal is allowed to pass through the network control device from the center. The center sends to the network control device, including the response required through message that requires a response from the data terminal device side and the response unnecessary through message that does not require a response from the data terminal device side in the through message transmitted to the device side. A data communication system for communicating by including a command message requiring a response from a network control device in a message, wherein the center connects the response unnecessary through message and the command message and transmits the message. The network control device receives the transmitted connection message and divides it into the response unnecessary through message and the command message,
It is provided with means for transmitting the divided response-free through message to the data terminal device side, decoding the divided command message and responding to the center.

[作用] 本発明にかかるデータ通信システムは上述のように構
成されるので、センターからデータ端末装置側へ送信さ
れる応答不要スルー電文に対するデータ端末装置側から
の応答電文を待つ時間が省ける。また、応答不要スルー
電文を送信後も通信回線を切断することなくセンターと
データ端末装置側とのデータ通信を継続して行なうこと
ができる。
[Operation] Since the data communication system according to the present invention is configured as described above, it is possible to save time for waiting for a response message from the data terminal device side for a response unnecessary through message transmitted from the center to the data terminal device side. In addition, even after the response-free through message is transmitted, the data communication between the center and the data terminal device side can be continued without disconnecting the communication line.

[実施例] 以下、本発明の一実施例について第1図ないし第6図
を参照して詳細に説明する。
[Embodiment] An embodiment of the present invention will be described in detail below with reference to FIGS. 1 to 6.

第1図は、本発明の一実施例のデータ通信システムの
システム構成図である。
FIG. 1 is a system configuration diagram of a data communication system according to an embodiment of the present invention.

第1図に示すデータ通信システムは、一例としてノー
リンギング方式を用いたテレメータシステムを挙げてい
る。
The data communication system shown in FIG. 1 exemplifies a telemeter system using a no ringing method.

一般にテレメータシステムとは、遠く離れた地点にあ
る測定の対象をセンサなどにより測定し、その測定値を
電気信号に変換してセンターへ送信し、測定値の収集な
どを行なう遠隔検針または遠隔計測システムを指す。セ
ンターでは、収集したデータの記録、あるいはデータを
情報処理装置に入力し、データの統計・分析など必要な
処理を行なう。第1図に示すテレメータシステムは、電
気・ガス・水道などの検針を通信回線を利用して遠隔地
から自動的に計測、収集する遠隔検針システムである。
このシステムは、人件費の高騰と労働力の確保難の解消
策などにより、人手検針の代替手段として着目されてい
る。このテレメータシステムの通信回線は、既設の加入
電話回線を利用するが、ノーリンギングトランク(電鈴
を利用しない交換機)を用いたノーリンギング方式を採
用している。
Generally, a telemeter system is a remote meter reading or remote measurement system that measures a measurement target at a distant point with a sensor, converts the measured value into an electric signal and sends it to the center, and collects the measured values. Refers to. The center records the collected data or inputs the data to the information processing device and performs necessary processing such as data statistics and analysis. The telemeter system shown in FIG. 1 is a remote meter reading system that automatically measures and collects meter readings of electricity, gas, water, etc. from a remote location using a communication line.
This system is attracting attention as an alternative to manual meter reading due to measures such as rising labor costs and difficulty in securing labor. Although the existing subscriber telephone line is used as the communication line of this telemeter system, a no ringing system using a no ringing trunk (exchanger that does not use electric bells) is adopted.

第1図において、ノーリンギング方式のテレメータシ
ステムはセンター側とデータ端末装置側とを含む。セン
ター側は、データ端末装置側から収集したデータについ
ての各種処理を行なうホストコンピュータ1、センター
側網制御装置(以下、C−NCUと略す)2およびセンタ
ー側に接続される交換局(LSと略す)3を含む。一方、
データ端末装置側は、端末側に接続されるLS4、ノーリ
ンギングトランク5、T−NCU6、インターフェイス部が
異なるメータ・センサ7および8、ならびに宅内電話機
9を含む。センター側のホストコンピュータ1とC−NC
U2は接続線10を介して接続され、C−NCU2とLS3は電話
回線11を介して接続される。また、データ端末装置側の
T−NCU6とメータ・センサ7および8ならびに宅内電話
機9は接続線14を介して接続され、LS4とT−NCU6は電
話回線13を介して接続されるとともに、LS4はノーリン
ギングトランク5とインターフェイス線15および16を介
して接続される。さらに、センター側とデータ端末装置
側とは、局間中継線12を介して相互に接続される。
In FIG. 1, the no-ringing type telemeter system includes a center side and a data terminal device side. The center side has a host computer 1 for performing various processes on data collected from the data terminal device side, a center side network control device (hereinafter abbreviated as C-NCU) 2, and a switching center (abbreviated as LS) connected to the center side. ) 3 is included. on the other hand,
The data terminal device side includes an LS4 connected to the terminal side, a no ringing trunk 5, a T-NCU 6, meter sensors 7 and 8 having different interface units, and a home telephone 9. Center side host computer 1 and C-NC
U2 is connected via a connecting line 10, and C-NCU2 and LS3 are connected via a telephone line 11. Further, the T-NCU 6 on the data terminal device side, the meter sensors 7 and 8 and the home telephone 9 are connected via a connection line 14, the LS4 and the T-NCU 6 are connected via a telephone line 13, and the LS4 is It is connected to the no-ringing trunk 5 via interface lines 15 and 16. Further, the center side and the data terminal device side are connected to each other via an interoffice relay line 12.

上述のように、メータ・センサ7および8で検針ある
いは検知されたデータは、ノーリンギング方式の通信網
を経由してホストコンピュータ1に与えられる。
As described above, the data detected or detected by the meter sensors 7 and 8 is given to the host computer 1 via the communication network of the no ringing system.

次に、第1図に示すT−NCU6の機能とその構成につい
て第2図を参照して説明する。
Next, the function and configuration of the T-NCU 6 shown in FIG. 1 will be described with reference to FIG.

第2図において、T−NCU6は装置外部に接続されるメ
ータ・センサ7および8ならびに宅内電話機9の接続切
換を含む各種制御を行ない、並行して電話回線13を介し
ての信号の入出力制御を行なうような機能を含む。詳細
に説明するならば、T−NCU6は装置全体を制御する主制
御装置605、メータ・センサ7および8との入出力を制
御するインターフェイス回路606および607、主制御装置
605を初期状態に設定するためのリセット回路608、主制
御装置605に動作の基準クロック信号を与える発信回路6
09および電源回路610を含む。またT−NCU6は宅内電話
機9との接続切換を行なう接続切換回路612、宅内電話
機9のフックスイッチ作動状態を検出するオフフック検
出回路611およびキャリア検出端子CDを備え電話回線13
と主制御装置605とのデータ入出力を制御するモデム613
を含む。さらに、T−NCU6は16Hz呼出信号検出回路60
1、整流回路602、オフフック制御回路603およびPB(プ
ッシュボタンの略)送受信回路604を含む。16Hz呼出信
号検出回路601は、センター側からの呼出信号(通常16H
z)を検出し、その検出信号を主制御回路605に与える。
In FIG. 2, the T-NCU 6 performs various controls including connection switching of the meter / sensors 7 and 8 and the home telephone 9 which are connected to the outside of the device, and in parallel, controls the input / output of signals via the telephone line 13. Including the function to do. More specifically, the T-NCU 6 is a main controller 605 that controls the entire apparatus, interface circuits 606 and 607 that control input / output with the meter sensors 7 and 8, and a main controller.
A reset circuit 608 for setting the 605 to an initial state, and an oscillator circuit 6 for giving a reference clock signal for operation to the main controller 605.
09 and power supply circuit 610 are included. Further, the T-NCU 6 is equipped with a connection switching circuit 612 for switching the connection with the home telephone 9, an off-hook detection circuit 611 for detecting the hook switch operating state of the home telephone 9, and a carrier detection terminal CD, and the telephone line 13 is provided.
613 for controlling data input / output between the main controller 605 and
including. Further, the T-NCU 6 is a 16 Hz call signal detection circuit 60.
1, a rectifier circuit 602, an off-hook control circuit 603, and a PB (abbreviation of push button) transmission / reception circuit 604. The 16Hz ringing signal detection circuit 601 is a ringing signal from the center side (usually 16H
z) is detected and the detection signal is given to the main control circuit 605.

次に、上述のT−NCU6の処理動作について説明する。 Next, the processing operation of the above-mentioned T-NCU 6 will be described.

第2図のT−NCU6において、たとえば、メータ・セン
サ7および8などから起呼要求があると、主制御装置60
5はインターフェイス回路606および607を介してこの起
呼要求を受理する。これに応じて、主制御装置605は、
オフフック検出回路611のオフフック検出信号を入力
し、宅内電話機9を電話回線13より切離すように制御す
る。詳細に説明するならば、宅内電話機9がオフフック
していないことをオフフック検出回路611が検出する
と、応じて主制御装置605は接続切換回路612により宅内
電話機9を電話回線13から切離す。このことにより、メ
ータ・センサ7および8からの出力信号が宅内電話機9
を介して外部に漏れることが防止できる。一方、メータ
・センサ7および8から起呼要求があったとき、宅内電
話機9がオフフック(通話中)していれば、通話状態が
終了しオフフックしていないことが検出されるまで、メ
ータ・センサ7および8からの起呼要求は待ち状態とな
る。
In the T-NCU 6 shown in FIG. 2, when a call request is issued from, for example, the meter sensors 7 and 8, the main control unit 60
5 accepts this call request via interface circuits 606 and 607. In response, main controller 605
The off-hook detection signal of the off-hook detection circuit 611 is input, and the home telephone 9 is controlled to be disconnected from the telephone line 13. More specifically, when off-hook detection circuit 611 detects that home telephone 9 is not off-hook, main controller 605 accordingly disconnects home telephone 9 from telephone line 13 by connection switching circuit 612. As a result, the output signals from the meter sensors 7 and 8 are transmitted to the home telephone 9
It can be prevented from leaking to the outside through. On the other hand, when the home telephone 9 is off-hook (during a call) when the call request is made from the meter sensors 7 and 8, the meter sensor is detected until the call state ends and it is detected that the call is not off-hook. Call requests from 7 and 8 are in a waiting state.

その後、メータ・センサ7および8の起呼要求に応じ
て、主制御装置605が出力する選択信号がダイヤルパル
スの場合は、数字の数だけオフフック制御回路603が“O
N"、“OFF"動作を繰返して信号路を断続し、整流回路60
2を介してC−NCU2を選択するための選択信号を電話回
線13に送出するよう制御する。また、選択信号がPB信号
の場合は、オフフック制御回路603はON"状態のままとし
て、PB送受信回路604はデュアルトーンの信号を発信
し、整流回路602を介して、C−NCU2を選択するための
選択信号を電話回線13に送出するよう制御する。
Then, when the selection signal output from main controller 605 is a dial pulse in response to the call request from meter sensors 7 and 8, off-hook control circuit 603 outputs "O" as many as the number.
The rectifier circuit 60
A control signal for selecting the C-NCU 2 via 2 is transmitted to the telephone line 13. If the selection signal is the PB signal, the off-hook control circuit 603 remains in the ON state, the PB transmission / reception circuit 604 transmits the dual tone signal, and selects the C-NCU2 via the rectification circuit 602. The control signal is sent to the telephone line 13.

次に、上述の選択信号の出力動作により回線リンクが
確立すると、データ端末装置側とセンター側とが接続さ
れる。その後、主制御装置605はモデム613を介して、調
歩同期式でデータ通信を開始する。この場合、T−NCU6
を通過するようなスルー電文は、モデム613、主制御装
置605ならびにインターフェイス回路606および607を介
してメータ・センサ7および8へリアルタイムに出力さ
れる。
Next, when the line link is established by the output operation of the above selection signal, the data terminal device side and the center side are connected. After that, main controller 605 starts data communication via the modem 613 in an asynchronous manner. In this case, T-NCU6
A through telegram that passes through is output to the meter sensors 7 and 8 in real time through the modem 613, the main controller 605, and the interface circuits 606 and 607.

なお、モデム613のキャリア検出端子CDは、モデム613
方向および主制御装置605方向の両方向から信号が与え
られ、応じてキャリア検出信号を出力するように動作す
る。たとえば、受信信号レベルがモデム613の予め規定
した範囲内にあるか否かにより回路状態が“ON"または
“OFF"に変化し、応じてキャリア検出信号レベルを“HI
GH"または“LOW"に設定して出力するよう動作する。
The carrier detection terminal CD of the modem 613 is
Direction and the direction of main controller 605, signals are provided from both directions, and in response, it operates to output a carrier detection signal. For example, the circuit state changes to "ON" or "OFF" depending on whether the received signal level is within a predetermined range of the modem 613, and the carrier detection signal level is changed to "HI" according to the circuit state.
Operates so that it is set to "GH" or "LOW" and output.

次に、第2図の主制御装置605の機能とその構成につ
いて第3図を参照して説明する。
Next, the function and configuration of main controller 605 in FIG. 2 will be described with reference to FIG.

第3図において、主制御装置605は発信回路609の出力
する基準クロック信号に同期して計時するタイマカウン
タ701、CPU(中央処理装置の略)702、CPU702の制御に
基づいて実行されるプログラムを予め記憶するプログラ
ムメモリ704、プログラムメモリ704中のプログラム実行
中に発生するデータまたはプログラム実行に必要とされ
るデータを一時的に記憶するデータメモリ703およびCPU
702と外部装置との入出力制御を行なうI/O制御回路705
を含む。
In FIG. 3, a main control unit 605 is a timer counter 701 that counts in synchronization with a reference clock signal output from a transmission circuit 609, a CPU (abbreviation of central processing unit) 702, and a program executed under the control of a CPU 702. Program memory 704 to be stored in advance, data memory 703 and CPU for temporarily storing data generated during program execution in program memory 704 or data required for program execution
I / O control circuit 705 that controls input / output between the 702 and external devices
including.

第4図は、第1図に示すデータ通信システムの2連結
電文を含むプロトコル図である。
FIG. 4 is a protocol diagram including two-connection telegrams of the data communication system shown in FIG.

第4図において、センターはホストコンピュータ1に
相当し、端末側網制御装置はT−NCU6に相当し、端末側
装置はメータ・センサ7および8に相当すると想定す
る。図においては、ホストコンピュータ1とT−NCU6と
の上り下りの電文およびの送受信後、ホストコンピ
ュータ1とメータ・センサ7および8とのスルー電文
およびの送受信があり、その後2連結電文Xがホスト
コンピュータ1から送信されて、該通信処理は終了し、
その後の電文の送信により次の通信処理が開始される
状態となることを示す。2連結電文Xは、ホストコンピ
ュータ1からメータ・センサ7および8への終了電文
およびT−NCU6への指令電文を含み、終了電文はT
−NCU6を通過するスルー電文である。また指令電文の
受信に応じて、T−NCU6は応答電文をホストコンピュ
ータ1へ送信する。通信終了時などに送信される2連結
電文Xについて、第5図を参照して説明を加える。
In FIG. 4, it is assumed that the center corresponds to the host computer 1, the terminal side network control device corresponds to the T-NCU 6, and the terminal side device corresponds to the meter sensors 7 and 8. In the figure, after the up and down telegram and the transmission and reception of the host computer 1 and the T-NCU 6 are performed, the through telegram and the transmission and reception of the host computer 1 and the meter sensors 7 and 8 are performed, and then the 2-connected telegram X is the host computer. 1, the communication process ends,
It indicates that the next communication process is started by the subsequent transmission of the electronic message. The 2-connection telegram X includes a termination telegram from the host computer 1 to the meter / sensors 7 and 8 and a command telegram to the T-NCU 6, and the termination telegram is T
-It is a through message that passes through NCU6. Further, in response to the reception of the command message, the T-NCU 6 sends a response message to the host computer 1. The two-link telegram X transmitted at the end of communication will be described with reference to FIG.

第5図は、本発明の一実施例の2連結電文Xの構成を
説明する図である。
FIG. 5 is a diagram illustrating the configuration of the two-link telegram X according to the embodiment of the present invention.

図において、2連結電文Xは、前半にメータ・センサ
7および8へスルーする電文を含み、後半にT−NCU6へ
の指令電文を含む。各電文は、マークM、スペースSお
よび制御命令やデータを表わすデータDからなる。した
がって、T−NCU6はマークM、スペースSの一定の繰返
しパターンを検知することにより受信電文はスルー電文
か指令電文かを判別できるので、2連結電文Xの前半を
スルーモードの延長としてメータ・センサ7および8へ
スルーし、後半はT−NCU6への指令電文として解読する
ことができる。
In the figure, the two-connection telegram X includes a telegram to the meter sensors 7 and 8 in the first half, and a command telegram to the T-NCU 6 in the latter half. Each message includes a mark M, a space S, and data D representing a control command and data. Therefore, the T-NCU 6 can determine whether the received message is the through message or the command message by detecting the constant repeated pattern of the mark M and the space S. Therefore, the first half of the two-connected message X is an extension of the through mode and the meter sensor is used. It is possible to pass through to 7 and 8 and interpret the latter half as a command message to the T-NCU 6.

第6図は、第5図に示す2連結電文Xの処理手順を示
すフロー図である。
FIG. 6 is a flow chart showing a processing procedure of the two-connection telegram X shown in FIG.

図示する処理フローは、T−NCU6がスルーモード状態
において、ホストコンピュータ1からの下り電文が2連
結電文Xであるか否かを判別するための手順を示す。こ
の処理フローは、予めプログラムとしてプログラムメモ
リ704に記憶されCPU702の制御に基づいて実行される。
The processing flow shown in the figure shows a procedure for determining whether or not the downlink message from the host computer 1 is the two-connection message X when the T-NCU 6 is in the through mode. This processing flow is stored in the program memory 704 in advance as a program and executed under the control of the CPU 702.

次に、第6図のT−NCU6の2連結電文の処理手順につ
いて第1図ないし第6図を参照して説明する。なお、伝
送制御手順については、予め各装置間で決められている
と想定する。
Next, the processing procedure of the two-link message of the T-NCU 6 of FIG. 6 will be described with reference to FIGS. 1 to 6. It is assumed that the transmission control procedure is determined in advance between the devices.

まず、ステップS1(図中ではS1と略す)において、CP
U702は送受信される電文が第4図のスルー電文、お
よびの手順にあることを確認する。この確認により、
現在スルーモードかどうか判別できる。すなわち、第5
図のスルー電文の構成が2回連続して検出され、かつ3
回目の受信電文がスルー電文で開始されていると判別す
れば、次のステップS2の処理に移り、スルー電文の終了
のスペースS(第5図のA区間)を探す。しかし、スル
ーモードでないと判別すればT−NCU6が解読すべき電文
の手順(第4図の電文など)になっているはずである
から、ステップS6のT−NCUへの指令電文解読手順へ移
る。
First, in step S1 (abbreviated as S1 in the figure), CP
The U702 confirms that the transmitted / received message is in the procedure of the through message in FIG. By this confirmation,
It is possible to determine whether it is currently in through mode. That is, the fifth
The configuration of the through message in the figure is detected twice in succession, and 3
If it is determined that the received message for the first time starts with the through message, the process proceeds to the next step S2, and the end space S of the through message (section A in FIG. 5) is searched. However, if it is determined that the T-NCU 6 is not in the through mode, it is supposed that the T-NCU 6 is in the procedure of the message to be decoded (such as the message in FIG. 4). .

ステップS2においては、スルー電文の終了のスペース
S(第5図のA区間)を探す。この場合、スペースSで
なければステップS3に移って、現在のスルーモード処理
を継続し、他の処理たとえば、宅内電話機9のオフフッ
ク検出回路611の信号処理などを経てステップS1に戻
り、以降の処理を繰返す。一方、スペースSが検出され
れば次のステップS4に移り、A区間のスペースSが時間
Ta(たとえは、Ta:90msec)以上続き、電文スペースS
の完了(第5図の点B)を待つ。スペースSの継続時間
Taは、予めデータメモリ703に記憶される。CPU702はデ
ータメモリ703中の時間Taと、タイマカウンタ701の計時
データとを比較し、計時データが時間Taに等しくなった
とき、スルー電文のスペースSの完了点Bが検出される
ことに応じて、処理はステップS4からステップS5に移
る。ステップS5では、スルー電文の完了点Bの検知に応
じて、後半の電文がスルー電文に続くか否かを判別す
る。この電文終了の判別処理は、主制御装置605がキャ
リア検出端子CDから与えられるキャリア検出信号の信号
レベルに基づいて行なう。たとえばキャリア検出信号の
信号レベルが“HIGH"レベルに変化することにより電文
の終了、つまり後半の電文は続かないことが判別でき
る。また、後半の電文、すなわちT−NCU6への指令電文
が続く場合は、A区間のスペースSの終了と同時に点B
から次の電文のマークMが続くことにより判別できる。
したがって、スルー電文に後半の電文が続くか否かは、
スルー電文の直後のマークMが検出されるか否か、また
はキャリア検出信号の信号レベルが“HIGH"レベルに変
化するか否かにより判別できる。上述のようなキャリア
検出信号の信号変化はなく、かつマークMが検知されれ
ば、T−NCU6への指令電文がスルー電文に続いているの
でT−NCU6は、受信する指令電文内容を解読し処理を継
続するように、次のステップS6に移る。また、ステップ
S5で、キャリア検出信号レベルが“HIGH"に変化すれ
ば、スルー電文の後ろに指令電文は続かないので、スル
ー電文の終了に応じて次のステップS7に移る。ステップ
S7では、スルー電文の終了ということで上下の通信方向
を切換え、次に送信される電文を処理する。
In step S2, the space S (section A in FIG. 5) at the end of the through message is searched. In this case, if it is not the space S, the process proceeds to step S3, the current through mode process is continued, the process returns to step S1 through other processes, for example, the signal process of the off-hook detection circuit 611 of the home telephone 9, and the subsequent processes. Repeat. On the other hand, if the space S is detected, the process proceeds to the next step S4, where the space S in the A section is the time.
Ta (for example, Ta: 90 msec) or more continues, message space S
Wait for completion (point B in FIG. 5). Duration of space S
Ta is stored in the data memory 703 in advance. The CPU 702 compares the time Ta in the data memory 703 with the time measurement data of the timer counter 701, and when the time measurement data is equal to the time Ta, the completion point B of the space S of the through message is detected. The process moves from step S4 to step S5. In step S5, in accordance with the detection of the completion point B of the through message, it is determined whether the latter half of the message follows the through message. The process of determining the end of the message is performed by main controller 605 based on the signal level of the carrier detection signal provided from carrier detection terminal CD. For example, when the signal level of the carrier detection signal changes to the “HIGH” level, it is possible to determine that the telegram has ended, that is, the latter half of the telegram will not continue. When the latter half of the telegram, that is, the command telegram to the T-NCU6 continues, the point B is reached at the same time as the end of the space S in the section A
Can be identified by continuing the mark M of the next message.
Therefore, whether or not the latter message follows the through message,
It can be determined by whether or not the mark M immediately after the through message is detected or whether or not the signal level of the carrier detection signal changes to the “HIGH” level. If there is no signal change of the carrier detection signal as described above and the mark M is detected, the command message to the T-NCU 6 follows the through message, so the T-NCU 6 decodes the content of the command message to be received. The process moves to the next step S6 so as to continue the processing. Also step
If the carrier detection signal level changes to "HIGH" in S5, the command message does not follow the through message, so the process moves to the next step S7 depending on the end of the through message. Step
In S7, the upper and lower communication directions are switched by the end of the through message, and the message to be transmitted next is processed.

以上のような手順でスルー電文とT−NCU6への指令電
文との2連結電文Xを処理することができる。したがっ
て、2連結電文Xを用いた処理により、T−NCU6はスル
ーモード時にスルー電文に続く指令電文が解読でき、終
了電文送信後のデータ端末側からの上り電文の待ち状態
から解放される。それゆえに、通信回線を切断すること
もなくスムーズに指令電文に従った次の通信処理に移行
できる。
With the above procedure, it is possible to process the two-connected telegram X of the through telegram and the command telegram to the T-NCU 6. Therefore, by the process using the two-link message X, the T-NCU 6 can decode the command message following the through message in the through mode, and is released from the waiting state for the upstream message from the data terminal side after the end message is transmitted. Therefore, it is possible to smoothly shift to the next communication processing according to the command message without disconnecting the communication line.

なお、本実施例ではデータ端末側からホストコンピュ
ータ1への上り電文(応答)を必要としないスルー電文
として終了電文のみを示したが、これに特定されず、メ
ータ・センサ7および8に関する検針コマンドの電文、
宅内電話機9に関する電話番号設定コマンドの電文、時
刻設定コマンド電文、水道・ガスに関する弁遮断/開放
コマンドまたは流量制限コマンドの電文およびセキュリ
ティ情報読出コマンドの電文などであってもよい。
In the present embodiment, only the end telegram is shown as the through telegram that does not require the upstream telegram (response) from the data terminal side to the host computer 1, but it is not limited to this and the meter reading command for the meter sensors 7 and 8 is not specified. Message of
It may be a telegram of a telephone number setting command relating to the home telephone 9, a time setting command telegram, a valve shutoff / opening command relating to water / gas or a flow rate limiting command and a security information reading command.

[発明の効果] 以上のように、本発明によればセンターから送信され
る応答不要スルー電文に対するデータ端末装置側からの
応答電文の待ち時間が節約でき、通信回線を切断するこ
ともなくデータ通信処理が継続できる。したがって、通
信時間の短縮化が図れる。また、網制御装置は安価な主
制御装置でもよいため、経済性に優れる。さらに、網制
御装置は応答不要スルー電文の形式を予め知っておく必
要がないので、データ端末装置側などの仕様変更に伴な
う仕様変更は必要なく、該通信システムのメンテナンス
コストの低減を図ることができるなどの効果がある。
[Effects of the Invention] As described above, according to the present invention, the waiting time for the response message from the data terminal device side to the response-free through message transmitted from the center can be saved, and the data communication can be performed without disconnecting the communication line. Processing can continue. Therefore, the communication time can be shortened. Further, since the network control device may be an inexpensive main control device, it is excellent in economic efficiency. Furthermore, since the network control device does not need to know the format of the response-free through message in advance, there is no need to change the specifications accompanying the changes in the specifications of the data terminal device side, etc., and the maintenance cost of the communication system is reduced. There is an effect such as being able to.

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

第1図は、本発明の一実施例のデータ通信システムのシ
ステム構成図である。第2図は、第1図に示すT−NCU
の機能構成を示す図である。第3図は、第2図に示す主
制御装置の機能構成を示す図である。第4図は、第1図
に示すデータ通信システム2連結電文を示すプロトコル
図である。第5図は、本発明の一実施例の2連結電文の
構成を説明する図である。第6図は、第5図に示す2連
結電文の処理手順を示すフロー図である。第7図は、上
り下り電文がペアで通信されることを説明するためのT
−NCUの基本プロトコル図である。第8図は通信終了電
文に対して通信方向を切換えても上り電文エラーとなる
プロトコル図である。第9図は、電文蓄積型のT−NCU
の通信プロトコル図である。 図中、1はホストコンピュータ、6は端末側網制御装置
(T−NCU)、7および8はメータ・センサ、605は主制
御装置およびXは2連結電文である。 なお、各図中、同一符号は同一または相当部分を示す。
FIG. 1 is a system configuration diagram of a data communication system according to an embodiment of the present invention. FIG. 2 is a T-NCU shown in FIG.
It is a figure which shows the function structure of. FIG. 3 is a diagram showing a functional configuration of the main control device shown in FIG. FIG. 4 is a protocol diagram showing the data communication system 2 connection message shown in FIG. FIG. 5 is a diagram for explaining the configuration of a two-link message according to one embodiment of the present invention. FIG. 6 is a flow chart showing a processing procedure of the two-connection telegram shown in FIG. FIG. 7 shows T for explaining that the up and down telegrams are communicated in pairs.
FIG. 3 is a basic protocol diagram of NCU. FIG. 8 is a protocol diagram in which an upstream message error occurs even if the communication direction is switched with respect to the communication end message. FIG. 9 shows a T-NCU of the electronic message storage type.
3 is a communication protocol diagram of FIG. In the figure, 1 is a host computer, 6 is a terminal side network control unit (T-NCU), 7 and 8 are meter sensors, 605 is a main control unit and X is a two-link telegram. In each drawing, the same reference numerals indicate the same or corresponding parts.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】センターと複数のデータ端末装置とが網制
御装置を介して双方向に通信接続され、センターから網
制御装置を通過させデータ端末装置側へ送信するスルー
電文にデータ端末装置側からの応答を必要とする応答必
要スルー電文およびデータ端末装置側からの応答を不要
とする応答不要スルー電文を含み、センターが網制御装
置に送信する電文に網制御装置からの応答を必要とする
指令電文を含んで通信するデータ通信システムであっ
て、 前記センターは、前記応答不要スルー電文と前記指令電
文とを連結して送信する連結電文送信手段を備え、 前記網制御装置は、送信された前記連結電文を受信して
前記応答不要スルー電文と前記指令電文とに分割し、分
割された前記応答不要スルー電文をデータ端末装置側へ
送信し、分割された前記指令電文を解読してセンターに
応答する手段を備えた、データ通信システム。
1. A center and a plurality of data terminal devices are bidirectionally connected via a network control device, and a through message sent from the center through the network control device to the data terminal device side is transmitted from the data terminal device side. A command that requires a response from the network control device to the message sent to the network control device by the center, including a response-necessary through message that requires a response and a response-free through message that does not require a response from the data terminal device side. A data communication system including a message, wherein the center includes a connection message transmitting unit that connects and transmits the response-free through message and the command message, and the network control device transmits the transmitted message. A concatenated telegram is received and divided into the response unnecessary through message and the command message, and the divided response unnecessary through message is transmitted to the data terminal device side and divided. Comprising means for responding to the center decodes the command telegram, the data communication system.
【請求項2】前記連結電文はマークとスペースの所定の
繰返しパターンを含む、請求項1に記載のデータ通信シ
ステム。
2. The data communication system according to claim 1, wherein the concatenated message includes a predetermined repeating pattern of marks and spaces.
JP1271379A 1989-10-18 1989-10-18 Data communication system Expired - Fee Related JP2554940B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1271379A JP2554940B2 (en) 1989-10-18 1989-10-18 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1271379A JP2554940B2 (en) 1989-10-18 1989-10-18 Data communication system

Publications (2)

Publication Number Publication Date
JPH03133242A JPH03133242A (en) 1991-06-06
JP2554940B2 true JP2554940B2 (en) 1996-11-20

Family

ID=17499252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1271379A Expired - Fee Related JP2554940B2 (en) 1989-10-18 1989-10-18 Data communication system

Country Status (1)

Country Link
JP (1) JP2554940B2 (en)

Also Published As

Publication number Publication date
JPH03133242A (en) 1991-06-06

Similar Documents

Publication Publication Date Title
EP0260470A2 (en) High speed modem
EP0050451B1 (en) Alarm data concentration and gathering system
JP2554940B2 (en) Data communication system
JPH0683328B2 (en) Automatic data communication method
JPH08194023A (en) Wireless automatic meter inspection system
JPH10290485A (en) Radio metering system
JPS6256710B2 (en)
JP4037566B2 (en) Centralized transmission device, data collection system, and automatic meter reading system for data collection system
JP3706311B2 (en) Communications system
JPH0690298A (en) Radio system for automatic gauge examination
JP2001237985A (en) Communication system
JP2668149B2 (en) Terminal network controller
JP3302577B2 (en) Terminal network controller
JPH07184274A (en) Radio system for automatic metering
JP2731419B2 (en) Additional device for terminal side network controller
JPS62171349A (en) Communication control equipment
JP2837523B2 (en) Terminal network controller
JP2911714B2 (en) Incoming function switching device
JPH05252295A (en) Center side network controller
JPS6313385B2 (en)
KR960007579B1 (en) Leased line communications apparatus
JP3338613B2 (en) Line terminal equipment
JPS6318846A (en) Communication controller
JPH08139820A (en) Data communication system
JPH0244431B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees