JPS6269749A - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JPS6269749A
JPS6269749A JP20968485A JP20968485A JPS6269749A JP S6269749 A JPS6269749 A JP S6269749A JP 20968485 A JP20968485 A JP 20968485A JP 20968485 A JP20968485 A JP 20968485A JP S6269749 A JPS6269749 A JP S6269749A
Authority
JP
Japan
Prior art keywords
data
transmission
transmitter
time
nodes
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
JP20968485A
Other languages
Japanese (ja)
Inventor
Hisanori Kataoka
片岡 久典
Hiroshi Kutsuyama
沓山 弘
Masatake Torida
鳥田 正剛
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP20968485A priority Critical patent/JPS6269749A/en
Publication of JPS6269749A publication Critical patent/JPS6269749A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To limit a delay time until transmission becomes successful after data to be transmitted is available by subtracting the prescribed time from the retransmission standby time of all nodes whenever nodes with different initial values become successful in data transmission. CONSTITUTION:A transmitter 1 detects whether other node signals are present or not on a communication line 10. When the transmitter 1 detects the idleness of the communication line, it activates a timer 4 and becomes transmittable after a transmission standby time Hsec. Then it checks the presence or absence or the data to be transmitted, and transmits the data when the data is present. At this time, if other nodes are transmitted in the same way, data collides. When the transmitter 1 detects the collision, it activates the timer 4, and retransmits the data after retransmission standby time i.h. If retransmission proves failure, the transmitter 1 again recognizes the idleness of the communica tion line, and becomes transmittable after the transmission stanby time H. When the transmitter 1 succeeds in its own transmission or in other nodes, it subtracts one from the value of a register 3. If the value returns to '1', the transmitter 1 sets the value to (n).

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信線に複数のノードが接続しCあるネットワ
ークにおけるデータ伝送方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission method in a network in which a plurality of nodes are connected to a communication line.

〔従来技術〕[Prior art]

