JPS6285526A - Address deciding system for communication station - Google Patents

Address deciding system for communication station

Info

Publication number
JPS6285526A
JPS6285526A JP60226207A JP22620785A JPS6285526A JP S6285526 A JPS6285526 A JP S6285526A JP 60226207 A JP60226207 A JP 60226207A JP 22620785 A JP22620785 A JP 22620785A JP S6285526 A JPS6285526 A JP S6285526A
Authority
JP
Japan
Prior art keywords
station
random number
address
stations
xid
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
JP60226207A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamakawa
博 山川
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60226207A priority Critical patent/JPS6285526A/en
Publication of JPS6285526A publication Critical patent/JPS6285526A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent the designating mistakes and also to decide automatically the address of an exchange circuit with which the discrimination is impossible between the originating and incoming sides, by informing the numerical value produced in a random number and deciding automatically the addresses of both communicating stations. CONSTITUTION:Plural communication stations have the same constitution. At a station B, a random number generating part 1 is started by an address deciding signal 100 for generation of a random number (b). This number (b) is stored in a register 2 and at the same time an XID command is produced in response to the number (b) and sent to a circuit. Then the XID command reaches a station A at the remote side and is decoded by an XID command receiving part 6. Here the number (b) added to the XID command is supplied to a comparison part 5. While the part 6 starts an MUX 9 as well as an XID response transmitting part 4 to supply a random number (a) stored in the register 2 or produced from the part 1 to the part 5. Then '1' and '3' are selected as the own station addresses with a<b and a>b obtained as the results of comparison from the part 5. These addresses '1' and '3' are also sent to the station B.

Description

【発明の詳細な説明】 〔産業上の利用分厨〕 本発明は通信回線により接続される通fス局のアドレス
決定方式に関し、特に国際標準化機構(rSO)の推薦
するハイレベルデータリンクコントロール(以下HD 
L Cと省略ず)手順により通信する局のアドレス決定
手順に関する7 〔従来の技術〕 電子計算機又は端末装置と通信回線により接続し、)I
 D L C手順を用いて通信を行う場合、通信する両
局のアドレスは異なるものでなければならない。従来、
両局のアドレスはシステムジェネレーション情報として
与えられるか、又は交換回線においては発呼側と着呼側
とで一意に決定する方法が用いられていた。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Applications] The present invention relates to an address determination method for communication stations connected by communication lines, and in particular to high-level data link control (high-level data link control) recommended by the International Organization for Standardization (rSO). HD below
(Not abbreviated as LC) Procedure for determining the address of a station that communicates using the procedure [Prior art] Connected to a computer or terminal device via a communication line,
When communicating using the DLC procedure, the addresses of both communicating stations must be different. Conventionally,
The addresses of both stations were given as system generation information, or in the case of switched lines, a method was used in which the addresses were uniquely determined by the calling and called parties.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のアドレス付与方式中、前者のシステムジ
ェネレーション方式に関しては両局で自己と相手局との
2つのアドレスをお互いに独立に指定しなければならず
、また指定が矛盾した場合は通信が行えないという欠点
がある。また交換回線で発呼側1着呼側でアドレスを決
定する後者の方式では、入間による手動接続の様に、発
呼か着呼かが自動的に識別できない場合には適用できな
いという欠点がある。
Among the conventional address assignment methods described above, in the former system generation method, both stations must specify two addresses for themselves and the other station independently, and if the specifications conflict, communication cannot be performed. There is a drawback that there is no In addition, the latter method, in which the address is determined by both the calling and called parties on a switched line, has the disadvantage that it cannot be applied in cases where it is not possible to automatically identify whether a call is a call or a call, such as manual connection by Iruma. .

〔問題点を解決するための手段〕[Means for solving problems]

