Communication system, counter synchronization procedure and counter synchronization program

The communication system addresses count value resynchronization issues by using high and low-order count values for secure message authentication, ensuring efficient and secure resynchronization in vehicle networks.

DE112016003624B4Active Publication Date: 2024-09-19DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
DE112016003624
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-08-07
Filing Date
2016-08-04
Publication Date
2024-09-19
Estimated Expiration
2036-08-04

AI Technical Summary

Technical Problem

Existing communication systems in vehicles face challenges in efficiently and securely resynchronizing count values between nodes due to message loss, leading to verification failures and increased data traffic for resynchronization, especially in protocols like CAN where data capacity is limited.

Method used

A communication system where nodes generate and verify message authentication codes using high and low-order count values, allowing for secure and efficient resynchronization by sending only high-order count values in synchronization messages, reducing data traffic and ensuring integrity.

Benefits of technology

The system ensures rapid and secure resynchronization of count values, minimizing data traffic and preventing data falsification, while maintaining communication efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A communication system (10) comprises a plurality of nodes (10) interconnected with each other. Each of the plurality of nodes generates a message authentication code using a counter value. The plurality of nodes includes a transmit node and a receive node. In the transmit node, a normal message generation section (141, S110 to S130) generates a normal message to include transmit data, the low-order counter value, and the message authentication code, and a synchronization message generation section (141, S140 to S150) generates a synchronization message.In the receiving node, a message verification section (142, S230) verifies the received normal message, a resynchronization request section (142, S280) sends a counter resynchronization request to the sending node, and a counter value update section (142, S290 to S300, S240 to S260) updates a high-order counter value stored in the receiving counter value memory section when the synchronization message is received.
Need to check novelty before this filing date? Find Prior Art

Description

Cross-reference to related application TECHNICAL FIELD

[0001] The present disclosure relates to a communication system, a count value synchronization method and a Counter synchronization program for authenticating a message in a communication system. State of the art

[0002] Conventionally, each of the ECUs counts for message authentication in an in-vehicle network a message sending number for each CANID (message identifier used in the CAN protocol). A technique is known which enables the message communication to generate a message authentication code (MAC) Resistance to a replay attack or a so-called replay attack by counting the counted Message transmission number is used (see JP 2013 - 98 719 A). OVERVIEW OF THE INVENTION

[0003] In a conventional technique, a count value of a transmitting end differs from a count value of a receiving end when a missing message occurs because a gateway filters out a message or something similar. Therefore, it is It is possible that the verification results of MACs do not match. In this case, a resynchronization which compares the count value of the sending end with the count value of the receiving end by sending a Adjusts or matches the initial value of a counter.

[0004] With a communication type such as CAN, the amount of data that can be sent in a message is relatively small. Thus, a count value cannot be sent at a time using one message. In this Configuration, resynchronization can take a long time. In the conventional technique, adding MAC to a count value to be sent for resynchronization to ensure that the count value not be modified by a third-party attack. This configuration increases the amount of data required for the Resynchronization will be sent.

[0005] Reference is also made to DE 10 2014 113 111 A1, US 2008 / 0 098 218 A1 and US 6 247 059 B1, which are state of the art were determined.

[0006] In view of the above difficulties, it is an object of the present disclosure to provide a Communication system, a counter value synchronization method and a counter value synchronization program for To provide high speed counter resynchronization with assured security.

[0007] The problem is solved by the features of the main claim and the subordinate claims. Advantageous Further training is reflected in the dependent claims.

[0008] According to one aspect of the present disclosure, the communication system includes a plurality of Nodes that are connected to each other. Each of the plurality of nodes generates a message authentication code using a count value of a counter. An integrity of a message sent between the plurality of nodes sent and received is authenticated using the message authentication code. The multitude of nodes includes a sending node and a receiving node. The sending node sends the message and the Receiving node receives the message. The counter count includes a high-order count and a Low-order count value. The high-order count value corresponds to a high order of the counter's count value. The Lower order count corresponds to a lower order of the counter's count.

