Signal detection device, vehicle and method

The signal detection device improves fraudulent signal detection in communication networks by using timing deviations and internal signal information to verify signal legitimacy, enhancing network security and safety.

JP7554791B2Active Publication Date: 2024-09-20HONDA MOTOR CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022107261
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2024-09-20
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately detect fraudulent signals input to communication networks, which poses a risk to communication network security and traffic safety.

Method used

A signal detection device that uses a signal detection unit to identify signals at predetermined periods and determines fraudulent signals by comparing detection timings to a reference timing, setting signals within a threshold deviation as reference signals, and utilizing internal signal information for verification.

Benefits of technology

Enhances the accuracy of fraudulent signal detection, preventing the misuse of communication networks and improving traffic safety by ensuring signals adhere to predetermined timing patterns and internal signal characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007554791000005
    Figure 0007554791000005
  • Figure 0007554791000006
    Figure 0007554791000006
  • Figure 0007554791000001
    Figure 0007554791000001
Patent Text Reader

Abstract

To provide a fraudulent signal detection device for detecting a signal that is fraudulently input to a communication network.SOLUTION: In a vehicle, an ECU 100 includes a signal detection unit 210 that detects signals that are expected to be input at a predetermined period to a communication network, and a determination unit 220 that determines whether a detection timing of a second signal detected by the signal detection unit after a first signal set as a reference signal for determining fraudulent signals among signals detected by the signal detection unit is within a predetermined range that includes a reference timing that is a timing later by an integral multiple of the period from a detection timing of the first signal and determines whether a deviation between the detection timing of the second signal and the reference timing is less than or equal to a first threshold. The determination unit sets the second signal as the reference signal when the deviation between the detection timing of the second signal and the reference timing is less than or equal to the first threshold, and when the deviation exceeds the first threshold, the determination unit does not set the second signal as the reference signal, and uses the first signal as the reference signal.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a signal detection device, a vehicle and a method. [Background technology]

[0002] Patent Documents 1 and 2 disclose techniques for detecting unauthorized signals input into a communication network. [Prior art document] [Patent documents] Patent Document 1: JP 2021-136631 A Patent Document 2: JP 2021-064921 A Summary of the Invention [Problem to be solved by the invention]

[0003] However, there is a need to more appropriately detect signals that are illegally input into a communication network. The present application aims to solve the above problem by improving safety. This will ultimately further improve traffic safety and contribute to the development of a sustainable transportation system. [Means for solving the problem]

[0004] In a first aspect of the present invention, there is provided a signal detection device. The signal detection device includes a signal detection unit that detects signals expected to be input to a communication network at a predetermined period, and a determination unit that determines whether a detection timing of a second signal detected by the signal detection unit after a first signal set as a reference signal for determining whether a signal is fraudulent is within a predetermined range including a reference timing that is an integer multiple of the period after the detection timing of the first signal, and whether a difference between the detection timing of the second signal and the reference timing is equal to or less than a first threshold. If the difference between the detection timing of the second signal and the reference timing is equal to or less than the first threshold, the determination unit sets the second signal as the reference signal, and if the difference between the detection timing of the second signal and the reference timing exceeds the first threshold, the determination unit does not set the second signal as the reference signal and sets the first signal as the reference signal.

[0005] The judgment unit may judge that the detection timing of the second signal is within the predetermined range including the reference timing when the deviation between the detection timing of the second signal and the reference timing is less than a second threshold, and the first threshold may be smaller than the second threshold.

[0006] In any of the signal detection devices described above, the determination section may determine that the second signal is a normal signal when the detection timing of the second signal is within the predetermined range.

[0007] In any of the above signal detection devices, the judgment unit may judge that the second signal is not a normal signal when the detection timing of the second signal is not within the predetermined range, and may judge whether the second signal is an unauthorized signal based on information contained in the second signal and other signals input to the communication network.

[0008] In any of the above signal detection devices, the judgment unit may judge that the second signal is not a normal signal when the detection timing of the second signal is not within the predetermined range, and may judge whether the second signal is an unauthorized signal based on information contained in the second signal and other signals input to the communication network.

