JP6992309B2 - Transmitter, receiver, and communication method - Google Patents

Transmitter, receiver, and communication method Download PDF

Info

Publication number
JP6992309B2
JP6992309B2 JP2017149678A JP2017149678A JP6992309B2 JP 6992309 B2 JP6992309 B2 JP 6992309B2 JP 2017149678 A JP2017149678 A JP 2017149678A JP 2017149678 A JP2017149678 A JP 2017149678A JP 6992309 B2 JP6992309 B2 JP 6992309B2
Authority
JP
Japan
Prior art keywords
hash value
data frame
data
current
previous
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.)
Active
Application number
JP2017149678A
Other languages
Japanese (ja)
Other versions
JP2019029921A (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.)
Toyota Industries Corp
Original Assignee
Toyota Industries 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 Toyota Industries Corp filed Critical Toyota Industries Corp
Priority to JP2017149678A priority Critical patent/JP6992309B2/en
Publication of JP2019029921A publication Critical patent/JP2019029921A/en
Application granted granted Critical
Publication of JP6992309B2 publication Critical patent/JP6992309B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、送信装置、受信装置、及び通信方法に関する。 The present invention relates to a transmitting device, a receiving device, and a communication method.

車両に搭載される通信システムは、例えば、AUTOSAR(Automotive Open System Architecture)の仕様書に記載されたE2E(End to End)プロトコルに準拠し得る。該E2Eプロトコルでは、送信装置は、送信対象のデータと共に、CRC(Cyclic Redundancy Check)符号といった誤り検出符号とカウンタ値とをデータフレームに含めて送信する。一方、受信装置は、データフレームに含まれる誤り検出符号とカウンタ値とに基づいて、受信したデータの正しさ(整合性)や受信順序を確認する。 The communication system mounted on the vehicle may comply with, for example, the E2E (End to End) protocol described in the specifications of AUTOSAR (Automotive Open System Architecture). In the E2E protocol, the transmission device includes the error detection code such as a CRC (Cyclic Redundancy Check) code and the counter value in the data frame and transmits the data together with the data to be transmitted. On the other hand, the receiving device confirms the correctness (consistency) and the receiving order of the received data based on the error detection code and the counter value included in the data frame.

また、特許文献1に記載の通信システムでは、第1の通信ノードは、第2の通信ノードへ送信するデータと、該データの送信順序を表すカウンタ値とに基づいて、該カウンタ値をシードとして、第1の誤り検出符号を計算する。そして、第1の通信ノードは、第1の誤り検出符号とデータとを含むデータフレームを第2の通信ノードへ送信する。一方、第2の通信ノードは、第1の通信ノードからのデータフレームを受信し、受信されたデータフレームに含まれるデータと、該データの受信順序を表すカウンタ値とに基づいて、該カウンタ値をシードとして、第2の誤り検出符号を計算する。そして、第2の通信ノードは、第2の誤り検出符号と、データフレームに含まれる第1の誤り検出符号とが一致するかを判定し、判定結果に基づいて、データフレームに含まれるデータに応じた処理を行う。 Further, in the communication system described in Patent Document 1, the first communication node uses the counter value as a seed based on the data transmitted to the second communication node and the counter value indicating the transmission order of the data. , The first error detection code is calculated. Then, the first communication node transmits a data frame including the first error detection code and data to the second communication node. On the other hand, the second communication node receives the data frame from the first communication node, and the counter value is based on the data included in the received data frame and the counter value indicating the reception order of the data. Is used as a seed to calculate the second error detection code. Then, the second communication node determines whether the second error detection code and the first error detection code included in the data frame match, and based on the determination result, the data included in the data frame is used. Perform the corresponding processing.

なお、関連する技術として、上述した特許文献1の他に、特許文献2~5に記載の技術が知られている。 In addition to the above-mentioned Patent Document 1, the techniques described in Patent Documents 2 to 5 are known as related techniques.

特開2013-207600号公報Japanese Unexamined Patent Publication No. 2013-207600 特開2013-219710号公報Japanese Unexamined Patent Publication No. 2013-219710 特開2014-056381号公報Japanese Unexamined Patent Publication No. 2014-056381 特開2016-021623号公報Japanese Unexamined Patent Publication No. 2016-021623 特表2015-511905号公報Japanese Patent Publication No. 2015-511905

しかしながら、カウンタ値を用いた上述の通信システムでは、カウンタ値は、データフレームが送信される度に、初期値(例えば、1)から所定数(例えば、1)だけ増加又は減少する。このため、例えば、初回のデータフレームを送信する場合や、カウンタ値を取得できない異常によりカウンタ値の初期値が用いられる場合、シードであるカウンタ値を特定することが容易である。この結果、カウンタ値を用いた上述の通信システムでは、例えば、データフレームを傍受してデータフレームを解析し、シードであるカウンタ値を特定した後データを改ざんし、通信を乗っ取ることも容易になる。加えて、例えば、特許文献1に記載の通信システムでは、カウンタ値を生成するための物理的なカウンタが通信ノードに備えられるため、通信ノードのサイズが大きくなり、車両の所定スペースに通信ノードを収納できなくなる虞がある。 However, in the above-mentioned communication system using the counter value, the counter value increases or decreases by a predetermined number (for example, 1) from the initial value (for example, 1) each time a data frame is transmitted. Therefore, for example, when the initial data frame is transmitted or when the initial value of the counter value is used due to an abnormality in which the counter value cannot be acquired, it is easy to specify the counter value which is the seed. As a result, in the above-mentioned communication system using the counter value, for example, it becomes easy to intercept the data frame, analyze the data frame, identify the counter value as the seed, tamper with the data, and hijack the communication. .. In addition, for example, in the communication system described in Patent Document 1, since the communication node is provided with a physical counter for generating a counter value, the size of the communication node becomes large, and the communication node is placed in a predetermined space of the vehicle. It may not be possible to store it.

本発明の一側面に係る目的は、通信の安全性が確保された通信装置を提供することである。 An object according to one aspect of the present invention is to provide a communication device in which communication security is ensured.

本発明に係る一つの形態である送信装置は、ハッシュ値処理部、データフレーム生成部、及び通信モジュールを備える。ハッシュ値処理部は、送信対象データと、暗号化鍵と、ハッシュ関数とを用いて送信対象データに対する今回ハッシュ値を計算する。データフレーム生成部は、送信対象データと、今回ハッシュ値と、送信対象データに先立ち前回送信されたデータに対して計算された前回ハッシュ値とを含むデータフレームを生成する。通信モジュールは、データフレームを送信する。 The transmission device according to the present invention includes a hash value processing unit, a data frame generation unit, and a communication module. The hash value processing unit calculates the hash value for the transmission target data this time by using the transmission target data, the encryption key, and the hash function. The data frame generation unit generates a data frame including the transmission target data, the current hash value, and the previous hash value calculated for the previously transmitted data prior to the transmission target data. The communication module sends a data frame.

一実施形態に従った送信装置によれば、通信の安全性が確保された通信装置を提供できる。 According to the transmission device according to one embodiment, it is possible to provide a communication device in which the security of communication is ensured.

第1の実施形態に従った通信装置を含む通信システムの構成例を示す図である。It is a figure which shows the structural example of the communication system which includes the communication apparatus according to 1st Embodiment. 第1の実施形態に従った通信装置が実行する送信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the transmission processing performed by the communication apparatus according to 1st Embodiment. 第1の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。It is a figure which shows the structural example of the data frame generated by the communication apparatus according to 1st Embodiment. 第1の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 1st Embodiment. 第1の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 1st Embodiment. 第1の実施形態に従ったハッシュ値保存リストの一例を示す図である。It is a figure which shows an example of the hash value preservation list according to 1st Embodiment. 第2の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 2nd Embodiment. 第2の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 2nd Embodiment. 第3の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。It is a figure which shows the structural example of the data frame generated by the communication apparatus according to 3rd Embodiment. 第4の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。It is a figure which shows the structural example of the data frame generated by the communication apparatus according to 4th Embodiment. 第4の実施形態に従った通信装置が実行する送信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the transmission processing performed by the communication apparatus according to 4th Embodiment. 第4の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 4th Embodiment. 第4の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。It is a figure which shows the exemplary flow of the reception processing performed by the communication apparatus according to 4th Embodiment. 第5の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。It is a figure which shows the structural example of the data frame generated by the communication apparatus according to 5th Embodiment. 第6の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。It is a figure which shows the structural example of the data frame generated by the communication apparatus according to 6th Embodiment.

以下図面に基づいて実施形態について詳細を説明する。
<第1の実施形態>
図1は、第1の実施形態に従った通信装置を含む通信システムの構成例を示す図である。図1に示す構成例では、通信システム1は、複数の通信装置2-1~2-N(Nは2以上の整数)を含み、複数の通信装置2-1~2-Nは、通信線3を介して相互に接続する。以下の説明において複数の通信装置2-1~2-Nを特に区別しない場合には、通信装置2と記載する場合がある。通信システム1は、CAN(Controller Area Network)の仕様に準拠した通信システムであってもよい。
Hereinafter, embodiments will be described in detail with reference to the drawings.
<First Embodiment>
FIG. 1 is a diagram showing a configuration example of a communication system including a communication device according to the first embodiment. In the configuration example shown in FIG. 1, the communication system 1 includes a plurality of communication devices 2-1 to 2-N (N is an integer of 2 or more), and the plurality of communication devices 2-1 to 2-N are communication lines. Connect to each other via 3. In the following description, when a plurality of communication devices 2-1 to 2-N are not particularly distinguished, they may be referred to as communication device 2. The communication system 1 may be a communication system conforming to the specifications of CAN (Controller Area Network).