[0009] The transmitting node includes a transmitting count storage section, a normal message and a synchronization message generation section. The transmission count storage section stores the Count value. The generation section for a normal message increments the count value stored in the Send count memory section is stored each time a send request to another node is received and generates a normal message to transmit data, the low-order count value and the Message authentication code. The send data refers to the send request. The count value low-order is obtained from the transmission count storage section. The message authentication code is based on the transmission data and the count value stored in the transmission count value storage section. Synchronization message generation section generates a synchronization message in response to a synchronization message from the Resynchronization request sent by the receiving node. The synchronization message contains the high Order obtained from the transmission count storage section.

[0010] The receiving node includes a receive count storage section, a message verification section, a Resynchronization request section and a count update section. Receive count storage section stores the count value. The message verification section verifies the normal Message that is received by verifying the message authentication code based on a content of the normal message and the count value stored in the reception count memory section. Resynchronization request section sends the counter's resynchronization request to the sending node, if the message verification section cannot authenticate the integrity of the normal message. Count value update section updates the high count value stored in the receive count value storage section order with the high-order count value contained in the synchronization message if the Synchronization message is received.

[0011] If the verification of the received normal message fails, the receiving node sends the Resynchronization request. After receiving the resynchronization request, the sending node sends the Synchronization message containing the high-order count value. The receiving node that receives the receives a synchronization message, updates the high-order counter value stored in its own node. In this configuration, if the high-order count value that corresponds to the high-order count value of the Synchronization message that was last received, updated, not modified by a third party, is the Verification in case of reception of the normal message is successful. If the high-order counter value associated with the High-order count of the synchronization message last received is updated by a third party is modified, the verification fails if the normal message is received.

[0012] When the counter resynchronization is performed in the configuration described above, the high-order count value, which is part of the counter value, is sent. Thus, the communication data traffic of the Resynchronization can be reduced.

[0013] The communication system described above can be based on the next time received normal message, verify whether the high-order count value contained in the synchronization message updated high-order count is modified. The message authentication code is not necessarily the synchronization message. With this configuration, the communication data traffic of the Resynchronization can be reduced and the resynchronization is carried out with guaranteed security by Data falsification, such as imitation of the meter, is prevented. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other objects, features and advantages of the present invention will become apparent from the The following detailed description in conjunction with the drawings will become more apparent.

[0015] Shown are: Fig. 1 is a block diagram showing an overall configuration of a communication system; Fig. 2 is a diagram showing a configuration of a meter; Fig. 3 is a diagram showing configurations of a normal message and a synchronization message; Fig. 4 is a diagram schematically showing processing performed by a message processing section is executed when the normal message is sent and received; Fig. 5 is a diagram schematically showing processing performed by the message processing section is executed when the synchronization message is sent and received; Fig. 6 is a flowchart showing processing executed by a transmission processing section becomes; Fig. 7 is a flowchart showing the processing performed by a reception processing section will; and Fig. 8 is a diagram showing a configuration of a synchronization message according to another embodiment shows. Embodiments of the invention

[0016] Embodiments of the present disclosure will be described below with reference to the drawings described. <1. Configuration>

[0017] As shown in Fig. 1, a communication system 1 is mounted on a vehicle and includes several Node 10 and a communication path 3. The communication path is defined by a bus and connects each of the nodes 10. In the communication system 1, an access control system known as CSMA / CA system. In the CSMA / CA system, node 10 stops on the Communication path 3 immediately stops sending a message when it loses the allocation, and node 10 retains the Sending the message if he wins the allocation. In this configuration, the communication system uses 1 the CAN protocol (ISO 11898). The decision is made using an identifier (CANID) that assigned to a header section of the frame.

[0018] The node 10 is provided by an electronic control unit (ECU: Electronic Control Unit). Hereinafter, the node 10 is referred to as the ECU 10. <2nd ECU>

[0019] The ECU 10 includes a count value storage section 11, a key storage section 12, a control section 13, a message processing section 14 and a communication controller 15.

