ELECTRONIC CONTROL APPARATUS
20180034851 ยท 2018-02-01
Inventors
Cpc classification
H04B1/38
ELECTRICITY
H04L63/1475
ELECTRICITY
H04L63/1466
ELECTRICITY
H04L12/22
ELECTRICITY
International classification
H04B1/38
ELECTRICITY
Abstract
An electronic control apparatus includes a dummy data setting section and a transmission section. The dummy data setting section sets a dummy data in a free area of a format area that is previously defined. The electronic control apparatus configures a communication system as a transmission node and stores normal data in the format area. The free area is a rest of the format area after the transmission node stores the normal data in the format area. The communication system further includes a reception node. The transmission section transmits the normal data together with the dummy data to the reception node via a network. The reception node receives the normal data together with the dummy data via the network.
Claims
1. An electronic control apparatus comprising: a dummy data setting section setting a dummy data in a free area of a format area that is previously defined, wherein the electronic control apparatus configures a communication system as a transmission node and stores normal data in the format area, the free area is a rest of the format area after the transmission node stores the normal data in the format area, and the communication system further includes a reception node; and a transmission section transmitting the normal data together with the dummy data to the reception node via a network, wherein the reception node receives the normal data together with the dummy data via the network.
2. The electronic control apparatus according to claim 1, wherein the normal data is transmitted and received corresponding to an identification number stored in the format area, the free area is previously defined in the format area corresponding to the identification number, and definition information of the free area in the format area is shared between the transmission node and the reception node by sharing a management table.
3. The electronic control apparatus according to claim 1, wherein the dummy data setting section updates the dummy data when the transmission node updates the normal data.
4. The electronic control apparatus according to claim 1, wherein the dummy data setting section updates the dummy data each time the transmission node transmits the normal data.
5. The electronic control apparatus according to claim 1, wherein the reception node ignores the dummy data set in the free area.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description made with reference to the accompanying drawings. In the drawings:
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
DETAILED DESCRIPTION
[0021] Hereinafter, respective embodiments will be described with reference to the drawings. In the respective embodiments below, same or equivalent portions are indicated by same reference symbols in the drawings and a same description applies to a portion indicated by the same reference symbol.
First Embodiment
[0022]
[0023] As shown in
[0024] The communication controller 11 communicates with the onboard network 2 via, for example, CAN. The microcomputer 10 of each ECU 3, 4, 5 is connected with the communication controller 11, and communicates with other ECUs connected to the onboard network 2. For example, the microcomputer 10 of the ECU 3 communicates with ECUs 4, 5 connected to the onboard network 2.
[0025]
[0026] The arbitration field 16 is a field indicating a type of data and an order of priority, and usually stores 11-bit identification number (ID), which is known as CANID. The control field 17 may include a 4-bit data length code (DLC). The DLC indicates a predefined byte number of data to be stored in the data field, and a maximum of settable byte number is 8 bytes. The data field 18 stores data that is actually transmitted or received, and can store 8 bytes of data in maximum byte-by-byte. In the present disclosure, normal data indicates target data to be transmitted or received corresponding to each CANID, that is, each identification number. Usually, the target data includes meaningful information.
[0027] In CAN protocol, internal bit information of the data frame is determined for each CANID. Thus, as shown in
[0028] In the present embodiment, a dummy data is set in the free bit. That is, the dummy data is set in the free area. The following will describe a setting process of the dummy data. Hereinafter, suppose that the ECU 3 is disposed on a transmission side and is defined as a transmission node of the data frame, and the ECU 4 is disposed on a reception side and is defined as a reception node of the data frame.
[0029] As shown in
[0030] The microcomputer 10 of the ECU 3 updates the dummy data by executing a subroutine as shown in
[0031] When the microcomputer 10 of the ECU 3 determines that the normal data is not updated in S6 (S6: NO), the microcomputer 10 of the ECU 3 returns to the main process without updating the dummy data. As shown in
[0032] As shown in
[0033] For example, as shown in
[0034] The following will describe advantages provided by the present embodiment. The microcomputer 10 of the ECU 3 sets the dummy data in a previously defined free area of the format area, and transmits the normal data together with the dummy data. Thus, for example, when the unauthorized device 6 is connected to the onboard network 2 for malicious data reading, the unauthorized device 6 reads the normal data together with the dummy data. Thus, it is difficult for the unauthorized device 6 to analyze which data is the normal data, and the unauthorized device 6 may have difficulty in specifying and reading the normal data. In addition, the free area previously given in the format area is used without adding a data area. So, network communication traffic of the on board network 2 is prevented from being increased to the utmost extent.
[0035] Definition information about the free area of the free bit is shared between the ECU 3 and the ECU 4 by previously storing the management table 14 on both sides. Thus the definition information of the free area is preliminary defined for each CANID, that is, for each identification number defined in the management table 14. Thus, the microcomputer 10 of the ECU 4 on the reception side is capable of specifying the data stored in the free bit as the dummy data, and ignoring the data in the free bit since the data stored in the free bit is unnecessary data. Thus, the microcomputer 10 of the ECU 4 on the reception side only needs to read the data stored in the previously defined target read area, and additional new logic for determining the dummy data is not needed.
[0036] In the microcomputer 10 of the ECU 3 on the transmission side, the dummy data is updated each time the normal data is updated. With this configuration, a possibility that the unauthorized device 6 specifies the dummy data as part of the transmission data and incorrectly specifies the length of the normal data may be increased.
Second Embodiment
[0037]
[0038] In short, in the microcomputer 10 of the ECU 3 on the transmission side, the dummy data may be updated in response to each arrival of the transmission time of normal data. In this case, even when the unauthorized device 6 succeeds in malicious data reading, the readout data is difficult to be correctly analyzed since the unauthorized device may incorrectly specify the dummy data as the data which has a correlation with the normal data.
Other Embodiments
[0039] In another embodiment of the present disclosure, the electronic control apparatus according to the above-described embodiments can be applied not only to CAN, but also to a communication system employing a different protocol under a condition that a format defined by the different protocol includes an area for setting the dummy data.
[0040] The foregoing embodiments show that each of the ECU 3 through ECU 5 has the management table 14, and shares the management table 14 with one another. In another embodiment of the present disclosure, the management table 14 may be previously stored in another ECU or the like connected to the onboard network 2, and each of the ECU 3 through ECU 5 may refer to the management table 14 stored in another ECU via the onboard network 2.
[0041] In another embodiment of the present disclosure, a partial or overall function executed by the microcomputer 10 of each ECU 3, 4, 5 may be achieved in a hardware manner using a single integrated circuit (IC) or using multiple ICs.
[0042] While the present disclosure has been described with reference to embodiments thereof, it is to be understood that the disclosure is not limited to the embodiments and constructions. The present disclosure is intended to cover various modification and equivalent arrangements. In addition, the various combinations and configurations, other combinations and configurations, including more, less or only a single element, are also within the spirit and scope of the present disclosure.