通信装置2は、通信システム1の通信ノードである。通信装置2は、例えば、車両の所定置に搭載される電子制御ユニット(ECU:Electronic Control Unit)等である。以下では、通信装置2は、送信対象データを含むデータフレームを生成して送信する送信機能と、受信対象データを含むデータフレームを受信して処理する受信機能とを備える装置として説明する。しかしながら、通信システム1を構成する複数の通信装置2の内の1つ以上の通信装置2は、受信機能を備えない送信装置であってもよいし、送信機能を備えない受信装置であってもよい。したがって、通信装置2は、実施形態に従った送信装置及び受信装置の一例である。 The communication device 2 is a communication node of the communication system 1. The communication device 2 is, for example, an electronic control unit (ECU) mounted on a predetermined position of a vehicle. Hereinafter, the communication device 2 will be described as a device having a transmission function of generating and transmitting a data frame including transmission target data and a reception function of receiving and processing a data frame including reception target data. However, one or more communication devices 2 among the plurality of communication devices 2 constituting the communication system 1 may be a transmission device having no receiving function or a receiving device having no transmitting function. good. Therefore, the communication device 2 is an example of a transmission device and a reception device according to the embodiment.

通信装置2は、制御部21、記憶部22、及び通信モジュール23を含む。制御部21、記憶部22、及び通信モジュール23は、バス24を介して相互に接続する。なお、図1には、通信装置2-1に対してのみ構成要素が便宜的に示されている。しかしながら、その他の通信装置2は、通信装置2-1と同じ構成要素を含んでもよい。また、その他の通信装置2は、通信装置2-1の構成要素の内、送信機能を有する構成要素のみを送信装置として含んでもよいし、受信機能を有する構成要素のみを受信装置として含んでもよい。 The communication device 2 includes a control unit 21, a storage unit 22, and a communication module 23. The control unit 21, the storage unit 22, and the communication module 23 are connected to each other via the bus 24. Note that FIG. 1 shows the components for convenience only for the communication device 2-1. However, the other communication device 2 may include the same components as the communication device 2-1. Further, the other communication device 2 may include only the component having a transmission function as the transmission device, or may include only the component having the reception function as the reception device among the components of the communication device 2-1. ..

制御部21は、例えば、CPU(Central Processing Unit)、マルチコアCPU、又はプログラマブルなデバイス(FPGA(Field Programmable Gate Array)やPLD(Programmable Logic Device)等)により構成される。制御部21は、通信装置2全体の動作を司る。例えば、制御部21は、他の通信装置2へ送信する送信対象データを含むデータフレームを生成する。また、例えば、制御部21は、他の通信装置2から受信したデータフレームに対して所定の処理を実行する。制御部21は、ハッシュ値処理部211、誤り検出符号計算部212、データフレーム生成部213、誤り検出部214、及びデータフレーム処理部215を備える。これらの構成要素211~215は、相互に連携して所望の処理を実行する。制御部21が備える各構成要素の具体的な動作は後述する。 The control unit 21 is composed of, for example, a CPU (Central Processing Unit), a multi-core CPU, or a programmable device (FPGA (Field Programmable Gate Array), PLD (Programmable Logic Device), or the like). The control unit 21 controls the operation of the entire communication device 2. For example, the control unit 21 generates a data frame including transmission target data to be transmitted to another communication device 2. Further, for example, the control unit 21 executes a predetermined process on the data frame received from the other communication device 2. The control unit 21 includes a hash value processing unit 211, an error detection code calculation unit 212, a data frame generation unit 213, an error detection unit 214, and a data frame processing unit 215. These components 211 to 215 cooperate with each other to execute a desired process. The specific operation of each component included in the control unit 21 will be described later.

記憶部22は、例えば、RAM(Random Access Memory)やROM(Read Only Memory)により構成される。記憶部22は、制御部21の処理動作を規定するプログラムや、通信装置2が事前に指定する公開鍵やハッシュ関数、制御部21が処理するデータを記憶する。公開鍵は、通信装置2が送信したデータフレームを示すCAN Identifier Base ID や CAN Identifier 拡張IDであってもよい。さらに、公開鍵は、通信装置2が送信したデータフレームのデータとして受信装置が受信可能な、任意の数値であってもよい。 The storage unit 22 is composed of, for example, a RAM (Random Access Memory) or a ROM (Read Only Memory). The storage unit 22 stores a program that defines the processing operation of the control unit 21, a public key and a hash function specified in advance by the communication device 2, and data processed by the control unit 21. The public key may be a CAN Identifier Base ID or a CAN Identifier extension ID indicating a data frame transmitted by the communication device 2. Further, the public key may be an arbitrary numerical value that can be received by the receiving device as the data of the data frame transmitted by the communication device 2.

通信モジュール23は、例えば、変調器や復調器等により構成される。例えば、通信モジュール23は、制御部21が生成したデータフレームを所定の通信方式に従って変調し、データフレームの宛先である通信装置2へデータフレームを送信する。また、例えば、通信モジュール23は、他の通信装置2から受信したデータフレームを所定の通信方式に従って復調し、該データフレームを制御部21へ出力する。 The communication module 23 is composed of, for example, a modulator, a demodulator, or the like. For example, the communication module 23 modulates the data frame generated by the control unit 21 according to a predetermined communication method, and transmits the data frame to the communication device 2 which is the destination of the data frame. Further, for example, the communication module 23 demodulates a data frame received from another communication device 2 according to a predetermined communication method, and outputs the data frame to the control unit 21.

通信装置2が実行する送信処理及び受信処理の例示的なフローを以下に説明する。
<<送信処理>>
図2は、第1の実施形態に従った通信装置が実行する送信処理の例示的フローを示す図である。通信装置2は、図2に示すような一連の送信処理を、送信対象データが発生する毎に実行し得る。
An exemplary flow of transmission processing and reception processing executed by the communication device 2 will be described below.
<< Transmission processing >>
FIG. 2 is a diagram showing an exemplary flow of transmission processing executed by the communication device according to the first embodiment. The communication device 2 may execute a series of transmission processes as shown in FIG. 2 each time transmission target data is generated.

ステップS101において、他の通信装置2へ送信する送信対象データが制御部21において発生すると、ハッシュ値処理部211は、ステップS102の処理を実行する。ステップS102において、ハッシュ値処理部211は、送信対象データと、暗号化鍵と、ハッシュ関数とを用いて送信対象データに対する今回ハッシュ値を計算する。今回ハッシュ値とは、データフレームに含まれるデータ、すなわち、送信対象データ(或いは受信対象データ)に対して計算されたハッシュ値を指す。また、暗号化鍵は、ハッシュ値を暗号化するために用いられる鍵である。 When the transmission target data to be transmitted to the other communication device 2 is generated in the control unit 21 in step S101, the hash value processing unit 211 executes the process of step S102. In step S102, the hash value processing unit 211 calculates the current hash value for the transmission target data using the transmission target data, the encryption key, and the hash function. This time, the hash value refers to the data included in the data frame, that is, the hash value calculated for the transmission target data (or reception target data). The encryption key is a key used to encrypt the hash value.

ステップS103において、ハッシュ値処理部211は、ステップS102で計算した今回ハッシュ値と前回ハッシュ値とが一致するか否かを判定する。前回ハッシュ値とは、送信対象データ(或いは受信対象データ)に先立ち前回送信されたデータに対してハッシュ値処理部211が計算したハッシュ値を指す。前回送信されたデータに対するハッシュ値は、該データに対する一連の送信処理中のステップS102においてハッシュ値処理部211が今回ハッシュ値として計算している。そして、前回送信されたデータに対する今回ハッシュ値は、該データに後続して次回送信されるデータに対する前回ハッシュ値としてハッシュ値処理部211が記憶部22に記憶している。 In step S103, the hash value processing unit 211 determines whether or not the current hash value calculated in step S102 matches the previous hash value. The previous hash value refers to a hash value calculated by the hash value processing unit 211 for the data previously transmitted prior to the transmission target data (or reception target data). The hash value for the previously transmitted data is calculated as the hash value this time by the hash value processing unit 211 in step S102 during a series of transmission processes for the data. Then, the hash value processing unit 211 stores the current hash value for the previously transmitted data as the previous hash value for the data to be transmitted next time after the data in the storage unit 22.

今回ハッシュ値と前回ハッシュ値とが一致すると判定する場合(ステップS103で“YES”)、送信対象データと、該対象データに先立ち前回送信されたデータとは同一であるため、送信対象データを再度送信する必要がない。そこで、ステップS104において、ハッシュ値処理部211は、送信対象データを破棄し、当該送信対象データに対する一連の送信処理は終了する。 When it is determined that the hash value matches the previous hash value this time (“YES” in step S103), the transmission target data and the data previously transmitted prior to the target data are the same, so the transmission target data is re-assigned. No need to send. Therefore, in step S104, the hash value processing unit 211 discards the transmission target data, and the series of transmission processing for the transmission target data ends.