[0020] The communication controller 15 is provided by a well-known CAN controller. Communication controller 15 sends various types of messages received from the message processing section 14, to the communication path 3. Here, the message is placed in a communication frame in In accordance with the CAN protocol, the CAN ID is stored. which designates the own ECU 10, from the communication path 3, the Communication controller 15 the message from the received communication frame and delivers the message to the Message processing section 14. In the communication frame, the CANID is generated according to a type of Message assigned.

[0021] The count value storage section 11 is formed by a readable and writable non-volatile memory or volatile memory. The count value storage section 11 includes an area that stores a count value of a communication counter and a count value of a temporary counter.

[0022] As shown in Fig. 2, the communication counter has predetermined bits (in the present embodiment, 64 bits) and the predetermined bits are used to generate a message authentication code (MAC). MAC will be described later. A count value CT of the communication counter is in 48 high-order bits and 16 bits The count value on the most significant bit (MSB) side is defined as a CH high order count value. order and the count value on the least significant bit (LSB) side is defined as a low order count value CL defined.

[0023] The count value CT of the communication counter is set according to each CANID used as a transmission destination or Receive destination of the own ECU 10 is specified. In each ECU 10, a CANID is able to either send or Received. Thus, each communication counter defined according to the CANID works either as a send communication counter or as a receive communication counter.

[0024] As shown in Fig. 2, the temporary counter has a bit width of the high-order count value CH of the The communication counter has the same bit width. In the following, the count value of the temporary counter is specified as t_CH. Similar to the communication counter, the temporary counter is also set according to each CANID. temporary counter is only used if the communication frame is defined by the CANID as a receive frame is.

[0025] The count value storage section 11 functions as a transmission count value storage section and also functions as Receive count memory section.

[0026] The key storage section 12 is formed by a readable and writable non-volatile memory provided. The key storage section 12 stores predetermined bits (in the present embodiment, 128 bits) used to generate the MAC, which is known as a common key K. The common Key K is shared by each ECU 10 and is stored in advance in the key storage section 12 of each ECU 10 saved.

[0027] The control section 13 is provided by a well-known computer. The control section 13 executes various types of processing acquisition functions previously assigned to its own ECU 10 by Communication with another ECU 10 via the message processing section 14 and the Communication controller 15 of the own ECU 10. The control section 13 sends and receives data PDU to or from the message processing section 14.

[0028] The message processing section 14 includes a transmission processing section 141 and a Reception processing section 142. The transmission processing section 141 performs processing for transmitting the Message to another ECU 10, that is, processing to achieve a function as a transmitting node. Reception processing section 142 executes processing for receiving the message from another ECU 10, that is, processing to achieve a function as a receiving node. Every detail of the processing performed by the transmission processing section 141 and the reception processing section 142 will be explained later described. <3. Message processing section>

[0029] Fig. 3 shows a message to be processed by the message processing section 14. The Message contains a normal message and a synchronization message.

[0030] As shown in Fig. 3, the normal message includes a DATA area, a CNT area and a MAC- area. The DATA area stores the data PDU. The CNT area stores the low-order count value CL. The MAC area stores a part of the MAC which is generated by information stored in the DATA area and the CNT area are stored.

[0031] As shown in Fig. 3, the synchronization message is configured only by the DATA area. The DATA Area stores the high order CH count value.

[0032] Fig. 4 shows a processing scheme executed by the message processing section 14 when the normal message is sent and received.

[0033] In a transmitting ECU 10 which transmits the normal message, the message processing section 14 generates the MAC using the data PDU supplied by the control section 13, the data stored in the key storage section 12 stored common key K and the count value CT (CH, CL) of the communication counter stored in the Count value storage section 11. The message processing section 14 generates a message in which the Data PDU is stored in the DATA area, the low-order count value CL is stored in the CNT area and a part of the generated MAC is stored in the MAC area. The message processing section 14 sends the generated message to the communication controller 15.

