JPH0683328B2 - Automatic data communication method - Google Patents

Automatic data communication method

Info

Publication number
JPH0683328B2
JPH0683328B2 JP63269164A JP26916488A JPH0683328B2 JP H0683328 B2 JPH0683328 B2 JP H0683328B2 JP 63269164 A JP63269164 A JP 63269164A JP 26916488 A JP26916488 A JP 26916488A JP H0683328 B2 JPH0683328 B2 JP H0683328B2
Authority
JP
Japan
Prior art keywords
communication
terminal side
length
communication protocol
control code
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
JP63269164A
Other languages
Japanese (ja)
Other versions
JPH02114756A (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.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP63269164A priority Critical patent/JPH0683328B2/en
Publication of JPH02114756A publication Critical patent/JPH02114756A/en
Publication of JPH0683328B2 publication Critical patent/JPH0683328B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〈産業上の利用分野> 本発明は、加入電話回線を利用した自動データ通信方式
に関する。
The present invention relates to an automatic data communication system using a subscriber telephone line.

〈従来技術〉 電話回線を介して端末側装置とセンタ側装置との間でデ
ータ通信を行うようにした自動データ通信方式において
は、端末発呼通信方式とノーリンギング通信方式の2種
類がある。
<Prior Art> There are two types of automatic data communication systems in which data communication is performed between a terminal-side device and a center-side device via a telephone line: a terminal calling communication system and a no ringing communication system.

端末発呼通信方式は、メータ・センサ等の端末側装置よ
り発呼があると、端末側網制御装置(T−NCU)が交換
局に選択信号を送出し、センター側網制御装置(T−NC
U)が発呼されデータ通信を行うものである。
In the terminal call communication system, when a call is made from a terminal-side device such as a meter or sensor, the terminal-side network control unit (T-NCU) sends a selection signal to the switching center and the center-side network control unit (T-NCU). NC
U) is called and performs data communication.

ノーリンギング通信方式は、端末側装置を収容する交換
局にノーリンギングトランクを設置し、センタ側装置か
ら一度ノーリンギングトランクを呼び出し保持し、次に
ノーリンギングトランクが、端末側装置を接続された電
話回線を選択して電話回転の極性を反転し、16Hz呼び出
し信号以外の宅内電話機のベルには不感応である、ある
交流信号を送出して端末側装置を呼び出すようにしたも
のである。
In the no-ringing communication method, a no-ringing trunk is installed in the exchange that accommodates the terminal-side device, the center-side device calls the no-ringing trunk once, and then the no-ringing trunk selects the telephone line to which the terminal-side device is connected. By reversing the polarity of the telephone rotation, the terminal side device is called by sending an AC signal that is insensitive to the bell of the home telephone other than the 16Hz calling signal.

これらは、どちらが先に回線にリンクして行くかの違い
であつて、リンクが確立し通信が始まれば同じ手順にな
るが、まず複数の端末側装置の中でどれを選択するか等
の情報交換が通信に先だつて必要であり、これをT−NC
U制御コードなるもので指示していた。
These are the differences in which goes to the line first, and the procedure is the same when the link is established and communication starts, but first, information such as which to select among multiple terminal side devices Exchange is necessary prior to communication, and this is T-NC
I was instructed with what is called U control code.

このT−NCU制御コードを解読する手段には、次の二種
類がある。
There are the following two types of means for decoding the T-NCU control code.

第一は、あらかじめ端末側網制御装置と通信速度および
ビツト長を決めておくものである。第二は、“ATコマン
ド”なる方式を使つて通信速度、キヤラクターフオーマ
ツトを自動判定するものである。
First, the communication speed and bit length are determined in advance with the terminal side network control device. The second is to automatically determine the communication speed and character format using the "AT command" method.

〈発明が解決しようとする問題点〉 しかし、前者(第一のコード解読手段)の場合には、通
信プロトコルが固定になるので、端末側網制御装置に接
続された複数の端末側装置は、同じ通信速度、ビツト長
をもつことが必要であり、異なつたものを持つ端末側装
置は接続できなくなる。
<Problems to be Solved by the Invention> However, in the case of the former (first code decoding means), since the communication protocol is fixed, a plurality of terminal side devices connected to the terminal side network control device are It is necessary to have the same communication speed and bit length, and it becomes impossible to connect terminal devices having different ones.