一方、今回ハッシュ値と前回ハッシュ値とが一致しないと判定する場合(ステップS103で“NO”)、一連の送信処理は、ステップS105へ進む。ステップS105において、誤り検出符号計算部212は、送信対象データと、今回ハッシュ値と、前回ハッシュ値とに基づいて誤り検出符号を計算する。ステップS106において、データフレーム生成部213は、送信対象データと、誤り検出符号と、今回ハッシュ値と、前回ハッシュ値とを含むデータフレームを生成する。 On the other hand, when it is determined that the hash value does not match the previous hash value (“NO” in step S103), the series of transmission processes proceeds to step S105. In step S105, the error detection code calculation unit 212 calculates the error detection code based on the transmission target data, the current hash value, and the previous hash value. In step S106, the data frame generation unit 213 generates a data frame including the transmission target data, the error detection code, the current hash value, and the previous hash value.

図3は、第1の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。なお、図3には、CANで定義されるデータフレームの標準フォーマット中のデータフィールドが示されているが、該データフレームには、SOF(Start Of Frame)やID(Identifier)等の不図示のその他のフィールドも含まれ得る。図3に示す構成例では、8バイトのデータフィールドの内、誤り検出符号、今回ハッシュ値、及び前回ハッシュ値に夫々1バイトが当てられている。また、図3において“データ1”~“データ5”と記載したフィールドで示されるように、最小データ単位が1バイトであるデータ(送信対象データ或いは受信対象データ)に対して5バイトが当てられている。 FIG. 3 is a diagram showing a configuration example of a data frame generated by a communication device according to the first embodiment. Note that FIG. 3 shows the data fields in the standard format of the data frame defined by CAN, but the data frames are not shown such as SOF (Start Of Frame) and ID (Identifier). Other fields may also be included. In the configuration example shown in FIG. 3, one byte is assigned to each of the error detection code, the current hash value, and the previous hash value in the 8-byte data field. Further, as shown by the fields described as "data 1" to "data 5" in FIG. 3, 5 bytes are assigned to the data (transmission target data or reception target data) whose minimum data unit is 1 byte. ing.

図3に示す一例では、通信装置2が前々回送信したデータフレームに含まれる前回ハッシュ値はハッシュ値Aであり、今回ハッシュ値はハッシュ値Bである。通信装置2が前回送信したデータフレームに含まれる前回ハッシュ値はハッシュ値Bであり、今回ハッシュ値はハッシュ値Cである。通信装置2が今回送信するデータフレームに含まれる前回ハッシュ値はハッシュ値Cであり、今回ハッシュ値はハッシュ値Dである。このように、前々回のデータフレームの今回ハッシュ値は、前回のデータフレームの前回ハッシュ値であり、前回のデータフレームの今回ハッシュ値は、今回のデータフレームの前回ハッシュ値である。したがって、受信側の通信装置2(例えば、受信装置)は、受信した複数のデータフレームの今回ハッシュ値及び前回ハッシュ値を夫々参照することで、複数のデータフレームに夫々含まれるデータ(受信対象データ)の順序を特定できる。 In the example shown in FIG. 3, the previous hash value included in the data frame transmitted by the communication device 2 two times before is the hash value A, and the hash value this time is the hash value B. The previous hash value included in the data frame transmitted last time by the communication device 2 is the hash value B, and the hash value this time is the hash value C. The previous hash value included in the data frame transmitted by the communication device 2 this time is the hash value C, and the hash value this time is the hash value D. As described above, the current hash value of the previous data frame is the previous hash value of the previous data frame, and the current hash value of the previous data frame is the previous hash value of the current data frame. Therefore, the communication device 2 (for example, the receiving device) on the receiving side refers to the current hash value and the previous hash value of the received plurality of data frames, respectively, so that the data included in the plurality of data frames (reception target data) can be obtained. ) Can be specified.

ステップS107において、通信モジュール23は、データフレーム生成部213が生成したデータフレームを該データフレームの宛先である他の通信装置2へ送信する。
このように、通信装置2は、送信対象データと、暗号化鍵と、ハッシュ関数とを用いて送信対象データに対する今回ハッシュ値を計算する。そして、通信装置2は、送信対象データと、今回ハッシュ値と、送信対象データに先立ち前回送信されたデータに対して計算した前回ハッシュ値とを含むデータフレームを生成して送信する。このため、受信側の通信装置2は、受信したデータフレーム中の前回ハッシュ値と、該データフレームに先立ち処理したデータフレーム中の今回ハッシュ値とを比較することで、受信対象データの処理順序を確認できる。また、受信側の通信装置2は、データフレーム中の今回ハッシュ値を検証することで、受信対象データの正しさを確認できる。
In step S107, the communication module 23 transmits the data frame generated by the data frame generation unit 213 to another communication device 2 which is the destination of the data frame.
In this way, the communication device 2 calculates the hash value for the transmission target data this time by using the transmission target data, the encryption key, and the hash function. Then, the communication device 2 generates and transmits a data frame including the transmission target data, the current hash value, and the previous hash value calculated for the previously transmitted data prior to the transmission target data. Therefore, the communication device 2 on the receiving side compares the previous hash value in the received data frame with the current hash value in the data frame processed prior to the data frame to change the processing order of the data to be received. You can check it. Further, the communication device 2 on the receiving side can confirm the correctness of the data to be received by verifying the hash value this time in the data frame.

したがって、実施形態に従った通信装置によれば、カウンタ値を用いたり、誤り検出符号のデータ数を増やしたりすることなく、高いASIL(Automotive Safety Integrity Level)での通信の安全性を確保できる。また、実施形態に従った通信装置によれば、物理的なカウンタを通信装置に備えることに起因して通信ノードのサイズが大きくなることもない。
<<受信処理>>
図4(A)及び図4(B)は、第1の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。通信装置2は、図4(A)及び図4(B)に示すような一連の受信処理を、データフレームを新たに受信する毎に実行し得る。
Therefore, according to the communication device according to the embodiment, it is possible to ensure the safety of communication at a high ASIL (Automotive Safety Integrity Level) without using the counter value or increasing the number of data of the error detection code. Further, according to the communication device according to the embodiment, the size of the communication node does not increase due to the provision of the physical counter in the communication device.
<< Reception processing >>
4 (A) and 4 (B) are diagrams showing an exemplary flow of reception processing executed by the communication device according to the first embodiment. The communication device 2 may execute a series of reception processes as shown in FIGS. 4A and 4B each time a new data frame is received.

ステップS201において、通信モジュール23は、他の通信装置2が送信したデータフレームを受信する。ステップS202において、誤り検出部214は、受信したデータフレームから誤り検出符号を抽出する。また、ステップS203において、誤り検出符号計算部212は、受信したデータフレームに含まれる受信対象データと、今回ハッシュ値と、前回ハッシュ値とに基づいて誤り検出符号を計算する。 In step S201, the communication module 23 receives the data frame transmitted by the other communication device 2. In step S202, the error detection unit 214 extracts an error detection code from the received data frame. Further, in step S203, the error detection code calculation unit 212 calculates the error detection code based on the reception target data included in the received data frame, the current hash value, and the previous hash value.

ステップS204において、誤り検出部214は、受信したデータフレームから抽出した誤り検出符号と、誤り検出符号計算部212が計算した誤り検出符号とが一致するか否かを判定する。 In step S204, the error detection unit 214 determines whether or not the error detection code extracted from the received data frame and the error detection code calculated by the error detection code calculation unit 212 match.

受信したデータフレームから抽出した誤り検出符号と、誤り検出符号計算部212が計算した誤り検出符号とが一致しないと判定する場合(ステップS204で“NO”)、受信対象データ、今回ハッシュ値、及び前回ハッシュ値の内の少なくとも1つに誤りがある。そこで、ステップS205において、データフレーム処理部215は、受信したデータフレームを破棄する。そして、データフレーム処理部215は、誤りのないデータフレームを受信するために、一連の受信処理をステップS201に戻す。なお、データフレーム生成部213は、受信したデータフレームに誤りがあったことを示すエラーフレームを生成してもよい。そして、通信モジュール23は、受信したデータフレームを送信した通信装置2へエラーフレームを送信してもよい。 When it is determined that the error detection code extracted from the received data frame and the error detection code calculated by the error detection code calculation unit 212 do not match (“NO” in step S204), the data to be received, the hash value this time, and the hash value. At least one of the previous hash values is incorrect. Therefore, in step S205, the data frame processing unit 215 discards the received data frame. Then, the data frame processing unit 215 returns the series of reception processing to step S201 in order to receive the data frame without error. The data frame generation unit 213 may generate an error frame indicating that the received data frame has an error. Then, the communication module 23 may transmit an error frame to the communication device 2 that has transmitted the received data frame.