[0034] In a receiving ECU 10, which receives the normal message via the communication controller 15, the Message processing section 14 calculates the MAC using a value of the DATA area of ​​the message, the the common key K stored in its own key storage section 12 and a count value r_CT. Here, the count value r_CT is a value in which the high-order count value CH (or the temporary count value t_CH) stored in the count value storage section 11, with the value (r_CL) of the CNT area of ​​the received message as a low-order count value of the count value r_CT is combined. The message processing section 14 determines whether the count value r_CT is greater than the count value CT stored in the own receiving ECU 10. The verification of the MAC is determined by comparing the generated MAC with the value of the MAC range of the received message executed. If the message processing section 14 authenticates the integrity of the message, that is, the MAC Verification is successful, the message processing section 14 returns the value of the DATA area of ​​the message, which functions as the data PDU, to the control section 13. If the integrity of the message is not is authenticated, the MAC verification is considered to be faulty and the received message is discarded.

[0035] Fig. 5 shows a processing scheme executed by the message processing section 14 when the synchronization message is sent and received.

[0036] In the transmitting ECU 10 which transmits the synchronization message, the message processing section 14 generates a message in which the high-order count value CH of the communication counter stored in the count value storage section 11 is stored in the DATA area. The generated message is sent to the communication controller 15 In this case, the low-order count value CL is reset to zero.

[0037] In the receiving ECU 10, which receives the synchronization message via the communication controller 15, the message processing section 14 stores a value r_CH which is stored in the DATA area of ​​the synchronization message stored as the count value t_CH of the temporary counter. The normal message sent from the receiving ECU 10 to the reception of the synchronization message is verified by checking the count value t_CH of the temporary counter is used. If the message processing section 14 determines that the authentication of the normal message is successful, the high-order CH count of the communication counter is replaced by the count t_CH of the temporary counter is updated and the low-order count value CL is reset to zero. <3.1. Send processing section>

[0038] A flowchart in Fig. 6 shows processing executed by the transmission processing section 141 of the ECU 10 is executed. The processing is activated when the power source of the ECU 10 is turned on.

[0039] When the processing is enabled, the transmission processing section 141 determines at S110 whether the Control section 13 sends a transmission request. If the transmission processing section 141 determines that the If control section 13 does not send the transmission request, the process continues with S140. At S140, the Transmission processing section 141 determines whether a resynchronization request is received from another ECU. If the transmission processing section 141 determines that the resynchronization request from another ECU is not has been received, the processing returns to S110 and the transmission processing section 141 waits until the Send request or resynchronization request is received.

[0040] If, in the above-described step S110, the transmission processing section 141 determines that the Control section 13 sends the transmission request, processing continues with S120. At S120, the Send processing section 141 a CANID relating to a content of the send request and increments the count value CT of the communication counter corresponding to the identified CANID by one (CT ← CT + 1).

[0041] At S130 following S120, the transmission processing section 141 generates the normal message (see the Sending ECU in Fig. 4) using the data PDU supplied by the control section 13 and the data at S120 incremented count value CT. Here, the data PDU from the control section 13 together with the Send request is sent. The send processing section 141 sends a generated normal message and then returns processing returns to S110.

[0042] If, in the above-described step S140, the transmission processing section 141 determines that the If a resynchronization request is received from another ECU, processing continues with S150. At S150 the transmission processing section 141 generates the synchronization message (compare the transmission ECU in Fig. 5) under Using the high-order count value CH of the communication counter, the transmission processing section 141 sends the synchronization message and then processing returns to S110. <3.2. Receiving processing section>

[0043] A flowchart in Fig. 7 shows processing executed by the reception processing section 142 of the ECU 10 is executed. The processing is activated when the power source of the ECU 10 is turned on.

[0044] When the processing is enabled, the reception processing section 142 determines at S210 whether the normal message is received. If the reception processing section 142 determines that the normal message is not received, processing proceeds to S220. At S220, the reception processing section 142 determines whether the synchronization message is received. If the reception processing section 142 determines that the Synchronization message has not been received, the flowchart returns to S210 and the Reception processing section 142 waits until the normal message or the synchronization message is received.

[0045] S230 to S300 described represent the processing for the communication counter and the temporary Counters that are set according to the CANID for the normal message or the synchronization message received by the reception processing section 142.