本発明の方式は、複数のj1α他局のそれぞれに乱数発
生手段と数値比較を段とアドレス選択手段とを川、きし
、通信回線を介して接続された前記複数の通信局の中の
任意の2局の中の一方の局においてEi7f記乱数記事
数発生手段第1の乱数3発生さ−ぜて前記2局の中の他
方の局に送信し1、前記他方の局では前記第1の乱数の
供給に応答して自局の前記乱数発生手段により第2の乱
数を発生し、前記他方の局の前記数値比較手段により前
記第1の乱数と前記第2の乱数とを比較し、前記他方の
局での数値比較手段の比較結果に対応して予めさだめた
規約に従って前記アドレス選択手段により自局のアドレ
スを選択し、前記第2の乱数を前記=Hの局に送信し、
前記一方の局において1);f記数値比較手段により前
記第1の乱数と前記第2の乱数とを比較し、前記一方の
局での数値比較手段の比較結果に対応して前記規約に従
って前記アドレス選択手段により自局のアドレスを選択
することを含んで構成されろ。
The system of the present invention provides random number generation means, a numerical comparison stage, and an address selection means for each of a plurality of other J1α stations, and any one of the plurality of communication stations connected via a communication line. In one of the two stations, the Ei7f random number article number generating means generates a first random number 3 and transmits it to the other station among the two stations. In response to the supply of the random number, the random number generating means of the own station generates a second random number, the numerical comparison means of the other station compares the first random number and the second random number, and Selecting the address of the own station by the address selection means according to a predetermined rule corresponding to the comparison result of the numerical comparison means in the other station, and transmitting the second random number to the =H station;
1) In the one station, the first random number and the second random number are compared by the f-numerical value comparing means, and the above-mentioned random number is The method may include selecting the address of the own station by the address selection means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第2図は片方の局からアドレス決定手順を開始=5−る
場りの手順1図である。通信を希望する局Bはまず乱数
を発生させ(その値を1)とする)その値1)を自局1
3内に3己憶するとともにXIDコマ〉′ド中に付加し
て相手局Aに送信する9ここにXIDコマンドとは後述
のXIDレスポンスと同様に、と乙にl5O4335に
規定されるハイレベルデータリンタ制御手順の手順要素
であり、イクスチェンジアイデンティフィケーション(
Exshange Id e n L i r i c
 a 1. i +l II >と称されるものであり
、アドレス部に指示した2自局または複合局にその局識
別。
FIG. 2 is a diagram illustrating a procedure in which one station starts the address determination procedure. Station B, which wishes to communicate, first generates a random number (sets the value to 1) and assigns the value 1) to its own station 1.
The XID command is stored in 3 and sent to the other station A by adding it to the XID command. Exchange identification (
Exchange Identity
a1. i + l II >, and is used to identify the local station or complex station specified in the address field.

特性等を報告させ自局ら報告する機能を有する(1情報
処理ハントブ・ツク、 P、+051、情報処理学会編
、オーム社発行昭和60年1月)。この場合、両局A、
Bとらアドレスは未定なのでXIDコマンドにはオール
ステーションアドレスを用いる。
It has a function to report characteristics etc. and to report from one's own station (1 Information Processing Handbook, P, +051, edited by Information Processing Society of Japan, published by Ohmsha, January 1985). In this case, both stations A,
Since the B-tora address has not yet been determined, the all-station address is used for the XID command.

XIDコマンドを受信した相手局Aでは、同様に乱τk
を発生させる(その値をaとする)。XIDコマンドに
て通知された数値1〕と、自局で発生さのた数値aとを
比較し、自局Aの数値か小さければすなわちa4bなら
ば自局Aのア1−レスは°゛1゛、大きければずなわν
g+ a ) bならば自局Aのアドレスを3°′と決
定して、決定したアドレスを有し、かつ自JAで発生さ
せた乱数aを付加したX[Dレスポンスを相手局に送信
する。XIDコマンド受信局で発生させた乱数1.1.
が受信した乱数値すと等しい場合は、再度乱数を発生さ
せる、第3図は両方の局から同時にアドレス決定手順を
開始した場合の手順図である。両方の局は個別に乱数を
発生させ、その値を自局内に記憶するとと5にX I 
I)コマンドに付加して相手局に送信する。この場&、
両局のアドレスは未定なのでXIDコマンドにはオーツ
しステーション′アドレスを用いる。相手局からのXI
Dコマンドを受信した場合、自局に記憶している数値と
、×I II)コマシl〜にて通知された相手局の数値
を比較する6自局の数値が小さければ自局のアドレスは
1、大きければ時局のアドレスを3と決定して、決定し
たアドレスを有し、かつ以前自局で発生させ、XIDコ
マントにて送信した乱数を付加したXIDレスポンスを
相手局に送信する。両極で発生させた乱数が等しい場合
は、本手順を始めからやり直す。
In the other station A that received the XID command, the random τk
(the value is set as a). Compare the numerical value 1] notified by the XID command with the numerical value a generated at your own station, and if the numerical value of your own station A is smaller, that is, a4b, then the address of your own station A is °゛1.゛、If it's big, it's Zuna ν
If g+a)b, the address of own station A is determined to be 3°', and an X[D response having the determined address and with a random number a generated by own JA added thereto is transmitted to the other station. Random number 1.1 generated at the XID command receiving station.
If the received random number is equal to the received random number, a random number is generated again. FIG. 3 is a procedure diagram when the address determination procedure is started from both stations at the same time. Both stations individually generate random numbers and store the values in their own stations, and the result is 5.
I) Add it to the command and send it to the partner station. This place &
Since the addresses of both stations are undetermined, the station' address is automatically used for the XID command. XI from the other station
When receiving the D command, compare the value stored in your own station with the value of the other station notified in , if it is larger, the address of the current station is determined to be 3, and an XID response having the determined address and to which a random number previously generated by the own station and sent using the XID command is added is transmitted to the other station. If the random numbers generated at both poles are equal, repeat this procedure from the beginning.

