JPS63149937A - Data communication control system - Google Patents

Data communication control system

Info

Publication number
JPS63149937A
JPS63149937A JP61296005A JP29600586A JPS63149937A JP S63149937 A JPS63149937 A JP S63149937A JP 61296005 A JP61296005 A JP 61296005A JP 29600586 A JP29600586 A JP 29600586A JP S63149937 A JPS63149937 A JP S63149937A
Authority
JP
Japan
Prior art keywords
station
data communication
address
data
random number
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
JP61296005A
Other languages
Japanese (ja)
Inventor
Yasutaka Akita
秋田 康貴
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61296005A priority Critical patent/JPS63149937A/en
Publication of JPS63149937A publication Critical patent/JPS63149937A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain data communication between data communication equipments even if the number of stations exceeds 254 by transmitting a random number between its own station and an opposite station to each other in a frame of global address, and adding a procedure deciding each station address depending on the largeness of the number. CONSTITUTION:When both stations A, B are in phase P1, that is, in the data link interrupting state, each station transmits a random number generated in advance by using global address frames 3, 4 and in receiving the frame of the global address of the opposite station, the random number of its own station and the opposite station is compared. In such a case, the larger random number is selected to be an address a1 and the smaller random number is selected to be an address a2, then the address of both the stations is decided. Thus, it is not required to feed a station address in advance to each data communication equipment, and every if the number of stations exceeds 254, the data link is established between optional data communication equipments to transmit/ receive the data.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、ハイレベルデータリンク制御手順(以下、
HDLCと称す)又はこれに準拠した手順でデータ通信
を行う装置のデータ通信制御方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to high-level data link control procedures (hereinafter referred to as
The present invention relates to a data communication control method for a device that performs data communication using HDLC (called HDLC) or a procedure based on HDLC.

[従来の技術] 第3図は従来のデータ通信装置の概念図を示すもので、
(5)はデータ通信装置で、HDLCを用いたデータ伝
送部(6)とデータ処理部(7)とで構成されている。
[Prior Art] Figure 3 shows a conceptual diagram of a conventional data communication device.
(5) is a data communication device, which is composed of a data transmission section (6) using HDLC and a data processing section (7).

また、(8)は通信回線である。Further, (8) is a communication line.

該構成において、データを送信する場合、データ処理部
(7)は送信すべきデータを処理し、これを受けるデー
タ伝送部(6)は送信データをHDLCに基づいて通信
回線(8)に送出するようになされ、また、通信回線(
8)を介して送られてきた受信データは、HDLC;に
基づいてデータ伝送部(8)に取り込まれ、データ伝送
部(6)はこの受信データをデータ処理部(7)に渡し
、該データ処理部(7)により受信データを処理するよ
うになっている。
In this configuration, when transmitting data, the data processing unit (7) processes the data to be transmitted, and the data transmission unit (6) that receives the data transmits the transmission data to the communication line (8) based on HDLC. In addition, communication lines (
The received data sent via 8) is taken into the data transmission unit (8) based on the HDLC, and the data transmission unit (6) passes this received data to the data processing unit (7) and processes the data. The processing unit (7) processes the received data.

しかして、第4図は上記構成によるデータ通信装置間の
データ通信制御方式を示すシーケンス概念図を示し、図
中、(1)は動作モード設定コマンド、(2)はこのコ
マンドに対するレスポンスである。又、フェーズ(Pl
)はデータリンク切断状態、フェーズ(P2)はデータ
リンク確立状態を示す。
FIG. 4 shows a conceptual sequence diagram showing a data communication control method between data communication devices having the above configuration, in which (1) is an operation mode setting command and (2) is a response to this command. Also, the phase (Pl
) indicates a data link disconnected state, and phase (P2) indicates a data link established state.

次に、ここでのデータ通信制御方式について説明する。Next, the data communication control method here will be explained.

ここでは、A局とB局はそれぞれ別個の局アドレスを既
に有しているものとする。データリンク切断状態(Pl
)でA局から動作モード設定コマンド(1)が送信され
ると、B局からはこのコマンド(1)に対してレスポン
ス(2)が送信され、A局がこのレスポンスを受信する
ことによりデータリンク確立状! (P2)となり、こ
れ以降A局とB局との間でデータの送受信ができるよう
になる。
Here, it is assumed that the A station and the B station already have separate station addresses. Data link disconnected state (Pl
), when station A sends the operation mode setting command (1), station B sends a response (2) to this command (1), and when station A receives this response, the data link is established. Letter of establishment! (P2), and from now on, data can be transmitted and received between the A station and the B station.

ここで、 HDLCにおけるフレームのフォーマットを
第5図に示す、 HDLCでは、データはすべてフレー
ム単位で送受信合れるが、図に示すようにアドレス部は
8ビツトで構成されている。8ビツトがすべて1のアド
レスはグローバルアドレスと呼び、任意のアドレスの局
に対してこのフレームを送信でき、また、8ビツトがす
べて0のアドレスはノーステーションアドレスと呼び、
このフレームを受信しても無視する規定になっている。
Here, the format of a frame in HDLC is shown in FIG. 5. In HDLC, all data is transmitted and received in units of frames, but as shown in the figure, the address part consists of 8 bits. An address in which all 8 bits are 1 is called a global address, and this frame can be sent to a station at any address, and an address in which all 8 bits are 0 is called a no-station address.
Even if this frame is received, it is specified to be ignored.

したがって、規定できる局アドレスは、28−2 =2
54までである。
Therefore, the station address that can be defined is 28-2 = 2
Up to 54.

[発明が解決しようとする問題点] 従来のデータ通信制御方式では、局の数が254を超え
ると同一の局アドレスを持つデータ通信装置が存在する
ことになり、HDLCを用いるとこのようなデータ通信
装置間ではデータの送受信ができないという問題点があ
った。
[Problems to be solved by the invention] In the conventional data communication control system, when the number of stations exceeds 254, there are data communication devices with the same station address. There was a problem in that data could not be sent and received between communication devices.

この発明は上記のような問題点を解消するためになされ
たもので、各データ通信装置に対して個別に局アドレス
を予め付与する必要がなくなるとともに、局の数が25
4を超えても任意のデータ通信装置間でデータリンクを
確立し、データの送受信ができるデータ通信制御方式を
得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it eliminates the need to individually assign a station address to each data communication device in advance, and reduces the number of stations to 25.
An object of the present invention is to obtain a data communication control method that can establish a data link between arbitrary data communication devices even if the number of data communication devices exceeds 4, and can transmit and receive data.

[問題点を解決するための手段] この発明に係るデータ通信制御方式は、データ通信装置
間でデータリンクを確立する前に、各々の装置で生成し
た乱数をグローバルアドレスのフレームで互いに送信し
合い、その数値の大小を比較して局アドレスを決定する
ようにしたものである。
[Means for Solving the Problems] The data communication control method according to the present invention transmits random numbers generated by each device to each other in a global address frame before establishing a data link between data communication devices. , the station address is determined by comparing the magnitudes of the numbers.

[作用] この発明においては、上述した方式で局アドレスを決定
するため、予めデータ通信装置のひとつひとつに別個の
局アドレスを付与す、る必要が無くなる。
[Operation] In the present invention, since the station address is determined by the method described above, there is no need to assign a separate station address to each data communication device in advance.

[実施例] 以下、この発明の一実施例を第1図のシーケンス図によ
り説明する。第1図において、(3)はA局のデータ通
信装置で生成した乱数を情報とするグローバルアドレス
のフレーム、(4)はB局のデータ通信装置で生成した
乱数を情報とするグローバルアドレスのフレームで、(
1) 、(2) 、(PL) 、(P2)については従
来例と同様である。
[Embodiment] An embodiment of the present invention will be described below with reference to the sequence diagram shown in FIG. In Figure 1, (3) is a global address frame whose information is a random number generated by the data communication device of station A, and (4) is a global address frame whose information is a random number generated by the data communication device of station B. in,(
1), (2), (PL), and (P2) are the same as in the conventional example.

同図において、A局とB局が共にフェーズ(Pl)、つ
まりデータリンク切断状態にあるとき、それぞれの局が
予め生成した乱数をおかだいにグローバルアドレスのフ
レーム((3)と(4))を用いて送信する。相手局の
グローバルアドレスのフレームを受信したら、自局の乱
数の値と相手局の乱数の値を比較する。このとき、乱数
の値の大きい方をアドレスal、小さい方をアドレスa
2とすることにしておけば、両局のアドレスが決定する
。ただし、al、a2は共に8ビツトで、a1≠a2で
、かつグローバルアドレスでもノーステーションアドレ
スでもない値である。
In the figure, when both stations A and B are in phase (Pl), that is, in a data link disconnected state, each station uses random numbers generated in advance to create global address frames ((3) and (4)). Send using . When a frame with the global address of the other station is received, the value of the random number of the own station and the value of the random number of the other station are compared. At this time, the larger value of the random number is the address al, and the smaller value is the address a.
If it is set to 2, the addresses of both stations will be determined. However, both al and a2 are 8 bits, a1≠a2, and are neither global addresses nor no-station addresses.

例えば、A局のアドレスがalに決定し、アドレスがa
lの方が動作モード設定コマンドを送信するものとした
ら、図に示すようにA局が動作モード設定コンマド(1
)を送信し、B局はこのコマンドを受信してレスポンス
(2)を送信し、このレスポンスをA局が受信してフェ
ーズ(P2)、つまりデータリンク確立状態となる。
For example, the address of station A is determined to be al, and the address is a.
If station A is to send the operation mode setting command, as shown in the figure, station A will send the operation mode setting command (1
), station B receives this command and transmits a response (2), and station A receives this response and enters phase (P2), that is, a data link establishment state.

ここで、第2図にこの発明におけるデータ通信装置の概
念図を示す、(8)は乱数生成部で、(5)〜(8)に
ついては第3図に示す従来のデータ通信装置と同様であ
る。データ処理部(7)は乱数の値を乱数生成部(8)
から読み取ることが出来、上述したように乱数に対する
処理が追加されている他は、この発明によるデータ通信
装置は従来のものと同一の動作をする。
Here, FIG. 2 shows a conceptual diagram of the data communication device according to the present invention. (8) is a random number generation section, and (5) to (8) are similar to the conventional data communication device shown in FIG. be. The data processing unit (7) converts the random number value to the random number generation unit (8).
The data communication device according to the present invention operates in the same manner as the conventional one, except that processing for random numbers is added as described above.

なお、上記実施例では局の数が254を超えたデータ通
信装置について述べたが1例えばハードウェア構成とソ
フトウェア構成が同一のデータ通信装置同士では、共に
同じ局アドレスとなってしまうので、上述したデータ通
信制御方式を用いればこのようなデータ通信装置間のデ
ータ通信も実現できる。
Although the above embodiment describes a data communication device with more than 254 stations, for example, data communication devices with the same hardware and software configurations will both have the same station address. Data communication between such data communication devices can also be realized by using the data communication control method.

[発明の効果] 以上のように、この発明によれば、乱数をグローバルア
ドレスのフレームで自局と相手局とで送信し合い、その
数値の大小によりそれぞれの局アドレスを決定する手順
を加えたので、局の数が254を超えてもデータ通信装
置間のデータ通信を行うことができる。
[Effects of the Invention] As described above, according to the present invention, a procedure is added in which random numbers are transmitted between the local station and the other station in a global address frame, and each station address is determined based on the magnitude of the number. Therefore, even if the number of stations exceeds 254, data communication can be performed between data communication devices.

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

第1図はこの発明の一実施例によるデータ通信制御方式
を氷すシーケンス概略図、第2図と第3図はそれぞれこ
の発明の一実施例によるデータ通信装置と従来のデータ
通信装置を示す概念図、第4図は従来のデータ通信制御
方式を示すシーケンス概略図、第5図はHDLCのフレ
ームのフォーマット図である。 図において、 (3)、(4)は乱数を情報とするグルーパルアドレス
のフレーム、 なお、各図中、同一符号は同−又は相当部分を示す。 代  理  人   大  岩  増  雄第1図 第2図 第3図 手続補正書(自発)
FIG. 1 is a schematic sequence diagram of a data communication control method according to an embodiment of the present invention, and FIGS. 2 and 3 are conceptual diagrams showing a data communication device according to an embodiment of the present invention and a conventional data communication device, respectively. 4 is a sequence schematic diagram showing a conventional data communication control method, and FIG. 5 is a diagram of an HDLC frame format. In the figures, (3) and (4) are frames of group addresses using random numbers as information. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa Figure 1 Figure 2 Figure 3 Procedural amendment (voluntary)

Claims (1)

【特許請求の範囲】[Claims] 国際標準化機構が標準化したハイレベルデータリンク制
御手順又はこれに準拠した手順に基づいてデータ通信を
行うデータ通信装置において、データ通信開始の際、乱
数をグローバルアドレスのフレームで自局と相手局とで
送信し合い、その数値の大小によりそれぞれの局アドレ
スを決定することを特徴とするデータ通信制御方式。
In a data communication device that performs data communication based on the high-level data link control procedure standardized by the International Organization for Standardization or a procedure based on this, when starting data communication, a random number is sent between the local station and the other station in a global address frame. A data communication control method characterized by transmitting data to each other and determining each station's address based on the size of the numbers.
JP61296005A 1986-12-12 1986-12-12 Data communication control system Pending JPS63149937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61296005A JPS63149937A (en) 1986-12-12 1986-12-12 Data communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61296005A JPS63149937A (en) 1986-12-12 1986-12-12 Data communication control system

Publications (1)

Publication Number Publication Date
JPS63149937A true JPS63149937A (en) 1988-06-22

Family

ID=17827897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61296005A Pending JPS63149937A (en) 1986-12-12 1986-12-12 Data communication control system

Country Status (1)

Country Link
JP (1) JPS63149937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0799529A (en) * 1993-05-27 1995-04-11 Ricoh Co Ltd Communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0799529A (en) * 1993-05-27 1995-04-11 Ricoh Co Ltd Communication system

Similar Documents

Publication Publication Date Title
JPH03273352A (en) On-line information processor
JPS63149937A (en) Data communication control system
JPH0473178B2 (en)
JP2629598B2 (en) Intermittent communication control method and intermittent communication control type remote control device using the same
JP2000134277A (en) Method and system for automatically identifying communication link
JPH08186601A (en) Data transfer method for communication equipment
JPS6314534A (en) Communication equipment using contention system
JPH06290127A (en) Computer system
JP3096486B2 (en) Communications system
JPH06216916A (en) Lan control system
JPS62216449A (en) Routing system
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JP2601187B2 (en) Data link control circuit
JPH05227180A (en) Repeater for network
JPS61108239A (en) Method for transferring right of communication master station
JPS62254544A (en) Message routing information processing system
JPS61173553A (en) Packet communication system
JPH0846636A (en) Inter-lan connector
JPH04109731A (en) Control system for incoming and outgoing call
JPH04100440A (en) Data switching system
JPH02134943A (en) X.25 gateway device
JPH02164152A (en) Communication controller
JPH05191413A (en) Transceiver equipment
JPH02222247A (en) Communication control system
JPH03289845A (en) Information quantity expansion system for communication protocol