[0046] If in the above-described S220, the reception processing section 142 determines that the synchronization message has been received, processing continues with S290. At S290, the Reception processing section 142 the value r_CH contained in the DATA area of ​​the synchronization message as the Count value t_CH of the temporary counter.

[0047] At S300 following S290, the reception processing section 142 sets a synchronization flag F in the input State (F = ON), which represents that the resynchronization is being executed, and then the processing returns to S210 back.

[0048] If, in the above-described S210, the reception processing section 142 determines that the normal message has been received, processing continues with S230. At S230, the Reception processing section 142 determines the MAC based on a value stored in the DATA area of ​​the normal message is stored, the high-order count value stored in the own ECU 10 (CH in case of F = OFF or t_CH in case of F = ON), the count value r_CT configured from the value r_CL stored in the CNT area, and the common key K stored in the key store section 12. The generated MAC is verified by comparing it with the value stored in the MAC area of the normal message. If the MAC verification fails, processing continues with S280. S280, the reception processing section 142 sends the resynchronization request to another ECU 10, which Sending source of the normal message, discards the received normal message, and then processing returns to S210 returns. If MAC verification is successful, processing continues with S240.

[0049] At S240, the reception processing section 142 determines whether the synchronization flag F is in the on state is set (F = ON). When the reception processing section 142 determines that the synchronization flag F is in the on- state is set (F = ON), processing proceeds to S250. If the reception processing section 142 determines that the synchronization flag F is set to the off state (F = OFF), skips processing S250 and S260 and continues with S270.

[0050] At S250, the reception processing section 142 updates the high-order count value CH stored in the Count value storage section 11 is stored to the count value t_CH of the temporary counter and sets the count value CL low order back to zero.

[0051] At S260 following S250, the reception processing section 142 sets the synchronization flag F to the off- Condition.

[0052] At S270 following S260, the reception processing section 142 regards the normal message as the verified message. The reception processing section 142 extracts the data from the DATA area and executes the extracted data to the control section 13 as a data PDU. The reception processing section 142 increments the Count value CT of count value storage section 11 is increased by one (CT ← CT + 1). Processing returns to step S210.

[0053] When the synchronization message is received, the reception processing section 142 stores the value r_CH, which is included in the synchronization message, in the temporary counter. After the Reception processing section 142 stores the value r_CH, the reception processing section 142 stores the Value t_CH stored in the temporary counter as the authentic high-order count value CH in the Count value storage section 11 if MAC verification is successful.

[0054] When a previous message received by the reception processing section 142 contains the synchronization message (that is, F = ON), the value t_CH stored in the temporary counter is used as the High-order count value r_CT is used to generate the verification MAC. If the previous message, the received by the reception processing section 142 is the normal message (that is, F = OFF), the the count value storage section 11 stored value CH as the high-order count value r_CT for generating the MAC for used for verification purposes.

[0055] The processing performed by the transmission processing section 141 and the reception processing section 142 can be achieved by combining logic circuits or the like. Part or parts of the all processing performed by the transmission processing section 141 and the reception processing section 142 can be achieved by a software program run by a computer. <4. Operations>

[0056] As described above, in the communication system 1, the ECU 10 manages the communication counter, which according to the type (CANID) of the message and divides the communication counter into the count value CH high-order count value and the low-order count value CL. The transmitting ECU 10 increments the count value CT each time the normal message is sent, and sends the normal message in which the count value CL includes low order is.

[0057] The receiving ECU 10 stores the count value CT which is determined by the count values ​​CH and CL of the communication counter When receiving the normal message, the receiving ECU 10 verifies the MAC using the The count value r_CT is represented by a high-order count value CH, which is stored in the own ECU 10 or the temporary count value t_CH stored in the own ECU 10 and the value r_CL stored in the CNT area of ​​the received normal message. The receiving ECU 10 determines whether the Count value r_CT is greater than the count value CT stored in the receiving ECU 10. If the MAC verification is successful, the receiving ECU 10 accepts the data stored in the DATA area of ​​the normal message. If If the MAC verification fails, the receiving ECU 10 sends the resynchronization request to the transmitting ECU 10.

