JP2017034555A - System, equipment and method for data communication - Google Patents

System, equipment and method for data communication Download PDF

Info

Publication number
JP2017034555A
JP2017034555A JP2015154529A JP2015154529A JP2017034555A JP 2017034555 A JP2017034555 A JP 2017034555A JP 2015154529 A JP2015154529 A JP 2015154529A JP 2015154529 A JP2015154529 A JP 2015154529A JP 2017034555 A JP2017034555 A JP 2017034555A
Authority
JP
Japan
Prior art keywords
data communication
counter
value
initial value
master device
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
JP2015154529A
Other languages
Japanese (ja)
Inventor
真哉 米木
Masaya Yoneki
真哉 米木
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.)
JTEKT Corp
Original Assignee
JTEKT 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 JTEKT Corp filed Critical JTEKT Corp
Priority to JP2015154529A priority Critical patent/JP2017034555A/en
Publication of JP2017034555A publication Critical patent/JP2017034555A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data communication system, data communication equipment and a data communication method, enabling safe data communication.SOLUTION: At data communication, a master side ECU 10 and a slave side ECU 20 perform message authentication using a counter value which is stored in respective storage units 103, 203 and incremented per each time of data communication. The master side ECU 10 includes an initialization processing unit 108 which, prior to first-time data communication with the slave side ECU 20 after the start-up, stores a random number, generated by a random number generator 107, into the self-storage unit 103, as a counter value, and notifies the slave side ECU 20 of the stored value. The slave side ECU 20 includes a synchronous processing unit 207 which stores the notified value into the self-storage unit 203, as a counter value.SELECTED DRAWING: Figure 1

Description

本発明は、データ通信システム、データ通信機器、及びデータ通信方法に関する。   The present invention relates to a data communication system, a data communication device, and a data communication method.

近年、自動車に設置される各種の電子制御ユニット(ECU:Electronic Control Unit)を車内ネットワークに接続し、その車内ネットワークを介してECU同士が相互にデータ通信を行うことで、車両の統合制御を実現する車内データ通信システムが実用されている。こうした車内データ通信システムでは、通信途中のデータ改ざんや送信元を偽った偽装通信への対策として、メッセージ認証が行われることがある。メッセージ認証では、通信するデータの本体(メッセージ)と、送信側、受信側が共有する共通鍵とから生成されたメッセージ認証符号(MAC:Message Authentication Code)が用いられる。すなわち、送信側は、自身の記憶する共通鍵と送信しようとするメッセージとからMACを生成して、そのMACをメッセージと共に受信側に送る。受信側は、自身の記憶する共通鍵と受信したメッセージとからMACを生成して、その生成したMACを、送信側から送られたMACと比較することで、受信データの適否を検証する。   In recent years, various electronic control units (ECUs) installed in automobiles are connected to an in-vehicle network, and ECUs perform data communication with each other via the in-vehicle network, realizing integrated vehicle control. In-vehicle data communication systems are in practical use. In such an in-vehicle data communication system, message authentication may be performed as a countermeasure against data falsification in the middle of communication or forged communication that pretends a transmission source. In message authentication, a message authentication code (MAC) generated from a main body (message) of data to be communicated and a common key shared between the transmission side and the reception side is used. That is, the transmission side generates a MAC from the common key stored in itself and the message to be transmitted, and sends the MAC together with the message to the reception side. The receiving side generates a MAC from the common key stored therein and the received message, and verifies the suitability of the received data by comparing the generated MAC with the MAC sent from the transmitting side.

しかしながら、この対策だけでは、車内ネットワークに不正に接続された機器(以下、不正機器と記載する)によるリプライ攻撃に対して盤石とは言いがたい。リプライ攻撃は、ネットワーク上を流れるメッセージを傍受して記憶し、後にその傍受したメッセージをネットワークに再送することで、不正な動作を引き起こす攻撃である。ここで、上記のようなメッセージ認証を行っても、共通鍵が固定されていれば、メッセージをMACごと盗聴して再送すれば、正当なメッセージと認証されてしまうため、リプライ攻撃を防げない可能性がある。   However, it is difficult to say that this measure alone is a stone against a reply attack by a device illegally connected to the in-vehicle network (hereinafter referred to as an unauthorized device). A reply attack is an attack that causes an illegal operation by intercepting and storing a message flowing on the network and then resending the intercepted message to the network. Here, even if message authentication is performed as described above, if the common key is fixed, if the message is wiretapped and retransmitted together with the MAC, it will be authenticated as a legitimate message, and thus a reply attack cannot be prevented. There is sex.

従来、特許文献1には、データを送信する機器及びデータを受信する機器の双方が、相互のデータ通信が行われる毎にインクリメントされるカウンタの値をそれぞれ記憶し、そのカウンタの値を共通鍵としてMACを生成するデータ通信システムが記載されている。こうした場合、MAC生成用の共通鍵の値がデータ通信毎に変更されるため、上記のようなリプライ攻撃を防ぐことができる。   Conventionally, in Patent Document 1, both a device that transmits data and a device that receives data each store a counter value that is incremented each time mutual data communication is performed, and the counter value is stored as a common key. A data communication system for generating a MAC is described. In such a case, since the value of the common key for generating the MAC is changed for each data communication, the above-described reply attack can be prevented.

ところで、上記のようなカウンタを用いたメッセージ認証では、データの送信側、受信側の機器の間で、カウンタの値の同期がずれてしまうと、メッセージ認証を適正に行うことができなくなってしまう。こうしたカウンタの値の同期のずれは、不揮発性メモリにカウンタを記憶させることである程度の防止が可能である。また、特許文献2に記載のように、データ通信のセッションごとに、チャレンジ・レスポンス方式でカウンタの初期値を通信相手に受け渡して、再同期を取ることでも、カウンタの値の同期のずれを防止することができる。   By the way, in the message authentication using the counter as described above, if the counter value is out of synchronization between the data transmission side and reception side devices, the message authentication cannot be performed properly. . Such a shift in counter value synchronization can be prevented to some extent by storing the counter in a nonvolatile memory. In addition, as described in Patent Document 2, the counter value can be prevented from being out of synchronization by transferring the initial counter value to the communication partner and re-synchronizing with the communication partner using a challenge / response method for each data communication session. can do.

特開2013−098719号公報JP2013-098719A 特開2014−204444号公報JP 2014-204444 A

ところで、車内データ通信システムのように、頻繁にシステムがオフとされ、長期にわたって運用されるデータ通信システムでは、その運用期間中にデータ通信機器の一部が交換されることがある。そのため、上記のようにカウンタの値を不揮発性メモリに記憶するようにしても、機器交換が行われば、機器間のカウンタの値の同期を保てなくなってしまう。   By the way, in a data communication system that is frequently turned off and operated for a long period of time, such as an in-vehicle data communication system, a part of the data communication device may be exchanged during the operation period. For this reason, even if the counter value is stored in the nonvolatile memory as described above, if the device is exchanged, the counter value cannot be synchronized between the devices.