もし、異なつた通信速度、キヤラクター当りのビツト長
の端末側装置を接続する場合は、それぞれの通信専用の
端末側網制御装置及びセンター側網制御装置が必要であ
り、各々に専用の端末側及びセンター側網制御装置を設
けることは、費用の面からも、保守の面からも非常に不
利であつた。
When connecting terminal devices with different communication speeds and bit lengths per character, a terminal-side network control device dedicated to each communication and a center-side network control device are required. The provision of the center-side network control device was extremely disadvantageous in terms of cost and maintenance.

また後者(第二のコード解読手段)の場合には、通信速
度、キヤラクターフオーマツトを判定するために、スタ
ートビツト長のわずかな差を検出する必要があり、低速
度の主制御装置では困難である。仮に、これを実現しよ
うとすれば非常に高価なものになる。しかも、キヤラク
ターフオーマツトもBELL仕様のみを考慮しているため、
9または10ビツトのいずれかしか識別できず汎用性に乏
しいといつた問題点があつた。
In the latter case (second code decoding means), it is necessary to detect a slight difference in the start bit length in order to judge the communication speed and character format, which is difficult for a low speed main controller. is there. If this were to be realized, it would be very expensive. Moreover, because the CHARACTER FOMA TUT considers only BELL specifications,
There was a problem in that only 9 or 10 bits could be identified and the versatility was poor.

そこで、本発明は、上記問題点に鑑み、一台の端末側網
制御装置で通信速度、ビツト長の異なつた複数の端末側
装置との通信を安価に行ない得る自動データ通信方式の
提供を目的とする。
Therefore, in view of the above problems, an object of the present invention is to provide an automatic data communication method capable of inexpensively performing communication with a plurality of terminal side devices having different communication speeds and bit lengths by one terminal side network control device. And

〈問題点を解決するための手段〉 本発明による問題点解決手段は、第1図〜第6図に示す
如く、端末側装置7,8からの端末発呼によりデータ通信
を行うか、または電話局の交換機4に接続されたノーリ
ンギングトランク5を利用して宅内電話機9を鳴動させ
ることなく端末側網制御装置6を接続してデータ通信を
行う自動データ通信方式において、センター側装置と端
末側網制御装置6との通信プロトコルとして非同期ベー
シツク手順を使用して、端末側網制御装置6に送信する
T−NCU制御コード内に、キヤラクターフオーマツトを
構成する1ビツトの通信速度とその通信における1キヤ
ラクターの長さを示す通信プロトコル制御コードを入
れ、該通信プロトコル制御コードは通信プロトコルの最
長スペース長より長いマーク及びスペースを構成され、
端末側網制御装置6によりこの通信プロトコル制御コー
ドの通信速度指示用スペースおよびキヤラクター長さ指
示用スペースの各スペース長を測定し、測定結果と予め
記憶された基準データとから通信速度、ビツト長を決定
するものである。
<Means for Solving Problems> As shown in FIGS. 1 to 6, the means for solving problems according to the present invention performs data communication by calling a terminal from the terminal side devices 7 and 8, or a telephone. In the automatic data communication system in which the no-ringing trunk 5 connected to the exchange 4 of the central office is used to connect the terminal side network control device 6 without ringing the home telephone 9 to perform data communication, the center side device and the terminal side network are connected. In the T-NCU control code transmitted to the terminal side network control device 6 by using the asynchronous basic procedure as the communication protocol with the control device 6, the communication speed of one bit constituting the charactor format and one charactor in the communication. A communication protocol control code indicating the length of the communication protocol is inserted, and the communication protocol control code defines a mark and a space longer than the maximum space length of the communication protocol. Formed,
The terminal side network control device 6 measures the space lengths of the communication speed instruction space and the character length instruction space of this communication protocol control code, and the communication speed and bit length are calculated from the measurement result and the prestored reference data. To decide.

〈作用〉 上記問題点解決手段において、データ通信を開始するに
当たつては、端末側網制御装置6は、センター側網制御
装置2より送られてきたT−NCU制御コード内の通信プ
ロトコル制御コードの前半のスペース長Tsと後半のスペ
ース長Tbを測定し、通信速度および1キヤラクタの長さ
を得る。
<Operation> In the above problem solving means, when starting data communication, the terminal side network control device 6 controls the communication protocol in the T-NCU control code sent from the center side network control device 2. The space length Ts in the first half and the space length Tb in the second half of the code are measured to obtain the communication speed and the length of one charactor.

従つて、非常に安価な一台の端末側網制御装置6で通信
プロトコルの異なつた端末側装置7,8と通信が可能とな
り、それぞれの通信プロトコル専用の端末側及びセンタ
ー側網制御装置を設置していた場合に比べて、費用の面
からも保守の面からも非常に有利となる。
Therefore, one very inexpensive terminal side network control device 6 can communicate with the terminal side devices 7 and 8 having different communication protocols, and the terminal side and center side network control devices dedicated to the respective communication protocols are installed. It is very advantageous in terms of cost and maintenance as compared with the case where it is done.