[0058] The transmitting ECU 10, which has received the resynchronization request, transmits the syn synchronization message in which the high-order count value CH is stored in the DATA area.

[0059] The receiving ECU 10 receives the synchronization message and stores the synchronization message stored in the DATA area of ​​the synchronization message as the temporary counter. If the MAC verification of the normal Message that uses the count value t_CH of the temporary counter is successful, the count value t_CH is stored in the Count value storage section 11 as the authentic high-order count value CH. <5. Advantages>

[0060] As described above, in the communication system 1, a part of the count value CT (only the count value CH high order) in the synchronization message. The synchronization message is sent to CT counter value. In addition, the verification of the value sent in the synchronization message value r_CH (= t_CH) is performed by the MAC verification of the later received normal message.

[0061] In the CAN protocol, each communication frame has a small capacity for data transmission or for the Sending data. Since the verification data is not included in the synchronization message, Information necessary for resynchronization is sent in a single frame. The above configuration can ensure the security and reliability of the information required for the resynchronization and can also limit communication traffic during resynchronization restrict. <6. Other embodiments>

[0062] An exemplary embodiment of the present disclosure is disclosed above. The present Disclosure should not be limited to the above embodiment and may be embodied in various other embodiments are carried out.

[0063] (1) In the above-described embodiment, the total high-order count value CH in the Synchronization message is sent. If the count value between the receiving ECU 10 and the transmitting ECU 10 is not matches, it is highly likely that only low-order bits of the high-order count value CH are between the Receiving ECU 10 and transmitting ECU 10 do not match. Thus, it is possible, as shown in the middle part of Fig. 8 shown, only low-order bits (for example, two or three bits) are sent in the high-order count value CH. In In this case, the synchronization message has a space to store other information in addition to the partial count value CH of high order. As shown in the lower part of Fig. 8, the Synchronization message store a part of the MAC generated using the high-order CH count With this configuration, the receiving ECU 10 can only update the high-order count value by verify the synchronization message.

[0064] (2) In the above embodiments, a function performed by one element may be divided into several sub-elements and several functions performed by several elements can be divided into one Element can be integrated. In the above embodiments, part of a configuration may be omitted. In the above embodiments, at least a part of a system described in one embodiment Configuration added to or replaced by another configuration in another embodiment become.

[0065] (3) The present disclosure may include other embodiments besides the above-described Embodiments include. For example, the embodiments may include a node (ECU) that Communication system configured, a program used to control a computer as the message processing section of the node, a storage medium that stores the program, and include a procedure for updating the counter used in message verification.

Claims

1. Communication system, comprising: a plurality of nodes (10) connected to one another, where each of the plurality of nodes (10) generates a message authentication code using a count value of a counter generates an integrity of a message sent and received between the plurality of nodes (10), is authenticated using the message authentication code, the plurality of nodes (10) sending node and a receiving node, the sending node sends the message, the receiving node message, the counter's count value is a high-order count value and a low-order count value contains, the high-order count value corresponds to a high order of the counter's count value, the count value lower order corresponds to a low order of the counter’s count value, the sending node includes: a transmission count value storage section (11) which stores the count value; a normal message generating section (141, S110 to S130) which generates the count value stored in the Send count value storage section (11) is incremented each time a send request is made to a other node (10) and a normal message to transmit data, the low order count and to contain the message authentication code, whereby the sending data refers to the sending request the low-order count value is obtained from the transmission count value storage section (11) and the Message authentication code is generated based on the transmission data and the count value stored in the transmission count value storage section (11); and a synchronization message generating section (141, S140 to S150) generating a synchronization message in response in response to a resynchronization request sent by the receiving node, and the receiving node includes: a reception count value storage section (11) which stores the count value; a message verification section (142, S230) that verifies the normal message received by of the message authentication code based on a content of the normal message and the reception count value storage section (11) stored count value verified; a resynchronization request section (142, S280) which sends the resynchronization request of the counter to the sending node if the message verification section does not verify the integrity of the normal message can authenticate; and a count value updating section (142, S290 to S300, S240 to S260) which updates the count value in the Receive count value storage section (11) stored high order count value is updated when the Synchronization message is received, where the count value updating section (142, S290 to S300, S240 to S260) temporarily updates the high-order count value stored in the Synchronization message is included, in a temporary storage section, and if the message verification section (142, S230) successfully authenticates the integrity of the normal message, the count value updating section (142, S290 to S300, S240 to S260) updates the high-order count value stored in the Receive count value storage section (11) is updated.

