JP3213030B2 - Communication control method - Google Patents

Communication control method

Info

Publication number
JP3213030B2
JP3213030B2 JP30884991A JP30884991A JP3213030B2 JP 3213030 B2 JP3213030 B2 JP 3213030B2 JP 30884991 A JP30884991 A JP 30884991A JP 30884991 A JP30884991 A JP 30884991A JP 3213030 B2 JP3213030 B2 JP 3213030B2
Authority
JP
Japan
Prior art keywords
slave
host
communication
signal
communication control
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
JP30884991A
Other languages
Japanese (ja)
Other versions
JPH05153118A (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.)
Nippon Telegraph and Telephone Corp
Sumitomo Electric Industries Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Sumitomo Electric Industries Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP30884991A priority Critical patent/JP3213030B2/en
Publication of JPH05153118A publication Critical patent/JPH05153118A/en
Application granted granted Critical
Publication of JP3213030B2 publication Critical patent/JP3213030B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ホストと子器の間で双
方向通信をするときの通信時間を短縮化することのでき
る通信制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control method capable of shortening the communication time when performing bidirectional communication between a host and a slave unit.

【0002】[0002]

【従来の技術】図5は、最近開発された、1本の光ファ
イバ通信路で双方向通信を実現する通信システムを示す
ブロック線図である。同図に示すように、この通信シス
テムは、ホストとなる通信制御装置(以下単に「ホス
ト」と称す)1と、このホスト1の端末機器となる多数
の通信制御装置2−1,2−2,2−3,…,2−n
(以下単に「子器」と称す)とを有している。これらホ
スト1及び各子器2−1〜2−nを1本の光ファイバ通
信路3で縦続接続してある。このとき、光ファイバ通信
路3には光信号を分岐するカプラ4−0,4−1,4−
2,4−3,…4−nがホスト1及び子器2−1〜2−
nに対応して配設してある。
2. Description of the Related Art FIG. 5 is a block diagram showing a recently developed communication system for realizing bidirectional communication with one optical fiber communication path. As shown in FIG. 1, the communication system includes a communication control device (hereinafter simply referred to as a “host”) 1 serving as a host and a plurality of communication control devices 2-1 and 2-2 serving as terminal devices of the host 1. , 2-3, ..., 2-n
(Hereinafter simply referred to as “slave”). The host 1 and each of the slave units 2-1 to 2-n are cascaded by one optical fiber communication path 3. At this time, the couplers 4-0, 4-1 and 4-
.., 4-n are the host 1 and the slaves 2-1 to 2-
n.

【0003】ホスト1及び子器2−1〜2−nは、それ
ぞれ光信号の送信部1a,2a−1,2a−2,2a−
3,…,2a−nと、受信部1b,2b−1,2b−
2,2b−3,…,2b−nと、信号処理部でありそれ
ぞれメモリを内蔵しているCPU1c,2c−1,2c
−2,2c−3,…,2c−nを有している。またホス
ト1から位置的に離れるにしたがって増大する自然数の
アドレス番号#0,#1,#2,#3,#4,…,#n
が付与されている。ホスト1のCPU1cのメモリは、
全部のアドレス番号#0〜#nをリストとして記憶して
いる。各子器2−1〜2−nのCPU2c−1〜2c−
nのメモリは、自己のアドレス番号#1〜#nをそれぞ
れ記憶している。
[0003] The host 1 and the slave units 2-1 to 2-n respectively include optical signal transmitting units 1a, 2a-1, 2a-2 and 2a-.
, 2a-n and the receiving units 1b, 2b-1 and 2b-
, 2b-3,..., 2b-n, and CPUs 1c, 2c-1, and 2c each of which is a signal processing unit and has a built-in memory.
, 2c-3, ..., 2c-n. Also, address numbers # 0, # 1, # 2, # 3, # 4,..., #N of natural numbers that increase as the distance from the host 1 increases.
Is given. The memory of the CPU 1c of the host 1 is as follows:
All address numbers # 0 to #n are stored as a list. CPUs 2c-1 to 2c- of the slave units 2-1 to 2-n
The n memory stores its own address numbers # 1 to #n.

