# US 12,009,945 B2 · Communication system, relay device, reception device, and communication control method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,009,945 B2
- Document ID: US12009945B2
- Status: Granted
- Kind: B2
- Application number: 18/245,359
- Filed: 2020-09-29
- Published: 2023-11-09
- Granted: 2024-06-11
- Earliest claimed: 2020-09-29
- Assignees: Nissan Motor Co., Ltd.; RENAULT s.a.s.
- Applicants: Nissan Motor Co., Ltd.; Renault S.A.S.
- Inventors: Ken Naka; Takashi Yamaguchi; Hideaki Yamada
- Web page: https://patentgrep.com/patent/US12009945B2

## CPC

- H04L 12/46: Interconnection of networks
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04L 12/40013: {Details regarding a bus controller}
- H04L 12/40163: {by assigning priority to messages according to a message field}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2012/40273: {the transportation system being a vehicle}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A communication system includes a first communication device, a second communication device and a relay device. The first and second communication devices are connected to a communication network. The relay device is connected to the communication network and relays communication between the first and second communication devices. The relay device includes a relay unit and a priority determination unit. The relay unit carries out a receiving process for receiving data frames transmitted from the first communication device to the communication network and a transmission process for transmitting the received data frames to the second communication device. The priority determination unit determines the priority of the transmission process of the received data frames based on the data frames received by the relay unit. The relay unit carries out a transmission process of the data frames based on the priority determined by the priority determination unit.

## Claims

### Claim 1

A communication system comprising:
a first electronic controller and a second electronic controller that are connected to a communication network; and
a relay device connected to the communication network and configured to relay communication between the first electronic controller and the second electronic controller, wherein
the relay device includes a relay unit configured to carry out a receiving process for receiving data frames transmitted to the communication network from the first electronic controller, and a transmission process for transmitting received data frames to the second electronic controller, and
the first electronic controller includes a counter for counting a number of transmissions of the data frames to the communication network, and is configured to transmit the data frames in which counter values of the counter are stored to the communication network,
the second electronic controller is configured to store counter value management information for managing the counter values of the data frames transmitted by the first electronic controller, and is configured to receive the data frame in which the counter value is stored, and
the second electronic controller is further configured to verify validity of the received data frame based on whether the counter value of the received data frame is registered in the counter value management information, wherein
the counter value of a prescribed numerical width is registered in the counter value management information, and
the second electronic controller is configured to control the numerical width of the counter value registered in the counter value management information.

### Claim 2 (depends on 1)

The communication system according to claim 1, and further comprising
the relay device is further configured to determine a priority of the transmission process of the received data frames based on the data frames received by the relay unit, wherein
the relay unit is configured to carry out the transmission process of the data frames based on the determined priority.

### Claim 3 (depends on 2)

The communication system according to claim 2, wherein
upon the relay unit receiving a plurality of the data frames, the relay device is configured to determine the priority of the transmission process of the plurality of data frames based on the plurality of data frames received, and
the relay unit is configured to carry out the transmission process of the plurality of data frames based on a determined priority.

### Claim 4 (depends on 2)

The communication system according to claim 2, wherein
the relay unit performs the transmission process by prioritizing the data frames having a higher priority compared with the data frames having a lower priority.

### Claim 5 (depends on 2)

The communication system according to claim 2, wherein
the relay device is configured to determine the priority based on a message ID included in the data frames.

### Claim 6 (depends on 2)

The communication system according to claim 2, wherein
the first electronic controller is further configured to
generate a first message authentication code based on stored data stored in the data frames and a common key provided in advance, and configured to generate the data frames in which the stored data and the generated first message authentication code are stored, and
transmit the data frames in which the first message authentication code is stored to the communication network, and
the second electronic controller is further configured to
receive the data frames in which the first message authentication code is stored, and
generate a second message authentication code based on the stored data in the data frames received by the second electronic controller and the common key shared in common with the first electronic controller, and configured to verify the validity of the received data frame based on whether the second message authentication code that was generated and the first message authentication code that was received match.

### Claim 7 (depends on 2)

The communication system according to claim 2, wherein
the second electronic controller is configured to verify the validity of the received data frame based on the counter value of the received data frame and the counter value management information.

### Claim 8 (depends on 1)

The communication system according to claim 1, wherein
the second electronic controller is configured to update the counter value with a prescribed numerical width such that the counter value of newly received data frames becomes a maximum value in the counter value management information when the counter value of the newly received data frame is larger than the maximum value of the counter values registered in the counter value management information.

### Claim 9 (depends on 1)

The communication system according to claim 1, wherein
the second electronic controller is configured to control the numerical width of the counter value registered in the counter value management information with a prescribed communication interruption time as an upper limit for determining that communication in the communication network has been interrupted.

### Claim 10 (depends on 1)

The communication system according to claim 1, wherein
the second electronic controller is configured to control the numerical width of the counter value registered in the counter value management information as an upper limit with a storage capacity of a storage unit that stores the counter value management information, or a buffer capacity for buffering the data frames in the relay device.

### Claim 11 (depends on 1)

The communication system according to claim 1, wherein
the counter value management information is provided for each type of data frame.

### Claim 12 (depends on 11)

The communication system according to claim 11, wherein
the second electronic controller is configured to control the numerical width of the counter value of the counter value management information provided for each type of data frame based on a transmission frequency for each type of the data frame.

### Claim 13 (depends on 12)

The communication system according to claim 12, wherein
the second electronic controller is configured to control the numerical width of the counter value to be wider in the counter value management information of the data frames of a type with a low transmission frequency than in the counter value management information of the data frames of a type with a high transmission frequency.

### Claim 14 (depends on 1)

The communication system according to claim 1, wherein
the counter value of the received data frame or a not received data frame is registered in the counter value management information, and
the second electronic controller is configured to verify the validity of the received data frame based on whether the counter value of the received data frame has already been received.

### Claim 15 (depends on 14)

The communication system according to claim 14, wherein
when the not-received data frame is received, the second communication-device electronic controller is configured to update a receive flag to “received” for the counter value of the counter value management information.

### Claim 16 (depends on 1)

The communication system according to claim 1, wherein
the second electronic controller is configured to discard the received data frames upon determining that the received data frames are invalid.

### Claim 17 (depends on 1)

The communication system according to claim 1, wherein
the communication network is a CAN (Controller Area Network).

### Claim 18

A receiving device connected to a communication network for receiving data frames transmitted from a transmission device connected to the communication network, the receiving device comprising:
an electronic controller configured to
receive the data frames in which counter values indicating a number of transmissions of the data frames to the communication network are stored,
store counter value management information for managing the counter values of the data frames transmitted by the transmission device,
receive the data frames in which the counter values are stored, and
verify validity of received data frames based on the counter value of the received data frames and the counter value management information,
the counter value of a prescribed numerical width being registered in the counter value management information, and
the numerical width of the counter value registered in the counter value management information being controlled.

### Claim 19

A communication control method executed by a relay device that relays communication between a first electronic controller and a second electronic controller connected to a communication network, wherein
the first electronic controller
includes a counter for counting a number of transmissions of data frames to the communication network, and
is configured to transmit the data frames in which counter values of the counter are stored to the communication network,
the second electronic controller is configured to
store counter value management information for managing the counter values of the data frames transmitted by the first electronic controller,
receive the data frames in which the counter values are stored, and
verify validity of received data frames based on whether the counter value of the received data frames is registered in the counter value management information,
the counter value of a prescribed numerical width being registered in the counter value management information, and
the second electronic controller being configured to control the numerical width of the counter value registered in the counter value management information.