一方、特許文献2の方式を採用する場合、データ通信のセッションごとにカウンタの初期値の受け渡しが行われるため、機器交換が行われても、カウンタの値の同期を保つことができる。一方、カウンタの初期値の受け渡しに際しては、その受け渡しのための通信が傍受され、受け渡すカウンタの初期値が解読される可能性がある。そのため、データ通信システムの稼働中に初期値の受け渡しが高頻度に行われる特許文献2の方式では、カウンタの値が解読されて偽装通信を許す可能性がその分高くなってしまう。   On the other hand, when the method of Patent Document 2 is adopted, the counter value is transferred for each data communication session, so that the counter value can be kept synchronized even when the device is exchanged. On the other hand, when the initial value of the counter is transferred, there is a possibility that the communication for the transfer is intercepted and the initial value of the counter is transferred. Therefore, in the method of Patent Document 2 in which the initial value is frequently exchanged during the operation of the data communication system, the possibility that the counter value is decrypted and forged communication is allowed increases accordingly.

なお、こうした問題は、車内データ通信以外のデータ通信においても、同様に生じ得るものとなっている。
本発明は、こうした実情に鑑みてなされたものであり、その解決しようとする課題は、より安全なデータ通信を可能とするデータ通信システム、データ通信機器、及びデータ通信方法を提供することにある。
Such a problem can also occur in data communication other than in-vehicle data communication.
The present invention has been made in view of such circumstances, and a problem to be solved is to provide a data communication system, a data communication device, and a data communication method that enable safer data communication. .

上記課題を解決するデータ通信システムは、ネットワークに接続されたデータ通信機器間のデータ通信を行うデータ通信システムにおいて、データ通信を行う2つのデータ通信機器の一方をマスター機器とし、他方をスレーブ機器としたとき、前記マスター機器及び前記スレーブ機器には、カウンタの値を記憶する記憶部と、前記マスター機器と前記スレーブ機器との間でデータ通信が行われる毎に前記カウンタの値をインクリメントするカウンタ操作部と、前記マスター機器と前記スレーブ機器との間のデータ通信でのメッセージ認証に用いるメッセージ認証符号を、前記カウンタを用いて生成するMAC生成部と、がそれぞれ設けられ、前記マスター機器には、乱数を生成する乱数生成器と、当該マスター機器の起動後における前記スレーブ機器との最初のデータ通信に先立って、前記乱数生成器により生成された乱数を前記カウンタの値として同マスター機器の前記記憶部に記憶するとともに、その記憶した値を同カウンタの初期値として前記スレーブ機器に通知する初期化処理を行う初期化処理部と、が設けられ、前記スレーブ機器には、前記初期値の通知に応じて、その通知された初期値を前記カウンタの値として同スレーブ機器の前記記憶部に記憶する同期処理を行う同期処理部が設けられたことを特徴とする。   A data communication system that solves the above problems is a data communication system that performs data communication between data communication devices connected to a network. One of two data communication devices that perform data communication is a master device, and the other is a slave device. In this case, the master device and the slave device each include a storage unit that stores a counter value, and a counter operation that increments the counter value every time data communication is performed between the master device and the slave device. And a MAC generation unit that generates a message authentication code used for message authentication in data communication between the master device and the slave device using the counter, and the master device, A random number generator for generating a random number, and the threshold after the master device is started. Prior to the first data communication with the device, the random number generated by the random number generator is stored in the storage unit of the master device as the counter value, and the stored value is used as the initial value of the counter. An initialization processing unit for performing initialization processing to notify the slave device, and in response to the notification of the initial value, the slave device uses the notified initial value as the counter value. A synchronization processing unit that performs a synchronization process stored in the storage unit of the device is provided.

また、上記課題を解決するデータ通信機器は、ネットワークに接続されるとともに、同ネットワークに接続された他のデータ通信機器とデータ通信を行うデータ通信機器において、カウンタの値を記憶する記憶部と、前記他のデータ通信機器とのデータ通信が行われる毎に前記カウンタの値をインクリメントするカウンタ操作部と、乱数を生成する乱数生成器と、当該データ通信機器の起動後における前記他のデータ通信機器との最初のデータ通信に先立って、前記乱数生成器により生成された乱数を前記カウンタの値として前記記憶部に記憶するとともに、その記憶した値を同カウンタの初期値として前記他のデータ通信機器に通知する初期化処理を行う初期化処理部と、前記他のデータ通信機器とのデータ通信でのメッセージ認証に用いるメッセージ認証符号を前記記憶部に記憶された前記カウンタの値を用いて生成するMAC生成部と、を備えることを特徴とする。   In addition, a data communication device that solves the above problem is connected to a network, and in a data communication device that performs data communication with another data communication device connected to the network, a storage unit that stores a counter value; A counter operation unit that increments the value of the counter each time data communication with the other data communication device is performed, a random number generator that generates a random number, and the other data communication device after activation of the data communication device Prior to the first data communication with the random number generator, the random number generated by the random number generator is stored in the storage unit as the counter value, and the stored value is used as the initial value of the other data communication device. Used for message authentication in data communication between the initialization processing unit that performs initialization processing to notify the other data communication device Characterized in that it and a MAC generator for generating using the values of the counters a message authentication code stored in the storage unit.

更に、上記課題を解決するデータ通信方法は、ネットワークに接続されたデータ通信機器間のデータ通信方法において、データ通信を行う2つのデータ通信機器の一方をマスター機器とし、他方をスレーブ機器としたとき、前記マスター機器及び前記スレーブ機器はそれぞれ、それらの間でデータ通信が行われる毎に、各々が記憶するカウンタの値をインクリメントするカウンタ操作処理を行い、前記マスター機器は、その起動後における前記スレーブ機器との最初のデータ通信に先立って、乱数生成器により生成された乱数を前記カウンタの初期値として設定するとともに、その初期値を前記スレーブ機器に通知する初期化処理を行い、前記スレーブ機器は、前記マスター機器から通知された前記初期値を、自身の記憶する前記カウンタの初期値に設定する同期処理を行い、且つ前記マスター機器及び前記スレーブ機器は、互いのデータ通信に際してのメッセージ認証に用いるメッセージ認証符号を、自身が記憶する前記カウンタの値を用いて生成することを特徴とする。   Furthermore, the data communication method for solving the above problem is a data communication method between data communication devices connected to a network, in which one of two data communication devices that perform data communication is a master device and the other is a slave device. The master device and the slave device each perform a counter operation process that increments the value of the counter that is stored each time data communication is performed between them, and the master device Prior to the first data communication with the device, a random number generated by a random number generator is set as an initial value of the counter, and an initialization process for notifying the slave device of the initial value is performed. The initial value notified from the master device is stored in the counter stored in itself. The master device and the slave device generate a message authentication code used for message authentication in mutual data communication using the value of the counter stored in the master device and the slave device. Features.