〈実施例〉 以下、本発明の一実施例を第1図〜第6図に基づいて説
明する。
<Embodiment> An embodiment of the present invention will be described below with reference to FIGS.

第1図は本発明に係る自動データ通信方式の一実施例を
示すシステム構成のブロツク図、第2図は同じくT−NC
U制御コードの構成図、第3図は同じく端末側網制御装
置(T−NCU)の主制御装置の機能ブロツク図、第4図
は同じく通信プロトコル制御コードを判別する手順を示
すフローチヤート図、第5図は同じく端末側網制御装置
の詳細ブロツク図、第6図は同じく端末側網制御装置の
主制御装置の詳細ブロツク図である。
FIG. 1 is a block diagram of a system configuration showing an embodiment of an automatic data communication system according to the present invention, and FIG. 2 is the same T-NC.
U control code configuration diagram, FIG. 3 is a functional block diagram of the main control unit of the terminal side network control unit (T-NCU), and FIG. 4 is a flow chart diagram showing the procedure for determining the communication protocol control code. FIG. 5 is a detailed block diagram of the terminal side network controller, and FIG. 6 is a detailed block diagram of the main controller of the terminal side network controller.

図示の如く、本発明に係る自動データ通信方式は、端末
側装置7,8からの端末発呼によりデータ通信を行うか、
または電話局の交換機4に接続されたノーリンギングト
ランク5を利用して宅内電話機9を鳴動させることなく
端末側網制御装置6を接続してデータ通信を行うもの
で、センター側装置から端末側網制御装置6に送信する
T−NCU制御コード内に、マーク及びスペースで構成さ
れた通信プロトコル制御コードを入れ、この通信プロト
コル制御コードを端末側網制御装置6で解読し、通信速
度、ビツト長を決定するものである。
As shown in the figure, the automatic data communication system according to the present invention, whether the data communication is performed by calling a terminal from the terminal side device 7 or 8,
Alternatively, the no-ringing trunk 5 connected to the exchange 4 of the central office is used to perform data communication by connecting the terminal side network control device 6 without ringing the home telephone 9, and the center side device controls the terminal side network. A communication protocol control code composed of a mark and a space is put in the T-NCU control code transmitted to the device 6, and this communication protocol control code is decoded by the terminal side network control device 6 to determine the communication speed and bit length. To do.

前記端末側網制御装置6は、第3図の如く、通信プロト
コル制御コードの通信速度指示用スペースの長さを測定
する通信速度指示用スペース長さ測定手段と、該測定手
段からの測定結果と予め記憶されている速度基準データ
とから通信速度を判別する通信速度解読手段と、キヤラ
クター長さの指示用スペースの長さを測定するキヤラク
ター長指示用スペース長さ測定手段と、該測定手段から
の測定結果と予め記憶されているキヤラクター長基準デ
ータとからキヤラクター長さを判別するキヤラクター長
さ解読手段とが設けられている。
As shown in FIG. 3, the terminal side network control device 6 measures a communication speed instruction space length measuring means for measuring the length of the communication speed instruction space of the communication protocol control code, and a measurement result from the measuring means. Communication speed decoding means for determining the communication speed from the speed reference data stored in advance, charactor length indicating space length measuring means for measuring the length of the space for indicating the charactor length, and the measuring means from the measuring means. A charactor length decoding means for discriminating the charactor length from the measurement result and the prestored charactor length reference data is provided.

すなわち、第1図において、1はホストコンピユータ、
2はセンター側網制御装置(以下C−NCUと言う)、3
はセンター側に接続される交換局(LS)、4は端末側に
接続される交換局(LS)である。5は本来のノーリンギ
ングシステムで使用されるノーリンギングトランクであ
る。6は端末側網制御装置(以下T−NCUと言う)、7,8
は通信プロトコルの異なる端末側装置で、メータ・セン
サ等から成る。9は宅内電話機、10,11は接続線、12,13
は電話回路線、14は局間中継線、15,16は交換局4とノ
ーリンギングトランク5とのインターフエース線であ
る。
That is, in FIG. 1, 1 is a host computer,
2 is a center side network control unit (hereinafter referred to as C-NCU), 3
Is a switching center (LS) connected to the center side, and 4 is a switching center (LS) connected to the terminal side. Reference numeral 5 is a no-ringing trunk used in the original no-ringing system. 6 is a terminal side network control unit (hereinafter referred to as T-NCU), 7, 8
Is a terminal side device having a different communication protocol, and includes a meter, a sensor and the like. 9 is a home telephone, 10 and 11 are connection lines, and 12 and 13
Is a telephone circuit line, 14 is an interoffice relay line, and 15 and 16 are interface lines between the exchange 4 and the no-ringing trunk 5.

