JP3217397B2 - Data transmission method of communication control device - Google Patents

Data transmission method of communication control device

Info

Publication number
JP3217397B2
JP3217397B2 JP21176191A JP21176191A JP3217397B2 JP 3217397 B2 JP3217397 B2 JP 3217397B2 JP 21176191 A JP21176191 A JP 21176191A JP 21176191 A JP21176191 A JP 21176191A JP 3217397 B2 JP3217397 B2 JP 3217397B2
Authority
JP
Japan
Prior art keywords
data
transmission
stored
storage means
multiplex
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
JP21176191A
Other languages
Japanese (ja)
Other versions
JPH0556084A (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.)
THE FURUKAW ELECTRIC CO., LTD.
Mazda Motor Corp
Original Assignee
THE FURUKAW ELECTRIC CO., LTD.
Mazda Motor 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 THE FURUKAW ELECTRIC CO., LTD., Mazda Motor Corp filed Critical THE FURUKAW ELECTRIC CO., LTD.
Priority to JP21176191A priority Critical patent/JP3217397B2/en
Priority to US07/860,897 priority patent/US5357525A/en
Priority to EP92302898A priority patent/EP0507579B1/en
Priority to DE69232686T priority patent/DE69232686T2/en
Priority to EP98103322A priority patent/EP0851623B1/en
Priority to DE69229612T priority patent/DE69229612T2/en
Publication of JPH0556084A publication Critical patent/JPH0556084A/en
Application granted granted Critical
Publication of JP3217397B2 publication Critical patent/JP3217397B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Time-Division Multiplex Systems (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 device connected to a multiplex transmission line for transmitting a message, and more particularly to a data transmission method of a communication control device for transmitting data.

【0002】[0002]

【従来の技術】従来、この種の通信制御装置を有する多
重ノードは、図6に示すように、ペア電線等からなる多
重伝送路(多重バス)MBに接続される通信制御装置
(LSI)11と、制御回路(CPU)12と入出力イ
ンターフェース(I/F)回路13とから構成されてい
る。CPU12は、I/F回路13を介して各種スイッ
チ等から事象(データ)を取り込み、LSI11は、C
PU12から入力したメッセージのデータ及び該データ
を識別するデータIDを格納する送信バッファメモリを
有し、上記送信バッファメモリのメッセージを多重バス
MBに送信している。また、通信制御を行うLSIを有
する多重ノードには、CPUを有しないものもあり、こ
の場合にはI/F回路13を介して取り込んだデータ及
びデータIDをデータバッファメモリに格納させた後、
送信バッファメモリに格納させ、多重バスMBに送信し
ていた。これら多重ノードは、多重バスに接続されてネ
ットワークを構成し、CSMA/CD(Carrier Sense Multiple
Access/Collision Detection)伝送方式を用いて、例え
ば自動車内のデータの多重伝送等に使用されている。事
象が変化したノードにおいては、CPU12は、LSI
11の送信バッファメモリに送信データを書き込んで送
信要求を発生する。送信要求を受けたLSI11は、上
記送信データの送信を開始し、CPU12は、LSI1
1の当該送信が完了して送信バッファメモリが空になっ
た後に、次の送信データを書き込むことができるように
なっている。
2. Description of the Related Art Conventionally, as shown in FIG. 6, a multiplex node having a communication control device of this type includes a communication control device (LSI) 11 connected to a multiplex transmission line (multiplex bus) MB composed of a pair of electric wires. And a control circuit (CPU) 12 and an input / output interface (I / F) circuit 13. The CPU 12 captures events (data) from various switches and the like via the I / F circuit 13, and the LSI 11
It has a transmission buffer memory for storing the data of the message input from the PU 12 and the data ID for identifying the data, and transmits the message in the transmission buffer memory to the multiplex bus MB. Further, some multiplex nodes having an LSI for performing communication control do not have a CPU. In this case, after storing the data and data ID fetched via the I / F circuit 13 in the data buffer memory,
The data is stored in the transmission buffer memory and transmitted to the multiplex bus MB. These multiplex nodes are connected to a multiplex bus to form a network, and a CSMA / CD (Carrier Sense Multiple
Access / Collision Detection) is used, for example, for multiplex transmission of data in automobiles. At the node where the event has changed, the CPU 12
The transmission data is written into the transmission buffer memory 11 to generate a transmission request. The LSI 11 receiving the transmission request starts transmitting the transmission data, and the CPU 12
After the transmission of 1 is completed and the transmission buffer memory becomes empty, the next transmission data can be written.

【0003】図7は、多重ノード間で伝送されるデータ
フレームのメッセージフォーマットの一実施例を示す図
である。図において、上記データフレームは、メッセー
ジの始まりを示すSOM(Start Of Message)と、複数
の多重ノードが同時に多重バスにデータを送信した時
に、その優先順位を決定するプライオリティ(PRI )
と、後に続く各データ(DATA)の内容を示すメッセージ
IDと、データ長を示すデータが含まれるコントロール
データ領域(CONT)と、CONTで示される長さ(可変長)
のデータ領域(DATA1 〜DATA4 )、CRC 等のエラーチェ
ックコードと、データの終了を示すEOD(End Of Dat
a )と、全ての多重ノードからビット対応でACK信号
を返送させるためのACK信号領域と、登録された全ノ
ードからACK信号が返送されてデータ伝送が終了した
ことを示す1ビットのACK確定領域及びメッセージの
終了を示すEOM(End Of Message)という構成になっ
ている。
FIG. 7 is a diagram showing an embodiment of a message format of a data frame transmitted between multiple nodes. In the figure, the data frame includes a start of message (SOM) indicating the beginning of a message and a priority (PRI) for determining the priority when a plurality of multiplex nodes simultaneously transmit data to a multiplex bus.
, A message ID indicating the content of each succeeding data (DATA), a control data area (CONT) including data indicating the data length, and a length indicated by CONT (variable length)
Data area (DATA1 to DATA4), error check codes such as CRC, and EOD (End Of Data) indicating the end of data.
a), an ACK signal area for returning an ACK signal on a bit basis from all multiplexed nodes, and a 1-bit ACK determination area indicating that the ACK signal has been returned from all registered nodes and data transmission has been completed. And EOM (End Of Message) indicating the end of the message.