第1図は本発明に使用される通信局の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a communication station used in the present invention.

第1図の通信局アドレス決定方式は、乱数発生部1と、
レジスタ2と、XIDコマンド送信部3ヒ、XIDレス
ポンス送信部4と、比較部5と、XIDコマンド受信部
6と、XIDレスポンス受f受部3とマルチプレクサ(
以後M v xと略称す)8〜13とから構成される。
The communication station address determination method shown in FIG. 1 includes a random number generator 1,
The register 2, the XID command transmitter 3, the XID response transmitter 4, the comparator 5, the XID command receiver 6, the XID response receiver 3, and the multiplexer (
8 to 13 (hereinafter abbreviated as Mvx).

第1図のような構成を有する通信局AとBとの間でのア
ドレス決定について説明する。
Address determination between communication stations A and B having the configuration shown in FIG. 1 will be explained.

以下第1図の参照数字にaを付したものはA局に関する
もの、bを付したものはB局に関するものと定める。例
えば乱数発生部1bというときは13局の乱数発生部を
示す。
Hereinafter, reference numerals in FIG. 1 with a suffixed will refer to station A, and numbers suffixed with b will refer to station B. For example, when referring to the random number generating section 1b, it refers to the random number generating section of 13 stations.

13局において、外部からのアドレス決定要求100b
により乱数発生部1bが起動し乱数すを発生する。乱数
すはMUX8bを介してレジスタ21)に格納されると
抜にXIDコマンド送信部31−)に供給される。X 
I Dコマンド送信部31)は、!IL数1)の供給に
応答してX [1,)コマンドを発生しこれはMUX1
2bを介して回線に送出される。このXII)コマンド
の宛先アドレスは全局むけすなス9ちオールステーショ
ンアドレスとしこのコマンI〜には乱数すも付加されて
いる。
At station 13, address determination request 100b from outside
The random number generator 1b is activated and generates a random number. Once the random number is stored in the register 21) via the MUX 8b, it is supplied to the XID command transmitter 31-). X
The ID command transmitter 31) is! In response to the supply of IL number 1), an X[1,) command is generated, which is sent to MUX1
2b to the line. The destination address of this XII) command is an all-station address, and a random number is also added to this command I~.