[0009] In any of the above signal detection devices, the detection timing of the first signal may be the timing when the signal detection unit completes reception of the first signal, and the detection timing of the second signal may be the timing when the signal detection unit completes reception of the second signal.

[0010] In any of the above signal detection devices, the detection timing of the first signal may be the timing when the signal detection unit completes reception of the first signal, and the detection timing of the second signal may be the timing when the signal detection unit completes reception of the second signal.

[0011] In a second aspect of the present invention, there is provided a vehicle, the vehicle including any one of the signal detection devices described above.

[0012] In a third aspect of the present invention, there is provided a method, comprising the steps of: detecting signals expected to be input to a communication network at a predetermined cycle; determining whether a detection timing of a second signal, of the signals detected in the detecting step, detected after a first signal set as a reference signal for determining whether a signal is fraudulent, is within a predetermined range including a reference timing that is an integer multiple of the cycle after the detection timing of the first signal, and whether a difference between the detection timing of the second signal and the reference timing is equal to or less than a first threshold; setting the second signal as the reference signal when the difference between the detection timing of the second signal and the reference timing is equal to or less than the first threshold; and not setting the second signal as the reference signal and setting the first signal as the reference signal when the difference between the detection timing of the second signal and the reference timing exceeds the first threshold.

[0013] The above summary of the invention does not list all of the features of the present invention, and subcombinations of these features may also constitute inventions. [Brief explanation of the drawings]

[0014] [Figure 1] 1 conceptually illustrates a system configuration of a vehicle 10 in one embodiment. [Figure 2] 2 is a block diagram illustrating a schematic functional configuration of an ECU 100. FIG. [Figure 3] FIG. 10 is a diagram for explaining a process for setting a reference time used to detect an unauthorized signal. [Figure 4] 10 is a diagram for explaining a process in which a determination unit 220 determines whether a signal is fraudulent. FIG. [Figure 5] 10 is a flowchart illustrating a signal detection method executed by the ECU 110. [Figure 6] An example of a computer 2000 is shown. DETAILED DESCRIPTION OF THE INVENTION

[0015] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.

[0016] 1 conceptually illustrates a system configuration of a vehicle 10 according to an embodiment. The vehicle 10 includes a system 20. The system 20 includes a plurality of ECUs (electronic control units) including an ECU 100, an ECU 110, an ECU 111, an ECU 120, and an ECU 121. The ECUs included in the vehicle 10 include ECUs for controlling devices that directly affect the running of the vehicle 10, such as an engine, a transmission, and a steering device. The ECUs included in the vehicle 10 include ECUs for controlling devices that do not directly affect the running of the vehicle 10, such as an air conditioner and a navigation device. The ECUs 100, the ECU 110, the ECU 111, the ECU 120, and the ECU 121 are examples of in-vehicle devices.

[0017] The ECUs provided in the vehicle 10 communicate with each other via controller area network (CAN) communication. The ECUs provided in the vehicle 10 are connected to each other so that they can communicate with each other via multiple CAN communication networks 180. The ECU 100 functions as a gateway that relays communication between the multiple CAN communication networks 180. The CAN communication networks 180 are an example of a communication network.

[0018] 2 is a block diagram showing a schematic functional configuration of the ECU 100. The ECU 100 includes a processing unit 200 and a storage unit 280. The ECU 100 performs processing to determine whether or not a so-called spoofing attack has occurred, in which a third party transmits an unauthorized signal to the CAN communication network 180 while masquerading as an ECU included in the vehicle 10.

[0019] The processing unit 200 may be implemented by a processor such as a CPU that performs arithmetic processing. The storage unit 280 may include a non-volatile storage medium such as a flash memory, or a volatile storage medium such as a random access memory. The ECU 100 may be configured to include a computer. The ECU 100 executes various controls by the processing unit 200 operating in accordance with programs stored in the non-volatile storage medium.

[0020] The processing unit 200 includes a signal detection unit 210 and a determination unit 220. The signal detection unit 210 detects signals expected to be input to the CAN communication network 180 at a predetermined period. The determination unit 220 determines whether the detection timing of a second signal detected by the signal detection unit 210 after a first signal set as a reference signal for determining whether a signal is fraudulent is within a predetermined range including a reference timing that is an integer multiple of the period after the detection timing of the first signal, and whether the difference between the detection timing of the second signal and the reference timing is equal to or less than a first threshold. If the difference between the detection timing of the second signal and the reference timing is equal to or less than the first threshold, the determination unit 220 sets the second signal as the reference signal. If the difference between the detection timing of the second signal and the reference timing exceeds the first threshold, the determination unit 220 does not set the second signal as the reference signal and sets the first signal as the reference signal. In this way, even if the second signal can be considered a normal signal, the determination unit 220 does not use the second signal as the reference signal but uses the first signal as the reference signal if the detection timing is deviated from the periodic timing, and uses the second signal as the reference signal if the detection timing is not deviated from the periodic timing. This makes it possible to prevent the reference signal from being deviated due to disturbances, etc.

[0021] When the deviation between the detection timing of the second signal and the reference timing is equal to or less than a second threshold, the determination unit 220 determines that the detection timing of the second signal is within a predetermined range including the reference timing. The first threshold is smaller than the second threshold. This allows for accurate determination of whether a signal is abnormal by using the periodic timing as a reference, while also allowing for a normal signal with a small deviation from the periodic timing to be used as the reference signal.

[0022] When the detection timing of the second signal is within a predetermined range, the determination unit 220 determines that the second signal is a normal signal, thereby making it possible to accurately determine that the second signal is a normal signal.

[0023] If the detection timing of the second signal is not within a predetermined range, the determination unit 220 determines that the second signal is not a normal signal, and determines whether the second signal is an invalid signal based on information contained in the second signal and / or other signals input to the CAN communication network 180. This allows for more accurate determination of whether a signal is invalid using internal information contained in the signal. That is, when detecting timing based on the rear end of each signal (signal reception completion timing), the determination unit 220 determines whether the second signal is pushed out of range in relation to the first signal based on its own signal length information contained in the header of the second signal. To achieve more accurate determination, it is possible to determine whether the second signal is a normal signal pushed out of range due to the relationship between the first and second signals, based on the header information of the first signal, or an abnormal signal that exists outside the range due to other factors.

[0024] The detection timing of the first signal may be the timing at which the signal detection unit 210 completes reception of the first signal, and the detection timing of the second signal may be the timing at which the signal detection unit 210 completes reception of the second signal. For example, when the reception start timing of a signal (or the transmission start timing from the sender) is used as the detection timing, in order to determine whether the second signal has been delayed due to a communication conflict with the previous signal or a bus idle wait, it is necessary to consider not only the reception start timing of the previous signal and the reception start timing of the second signal but also the signal length of the previous signal. In other words, when the reception start timing of a signal is used as the detection timing, it is necessary to confirm the signal length of the previous signal. On the other hand, when the reception completion timing (or the transmission completion timing) of a signal is used as the detection timing, it is necessary to consider not only the reception completion timing of the previous signal and the reception completion timing of the second signal but also the signal length of the second signal in order to determine whether the second signal has been delayed due to a communication conflict with the previous signal or a bus idle wait, but the signal length of the second signal can be acquired from the header information of the second signal. Therefore, by using the timing when the signal reception is completed as the detection timing, the determining unit 220 can make the determination from the internal information of the second signal itself, without acquiring the signal length of the previous signal.

[0025] 3 is a diagram illustrating the process of setting a reference time used to detect an incorrect signal. Fig. 3 shows the time when the signal detection unit 210 actually detected a signal on the CAN communication network 180. In this embodiment, the determination unit 220 determines whether or not a signal is normal among multiple signals assigned the same CAN ID. Therefore, in this embodiment, a signal assigned a specific CAN ID will be described.