【0004】ここで、図8に示すように、送信多重ノー
ドは、SOM〜EODからなるデータフレームを多重バ
スを介して送信し、他の多重ノードは、エラーなく正常
にデータを受信した場合には、予め定められたACK信
号領域にACK信号を返送する。ACK管理機能を有す
る基本多重ノードは、登録された全ノードからACK信
号が返送されたことを確認すると、ACK確定領域にド
ミナントのACK確定ビットを送出する。図8において
は、送信多重ノードAと受信多重ノードEが基本多重ノ
ードに該当し、受信多重ノードB,C,DはACK管理
機能のない簡易多重ノードである。今、受信多重ノード
BからのACK返送がなかった場合には、送信多重ノー
ドAは、ACK確定ビットを送出せず、当該データフレ
ームの再送信を行う。この再送動作は、一定回数、例え
ばX回繰り返すと終了し、受信多重ノードBの登録を削
除するようにしておけば、あるノードが故障してACK
信号を返送しない場合に、無限に再送が繰り返されると
いうことがない。簡易多重ノードがデータフレームを送
信する場合には、上記ACK確定ビットを受信した時に
は、データ伝送が正常に行われたと判断して送信を終了
し、上記ACK確定ビットを受信しなかった時には、伝
送エラー発生と判断して再送を行う。この再送動作は、
同様にX回で終了していた。
Here, as shown in FIG. 8, a transmission multiplex node transmits a data frame including SOM to EOD via a multiplex bus, and other multiplex nodes transmit data frames normally without error. Returns an ACK signal to a predetermined ACK signal area. When confirming that all registered nodes have returned ACK signals, the basic multiplex node having the ACK management function sends a dominant ACK determination bit to the ACK determination area. In FIG. 8, a transmission multiplex node A and a reception multiplex node E correspond to a basic multiplex node, and reception multiplex nodes B, C, and D are simple multiplex nodes without an ACK management function. If there is no ACK returned from the receiving multiplex node B, the transmitting multiplex node A does not transmit the ACK determination bit and retransmits the data frame. This retransmission operation ends when it is repeated a certain number of times, for example, X times. If the registration of the reception multiplex node B is deleted, a certain node fails and ACK is received.
When a signal is not returned, retransmission is not repeated indefinitely. When the simple multiplex node transmits a data frame, when the ACK determination bit is received, it is determined that data transmission has been normally performed, and transmission is terminated. When the ACK determination bit is not received, transmission is performed. It determines that an error has occurred and resends. This retransmission operation
Similarly, it ended X times.

【0005】また、送信が完了しない間に送信すべき新
しいデータが発生した時には、既に送信バッファメモリ
に書き込んだデータの送信要求をキャンセルし、新しい
データを書き込むことができるようになっているものも
ある。
Further, when new data to be transmitted is generated before the transmission is completed, a request for transmitting data already written in the transmission buffer memory is canceled and new data can be written. is there.

【0006】[0006]

【発明が解決しようとする課題】ところが、上記従来例
では、送信バッファメモリに格納されたデータが送信待
ちの状態である時に、事象が変化しても、上記送信バッ
ファメモリ内のデータを送信した後でなければ最新のデ
ータを送信することができない。例えば、自動車内のデ
ータ伝送の場合、ワイパーオンというデータが送信バッ
ファメモリに格納されている時に、ホーンのデータがオ
フからオンに変化しても、上記送信バッファメモリ内の
ワイパーオンのデータを送信した後でなければ最新のホ
ーンオンのデータが送信できず、必要性のより高い最新
データの送信が遅延するという問題点があった。
However, in the above-mentioned conventional example, when the data stored in the transmission buffer memory is in a transmission waiting state, the data in the transmission buffer memory is transmitted even if the event changes. Only afterwards can the latest data be transmitted. For example, in the case of data transmission in a car, even when the data of the horn changes from off to on while the data of the wiper on is stored in the transmission buffer memory, the data of the wiper on in the transmission buffer memory is transmitted. Only after that, the latest horn-on data cannot be transmitted, and there is a problem in that the transmission of the more necessary newest data is delayed.