一方、受信したデータフレームから抽出した誤り検出符号と、誤り検出符号計算部212が計算した誤り検出符号とが一致すると判定する場合(ステップS204で“YES”)、誤り検出部214は、ステップS206の処理に進む。ステップS206において、誤り検出部214は、処理待ちデータフレームがあるか否かを判定する。処理待ちデータフレームとは、ステップS201で受信したデータフレーム以外のデータフレームであり、図4(A)及び図4(B)に示すような一連の受信処理が完了していないデータフレームを指す。 On the other hand, when it is determined that the error detection code extracted from the received data frame and the error detection code calculated by the error detection code calculation unit 212 match (“YES” in step S204), the error detection unit 214 uses step S206. Proceed to the process of. In step S206, the error detection unit 214 determines whether or not there is a data frame waiting to be processed. The processing-waiting data frame is a data frame other than the data frame received in step S201, and refers to a data frame in which a series of reception processing as shown in FIGS. 4A and 4B has not been completed.

処理待ちデータフレームがないと判定する場合(ステップS206で“NO”)、ステップS207において、誤り検出部214は、受信したデータフレームから今回ハッシュ値を抽出する。そして、ステップS208において、誤り検出部214は、抽出した今回ハッシュ値を記憶部22内のハッシュ値保存リストに保存する。ハッシュ値保存リストは、一連の受信処理が完了していないデータフレームが含む今回ハッシュ値が保存されるリストである。 When it is determined that there is no data frame waiting to be processed (“NO” in step S206), in step S207, the error detection unit 214 extracts the hash value from the received data frame this time. Then, in step S208, the error detection unit 214 stores the extracted hash value this time in the hash value storage list in the storage unit 22. The hash value storage list is a list in which hash values are stored this time, including data frames for which a series of reception processes have not been completed.

一方、処理待ちデータフレームがあると判定する場合(ステップS206で“YES”)、ステップS209において、誤り検出部214は、受信したデータフレームから前回ハッシュ値及び今回ハッシュ値を抽出する。そして、ステップS210において、誤り検出部214は、抽出した前回ハッシュ値と、ハッシュ値保存リストに既に保存されている今回ハッシュ値とを比較する。こうした比較によって、誤り検出部214は、受信したデータフレーム及び処理待ちデータフレームをデータフレームの送信順にソートする。また、ステップS211において、誤り検出部214は、ソートしたデータフレームの今回ハッシュ値をハッシュ値保存リストに保存する。 On the other hand, when it is determined that there is a data frame waiting to be processed (“YES” in step S206), in step S209, the error detection unit 214 extracts the previous hash value and the current hash value from the received data frame. Then, in step S210, the error detection unit 214 compares the extracted previous hash value with the current hash value already stored in the hash value storage list. By such comparison, the error detection unit 214 sorts the received data frame and the data frame waiting to be processed in the order of transmission of the data frame. Further, in step S211 the error detection unit 214 saves the current hash value of the sorted data frame in the hash value storage list.

例えば、抽出した前回ハッシュ値がハッシュ値Cであり、抽出した今回ハッシュ値がハッシュ値Dであり、ハッシュ値保存リストに既に保存されている今回ハッシュ値がハッシュ値B及びハッシュ値Cであると仮定する。この仮定では、抽出した前回ハッシュ値Cと同じ今回ハッシュ値がハッシュ値保存リスト中に存在する。そこで、受信したデータフレーム及び処理待ちデータフレームは、今回ハッシュ値がハッシュ値B、ハッシュ値C、及びハッシュ値Dの順番でソートされる。また、ハッシュ値保存リストには、ハッシュ値B、ハッシュ値C、及びハッシュ値Dがデータフレームのソート順に保存される。 For example, if the extracted previous hash value is the hash value C, the extracted current hash value is the hash value D, and the current hash values already stored in the hash value storage list are the hash value B and the hash value C. Suppose. Under this assumption, the same current hash value as the extracted previous hash value C exists in the hash value storage list. Therefore, the received data frame and the data frame waiting to be processed are sorted in the order of the hash value B, the hash value C, and the hash value D this time. Further, the hash value B, the hash value C, and the hash value D are stored in the hash value storage list in the sort order of the data frame.

ステップS212において、誤り検出部214は、最後に処理されたデータフレームが含む今回ハッシュ値と、データフレームの送信順でソートされた先頭のデータフレームが含む前回ハッシュ値とが一致するか否かを判定する。最後に処理されたデータフレームとは、図4(A)及び図4(B)に示すような一連の受信処理が最後に完了されたデータフレームを指す。例えば、処理待ちデータフレームが存在しない場合、誤り検出部214は、最後に処理されたデータが含む今回ハッシュ値と、ステップS201で受信したデータフレームが含む前回ハッシュ値とが一致するか否かを判定する。 In step S212, the error detection unit 214 determines whether or not the current hash value included in the last processed data frame and the previous hash value included in the first data frame sorted in the transmission order of the data frames match. judge. The last processed data frame refers to a data frame in which a series of reception processes as shown in FIGS. 4 (A) and 4 (B) is finally completed. For example, when there is no data frame waiting to be processed, the error detection unit 214 determines whether or not the current hash value included in the last processed data and the previous hash value included in the data frame received in step S201 match. judge.

最後に処理されたデータフレームが含む今回ハッシュ値と、先頭のデータフレームが含む前回ハッシュ値とが一致しないと判定する場合(ステップS212で“NO”)、先頭のデータフレームが含む受信対象データよりも先に処理される予定のデータが存在する。すなわち、先頭のデータフレームが含む受信対象データよりも先に送信されたはずの(或いは先に受信されるべき)データが存在する。そこで、誤り検出部214は、先に処理される予定のデータを含むデータフレームを受信するために、一連の受信処理をステップS201へ戻す。 When it is determined that the current hash value included in the last processed data frame and the previous hash value included in the first data frame do not match (“NO” in step S212), the received target data included in the first data frame is selected. There is data that will be processed first. That is, there is data that should have been transmitted (or should be received first) before the reception target data included in the first data frame. Therefore, the error detection unit 214 returns the series of reception processing to step S201 in order to receive the data frame including the data scheduled to be processed first.

一方、最後に処理されたデータフレームが含む今回ハッシュ値と、先頭のデータフレームが含む前回ハッシュ値とが一致すると判定する場合(ステップS212で“YES”)、ハッシュ値処理部211は、ステップS213の処理に進む。ステップS213において、ハッシュ値処理部211は、ハッシュ関数と、先頭のデータフレームが含む受信対象データとを用いて ハッシュ値1(第1のハッシュ値)を計算する。例えば、処理待ちデータフレームが存在しない場合、ハッシュ値処理部211は、ハッシュ関数と、ステップS201で受信したデータフレームが含む受信対象データとを用いて ハッシュ値1を計算する。さらに、ステップS213において、ハッシュ値処理部211は、公開鍵と、ハッシュ関数と、先頭のデータフレームが含む今回ハッシュ値とを用いてハッシュ値2(第2のハッシュ値)を計算する。例えば、処理待ちデータフレームが存在しない場合、ハッシュ値処理部211は、公開鍵と、ハッシュ関数と、ステップS201で受信したデータフレームが含む今回ハッシュ値とを用いてハッシュ値2を計算する。 On the other hand, when it is determined that the current hash value included in the last processed data frame and the previous hash value included in the first data frame match (“YES” in step S212), the hash value processing unit 211 performs step S213. Proceed to the process of. In step S213, the hash value processing unit 211 calculates the hash value 1 (first hash value) using the hash function and the reception target data included in the first data frame. For example, when there is no data frame waiting to be processed, the hash value processing unit 211 calculates the hash value 1 by using the hash function and the reception target data included in the data frame received in step S201. Further, in step S213, the hash value processing unit 211 calculates the hash value 2 (second hash value) using the public key, the hash function, and the current hash value included in the first data frame. For example, when there is no data frame waiting to be processed, the hash value processing unit 211 calculates the hash value 2 using the public key, the hash function, and the current hash value included in the data frame received in step S201.

ステップS214において、誤り検出部214は、ハッシュ値処理部211が計算したハッシュ値1とハッシュ値2とが一致するか否かを判定する。例えば、処理待ちデータフレームが存在する場合、ステップS214において、誤り検出部214は、ハッシュ値処理部211が計算したハッシュ値1と、公開鍵と、ハッシュ関数と、先頭のデータフレームが含む今回ハッシュ値とを用いて計算されたハッシュ値2とが一致するか否かを判定する。また、例えば、処理待ちデータフレームが存在しない場合、誤り検出部214は、ハッシュ値処理部211が計算したハッシュ値1とハッシュ値2とが一致するか否かを判定する。 In step S214, the error detection unit 214 determines whether or not the hash value 1 calculated by the hash value processing unit 211 and the hash value 2 match. For example, when there is a data frame waiting to be processed, in step S214, the error detection unit 214 includes the hash value 1 calculated by the hash value processing unit 211, the public key, the hash function, and the current hash including the first data frame. It is determined whether or not the hash value 2 calculated by using the value and the hash value 2 match. Further, for example, when the processing waiting data frame does not exist, the error detection unit 214 determines whether or not the hash value 1 calculated by the hash value processing unit 211 and the hash value 2 match.