【0004】図6は前記通信システムにおいて使用する
通信情報のフォーマットを概念的に示す説明図である。
同図に示すように、このフォーマットには、そのヘッダ
中に発信元α,送信先β及び中継部γを設けてあり、ヘ
ッダに続くエリアに通信文δを記録するようになってい
る。
FIG. 6 is an explanatory view conceptually showing a format of communication information used in the communication system.
As shown in the figure, in this format, a source α, a destination β, and a relay unit γ are provided in the header, and a message δ is recorded in an area following the header.

【0005】前記通信システムにおいては、全ての子器
2−1〜2−nにおいて同様の情報処理を行なうが、例
えばアドレス番号#2の子器2−2が通信情報を受信し
た場合、この通信情報のヘッダの情報に基づき次の通り
の処理を行なう。
In the communication system, the same information processing is performed in all the slaves 2-1 to 2-n. For example, when the slave 2-2 having the address number # 2 receives the communication information, this communication is performed. The following processing is performed based on the information in the information header.

【0006】 α≦γ<#2<β、及びα≧γ>#2
>βのとき、受信した通信情報の中継部γのアドレス番
号を#2に書き替えて隣接する子器2−1,2−3に送
出する。 β=#2のとき、通信文δを取り込んで処理する。 ,以外のとき、何もしない。
Α ≦ γ <# 2 <β and α ≧ γ># 2
If> β, the address number of the relay unit γ of the received communication information is rewritten to # 2 and transmitted to the adjacent slave units 2-1 and 2-3. When β = # 2, the message δ is fetched and processed. Do nothing other than,.

【0007】したがって、子器2−2が、例えばα=#
0,β=#n,γ=#1の通信情報を受信した場合に
は、通信情報をγ=#2と書き替えて子器2−1,2−
3に送出する。その結果、子器2−1では、前記の条
件であると判断し、それ以上の送信は行なわない。一
方、子器2−3では前記の条件であると判断し、前述
の如き所定の処理を行なう。
Therefore, the slave 2-2 has, for example, α = #
When the communication information of 0, β = # n and γ = # 1 is received, the communication information is rewritten as γ = # 2 and the slave units 2-1 and 2-
3 As a result, the slave 2-1 determines that the above condition is satisfied, and does not perform any further transmission. On the other hand, the slave 2-3 determines that the above condition is satisfied, and performs the predetermined processing as described above.

【0008】かくして、隣接するホスト1及び子器2−
1〜2−nに通信情報をバケツリレー式に順次送信する
ことにより、ホスト1及び子器2−1〜2−n間の双方
向通信が1本の光ファイバ通信路3で実現される。
[0008] Thus, the adjacent host 1 and slave 2-
By sequentially transmitting the communication information to the nodes 1 to 2-n in a bucket brigade manner, bidirectional communication between the host 1 and the slave units 2-1 to 2-n is realized by one optical fiber communication path 3.

【0009】[0009]

【発明が解決しようとする課題】上述の如き通信システ
ムによれば、ホスト1と他の子器(例えば2−n)との
間で通信を行うには、途中の子器(2−1〜2−(n−
1))を経由してデータ転送を行う。
According to the communication system as described above, communication between the host 1 and another slave (for example, 2-n) requires the slaves (2-1 to 2-n) on the way. 2- (n-
Data transfer is performed via 1)).

【0010】そこでホスト1と#1〜#nの各子器2−
1〜2−nすべてとの間で通信を行うときには、データ
は次に示すようにして転送される。ホスト1と#nの子
器2−nとの間で通信するとき。この場合にはホスト1
から出力された処理実行信号は、#1〜#(n−1)の
子器2−1〜2−(n−1)を介して、目的の子器2−
nへ送られる。その後、子器2−nから処理確認信号が
出力され、この処理確認信号は、#(n−1)〜#1の
子器2−(n−1)〜2−1を介して、ホスト1へ送ら
れる。
Therefore, the host 1 and each of the slaves 2- # 1 to #n 2-
When communication is performed with all of the devices 1 to 2-n, data is transferred as follows. When communicating between the host 1 and the slave unit 2-n of #n. In this case, host 1
Are output from the target slaves 2--1 through 2- (n-1) of the slaves 2-1 to 2- (n-1) of # 1 to # (n-1).
n. Thereafter, a processing confirmation signal is output from the slave unit 2-n, and the processing confirmation signal is transmitted to the host 1 via the slave units 2- (n-1) to 2-1 of # (n-1) to # 1. Sent to