【0007】また、既に送信バッファメモリに格納され
ているデータの送信要求をキャンセルすると、当該デー
タが失われてしまうという問題点があった。そのため、
待ち行列のためのバッファメモリが必要となりコストア
ップするという問題点があった。また、あるメッセージ
の送信時に伝送エラーが生じ、再送信を行っている間に
送信要求をキャンセルすると、当該メッセージを受信で
きたノードと受信できなかったノードとの間で、両者の
持つデータが異なってしまうという問題点があった。
Further, if a transmission request for data already stored in the transmission buffer memory is canceled, the data is lost. for that reason,
There is a problem that a buffer memory for the queue is required and the cost increases. Also, if a transmission error occurs during transmission of a certain message and the transmission request is canceled during retransmission, the data held by the node that received the message and the data that the two nodes could not receive differed. There was a problem that would.

【0008】本発明は、上記問題点に鑑みなされたもの
で、必要性の高い最新データを迅速に送信することがで
きる通信制御装置のデータ送信方法を提供することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide a data transmission method of a communication control device capable of rapidly transmitting the latest data having high necessity.

【0009】[0009]

【課題を解決するための手段】上記目的を解決するため
に、本発明では、多重伝送路に接続され、かつ、前記多
重伝送路に送信するメッセージのデータを格納する送信
記憶手段とを有し、前記データの入力データを前記送信
記憶手段に一旦格納させた後、前記多重伝送路に送信す
る通信制御装置のデータ送信方法において、前記入力デ
ータの変化を検出し、該データの変化が検出されると、
前記送信記憶手段に格納されたデータ再送信されてい
る状態にあるか否かを検出し、前記送信記憶手段に格納
されたデータが再送信されている状態にあるときには、
前記変化したデータの前記送信記憶手段への格納を、前
記送信記憶手段に格納されたデータの再送信が終了する
まで、停止する通信制御装置のデータ送信方法が提供さ
れる。請求項2では、前記送信記憶手段に格納されたデ
ータが各ノード間で異なって受信されることが許容され
るデータであるときには、前記送信記憶手段に格納され
たデータが再送信中であっても、前記入力データを前記
送信記憶手段に格納することにより、前記入力データを
更に迅速に送信することができる通信制御装置のデータ
送信方法が提供される。
According to the present invention, there is provided a transmission storage means connected to a multiplex transmission line and storing data of a message to be transmitted to the multiplex transmission line. In a data transmission method of a communication control device for temporarily storing input data of the data in the transmission storage means and transmitting the input data to the multiplex transmission line, a change in the input data is detected, and a change in the data is detected. Then
Wherein stored in the transmission memory means data is being retransmitted
Is stored in the transmission storage means.
When the transmitted data is in a state of being retransmitted ,
There is provided a data transmission method of a communication control device that stops storing the changed data in the transmission storage unit until retransmission of the data stored in the transmission storage unit ends. In the second aspect, the data stored in the transmission storage means is stored.
Data may be received differently between each node.
When the data is stored in the transmission storage means,
Even if the data is being retransmitted,
By storing the input data in the transmission storage means,
Communication controller data that can be transmitted more quickly
A transmission method is provided.

【0010】[0010]

【作用】送信バッファメモリからなる送信記憶手段に格
納されたデータが、再送信中の場合にのみ、変化した最
新のデータの上記送信記憶手段への格納を停止し、送信
待ちの状態では、最新のデータの上記送信記憶手段への
格納を可能にする。従って、ネットワーク上の各ノード
間のデータが異なることなしに、必要性の高い最新デー
タを迅速に送信することができ、通信制御装置における
データ送信の信頼性を高めることができる。
The storage of the latest changed data in the transmission storage unit is stopped only when the data stored in the transmission storage unit comprising the transmission buffer memory is being retransmitted. Can be stored in the transmission storage means. Therefore, the latest data with high necessity can be transmitted quickly without the data between the nodes on the network being different, and the reliability of data transmission in the communication control device can be improved.

【0011】[0011]