XIDコマンドは相手局Aに到達しMUX13aを介し
てXIDコマンド受信部6aにより解読されXIDコマ
ンドに(=f加されてきた乱数1)はMLJ X 11
 a ’:介して比較部5aに供給される4X[Dコマ
ンド受信部6aはXIDレスポンス送信部4aを起動す
るとともにMuX9aを起動する。
The XID command reaches the partner station A and is decoded by the XID command receiving unit 6a via the MUX 13a, and the XID command (=random number 1 added with f) is MLJ X 11
a': The 4X [D command receiving unit 6a starts the XID response transmitting unit 4a and also starts the MuX 9a.

M LI X 9 aは前記起動に応答してレジスタ2
aにアドレス決定要求100 ;Lにより乱数が格納さ
れているときには、この値をM LI X 9 aを介
して、そうでないときには乱数発生部1aを起動して新
たに発生した乱数”g M U X 8 a。9aを介
して比較部5aに供給する。レジスタ2aに既に乱数が
格納されているときはA局B局力tはぼ同時に7′ドレ
ス決定要求をした第3図の場合に相当し後述する。比較
部5aによる比較結果がa(bのときはM U X 1
0 aは°″1゛′を自局アトしスとして選択しa>b
のときはM U X 1.0 aは’3”@自局アドレ
スとして選択し、a−1)のときには再度乱数発生部1
aを起動し新たな乱数を発生させて比較部5aを動作さ
せる。
MLIX9a responds to said activation by register 2
Address determination request 100 ; When a random number is stored in L, this value is sent via MLI 8a. Supplied to the comparator 5a via 9a. When the random number is already stored in the register 2a, the A station B station power t corresponds to the case in FIG. 3 where the 7' address determination request is made almost simultaneously. This will be described later.When the comparison result by the comparison unit 5a is a(b), M U
0 a selects °″1゛′ as his own base and a>b
When MU
a is activated to generate a new random number and operate the comparison unit 5a.

MUXloaで自局アドレスが選択されたならばこの自
局アドレスと乱数発生部1aで発生した乱数aとはXI
Dレスポンス送信部・1aに供給される。XIDレスポ
ンス送信部4aはX I Dレスポンスを作成しその宛
先アドレスは前述のオールステーションアドレスとし更
に乱数aとA局アドレスとを付加してMUXl、2aを
介してB局に送出する3 回線を介してB局に供給されたXIDレスポンスはMU
X13bを介してXIDレスポンス受信部7bに供給さ
れる。XIDレスポンス受信部7bはXII)レスポン
スの供給に応答してM U X 11bを介して乱数a
を比較部5bに供給するととらにM LJ Xすbを起
動する。MUXQbはしジスタ2bに格納されている乱
数1)を比較部51)に供給する。比較部5))とM 
LI X ] Obとの動作は前述の比較部5aとMU
Xloaとの動、・″と同じでありかくしてM LI 
X 10 bによりB局のア1〜レスが選択される。
If the own address is selected by MUXloa, this own address and the random number a generated by the random number generator 1a are XI
It is supplied to the D response transmitter 1a. The XID response transmitting unit 4a creates an XID response, sets its destination address to the aforementioned all-station address, adds a random number a and the address of station A, and sends it to station B via MUX 1 and 2a. The XID response supplied to station B is MU
It is supplied to the XID response receiving section 7b via X13b. The XID response receiving unit 7b receives the random number a via the MUX 11b in response to the supply of the XII) response.
When this is supplied to the comparator 5b, the M LJ Xb is activated. MUXQb supplies the random number 1) stored in the register 2b to the comparator 51). Comparison part 5)) and M
LI
The movement with Xloa is the same as ・'' and thus M LI
Addresses 1 to B of station B are selected by X 10 b.

A局とB局とのアドレス決定要求がほぼ同時の第3図の
場なは両局におけるXIDIDコマシト受部3部6供給
される乱数と比較されるのは前述のようにレジスタ2に
格納されている乱数であり、比較部5での比12 r&
の動作は−1−述した同時でない場合の動作と同一とな
る。
If the address determination requests from stations A and B are almost simultaneous in FIG. is a random number, and the ratio 12 r &
The operation is the same as the operation in the non-simultaneous case described in -1-.

以−Lのようにして本実施例では自動的に通信局のアド
レスを決定することができる。
In this embodiment, the address of the communication station can be automatically determined as described above.

