JPH0556084A - Data transmission method for communication controller - Google Patents

Data transmission method for communication controller

Info

Publication number
JPH0556084A
JPH0556084A JP3211761A JP21176191A JPH0556084A JP H0556084 A JPH0556084 A JP H0556084A JP 3211761 A JP3211761 A JP 3211761A JP 21176191 A JP21176191 A JP 21176191A JP H0556084 A JPH0556084 A JP H0556084A
Authority
JP
Japan
Prior art keywords
data
transmission
buffer memory
communication control
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.)
Granted
Application number
JP3211761A
Other languages
Japanese (ja)
Other versions
JP3217397B2 (en
Inventor
Hiroo Morigami
博夫 森上
Yutaka Matsuda
裕 松田
Nobukazu Nobutoki
宜和 信時
Hiroaki Sakamoto
裕昭 坂本
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.)
Furukawa Electric Co Ltd
Mazda Motor Corp
Original Assignee
Furukawa 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 Furukawa Electric Co Ltd, Mazda Motor Corp filed Critical Furukawa Electric Co Ltd
Priority to JP21176191A priority Critical patent/JP3217397B2/en
Priority to US07/860,897 priority patent/US5357525A/en
Priority to DE69229612T priority patent/DE69229612T2/en
Priority to DE69232686T priority patent/DE69232686T2/en
Priority to EP98103322A priority patent/EP0851623B1/en
Priority to EP92302898A priority patent/EP0507579B1/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

Abstract

PURPOSE:To enhance the reliability of data transmission in the communication controller by sending newest data with high necessity quickly. CONSTITUTION:After data in an input port 21 are stored once in a transmission buffer memory, the data are sent from a communication control section 26 to a multiplex bus MB in the data transmission method for the communication controller and a data change in the input port 21 is detected by a port control section 23. When the data change is detected, while the data stored in a transmission buffer memory 24 are being sent again, the port control section 23 stops the storage of the changed newest data to the transmission buffer memory 24. In the state of transmission wait in which the data transmission is not implemented even once, the newest data are stored in the transmission buffer memory 24.

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 the 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 has a communication control device (LSI) 11 connected to a multiplex transmission line (multiplex bus) MB composed of paired wires or the like. And a control circuit (CPU) 12 and an input / output interface (I / F) circuit 13. The CPU 12 takes in events (data) from various switches and the like via the I / F circuit 13, and the LSI 11 makes C
It has a transmission buffer memory for storing the data of the message input from the PU 12 and a data ID for identifying the data, and transmits the message of the transmission buffer memory to the multiplex bus MB. Some multi-nodes having an LSI for 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,
It was stored in the transmission buffer memory and transmitted to the multiplex bus MB. These multiple nodes are connected to multiple buses to form a network, and CSMA / CD (Carrier Sense Multiple
It is used, for example, for multiplex transmission of data in an automobile using the Access / Collision Detection) transmission method. At the node where the event has changed, the CPU 12
The transmission data is written in 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 causes the LSI 1 to
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 SOM (Start Of Message) that indicates the beginning of a message and a priority (PRI) that determines the priority when multiple multiple nodes simultaneously transmit data to multiple buses.
And a message ID indicating the content of each data (DATA) that follows, a control data area (CONT) containing data indicating the data length, and a length indicated by CONT (variable length)
Data area (DATA1 to DATA4), error check code such as CRC, and EOD (End Of Dat) that indicates the end of the data
a), an ACK signal area for returning an ACK signal from all the multiple nodes in a bit-corresponding manner, and a 1-bit ACK confirmation area indicating that the ACK signal has been returned from all the registered nodes and the data transmission is completed. And an 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, the transmission multiplex node transmits a data frame composed of SOM to EOD via a multiplex bus, and the other multiplex nodes receive data normally without error. Returns an ACK signal to a predetermined ACK signal area. When the basic multiplex node having the ACK management function confirms that the ACK signals have been returned from all the registered nodes, it sends the dominant ACK confirmed bit to the ACK confirmed area. In FIG. 8, the transmitting multi-node A and the receiving multi-node E correspond to basic multi-nodes, and the receiving multi-nodes B, C and D are simple multi-nodes having no ACK management function. If there is no ACK returned from the receiving multiplex node B, the transmitting multiplex node A does not send the ACK confirmation bit and retransmits the data frame. This retransmission operation ends after a certain number of times, for example, X times, and if the registration of the receiving multi-node B is deleted, a certain node fails and an ACK
If the signal is not sent back, the retransmission will not be repeated indefinitely. When the simple multiplex node transmits a data frame, when the ACK confirmation bit is received, it is judged that the data transmission is normally performed and the transmission is terminated, and when the ACK confirmation bit is not received, the transmission is performed. It is judged that an error has occurred and retransmission is performed. This resend operation is
Similarly, it ended in X times.

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

【0006】[0006]

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

【0007】また、既に送信バッファメモリに格納され
ているデータの送信要求をキャンセルすると、当該デー
タが失われてしまうという問題点があった。そのため、
待ち行列のためのバッファメモリが必要となりコストア
ップするという問題点があった。また、あるメッセージ
の送信時に伝送エラーが生じ、再送信を行っている間に
送信要求をキャンセルすると、当該メッセージを受信で
きたノードと受信できなかったノードとの間で、両者の
持つデータが異なってしまうという問題点があった。
Further, there is a problem that if the transmission request for the 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 is increased. If a transmission error occurs during the transmission of a certain message and the transmission request is canceled while the message is being retransmitted, the data held by the node will differ between the node that could receive the message and the node that could not. There was a problem that it would end up.

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

【0009】[0009]

【課題を解決するための手段】上記目的を解決するため
に、本発明では、多重伝送路に接続され、かつ、前記多
重伝送路に送信するメッセージのデータを格納する送信
記憶手段とを有し、入力データを前記送信記憶手段に一
旦格納させた後、前記多重伝送路に送信する通信制御装
置のデータ送信方法において、前記入力データの変化を
検出し、該データの変化が検出されると、前記送信記憶
手段に格納されたデータの再送信を検出し、該再送信の
検出結果に応じて前記変化したデータの前記送信記憶手
段への格納を、前記送信記憶手段に格納されたデータの
再送信が終了するまで、停止する通信制御装置のデータ
送信方法が提供される。
In order to solve the above-mentioned object, the present invention has 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 the data transmission method of the communication control device for temporarily storing the input data in the transmission storage means, and then transmitting the data to the multiplex transmission path, when the change of the input data is detected and the change of the data is detected, Retransmission of the data stored in the transmission storage means is detected, and storage of the changed data in the transmission storage means according to the detection result of the retransmission is performed. A method for transmitting data in a communication control device that stops until transmission is completed is provided.

【0010】[0010]

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

【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 the drawings of FIGS. FIG. 1 is a configuration block diagram showing the configuration of a communication control device according to the present invention. In this figure, a simple multi-node without a CPU and without an ACK management function is shown. In the figure, the input port 21 takes in data from various switches and the like as parallel signals, as in FIG. The communication control device comprises 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 content of the transmission frame is as shown in FIG. That is, the transmission ID is data that identifies the node, and 1 bit of the data area corresponds to 1 port of the input port. When the number of input ports changes even one port, the data of all ports is latched, the data of the input port A is in the area of DATA1, and the data of the input ports B, C and D is DATA2, respectively.
It is stored and transmitted in the areas 3 and 4.

【0012】ポート制御部23は、入力ポート21から
入力するパラレルデータの変化を検出し、入力データに
変化があると、入力ポート変化フラグを立てる。入力デ
ータに変化があると、通信制御部26内の再送信中を示
すフラグを調べて再送信中でない場合にのみ、当該デー
タを送信バッファメモリ24に格納して通信制御部26
に送信要求を発生する。また、ポート制御部23は、通
信制御部26によって受信バッファメモリ25に格納さ
れたデータを、出力ポート22に出力する。
The port controller 23 detects a change in the parallel data input from the input port 21, and sets an input port change flag when the input data changes. When there is a change in the input data, the communication control unit 26 stores the data in the transmission buffer memory 24 only when the flag indicating that the data is being retransmitted is checked in the communication control unit 26.
Request to send. 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 where no multiplex node is used, the transmission buffer memory 24 Data in the multiplex bus M
When the transmission is performed via B and the transmission is completed, the dominant ACK confirmation bit transmitted to the multiplex bus MB from the basic multiplex node having the ACK management function is received, and the AC
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 confirmation bit.
When retransmission is unnecessary, the retransmission flag is turned off. Further, when the communication control unit 26 receives the data of the frame 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が混んでいて送信待ちの状態で、ポートb
のデータが変化して入力ポートAの状態が“11000
000”になった場合には、新データ“1100000
0”を送信バッファメモリ24に格納するので、通信制
御部26は、1フレームで最新のデータの送信を行うこ
とができる。送信IDの種類が複数ある場合には、異な
る送信IDのデータが変化することもあるので、複数の
送信バッファメモリを用意して送信待ちに備える必要が
あるが、本実施例では、送信IDは1種類のみのため、
1個の送信バッファメモリを用意して、送信待ちのデー
タを捨てて新データのみを送れば、最新のデータを送る
ことができる。
FIG. 2 is a diagram showing the contents of the transmission frame transmitted by the communication control device as described above, and the state "abcdefgh" of the input port A is "0000000".
When changing from "0" to "10000000", the data of all ports A, B, C, D are latched and stored in the transmission buffer memory 24, and a transmission request is generated.
When the multi-bus MB is busy and waiting for transmission, port b
Data changes and the status of 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, the data of different transmission IDs change. Therefore, it is necessary to prepare a plurality of transmission buffer memories to prepare for transmission waiting. However, in the present embodiment, since there is only one type of transmission ID,
The latest data can be sent by preparing one send buffer memory, discarding the data waiting to be sent, and sending only new data.

【0015】次に、図1に示した通信制御装置のデータ
送信の動作について図3から図5の図面に基づき説明す
る。まず、ポート制御部23は、入力ポート21の入力
ポート変化フラグが立っているかどうか検出する(ステ
ップ101)。ここで、上記フラグが立っていない場合
には、入力ポート21からの入力データに変化がないの
で、データが変化するまで待機状態になる。また、上記
フラグが立っている場合には、入力データに変化がある
ので、上記データ(パラレルデータ)を送信データとし
てラッチする(ステップ102)。この際、通信制御部
26は、多重バスMBのアイドル状態を検知する(ステ
ップ103)。
Next, the data transmission operation of the communication control device shown in FIG. 1 will be described with reference to the drawings of FIGS. First, the port control unit 23 detects whether or not the input port change flag of the input port 21 is set (step 101). Here, when the flag is not set, the input data from the input port 21 does not change, and thus the standby state is set until the data changes. If the flag is set, the input data has changed, so 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 where no multiplex node is used, the port control section 23 stores the latched data in the transmission buffer memory 2.
4 and issues a transmission request 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 from the PRI to EOD shown in FIG. Then, the data frame is transmitted (step 105). Then, it is determined whether 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 other nodes, the communication control unit 26 transmits the data frame, and then, A is placed in a predetermined ACK area as shown in FIG.
The CK signal is transmitted (step 107), and it is determined whether the ACK confirming area for storing the ACK confirming 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 confirmation area is dominant, the flag indicating that retransmission is in progress 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), the process returns to step 101, and it is determined whether the input port change flag is set. If the ACK confirmation area is in the passive state, it is determined that the transmission data is to be retransmitted, 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 judged whether or not 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 re-transmission is X
When the transmission is completed, the process returns to step 101 to perform the same operation as above. When the retransmission is not completed X times, the process returns to step 103 to detect the idle state of the multiplex bus MB, 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, if the competition is lost in step 106 (the communication control device enters the reception state), the transmission data in the transmission buffer memory 24 is transferred to the communication control unit 26 as shown in FIG.
Is being retransmitted by the retransmission flag (step 113). If the above flag is off, 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への格納が可能になる。従って、必要
性の高い最新データを迅速に送信することができる。
When the retransmission flag is set in step 113 and the transmission data is being retransmitted, the input port change flag is not set in step 114, or 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 by the retransmission flag whether the latest data from the input port 21 is stored in the transmission buffer memory 24, and only when the data stored in the transmission buffer memory 24 is being retransmitted, Transmission buffer memory 2 of 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 not transmitted at all, and in the waiting state for transmission, It becomes possible to store the latest data in the transmission buffer memory 24. Therefore, it is possible to quickly send the latest data that is highly necessary.

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

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

【0023】[0023]

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

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

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

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

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

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

【符号の説明】[Explanation of symbols]

11 通信制御回路(LSI) 12 制御回路(CPU) 13 入出力インターフェース(I/F)回路 21 入力ポート 22 出力ポート 23 ポート制御部 24 送信バッファメモリ 25 受信バッファメモリ 26 通信制御部 MB 多重伝送路(多重バス) 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 reception buffer memory 26 communication control unit MB multiplex transmission line ( (Multiple buses)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 信時 宜和 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 (72)発明者 坂本 裕昭 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yoshikazu Nobutoki, 3-1, Shinchi Fuchu-cho, Aki-gun, Hiroshima Prefecture Mazda Co., Ltd. (72) Inventor Hiroaki Sakamoto 3-3-1 Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Within the corporation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 多重伝送路に接続され、かつ、前記多重
伝送路に送信するメッセージのデータを格納する送信記
憶手段とを有し、入力データを前記送信記憶手段に一旦
格納させた後、前記多重伝送路に送信する通信制御装置
のデータ送信方法おいて、前記入力データの変化を検出
し、該データの変化が検出されると、前記送信記憶手段
に格納されたデータの再送信を検出し、該再送信の検出
結果に応じて前記変化したデータの前記送信記憶手段へ
の格納を、前記送信記憶手段に格納されたデータの再送
信が終了するまで、停止することを特徴とする通信制御
装置のデータ送信方法。
1. A transmission storage unit, which is connected to a multiplex transmission line and stores data of a message to be transmitted to the multiplex transmission line, wherein after input data is temporarily stored in the transmission storage unit, 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 retransmission of the data stored in the transmission storage means is detected. A communication control characterized in that the storage of the changed data in the transmission storage means in accordance with the detection result of the retransmission is stopped until the retransmission of the data stored in the transmission storage means is completed. Device data transmission method.
【請求項2】 前記変化したデータの前記送信記憶手段
への格納を、前記送信記憶手段に格納されたデータの再
送信が終了するまで、停止する及び停止しないを設定す
ることを特徴とする請求項1記載の通信制御装置のデー
タ送信方法。
2. The storage of the changed data in the transmission storage means is set to be stopped or not stopped until the retransmission of the data stored in the transmission storage means is completed. Item 1. A data transmission method of the communication control device according to Item 1.
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
DE69229612T DE69229612T2 (en) 1991-04-02 1992-04-02 Multiplex transmission between nodes with calculation of the cyclic block check
DE69232686T DE69232686T2 (en) 1991-04-02 1992-04-02 Multiplex transmission system
EP98103322A EP0851623B1 (en) 1991-04-02 1992-04-02 Multiplex transmission system
EP92302898A EP0507579B1 (en) 1991-04-02 1992-04-02 Multiplexed transmission between nodes with cyclic redundancy check calculation

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 true JPH0556084A (en) 1993-03-05
JP3217397B2 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)

Cited By (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
JP2009214710A (en) * 2008-03-11 2009-09-24 Yazaki Corp Electronic control device and vehicle system
JP2012249647A (en) * 2011-05-31 2012-12-20 Sankyo Co Ltd Game machine

Cited By (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
JP2009214710A (en) * 2008-03-11 2009-09-24 Yazaki Corp Electronic control device and vehicle system
JP2012249647A (en) * 2011-05-31 2012-12-20 Sankyo Co Ltd Game machine

Also Published As

Publication number Publication date
JP3217397B2 (en) 2001-10-09

Similar Documents

Publication Publication Date Title
US5377188A (en) Communication system capable of detecting missed messages
EP0525985B1 (en) High speed duplex data link interface
JP2503086B2 (en) Data link control method
US5432798A (en) Data communication method and system
EP0513232B1 (en) Method of error recovery in a data communication system
US5357525A (en) Multiplex transmission system
JPH02228855A (en) Data communication system and data communication method
JPH0795767B2 (en) Optimized method of data communication and system using the method
JP4220208B2 (en) Deterministic fieldbus and method of managing such a bus
JPH0556084A (en) Data transmission method for communication controller
JPH08503353A (en) Communication bus systems and stations used in such systems
JP3148733B2 (en) Signal processing device and signal processing system
JP3408495B2 (en) How to prevent double notification of retransmitted messages
JP3175202B2 (en) Method of storing received data in communication control circuit
JPS63246055A (en) Packet transmitter-receiver
JP3182235B2 (en) Multiplex transmission system
JPH09130382A (en) Polling communication method
JPH11234347A (en) Buffer management method and system in data communication
JPH0257747B2 (en)
JPH0568902B2 (en)
JPH07202917A (en) Multi-address communication method and communication network
JPS6145423B2 (en)
JPH06112953A (en) Packet re-transmission system
JPS60117845A (en) Data transmission system
JPH04179331A (en) Multiple address transmission system

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