2. Communication system according to claim 1, wherein the synchronization message generated by the synchronization message generating section (141, S140 to S150) is generated, contains the high-order count value stored in the transmission count value storage section (11), and the count value updating section (142, S290 to S300, S240 to S260) in the reception count value storage section (11) stored high-order count value with the high-order count value contained in the synchronization message updated.

3. Communication system according to claim 1 or 2, wherein the synchronization message generation section (141, S140 to S150) generates the synchronization message to include a part of the high-order count value.

4. Communication system according to claim 3, wherein the synchronization message includes the message authentication code, which is calculated using the count value high order, and the count value updating section (142, S290 to S300, S240 to S260) updates the high-order count value stored in the reception count value storage section (11) is stored when an integrity of the synchronization message is below Using the message authentication code included in the synchronization message was successful was authenticated.

5. Counter value synchronization method of a communication system, wherein the communication system includes a plurality of nodes (10) connected to one another, each of the A plurality of nodes (10) generate a message authentication code using a count value of a counter, an integrity of a message sent and received between the plurality of nodes (10) using of the message authentication code, the plurality of nodes (10) comprise a sending node and a Receiving node includes, the sending node sends the message, the receiving node receives the message, the The counter count value contains a high-order count value and a low-order count value, the high-order count value order corresponds to a high order of the counter's count value, the lower order count value corresponds to a low order of the counter value, The counter value synchronization procedure includes: Incrementing the count value stored in the sending node each time a send request is sent to a other node (10); Generate in the sending node of a normal message to send data, the low order count and the Message authentication code each time the send request request to another node (10), wherein the transmission data relates to the transmission request, the Low order count is obtained from the sending node and the message authentication code is based on the transmission data and the count value stored in the transmission node; and Generating in the sending node a synchronization message in response to a message sent by the receiving node Resynchronization request; Verify in the receiving node the normal message that is received by verifying the Message authentication codes based on a content of the normal message and the receiving node stored count value; Sending from the receiving node the counter resynchronization request to the sending node when the Verifying the normal message cannot authenticate the integrity of the normal message; and Updating the high-order count value stored in the receiving node when the synchronization message is received, temporarily storing the high-order count value contained in the synchronization message in a temporary storage section, and If the integrity of the normal message is successfully authenticated, updating the in the receiving node stored high-order count value.

6. A program stored in a non-transitory, tangible, computer-readable storage medium, which Program product contains instructions to be executed by a computer, the instructions the computer to function as a receiving node in a communication system, and the instructions include: Verifying a normal message that is received by verifying a message authentication code based on a content of the normal message and a count value stored in the receiving node; Sending a counter resynchronization request to a sending node when verifying the normal message cannot authenticate the integrity of the normal message; and Updating a high-order counter value stored in the receiving node when a synchronization message is received, temporarily storing the high-order count value contained in the synchronization message in a temporary storage section, and if the integrity of the normal message is authenticated, updating the message stored in the receiving node High-order count value.

Citation Information

Patent Citations

  • Method and device for secure communication in a vehicle-based data communication system

    DE102014113111A1

  • Message authentication method for communication system, and communication system

    JP2013098719A

  • Secure communication protocol and method therefor

    US20080098218A1

  • Transaction state broadcast method using a two-stage multicast in a multiple processor cluster having a sender time of life marker used by receiver to request resynchronization

    US6247059B1

  • JP002013098719A