[発明の効果I U、上説明したように本発明は乱数発生させた数値をX
IDコマンドにより通知して自動的に通信する両局のア
ドレスを決定することにより、アドレス指定のためのシ
ステムジェオ・し−シJンを不要とし、指定ミスを防止
し、また発呼叫1着呼側が識別できない交換回線におい
てら自動的にアドレスを決定できる効用がある。
[Effect of the invention I U, as explained above, the present invention converts the randomly generated numerical value into
By notifying and automatically determining the addresses of both stations to communicate using ID commands, there is no need for a system geostation for address specification, preventing specification errors, and also allowing one call to be sent and one incoming call to be made. This has the advantage that an address can be automatically determined on an exchange line that cannot be identified on the other side.

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

第1図は本発明の一実施例を示すプロ・ツク図、第2図
は第1図の実施例の動作1’= illαを片方の局か
ら開始する場合を示す図、第3図は両局同時に開始する
場きめ手順図である。 1・・・乱数発生部、2・・・レジスタ、3・・・XI
Dコマンド送信部、4・・・XIDレスポンス送信部、
5・比較部、6・・・XIDコマンド受信部、7・・・
XIDレスポンス受信部、8.9.10.11.12゜
13・・・マルチフ”レクサ(MUX)。 代理人 弁理士 内 原  召l= ノ・。 \く h−を
FIG. 1 is a program diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing the case where operation 1'=illα of the embodiment of FIG. 1 is started from one station, and FIG. FIG. 3 is a diagram showing a procedure for determining when stations start at the same time. 1...Random number generator, 2...Register, 3...XI
D command transmitter, 4...XID response transmitter,
5. Comparison section, 6... XID command receiving section, 7...
XID response receiving unit, 8.9.10.11.12゜13...Multiflexor (MUX). Agent: Patent attorney Uchihara Sho.

Claims (2)

【特許請求の範囲】[Claims] (1)複数の通信局のそれぞれに乱数発生手段と数値比
較手段とアドレス選択手段とを用意し、通信回線を介し
て接続された前記複数の通信局の中の任意の2局の中の
一方の局において前記乱数発生手段により第1の乱数を
発生させて前記2局の中の他方の局に送信し、 前記他方の局では前記第1の乱数の供給に応答して自局
の前記乱数発生手段により第2の乱数を発生し、 前記他方の局の前記数値比較手段により前記第1の乱数
と前記第2の乱数とを比較し、 前記他方の局での数値比較手段の比較結果に対応して予
めさだめた規約に従って前記アドレス選択手段により自
局のアドレスを選択し、 前記第2の乱数を前記一方の局に送信し、 前記一方の局において前記数値比較手段により前記第1
の乱数と前記第2の乱数とを比較し、前記一方の局での
数値比較手段の比較結果に対応して前記規約に従って前
記アドレス選択手段により自局のアドレスを選択するこ
とを含むことを特徴とする通信局アドレス決定方式。
(1) Each of a plurality of communication stations is provided with a random number generation means, a numerical comparison means, and an address selection means, and one of any two stations among the plurality of communication stations connected via a communication line is provided. The station generates a first random number by the random number generating means and transmits it to the other station of the two stations, and the other station generates the random number of its own station in response to the supply of the first random number. generating a second random number by the generating means; comparing the first random number and the second random number by the numerical comparing means of the other station; and comparing the comparison result of the numerical comparing means of the other station. Correspondingly, the address selection means selects the address of the own station according to a predetermined rule, the second random number is transmitted to the one station, and the one station uses the numerical comparison means to select the address of the first station.
and the second random number, and selects the address of the own station by the address selection means according to the rules in accordance with the comparison result of the numerical comparison means in the one station. communication station address determination method.
(2)乱数の送信およびその応答に際してはハイレベル
データリンクコントロール手順のイクスチェンジアイデ
ンティフィケーションのコマンドおよびレスポンスコー
ドを使用することを特徴とする特許請求の範囲第(1)
項記載の通信局アドレス決定方式。
(2) Claim (1) characterized in that the exchange identification command and response code of the high-level data link control procedure are used when transmitting the random number and responding thereto.
Communication station address determination method described in Section 2.
JP60226207A 1985-10-11 1985-10-11 Address deciding system for communication station Pending JPS6285526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226207A JPS6285526A (en) 1985-10-11 1985-10-11 Address deciding system for communication station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226207A JPS6285526A (en) 1985-10-11 1985-10-11 Address deciding system for communication station

Publications (1)

Publication Number Publication Date
JPS6285526A true JPS6285526A (en) 1987-04-20

Family

ID=16841571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226207A Pending JPS6285526A (en) 1985-10-11 1985-10-11 Address deciding system for communication station

Country Status (1)

Country Link
JP (1) JPS6285526A (en)

Similar Documents

Publication Publication Date Title
US4601586A (en) Solicited message packet transfer system
AU624736B2 (en) Automatic equivalent temporary talkgroup assignment in a roaming trunking environment
US7610410B2 (en) Method and a system for establishing a connection with identification and group information
EP1833230A1 (en) Wireless communication device, MAC address management system, wireless communication method, and program
KR100257413B1 (en) Address management for remote terminals in digital loop transmission systems
JP2001251316A (en) Path retrieval method for wireless network system
JPH09139747A (en) Communication controller and communication control method
JPH03174842A (en) Interruption processing system for time division multiplex transmission system
JPS6285526A (en) Address deciding system for communication station
CN110495157A (en) The communication system of serial communication is carried out between communication equipment
EP0717541B1 (en) Cordless telephone system
JP3697438B2 (en) Communication control device and method, communication terminal
JPS5919459A (en) Multiple address communicating system
JP2566350B2 (en) Data way device
JP3432449B2 (en) Communication control apparatus and method
JPH01252846A (en) Data transmission method for thermal component
JP3914822B2 (en) Network device and communication address setting method
KR100281654B1 (en) How to use unified number of application part in common line signaling
JPS5962244A (en) Network control system
JP2593456B2 (en) Address management method in CATV system
JPH02222336A (en) Computer address managing system
JP2005086449A (en) Terminal device, repeating device, and terminal control system
JPS6281852A (en) Communication terminal equipment
JPH0522781A (en) Remote monitoring control system
JPH0685821A (en) Communication method and its device