【実施例】本発明の実施例を図1乃至図5の図面に基づ
き説明する。図1は、本発明に係る通信制御装置の構成
を示す構成ブロック図であり、この図ではCPUを有さ
ず、ACK管理機能のない簡易多重ノードについて示
す。図において、入力ポート21は、図6と同様に、各
種スイッチ等からのデータを、パラレル信号として取り
込んでいる。通信制御装置は、入力ポート21、出力ポ
ート22、ポート制御部23、送信データを格納する送
信バッファメモリ24、受信したデータを格納する受信
バッファメモリ25、通信制御部26とから構成されて
いる。本実施例に示すノードは、送信IDを1種類のみ
持っており、上記送信フレームの内容は、図2のように
なっている。すなわち、送信IDは、当該ノードを識別
するデータであり、データ領域は、1ビットが入力ポー
トの1ポートに対応している。上記入力ポートが1ポー
トでも変化すると、全ポートのデータがラッチされ、入
力ポートAのデータは、DATA1の領域に、同様に入
力ポートB,C,Dのデータは、それぞれDATA2,
3,4の領域に格納されて送信される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a configuration block diagram showing a configuration of a communication control device according to the present invention. In this figure, a simple multiplex node without a CPU and without an ACK management function is shown. In the figure, the input port 21 receives data from various switches and the like as a parallel signal as in FIG. The communication control device includes an input port 21, an output port 22, a port control unit 23, a transmission buffer memory 24 for storing transmission data, a reception buffer memory 25 for storing received data, and a communication control unit 26. The node shown in this embodiment has only one type of transmission ID, and the contents of the transmission frame are as shown in FIG. That is, the transmission ID is data for identifying the node, and one bit of the data area corresponds to one input port. When even one of the input ports changes, the data of all the ports is latched, the data of the input port A is stored in the area of DATA1, and the data of the input ports B, C and D are similarly stored in the areas of DATA2 and DATA2, respectively.
The data is stored and transmitted in areas 3 and 4.

【0012】ポート制御部23は、入力ポート21から
入力するパラレルデータの変化を検出し、入力データに
変化があると、入力ポート変化フラグを立てる。入力デ
ータに変化があると、通信制御部26内の再送信中を示
すフラグを調べて再送信中でない場合にのみ、当該デー
タを送信バッファメモリ24に格納して通信制御部26
に送信要求を発生する。また、ポート制御部23は、通
信制御部26によって受信バッファメモリ25に格納さ
れたデータを、出力ポート22に出力する。
The port control unit 23 detects a change in the parallel data input from the input port 21, and sets an input port change flag when there is a change in the input data. If there is a change in the input data, the communication control unit 26 checks the flag indicating that retransmission is in progress, and stores the data in the transmission buffer memory 24 only when the retransmission is not in progress.
Generates a transmission request. Further, the port control unit 23 outputs the data stored in the reception buffer memory 25 by the communication control unit 26 to the output port 22.

【0013】通信制御部26は、送信要求を受けた場合
には、多重バスMBのアイドル状態を検知し、上記多重
バスMBがどの多重ノードも使用していない空き状態の
時に、送信バッファメモリ24内のデータを多重バスM
Bを介して送信し、上記送信が終了すると、ACK管理
機能を有する基本多重ノードから多重バスMBに送出さ
れたドミナントのACK確定ビットを受信し、上記AC
K確定ビットの有無に応じて送信バッファメモリ24に
格納されているデータの再送信が必要かどうか判断し、
再送信が不必要な場合には、上記再送フラグをオフにす
る。また、通信制御部26は、多重バスMBを介して図
7に示すようなフレームのデータを受信すると、上記受
信データを受信バッファメモリ25に格納させる。
When receiving the transmission request, the communication control unit 26 detects the idle state of the multiplex bus MB, and when the multiplex bus MB is in an idle state in which no multiplex node is used, the transmission buffer memory 24 Multiplex bus M
B, upon completion of the transmission, receives a dominant ACK determination bit sent to the multiplex bus MB from the basic multiplex node having an ACK management function, and
It is determined whether or not the data stored in the transmission buffer memory 24 needs to be retransmitted according to the presence or absence of the K determination bit,
If retransmission is unnecessary, the retransmission flag is turned off. Further, upon receiving frame data as shown in FIG. 7 via the multiplex bus MB, the communication control unit 26 stores the received data in the reception buffer memory 25.

【0014】図2は、上述したごとく、通信制御装置が
送信する送信フレームの内容を示す図であり、入力ポー
トAの状態“abcdefgh”が“0000000
0”から“10000000”に変化すると、全ポート
A,B,C,Dのデータがラッチされて送信バッファメ
モリ24に格納されて送信要求が発生する。ところが、
多重バスMBが混んでいて送信待ちの状態で、ポート
のデータが変化して入力ポートAの状態が“11000
000”になった場合には、新データ“1100000
0”を送信バッファメモリ24に格納するので、通信制
御部26は、1フレームで最新のデータの送信を行うこ
とができる。送信IDの種類が複数ある場合には、異な
る送信IDのデータが変化することもあるので、複数の
送信バッファメモリを用意して送信待ちに備える必要が
あるが、本実施例では、送信IDは1種類のみのため、
1個の送信バッファメモリを用意して、送信待ちのデー
タを捨てて新データのみを送れば、最新のデータを送る
ことができる。
FIG. 2 is a diagram showing the contents of a transmission frame transmitted by the communication control device as described above, and the state "abcdefgh" of the input port A is set to "00000000".
When the number changes from "0" to "10000000", the data of all ports A, B, C, and D are latched and stored in the transmission buffer memory 24 to generate a transmission request.
In the state of transmission waiting in crowded multiplex bus MB, port A
Of the input port A changes to "11000
000 ”, the new data“ 1100000 ”
Since "0" is stored in the transmission buffer memory 24, the communication control unit 26 can transmit the latest data in one frame. When there are a plurality of types of transmission IDs, data of different transmission IDs change. Therefore, it is necessary to prepare a plurality of transmission buffer memories to prepare for transmission waiting, but in this embodiment, since there is only one type of transmission ID,
If one transmission buffer memory is prepared and data waiting for transmission is discarded and only new data is transmitted, the latest data can be transmitted.

【0015】次に、図1に示した通信制御装置のデータ
送信の動作について図3から図5の図面に基づき説明す
る。まず、ポート制御部23は、入力ポート21の入力
ポート変化フラグが立っているかどうか検出する(ステ
ップ101)。ここで、上記フラグが立っていない場合
には、入力ポート21からの入力データに変化がないの
で、データが変化するまで待機状態になる。また、上記
フラグが立っている場合には、入力データに変化がある
ので、上記データ(パラレルデータ)を送信データとし
てラッチする(ステップ102)。この際、通信制御部
26は、多重バスMBのアイドル状態を検知する(ステ
ップ103)。
Next, the data transmission operation of the communication control apparatus shown in FIG. 1 will be described with reference to FIGS. First, the port control unit 23 detects whether the input port change flag of the input port 21 is set (Step 101). Here, when the flag is not set, there is no change in the input data from the input port 21, so that the apparatus enters a standby state until the data changes. If the flag is set, there is a change in the input data, so that the data (parallel data) is latched as transmission data (step 102). At this time, the communication control unit 26 detects the idle state of the multiplex bus MB (Step 103).

【0016】ここで、上記多重バスMBがどの多重ノー
ドも使用していない空き状態の場合には、ポート制御部
23は、上記ラッチしたデータを送信バッファメモリ2
4に格納し、通信制御部26に送信要求を発生する。送
信要求を受けた通信制御部26は、上記送信バッファメ
モリ24内の送信データのSOMを多重バスMBに送信
して送信データを固定し(ステップ104)、次いで図
2に示したPRI〜EODからなるデータフレームを送
信する(ステップ105)。そして、他のノードとの競
合負けがあるかどうか判断する(ステップ106)。
Here, when the multiplex bus MB is in an idle state in which no multiplex node is used, the port control unit 23 stores the latched data in the transmission buffer memory 2.
4 and a transmission request is issued to the communication control unit 26. Upon receiving the transmission request, the communication control unit 26 transmits the SOM of the transmission data in the transmission buffer memory 24 to the multiplex bus MB to fix the transmission data (step 104), and then transmits the SOM from the PRI to EOD shown in FIG. Is transmitted (step 105). Then, it is determined whether or not there is a competition loss with another node (step 106).

【0017】ここで、他のノードとの競合負けがない場
合には、通信制御部26は、図4に示すように、上記デ
ータフレームを送信後、予め定められたACK領域にA
CK信号を送信し(ステップ107)、CPUを有する
基本多重ノードが送出するACK確定ビットを格納する
ACK確定領域がドミナントかどうか判断する(ステッ
プ108)。
Here, if there is no loss of competition with another node, as shown in FIG. 4, the communication control unit 26, after transmitting the data frame, stores the A in a predetermined ACK area.
A CK signal is transmitted (step 107), and it is determined whether or not the ACK determination area storing the ACK determination bit transmitted by the basic multiplex node having the CPU is dominant (step 108).

【0018】ここで、ACK確定領域がドミナントの場
合には、通信制御部26内の再送信中を示すフラグをオ
フにし、かつ、通信制御部26内に設けられた再送信の
回数をカウントする再送カウンタのカウント値をクリア
にし(ステップ109)、ステップ101に戻って、入
力ポート変化フラグが立っているかどうか判断する。ま
た、ACK確定領域がパッシブの状態の場合には、送信
データの再送信を行うと判断して、再送フラグをオンに
し(ステップ110)、再送カウンタのカウント値を1
加算した後(ステップ111)、上記再送信がX回終了
したかどうか判断する(ステップ112)。
If the ACK determination area is dominant, the flag indicating that retransmission is being performed in the communication control unit 26 is turned off, and the number of retransmissions provided in the communication control unit 26 is counted. The count value of the retransmission counter is cleared (step 109), and the process returns to step 101 to determine whether the input port change flag is set. If the ACK determination area is in the passive state, it is determined that retransmission of transmission data is to be performed, the retransmission flag is turned on (step 110), and the count value of the retransmission counter is set to 1
After the addition (step 111), it is determined whether the retransmission has been completed X times (step 112).

【0019】ここで、通信制御装置は、上記再送信がX
回終了した場合には、ステップ101に戻って上記と同
様の動作を行い、また再送信がX回終了していない場合
には、ステップ103に戻って多重バスMBのアイドル
状態を検知し、多重バスMBが空き状態になると、送信
バッファメモリ24内のデータの再送信を行う。ステッ
プ103において多重バスMBが使用状態にある場合、
又はステップ106において競合負け(通信制御装置は
受信状態になる。)の場合には、図5に示すように、送
信バッファメモリ24内の送信データを通信制御部26
が再送信中であるかどうか再送フラグによって判断し
(ステップ113)、上記フラグがオフで送信データの
再送信中でなく、また入力ポート変化フラグが立ってい
る場合(ステップ114)には、送信データの変化(新
たな送信データの入力)があるので、入力ポート21か
ら上記送信データをラッチする(ステップ115)。
Here, the communication control device determines that the retransmission is X
If the retransmission has not been completed X times, the process returns to step 103 to detect the idle state of the multiplex bus MB, and returns to step 101 to perform the same operation as described above. When the bus MB becomes empty, the data in the transmission buffer memory 24 is retransmitted. If the multiplex bus MB is in use in step 103,
Alternatively, in the case where the contention is lost (the communication control device is in the reception state) in step 106, the transmission data in the transmission buffer memory 24 is transferred to the communication control unit 26 as shown in FIG.
Is determined by the retransmission flag (step 113). If the flag is off and the transmission data is not being retransmitted and the input port change flag is set (step 114), the transmission is performed. Since there is a change in data (input of new transmission data), the transmission data is latched from the input port 21 (step 115).

【0020】また、ステップ113において、再送フラ
グが立っており、送信データの再送信中の場合、ステッ
プ114において入力ポート変化フラグが立っていない
場合、又はステップ115において送信データをラッチ
した場合には、ステップ103に戻って多重バスMBの
アイドル状態を検知する。従って、本実施例では、再送
フラグによって、入力ポート21からの最新データを上
記送信バッファメモリ24に格納するか判断し、送信バ
ッファメモリ24に格納されたデータが、再送信中の場
合にのみ、変化した最新データの送信バッファメモリ2
4への格納を停止して、再送信が終了した後に最新デー
タを送信バッファメモリ24に格納させ、また送信バッ
ファメモリ24に格納されたデータの送信を一度も行っ
ていない送信待ちの状態では、最新データの上記送信バ
ッファメモリ24への格納が可能になる。従って、必要
性の高い最新データを迅速に送信することができる。
In step 113, if the retransmission flag is set and the transmission data is being retransmitted, if the input port change flag is not set in step 114, or if the transmission data is latched in step 115, Returning to step 103, the idle state of the multiplex bus MB is detected. Therefore, in this embodiment, it is determined whether the latest data from the input port 21 is stored in the transmission buffer memory 24 based on the retransmission flag, and only when the data stored in the transmission buffer memory 24 is being retransmitted, Transmission buffer memory 2 for changed latest data
4 is stopped, the latest data is stored in the transmission buffer memory 24 after the retransmission is completed, and the data stored in the transmission buffer memory 24 is in a state of waiting for transmission that has never been transmitted. The latest data can be stored in the transmission buffer memory 24. Therefore, it is possible to quickly transmit the latest data that is highly necessary.

【0021】再送信を行っているメッセージを受信でき
たノードと受信できなかったノードとの間で、両者の持
つデータが異なっても構わないような場合や、最優先の
データが発生したような場合には、再送信中でもデータ
を送信バッファメモリ24に格納して構わないので、再
送信中の場合に変化した最新データを送信バッファメモ
リ24への格納を停止するかどうかを、例えば外部端子
で設定できるようにしておけば、汎用性がより高くな
る。
In the case where the data which has been retransmitted may be different between the node which has been able to receive the message and the node which has not been able to receive the retransmitted message, or the case where the highest-priority data occurs. In this case, the data may be stored in the transmission buffer memory 24 even during the retransmission. Therefore, whether to stop storing the latest data changed in the transmission buffer memory 24 during the retransmission is determined by, for example, an external terminal. If it can be set, versatility will be higher.

【0022】なお、本実施例では、CPUを有しない多
重ノードに本発明に係るデータ送信方法を用いた場合に
ついて説明したが、本発明はこれに限らず、CPUを有
する多重ノードに用いることも可能である。
In this embodiment, the case where the data transmission method according to the present invention is used for a multiplex node having no CPU has been described. However, the present invention is not limited to this, and may be used for a multiplex node having a CPU. It is possible.

【0023】[0023]

【発明の効果】以上説明したように、本発明では、多重
伝送路に接続され、かつ、前記多重伝送路に送信するメ
ッセージのデータを格納する送信記憶手段とを有し、入
力データを前記送信記憶手段に一旦格納させた後、前記
多重伝送路に送信する通信制御装置のデータ送信方法お
いて、前記入力データの変化を検出し、該データの変化
が検出されると、前記送信記憶手段に格納されたデータ
の再送信を検出し、該再送信の検出結果に応じて前記変
化したデータの前記送信記憶手段への格納を、前記送信
記憶手段に格納されたデータの再送信が終了するまで停
止するので、必要性の高い最新データを迅速に送信する
ことができ、通信制御装置におけるデータ送信の信頼性
を高めることができる。
As described above, according to the present invention, there is provided transmission storage means which is connected to a multiplex transmission line and stores data of a message to be transmitted to the multiplex transmission line. Once stored in the storage means, in the data transmission method of the communication control device for transmitting to the multiplex transmission path, the change of the input data is detected, and when the change of the data is detected, the transmission storage means Detecting retransmission of the stored data and storing the changed data in the transmission storage means in accordance with the detection result of the retransmission until the retransmission of the data stored in the transmission storage means is completed. Since the operation is stopped, the latest data with high necessity can be transmitted quickly, and the reliability of data transmission in the communication control device can be improved.

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

【図1】本発明に係るデータ送信方法を説明するための
通信制御装置の概略構成を示す構成図である。
FIG. 1 is a configuration diagram showing a schematic configuration of a communication control device for explaining a data transmission method according to the present invention.

【図2】図1に示した通信制御装置が送信する送信フレ
ームの内容を示す図である。
FIG. 2 is a diagram showing the contents of a transmission frame transmitted by the communication control device shown in FIG.

【図3】図1に示した通信制御装置の送信動作を説明す
るためのフローチャートを示す図である。
FIG. 3 is a diagram showing a flowchart for explaining a transmission operation of the communication control device shown in FIG. 1;

【図4】図1に示した通信制御装置の送信動作を説明す
るためのフローチャートを示す図である。
FIG. 4 is a diagram illustrating a flowchart for describing a transmission operation of the communication control device illustrated in FIG. 1;

【図5】図1に示した通信制御装置の送信動作を説明す
るためのフローチャートを示す図である。
FIG. 5 is a diagram showing a flowchart for explaining a transmission operation of the communication control device shown in FIG. 1;

【図6】多重ノードの概略構成を示す構成図である。FIG. 6 is a configuration diagram illustrating a schematic configuration of a multiplex node.

【図7】多重ノード間で伝送される信号のフレームの構
成を示す図である。
FIG. 7 is a diagram illustrating a configuration of a frame of a signal transmitted between multiple nodes.

【図8】多重ノード間でのデータ伝送を説明するための
図である。
FIG. 8 is a diagram for explaining data transmission between multiple nodes.

【符号の説明】 11 通信制御回路(LSI) 12 制御回路(CPU) 13 入出力インターフェース(I/F)回路 21 入力ポート 22 出力ポート 23 ポート制御部 24 送信バッファメモリ 25 受信バッファメモリ 26 通信制御部 MB 多重伝送路(多重バス)[Description of Signs] 11 Communication control circuit (LSI) 12 Control circuit (CPU) 13 Input / output interface (I / F) circuit 21 Input port 22 Output port 23 Port control unit 24 Transmission buffer memory 25 Receive buffer memory 26 Communication control unit MB multiplex transmission path (multiplex bus)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 信時 宜和 広島県安芸郡府中町新地3番1号 マツ ダ株式会社内 (72)発明者 坂本 裕昭 広島県安芸郡府中町新地3番1号 マツ ダ株式会社内 (56)参考文献 特開 昭61−100043(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 13/08 H04J 3/00 H04L 29/08 H04L 12/18 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Yoshikazu Shinnobu 3-1 Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Co., Ltd. (72) Inventor Hiroaki Sakamoto 3-1 Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Co., Ltd. (56) References JP-A-61-100043 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 13/08 H04J 3/00 H04L 29/08 H04L 12/18

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多重伝送路に接続され、かつ、前記多重
伝送路に送信するメッセージのデータを格納する送信記
憶手段とを有し、前記データの入力データを前記送信記
憶手段に一旦格納させた後、前記多重伝送路に送信する
通信制御装置のデータ送信方法おいて、 前記入力データの変化を検出し、 該データの変化が検出されると、前記送信記憶手段に格
納されたデータ再送信中か否かを検出し、前記送信記憶手段に格納されたデータが 再送信中のとき
は、前記変化したデータの前記送信記憶手段への格納
を、前記送信記憶手段に格納されたデータの再送信が終
了するまで、停止することを特徴とする通信制御装置の
データ送信方法。
1. A transmission storage means connected to a multiplex transmission path and storing data of a message to be transmitted to the multiplex transmission path, wherein the input data of the data is temporarily stored in the transmission storage means. after, Oite the data transmitting method of a communication control device to be transmitted to the multiplex transmission line, wherein the detecting a change in the input data, the change of the data is detected, the stored in the transmission memory means data is re Detecting whether or not data is being transmitted , and when data stored in the transmission storage means is being retransmitted
It is stored into the transmission memory means of the data the changes to retransmission of data stored in the transmission memory means is ended, the data transmission method of a communication control device, characterized in that the stop.
【請求項2】 多重伝送路に接続され、かつ、前記多重
伝送路に送信するメッセージのデータを格納する送信記
憶手段とを有し、前記データの入力データを前記送信記
憶手段に一旦格納させた後、前記多重伝送路に送信する
通信制御装置のデータ送信方法において、 前記入力データの変化を検出し、 該データの変化が検出されると、前記送信記憶手段に格
納されたデータが各ノード間で異なって受信されること
が許容されるデータであるときには、該変化した入力デ
ータを前記送信記憶手段に格納し、 前記送信記憶手段に格納されたデータが上記データ以外
のデータであるときには、前記送信記憶手段に格納され
たデータが再送信中か否かを検出し、 前記送信記憶手段に格納されたデータが再送信中のとき
は、前記変化したデータの前記送信記憶手段への格納
を、前記送信記憶手段に格納されたデータの再送信が終
了するまで、停止することを特徴とする 通信制御装置の
データ送信方法。
2. A multiplex transmission line connected to a multiplex transmission line.
Transmission record that stores the data of the message to be transmitted to the transmission path
Storage means for storing the input data of the data in the transmission record.
After temporarily storing it in the storage means, it is transmitted to the multiplex transmission path.
In the data transmission method of the communication control device, a change in the input data is detected, and when a change in the data is detected, the data is stored in the transmission storage unit.
The stored data is received differently between each node
Is acceptable data, the changed input data
Data is stored in the transmission storage means, and the data stored in the transmission storage means is other than the above data.
When the data is stored in the transmission storage means,
Detecting whether or not the transmitted data is being retransmitted, and when the data stored in the transmission storage means is being retransmitted.
Storing the changed data in the transmission storage means
The retransmission of the data stored in the transmission storage means is terminated.
A data transmission method for a communication control device, wherein the data transmission is stopped until completion .
JP21176191A 1991-04-02 1991-08-23 Data transmission method of communication control device Expired - Fee Related JP3217397B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP21176191A JP3217397B2 (en) 1991-08-23 1991-08-23 Data transmission method of communication control device
US07/860,897 US5357525A (en) 1991-04-02 1992-03-31 Multiplex transmission system
EP92302898A EP0507579B1 (en) 1991-04-02 1992-04-02 Multiplexed transmission between nodes with cyclic redundancy check calculation
DE69232686T DE69232686T2 (en) 1991-04-02 1992-04-02 Multiplex transmission system
EP98103322A EP0851623B1 (en) 1991-04-02 1992-04-02 Multiplex transmission system
DE69229612T DE69229612T2 (en) 1991-04-02 1992-04-02 Multiplex transmission between nodes with calculation of the cyclic block check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21176191A JP3217397B2 (en) 1991-08-23 1991-08-23 Data transmission method of communication control device

Publications (2)

Publication Number Publication Date
JPH0556084A JPH0556084A (en) 1993-03-05
JP3217397B2 true JP3217397B2 (en) 2001-10-09

Family

ID=16611145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21176191A Expired - Fee Related JP3217397B2 (en) 1991-04-02 1991-08-23 Data transmission method of communication control device

Country Status (1)

Country Link
JP (1) JP3217397B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008053935A (en) * 2006-08-23 2008-03-06 Toshiba Corp Data transmitter
JP5149044B2 (en) * 2008-03-11 2013-02-20 矢崎総業株式会社 Electronic control device and vehicle system
JP5496948B2 (en) * 2011-05-31 2014-05-21 株式会社三共 Game machine

Also Published As

Publication number Publication date
JPH0556084A (en) 1993-03-05

Similar Documents

Publication Publication Date Title
US5377188A (en) Communication system capable of detecting missed messages
EP0525985B1 (en) High speed duplex data link interface
EP0507579B1 (en) Multiplexed transmission between nodes with cyclic redundancy check calculation
EP0464014A2 (en) Communications systems using a fault tolerant protocol
US5383185A (en) Method and apparatus for data collision detection in a multi-processor communication system
JP3217397B2 (en) Data transmission method of communication control device
KR0165440B1 (en) Polling communication method
JP3175202B2 (en) Method of storing received data in communication control circuit
JPH11234347A (en) Buffer management method and system in data communication
WO1991009366A1 (en) Method and apparatus for dispersed end-entity flow control in computer networks
KR100374441B1 (en) Relay unit between communication channels for a station and in particular an Ethernet network
JPS63246055A (en) Packet transmitter-receiver
JP2677895B2 (en) Multiplex transmission method
CN116996168A (en) Data transmission method, bus node and communication system
JPH05336122A (en) Method for controlling network
JP2644571B2 (en) Remote IPL control method
JPS60117845A (en) Data transmission system
JPH0257747B2 (en)
JPH08275270A (en) Multiplex transmitter
JPH06112953A (en) Packet re-transmission system
JPH02265338A (en) Lan equipment by token ring system
JP2001111579A (en) Transmitting device
JPS60117846A (en) Data transmission system
JP2000101626A (en) Repeater system
JPH0191552A (en) Data transmission equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070803

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees