Control System
By comparing the normal information of the execution order and output value with the actual information in the control system, the problem of tampering with the control processing value and unknown network attacks in the prior art is solved, and the effect of early detection and reduction of processing load is achieved.
Patent Information
- Application Number
- CN202080101016.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-05-28
AI Technical Summary
In the prior art, when the process execution sequence and execution time are normal, the control processing value cannot be detected, and the abnormalities in the middle of a single process are not detected in time, and the vehicle abnormalities caused by unknown network attacks cannot be dealt with.
By including a calculation unit, a storage unit, acquiring unit, a comparison unit and a determination unit in the control system, the normal information of the execution sequence and output value are compared with the actual execution information, and abnormal situations are determined, ensuring that unknowns can be detected in time even during driving. Vehicle exceptions caused by cyber attacks.
It is realized that when a vehicle is attacked by unknown networks, it can detect abnormalities early, ensure the normal driving of the vehicle, and reduce the processing load of control processing.
Smart Images

Figure CN115668191B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to control systems. Background Art
[0002] In recent years, the in-vehicle system of a car is connected to an external device through the network, and there is a risk that a malicious third party may hack into the in-vehicle system from the outside through the network. If the in-vehicle system is hacked, the program stored in the control device installed in the vehicle, such as the ECU (Electronic Control Unit), may be tampered with, the control of the ECU may be hijacked, and an accident may be deliberately caused by remote operation.
[0003] In the vehicle-mounted system, an abnormality handling method is considered, so that even if a part of the device fails, the abnormality caused by the failure can be detected, and the function can be reduced by an automatic fail-safe device, so that normal driving can be achieved.
[0004] However, as described above, if the mechanism for detecting anomalies caused by faults is changed due to program tampering, or if the information that is the target of anomaly detection is disguised as a normal value, it will be difficult to detect a phenomenon that must be judged as an abnormality.
[0005] As a security protection technology for this issue, there are message authentication and digital signatures. However, these technologies are for known attack scenarios and may not be able to deal with unknown network attacks. For example, if the communication data is disguised as a normal value, it is difficult to detect as an abnormality. Therefore, it is necessary to monitor not only the communication data but also the behavior of the vehicle or ECU.
[0006] As one of the countermeasures for unknown cyber attacks, there is secure boot. However, since the memory check is performed at startup, it cannot cope with attacks during driving. In addition, frequent memory checks during driving will cause a large processing load. Therefore, a mechanism is needed that can detect abnormalities without causing too much impact on the processing load of control processing even if an unknown cyber attack is suffered during driving, so that the vehicle can drive normally.
[0007] In Patent Document 1, in order to monitor a CPU executing a plurality of processes, dependencies between the plurality of processes can be extracted based on the execution status of the plurality of processes, and abnormal operations of the plurality of processes can be detected based on the extracted dependencies.
[0008] Patent Document 2 enables detection of abnormality when the processing order, execution conditions, execution timing, control values, and the like of the functional sequence of the electronic control device deviate from a normal state.
[0009] Prior art literature
[0010] Patent Literature
[0011] Patent Document 1: Japanese Patent No. 5365273
[0012] Patent Document 2: International Publication No. 2019 / 159615 Summary of the invention
[0013] Technical problem to be solved by the invention
[0014] In Patent Document 1, when the execution order and execution time of the processes are normal but the value of the process content is tampered with, the abnormality cannot be detected. In addition, since the abnormality detection and determination is performed after the completion of multiple processes, when an abnormality occurs in the middle of the processing of a single process, it takes time to detect the abnormality.
[0015] In addition, in Patent Document 2, the processing order and control value of the functional sequence are the objects, but the output value of each step of the sequence is not the object. In the case where another new process is added to the step of the sequence due to an unknown network attack, the sequence executes the original control value through the normal path, but if an abnormality occurs that an important value related to the control in parallel with the sequence is processed by the other new process added, it cannot be detected. In addition, if the sequence is not terminated, the abnormality occurring in the step of the sequence cannot be detected.
[0016] The present application is completed to solve such a problem, and its purpose is to obtain a control system that determines whether each step is abnormal in the calculation processing of the control value that executes the control processing, so that the abnormality can be detected as early as possible even if the vehicle in motion is attacked by an unknown network.
[0017] Technical means for solving technical problems
[0018] The control system disclosed in the present application is characterized by comprising:
[0019] A control unit that performs control processing of a control device; a calculation unit that calculates a control value of the control processing through a plurality of steps of calculation processing; a storage unit that pre-stores information on the execution order of the calculation processing of the control unit and the output values between the steps of the calculation processing when normal; an acquisition unit that acquires the execution order of the executed calculation processing and the output values between the steps of the calculation processing when execution; a comparison unit that compares the normal information with the execution information; and a determination unit that determines that it is abnormal when at least any one of the compared execution order of the calculation processing and the output values between the steps of the calculation processing is inconsistent.
[0020] Effects of the Invention
[0021] According to the control system disclosed in the present application, even if the vehicle is in motion, vehicle abnormalities caused by unknown network attacks can be detected as early as possible, thereby allowing the vehicle to drive normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a diagram for explaining a vehicle equipped with a control system according to the first embodiment.
[0023] Figure 2 This is a functional block diagram of the control device according to the first embodiment.
[0024] Figure 3 This is another functional block diagram of the control device according to the first embodiment.
[0025] Figure 4 This is a diagram for explaining the process from memory inspection to memory rewriting according to the first embodiment. Figure 4 A is a diagram for explaining the operation of the determination unit. Figure 4 B is a diagram for explaining the operation of the memory inspection unit. Figure 4 C is a diagram for explaining the operation of the rewriting unit.
[0026] Figure 5 is a diagram showing an example of the hardware configuration of the control circuit.
[0027] Figure 6 This is a flowchart of a control process of the control system according to the first embodiment performed through three steps of arithmetic processing.
[0028] Figure 7 This is a flowchart for explaining an abnormality detection process during the control process of the control system according to the first embodiment.
[0029] Figure 8 This is a flowchart showing the execution order of the calculation processing of the calculation unit during the normal operation of the control system according to the first embodiment and the flow of processing until the output values between steps are stored in the storage unit.
[0030] Fig. 9 This is a flowchart of a determination process performed by a determination unit of the control system according to the first embodiment.
[0031] Fig.10 This is a flowchart for explaining the process performed when abnormality determination is performed in the control system according to the first embodiment. DETAILED DESCRIPTION
[0032] Hereinafter, preferred embodiments of the control system of the present application will be described using the accompanying drawings. In particular, as a specific example of the control system, a control system applied to a vehicle-mounted control unit (ECU) in which the control object is set as a vehicle and a vehicle-mounted device will be described in detail. In addition, the same reference numerals are assigned to the same contents and corresponding parts, and their detailed descriptions are omitted. In the subsequent embodiments, repeated descriptions of the structures with the same reference numerals are also omitted.
[0033] Implementation method 1.
[0034] Figure 1 The figure is a diagram for explaining a vehicle equipped with an ECU (hereinafter referred to as a control device 10 ) to which the control system according to Embodiment 1 is applied. The control device 10 may be connected to other control devices 20 in the vehicle 1 via a communication line 30 such as a CAN (Controller Area Network).
[0035] <Functions in Control Device 10>
[0036] Figure 2 1 is a functional block diagram of the control device 10. The control device 10 includes a control unit 100, a calculation unit 101, a storage unit 102, an acquisition unit 103, a comparison unit 104, a determination unit 105, a judgment unit 106, a vehicle state management unit 107, a surrounding condition management unit 108, a determination unit 109, a memory check unit 110, a standby control unit 111, a switching unit 112, a rewriting unit 113, and a notification unit 114. Each component is described in detail below.
[0037] The control unit 100 has the function of controlling the equipment of the control object installed in the vehicle. There may be one or more control devices 10. Figure 1 The device 2 of the control object shown is not described in detail, but corresponds to an actuator, etc. In the following, it is described only as the control object 2.
[0038] The control unit 100 reads the control program data corresponding to the control object 2 from the ROM (Read Only Memory) and the RAM (Random Access Memory), and controls the control object 2 by executing the read program. There may be multiple control methods. For example, in the case of condition A, the control value X is executed, and in the case of condition B, the control value Y is executed.
[0039] The operation unit 101 operates the control value used in the control process of the control unit 100. The operation process for operating the control value includes multiple steps. In addition, there may be multiple operation processes. For example, the control value X is operated by the operation process C, and the control value Y is operated by the operation process D.
[0040] The storage unit 102 stores the execution order of the operation processing steps used by the operation unit 101 and the output value of each step acquired by the acquisition unit 103 described later in a specific area within the storage unit 102 (herein referred to as the "memory during execution"). In addition, the action program of the control unit 100 and the operation unit 101 during normal operation, as well as the control values used during the operation and the output value of each step of the operation processing are stored in an area different from the area of the "memory during execution 1021" (herein referred to as the "memory during normal operation 1022"). Figure 4 Detailed description is given in .
[0041] The information stored in the storage unit 102 can be managed by cryptographic keys through an HSM (Hardware Security Module). In addition, the stored information can be compressed, or the result of the operation on the information to be stored can be stored to enhance security. For example, there is a method of storing as encryption or hashing, or MAC (Message Authentication Code).
[0042] The acquisition unit 103 acquires the execution order of the operation processing steps used by the operation unit 101 at the time of execution and the output value of each step. The acquired timing may be the timing acquired in each step of the operation processing, or may be the timing desired to be acquired until the operation processing ends. The acquired execution order of the steps and the output value of each step are stored in the "memory 1021 at the time of execution" of the storage unit 102.
[0043] The comparison unit 104 compares the execution order of the calculation processing steps and the output value of each step during normal operation stored in advance in the storage unit 102 with the execution order of the calculation processing steps and the output value of each step during execution acquired by the acquisition unit 103. In addition, the timing for comparison may be the timing of each step or the timing to be compared until the calculation processing is completed.
[0044] When the comparison result of the comparison unit 104 is inconsistent, the determination unit 105 determines that it is abnormal. That is, it can also be determined as abnormal when the comparison result is that the execution order of the operation processing steps and the output value of each step are inconsistent or inconsistent. In addition, the determination method is not limited to the execution order of the operation processing steps and the output value of each step, and other information such as the execution time of the operation processing can be added.
[0045] If the determination unit 105 determines that the operation is abnormal, the process proceeds to the abnormality detection process. If the determination unit 105 determines that the operation is normal, the control process of the control unit 100 is continued.
[0046] The determination unit 106 sets a priority order as to which control unit should be checked first from among the plurality of control units of the control device 10. Figure 3 2 shows an example of a control device 10 in which the control unit 100 is composed of a plurality of control units A to C. The acquisition unit 103 determines the target control unit from the control unit A, the control unit B, and the control unit C based on the determination result of the determination unit 106. When there is only one control unit in the control device 10, no priority is set.
[0047] The judgment unit 106 further judges the control unit 100 that should be the object of the acquisition unit 103 to acquire information based on the information of the vehicle state management unit 107 and the surrounding situation management unit 108 described later. Specifically, in the case where the vehicle is hijacked due to a network attack, the control that increases the damage effect is given priority. Figure 3 In the control unit A, when performing processing related to "driving" when the speed increases sharply, processing related to "turning" when it is congested, or processing related to "stopping" when the weather is snowing, a judgment is made to give priority to the control unit A.
[0048] The vehicle state management unit 107 manages the operation state of the vehicle. The operation state indicates, for example, whether the vehicle is in a state such as "driving", "turning", or "stopping". Figure 1 The control device 20 obtains the operation status.
[0049] The surrounding condition management unit 108 manages the surrounding conditions of the vehicle. The so-called surrounding conditions may be, for example, traffic conditions such as congestion, or weather conditions such as snow. Figure 1 The control device 20 obtains the surrounding conditions.
[0050] When the determination unit 105 determines that the abnormality is present, the determination unit 109 determines that the abnormality is present. Figure 4 As shown in FIG. 1A , the range of the memory that is the cause of the abnormality is determined based on the execution order of the operation processing steps during execution stored in the “memory during execution 1021” of the storage unit 102. Specifically, the information acquired from the acquisition unit 103 is stored in the storage unit 102, that is, the corresponding range in the “memory during execution 1021” related to the operation processing being executed, which is stored in the RAM and / or ROM, is read and determined.
[0051] like Figure 4 As shown in A, the memory check unit 110 checks whether the corresponding range in the memory determined by the determination unit 109 is consistent with the "memory 1022 in normal operation" pre-stored in the storage unit 102, and detects the range with a difference. Based on the inspection result, Figure 4B shows an example of a range where a difference is detected. In the method of checking whether it is consistent with the memory, the memory can be divided to check whether it is consistent. In addition, the memory data can be compressed by hashing, etc. and then checked. In order to speed up the processing, HSM can also be used for inspection.
[0052] The standby control unit 111 is a control unit that can perform the same control processing as the control unit 100 and is separate from the control unit 100. Specifically, it is not executed in the normal control processing. The control processing is executed only when the switching processing is executed by the switching unit 112. In order to execute it immediately after the switching, it can also be started in advance.
[0053] When the determination unit 105 determines that an abnormality has occurred, the switch unit 112 switches the control process of the control unit 100 to the control process of the standby control unit 111. After the switch, the control unit 100 may stop the function or may perform the function with a reduced function.
[0054] like Figure 4 As shown in C, after the control processing of the control unit 100 is switched to the standby control unit 111 by the switching unit 112, the rewriting unit 113 rewrites the range with differences detected by the memory inspection unit 110 from the "memory 1022 during normal operation" to the ROM and / or RAM of the storage unit 102 storing the "memory 1021 during execution".
[0055] The notification unit 114 notifies the outside of the control device 10 of the information determined as abnormal by the determination unit 105 and the rewriting result of the rewriting unit 113. The notification method can notify the information determined as abnormal and the rewriting result at the same time, or can notify them separately. The notification target is to notify the driver through the display screen of the instrument panel, etc. Or it can also be a notification center outside the vehicle. In addition, the notification content is abnormal information, attack information, or attention. The notification content can be displayed on the display screen of the instrument panel, for example, as "abnormal", "normal", "abnormal handled", "attacked", "pay attention to speed", etc.
[0056] Figure 5An example of the hardware of the microcomputer in the control device 10 is shown in . It is composed of a processor 3 and a storage device 4. Although not shown in the figure, the storage device has a volatile storage device such as the above-mentioned RAM, and the above-mentioned ROM, or a non-volatile auxiliary storage device such as a flash memory. In addition, an auxiliary storage device such as a hard disk may be provided instead of the flash memory. As described above, the processor 3 executes the program input from the RAM and ROM of the storage device 4. In this case, the program is input from the auxiliary storage device (such as ROM) via the volatile storage device (such as RAM) to the processor 3. In addition, the processor 3 can output data such as calculation results to the volatile storage device (such as RAM) of the storage device 4, and can also save data to the auxiliary storage device via the volatile storage device. In Figure 2 Among the functions in the functional block diagram shown, functions other than the storage unit 102 may be executed by the processor, the functions of the storage unit 102 may exist in the storage device 4, or a part of the functions of the storage unit 102 may exist in the processor 3. In addition to these hardware, hardware for security such as HSM may be added.
[0057] <Control Processing>
[0058] Next, use Figure 6 The control process of the control device 10 will be described in detail. Figure 6 This is a flowchart showing the flow of processing from the control processing of the control unit 100 according to Embodiment 1 to the calculation of the control value by the calculation processing of three calculation processing steps by the calculation unit 101 until the control processing is executed. The number of calculation processing steps is of course not limited to three steps.
[0059] First, the control unit 100 starts a control process (step S201). This control process includes, for example: (1) in order to calculate the control value in the calculation unit 101, the control device 10 or the control device 20 or the sensor connected thereto detects various vehicle states (such as failures, etc.) for controlling the control object 2. (2) based on the detected vehicle state, the control program data corresponding to the control object 2 is read from the ROM and / or RAM, and the calculation unit 101 is instructed to perform a process such as calculating the control value for controlling the control object 2.
[0060] The calculation unit 101 executes step 1 of the calculation process for calculating the control value (step S202). After step 1 is completed, step 2 of the calculation process is executed in parallel with the abnormality detection process (step S203) (step S204).
[0061] The so-called operation processing step may be, for example, an instruction in an assembly language unit or an instruction in a machine language instruction set unit for causing a processor to execute one operation. In addition, in the case where multiple operations are performed to obtain one output, the multiple operations may be regarded as one processing step. For example, if the result of combining an arithmetic operation instruction with a logical operation instruction is to obtain one output, the two instructions may be regarded as one operation processing step.
[0062] After completing step 2 of the calculation process, the calculation unit 101 executes step 3 of the calculation process (step S205 ) in parallel with performing the abnormality detection process (step S203 ).
[0063] When all the calculation processes are completed, the control program is executed based on the control values obtained by the calculation processes, and the control object 2 is controlled in the control unit 100 (step S206). Thereafter, the control process is terminated.
[0064] A more specific example is described below.
[0065] (1) Through the control process of step S201, the states a, b, c, and d of sensors A, B, C, and D are detected.
[0066] (2) In the calculation process of step S202, step 1 calculates the logical sum P of the state a of sensor A and the state b of sensor B, and then performs abnormality detection processing in step S203.
[0067] (3) In step S204, the logical sum Q of the state c of the sensor C and the state d of the sensor D is calculated in step 2, and then abnormality detection processing is performed in step S203.
[0068] (4) The operation of step S205 performs the logical AND m of the logical OR P and the logical OR Q in step 3, and then performs abnormality detection processing in step S203.
[0069] (5) Through step S206, control M is performed on the control object 2 based on the logical AND m.
[0070] <Abnormality Detection Processing>
[0071] Next, use Figure 7 Detailed description Figure 6 Anomaly detection processing shown. Figure 7 This is a flowchart showing the flow of processing from the start of control by the control unit 100 to the detection of an abnormality according to the first embodiment.
[0072] As described above in steps S201 to S206 , the control unit 100 starts executing the control process, and the calculation unit 101 starts calculating the control value for calculating the control process.
[0073] The acquisition unit 103 acquires the execution order of the operation processing of the operation unit 101 (step S301). The execution order may be, for example, each instruction unit such as an arithmetic operation instruction and a logical operation instruction performed in the processor 3, or may be only the execution order of a specific instruction, such as an arithmetic operation instruction. In the above example, it is logical OR P, logical OR Q, and logical AND m.
[0074] The acquisition unit 103 acquires the output values between the steps of the operation processing of the operation unit 101 (step S302). In the above example, the output values are (a+c) of the logical OR P, (c+d) of the logical OR Q, and (a+c)*(c+d) of the logical AND m.
[0075] The comparison unit 104 compares the acquired execution order of the operation processing with the execution order of the operation processing stored in advance in the storage unit 102 (step S303).
[0076] The comparison unit 104 compares the acquired output value between the steps of the calculation process with the output value between the steps of the calculation process stored in advance in the storage unit 102 (step S304).
[0077] Determine whether any one or both of the comparison results of the execution order of the operation processing or the output values between the steps of the operation processing are consistent (step S305). If at least any one of the comparison results is inconsistent, perform the abnormality determination process (step S306). If both comparison results are consistent, end the abnormality detection process.
[0078] When the determination unit 105 determines that an abnormality occurs, the process proceeds to a process for causing the vehicle to travel normally as a process during abnormality determination. After the process during abnormality determination is completed, the abnormality detection process is terminated.
[0079] <Storage Processing of Storage Unit 102>
[0080] Next, use Figure 8 The storage process of the storage unit 102 before the control process of the control unit 100 is executed will be described in detail. Figure 8 This is a flowchart showing the processing flow until the execution order of the calculation processing of the calculation unit 101 and the output values between the steps of the calculation processing are stored in the "memory during normal operation" in the storage unit 102 during normal operation of the control unit 100 according to Embodiment 1. This storage processing is performed before factory shipment.
[0081] First, the control unit 100 starts executing the control process. The calculation unit 101 starts calculating the control value of the control process (step S401).
[0082] The storage unit 102 acquires the execution order of the calculation processing of the calculation unit 101 (step S402).
[0083] The storage unit 102 stores the output values between steps of the calculation process of the calculation unit 101 (step S403 ).
[0084] The storage section 102 stores all programs related to the control processing performed in the control section 100. In other words, all software for executing the control processing in the hardware ROM and RAM is stored (step S404).
[0085] The storage unit 102 stores all programs related to the calculation processing performed in the control unit 101. In other words, all software for executing the calculation processing in the hardware ROM and RAM is stored (step S405).
[0086] The storage processing method can be stored for each step or stored in batches after all control processing is completed.
[0087] <Judgment Processing by Judgment Unit 106>
[0088] Next, use Fig. 9 The determination process performed by the determination unit 106 for determining the control unit 100 targeted by the acquisition unit 103 will be described in detail. Fig. 9 This is a flowchart showing the flow of the judgment process until the judgment unit 106 sets the priority order based on the information of the vehicle state management unit 107 and the surrounding condition management unit 108 involved in the first embodiment and determines the control unit 100 set as the target by the acquisition unit 103. Here, it is assumed that there are multiple control units 100. The execution timing of the process can be performed frequently or when certain conditions are met. The so-called certain conditions, for example, represent normal driving or highway driving.
[0089] The vehicle state management unit 107 obtains information on the action state of the vehicle 1 (step S501). Specifically, the vehicle action state is "driving", "turning", "stopping". In addition, more detailed information can be added to the action state. For example, numerical information such as the vehicle speed or the angle of the vehicle tilt. In addition, the information can be obtained from other control devices (such as Figure 1 The information is obtained by sensors of the control device 20).
[0090] The surrounding condition management unit 108 obtains the surrounding condition information of the vehicle (step S502). Specifically, it indicates traffic conditions or weather conditions. The surrounding conditions can be information obtained by subdividing the conditions. For example, if the weather is given as an example, there are "sunny", "high temperature", "cloudy", "rain", "heavy rain", "snow", "heavy snow", "strong wind", "typhoon", etc. It can also be obtained from other control devices (such as Figure 1 The sensor or receiving device of the control device 20) is obtained.
[0091] The judgment unit 106 determines the priority of the control unit 100 set as the object by the acquisition unit 103 based on the vehicle state information of the vehicle state management unit 107 and the surrounding condition information of the vehicle of the surrounding condition management unit 108 (step S503). Specifically, the greater the damage effect when the control is hijacked, the higher the priority. For example, it represents the processing related to "driving" when the speed rises sharply, the processing related to "turning" in congestion, or the processing related to "stopping" on the snow, etc. The method of priority sorting is to perform analysis before factory shipment, and reflect the analysis results in the judgment processing of the judgment unit 106. In addition, the content of the analysis results can be updated during updates such as OTA (Over the air: by radio).
[0092] The determination unit 106 determines the control unit determined to have the highest priority as the control unit 100 set as the target by the acquisition unit 103 (step S504), and then ends the determination process. Even if the priority is not the highest, if it can be determined that the risk level is high during vehicle driving, the abnormality detection process of the control unit 100 corresponding to the control may be performed first.
[0093] <Processing when abnormality is determined>
[0094] Next, use Fig.10 Detailed description Figure 7 Handling of abnormal judgment in . Fig.10 This is a flowchart showing the flow of processing during abnormality determination.
[0095] When the determination unit 105 determines that an abnormality has occurred, the determination unit 109 determines that an abnormality has occurred based on the "memory 1021 during execution" (see Figure 4 ) is executed, and the range of the memory that is the cause of the abnormality is determined (step S601). Specifically, the corresponding range in the memory associated with the actual processing stored in the storage unit 102, that is, stored in the RAM and / or ROM, is read and determined.
[0096] The memory check unit 110 performs a memory check to determine whether the range specified by the specifying unit 109 matches the memory stored in the storage unit 102, and detects a different range (step S602).
[0097] When the determination unit 105 determines that there is an abnormality, the switching unit 112 switches the control process of the control unit 100 to the control process of the standby control unit 111 (step S603).
[0098] The switching unit 112 stops the control processing of the control unit 100 or reduces a part of the function (step S604).
[0099] After the rewriting unit 113 switches the control processing of the control unit 100 to the control processing of the standby control unit 111 through the switching unit 112, the different range of the memory stored in the storage unit 102 detected by the memory checking unit 110 is rewritten to ROM and / or RAM (step S605).
[0100] The notification unit 114 notifies the outside of the control device 10 of the information determined as abnormal by the determination unit 105 and the rewriting result of the rewriting unit 113, and ends the processing when the abnormality is determined. The notification method is to notify the abnormal information and the rewriting result at the same time (step S606). The notification can also be notified separately. The notification target can warn the driver on the display screen.
[0101] In addition, the above-described embodiment 1 illustrates an example of using the control system involved in the present application as a vehicle-mounted control system. However, the control system involved in the present application is not limited thereto. For example, it can be used for a control system of a control device that has a high security strength and a mechanism that requires early detection of an abnormality of the control device and is connected to a communication line.
[0102] According to the first embodiment of the present application described above, the following effects are obtained in the control process.
[0103] The invention has the following structure: by comparing the execution order of the operation process of the control value used for the control process and the output value between the steps of the operation process to see whether they are consistent with those during normal operation, the abnormality of the control process is detected. Therefore, it is not limited to the detection method specifically used for the control value or the processing order based on the communication data, and even if the control value or the processing order is disguised by an unknown network attack, the abnormality can be detected.
[0104] Furthermore, by comparing the execution order of the calculation processing of the control values used for the control processing and whether the output values between the steps of the calculation processing are consistent with those during normal operation at the end of each step, abnormalities in the control processing can be detected as early as possible before the control processing ends.
[0105] In addition, the vehicle has a configuration in which a standby control unit is provided that can perform the same control as the control processing of the control unit, and when it is determined that the control unit is abnormal, the control processing is switched to the standby control unit, thereby maintaining normal driving.
[0106] In addition, the following structure is provided: a priority order is set for the control unit that is the object of the abnormality detection process, and the control process that should be prioritized is determined. Thus, the process that has a greater impact due to the network attack can be prioritized to minimize the damage. In addition, compared with the case where the abnormality detection process is performed on all control processes, the processing load can be suppressed.
[0107] In addition, the following structure is also provided: managing the operation state of the vehicle, setting the priority order for the control unit that is the target of abnormal detection processing according to the operation state of the vehicle, and judging the control processing that should be given priority. Thus, priority can be given to the control processing that will have a greater damage impact if the control is hijacked from the perspective of vehicle operation.
[0108] In addition, the following structure is also provided: managing the surrounding conditions of the vehicle, setting the priority order for the control unit that is the target of abnormal detection processing according to the surrounding conditions of the vehicle, and determining the control processing that should be given priority. Thus, priority can be given to the control processing that will have a greater impact if the control is hijacked in terms of the surrounding environment or traffic conditions.
[0109] In addition, the following structure is provided: when it is determined that the control process is abnormal, the range of the memory that is the cause of the abnormality is determined according to the execution order of the operation process. Therefore, when the abnormal part of the memory is detected by the memory check, the memory check can be performed partially instead of the entire memory, and the efficiency of the memory check process can be achieved.
[0110] In addition, the following structure is provided: when it is determined that the control process is abnormal, a memory check is performed within a certain memory range to detect a range that is different from the memory stored during normal operation of the control process. This makes it possible to detect the location of the memory that has been tampered with by an unknown network attack.
[0111] In addition, the following structure is provided: when it is determined that the control process is abnormal, the control process is switched to the control process of the standby control unit, and the range that is different from the memory stored during the normal operation of the control process is rewritten to the memory. In this way, it is possible to take measures to avoid the creation of new backdoors.
[0112] In addition, the following structure is provided: the information determined as abnormal control processing and the rewriting result are notified to the outside of the control device. Thus, the driver can be immediately notified of the network attack. In addition, the driver who is notified of the attack can quickly check the vehicle.
[0113] Although exemplary embodiments are described in the present application, various features, modes, and functions described in the embodiments are not limited to application to specific embodiments, and can be applied to the embodiments alone or in various combinations.
[0114] Therefore, it is considered that numerous modifications not shown in the examples are also included in the technical scope disclosed in the present specification, including, for example, modifications, additions, or omissions of at least one structural element.
[0115] Description of symbols
[0116] 10: control device, 100: control unit, 101: calculation unit, 102: storage unit, 103: acquisition unit, 104: comparison unit, 105: determination unit, 106: determination unit, 107: vehicle state management unit, 108: surrounding condition management unit, 109: determination unit, 110: memory check unit, 111: standby control unit, 112: switching unit, 113: rewriting unit, 114: notification unit.
Claims
1. A control system, characterized in that: include: a control unit that performs control processing of the control device; a calculation unit that calculates a control value for the control process through a plurality of steps of calculation processing; A storage unit that stores in advance information on the execution order of the arithmetic processing of the control unit and the output values between steps of the arithmetic processing when normal; an acquisition unit that acquires information on the order of execution of the arithmetic processing being executed and output values between steps of the arithmetic processing during execution; a comparing unit that compares the normal information with the execution information; as well as A determination unit determines that an abnormality occurs when at least one of the compared execution order of the arithmetic processing and the output values between the steps of the arithmetic processing does not match.
2. The control system according to claim 1, characterized in that: During the operation processing of the plurality of steps executed by the operation unit, the comparison unit compares the execution order of the operation processing with the output value of each step of the operation processing at the end of each step, and when at least any one of the comparison results is inconsistent, the determination unit determines that the control unit is abnormal.
3. The control system according to claim 1 or 2, characterized in that: include: a standby control unit capable of performing the same control as the control unit and separate from the control unit; as well as A switching unit switches the control process of the control unit to the control process of the standby control unit when the determination unit determines that the abnormality has occurred.
4. The control system according to claim 1 or 2, characterized in that: There are multiple control units, and the control unit includes a judgment unit that sets the priority of the control unit set as the object by the acquisition unit within the multiple control units. The acquisition unit acquires the execution order of multiple steps of operation processing for calculating the control value of the control processing of the control unit with high priority and the output value between the steps of the operation processing of the operation unit.
5. The control system according to claim 4, characterized in that: The control device is mounted on a vehicle, and includes a vehicle state management unit that manages an operation state of the vehicle. The determination unit sets a priority order for the control unit targeted by the acquisition unit based on an output of the vehicle state management unit.
6. The control system according to claim 4 or 5, characterized in that: The control device is mounted on a vehicle and includes a surrounding condition management unit that manages the surrounding condition of the vehicle. The determination unit sets the priority of the control unit targeted by the acquisition unit based on an output of the surrounding condition management unit.
7. The control system according to any one of claims 1 to 6, characterized in that: The method further includes a specifying unit that specifies a range of abnormality in the execution order of the arithmetic processing stored in the storage unit when the determination unit determines that the abnormality exists.
8. The control system according to claim 7, characterized in that: The storage unit stores the information during the execution acquired by the acquisition unit, and the control system includes a memory check unit that detects a difference between the information during the execution and the information during the normal state within an abnormal range determined by the determination unit.
9. The control system according to claim 8, characterized in that: include: a standby control unit capable of performing the same control as the control unit and separate from the control unit; a switching unit that switches the control process of the control unit to the control process of the standby control unit when the determination unit determines that the abnormality is present; and a rewriting unit that rewrites the different portion detected by the memory checking unit into the normal information after the switching unit switches to the standby control unit.
10. The control system according to claim 9, characterized in that: A notification unit is included that notifies the outside of the control device of information on the abnormality determined by the determination unit and a rewriting result of the rewriting unit.