ハッシュ値処理部211が計算したハッシュ値1とハッシュ値2とが一致しないと判定する場合(ステップS214で“NO”)、先頭のデータフレームが含む受信対象データに誤りがある。そこで、ステップS215において、誤り検出部214は、先頭のデータフレームに対応する今回ハッシュ値をハッシュ値保存リストから削除する。また、データフレーム処理部215は、先頭のデータフレームを破棄する。そして、データフレーム処理部215は、誤りのないデータフレームを受信するために、一連の受信処理をステップS201に戻す。なお、データフレーム生成部213は、先頭のデータフレームに誤りがあったことを示すエラーフレームを生成してもよい。そして、通信モジュール23は、先頭のデータフレームを送信した通信装置2へエラーフレームを送信してもよい。 When it is determined that the hash value 1 calculated by the hash value processing unit 211 and the hash value 2 do not match (“NO” in step S214), there is an error in the reception target data included in the first data frame. Therefore, in step S215, the error detection unit 214 deletes the hash value corresponding to the first data frame from the hash value storage list this time. Further, the data frame processing unit 215 discards the first data frame. Then, the data frame processing unit 215 returns the series of reception processing to step S201 in order to receive the data frame without error. The data frame generation unit 213 may generate an error frame indicating that there was an error in the first data frame. Then, the communication module 23 may transmit an error frame to the communication device 2 that has transmitted the first data frame.

一方、ハッシュ値処理部211が計算したハッシュ値1とハッシュ値2とが一致すると判定する場合(ステップS214で“YES”)、誤り検出部214は、ステップS216の処理に進む。ステップS216において、誤り検出部214は、先頭のデータフレーム中の前回ハッシュ値に先行する今回ハッシュ値をハッシュ値保存リストから削除する。図5は、第1の実施形態に従ったハッシュ値保存リストの一例を示す図である。例えば、図3に示した今回のデータフレームに対してステップS216の処理が実行される場合、図5に示すように、今回のデータフレーム中の前回ハッシュ値Cに先行する今回ハッシュ値Bがハッシュ値保存リストから削除される。今回のデータフレームに対してステップS212以降の処理が実行される場合、前々回のデータフレーム及び前回のデータフレームに対する一連の受信処理は完了している。それ故、今回のデータフレームに先立つデータフレームの送信順序を確認する必要がないため、今回のデータフレーム中の前回ハッシュ値Cに先行する今回ハッシュ値Bはハッシュ値保存リストから削除される。 On the other hand, when it is determined that the hash value 1 calculated by the hash value processing unit 211 and the hash value 2 match (“YES” in step S214), the error detection unit 214 proceeds to the process of step S216. In step S216, the error detection unit 214 deletes the current hash value preceding the previous hash value in the first data frame from the hash value storage list. FIG. 5 is a diagram showing an example of a hash value storage list according to the first embodiment. For example, when the process of step S216 is executed for the current data frame shown in FIG. 3, as shown in FIG. 5, the current hash value B preceding the previous hash value C in the current data frame is hashed. Removed from the value storage list. When the processing after step S212 is executed for the current data frame, a series of reception processing for the previous data frame and the previous data frame is completed. Therefore, since it is not necessary to confirm the transmission order of the data frames prior to the current data frame, the current hash value B preceding the previous hash value C in the current data frame is deleted from the hash value storage list.

ステップS217において、データフレーム処理部215は、先頭のデータフレームが含む受信対象データに基づく処理を実行する。
このように、通信装置2は、受信したデータフレーム中の前回ハッシュ値と、該データフレームに先立ち処理したデータフレーム中の今回ハッシュ値とを比較することで、受信対象データの処理順序を確認する。また、通信装置2は、受信したデータフレーム中の今回ハッシュ値を検証することで、受信対象データの正しさを確認する。したがって、実施形態に従った通信装置によれば、カウンタ値を用いたり、誤り検出符号のデータ数を増やしたりすることなく、高いASILでの通信の安全性を確保できる。また、実施形態に従った通信装置によれば、物理的なカウンタを通信装置に備えることに起因して通信ノードのサイズが大きくなることもない。
In step S217, the data frame processing unit 215 executes processing based on the reception target data included in the first data frame.
In this way, the communication device 2 confirms the processing order of the data to be received by comparing the previous hash value in the received data frame with the current hash value in the data frame processed prior to the data frame. .. Further, the communication device 2 confirms the correctness of the reception target data by verifying the hash value this time in the received data frame. Therefore, according to the communication device according to the embodiment, it is possible to ensure the safety of communication with high ASIL without using the counter value or increasing the number of data of the error detection code. Further, according to the communication device according to the embodiment, the size of the communication node does not increase due to the provision of the physical counter in the communication device.

本発明は、以上の実施の形態に限定されるものでなく、本発明の要旨を逸脱しない範囲内で種々の改良、変更が可能である。例えば、上述した第1の実施形態を以下に示す第2~第6の実施形態のように改良、変更してもよい。また、第1~第6の実施形態の内の2つ以上の実施形態を組み合わせてもよい。
<第2の実施形態>
通信システム1を構成する通信装置2の内、少なくとも1つの通信装置2は、他の通信装置2間で送受信されるデータフレームの通信履歴を記録する通信履歴記録装置であってもよい。この場合、データフレームを送信する通信装置2は、該データフレームの本来の宛先である受信側の通信装置2に加えて通信履歴記録装置へデータフレームを送信してよい。また、通信履歴記録装置は、図6(A)及び図6(B)に示したような一連の受信処理を行ってもよい。図6(A)及び図6(B)は、第2の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。
The present invention is not limited to the above embodiments, and various improvements and changes can be made without departing from the gist of the present invention. For example, the above-mentioned first embodiment may be improved or modified as in the second to sixth embodiments shown below. Further, two or more embodiments among the first to sixth embodiments may be combined.
<Second embodiment>
Of the communication devices 2 constituting the communication system 1, at least one communication device 2 may be a communication history recording device that records the communication history of data frames transmitted / received between the other communication devices 2. In this case, the communication device 2 for transmitting the data frame may transmit the data frame to the communication history recording device in addition to the communication device 2 on the receiving side, which is the original destination of the data frame. Further, the communication history recording device may perform a series of reception processes as shown in FIGS. 6 (A) and 6 (B). 6 (A) and 6 (B) are diagrams showing an exemplary flow of reception processing executed by the communication device according to the second embodiment.

図4(A)及び図4(B)と図6(A)及び図6(B)との比較から理解し得るように、通信履歴記録装置である通信装置2は、ハッシュ値処理部211が計算したハッシュ値1とハッシュ値2とが一致すると判定する場合(ステップS214で“YES”)、ステップS216及びステップS217の処理を実行しない。すなわち、通信履歴記録装置である通信装置2は、他の通信装置2間の通信履歴を後日検証するために、ステップS208又はステップS211で保存した今回ハッシュ値をハッシュ値保存リストから削除しない。また、通信履歴記録装置である通信装置2は、受信したデータフレームの本来の宛先である受信側の通信装置2ではないため、受信したデータフレームが含む受信対象データに基づく処理を行わない。代わりに、図6(A)及び図6(B)に示すように、通信履歴記録装置である通信装置2は、他の通信装置2間で送受信される新たなデータフレームを受信するために、一連の受信処理をステップS201に戻す。 As can be understood from the comparison between FIGS. 4A and 4B and FIGS. 6A and 6B, the communication device 2 which is a communication history recording device has a hash value processing unit 211. When it is determined that the calculated hash value 1 and the hash value 2 match (“YES” in step S214), the processes of step S216 and step S217 are not executed. That is, the communication device 2 which is a communication history recording device does not delete the current hash value saved in step S208 or step S211 from the hash value storage list in order to verify the communication history between the other communication devices 2 at a later date. Further, since the communication device 2 which is a communication history recording device is not the communication device 2 on the receiving side which is the original destination of the received data frame, the processing based on the reception target data included in the received data frame is not performed. Instead, as shown in FIGS. 6 (A) and 6 (B), the communication device 2 which is a communication history recording device receives new data frames transmitted / received between the other communication devices 2 in order to receive new data frames. The series of reception processing is returned to step S201.

このように、他の通信装置2間の通信履歴を記録する通信装置2を通信システム1に備えれば、例えば、車両故障の診断時等の際に、他の通信装置2間の通信履歴を検証することができる。
<第3の実施形態>
図7に示すように、データフレームの送信対象データ(或いは受信対象データ)は、現在の時刻を示す時刻データを含んでもよい。図7は、第3の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。
In this way, if the communication system 1 is provided with the communication device 2 for recording the communication history between the other communication devices 2, the communication history between the other communication devices 2 can be recorded, for example, at the time of diagnosing a vehicle failure. Can be verified.
<Third embodiment>
As shown in FIG. 7, the transmission target data (or reception target data) of the data frame may include time data indicating the current time. FIG. 7 is a diagram showing a configuration example of a data frame generated by a communication device according to a third embodiment.

図3と図7との比較から理解し得るように、第3の実施形態に従った通信装置2が生成するデータフレームは、“第1のデータ”のフィールド等に、現在の時刻を示す時刻データを含む。そこで、データフレームを送信する通信装置2は、ステップS101で時刻データを含む送信対象データが発生すると、ステップS102において、時刻データを含む送信データと、暗号化鍵と、ハッシュ関数とを用いて送信対象データに対する今回ハッシュ値を計算する。また、データフレームを受信した通信装置2は、ステップS213においてハッシュ関数と、時刻データを含む受信対象データとを用いてハッシュ値1を計算する。また、データフレームを受信した通信装置2は、公開鍵と、ハッシュ関数と、先頭のデータフレームが含む今回ハッシュ値とを用いて、ハッシュ値2を計算する。 As can be understood from the comparison between FIGS. 3 and 7, the data frame generated by the communication device 2 according to the third embodiment is a time indicating the current time in the “first data” field or the like. Contains data. Therefore, when the transmission target data including the time data is generated in step S101, the communication device 2 that transmits the data frame transmits the transmission data including the time data, the encryption key, and the hash function in step S102. Calculate the hash value for the target data this time. Further, the communication device 2 that has received the data frame calculates the hash value 1 by using the hash function and the reception target data including the time data in step S213. Further, the communication device 2 that has received the data frame calculates the hash value 2 by using the public key, the hash function, and the current hash value included in the first data frame.

このように、送信対象データ(或いは受信対象データ)に現在時刻を示す時刻データを含めれば、データフレームの送信側及び受信側の通信装置2が計算する今回ハッシュ値は、前回ハッシュ値と一致しにくくなる。したがって、第3の実施形態に従った通信装置2によれば、ステップS210等においてデータフレームの送信順序をより特定しやすくすることができる。
<第4の実施形態>
図8に示すように、第4の実施形態に従った通信装置2が生成するデータフレームは、誤り検出符号を含まなくてもよい。図8は、第4の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。図9は、第4の実施形態に従った通信装置が実行する送信処理の例示的フローを示す図である。図10(A)及び図10(B)は、第4の実施形態に従った通信装置が実行する受信処理の例示的フローを示す図である。
In this way, if the time data indicating the current time is included in the transmission target data (or reception target data), the current hash value calculated by the communication device 2 on the transmission side and the reception side of the data frame matches the previous hash value. It becomes difficult. Therefore, according to the communication device 2 according to the third embodiment, it is possible to make it easier to specify the transmission order of the data frames in step S210 or the like.
<Fourth Embodiment>
As shown in FIG. 8, the data frame generated by the communication device 2 according to the fourth embodiment does not have to include an error detection code. FIG. 8 is a diagram showing a configuration example of a data frame generated by a communication device according to a fourth embodiment. FIG. 9 is a diagram showing an exemplary flow of transmission processing executed by the communication device according to the fourth embodiment. 10 (A) and 10 (B) are diagrams showing an exemplary flow of reception processing executed by the communication device according to the fourth embodiment.

図3と図8との比較から理解し得るように、第4の実施形態に従った通信装置2が生成するデータフレームは、誤り検出符号を含まない。そこで、図9に示すように、データフレームを送信する通信装置2は、誤り検出符号を計算するステップS105の処理を実行しない。また、データフレームを送信する通信装置2は、ステップS106Aにおいて、誤り検出符号を含まないデータフレームを生成する。 As can be understood from the comparison between FIGS. 3 and 8, the data frame generated by the communication device 2 according to the fourth embodiment does not include an error detection code. Therefore, as shown in FIG. 9, the communication device 2 that transmits the data frame does not execute the process of step S105 for calculating the error detection code. Further, the communication device 2 that transmits the data frame generates a data frame that does not include the error detection code in step S106A.

また、図10(A)及び図10(B)に示すように、データフレームを受信した通信装置2は、ステップS202Aにおいて、受信したデータフレームから受信対象データ及び今回ハッシュ値を抽出する。また、ステップS203Aにおいて、通信装置2は、ハッシュ関数と、受信したデータフレームが含む受信対象データとを用いて、ハッシュ値1を計算する。さらにステップS203Aにおいて、通信装置2は、公開鍵と、ハッシュ関数と、受信したデータフレームが含む今回ハッシュ値とを用いて、ハッシュ値2を計算する。そして、ステップS204Aにおいて、通信装置2は、ハッシュ値1とハッシュ値2とが一致するか否かを判定する。ハッシュ値1とハッシュ値2とが一致しないと判定する場合(ステップS204Aで“NO”)、ステップS205において、通信装置2は、受信されたデータフレームを破棄する。一方、ハッシュ値1とハッシュ値2とが一致すると判定する場合(ステップS204Aで“YES”)、通信装置2は、ステップS206へ進む。以降の処理は、第1の実施形態に従った通信装置2が行う受信処理と同様である。 Further, as shown in FIGS. 10A and 10B, the communication device 2 that has received the data frame extracts the reception target data and the hash value this time from the received data frame in step S202A. Further, in step S203A, the communication device 2 calculates the hash value 1 by using the hash function and the reception target data included in the received data frame. Further, in step S203A, the communication device 2 calculates the hash value 2 by using the public key, the hash function, and the current hash value included in the received data frame. Then, in step S204A, the communication device 2 determines whether or not the hash value 1 and the hash value 2 match. When it is determined that the hash value 1 and the hash value 2 do not match (“NO” in step S204A), in step S205, the communication device 2 discards the received data frame. On the other hand, when it is determined that the hash value 1 and the hash value 2 match (“YES” in step S204A), the communication device 2 proceeds to step S206. Subsequent processing is the same as reception processing performed by the communication device 2 according to the first embodiment.

このように、第4の実施形態に従った通信装置2が生成するデータフレームは、誤り検出符号を含まず、該データフレームを受信した通信装置2は、誤り検出符号の代わりにハッシュ値を用いてデータフレームの整合性を検証する。したがって、第4の実施形態に従った通信装置によれば、誤り検出符号を計算する処理時間を短縮することができる。また、図3と図8との比較から理解し得るように、第4の実施形態に従ったデータフレームでは、誤り検出符号に代わって、送信対象データ(或いは受信対象データ)を追加することができる。
<第5の実施形態>
図11に示すように、データフレームに含まれる今回ハッシュ値及び前回ハッシュ値の各大きさは、データフレームを構成する最小データ単位の半分であってもよい。図11は、第5の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。
As described above, the data frame generated by the communication device 2 according to the fourth embodiment does not include the error detection code, and the communication device 2 that has received the data frame uses a hash value instead of the error detection code. To verify the integrity of the data frame. Therefore, according to the communication device according to the fourth embodiment, the processing time for calculating the error detection code can be shortened. Further, as can be understood from the comparison between FIGS. 3 and 8, in the data frame according to the fourth embodiment, transmission target data (or reception target data) may be added instead of the error detection code. can.
<Fifth Embodiment>
As shown in FIG. 11, the size of each of the current hash value and the previous hash value included in the data frame may be half of the minimum data unit constituting the data frame. FIG. 11 is a diagram showing a configuration example of a data frame generated by the communication device according to the fifth embodiment.

図3と図11との比較から理解し得るように、第5の実施形態に従った通信装置2が生成するデータフレームでは、該データフレームを構成する最小データ単位の半分を前回ハッシュ値及び今回ハッシュ値に夫々割り当てる。具体的には、例えば、CANに準拠したデータフレームでは、8バイトのデータフレームを構成する最小データ単位1バイトの半分の4ビットが今回ハッシュ値及び前回ハッシュ値に夫々割り当てられる。この結果、データフレームで送受信可能なデータ数は、図3に示すような”データ1”~“データ5”に加えて図11に示すような“データ6”を増やすことができる。 As can be understood from the comparison between FIGS. 3 and 11, in the data frame generated by the communication device 2 according to the fifth embodiment, half of the minimum data units constituting the data frame are the previous hash value and the current time. Assign to each hash value. Specifically, for example, in a CAN-compliant data frame, 4 bits, which is half of the minimum data unit 1 byte constituting an 8-byte data frame, are allocated to the hash value this time and the hash value last time, respectively. As a result, the number of data that can be transmitted and received in the data frame can increase "data 6" as shown in FIG. 11 in addition to "data 1" to "data 5" as shown in FIG.

なお、例えば、CAN FDに準拠したデータフレームでは、64バイトのデータフレームを構成する最小データ単位1バイトの半分の4ビットが今回ハッシュ値及び前回ハッシュ値に夫々割り当てられてもよい。また、例えば、車載イーサネットに準拠したデータフレームでは、46バイトのデータフレームを構成する最小データ単位1バイトの半分の4ビットが今回ハッシュ値及び前回ハッシュ値に夫々割り当てられてもよい。 For example, in a data frame compliant with CAN FD, 4 bits, which is half of the minimum data unit 1 byte constituting a 64-byte data frame, may be allocated to the hash value this time and the hash value last time, respectively. Further, for example, in a data frame compliant with in-vehicle Ethernet, 4 bits, which is half of the minimum data unit 1 byte constituting the 46-byte data frame, may be allocated to the hash value this time and the hash value last time, respectively.

このように、第5の実施形態によれば、データフレームで送受信可能なデータ数を増やすことができる。
<第6の実施形態>
図12に示すように、今回ハッシュ値及び前回ハッシュ値の各大きさは、データフレームを構成する最小データ単位の2倍以上であってもよい。図12は、第6の実施形態に従った通信装置が生成するデータフレームの構成例を示す図である。
As described above, according to the fifth embodiment, the number of data that can be transmitted / received in the data frame can be increased.
<Sixth Embodiment>
As shown in FIG. 12, the magnitudes of the current hash value and the previous hash value may be twice or more the minimum data unit constituting the data frame. FIG. 12 is a diagram showing a configuration example of a data frame generated by the communication device according to the sixth embodiment.

図3と図12との比較から理解し得るように、第6の実施形態に従った通信装置2が生成するデータフレームでは、該データフレームを構成する最小データ単位の2倍以上を前回ハッシュ値及び今回ハッシュ値に夫々割り当てる。具体的には、例えば、CANに準拠したデータフレームでは、8バイトのデータフレームを構成する最小データ単位1バイトの3倍(3バイト)が今回ハッシュ値及び前回ハッシュ値に夫々割り当てられる。この場合、データフレームで送受信可能なデータ数は1つ(全部で1バイト)である。 As can be understood from the comparison between FIGS. 3 and 12, in the data frame generated by the communication device 2 according to the sixth embodiment, the hash value of the previous time is more than twice the minimum data unit constituting the data frame. And this time, it is assigned to each hash value. Specifically, for example, in a CAN-compliant data frame, three times (3 bytes) of the minimum data unit 1 byte constituting an 8-byte data frame is allocated to the hash value this time and the hash value of the previous time, respectively. In this case, the number of data that can be transmitted / received in the data frame is one (1 byte in total).

なお、例えば、CAN FDに準拠したデータフレームでは、64バイトのデータフレームを構成する最小データ単位1バイトの8倍(8バイト)が今回ハッシュ値及び前回ハッシュ値に夫々割り当てられてもよい。この場合、データフレームで送受信可能なデータ数は55個(全部で55バイト)である。また、例えば、車載イーサネットに準拠したデータフレームでは、46バイトのデータフレームを構成する最小データ単位1バイトの8倍(8バイト)が今回ハッシュ値及び前回ハッシュ値に夫々割り当てられてもよい。この場合、データフレームで送受信可能なデータ数は29個(全部で29バイト)である。 For example, in a data frame compliant with CAN FD, eight times (8 bytes) of the minimum data unit 1 byte constituting a 64-byte data frame may be allocated to the hash value this time and the hash value of the previous time, respectively. In this case, the number of data that can be transmitted / received in the data frame is 55 (55 bytes in total). Further, for example, in a data frame compliant with in-vehicle Ethernet, eight times (8 bytes) of the minimum data unit 1 byte constituting the 46-byte data frame may be allocated to the hash value this time and the hash value last time, respectively. In this case, the number of data that can be transmitted / received in the data frame is 29 (29 bytes in total).

このように、第6の実施形態によれば、データフレームを構成するハッシュ値のデータ数を増やすことで、通信の安全性を高めることができる。 As described above, according to the sixth embodiment, the security of communication can be enhanced by increasing the number of data of the hash value constituting the data frame.

1 通信システム
2 通信装置
3 通信線
21 制御部
22 記憶部
23 通信モジュール
24 バス
211 ハッシュ値処理部
212 誤り検出符号計算部
213 データフレーム生成部
214 誤り検出部
215 データフレーム処理部
1 Communication system 2 Communication device 3 Communication line 21 Control unit 22 Storage unit 23 Communication module 24 Bus 211 Hash value processing unit 212 Error detection code calculation unit 213 Data frame generation unit 214 Error detection unit 215 Data frame processing unit

Claims (11)

送信装置であって、
送信対象データと、暗号化鍵と、ハッシュ関数とを用いて前記送信対象データに対する今回ハッシュ値を計算するハッシュ値処理部と、
前記送信対象データと、前記今回ハッシュ値と、前記送信対象データに先立ち前回送信されたデータに対して計算された前回ハッシュ値とを含むデータフレームを生成するデータフレーム生成部と、
前記データフレームを送信する通信モジュールと、
前記送信対象データと、前記今回ハッシュ値と、前記前回ハッシュ値とに基づいて誤り検出符号を計算する誤り検出符号計算部と、
備え、
前記データフレーム生成部は、前記送信対象データと、前記今回ハッシュ値と、前記前回ハッシュ値と、前記誤り検出符号とを含むデータフレームを生成する
ことを特徴とする送信装置。
It ’s a transmitter,
A hash value processing unit that calculates a hash value for the transmission target data this time using a transmission target data, an encryption key, and a hash function, and a hash value processing unit.
A data frame generation unit that generates a data frame including the transmission target data, the current hash value, and the previous hash value calculated for the data previously transmitted prior to the transmission target data.
A communication module that transmits the data frame and
An error detection code calculation unit that calculates an error detection code based on the transmission target data, the current hash value, and the previous hash value .
Equipped with
The data frame generation unit is a transmission device that generates a data frame including the transmission target data, the current hash value, the previous hash value, and the error detection code.
請求項1に記載の送信装置であって、
前記送信対象データは、現在の時刻を示す時刻データを含む
ことを特徴とする送信装置。
The transmitting device according to claim 1 .
The transmission target data includes time data indicating the current time.
請求項1または請求項2に記載の送信装置であって、
前記今回ハッシュ値及び前記前回ハッシュ値の各大きさは、前記データフレームを構成する最小データ単位の半分である
ことを特徴とする送信装置。
The transmitting device according to claim 1 or 2 .
A transmission device characterized in that the magnitudes of the current hash value and the previous hash value are half of the minimum data unit constituting the data frame.
請求項1または請求項2に記載の送信装置であって、
前記今回ハッシュ値及び前記前回ハッシュ値の各大きさは、前記データフレームを構成する最小データ単位の2倍以上である
ことを特徴とする送信装置。
The transmitting device according to claim 1 or 2 .
A transmission device characterized in that the magnitudes of the current hash value and the previous hash value are at least twice the minimum data unit constituting the data frame.
受信装置であって、
送信対象データと、今回ハッシュ値と、前記送信対象データに先立ち前回送信されたデータに対して計算された前回ハッシュ値とを含むデータフレームを受信する通信モジュールと、
前記今回ハッシュ値と前記前回ハッシュ値とが一致する場合に、前記データフレームが含む受信対象データに基づく処理を実行するデータフレーム処理部と
を備え、
受信した前記データフレームが含む前記受信対象データと、前記今回ハッシュ値と、前記前回ハッシュ値とに基づいて誤り検出符号を計算する誤り検出符号計算部を更に備え、
前記誤り検出符号計算部が計算した前記誤り検出符号と、受信した前記データフレームから抽出した誤り検出符号とが一致しない場合、前記データフレーム処理部は、受信した前記データフレームを破棄する
ことを特徴とする受信装置。
It is a receiving device
A communication module that receives a data frame including transmission target data, this time hash value, and the previous hash value calculated for the previously transmitted data prior to the transmission target data.
It is provided with a data frame processing unit that executes processing based on the reception target data included in the data frame when the current hash value and the previous hash value match.
Further provided with an error detection code calculation unit that calculates an error detection code based on the reception target data included in the received data frame, the current hash value, and the previous hash value.
When the error detection code calculated by the error detection code calculation unit and the error detection code extracted from the received data frame do not match, the data frame processing unit discards the received data frame. The receiving device.
請求項に記載の受信装置であって、
受信した前記データフレーム以外の処理待ちデータフレームが存在する場合に、受信した前記データフレームが含む前記前回ハッシュ値と前記処理待ちデータフレームが含む前記今回ハッシュ値とに従って、受信した前記データフレーム及び前記処理待ちデータフレームをデータフレームの送信順にソートする誤り検出部を更に備え、
前記ハッシュ値処理部は、最後に処理されたデータフレームが含む前記今回ハッシュ値と、前記データフレームの送信順でソートされた先頭のデータフレームが含む前記前回ハッシュ値とが一致する場合に、前記ハッシュ関数と、前記先頭のデータフレームが含むデータとを用いて第1のハッシュ値を計算し、前記送信装置が事前に指定する前記公開鍵と、前記ハッシュ関数と、前記データフレームが含む前記今回ハッシュ値とを用いて第2のハッシュ値を計算し、
前記データフレーム処理部は、前記第1のハッシュ値と前記第2のハッシュ値とが一致する場合に、前記先頭のデータフレームが含む前記データに基づく処理を実行する
ことを特徴とする受信装置。
The receiving device according to claim 5 .
When there is a data frame waiting to be processed other than the received data frame, the received data frame and the said data frame according to the previous hash value included in the received data frame and the current hash value included in the waiting data frame. It also has an error detection unit that sorts the data frames waiting to be processed in the order in which the data frames are transmitted.
When the hash value included in the last processed data frame and the previous hash value included in the first data frame sorted in the transmission order of the data frame match, the hash value processing unit said. The first hash value is calculated using the hash function and the data included in the first data frame, and the public key specified in advance by the transmitting device, the hash function, and the present time included in the data frame. Calculate the second hash value using the hash value and
The receiving device is characterized in that the data frame processing unit executes processing based on the data included in the first data frame when the first hash value and the second hash value match.
請求項又はに記載の受信装置であって、
前記受信対象データは、現在の時刻を示す時刻データを含む
ことを特徴とする受信装置。
The receiving device according to claim 5 or 6 .
The receiving device, characterized in that the receiving target data includes time data indicating the current time.
請求項の何れか一項に記載の受信装置であって、
前記今回ハッシュ値及び前記前回ハッシュ値の各大きさは、前記データフレームを構成する最小データ単位の半分である
ことを特徴とする受信装置。
The receiving device according to any one of claims 5 to 7 .
A receiving device characterized in that the magnitudes of the current hash value and the previous hash value are half of the minimum data unit constituting the data frame.
請求項の何れか一項に記載の受信装置であって、
前記今回ハッシュ値及び前記前回ハッシュ値の各大きさは、前記データフレームを構成する最小データ単位の2倍以上である
ことを特徴とする受信装置。
The receiving device according to any one of claims 5 to 7 .
A receiving device characterized in that the magnitudes of the current hash value and the previous hash value are at least twice the minimum data unit constituting the data frame.
請求項の何れか一項に記載の受信装置であって、
前記受信装置が、受信した前記データフレームを送信した送信装置と、受信した前記データフレームの宛先である他の受信装置との間の通信履歴を記録する通信履歴記録装置である場合、前記データフレーム処理部は、受信した前記データフレームが含む前記今回ハッシュ値をハッシュ値保存リストに保存し、前記受信対象データに基づく処理を実行せずに新たなデータフレームの受信を待機する
ことを特徴とする受信装置。
The receiving device according to any one of claims 5 to 9 .
When the receiving device is a communication history recording device that records the communication history between the transmitting device that transmitted the received data frame and another receiving device that is the destination of the received data frame, the data frame. The processing unit stores the hash value included in the received data frame in the hash value storage list, and waits for the reception of a new data frame without executing the processing based on the reception target data. Receiver.
送信装置及び受信装置が実行する通信方法であって、
前記送信装置は、
送信対象データと、暗号化鍵と、ハッシュ関数とを用いて前記送信対象データに対する今回ハッシュ値を計算し、
前記送信対象データと、前記今回ハッシュ値と、前記送信対象データに先立ち前回送信されたデータに対して計算された前回ハッシュ値とを含むデータフレームを生成し、
生成した前記データフレームを送信し、
前記受信装置は、
前記データフレームを受信し、
受信した前記データフレームに先立ち前回処理したデータフレームが含む前記今回ハッシュ値であって、前回処理した前記データフレームが含むデータに対して計算された前記今回ハッシュ値と、受信した前記データフレームが含む前回ハッシュ値であって、受信した前記データフレームが含む受信対象データに先立ち前回送信されたデータに対して計算された前記前回ハッシュ値とが一致する場合に、ハッシュ関数と、前記受信対象データとを用いて第1のハッシュ値を計算し、前記送信装置が事前に指定する公開鍵と、前記ハッシュ関数と、前記データフレームが含む前記今回ハッシュ値とを用いて第2のハッシュ値を計算し、
計算した前記第1のハッシュ値と前記第2のハッシュ値とが一致する場合に、前記受信対象データに基づく処理を実行する
ことを含むことを特徴とする通信方法。
A communication method executed by a transmitting device and a receiving device.
The transmitter is
The hash value for the transmission target data is calculated this time using the transmission target data, the encryption key, and the hash function.
A data frame including the transmission target data, the current hash value, and the previous hash value calculated for the data previously transmitted prior to the transmission target data is generated.
Send the generated data frame and
The receiving device is
Receive the data frame and
The current hash value included in the previously processed data frame prior to the received data frame, and includes the current hash value calculated for the data included in the previously processed data frame and the received data frame. When the hash value is the previous hash value and the previous hash value calculated for the data previously transmitted prior to the reception target data included in the received data frame matches, the hash function and the reception target data are used. The first hash value is calculated using, and the second hash value is calculated using the public key specified in advance by the transmitting device, the hash function, and the current hash value included in the data frame. ,
A communication method comprising executing a process based on the reception target data when the calculated first hash value and the second hash value match.
JP2017149678A 2017-08-02 2017-08-02 Transmitter, receiver, and communication method Active JP6992309B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017149678A JP6992309B2 (en) 2017-08-02 2017-08-02 Transmitter, receiver, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017149678A JP6992309B2 (en) 2017-08-02 2017-08-02 Transmitter, receiver, and communication method

Publications (2)

Publication Number Publication Date
JP2019029921A JP2019029921A (en) 2019-02-21
JP6992309B2 true JP6992309B2 (en) 2022-01-13

Family

ID=65479001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017149678A Active JP6992309B2 (en) 2017-08-02 2017-08-02 Transmitter, receiver, and communication method

Country Status (1)

Country Link
JP (1) JP6992309B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11777712B2 (en) * 2019-03-22 2023-10-03 International Business Machines Corporation Information management in a database
US11349636B2 (en) * 2019-03-25 2022-05-31 Micron Technology, Inc. Local ledger block chain for secure updates

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251296A (en) 2000-03-06 2001-09-14 Kddi Corp Message-authenticating device
JP2009070026A (en) 2007-09-12 2009-04-02 Mitsubishi Electric Corp Recording device, verification device, reproduction device, recording method, verification method, and program
JP2009223399A (en) 2008-03-13 2009-10-01 Omron Corp Security equipment and security condition setting support system
JP2010102258A (en) 2008-10-27 2010-05-06 Digion Inc Recording system, recording method, and program
JP2010141915A (en) 2010-02-12 2010-06-24 Mitsubishi Electric Corp Communication device
JP2013048485A (en) 2012-11-05 2013-03-07 Kyocera Corp Transmitter
WO2013084571A1 (en) 2011-12-08 2013-06-13 インターナショナル・ビジネス・マシーンズ・コーポレーション Method for detecting data loss of data transfer between information devices
JP2013531447A (en) 2010-07-19 2013-08-01 ゼットティーイー コーポレーション CPRI link error code monitoring method, system and apparatus
US20150003443A1 (en) 2012-03-22 2015-01-01 Bayerische Motoren Werke Aktiengesellschaft Gateway, Nodes, and Method for a Vehicle
JP2015046943A (en) 2014-11-13 2015-03-12 日本電信電話株式会社 Receiver, method for operating receiver, and computer program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251296A (en) 2000-03-06 2001-09-14 Kddi Corp Message-authenticating device
JP2009070026A (en) 2007-09-12 2009-04-02 Mitsubishi Electric Corp Recording device, verification device, reproduction device, recording method, verification method, and program
JP2009223399A (en) 2008-03-13 2009-10-01 Omron Corp Security equipment and security condition setting support system
JP2010102258A (en) 2008-10-27 2010-05-06 Digion Inc Recording system, recording method, and program
JP2010141915A (en) 2010-02-12 2010-06-24 Mitsubishi Electric Corp Communication device
JP2013531447A (en) 2010-07-19 2013-08-01 ゼットティーイー コーポレーション CPRI link error code monitoring method, system and apparatus
WO2013084571A1 (en) 2011-12-08 2013-06-13 インターナショナル・ビジネス・マシーンズ・コーポレーション Method for detecting data loss of data transfer between information devices
US20150003443A1 (en) 2012-03-22 2015-01-01 Bayerische Motoren Werke Aktiengesellschaft Gateway, Nodes, and Method for a Vehicle
JP2013048485A (en) 2012-11-05 2013-03-07 Kyocera Corp Transmitter
JP2015046943A (en) 2014-11-13 2015-03-12 日本電信電話株式会社 Receiver, method for operating receiver, and computer program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嶋田 大輔,いまから学ぶブロックチェーンのしくみ,SoftwareDesign,日本,(株)技術評論社,2017年04月18日,2017年5月号,pp.80-90

Also Published As

Publication number Publication date
JP2019029921A (en) 2019-02-21

Similar Documents

Publication Publication Date Title
US11113382B2 (en) Vehicle network system whose security is improved using message authentication code
US11546298B2 (en) Information processing method, information processing system, and non-transitory computer-readable recording medium storing a program
CN108353015B (en) Relay device
CN110070445B (en) Transaction processing method and device based on blockchain system
US20160191408A1 (en) Communication control apparatus and communication control method
CN110460573A (en) One kind being applied to automobile ECU safety upgrade management system and method
CN110989922B (en) Distributed data storage method and system
CN110995513A (en) Data sending and receiving method in Internet of things system, Internet of things equipment and platform
KR102148757B1 (en) Method and apparatus for transmitting/receiving data in a communication system
JP6992309B2 (en) Transmitter, receiver, and communication method
CN111066001A (en) Log output method, log output device, and program
CN112069169A (en) Block data storage method and device, electronic equipment and readable storage medium
JP2016116132A (en) Communication control device, communication control method, and communication control program
CN112184436A (en) Data synchronization method, electronic device and readable storage medium
CN110071782B (en) Message processing method and processing device
CN110910141A (en) Transaction processing method, system, device, equipment and computer readable storage medium
CN112713996A (en) Fault verification method based on block chain, server and terminal
CN112803950A (en) Data compression method, device and equipment and computer storage medium
CN110888892A (en) Block synchronization method, device and storage medium
CN112434231B (en) Data processing method and device and electronic equipment
CN112559546B (en) Database synchronization method, database synchronization device, computer equipment and readable storage medium
JP2018019218A (en) Electronic control device
US11971978B2 (en) Vehicle network system whose security is improved using message authentication code
CN115208677B (en) Malicious website identification method and device
CN112733210B (en) Equipment identifier obtaining method and device and computer readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200923

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201119

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20201119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211122

R151 Written notification of patent or utility model registration

Ref document number: 6992309

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151