また、第5図はT−CNU6の詳細ブロツク図を示し、図に
おいて、601は16Hz呼び出し信号検出回路、602は整流回
路、603はオフフツク制御回路、604は回線結合回路、60
5は主制御装置、606,607はインターフエース回路、608
はリセツト回路、609は発信回路、610は電源回路、611
はオフフツク検出回路、612は接続切り換え回路、613は
モデムである。
Further, FIG. 5 is a detailed block diagram of the T-CNU6, in which 601 is a 16 Hz calling signal detection circuit, 602 is a rectifier circuit, 603 is an off-hook control circuit, 604 is a line coupling circuit, and 60 is a line coupling circuit.
5 is a main controller, 606 and 607 are interface circuits, 608
Is a reset circuit, 609 is an oscillation circuit, 610 is a power circuit, 611
Is an off-hook detection circuit, 612 is a connection switching circuit, and 613 is a modem.

第6図はT−NCU6内の主制御装置605の内部構成図で、
中央制御ユニツトであるCPU702と、発信回路609の信号
を入力し計時するタイマーカウンター701と、CPU702に
制御を指令するプログラムメモリー704と、内部で発生
するデータを一時的に保持するデータメモリ703と、主
制御装置605と外部との間のインターフエース(I/O)70
5とからなる。
FIG. 6 is an internal configuration diagram of the main control unit 605 in the T-NCU 6,
A CPU 702 that is a central control unit, a timer counter 701 that inputs and clocks a signal from a transmission circuit 609, a program memory 704 that instructs the CPU 702 to control, a data memory 703 that temporarily holds internally generated data, Interface (I / O) 70 between main controller 605 and the outside
It consists of 5 and.

次にT−NCU制御コードについて説明する。第2図はT
−NCU制御コードの構成を示すもので、通信プロトコル
制御コードと電文制御コードの二つよりなる。
Next, the T-NCU control code will be described. Figure 2 shows T
-It shows the structure of the NCU control code, and consists of two parts, a communication protocol control code and a message control code.

通信プロトコル制御コードは、調歩同期式通信において
通信速度とその通信における1キヤラクタの長さを示す
ものである。
The communication protocol control code indicates the communication speed in the asynchronous communication and the length of one character in the communication.

電文制御コードは、前記通信プロトコル制御コードによ
つて決められた通信プロトコルの電文で、T−NCU6への
データの読み書き、あるいは電話回線接続制御指令、端
末側装置7,8の選択等を指令する通信に必要な情報を有
するものである。
The telegram control code is a telegram of the communication protocol determined by the above-mentioned communication protocol control code, and commands the reading and writing of data to the T-NCU 6, the telephone line connection control command, the selection of the terminal side devices 7, 8, and the like. It has information necessary for communication.

通信プロトコル制御コードは、比較的長いマークMおよ
びスペースSの組合せで構成され、そのスペース長は、
このT−NCU6がサポートする通信プロトコルの最長のス
ペース成分を持つものより長く構成されている。たとえ
ば、表−1及び表−2に示されるように、200ボー、JIS
8単位(スタートビツト+8ビツト+パリテイ=10ビツ
ト)が、最も通信速度が遅く最も長いキヤラクターとす
るならば、00コードは50msecのスペース成分を持つの
で、55mec以上とする。
The communication protocol control code is composed of a combination of a relatively long mark M and space S, and the space length is
This T-NCU 6 is configured to be longer than the one having the longest space component of the communication protocol supported. For example, as shown in Table-1 and Table-2, 200 baud, JIS
If 8 units (start bit + 8 bits + parity = 10 bits) are the slowest communication speed and the longest character, the 00 code has a space component of 50 msec, so it should be 55 mec or more.

上記構成において、端末側装置7あるいは8から起呼要
求が発せられる端末発呼通信の場合、この起呼要求をT
−NCU6のインターフエース回路600あるいは607を介して
主制御装置605がうけて、電話機8がオフフツクしてな
いことをオフフツク検出回路611が検出すると、主制御
回路605は接続切り換え回路612により電話回線13より切
り離す。その後、選択信号がダイヤルパルスの場合はオ
フフツク制御回路603を“ON"、“OFF"して整流回路602
を介し、また選択信号がPB信号の場合は主制御装置60
5、PB送受信回路604、オフフツク制御回路603、整流回
路602を介して、それぞれC−NCU2を選択するための選
択信号を電話回路線13に送出する。この選択信号に回線
リンクが確立すると、センター側装置と接続される。T
−NCU6とセンター側装置との間でモデム613を介して調
歩同期式でデータ通信が開始される。
In the above configuration, in the case of terminal call communication in which a call request is issued from the terminal-side device 7 or 8, this call request is
If the off-hook detection circuit 611 detects that the telephone 8 is not off-hook by the main control unit 605 via the interface circuit 600 or 607 of the NCU 6, the main control circuit 605 causes the connection switching circuit 612 to switch the telephone line 13 Separate more. After that, when the selection signal is a dial pulse, the off-hook control circuit 603 is turned “ON” and “OFF”, and the rectifier circuit 602 is turned on.
If the selection signal is a PB signal, the main controller 60
5, through the PB transmission / reception circuit 604, the off-hook control circuit 603, and the rectifier circuit 602, selection signals for selecting the C-NCU 2 are sent to the telephone circuit line 13. When a line link is established for this selection signal, the center side device is connected. T
-Asynchronous data communication is started between the NCU 6 and the center side device via the modem 613.

このとき、まず始めに送出される信号がT−NCU制御コ
ードである。このT−NCU制御コードにより、通信プロ
トコル、および通信すべき端末側装置7あるいは8のポ
ート等通信に必要な情報を交換し合つた後、T−NCU6を
仲介としてC−NCU2、端末側装置7あるいは8間で通信
が始まる。
At this time, the signal transmitted first is the T-NCU control code. With this T-NCU control code, after exchanging information necessary for communication such as the communication protocol and the port of the terminal side device 7 or 8 to communicate, C-NCU2 and terminal side device 7 with T-NCU6 as an intermediary. Or communication starts between 8.

次にセンター側装置より発呼がかかる場合、センター側
装置よりノーリンギングトランク5を介して発呼がかか
ると、T−NCU6は宅内電話機9がオフフツクしていない
ことを確認後、電話機9を加入電話回路線13から切り離
し、C−NCU2よりT−NCU制御コードが着信するのを待
ち、端末発呼と同一手順でデータ通信が開始される。
Next, when a call is made from the center side device, when a call is made from the center side device via the no ringing trunk 5, the T-NCU 6 confirms that the home telephone 9 is not off-hook, and then the telephone 9 is called. After disconnecting from the circuit line 13, waiting for the T-NCU control code to arrive from the C-NCU 2, the data communication is started in the same procedure as the terminal call.

ここで、T−NCU制御コードの通信プロトコル制御コー
ドには、前半に通信速度指示用スペースを含み、後半に
キヤラクター長さの指示用スペースを含んでいるので、
T−NCU6は、前半の通信速度指示用スペース長Tsを測定
し、その測定結果と予め記憶されている速度基準データ
(表−1)とから通信速度を判別する。
Here, since the communication protocol control code of the T-NCU control code includes a communication speed instruction space in the first half and a character length instruction space in the second half,
The T-NCU 6 measures the communication speed instruction space length Ts in the first half, and determines the communication speed from the measurement result and the speed reference data (Table-1) stored in advance.

また、後半のキヤラクター長さの指示用スペース長Tbを
測定し、その測定結果と予め記憶されているキヤラクタ
ー長基準データ(表−2)とから1キヤラクター長さを
判別する。
Also, the instructing space length Tb of the latter half of the charactor length is measured, and one charactor length is discriminated from the measurement result and the prestored charactor length reference data (Table 2).

このように、通信プロトコル制御コードをT−NCU6で解
読し、通信速度、ビツト長を決定するので、複数のT−
NCU6を設置することなく、一台のT−NCUで異なつた通
信速度、ビツト長を持つ複数の端末側装置との通信を非
常に安価に行うことができる。
In this way, the communication protocol control code is decoded by the T-NCU 6, and the communication speed and bit length are determined.
Without installing the NCU 6, one T-NCU can very inexpensively communicate with a plurality of terminal side devices having different communication speeds and bit lengths.