[0026] In FIG. 3, the actual signal time is the time when the signal detection unit 210 actually detects a signal. In this embodiment, the time when the signal is detected may be the time when the transmission of the signal starts. For example, the time when the signal is detected may be the time when the signal detection unit 210 detects the start of transmission of the signal. In other embodiments, the time when the signal is detected may be the time when the signal detection unit 210 transmits the signal. For example, the time when the signal is detected may be the time when the signal detection unit 210 detects the completion of transmission of the signal.

[0027] 3, the actual signal period is the time interval between signals successively input to the CAN communication network 180. In this embodiment, the signals to be processed are assumed to be signals that are expected to be input to the CAN communication network 180 at a predetermined period of 10 ms. In this embodiment, the first threshold value is assumed to be 0.5 ms in order to clearly illustrate the process of setting the reference time.

[0028] Assume that time t1 is the time when the signal detection unit 210 receives the first signal input to the CAN communication network 180 after the system 20 becomes capable of communication through the CAN communication network 180. The signal detection unit 210 detects the next signal at time t2, 11 ms after time t1. The determination unit 220 calculates the difference between time t2 and the timing when a period of 10 ms has elapsed since time t1 as the delay time. The delay time at time t2 is 1 ms. Therefore, the determination unit 220 calculates 1 ms as the cumulative delay time value at time t2. Because the cumulative delay time value exceeds the first threshold, the signal detection unit 210 does not set the signal received at time t2 as the reference signal.

[0029] Subsequently, the signal detection unit 210 detects the next signal at time t3, which is 11 ms after time t2. The determination unit 220 calculates the difference between time t3 and the timing when a period of 10 ms has elapsed since time t2 as the delay time. The delay time at time t2 is 1 ms. Therefore, the determination unit 220 calculates the cumulative delay time value at time t3 to be 2 ms. Because the cumulative delay time value exceeds the first threshold, the signal detection unit 210 does not set the signal received at time t3 as the reference signal.

[0030] Next, the signal detection unit 210 detects the next signal at time t4, which is 8 ms after time t3. The determination unit 220 calculates the delay time as the difference between time t4 and the timing when a period of 10 ms has elapsed since time t3. The delay time at time t4 is -2 ms. Therefore, the determination unit 220 calculates 0 ms as the cumulative delay time value at time t4. Because the cumulative delay time value is less than or equal to the first threshold, the signal detection unit 210 sets the signal received at time t4 as the reference signal, and sets time t4 as the reference time.

[0031] Next, the signal detection unit 210 detects the next signal at time t5, which is 11.02 ms after time t4. The determination unit 220 calculates the delay time as the difference between time t5 and the timing when a period of 10 ms has elapsed since time t4. The delay time at time t5 is 1.02 ms. Therefore, the determination unit 220 calculates 1.02 ms as the cumulative delay time value at time t4. Because the cumulative delay time value exceeds the first threshold, the signal detection unit 210 does not set the signal received at time t5 as the reference signal.

[0032] Next, the signal detection unit 210 detects the next signal at time t6, which is 8.5 ms after time t5. The determination unit 220 calculates the delay time as the difference between time t6 and the timing when a period of 10 ms has elapsed since time t5. The delay time at time t6 is −1.5 ms. Therefore, the determination unit 220 calculates the cumulative delay time value at time t6 to be −0.48 ms. Because the absolute value of the cumulative delay time value is less than or equal to the first threshold, the signal detection unit 210 sets the signal received at time t6 as the reference signal and time t6 as the reference time. At this time, the determination unit 220 resets the cumulative delay time value to 0.

[0033] Subsequently, the signal detection unit 210 detects the next signal at time t7, which is 10.4 ms after time t6. The determination unit 220 calculates the difference between time t7 and the timing when a period of 10 ms has elapsed since time t6 as the delay time. Because the cumulative delay time value was reset to 0 at time t6, the delay time at time t7 is 0.4 ms. Therefore, the determination unit 220 calculates 0.4 ms as the cumulative delay time value at time t7. Because the cumulative delay time value is less than or equal to the first threshold, the signal detection unit 210 sets the signal received at time t7 as the reference signal, and sets time t7 as the reference time.

[0034] In this way, when the judgment unit 220 detects a new signal, if the deviation between the timing at which the new signal is detected and the reference timing, which is an integer multiple of the signal period after the reference time, is less than or equal to the first threshold, the judgment unit 220 sets the new signal as the reference signal and sets the time at which the new signal is detected as the reference time to be used for detecting fraudulent signals.

[0035] FIG. 4 is a diagram illustrating the process performed by the determination unit 220 to determine whether a signal detected after time t11 is set as the reference time is determined to be an illegal signal. Referring to FIG. 4, a case will be described in which the determination unit 220 determines whether a signal detected after time t11 is set as the reference time is determined to be an illegal signal. In this embodiment, to clearly illustrate the process of determining whether a signal is illegal, the second threshold for determining whether a signal is normal is set to 1 ms. That is, if the time at which the signal is detected is within a range of ±1 ms centered on a reference timing calculated from the reference time, the detected signal is determined to be a normal signal. For ease of illustration, the first threshold (0.5 ms) is described as being 1 / 2 of the second threshold (1 ms). However, the first threshold may be 1 / 5 or less of the second threshold. The first threshold may be 1 / 10 of the second threshold.

[0036] Referring to FIG. 4, the signal detection unit 210 detects a new signal at time t12, 11 ms after time t11. The determination unit 220 sets the reference timing to a time 10 ms after the reference time. The difference between time t12 and the reference timing is 1 ms. In other words, time t12 is within a range of ±1 ms centered around the reference timing. Therefore, the determination unit 220 determines that the signal detected at time t12 is a normal signal.

[0037] Next, the signal detection unit 210 detects a new signal at time t13, 10.5 ms after time t12. The determination unit 220 sets the reference timing to a time 10×2 ms after the reference time. The difference between time t13 and the reference timing is 1.5 ms. In other words, time t13 is not within a ±1 ms range around the reference timing. Therefore, the determination unit 220 determines that the signal detected at time t13 may be an unauthorized signal.

[0038] The determination unit 220 may determine whether the signal detected at time t13 is an unauthorized signal based on information included in the signal detected at time t13 and / or information included in the signal transmitted to the CAN communication network 180 immediately before the signal detected at time t13. For example, the determination unit 220 may determine whether the signal detected at time t13 was delayed due to contention with another signal during transmission based on the signal length included in the header information of each signal and the detection time of each signal. If the determination unit 220 determines that the signal detected at time t13 was delayed due to contention with another signal during transmission, the determination unit 220 may determine that the signal detected at time t13 is a normal signal. If the determination unit 220 determines that the signal detected at time t13 was not delayed due to contention with another signal during transmission, the determination unit 220 may determine that the signal detected at time t13 is an unauthorized signal.

[0039] Next, the signal detection unit 210 detects a new signal at time t14, 9.5 ms after time t13. The determination unit 220 sets the reference timing to a time 10×3 ms after the reference time. The difference between time t14 and the reference timing is 1 ms. In other words, time t14 is within a range of ±1 ms centered around the reference timing. Therefore, the determination unit 220 determines that the signal detected at time t14 is a normal signal.

[0040] Next, the signal detection unit 210 detects a new signal at time t15, 9.8 ms after time t14. The determination unit 220 sets the reference timing to a time 10×4 ms after the reference time. The difference between time t15 and the reference timing is 0.8 ms. In other words, time t15 is within a ±1 ms range centered around the reference timing. Therefore, the determination unit 220 determines that the signal detected at time t15 is a normal signal.

[0041] In this way, when the determination unit 220 detects a new signal, it sets the reference time to a timing that is an integer multiple of the period after the reference time. If the detection timing of the new signal is within a predetermined range including the reference time, the determination unit 220 may determine that the new signal is a normal signal. On the other hand, if the detection timing of the new signal is not within a predetermined range including the reference time, the determination unit 220 may determine that the new signal is an incorrect signal.

[0042] Fig. 5 is a flowchart relating to a signal detection method executed by ECU 110. Fig. 5 is a flowchart relating to a process for setting a reference time. The process of the flowchart in Fig. 5 can be executed every time signal detection unit 210 detects a signal.

[0043] When signal detection unit 210 detects a signal, in S502, determination unit 220 calculates a cumulative delay time value for the detected signal based on the currently set reference time, the current cumulative delay time value, and the detection time of the signal. In S504, determination unit 220 determines whether the absolute value of the cumulative delay time value is equal to or less than a first threshold. If the absolute value of the cumulative delay time value is equal to or less than the first threshold, in S506, determination unit 220 sets the signal detected by signal detection unit 210 as a reference signal, and storage unit 280 stores the detection time of the signal as the current reference time.

[0044] In S506, if the absolute value of the cumulative delay time value exceeds the first threshold, the determination unit 220 ends the processing of this flowchart without updating the reference time.

[0045] If the absolute value of the cumulative delay time exceeds the first threshold, the determination unit 220 may set the detection time of the signal as the reference time, provided that the elapsed time from the current reference time to the detection time of the signal exceeds a predetermined time. If there is a certain error in the period at which a signal is actually input to the CAN communication network 180, an error also occurs in the reference timing calculated based on the reference time and the period. Therefore, if the reference time is not updated for a long period of time, the error in the reference timing accumulates, which may result in an erroneous determination of whether the signal is normal. If the elapsed time from the current reference time exceeds a predetermined time, setting the detection time of a new signal as the reference time may reduce the possibility of an erroneous determination of whether the signal is normal due to the accumulated error.

[0046] In the CAN communication network 180, if a conflict occurs when inputting a signal to the CAN communication network 180, signals are transmitted according to priority through communication arbitration, which can result in a delay before the signal is actually transmitted. Therefore, if the detection time of the delayed signal is used as the reference time to determine whether the signal is unauthorized, the determination unit 220 may erroneously determine whether the signal is normal or not. In contrast, in the system 20, when the signal detection unit 210 detects a new signal, if the difference between the detection time of the new signal and a reference time that is an integer multiple of the signal period after the reference time is equal to or less than a first threshold, the determination unit 220 sets the new signal as the reference signal and the time at which the new signal was detected as the reference time. This makes it possible to more appropriately set the reference time for detecting unauthorized signals input to the CAN communication network 180. Consequently, it becomes possible to appropriately detect unauthorized signals input to the CAN communication network 180.

[0047] 6 shows an example of a computer 2000 in which multiple embodiments of the present invention may be embodied in whole or in part. A program installed on the computer 2000 may cause the computer 2000 to function as a system or each part of a system, such as the system 20 according to an embodiment, or an apparatus or each part of the apparatus, such as the ECU 110, to perform operations associated with the system or each part of the system or the apparatus or each part of the apparatus, and / or to perform a process or steps of the process according to an embodiment. Such a program may be executed by the CPU 2012 to cause the computer 2000 to perform specific operations associated with some or all of the processing procedures and blocks of the block diagrams described herein.

[0048] The computer 2000 according to this embodiment includes a CPU 2012 and a RAM 2014, which are interconnected by a host controller 2010. The computer 2000 also includes a ROM 2026, a flash memory 2024, a communication interface 2022, and an input / output chip 2040. The ROM 2026, the flash memory 2024, the communication interface 2022, and the input / output chip 2040 are connected to the host controller 2010 via the input / output controller 2020.

[0049] The CPU 2012 operates according to programs stored in the ROM 2026 and RAM 2014, thereby controlling each unit.

[0050] The communication interface 2022 communicates with other electronic devices via a network. The flash memory 2024 stores programs and data used by the CPU 2012 in the computer 2000. The ROM 2026 stores a boot program and the like executed by the computer 2000 upon activation, and / or programs dependent on the hardware of the computer 2000. The input / output chip 2040 may also connect various input / output units such as a keyboard, mouse, and monitor to the input / output controller 2020 via input / output ports such as a serial port, a parallel port, a keyboard port, a mouse port, a monitor port, a USB port, an HDMI (registered trademark) port, etc.

[0051] The programs are provided via a computer-readable storage medium such as a CD-ROM, a DVD-ROM, or a memory card, or via a network. The RAM 2014, the ROM 2026, or the flash memory 2024 are examples of computer-readable storage media. The programs are installed in the flash memory 2024, the RAM 2014, or the ROM 2026 and executed by the CPU 2012. Information processing described in these programs is read by the computer 2000, and causes cooperation between the programs and the various types of hardware resources described above. An apparatus or a method may be configured by implementing operations or processing of information in accordance with the use of the computer 2000.

[0052] For example, when communication is performed between the computer 2000 and an external device, the CPU 2012 may execute a communication program loaded into the RAM 2014 and instruct the communication interface 2022 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 2012, the communication interface 2022 reads transmission data stored in a transmission buffer processing area provided in a recording medium such as the RAM 2014 or flash memory 2024, transmits the read transmission data to a network, and writes received data received from the network to a reception buffer processing area or the like provided on the recording medium.

[0053] The CPU 2012 may also cause all or a necessary portion of a file or database stored on a recording medium such as the flash memory 2024 to be read into the RAM 2014, and perform various types of processing on the data on the RAM 2014. The CPU 2012 then writes the processed data back to the recording medium.

[0054] Various types of information, such as various types of programs, data, tables, and databases, may be stored on the recording medium and subjected to information processing. The CPU 2012 may perform various types of processing on data read from the RAM 2014, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described herein and specified by the instruction sequences of the programs, and write the results back to the RAM 2014. The CPU 2012 may also search for information in a file, database, etc. on the recording medium. For example, if multiple entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored on the recording medium, the CPU 2012 may search for an entry that matches a condition specified by the attribute value of the first attribute from among the multiple entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.

[0055] The above-described programs or software modules may be stored in a computer-readable storage medium on or near the computer 2000. A recording medium such as a hard disk or RAM provided in a server system connected to a dedicated communication network or the Internet can be used as the computer-readable storage medium. The programs stored in the computer-readable storage medium may be provided to the computer 2000 via a network.

[0056] A program installed in computer 2000 and causing computer 2000 to function as ECU 110 may act on CPU 2012 or the like to cause computer 2000 to function as each unit of ECU 110. When the information processing described in these programs is read into computer 2000, it functions as each unit of ECU 110, which is a specific means formed by the software and the various hardware resources described above working together. These specific means then perform calculations or processing of information according to the intended use of computer 2000 in this embodiment, thereby constructing a specific ECU 110 according to the intended use.

[0057] Various embodiments have been described with reference to block diagrams. In the block diagrams, each block may represent (1) a stage of a process where an operation is performed or (2) a portion of an apparatus responsible for performing the operation. Particular stages and portions may be implemented by dedicated circuitry, programmable circuitry provided with computer-readable instructions stored on a computer-readable storage medium, and / or a processor provided with computer-readable instructions stored on a computer-readable storage medium. Dedicated circuitry may include digital and / or analog hardware circuitry, and may include integrated circuits (ICs) and / or discrete circuits. Programmable circuitry may include reconfigurable hardware circuitry including logical AND, logical OR, logical XOR, logical NAND, logical NOR, and other logic operations, flip-flops, registers, memory elements such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like.

[0058] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by an appropriate device, such that the computer-readable storage medium with instructions stored thereon constitutes at least a portion of an article of manufacture containing instructions that can be executed to provide means for performing the operations specified in a process or block diagram. Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, etc. More specific examples of computer-readable storage media may include floppy disks, diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), electrically erasable programmable read-only memory (EEPROM), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disc (DVD), Blu-ray disc, memory stick, integrated circuit card, etc.

[0059] The computer readable instructions may include either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state-setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk®, JAVA®, C++, etc., and conventional procedural programming languages ​​such as the “C” programming language or similar programming languages.

[0060] The computer-readable instructions may be provided to a processor or programmable circuitry of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, either locally or over a wide-area network (WAN) such as a local area network (LAN), the Internet, etc., and executed to provide means for performing the operations specified in the process steps or block diagrams described. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.

[0061] Although the present invention has been described above using embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It will be apparent to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the claims that such modifications and improvements can also be included within the technical scope of the present invention.

[0062] It should be noted that the execution order of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and that the processes can be performed in any order unless the output of a previous process is used in a subsequent process. Even if the operational flow in the claims, specifications, and drawings is described using "first," "next," etc. for convenience, this does not mean that the processes must be performed in this order. [Explanation of symbols]

[0063] 10 vehicles 20 Systems 100 ECU 110 ECU 111 ECU 120 ECU 121 ECU 180 CAN communication network 200 Processing section 210 Signal detection unit 220 Judgment section 280 Storage section 2000 Computer 2010 Host Controller 2012 CPU 2014 RAM 2020 Input / Output Controller 2022 Communication Interface 2024 flash memory 2026 ROM 2040 Input / Output Chip

Claims

1. a signal detection unit that detects a signal that is expected to be input to a communication network at a predetermined period; a determination unit that determines whether or not a detection timing of a second signal detected by the signal detection unit after a first signal set as a reference signal for determining whether an unauthorized signal is detected is within a predetermined range including a reference timing that is an integer multiple of the period after the detection timing of the first signal, and whether or not a deviation between the detection timing of the second signal and the reference timing is equal to or smaller than a first threshold value; Equipped with The determination unit is setting the second signal as a reference signal when a difference between a detection timing of the second signal and the reference timing is equal to or smaller than the first threshold; When a difference between the detection timing of the second signal and the reference timing exceeds the first threshold, the second signal is not set as the reference signal, and the first signal is set as the reference signal. Signal detection device.

2. the determination unit determines that the detection timing of the second signal is within the predetermined range including the reference timing when a deviation between the detection timing of the second signal and the reference timing is equal to or smaller than a second threshold value; The first threshold is smaller than the second threshold.

2. The signal detection device according to claim 1.

3. The determination unit determines that the second signal is a normal signal when the detection timing of the second signal is within the predetermined range.

3. A signal detection device according to claim 1 or 2.

4. The determination unit determines that the second signal is not a normal signal when the detection timing of the second signal is not within the predetermined range, and determines whether the second signal is an unauthorized signal based on information included in the second signal and / or another signal input to the communication network.

3. A signal detection device according to claim 1 or 2.

5. The determination unit determines that the second signal is not a normal signal when the detection timing of the second signal is not within the predetermined range, and determines whether the second signal is an unauthorized signal based on information included in the second signal and other signals input to the communication network.

4. The signal detection device according to claim 3.

6. The detection timing of the first signal is a timing when the signal detection unit completes receiving the first signal, and the detection timing of the second signal is a timing when the signal detection unit completes receiving the second signal.

2. The signal detection device according to claim 1.

7. The detection timing of the first signal is a timing when the signal detection unit completes receiving the first signal, and the detection timing of the second signal is a timing when the signal detection unit completes receiving the second signal.

3. The signal detection device according to claim 2.

8. A vehicle comprising the signal detection device according to claim 1 or 2.

9. detecting a signal expected to be input to a communication network at a predetermined period; a step of determining whether or not a detection timing of a second signal, which is detected after a first signal set as a reference signal for determining whether or not an illegal signal is detected among the signals detected in the detection step, is within a predetermined range including a reference timing which is a timing an integer multiple of the period after the detection timing of the first signal, and whether or not a deviation between the detection timing of the second signal and the reference timing is equal to or smaller than a first threshold value; setting the second signal as a reference signal when a difference between a detection timing of the second signal and the reference timing is equal to or smaller than the first threshold; when a difference between the detection timing of the second signal and the reference timing exceeds the first threshold, the second signal is not set as the reference signal, and the first signal is set as the reference signal. A method for providing the above.

Citation Information

Patent Citations

  • Electronic control unit, on-vehicle network system and communication method for vehicle

    JP2017073834A

  • Communication device, communication system and computer program

    JP2018117242A

  • Control system, control device, monitoring device

    JP2018156450A

  • Detection device, vehicle, detection method, and detection program

    WO2021065068A1