ローカルエリアネットワークにおいては通信線に連なる
各ノードが任意にデータを伝送すると、データが相互に
衝突して通信不可能の状態を惹起する。従って各ノート
間にて不7・トワークにアクセスするノードを凋整場る
必要がある。その一方法としてC3M^/CD力式があ
る(例えばCO出版社発行の「ローカルネノ(−ワーク
技術の基礎と実際」r’103〜I’109)。この方
式は通信線に他ノードの信号がないのを検出した上でデ
ータを伝送し、データ同士が衝突した場合は再送すると
いう方法であり、通信線が空いた直後に確率pで送信す
るか、或いは通信線が空いた直後に送信し、データ同士
が衝突した場合に確率p′で再送−Jる。
In a local area network, when each node connected to a communication line transmits data arbitrarily, the data collides with each other, causing a state in which communication is impossible. Therefore, it is necessary to organize the nodes that access the network between each node. One method is the C3M^/CD power method (for example, "Local Neno (-Fundamentals and Practice of Work Technology"r'103-I'109, published by CO Publishing). This method uses the communication line to transmit signals from other nodes. The method is to transmit the data after detecting that the data is not present, and to retransmit it if the data collides with each other. , if data collides with each other, it is retransmitted with probability p'.

(発明が解決しようとする問題点〕 ところがこのような従来方法ではノードが通信1べきデ
ータを持つ−(から送信に成功Jるまでの遅延時間の最
大値が定まらないという欠点があり、ネy l”ワーク
を構築する上ご種々の支障を来−3゜〔問題点を解決す
るための手段〕 本発明はこのような問題点を解決するためになされたも
のであって、データ衝突が生した場合の再送信待ち時間
の初期設定値を各ノート−ごとに相異せしめζおき、い
ずれかのノードがデータ伝送に成功する都度、全ノード
の再送信待ち時間を所定時間ずつ減じていくごととして
、伝送すべきデータを得てから伝送に成功するまでの遅
延時間を限定できるようにしたデータ伝送方法を提供す
ることを目的とする。
(Problem to be solved by the invention) However, in such a conventional method, there is a drawback that the maximum value of the delay time from when a node has data to be communicated until successful transmission is not determined. 3) [Means for Solving the Problems] The present invention was made to solve these problems, and the present invention has been made to solve these problems. In this case, the initial setting value of the retransmission waiting time is set differently for each node, and each time any node succeeds in data transmission, the retransmission waiting time of all nodes is decreased by a predetermined amount. An object of the present invention is to provide a data transmission method that can limit the delay time from obtaining data to be transmitted to successfully transmitting the data.

本発明に係るデータ伝送方法は、通信線に複数のノード
が接続してあり、データの衝突の検出を1べくなしであ
るネットワークでのデータ伝送方法において、データの
衝突を検出した場合における再送信待ち時間を各ノード
ごとに相異る値1h(iは整数)に初期設定しておき、
爾後いずれかのノードがデータ伝送に成功する都度、全
ノードの再送信待ち時間をh1′−)減じ゛(いくごと
を特徴と場る。
The data transmission method according to the present invention is a data transmission method in a network in which a plurality of nodes are connected to a communication line and detection of data collision is impossible, and retransmission when a data collision is detected. The waiting time is initially set to a different value of 1h (i is an integer) for each node,
Thereafter, each time any node successfully transmits data, the retransmission waiting time of all nodes is reduced (h1'-).

〔実施例〕〔Example〕

以下本発明をその実施例を示す図面に基づいて具体的に
説明する。
The present invention will be specifically described below based on drawings showing embodiments thereof.

第1図に示すように通信線10にはn個のノードAl、
A2.^3・・−An−II Anが接続されており、
相互間のデータ伝送が行なえるようにローカルエリ−r
ネットワークを構築してあり、またこのデータ伝送を行
うに際して各ノートは通信線10が使われているか否か
を検出する機能及び伝送データの衝突が生じたか否かを
検出する機能を有している。
As shown in FIG. 1, the communication line 10 includes n nodes Al,
A2. ^3...-An-II An is connected,
Local area r for mutual data transmission
A network has been constructed, and each notebook has a function to detect whether the communication line 10 is being used or not and a function to detect whether a collision of transmitted data has occurred when performing this data transmission. .

ネットワーク起動時には第1表に示すようにノードAl
、A2.A3・・・All−1+ Allの夫々に再送
信待ち時間(秒)として1 ・h、 2・h、 3・h
 −(n−1) ・h 。
When starting the network, the node Al
, A2. A3...All-1+ All retransmission waiting time (seconds) is 1 ・h, 2 ・h, 3 ・h
-(n-1) ・h.

n−h、つまりi−h  (i=1,2.3 ・=n)
が夫々初期設定される。
n-h, i.e. i-h (i=1,2.3 ・=n)
are initialized respectively.

(以下余白) ごごに再送信待ぢ時間とは送信したにも拘わらずデータ
の衝突を生じた後、次に送信するまでの時間を言う。な
おhの値は nh<)( 但し、■!は通信線10に他のノードの信号がないこと
を検出してから、実際にデータ送信を開始するまでの一
定の送信待ち時間 となるように、また通信線10の遅延を各層;しC定め
′ζおく。これは衝突したノードを優先的に伝送するた
めごある。
(Left below) Retransmission waiting time refers to the time from when a data collision occurs to the next transmission. Note that the value of h is nh<) (However, ■! is a constant transmission waiting time from detecting that there is no signal from another node on the communication line 10 until actually starting data transmission. , and a delay in the communication line 10 is set for each layer. This is to give priority to transmission to nodes that have collided.

以上の如き再送信待ち時間の初期設定のあと、いずれか
のノートが送信に成功する都度、全ノードにつき再送信
待ち時間をhずつ減していく。第1表は各ノードについ
ての再送信時ち時間の推移を示している。lhまで減じ
られた後はnhに戻る。
After the initial setting of the retransmission waiting time as described above, each time a note succeeds in transmission, the retransmission waiting time is decreased by h for all nodes. Table 1 shows the change in retransmission time for each node. After being reduced to lh, it returns to nh.

このような方法による各ノードの再送信待ち時間は各ノ
ート夫々につい゛(當に相異し゛(いるから、データ同
士衝突後の再送信時にはこれらのデータが衝突すること
がない。
According to this method, the retransmission waiting time of each node is quite different for each node, so that when retransmitting data after a data collision occurs, these data do not collide.

またnh<Hとし“(いるので、再送信データが新たに
発生したデータよりも優先し゛ζ送信されるから、結局
本発明方法による場合は再送信時には極めて高い確率で
送信できることになる。そして各ノードの再送信待ち時
間は、いずれかのノードが伝送に成功する都度変化して
、優先順位が更新されていくから、伝送すべきデータ発
生から送信までの遅延時間が限定できるごとになる。
In addition, since nh < H, retransmitted data is transmitted with priority over newly generated data, so in the end, with the method of the present invention, it is possible to transmit with extremely high probability when retransmitting. The retransmission waiting time of a node changes each time a node succeeds in transmission, and the priority order is updated, so that the delay time from generation to transmission of data to be transmitted can be limited.

第2図はノードAi  (i=1.2.3−n−1,n
)の構成を略示するブロック図であり、以下に示す送信
の制御を行・う伝送装置1、再送信待ち時間のデータi
、即ぢ1,2.3・・・nを記憶し”ζおくレジスタ3
、これを初期設定するためのディップスイッチ2、再送
信待ち時間の単位り又は送信待ぢ時間Hの計時を行うタ
イマ4を備えている。ディツブスイッチ2は各ノードへ
l、へ2.Δ3・・・へn−1.八。に応じて1.2.
3・・・n−1,nが設定されている。
Figure 2 shows node Ai (i=1.2.3-n-1, n
) is a block diagram schematically illustrating the configuration of a transmission device 1 that controls transmission as shown below, retransmission waiting time data i
, immediately store 1, 2, 3...n and place "ζ" in register 3.
, a dip switch 2 for initializing this, and a timer 4 for measuring the unit of retransmission waiting time or the transmission waiting time H. Ditub switch 2 connects each node to l, to2. Δ3... to n-1. Eight. According to 1.2.
3...n-1,n is set.

第3図は伝送装置Iによる送信制御の処理手順を示すフ
ローチャー1・である。
FIG. 3 is a flowchart 1 showing the processing procedure of transmission control by the transmission device I.

伝送装置1は通信11j110に他のノードの信号があ
るか否かを検出し通信線の空きを検出Jるとタイマ4を
起動して送信待ら時間11秒の後に送信可能とする。そ
し゛C送信−4べきデータの自照を調べ、これが存在す
る場合は送信を3る。
The transmission device 1 detects whether there is a signal from another node on the communication line 11j110, and when it detects that the communication line is vacant, it starts the timer 4 and enables transmission after a transmission waiting time of 11 seconds. Then, check the self-identification of C transmission-4 power data, and if it exists, transmit 3.

このとき他のノートも同様にしく送信を1゛るとデータ
の衝突が生じる。伝送装置lはごれを検出するとタイマ
4を起動しC再送信待ら時間ihの後に再送信場゛る。
At this time, if other notes also transmit 1 in the same way, a data collision will occur. When the transmission device 1 detects the disturbance, it starts the timer 4 and starts the retransmission field after the C retransmission waiting time ih.

そして何らかの理由によって再送信に失敗すると再び通
信線の空きを確認して送121待ら時間++i多に送信
可能となる。伝送装置1はそれ自体又は他のノードのい
ずれかの送信が成功jるとレジスタ3の4(fIを1デ
クリメントする。そしくlに戻ったあとはnと場る。
If retransmission fails for some reason, the availability of the communication line is checked again, and the transmission becomes possible after waiting time ++i for transmission 121. When the transmission device 1 succeeds in transmitting either itself or another node, it decrements 4 (fI) in the register 3 by 1. After returning to l, it is set to n.

いまノートΔ1の6送信待ら時間が1・l+’cibす
、伝送ずべきデータがあったものとする。ノート全体に
つい°((il)回の1ffl信成功があった場合には
ノードA−の再送信待ち時間は最小のl・hとなる。こ
のときまでにノート△jがデータ送信に成功しないとき
は通信線の空きを確認しCから送信待ち時間Hの後に送
信をするごとになる。そしてこのときデータの衝突が発
生したものとすると再送信待ち時間は最小であるのC最
も早く再送信に成功することとなる。
Now assume that the waiting time for 6 transmissions of note Δ1 is 1·l+'cib, and there is data to be transmitted. If there are 1ffl successful transmissions for the entire note °(il) times, the retransmission waiting time of node A- will be the minimum l h.If note △j does not successfully transmit data by this time, checks the availability of the communication line and sends a message after the transmission waiting time H from C. Then, if a data collision occurs at this time, the retransmission waiting time is the minimum and C is the earliest to retransmit. It will be successful.

〔効果〕〔effect〕

以上のように本発明は送信すべきデータが発生し°ζか
ら実際にデータの送信を行うまでの最大の遅延時間を限
定することができるので、ある程度以上データ伝送が遅
れては不都合を生じるネットワークシステムに適用する
ことができ効率的データ伝送を可能ならしめる。
As described above, the present invention makes it possible to limit the maximum delay time from when data to be transmitted is generated to when the data is actually transmitted. It can be applied to the system and enables efficient data transmission.

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

第1図は本発明に係るネットワークの略示図、第2図は
1つのノードの構成を示すブロック図、第3図は送信制
御の処理手順を示1フローチャートである。 ■・・・伝送装置 2・・・ディツブスイッチ3・・・
レジスタ 4・・−タイマ IO・・・通信線特 許 
出願人  三洋電機株式会社 代理人 弁理士  河 野  登 夫 算1図 1θ し−J
FIG. 1 is a schematic diagram of a network according to the present invention, FIG. 2 is a block diagram showing the configuration of one node, and FIG. 3 is a flowchart showing a transmission control processing procedure. ■...Transmission device 2...Ditub switch 3...
Register 4...-Timer IO...Communication line patent
Applicant Sanyo Electric Co., Ltd. Agent Patent Attorney Noboru Kono

Claims (1)

【特許請求の範囲】[Claims] 1、通信線に複数のノードが接続してあり、データの衝
突の検出をすべくなしてあるネットワークでのデータ伝
送方法において、データの衝突を検出した場合における
再送信待ち時間を各ノードごとに相異る値ih(iは整
数)に初期設定しておき、爾後いずれかのノードがデー
タ伝送に成功する都度、全ノードの再送信待ち時間をh
ずつ減じていくことを特徴とするデータ伝送方法。
1. In a data transmission method in a network where multiple nodes are connected to a communication line and data collisions are detected, the retransmission waiting time when a data collision is detected is determined for each node. It is initially set to different values ih (i is an integer), and then every time any node succeeds in data transmission, the retransmission waiting time of all nodes is set to h.
A data transmission method characterized by decreasing data in increments.
JP20968485A 1985-09-20 1985-09-20 Data transmission method Pending JPS6269749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20968485A JPS6269749A (en) 1985-09-20 1985-09-20 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20968485A JPS6269749A (en) 1985-09-20 1985-09-20 Data transmission method

Publications (1)

Publication Number Publication Date
JPS6269749A true JPS6269749A (en) 1987-03-31

Family

ID=16576909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20968485A Pending JPS6269749A (en) 1985-09-20 1985-09-20 Data transmission method

Country Status (1)

Country Link
JP (1) JPS6269749A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2281679B (en) * 1992-04-13 1996-02-14 Honda Motor Co Ltd Data transmission system for vehicle
US7426391B2 (en) 1992-03-05 2008-09-16 Qualcomm Incorporated Apparatus and method for reducing message collision between mobile stations simultaneously accessing a base station in a CDMA cellular communications system
JP2011052936A (en) * 2009-09-04 2011-03-17 Hitachi Appliances Inc Communication method for air conditioning system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426391B2 (en) 1992-03-05 2008-09-16 Qualcomm Incorporated Apparatus and method for reducing message collision between mobile stations simultaneously accessing a base station in a CDMA cellular communications system
US7734260B2 (en) 1992-03-05 2010-06-08 Qualcomm Incorporated Apparatus and method for reducing message collision between mobile stations simultaneously accessing a base station in a CDMA cellular communications system
GB2281679B (en) * 1992-04-13 1996-02-14 Honda Motor Co Ltd Data transmission system for vehicle
JP2011052936A (en) * 2009-09-04 2011-03-17 Hitachi Appliances Inc Communication method for air conditioning system

Similar Documents

Publication Publication Date Title
US5122794A (en) Dual master implied token communication system
US5166678A (en) Dual master implied token communication system
EP0378400B1 (en) Two directional data communications system
JPS6269749A (en) Data transmission method
JPS59106021A (en) Bus constituting system
JPS59189748A (en) Transmission system of data packet
JPH0564384B2 (en)
JP3154626B2 (en) Serial transmission device
JPS62122435A (en) Network access system
JPS60152153A (en) Bi-directional repeater
JPS60254943A (en) Data transmission system of bus type lan system
JPH01161562A (en) Data resending system of data transferring network
JP2752456B2 (en) Channel device
JPH0846633A (en) Data communication equipment
JPS6145648A (en) Local area network system
JPS626556A (en) Data transfer system
JPS59125137A (en) Data communication device
JPS633536A (en) Loop transmission line error correction system
JPH04129346A (en) Communication system provided with duplicate address detection function
JPH0325061B2 (en)
JPS6261446A (en) Token duplex loop access system
JPH06164602A (en) Collision avoiding method for transmission packet of bus transmission system and multiple dwelling house bus transmission system
JPH0216833A (en) Data re-transmitting system for station data transfer network
JPH04129443A (en) Information exchange system
JPS612446A (en) Centrarized supervisory bus type transmission system