また、通信プロトコル制御コードのスペース長Ts,Tb
は、このT−NCU6がサポートする通信プロトコルの最長
のスペース成分を持つものより長く構成されているの
で、誤つてT−NCU制御コードが端末側装置7,8に送られ
たとしても、端末側装置7,8でキヤラクターエラーにな
り、誤通信を防ぐことが可能となる。
The communication protocol control code space length Ts, Tb
Is configured longer than the one with the longest space component of the communication protocol supported by this T-NCU6, so even if the T-NCU control code is erroneously sent to the terminal side devices 7 and 8, the terminal side It becomes possible to prevent erroneous communication due to a character error in the devices 7 and 8.

また、低速の主制御装置605でも十分判別できる長さで
ある。
The length is also long enough to be discriminated by the low-speed main controller 605.

次に、この測定方法を第4図のフローチヤートを参照し
て説明する。まず、最初のマークの長さが規定以上ある
ことを確認した後(ステツプ)、マークの終了を待つ
(ステツプ)。そして、マークの終了した時点から、
主制御装置605内のCPU702はタイマーカウンター701をス
タートさせ(ステツプ)、次のマークの開始を待つ
(ステツプ)。マークがくれば、タイマーカウンター
701を止めて、そのカウント値をデータメモリ703に格納
し、Tsとする(ステツプ)。以下同様にTbを測定する
(ステツプ〜)。こうして得られたスペース長Ts,T
bより、あらかじめプログラムメモリ704上に記録してい
るTs/通信速度、Tb/キヤラクタの長さの各対比表−1,2
に従つて通信速度と1キヤラクタの長さを得る(ステツ
プ)。この通信プロトコルを以つて次に続く電文制御
コードを解読し、必要な情報を得た後、通信が始まる。
Next, this measuring method will be described with reference to the flow chart of FIG. First, after confirming that the length of the first mark is not less than the specified length (step), the end of the mark is waited (step). And from the time when the mark ends,
The CPU 702 in the main controller 605 starts the timer counter 701 (step) and waits for the start of the next mark (step). If the mark comes, a timer counter
Stop 701, store the count value in the data memory 703, and set it as Ts (step). Similarly, Tb is measured (steps to). Space length Ts, T thus obtained
From b, each comparison table of Ts / communication speed and Tb / character length previously recorded in the program memory 704-1,2
Then, obtain the communication speed and the length of one charactor (step). Communication is started after decoding the following electronic message control code using this communication protocol and obtaining necessary information.

通信の要領は、まず、C−NCU2からの下り電文がくる。
これを主制御装置605がモデム613を介して読み、インタ
ーフエース606あるいは607を介して端末側装置7あるい
は8に送る。端末側装置7は、この下り電文を解読し、
応答電文を返す。T−NCU6はインターフエース606ある
いは607を介して応答電文を読み、モデム613を介してC
−NCU2に送る。これらを繰り返すことによりC−NCU2と
端末側装置7あるいは8間で、端末側装置7あるいは8
側の通信プロトコルで通信ができる。
As for the communication procedure, first, the downlink message from C-NCU2 comes.
Main controller 605 reads this via modem 613 and sends it to terminal side device 7 or 8 via interface 606 or 607. The terminal device 7 decodes this downlink message,
Returns the response message. The T-NCU 6 reads the response message via the interface 606 or 607 and C via the modem 613.
-Send to NCU2. By repeating these, the terminal-side device 7 or 8 is connected between the C-NCU 2 and the terminal-side device 7 or 8.
Communication is possible with the communication protocol of the side

これ以後、新たな制御コードが来るまで、この通信プロ
トコルで通信を続ける。
After that, communication is continued using this communication protocol until a new control code arrives.

なお、本発明は、上記実施例に限定されるものではな
く、本発明の範囲内で上記実施例に多くの修正および変
更を加え得ることは勿論である。
The present invention is not limited to the above embodiments, and it goes without saying that many modifications and changes can be made to the above embodiments within the scope of the present invention.