【0011】ホスト1と#n−1,#n−2,…#4,
#3,#2の子器とで通信をするときにも、間に位置す
る子器を経由して、ホスト1から目的の子器に処理実行
信号が転送されるとともに、目的の子器からホスト1に
処理確認信号が転送される。なお、ホスト1と#1の子
器2−1とは直接に、処理実行信号と処理確認信号の伝
送が行なわれる。
The host 1 and # n-1, # n-2,... # 4
When communication is performed with the slaves # 3 and # 2, the processing execution signal is transferred from the host 1 to the target slave via the slave located therebetween, and the communication is performed from the target slave. The processing confirmation signal is transferred to the host 1. It should be noted that the host 1 and the slave unit 2-1 of # 1 directly transmit the processing execution signal and the processing confirmation signal.

【0012】そしてホスト1と任意の一の子器との間で
通信をしているときに、ホスト1と他の子器との間の通
信を同時に行うことはない。
When communication is performed between the host 1 and an arbitrary slave, communication between the host 1 and another slave is not performed simultaneously.

【0013】したがってホスト1がn個の各子器すべて
に対し通信を行うときには、通信時間TS1は次の式で示
される。但し次式でtd はデータ転送時間、tb は各子
器でのデータ再送処理時間、t k は各子器でデータ処理
に要する時間である。
Therefore, the host 1 has all n slave units.
Communication time, the communication time TS1Is given by
Is done. Where t isdIs the data transfer time, tbIs each child
Retransmission processing time in the device, t kIs data processing in each slave unit
It is the time required.

【0014】[0014]

【数1】 (Equation 1)

【0015】上述したように従来では、ホスト1と多数
の子器との間でデータ通信をするのに、子器の数nの2
乗に比例した、長い時間を要していた。
As described above, in the prior art, data communication between the host 1 and a large number of slaves requires two, which is the number n of slaves.
It took a long time proportional to the power.

【0016】本発明は、上記従来技術に鑑み、ホストと
多数の子器との間でデータ通信をしたときに要する時間
を短縮化することのできる通信制御方法を提供すること
を目的とする。
In view of the above prior art, an object of the present invention is to provide a communication control method capable of reducing the time required when data communication is performed between a host and a number of slaves.

【0017】[0017]

【課題を解決するための手段】上記課題を解決する本発
明は、1台のホストとなる通信制御装置と、子器となる
多数台の通信制御装置が1本の光ファイバ通信路により
縦続接続され、ホストの通信制御装置と任意の一の子器
の通信制御装置との間で双方向通信を行うのに、両方の
通信制御装置の間にある通信制御装置を経由してデータ
転送を行う通信システムにおいて、ホストの通信制御装
置から任意の一の子器の通信制御装置にデータを送り、
一の通信制御装置からホストの通信制御装置にデータが
返送されてくる間に、一の通信制御装置よりもホストに
近い側の他の通信制御装置に、ホストの通信制御装置か
らデータを送るとともに、他の通信制御装置からホスト
の通信制御装置にデータを返送させることを特徴とす
る。
According to the present invention, a communication control device serving as a host and a plurality of communication control devices serving as slaves are cascaded by one optical fiber communication path. In order to perform two-way communication between the communication control device of the host and the communication control device of any one of the slaves, data transfer is performed via the communication control device between the two communication control devices. In the communication system, sending data from the communication control device of the host to the communication control device of any one of the slaves,
While data is returned from one communication control device to the host communication control device, data is sent from the host communication control device to another communication control device closer to the host than one communication control device. And transmitting the data from another communication control device to the communication control device of the host.

【0018】[0018]

【作用】本発明ではホストから遠くに隔れた子器に対し
双方向通信をする間に、近くの子器に対する双方向通信
を行うため、ホストとすべての子器との間で通信をする
時間が短くなる。
According to the present invention, communication is performed between the host and all the slaves in order to perform two-way communication with the nearby slave while performing two-way communication with the slave that is far from the host. Time is shortened.

【0019】[0019]

【実施例】以下に本発明の実施例を説明する。図1〜図
4は、ホスト1と10個の子器2−1〜2−10を1本
の光ファイバ通信路3で接続して双方向通信を実現する
通信システムの構成と、信号の伝送状態を示している。
ホスト1,子器2−1〜2−10,光ファイバ通信路3
の個々の構成及び機能は、図5,図6に示した従来技術
と同じである。なおカプラは図示省略している。本発明
では、後述するように、信号タイミングに工夫をして、
データ通信時間の短縮化を図っている。
Embodiments of the present invention will be described below. FIGS. 1 to 4 show a configuration of a communication system for realizing bidirectional communication by connecting a host 1 and ten slave units 2-1 to 2-10 by one optical fiber communication path 3, and signal transmission. The state is shown.
Host 1, slave units 2-1 to 2-10, optical fiber communication path 3
Are the same as in the prior art shown in FIGS. 5 and 6. The coupler is not shown. In the present invention, as described later, the signal timing is devised,
The data communication time is shortened.

【0020】図1は時刻t1から時刻t20までの時間
Iにおける、信号の伝送状態を示している。詳細動作は
後述するが、この期間Iでは、ホスト1から子器2−1
0に処理実行信号D10を送ってから子器2−10から
ホスト1に処理確認信号d10が戻ってくる間に、ホス
ト1から子器2−6に処理実行信号D6を送り子器2−
6からホスト1に処理確認信号d6を戻すとともに、ホ
スト1から子器2−2に処理実行信号D2を送り子器2
−2から処理確認信号d2を戻すようにしている。この
ため期間I(時刻t1〜t20)においてアドレス番号
が#10,#6,#2の3台の子器2−10,2−6,
2−2の処理が完了する。ちなみに従来技術では、時刻
t1〜t20において#10の子器2−10の処理のみ
が終了するだけであった。
FIG. 1 shows a signal transmission state at time I from time t1 to time t20. Although the detailed operation will be described later, in this period I, the host 1
0, the processing execution signal D6 is sent from the host 1 to the slave 2-6 while the processing confirmation signal d10 is returned from the slave 2-10 to the host 1 after sending the processing execution signal D10 to the slave 2-2.
6 returns a processing confirmation signal d6 to the host 1, and sends a processing execution signal D2 from the host 1 to the slave 2-2 to send the slave
-2 returns the processing confirmation signal d2. Therefore, in the period I (time t1 to t20), the three slave units 2-10, 2-6, whose address numbers are # 10, # 6, and # 2.
The process of 2-2 is completed. Incidentally, in the conventional technology, only the processing of the slave unit 2-10 of # 10 is completed at the times t1 to t20.

【0021】図2は時刻t21から時刻t38までの期
間IIにおける、信号の伝送状態を示している。この期間
IIでは、ホスト1から子器2−9に処理実行信号D9を
送ってから子器2−9からホスト1に処理確認信号d9
が戻ってくる間に、ホスト1から子器2−5に処理実行
信号D5を送り子器2−5からホスト1に処理確認信号
d5を戻すとともに、ホスト1から子器2−1に処理実
行信号D1を送り子器2−2から処理確認信号d1を戻
すようにしている。このため期間II(時刻t21〜t3
8)においてアドレス番号が#9,#5,#1の3台の
子器2−9,2−5,2−1の処理が完了する。
FIG. 2 shows a signal transmission state in a period II from time t21 to time t38. this period
In II, the processing execution signal D9 is sent from the host 1 to the slave 2-9, and then the processing confirmation signal d9 is sent from the slave 2-9 to the host 1.
Is returned, the host 1 sends the processing execution signal D5 to the slave 2-5, returns the processing confirmation signal d5 from the slave 2-5 to the host 1, and executes the processing from the host 1 to the slave 2-1. The signal D1 is sent back from the handset 2-2 to the processing confirmation signal d1. Therefore, period II (time t21 to t3)
In 8), the processes of the three slave units 2-9, 2-5, and 2-1 having the address numbers # 9, # 5, and # 1 are completed.

【0022】図3は時刻t39から時刻t54までの期
間III における、信号の伝送状態を示している。この期
間III では、ホスト1から子器2−8に処理実行信号D
8を送ってから子器2−8からホスト1に処理確認信号
d8が戻ってくる間に、ホスト1から子器2−4に処理
実行信号D4を送り子器2−4からホスト1に処理確認
信号d4を戻す。このため期間III (時刻t39〜t5
4)においてアドレス番号が#8,#4の2台の子器2
−8,2−4の処理が完了する。
FIG. 3 shows a signal transmission state in a period III from time t39 to time t54. In this period III, the processing execution signal D is sent from the host 1 to the slave 2-8.
8, the host 1 sends a processing execution signal D4 to the slave 2-4, and the slave 2-4 processes the host 1 while the processing confirmation signal d8 returns from the slave 2-8 to the host 1. The confirmation signal d4 is returned. Therefore, period III (time t39 to t5)
4) Two slave units 2 having address numbers # 8 and # 4
The processes of -8 and 2-4 are completed.

【0023】図4は時刻t55から時刻t68までの期
間IVにおける、信号の伝送状態を示している。この期間
IVでは、ホスト1から子器2−7に処理実行信号D7を
送ってから子器2−7からホスト1に処理確認信号d7
が戻ってくる間に、ホスト1から子器2−3に処理実行
信号D3を送り子器2−3からホスト1に処理確認信号
d3を戻す。このため期間IV(時刻t55〜t68)に
おいてアドレス番号が#7,#3の2台の子器2−7,
2−3の処理が完了する。
FIG. 4 shows a signal transmission state in a period IV from time t55 to time t68. this period
In the IV, the processing execution signal D7 is sent from the host 1 to the slave 2-7, and then the processing confirmation signal d7 is sent from the slave 2-7 to the host 1.
Returns the processing execution signal D3 from the host 1 to the slave 2-3, and returns the processing confirmation signal d3 from the slave 2-3 to the host 1. Therefore, during the period IV (time t55 to t68), the two slave units 2-7 having the address numbers # 7 and # 3,
The process of 2-3 is completed.

【0024】ここで、期間Iにおける詳細動作を説明す
る。 (1)時刻t1ではホスト1から子器2−1へ処理実行
信号D10が転送される。この信号D10の発信元αは
#1で、発信先βは#10である。図中、転送状態を矢
印で示している。 (2)時刻t2では子器2−1から子器2−2へ信号D
10が転送される。なお、子器2−1からホスト1へも
信号D10が転送されるが、送信先βが#10であるた
めホスト1はそれ以上の送信は実行しないので、#10
と逆向きの信号転送は、以降説明せず、また図示しな
い。 (3)(4)時刻t3では子器2−2から子器2−3へ
信号D10が転送され、時刻t4では子器2−3から子
器2−4へ信号D10が転送される。 (5)時刻t5では子器2−4から子器2−5へ信号D
10が転送される。また同時にホスト1から子器2−1
へ処理実行信号D6が転送される。この信号D6の発信
元αは#1で、送信先βは#6である。
Here, the detailed operation in the period I will be described. (1) At time t1, the processing execution signal D10 is transferred from the host 1 to the slave 2-1. The source α of this signal D10 is # 1, and the destination β is # 10. In the figure, the transfer state is indicated by an arrow. (2) At time t2, the signal D is sent from the slave 2-1 to the slave 2-2.
10 is transferred. The signal D10 is also transferred from the slave unit 2-1 to the host 1. However, since the destination β is # 10, the host 1 does not execute any further transmission.
The signal transfer in the opposite direction will not be described hereafter, and is not shown. (3) (4) At time t3, signal D10 is transferred from slave 2-2 to slave 2-3, and at time t4, signal D10 is transferred from slave 2-3 to slave 2-4. (5) At time t5, the signal D is sent from the slave 2-4 to the slave 2-5.
10 is transferred. At the same time, the child device 2-1 is sent from the host 1.
Is transferred to the processing execution signal D6. The source α of the signal D6 is # 1, and the destination β is # 6.

【0025】(6)(7)(8)時刻t6では、子器2
−5から子器2−6へ信号D10が転送され、子器2−
1から子器2−2へ信号D6が転送される。時刻t7で
は、子器2−6から子器2−7へ信号D10が転送さ
れ、子器2−2から子器2−3へ信号D6が転送され
る。時刻t8では、子器2−7から子器2−8へ信号D
10が転送され、子器2−3から子器2−4へ信号D6
が転送される。 (9)時刻t9では、子器2−8から子器2−9へ信号
D10が転送され、子器2−4から子器2−5へ信号D
6が転送される。更に同時に、ホスト1から子器2−1
へ処理実行信号D2が転送される。この信号D2の発信
元αは#1で、送信先βは#2である。 (10)時刻t10では、子器2−9から子器2−10へ
信号D10が転送され、子器2−5から子器2−6へ信
号D6が転送され、子器2−1から子器2−2へ信号D
2が転送される。子器2−10は処理実行信号D10を
受けて所要の信号処理を実行する。同様に、子器2−6
は処理実行信号D6を受けて所要の信号処理をし、子器
2−2は処理実行信号D2を受けて所要の信号処理をす
る。
(6) (7) (8) At time t6, the slave 2
-5 to the slave 2-6, the signal D10 is transferred to the slave 2
The signal D6 is transferred from 1 to the slave 2-2. At time t7, signal D10 is transferred from slave 2-6 to slave 2-7, and signal D6 is transferred from slave 2-2 to slave 2-3. At time t8, the signal D is sent from the slave 2-7 to the slave 2-8.
10 is transferred from the slave 2-3 to the slave 2-4 by the signal D6.
Is transferred. (9) At time t9, signal D10 is transferred from child device 2-8 to child device 2-9, and signal D10 is sent from child device 2-4 to child device 2-5.
6 is transferred. At the same time, the host 1 sends the slave 2-1.
Is transferred to the processing execution signal D2. The source α of the signal D2 is # 1, and the destination β is # 2. (10) At time t10, the signal D10 is transferred from the slave 2-9 to the slave 2-10, the signal D6 is transferred from the slave 2-5 to the slave 2-6, and the signal 2-1 is transferred from the slave 2-1 to the slave. Signal D to unit 2-2
2 is transferred. The slave 2-10 receives the processing execution signal D10 and executes required signal processing. Similarly, the slave 2-6
Receives the processing execution signal D6 and performs required signal processing, and the slave 2-2 receives the processing execution signal D2 and performs required signal processing.

【0026】(11) 時刻t11では、子器2−10から
子器2−9へ処理確認信号d10が転送され、子器2−
6から子器2−5へ処理確認信号d6が転送され、子器
2−2から子器2−1へ処理確認信号d2が転送され
る。 (12)時刻t12では、子器2−9から子器2−8へ処
理確認信号d10が転送され、子器2−5から子器2−
4へ処理確認信号d6が転送され、子器2−1からホス
ト1へ処理確認信号d2が転送される。ホスト1は、処
理確認信号d2を受けることにより、子器2−2による
処理が完了したことを確認する。 (13)時刻t13では、子器2−8から子器2−7へ処
理確認信号d10が転送され、子器2−4から子器2−
5へ処理確認信号d6が転送される。 (14)(15)時刻t14では、子器2−7から子器2−
6へ処理確認信号d10が転送され、子器2−3から子
器2−2へ処理確認信号d6が転送される。時刻t15
では、子器2−6から子器2−5へ処理確認信号d10
が転送され、子器2−2から子器2−1へ処理確認信号
d6が転送される。
(11) At time t11, the processing confirmation signal d10 is transferred from the slave 2-10 to the slave 2-9,
6 transfers the processing confirmation signal d6 to the slave 2-5, and transfers the processing confirmation signal d2 from the slave 2-2 to the slave 2-1. (12) At time t12, the processing confirmation signal d10 is transferred from the slave 2-9 to the slave 2-8, and the slave 2-5 is transferred from the slave 2-5.
4, the processing confirmation signal d6 is transferred, and the slave unit 2-1 transfers the processing confirmation signal d2 to the host 1. The host 1 confirms that the processing by the slave 2-2 has been completed by receiving the processing confirmation signal d2. (13) At time t13, the processing confirmation signal d10 is transferred from the slave 2-8 to the slave 2-7, and the slave 2-4 is transferred from the slave 2-4.
5, the processing confirmation signal d6 is transferred. (14) (15) At time t14, the slaves 2-7 to 2-
The processing confirmation signal d10 is transferred to the slave 6, and the processing confirmation signal d6 is transferred from the slave 2-3 to the slave 2-2. Time t15
Then, the processing confirmation signal d10 is sent from the slave 2-6 to the slave 2-5.
Is transferred, and the processing confirmation signal d6 is transferred from the slave 2-2 to the slave 2-1.

【0027】(16)時刻t16では、子器2−5から子
器2−4へ処理確認信号d10が転送され、子器2−1
からホスト1へ処理確認信号d6が転送される。ホスト
1は、処理確認信号d6を受けることにより、子器2−
6による処理が完了したことを確認する。 (17)(18)(19)時刻t17〜t19では処理確認信
号d10が、子器2−4→2−3→2−2→2−1と順
次転送される。 (20)時刻t20では子器2−1からホスト1へ処理確
認信号d10が転送される。ホスト1は、処理確認信号
d10を受けることにより、子器2−10による処理が
完了したことを確認する。
(16) At time t16, the processing confirmation signal d10 is transferred from the slave 2-5 to the slave 2-4, and the slave 2-1
, The processing confirmation signal d6 is transferred to the host 1. The host 1 receives the processing confirmation signal d6,
It is confirmed that the processing by No. 6 has been completed. (17) (18) (19) From time t17 to t19, the processing confirmation signal d10 is sequentially transferred in the order of the slaves 2-4 → 2-3 → 2-2 → 2-1. (20) At time t20, the processing confirmation signal d10 is transferred from the slave 2-1 to the host 1. Upon receiving the processing confirmation signal d10, the host 1 confirms that the processing by the slave 2-10 has been completed.

【0028】図2に示す期間II(時刻t21〜t3
8)、図3に示す期間III (時刻t39〜t54)、図
4に示す期間IV(時刻t55〜t68)においても、図
1に示す期間Iのときと同様にして信号の転送動作が行
なわれる。
The period II (time t21 to t3) shown in FIG.
8), a signal transfer operation is performed in a period III (time t39 to t54) illustrated in FIG. 3 and a period IV (time t55 to t68) illustrated in FIG. 4 in the same manner as in the period I illustrated in FIG. .

【0029】上述した、10台の子器が1台のホストに
接続している通信システム側でわかるように、ホスト1
と各子器すべてとで通信をしても、同一時刻に複数の信
号を転送するようにしたので通信時間が短縮できる。
As can be seen from the communication system where the ten slave units are connected to one host, the host 1
Even when communication is performed between all of the slave units and each of the slave units, a plurality of signals are transferred at the same time, so that the communication time can be reduced.

【0030】一般論で説明すると、1台のホストにn台
の子器が接続されている通信システムでは、本発明を適
用することにより、通信時間TS2は次式で示すようにな
る。
In general terms, in a communication system in which n hosts are connected to one host, by applying the present invention, the communication time T S2 is expressed by the following equation.

【0031】[0031]

【数2】 (Equation 2)

【0032】従来での通信時間TS1と、本発明での通信
時間TS2との比は次式のようになる。
The ratio of the conventional communication time T S1 to the communication time T S2 of the present invention is as follows.

【0033】[0033]

【数3】 (Equation 3)

【0034】nが大きくなるとTS1/TS2≒n/8とな
り、通信時間がn2 ではなくnに比例するようになり、
本発明は従来に比べ通信時間が約8/nに短縮される。
When n increases, T S1 / T S2 ≒ n / 8, and the communication time becomes proportional to n instead of n 2 .
According to the present invention, the communication time is reduced to about 8 / n as compared with the related art.

【0035】[0035]

【発明の効果】以上実施例とともに具体的に説明したよ
うに本発明によれば、ホストと一の子器との間で多方向
通信をする間に、ホストと、一の子器よりもホスト側の
子器との間の双方向通信も実行していくので、ホストと
多数の子器とで通信をするときの通信時間が短くなる。
According to the present invention, as described above in detail with the embodiment, during the multi-directional communication between the host and one child device, the host and the one child device are compared with each other. Since the two-way communication with the slave units on the side is also performed, the communication time when communication is performed between the host and many slave units is shortened.

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

【図1】通信システムと本発明による信号伝送状態を示
す説明図である。
FIG. 1 is an explanatory diagram showing a communication system and a signal transmission state according to the present invention.

【図2】通信システムと本発明による信号伝送状態を示
す説明図である。
FIG. 2 is an explanatory diagram showing a communication system and a signal transmission state according to the present invention.

【図3】通信システムと本発明による信号伝送状態を示
す説明図である。
FIG. 3 is an explanatory diagram showing a communication system and a signal transmission state according to the present invention.

【図4】通信システムと本発明による信号伝送状態を示
す説明図である。
FIG. 4 is an explanatory diagram showing a communication system and a signal transmission state according to the present invention.

【図5】通信システムの構成を示す構成図である。FIG. 5 is a configuration diagram illustrating a configuration of a communication system.

【図6】通信情報のフォーマットを概念的に示す説明図
である。
FIG. 6 is an explanatory diagram conceptually showing a format of communication information.

【符号の説明】 1 通信制御装置(ホスト) 2−1〜2−n 通信制御装置(子器) 3 光ファイバ通信路[Description of Signs] 1 Communication control device (host) 2-1 to 2-n Communication control device (slave unit) 3 Optical fiber communication path

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−160351(JP,A) 特開 昭61−92060(JP,A) 特開 昭61−173551(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-59-160351 (JP, A) JP-A-61-92060 (JP, A) JP-A-61-173551 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04L 12/28

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1台のホストとなる通信制御装置と、子
器となる多数台の通信制御装置が1本の光ファイバ通信
路により縦続接続され、ホストの通信制御装置と任意の
一の子器の通信制御装置との間で双方向通信を行うの
に、両方の通信制御装置の間にある通信制御装置を経由
してデータ転送を行う通信システムにおいて、 ホストの通信制御装置から任意の一の子器の通信制御装
置にデータを送り、一の通信制御装置からホストの通信
制御装置にデータが返送されてくる間に、一の通信制御
装置よりもホストに近い側の他の通信制御装置に、ホス
トの通信制御装置からデータを送るとともに、他の通信
制御装置からホストの通信制御装置にデータを返送させ
ることを特徴とする通信制御方法。
1. A communication control device serving as one host and a plurality of communication control devices serving as slaves are cascaded by one optical fiber communication path. In a communication system in which data transfer is performed via the communication control device between the two communication control devices for performing bidirectional communication with the communication control device of the host, any one of the communication control devices of the host may be used. While the data is sent to the communication control device of the slave unit and the data is returned from the one communication control device to the communication control device of the host, the other communication control device closer to the host than the one communication control device And transmitting data from the communication control device of the host and returning data from another communication control device to the communication control device of the host.
JP30884991A 1991-11-25 1991-11-25 Communication control method Expired - Fee Related JP3213030B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30884991A JP3213030B2 (en) 1991-11-25 1991-11-25 Communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30884991A JP3213030B2 (en) 1991-11-25 1991-11-25 Communication control method

Publications (2)

Publication Number Publication Date
JPH05153118A JPH05153118A (en) 1993-06-18
JP3213030B2 true JP3213030B2 (en) 2001-09-25

Family

ID=17986016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30884991A Expired - Fee Related JP3213030B2 (en) 1991-11-25 1991-11-25 Communication control method

Country Status (1)

Country Link
JP (1) JP3213030B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008060007A1 (en) 2008-11-25 2010-05-27 Pilz Gmbh & Co. Kg Method for transmitting data in an automated control system

Also Published As

Publication number Publication date
JPH05153118A (en) 1993-06-18

Similar Documents

Publication Publication Date Title
JP3165022B2 (en) Computer system and message transfer method
JPH03195238A (en) Method of transferring data at high speed
JPH114279A (en) Method and mechanism for transmission between advanced systems
JP3213030B2 (en) Communication control method
JPS5833970B2 (en) Inter-processor communication method
JP3384601B2 (en) Parallel processing computer
JPS5824253A (en) Packet synthesizing system
JPS634216B2 (en)
JPS6126706B2 (en)
JP2850624B2 (en) Message communication method
JPS5824254A (en) Packet buffer-free system
JPS6055755A (en) Loop transmitter
JP2821053B2 (en) Network system
JPH10320345A (en) Bus controller
JPH0478249A (en) Communication control method
JPH0349446A (en) Inter-processor communication equipment
JPH03156558A (en) Method for communication between host cpu and coprocessor
JPH06303247A (en) Communication method for optical communication system
JPH04238566A (en) Inter-multi-processor bus communication system
CN118174754A (en) High-speed serial interface starting method and system
JPH0681158B2 (en) Data transfer control device
JPS6359155A (en) Communication control system
JPS60120458A (en) Data transferring device
JPS63308660A (en) Message exchanging system for data processing device
JPH09198263A (en) Inter-process communicating method and system therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010703

LAPS Cancellation because of no payment of annual fees