これらのデータ通信システム、データ通信機器及びデータ通信方法によれば、メッセージ認証符号の生成に使用するカウンタの値をデータ通信ごとに変更しつつ、その値の同期を保つことができる。そのため、より安全なデータ通信が可能となる。   According to these data communication systems, data communication devices, and data communication methods, it is possible to keep the values synchronized while changing the value of the counter used for generating the message authentication code for each data communication. Therefore, safer data communication is possible.

なお、上記システム、機器及び方法において、上記初期化処理での初期値の通知を行うタイミングは、当該データ通信機器(マスター機器)が起動される毎に変更することが望ましい。   In the system, device, and method, it is desirable to change the timing for notifying the initial value in the initialization process every time the data communication device (master device) is activated.

また、上記システム、機器及び方法において、上記初期化処理の実施後に規定の再実施条件が成立したときに、同初期化処理を再実施することが望ましい。なお、上記システム、機器及び方法が車内ネットワークを通じた車載機器間のデータ通信に適用される場合、上記再実施条件はエンジンの停止をその成立の要件とすることが望ましい。   In the system, apparatus, and method, it is desirable to re-execute the initialization process when a specified re-execution condition is satisfied after the initialization process is performed. In addition, when the said system, apparatus, and method are applied to the data communication between the vehicle equipments via a vehicle interior network, it is desirable for the said re-implementation conditions to make the engine stop the requirement of the establishment.

なお、上記システム、機器及び方法は、車内ネットワークを通じた車載機器間のデータ通信への適用が特に好適なものとなっている。   Note that the above-described system, device, and method are particularly suitable for application to data communication between in-vehicle devices through an in-vehicle network.

本発明のデータ通信システム、データ通信機器、及びデータ通信方法によれば、より安全なデータ通信が可能となる。   According to the data communication system, the data communication device, and the data communication method of the present invention, safer data communication is possible.

データ通信システムの一実施形態の構成を模式的に示す略図。1 is a schematic diagram schematically illustrating a configuration of an embodiment of a data communication system. 同データ通信システムにおいてデータ送信側の機器が実施するデータ送信処理のフローチャート。The flowchart of the data transmission process which the apparatus of the data transmission side implements in the data communication system. 同データ通信システムにおいてデータ受信側の機器が実施するデータ受信処理のフローチャート。The flowchart of the data reception process which the apparatus of the data reception side implements in the data communication system. 同データ通信システムにおいてマスター機器が実施する初期化処理のフローチャート。The flowchart of the initialization process which a master apparatus implements in the data communication system. 同データ通信システムにおいてスレーブ機器が実施する同期処理のフローチャート。The flowchart of the synchronous process which a slave apparatus implements in the data communication system.

以下、データ通信システムの一実施形態を、図1〜図5を参照して詳細に説明する。本実施形態のデータ通信システムは、車両に搭載された各種の電子制御ユニット(ECU:Electronic Control Unit)間のデータ通信を行う車内データ通信システムとして構成されている。ECUとしては、エンジン制御を司るエンジンECU、ブレーキ制御を司るブレーキECU、パワーステアリングシステムの制御を司るパワステECUなどがある。そして、これらのECUがデータ通信機器に相当する構成となっている。なお、本実施形態のデータ通信システムが搭載される車両では、信号待ちなどの停車時にエンジンを一時停止する、いわゆるアイドリングストップ制御が行われている。   Hereinafter, an embodiment of a data communication system will be described in detail with reference to FIGS. The data communication system according to the present embodiment is configured as an in-vehicle data communication system that performs data communication between various electronic control units (ECUs) mounted on a vehicle. Examples of the ECU include an engine ECU that controls the engine, a brake ECU that controls the brake, and a power steering ECU that controls the power steering system. These ECUs correspond to data communication devices. Note that in a vehicle equipped with the data communication system of the present embodiment, so-called idling stop control is performed in which the engine is temporarily stopped when the vehicle stops, such as waiting for a signal.

本実施形態のデータ通信システムでは、相互にデータ通信を行う2つのECUの一方がマスター機器として機能し、もう一方がスレーブ機器として機能するようになっている。相互にデータ通信を行う2つECUのいずれがマスター機器、スレーブ機器となるかは、それら2つのECUの関係においてのみ定まるものとなっている。よって、一つのECUが、あるECUとの関係においてはマスター機器となり、別のECUとの関係においてはスレーブ機器となることもある。   In the data communication system of the present embodiment, one of the two ECUs that perform data communication with each other functions as a master device, and the other functions as a slave device. Which of the two ECUs that perform data communication with each other becomes the master device and the slave device is determined only by the relationship between the two ECUs. Therefore, one ECU may be a master device in a relationship with a certain ECU, and may be a slave device in a relationship with another ECU.

図1に示すように、マスター機器として機能するECU(以下、マスター側ECU10と記載する)は、送信するデータの生成や送信先の決定、受信したデータの処理を行うデータ制御部101と、車内ネットワーク30とのデータの送受信に係る処理を担う通信制御部102とを備える。また、マスター側ECU10は、メッセージ認証符号の値(MAC値)の演算に用いられるカウンタの値を記憶する記憶部103、MAC値を演算するMAC生成部104、及びデータ受信時のメッセージ認証を行うMAC照合部105、記憶部103に記憶されたカウンタの操作を行うカウンタ操作部106を備える。更にマスター側ECU10は、乱数を生成する乱数生成器107と、カウンタの値の初期化に係る処理を行う初期化処理部108とを備える。   As shown in FIG. 1, an ECU functioning as a master device (hereinafter referred to as a master-side ECU 10) includes a data control unit 101 that generates data to be transmitted, determines a transmission destination, and processes received data. And a communication control unit 102 responsible for processing related to data transmission / reception with the network 30. The master-side ECU 10 also performs storage authentication for storing the value of the counter used for calculating the value (MAC value) of the message authentication code, MAC generating unit 104 for calculating the MAC value, and message authentication at the time of data reception. The MAC verification unit 105 and the counter operation unit 106 that operates the counter stored in the storage unit 103 are provided. The master ECU 10 further includes a random number generator 107 that generates random numbers, and an initialization processing unit 108 that performs processing related to initialization of counter values.

一方、スレーブ機器として機能するECU(以下、スレーブ側ECU20と記載する)は、マスター側ECU10と同様のデータ制御部201、通信制御部202、記憶部203、MAC生成部204、MAC照合部205、及びカウンタ操作部206を備える。さらに、スレーブ側ECU20には、マスター側ECU10とのカウンタの値の同期にかかる処理を行う同期処理部207が設けられている。   On the other hand, an ECU functioning as a slave device (hereinafter referred to as a slave side ECU 20) includes a data control unit 201, a communication control unit 202, a storage unit 203, a MAC generation unit 204, a MAC verification unit 205, which are the same as the master side ECU 10. And a counter operation unit 206. Further, the slave side ECU 20 is provided with a synchronization processing unit 207 that performs processing related to synchronization of the counter value with the master side ECU 10.

なお、記憶部103,203には、揮発性のメモリが用いられており、イグニッションスイッチがオフとされると、それらに記憶されたカウンタの値はクリアされる。ちなみに、マスター側ECU10、スレーブ側ECU20が他のECUともデータ通信を行う場合、通信を行うECU毎に個別のカウンタが設けられるようになっている。   Note that a volatile memory is used for the storage units 103 and 203, and when the ignition switch is turned off, the counter values stored in them are cleared. Incidentally, when the master side ECU 10 and the slave side ECU 20 perform data communication with other ECUs, an individual counter is provided for each ECU that performs communication.

(データの送信/受信処理)
続いて、これらマスター側ECU10、スレーブ側ECU20の間でのデータ通信について説明する。なお、ここでは、マスター側ECU10からスレーブ側ECU20にデータを送信する場合を例として説明する。一方、スレーブ側ECU20がマスター側ECU10にデータを送信する場合も、データの送信側、受信側のECUが入れ替わるだけで、同様にデータ通信が行われる。なお、この場合には、かっこ内に符号が記載された部材が処理を行うことになる。
(Data transmission / reception processing)
Next, data communication between the master side ECU 10 and the slave side ECU 20 will be described. Here, a case where data is transmitted from the master ECU 10 to the slave ECU 20 will be described as an example. On the other hand, when the slave-side ECU 20 transmits data to the master-side ECU 10, data communication is similarly performed only by switching the data transmission side and reception side ECUs. In this case, a member whose code is described in parentheses performs processing.

図2に、マスター側ECU10、スレーブ側ECU20間のデータ通信に際して、データを送信する側のECUにおいて実施されるデータ送信処理のフローチャートを示す。本処理は、データ制御部101(201)によるデータの送信の要求に応じて実施される。   FIG. 2 shows a flowchart of data transmission processing performed in the ECU on the data transmission side during data communication between the master ECU 10 and the slave ECU 20. This processing is performed in response to a data transmission request from the data control unit 101 (201).

データ送信に際しては、まずステップS100において、MAC生成部104(204)が、当該ECUの記憶部103(203)に記憶されたカウンタを読み込む。そして、ステップS101において、MAC生成部104(204)は、その読み込んだカウンタを共通鍵として用いて、送信するデータのMACの値(MAC値)を演算する。MAC値は、例えば送信データとカウンタの値とを合成したデータに対してのハッシュを演算することで行われる。   In data transmission, first, in step S100, the MAC generation unit 104 (204) reads a counter stored in the storage unit 103 (203) of the ECU. In step S101, the MAC generation unit 104 (204) calculates the MAC value (MAC value) of the data to be transmitted using the read counter as a common key. The MAC value is obtained, for example, by calculating a hash for data obtained by combining transmission data and a counter value.

続いて、ステップS102において、通信制御部102(202)は、MAC生成部104(204)により演算されたMAC値を送信データと共に車内ネットワーク30に送信する。また、続くステップS103において、カウンタ操作部106(206)が、記憶部103(203)に記憶されたカウンタをインクリメントするカウンタ操作処理を行う。具体的には、このときのカウンタ操作部106(206)は、記憶部103(203)に記憶されたカウンタの値に「1」を加算する。そして、以上をもって、今回のデータ送信処理を終了する。   Subsequently, in step S102, the communication control unit 102 (202) transmits the MAC value calculated by the MAC generation unit 104 (204) to the in-vehicle network 30 together with transmission data. In the subsequent step S103, the counter operation unit 106 (206) performs a counter operation process for incrementing the counter stored in the storage unit 103 (203). Specifically, the counter operation unit 106 (206) at this time adds “1” to the counter value stored in the storage unit 103 (203). Then, the data transmission process this time is finished.

図3に、データを受信する側のECUにおいて実施されるデータ送信処理のフローチャートを示す。本処理は、通信制御部202(102)による当該ECUに対するデータの受信に応じて実施される。   FIG. 3 shows a flowchart of data transmission processing executed in the ECU on the data receiving side. This process is performed in response to reception of data to the ECU by the communication control unit 202 (102).

データ受信に際しては、まずステップS200において、MAC生成部204(104)が、記憶部203(103)に記憶されたカウンタを読み込む。続いて、ステップS201において、MAC生成部204(104)は、その読み込んだカウンタを共通鍵として用いて、受信データのMAC値(照合用MAC値)を演算する。このときのMAC値の演算は、データ送信処理でのステップS101と同一の演算ロジックで行われる。そして、ステップS202において、MAC照合部205(105)は、ここで演算したMAC値が受信データに付されたMAC値と一致するか否かを判定する。   When data is received, first, in step S200, the MAC generation unit 204 (104) reads the counter stored in the storage unit 203 (103). Subsequently, in step S201, the MAC generation unit 204 (104) calculates the MAC value (matching MAC value) of the received data using the read counter as a common key. The calculation of the MAC value at this time is performed by the same calculation logic as that in step S101 in the data transmission process. In step S202, the MAC verification unit 205 (105) determines whether or not the calculated MAC value matches the MAC value attached to the received data.

ここで、両者のMAC値が一致しない場合(S202:NO)、ステップS205において、MAC照合部205(105)が受信データを不正なデータとして破棄した後、今回のデータ受信処理を終了する。一方、両者のMAC値が一致した場合(S202:YES)、ステップS203において、正当なデータとして受信データがデータ制御部201(101)に受け渡されて処理される。そして、ステップS204において、カウンタ操作部206(106)が、記憶部203に記憶されたカウンタの値をインクリメントするカウンタ操作処理を行った後、今回のデータ受信処理を終了する。   If the MAC values of the two do not match (S202: NO), the MAC collation unit 205 (105) discards the received data as invalid data in step S205, and the current data reception process ends. On the other hand, if both MAC values match (S202: YES), in step S203, the received data is transferred to the data control unit 201 (101) as legitimate data and processed. In step S204, the counter operation unit 206 (106) performs a counter operation process for incrementing the counter value stored in the storage unit 203, and then ends the current data reception process.

(カウンタの初期化/同期処理)
以上のように、本実施形態では、マスター側ECU10及びスレーブ側ECU20がそれぞれの記憶部103,203に記憶するカウンタを共通鍵として用いてメッセージを行うようにしている。カウンタは、データ通信を行うごとにインクリメントされ、その値が変化するため、傍受したMACをそのまま再送しても、メッセージ認証を通すことはできず、リプライ攻撃は無効となる。ただし、こうした態様でメッセージ認証を行うには、マスター側ECU10及びスレーブ側ECU20がそれぞれの記憶部103,203に記憶するカウンタの同期を保証する必要がある。本実施形態では、以下の初期化処理及び同期処理をマスター側ECU10及びスレーブ側ECU20がそれぞれ実施することで、両ECUのカウンタを同期させている。
(Counter initialization / synchronization processing)
As described above, in this embodiment, the master-side ECU 10 and the slave-side ECU 20 send messages using the counters stored in the storage units 103 and 203 as common keys. Since the counter is incremented each time data communication is performed and the value thereof is changed, even if the intercepted MAC is retransmitted as it is, message authentication cannot be passed, and the reply attack becomes invalid. However, in order to perform message authentication in such a manner, it is necessary to guarantee synchronization of counters stored in the storage units 103 and 203 by the master side ECU 10 and the slave side ECU 20. In this embodiment, the master side ECU 10 and the slave side ECU 20 perform the following initialization process and synchronization process, respectively, to synchronize the counters of both ECUs.

図4に、初期化処理のフローチャートを示す。本処理は、マスター側ECU10の初期化処理部108により、車内ネットワークシステムの稼働中に周期的に繰り返し実施される。   FIG. 4 shows a flowchart of the initialization process. This process is repeatedly performed periodically by the initialization processing unit 108 of the master ECU 10 during operation of the in-vehicle network system.

本処理が開始されると、まずステップS300において、初期化処理部108は、初期化実施時期であるか否かを判定する。本実施形態では、以下の(イ)、(ロ)が初期化実施時期とされている。なお、下記の待機時間は、乱数生成器107により生成された乱数に応じて決定される。なお、下記(イ)は、マスター側ECU10の起動後における最初の初期化処理の実施時期を、下記(ロ)は、最初の初期化処理の実施後における同初期化処理の再実施の時期をそれぞれ示している。すなわち、本実施形態において下記(ロ)は、初期化処理の再実施条件となっている。   When this processing is started, first, in step S300, the initialization processing unit 108 determines whether or not it is the initialization execution time. In the present embodiment, the following (A) and (B) are the initialization execution times. Note that the following waiting time is determined according to the random number generated by the random number generator 107. The following (A) shows the timing of the initial initialization process after starting the master ECU 10, and (B) below shows the timing of the initialization process after the initial initialization. Each is shown. That is, in the present embodiment, the following (b) is a re-execution condition for the initialization process.

(イ)イグニッションスイッチのオン後、ランダムに決定された待機時間が経過したとき。
(ロ)アイドリングストップ制御によるエンジンの一時停止中であり、かつエンジン停止から、ランダムに決定された待機時間が経過したとき。
(A) When a randomly determined waiting time has elapsed after the ignition switch is turned on.
(B) When the engine is temporarily stopped by idling stop control and a randomly determined standby time has elapsed since the engine stopped.

ここで、初期化実施時期でなければ(S300:NO)、初期化処理部108は、そのまま今回の処理を終了する。一方、初期化実施時期であれば(S300:YES)、初期化処理部108は、ステップS301において、乱数生成器107から乱数を取得し、続くステップS302において、その乱数の値をカウンタとして記憶部103に記憶する。そして、初期化処理部108は、その乱数の値を暗号化したものを初期化データとしてスレーブ側ECU20に送信した後、今回の本処理を終了する。なお、このときの暗号化は、マスター側ECU10及びスレーブ側ECU20が共有する共通鍵を用いて行われる。   Here, if it is not the initialization execution time (S300: NO), the initialization processing unit 108 ends the current processing as it is. On the other hand, if it is the initialization execution time (S300: YES), the initialization processing unit 108 acquires a random number from the random number generator 107 in step S301, and in the subsequent step S302, stores the random number value as a counter. 103. Then, the initialization processing unit 108 transmits the encrypted random number value to the slave ECU 20 as initialization data, and then ends the current process. The encryption at this time is performed using a common key shared by the master ECU 10 and the slave ECU 20.

図5に、同期処理のフローチャートを示す。本処理は、スレーブ側ECU20に設けられた同期処理部207により、車内ネットワークシステムの稼働中に周期的に繰り返し実施される。   FIG. 5 shows a flowchart of the synchronization process. This process is repeatedly performed periodically by the synchronization processing unit 207 provided in the slave-side ECU 20 during operation of the in-vehicle network system.

本処理が開始されると、同期処理部207は、まずステップS400において、上述の初期化データを受信したか否かを判定する。ここで、初期化データを受信していなければ(S400:NO)、同期処理部207は、そのまま今回の本ルーチンの処理を終了する。一方、初期化データを受信していれば(S400:YES)、同期処理部207は、ステップS401においてその受信した初期化データを復号する。そして同期処理部207は、ステップS402においてその復号により得られた値を、すなわち、マスター側ECU10から通知されたカウンタの初期値を、カウンタとして記憶部203に記憶した後、今回の本ルーチンの処理を終了する。   When this process is started, the synchronization processing unit 207 first determines in step S400 whether or not the above-described initialization data has been received. If initialization data has not been received (S400: NO), the synchronization processing unit 207 ends the processing of this routine as it is. On the other hand, if initialization data has been received (S400: YES), the synchronization processing unit 207 decodes the received initialization data in step S401. The synchronization processing unit 207 stores the value obtained by the decoding in step S402, that is, the initial value of the counter notified from the master-side ECU 10 in the storage unit 203 as a counter, and then performs the processing of this routine this time. Exit.

(作用)
イグニッションスイッチがオンとされてマスター側ECU10が起動されると、ランダムに決定された待機時間の経過後に、初期化処理部108により初期化処理が実施される。そして、その初期化処理により、乱数生成器107により生成された乱数が、カウンタの値として記憶部103に記憶され、更にその値がカウンタの初期値としてスレーブ側ECU20に通知される。一方、スレーブ側ECU20では、そうした初期値の通知に応じて同期処理部207により同期処理が実施され、通知された初期値がカウンタの値として記憶部203に記憶される。以上により、マスター側ECU10及びスレーブ側ECU20の両記憶部103,203に記憶されたカウンタは、マスター側ECU10の起動後におけるスレーブ側ECU20との最初のデータ通信に先立って、ランダムに決定された同一の値に設定される。
(Function)
When the ignition switch is turned on and the master ECU 10 is activated, the initialization processing unit 108 performs initialization processing after a randomly determined standby time has elapsed. Then, by the initialization process, the random number generated by the random number generator 107 is stored in the storage unit 103 as a counter value, and the value is notified to the slave ECU 20 as an initial value of the counter. On the other hand, in the slave-side ECU 20, the synchronization processing unit 207 performs synchronization processing in response to such notification of the initial value, and the notified initial value is stored in the storage unit 203 as a counter value. As described above, the counters stored in the storage units 103 and 203 of the master ECU 10 and the slave ECU 20 are randomly determined prior to the first data communication with the slave ECU 20 after the master ECU 10 is started. Is set to the value of

マスター側ECU10及びスレーブ側ECU20の間のデータ通信に際しては、両記憶部103,203に記憶されたカウンタの値を用いて演算されたMAC値を用いてメッセージ認証が行われる。さらに、両記憶部103,203に記憶されたカウンタの値は、データ通信後にカウンタ操作部106,206によって、それぞれインクリメントされる。そのため、両記憶部103,203に記憶されたカウンタの値は、データ通信が行われるごとに同期を保ちながら変更されるようになる。   During data communication between the master ECU 10 and the slave ECU 20, message authentication is performed using the MAC value calculated using the counter values stored in the storage units 103 and 203. Further, the counter values stored in both storage units 103 and 203 are incremented by counter operation units 106 and 206, respectively, after data communication. Therefore, the counter values stored in both the storage units 103 and 203 are changed while maintaining synchronization each time data communication is performed.

一方、データ通信開始後にも、車両が信号待ちなどで一定の時間以上停止して、エンジンが一時停止されると、初期化処理が再び実施され、両記憶部103,203に記憶されたカウンタの値の再初期化が行われる。すなわち、マスター側ECU10において、ランダムに決定された値がカウンタの値として再設定されるとともに、その値がスレーブ側ECU20に受け渡されて、両記憶部103,203に記憶されたカウンタの値の同期が取られる。   On the other hand, even after the start of data communication, when the vehicle stops for a certain time, such as waiting for a signal, and the engine is temporarily stopped, the initialization process is performed again, and the counters stored in both storage units 103 and 203 are The value is reinitialized. That is, the master ECU 10 resets the randomly determined value as the counter value, and the value is transferred to the slave ECU 20 and the counter values stored in both the storage units 103 and 203 are set. Synchronization is taken.

ちなみに、こうした本実施形態では、マスター側ECU10からスレーブ側ECU20へのカウンタの初期値の受け渡しに際して、初期値の暗号化に使用される共通鍵は固定されている。そのため、暗号化した初期化データからの初期値の解読は、MAC値からのカウンタの値の解読よりは容易となっている。すなわち、このデータ通信システムでは、初期値の受け渡しの直後の期間が、サイバー攻撃を最も受ける可能性が高くなっている。その点、本実施形態では、初期値の受け渡しは、その直後にサイバー攻撃による車両の不正動作が万一発生しても、その影響が比較的小さい、車両及びエンジンの停止期間に行われるようになっている。   Incidentally, in this embodiment, when the initial value of the counter is transferred from the master ECU 10 to the slave ECU 20, the common key used for encrypting the initial value is fixed. Therefore, the decryption of the initial value from the encrypted initialization data is easier than the decryption of the counter value from the MAC value. That is, in this data communication system, there is a high possibility that the cyber attack will be most likely during the period immediately after the initial value is delivered. In this regard, in the present embodiment, the initial value is transferred during a vehicle and engine stop period in which the influence is relatively small even if an improper operation of the vehicle due to a cyber attack occurs immediately after that. It has become.

以上の本実施形態のデータ通信システムによれば、以下の効果を奏することができる。
(1)データ通信ごとに変化するカウンタの値を用いてメッセージ認証を行っているため、より安全なデータ通信が可能となる。
According to the data communication system of the present embodiment described above, the following effects can be achieved.
(1) Since message authentication is performed using a counter value that changes for each data communication, safer data communication is possible.

(2)ECUが交換されても、カウンタの値の同期を保つことができるため、運用期間が長い車両のデータ通信システムにも採用し易い。
(3)カウンタの初期値の受け渡しを、車両及びエンジンの停止期間に行っているため、万一、初期値が読み取られて、サイバー攻撃による不正動作を許したとしても、その影響を小さく抑えられる。
(2) Since the counter value can be kept synchronized even when the ECU is replaced, it can be easily adopted for a data communication system for a vehicle having a long operation period.
(3) Since the initial value of the counter is transferred during the vehicle and engine stop periods, even if the initial value is read and unauthorized operation by a cyber attack is permitted, the influence can be suppressed to a small level. .

(4)初期値の受け渡しを行うタイミングをランダムに決定しているため、その受け渡しのための通信の傍受をより困難とすることができる。
(5)マスター側ECU10の起動直後に加え、再実施条件の成立時にも、カウンタの値がランダムに変更されるため、データ通信の偽装をより困難とすることができる。
(4) Since the timing for transferring the initial value is randomly determined, it is possible to make it more difficult to intercept the communication for the transfer.
(5) Since the value of the counter is changed at random when the re-execution condition is satisfied in addition to immediately after activation of the master side ECU 10, it is possible to make it more difficult to disguise data communication.

なお、上記実施形態は、以下のように変更して実施することもできる。
・上記実施形態では、初期値の受け渡し、すなわちスレーブ側ECU20への初期化データの送信を行う時期をランダムに決定していたが、その時期を固定するようにしてもよい。
In addition, the said embodiment can also be changed and implemented as follows.
In the above-described embodiment, the time for transferring the initial value, that is, the time for transmitting the initialization data to the slave-side ECU 20 is randomly determined. However, the time may be fixed.

・上記実施形態では、アイドリングストップ制御によるエンジンの一時停止中にカウンタの初期化処理を再実施するようにしていたが、例えば、一定の期間ごとに初期化処理を繰り返し実施するようにするなど、そうした初期化処理の再実施条件を任意に変更してもよい。   In the above embodiment, the counter initialization process was re-executed while the engine was temporarily stopped by the idling stop control.For example, the initialization process was repeatedly performed at regular intervals. The re-execution conditions for such initialization processing may be arbitrarily changed.

・上記実施形態では、データ通信が行われるごとに、カウンタの値を1ずつ加増していたが、「1」以外の任意の数ずつ、カウンタの値を加増するようにしてもよい。
・上記実施形態では、マスター側ECU10の起動直後以外にも、カウンタの初期化処理を実施するようにしていたが、マスター側ECU10の起動直後のみに初期化処理を行うようにしてもよい。
In the above embodiment, each time data communication is performed, the counter value is incremented by 1. However, the counter value may be incremented by any number other than “1”.
In the above embodiment, the counter initialization process is performed in addition to immediately after the master ECU 10 is started. However, the initialization process may be performed only immediately after the master ECU 10 is started.

・上記実施形態では、送信/受信データとカウンタの値とを合成したデータのハッシュを演算することでMAC値を演算していたが、カウンタの値を共通鍵として用いる演算ロジックであれば、それ以外の演算ロジックを採用してもよい。   In the above embodiment, the MAC value is calculated by calculating the hash of data obtained by combining the transmission / reception data and the counter value. However, if the calculation logic uses the counter value as a common key, Arithmetic logic other than may be adopted.

・上記実施形態のデータ通信システムは、車内データ通信システム以外のデータ通信システムにも、同様に適用することができる。   The data communication system of the above embodiment can be similarly applied to data communication systems other than the in-vehicle data communication system.

10…マスター側ECU、20…スレーブ側ECU、30…車内ネットワーク、101…データ制御部、102…通信制御部、103…記憶部、104…MAC生成部、105…MAC照合部、106…カウンタ操作部、107…乱数生成器、108…初期化処理部、201…データ制御部、202…通信制御部、203…記憶部、204…MAC生成部、205…MAC照合部、206…カウンタ操作部、207…同期処理部。   DESCRIPTION OF SYMBOLS 10 ... Master side ECU, 20 ... Slave side ECU, 30 ... In-vehicle network, 101 ... Data control part, 102 ... Communication control part, 103 ... Memory | storage part, 104 ... MAC production | generation part, 105 ... MAC collation part, 106 ... Counter operation 107: random number generator, 108 ... initialization processing unit, 201 ... data control unit, 202 ... communication control unit, 203 ... storage unit, 204 ... MAC generation unit, 205 ... MAC verification unit, 206 ... counter operation unit, 207 ... Synchronization processing unit.

Claims (15)

ネットワークに接続されたデータ通信機器間のデータ通信を行うデータ通信システムにおいて、
データ通信を行う2つのデータ通信機器の一方をマスター機器とし、他方をスレーブ機器としたとき、
前記マスター機器及び前記スレーブ機器には、カウンタの値を記憶する記憶部と、前記マスター機器と前記スレーブ機器との間でデータ通信が行われる毎に前記カウンタの値をインクリメントするカウンタ操作部と、前記マスター機器と前記スレーブ機器との間のデータ通信でのメッセージ認証に用いるメッセージ認証符号を、前記カウンタを用いて生成するMAC生成部と、がそれぞれ設けられ、
前記マスター機器には、乱数を生成する乱数生成器と、当該マスター機器の起動後における前記スレーブ機器との最初のデータ通信に先立って、前記乱数生成器により生成された乱数を前記カウンタの値として同マスター機器の前記記憶部に記憶するとともに、その記憶した値を同カウンタの初期値として前記スレーブ機器に通知する初期化処理を行う初期化処理部と、が設けられ、
前記スレーブ機器には、前記初期値の通知に応じて、その通知された初期値を前記カウンタの値として同スレーブ機器の前記記憶部に記憶する同期処理を行う同期処理部が設けられた
ことを特徴とするデータ通信システム。
In a data communication system that performs data communication between data communication devices connected to a network,
When one of two data communication devices for data communication is a master device and the other is a slave device,
In the master device and the slave device, a storage unit that stores a counter value, a counter operation unit that increments the counter value every time data communication is performed between the master device and the slave device, A MAC generating unit that generates a message authentication code used for message authentication in data communication between the master device and the slave device using the counter, respectively,
Prior to the first data communication between the master device and the slave device after starting the master device, the random number generated by the random number generator is used as the counter value. An initialization processing unit is provided that performs an initialization process of storing the stored value in the storage unit of the master device and notifying the slave device of the stored value as an initial value of the counter,
In response to the notification of the initial value, the slave device is provided with a synchronization processing unit that performs a synchronization process of storing the notified initial value as the counter value in the storage unit of the slave device. A featured data communication system.
前記初期化処理部は、前記初期値の通知を行うタイミングを前記マスター機器が起動される毎に変更する
請求項1に記載のデータ通信システム。
The data communication system according to claim 1, wherein the initialization processing unit changes the timing of notifying the initial value every time the master device is activated.
前記初期化処理部は、前記初期化処理の実施後に規定の再実施条件が成立したときに、同初期化処理を再実施する
請求項1又は2に記載のデータ通信システム。
The data communication system according to claim 1, wherein the initialization processing unit re-executes the initialization process when a specified re-execution condition is satisfied after the initialization process is performed.
当該データ通信システムは、車内ネットワークを通じた車載機器間のデータ通信を行うシステムであり、前記再実施条件はエンジンの停止をその成立の要件とする
請求項3に記載のデータ通信システム。
The data communication system according to claim 3, wherein the data communication system is a system that performs data communication between in-vehicle devices through an in-vehicle network, and the re-execution condition is that the engine stop is a requirement for establishment.
当該データ通信システムは、車内ネットワークを通じた車載機器間のデータ通信を行うシステムである
請求項1〜3のいずれか1項に記載のデータ通信システム。
The data communication system according to any one of claims 1 to 3, wherein the data communication system is a system that performs data communication between in-vehicle devices through an in-vehicle network.
ネットワークに接続されるとともに、同ネットワークに接続された他のデータ通信機器とデータ通信を行うデータ通信機器において、
カウンタの値を記憶する記憶部と、
前記他のデータ通信機器とのデータ通信が行われる毎に前記カウンタの値をインクリメントするカウンタ操作部と、
乱数を生成する乱数生成器と、
当該データ通信機器の起動後における前記他のデータ通信機器との最初のデータ通信に先立って、前記乱数生成器により生成された乱数を前記カウンタの値として前記記憶部に記憶するとともに、その記憶した値を同カウンタの初期値として前記他のデータ通信機器に通知する初期化処理を行う初期化処理部と、
前記他のデータ通信機器とのデータ通信でのメッセージ認証に用いるメッセージ認証符号を前記記憶部に記憶された前記カウンタの値を用いて生成するMAC生成部と、
を備えるデータ通信機器。
In a data communication device connected to a network and performing data communication with other data communication devices connected to the network,
A storage unit for storing a counter value;
A counter operation unit that increments the value of the counter each time data communication with the other data communication device is performed;
A random number generator for generating random numbers;
Prior to the first data communication with the other data communication device after activation of the data communication device, the random number generated by the random number generator is stored in the storage unit as the counter value, and stored. An initialization processing unit for performing an initialization process of notifying the value to the other data communication device as an initial value of the counter;
A MAC generation unit that generates a message authentication code used for message authentication in data communication with the other data communication device using the value of the counter stored in the storage unit;
A data communication device comprising:
前記初期化処理部は、前記初期値の通知を行うタイミングを当該データ通信機器が起動される毎に変更する
請求項6に記載のデータ通信機器。
The data communication device according to claim 6, wherein the initialization processing unit changes the timing of notifying the initial value every time the data communication device is activated.
前記初期化処理部は、前記初期化処理の実施後に規定の再実施条件が成立したときに、同初期化処理を再実施する
請求項6又は7に記載のデータ通信機器。
The data communication device according to claim 6, wherein the initialization processing unit re-executes the initialization process when a specified re-execution condition is satisfied after the initialization process is performed.
当該データ通信機器は、車内ネットワークに接続されるものであって、前記再実施条件はエンジンの停止をその成立の要件とする
請求項8に記載のデータ通信機器。
The data communication device according to claim 8, wherein the data communication device is connected to an in-vehicle network, and the re-execution condition requires that the engine be stopped.
当該データ通信機器は、車内ネットワークに接続される
請求項6〜8のいずれか1項に記載のデータ通信機器。
The data communication device according to any one of claims 6 to 8, wherein the data communication device is connected to an in-vehicle network.
ネットワークに接続されたデータ通信機器間のデータ通信方法において、
データ通信を行う2つのデータ通信機器の一方をマスター機器とし、他方をスレーブ機器としたとき、
前記マスター機器及び前記スレーブ機器はそれぞれ、それらの間でデータ通信が行われる毎に、各々が記憶するカウンタの値をインクリメントするカウンタ操作処理を行い、
前記マスター機器は、その起動後における前記スレーブ機器との最初のデータ通信に先立って、乱数生成器により生成された乱数を前記カウンタの初期値として設定するとともに、その初期値を前記スレーブ機器に通知する初期化処理を行い、
前記スレーブ機器は、前記マスター機器から通知された前記初期値を、自身の記憶する前記カウンタの初期値に設定する同期処理を行い、
且つ前記マスター機器及び前記スレーブ機器は、互いのデータ通信に際してのメッセージ認証に用いるメッセージ認証符号を、自身が記憶する前記カウンタの値を用いて生成する
ことを特徴とするデータ通信方法。
In a data communication method between data communication devices connected to a network,
When one of two data communication devices for data communication is a master device and the other is a slave device,
Each of the master device and the slave device performs counter operation processing for incrementing the value of the counter stored each time data communication is performed between them.
Prior to the first data communication with the slave device after activation, the master device sets the random number generated by the random number generator as the initial value of the counter and notifies the slave device of the initial value. Perform initialization processing to
The slave device performs a synchronization process for setting the initial value notified from the master device to the initial value of the counter stored therein,
The master device and the slave device generate a message authentication code used for message authentication in mutual data communication using the value of the counter stored therein.
前記初期化処理において、前記初期値の通知を行うタイミングを前記マスター機器が起動される毎に変更する
請求項11に記載のデータ通信方法。
The data communication method according to claim 11, wherein in the initialization process, the timing for notifying the initial value is changed every time the master device is activated.
前記マスター機器は、前記初期化処理の実施後に規定の再実施条件が成立したときに、前記初期化処理を再実施する
請求項11又は12に記載のデータ通信方法。
The data communication method according to claim 11 or 12, wherein the master device re-executes the initialization process when a specified re-execution condition is satisfied after the initialization process is performed.
当該データ通信方法は、車内ネットワークを通じた車載機器間のデータ通信に適用され、前記再実施条件はエンジンの停止をその成立の要件とする
請求項13に記載のデータ通信方法。
The data communication method according to claim 13, wherein the data communication method is applied to data communication between in-vehicle devices via an in-vehicle network, and the re-execution condition sets the stop of the engine as a requirement for establishment.
当該データ通信方法は、車内ネットワークを通じた車載機器間のデータ通信に適用される
請求項11〜13のいずれか1項に記載のデータ通信方法。
The data communication method according to any one of claims 11 to 13, wherein the data communication method is applied to data communication between in-vehicle devices through an in-vehicle network.
JP2015154529A 2015-08-04 2015-08-04 System, equipment and method for data communication Pending JP2017034555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015154529A JP2017034555A (en) 2015-08-04 2015-08-04 System, equipment and method for data communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015154529A JP2017034555A (en) 2015-08-04 2015-08-04 System, equipment and method for data communication

Publications (1)

Publication Number Publication Date
JP2017034555A true JP2017034555A (en) 2017-02-09

Family

ID=57987317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015154529A Pending JP2017034555A (en) 2015-08-04 2015-08-04 System, equipment and method for data communication

Country Status (1)

Country Link
JP (1) JP2017034555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022012658A1 (en) * 2020-07-17 2022-01-20 维沃移动通信有限公司 Information display method and apparatus, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0976768A (en) * 1995-09-13 1997-03-25 Mitsubishi Electric Corp Gear-in judgement device of automatic transmission
JP2004254271A (en) * 2002-12-25 2004-09-09 Hitachi Ltd Network instrument, network system, and group management method
JP2005223477A (en) * 2004-02-04 2005-08-18 Renesas Technology Corp Tamper resistant information processor
JP2013098719A (en) * 2011-10-31 2013-05-20 Toyota Infotechnology Center Co Ltd Message authentication method for communication system, and communication system
WO2013076848A1 (en) * 2011-11-24 2013-05-30 三菱電機株式会社 Encrypted communication system, encrypted communication device, computer program, and encrypted communication method
JP2014204444A (en) * 2013-04-09 2014-10-27 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and device for detecting manipulation of sensor and/or sensor data of the sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0976768A (en) * 1995-09-13 1997-03-25 Mitsubishi Electric Corp Gear-in judgement device of automatic transmission
JP2004254271A (en) * 2002-12-25 2004-09-09 Hitachi Ltd Network instrument, network system, and group management method
JP2005223477A (en) * 2004-02-04 2005-08-18 Renesas Technology Corp Tamper resistant information processor
JP2013098719A (en) * 2011-10-31 2013-05-20 Toyota Infotechnology Center Co Ltd Message authentication method for communication system, and communication system
WO2013076848A1 (en) * 2011-11-24 2013-05-30 三菱電機株式会社 Encrypted communication system, encrypted communication device, computer program, and encrypted communication method
JP2014204444A (en) * 2013-04-09 2014-10-27 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and device for detecting manipulation of sensor and/or sensor data of the sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022012658A1 (en) * 2020-07-17 2022-01-20 维沃移动通信有限公司 Information display method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
JP4576997B2 (en) Communication system, key distribution device, cryptographic processing device
EP3386163B1 (en) Apparatuses and methods for use in a can system
JP5770602B2 (en) Message authentication method and communication system in communication system
CN101404576B (en) Network resource query method and system
Mundhenk et al. Lightweight authentication for secure automotive networks
CN109963279B (en) Hybrid encryption method applied to dynamic ad hoc network
JP2010011400A (en) Cipher communication system of common key system
US20170118020A1 (en) Data communication method, system and gateway for in-vehicle network including a plurality of subnets
JP6512023B2 (en) Communication system, transmitting node, and receiving node
JP2013048374A (en) Protection communication method
JP2018529292A (en) Network node
CN112448941B (en) Authentication system and method for authenticating a microcontroller
WO2017187924A1 (en) Computing device, authentication system, and authentication method
US20150180671A1 (en) Authentication system, method for authentication, authentication device and device to be authenticated
US20170111332A1 (en) Method and system for asymmetric key derivation
JP2013219710A (en) Authentication system of on-vehicle control device and authentication method of on-vehicle control device
EP3959859B1 (en) Improvements in the transmission of data or messages on board a vehicle using a some/ip communication protocol
JP2016092716A (en) Key management communication device and key distribution method
CN111079158B (en) Data storage and reading method and device
US20220191040A1 (en) Devices and methods for the generating and authentication of at least one data packet to be transmitted in a bus system (bu), in particular of a motor vehicle
CN112242903B (en) Hybrid device and method for performing secure boot procedure for hybrid device
CN113162928A (en) Communication method, communication device, ECU, vehicle and storage medium
JP2017034555A (en) System, equipment and method for data communication
JP2009290378A (en) Secret key distribution method and secret key distribution system
CN111343129B (en) Method and equipment for preventing protocol networking from being cracked

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190326

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20191001