〈発明の効果〉 以上の説明から明らかな通り、本発明は、センター側装
置と端末側網制御装置との通信プロトコルとして非同期
ベーシツク手順を使用して、端末側網制御装置に送信す
るT−NCU制御コード内に、キヤラクターフオーマツト
を構成する1ビツトの通信速度とその通信における1キ
ヤラクターの長さを示す通信プロトコル制御コードを入
れ、該通信プロトコル制御コードは通信プロトコルの最
長スペース長より長いマーク及びスペースで構成され、
端末側網制御装置によりこの通信プロトコル制御コード
の通信速度指示用スペースおよびキヤラクター長さ指示
用スペースの各スペース長を測定し、測定結果と予め記
憶された基準データとから通信速度、ビツト長を決定す
るので、複数の端末側網制御装置を設置することなく、
一台の端末側網制御装置で異なつた通信速度、ビツト長
を持つ複数の端末側装置との通信を非常に安価に行うこ
とができる。
<Effects of the Invention> As is apparent from the above description, the present invention uses the asynchronous basic procedure as the communication protocol between the center side device and the terminal side network control device to transmit to the terminal side network control device. In the control code, a communication protocol control code indicating the communication speed of one bit forming the character format and the length of one character in the communication is inserted, and the communication protocol control code has a mark longer than the maximum space length of the communication protocol. Consists of spaces,
The terminal side network controller measures each space length of the communication speed control space and the character length control space of this communication protocol control code, and determines the communication speed and bit length from the measurement results and prestored reference data. Therefore, without installing multiple network controllers on the terminal side,
A single terminal-side network control device can very inexpensively communicate with a plurality of terminal-side devices having different communication speeds and bit lengths.

また、通信プロトコル制御コードのスペース長は、この
端末側網制御装置がサポートする通信プロトコルの最長
のスペース成分を持つものより長く構成されているの
で、誤つてT−NCU制御コードが端末側装置に送られた
としても、端末側装置でキヤラクターエラーになり、誤
通信を防ぐことが可能となる。
Further, since the space length of the communication protocol control code is configured to be longer than that having the longest space component of the communication protocol supported by this terminal side network control device, the T-NCU control code is erroneously transmitted to the terminal side device. Even if it is sent, a character error will occur in the terminal device, and erroneous communication can be prevented.

しかも、非同期ベーシツク手順による通信速度は他の通
信プロトコル手順に比して低速であるため、通信速度以
下でサンプリングを行つても通信速度を検出することが
可能となり、低速で安価なマイクロコンピユータを使用
することができる。
Moreover, since the communication speed by the asynchronous basic procedure is slower than other communication protocol procedures, the communication speed can be detected even if sampling is performed at a speed lower than the communication speed, and a low-speed and inexpensive microcomputer is used. can do.

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

第1図は本発明に係る自動データ通信方式の一実施例を
示すシステム構成のブロツク図、第2図は同じくT−NC
U制御コードの構成図、第3図は同じく端末側網制御装
置(T−NCU)の主制御装置の機能ブロツク図、第4図
は同じく通信プロトコル制御コードを判別する手順を示
すフローチヤート図、第5図は同じく端末側網制御装置
の詳細ブロツク図、第6図は同じく端末側網制御装置の
主制御装置の詳細ブロツク図である。 1:ホストコンピユータ、2:センター側網制御装置(C−
NCU)、3:センター側交換局(LS)、4:端末側交換局(L
S)、5:ノーリンギングトランク、6:端末側網制御装置
(T−NCU)、7,8:端末側装置、9:宅内電話機、601:16H
z呼び出し信号検出回路、602:整流回路、603:オフフツ
ク制御回路、604:回線結合回路、605:主制御装置、606,
607:インターフエース回路、608:リセツト回路、609:発
信回路、610:電源回路、611:オフフツク検出回路、612:
接続切り換え回路、613:モデム、701:タイマーカウンタ
ー、702:中央制御ユニツト(CPU)、703:データメモ
リ、704:プログラムメモリ、705:インターフエース(I/
O)。
FIG. 1 is a block diagram of a system configuration showing an embodiment of an automatic data communication system according to the present invention, and FIG. 2 is the same T-NC.
FIG. 3 is a functional block diagram of the main control unit of the terminal side network control unit (T-NCU), and FIG. 4 is a flow chart diagram showing the procedure for determining the communication protocol control code. FIG. 5 is a detailed block diagram of the terminal side network controller, and FIG. 6 is a detailed block diagram of the main controller of the terminal side network controller. 1: Host computer, 2: Center side network controller (C-
NCU), 3: Center side exchange (LS), 4: Terminal side exchange (L)
S), 5: No ringing trunk, 6: Terminal side network control unit (T-NCU), 7, 8: Terminal side device, 9: Home telephone, 601: 16H
z call signal detection circuit, 602: rectification circuit, 603: off-hook control circuit, 604: line coupling circuit, 605: main control device, 606,
607: Interface circuit, 608: Reset circuit, 609: Transmission circuit, 610: Power supply circuit, 611: Off-hook detection circuit, 612:
Connection switching circuit, 613: modem, 701: timer counter, 702: central control unit (CPU), 703: data memory, 704: program memory, 705: interface (I /
O).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】端末側装置からの端末発呼によりデータ通
信を行うか、または電話局の交換機に接続されたノーリ
ンギングトランクを利用して宅内電話機を鳴動させるこ
となく端末側網制御装置を接続してデータ通信を行う自
動データ通信方式において、センター側装置と端末側網
制御装置との通信プロトコルとして非同期ベーシツク手
順を使用して、端末側網制御装置に送信するT−NCU制
御コード内に、キヤラクターフオーマツトを構成する1
ビツトの通信速度とその通信における1キヤラクターの
長さを示す通信プロトコル制御コードを入れ、該通信プ
ロトコル制御コードは通信プロトコルの最長スペース長
より長いマーク及びスペースで構成され、端末側網制御
装置によりこの通信プロトコル制御コードの通信速度指
示用スペースおよびキヤラクター長さ指示用スペースの
各スペース長を測定し、測定結果と予め記憶された基準
データとから通信速度、ビツト長を決定することを特徴
とする自動データ通信方式。
1. A data communication is performed by calling a terminal from a terminal side device, or a terminal side network control device is connected without ringing a home telephone using a no ringing trunk connected to a telephone exchange. In the automatic data communication method for performing data communication by using the asynchronous bake procedure as a communication protocol between the center side device and the terminal side network control device, the character code is included in the T-NCU control code transmitted to the terminal side network control device. Forming a format 1
A communication protocol control code indicating the communication speed of the bit and the length of one character in the communication is inserted, and the communication protocol control code is composed of a mark and a space longer than the maximum space length of the communication protocol. Automatically characterized by measuring the space lengths of the communication protocol control code communication speed instruction space and the character length instruction space, and determining the communication speed and bit length from the measurement results and prestored reference data. Data communication method.
JP63269164A 1988-10-24 1988-10-24 Automatic data communication method Expired - Fee Related JPH0683328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63269164A JPH0683328B2 (en) 1988-10-24 1988-10-24 Automatic data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63269164A JPH0683328B2 (en) 1988-10-24 1988-10-24 Automatic data communication method

Publications (2)

Publication Number Publication Date
JPH02114756A JPH02114756A (en) 1990-04-26
JPH0683328B2 true JPH0683328B2 (en) 1994-10-19

Family

ID=17468569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63269164A Expired - Fee Related JPH0683328B2 (en) 1988-10-24 1988-10-24 Automatic data communication method

Country Status (1)

Country Link
JP (1) JPH0683328B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2649182B2 (en) * 1989-09-27 1997-09-03 シャープ株式会社 Data communication system
JP2835411B2 (en) * 1990-06-21 1998-12-14 シャープ株式会社 Network controller
JP2954672B2 (en) * 1990-07-19 1999-09-27 エヌ・ティ・ティ関西テレコン株式会社 Automatic data communication system
JP2837523B2 (en) * 1990-07-30 1998-12-16 シャープ株式会社 Terminal network controller
JP2838325B2 (en) * 1991-03-22 1998-12-16 シャープ株式会社 Automatic data bit length discriminator
JP2002171579A (en) * 2000-12-01 2002-06-14 Toyo Keiki Co Ltd Wireless unit for automatic meter-reading system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62100049A (en) * 1985-10-28 1987-05-09 Nec Corp Data transmission system
JPS63155841A (en) * 1986-12-19 1988-06-29 Toshiba Corp Data output device

Also Published As

Publication number Publication date
JPH02114756A (en) 1990-04-26

Similar Documents

Publication Publication Date Title
CA2195410C (en) Data adapter
JPH0683328B2 (en) Automatic data communication method
JPH10126525A (en) Facsimile machine
JP2554940B2 (en) Data communication system
JP3706311B2 (en) Communications system
JPH05233992A (en) Method of assigning identifier in automatic meter reading system
JP3302577B2 (en) Terminal network controller
JP3163111B2 (en) Automatic data communication system
JP2565956B2 (en) Network controller
JP2630675B2 (en) Message relay device
JP3411414B2 (en) Data communication system
JP2668149B2 (en) Terminal network controller
JP2963134B2 (en) Communication terminal device
JP2984414B2 (en) Network controller
JPH0431238B2 (en)
JP2594663B2 (en) Terminal network controller
JP2021129238A (en) Communication device and communication program
JP2731419B2 (en) Additional device for terminal side network controller
JPS6163000A (en) Automatic meter reading device
JPH04109792A (en) Automatic sales data collection system
JP2000165537A (en) Communication terminal device
JPS63131652A (en) Dial pause relaying system in line switching controller
JPH06189024A (en) Network controller for terminal
JPH0244431B2 (en)
JPH0818606A (en) Disconnection detection method

Legal Events

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

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees