Automobile part SecOC fault test method and system

By constructing a SecOC fault testing model, it simulates the communication failure of automotive parts under real working conditions, and solves the problem of manual operation in the existing technology, and realizes high-reliability automated testing and vehicle condition evaluation.

CN120602295APending Publication Date: 2025-09-05XUZHOU XCMG AUTOMOTIVE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510891859.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

In the prior art, communication fault testing between automotive parts relies on manual operation, the test coverage is low, and the communication pressure under real working conditions cannot be simulated, and the test results are not reliable.

Method used

The pre-constructed SecOC fault testing model is used to accurately simulate the vehicle's communication failure under real operating conditions by simulating the fault type and compound fault type, including single fault and compound fault, and use mathematical models to describe the correlation between faults, and calculate the robustness index in combination with performance test parameters to realize automated testing.

Benefits of technology

It realizes accurate simulation of communication failures of automobile parts under real working conditions, improves the reliability of test results, avoids the limitations of manual operation, and can automatically evaluate the vehicle's condition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602295A_ABST
    Figure CN120602295A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile part SecOC fault test method and system, and belongs to the technical field of automobile fault detection.The automobile part SecOC fault test method comprises the steps that according to a fault test task of a target automobile, a corresponding simulation fault is selected by adopting a pre-constructed SecOC fault test model, and the fault of the target automobile is detected; and the simulated fault is input into the target vehicle for part performance test, so that the communication fault of the vehicle under the real working condition can be accurately simulated, the conditions of manual operation and low reliability of the test result are avoided, and the problems that the current fault test of the vehicle-mounted communication part depends on manual execution operation and the reliability of the test result is low are solved. And the communication pressure of the vehicle under the real working condition cannot be simulated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a SecOC fault testing method and system for automobile parts, belonging to the technical field of automobile fault detection. Background Art

[0002] SecOC (Security Onboard Communication), a key technology for ensuring on-board communication security, is widely used in the communication links between automotive components to prevent security threats such as data tampering, replay attacks, and information leakage. Currently, communication fault testing between automotive components is mainly done manually. This relies on manual execution, which can only test single faults one by one. This results in low test coverage and is unable to simulate the communication stress faced by vehicles under real-world operating conditions, making the test results unreliable. Summary of the Invention

[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a SecOC fault testing method and system for automotive components, which can accurately simulate the communication failure of the vehicle under real working conditions, avoid the situation where manual operation is required and the reliability of the test results is not high, and solve the problem that the current fault testing of automotive on-board communication components relies on manual operation and cannot simulate the communication pressure faced by the vehicle under real working conditions.

[0004] In order to solve the above technical problems, the present invention is implemented by adopting the following technical solutions: In one aspect, the present invention provides a SecOC fault testing method for automotive parts, comprising: Obtain the fault test task of the target vehicle; According to the fault test task of the target vehicle, the pre-built SecOC fault test model is used to select the corresponding simulated fault, and the simulated fault is input into the target vehicle for component performance testing; Determine the target vehicle condition based on component performance test results.

[0005] Furthermore, the fault test task of the target vehicle includes testing the fault type, the target vehicle speed and the communication load rate.

[0006] Furthermore, the method for constructing the pre-built SecOC fault test model includes: Determine the fault type based on the fault test task; Based on the fault type, determine the characteristics of different faults and the correlation between faults; According to the characteristics of different faults or the correlation between faults, the corresponding SecOC simulated faults are constructed.

[0007] Furthermore, the fault type includes a single fault type and a compound fault type; Among them, single fault types include data error faults, communication interruption faults, and signal interference faults; Compound fault types include causal faults and concurrent faults.

[0008] Furthermore, the construction of corresponding SecOC simulated faults according to the characteristics of different faults or the correlation between faults includes: Based on the characteristics of a single fault type, the data bit flip probability, data loss probability, and data repetition frequency corresponding to data error faults are obtained; the physical link disconnection duration, communication module fault triggering time interval, and protocol handshake failure retry count corresponding to communication interruption faults are obtained; and the electromagnetic interference intensity, radio frequency interference frequency band, and power supply noise voltage fluctuation range corresponding to signal interference faults are obtained. Corresponding SecOC simulated faults are established based on the data bit flip probability, data loss probability, and data repetition frequency, the duration of physical link disconnection, the communication module fault triggering time interval, the number of protocol handshake failure retries, the electromagnetic interference intensity, the radio frequency interference frequency band, and the power supply noise voltage fluctuation range.

[0009] Furthermore, the construction of corresponding SecOC simulated faults according to the characteristics of different faults or the correlation between faults also includes: determining the causal relationship between causal faults and the time synchronization relationship between concurrent faults according to the correlation between compound fault types.

[0010] Furthermore, determining the causal relationship between causal faults based on the association between compound fault types includes: According to the correlation between compound fault types, determine the preceding cause and subsequent result of the causal fault; The mapping relationship between the preceding inducement and the subsequent result is expressed by the following formula: ; represents the probability of data bit flipping, as the post-order result; Indicates the intensity of electromagnetic interference, as a pre-order inducement; Represents a mapping function.

[0011] Furthermore, determining the time synchronization relationship between concurrent faults based on the association between compound fault types includes: determining, based on the association between compound fault types, timestamps for aligning triggering of multiple faults within the same sampling period.

[0012] Furthermore, determining the target vehicle condition based on component performance test results includes: Obtaining test parameters during component performance testing; the test parameters include message error rate, average response delay, system resource status, and long-term performance degradation rate; The message error rate is calculated using the following formula: ; Indicates the message error rate; Indicates the number of packets discarded by the receiving end due to verification failure. Indicates the number of SecOC messages sent by the tested components of the target vehicle; The average response delay is calculated by the following formula: ; represents the average response delay; Indicates the number of packets that successfully passed authentication during the statistical period. Indicates the first i The delay of a successfully authenticated message; ; Indicates the moment when the receiving end receives valid data. Indicates the time when the sender sends data; System resource status including vehicle ECU CPU load rate , Can be read directly; The long-term performance degradation rate is calculated using the following formula: ; Indicates the performance degradation rate during long-term operation; 、 represents the weight coefficient, ; Indicates endpoint response delay, Indicates initial response delay, Indicates the endpoint message error rate, Indicates the initial message error rate.

[0013] The robustness index of the target vehicle under fault conditions is calculated based on the test parameters. The robustness index is calculated using the following formula: ; represents the robustness index; Indicates the message error rate weight coefficient, represents the average response delay weight coefficient, Indicates the message error rate tolerance threshold. represents the average response delay tolerance threshold; According to the robustness index, the condition of the target vehicle is determined.

[0014] The present invention also provides a SecOC fault testing system for automotive parts, comprising: An acquisition module is used to acquire the fault test task of the target vehicle; The test module is used to select the corresponding simulated faults based on the fault test tasks of the target vehicle using the pre-built SecOC fault test model, and input the simulated faults into the target vehicle to perform component performance testing; The evaluation module is used to determine the target vehicle condition based on the component performance test results.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. Based on the fault testing task of the target vehicle, the present invention uses a pre-built SecOC fault testing model to select the corresponding simulated fault, and inputs the simulated fault into the target vehicle for component performance testing. This can accurately simulate the vehicle's communication failure under real working conditions, avoiding the situation where manual operation and low reliability of test results are required. This solves the current problem that vehicle-mounted communication component fault testing relies on manual operation and cannot simulate the communication pressure faced by the vehicle under real working conditions.

[0016] 2. Based on the characteristics of a single fault type, the present invention obtains the data bit flip probability, data loss probability, and data repetition frequency corresponding to data error faults, the physical link disconnection duration, communication module fault triggering time interval, and protocol handshake failure retry times corresponding to communication interruption faults, and the electromagnetic interference intensity, radio frequency interference frequency band, and power supply noise voltage fluctuation range corresponding to signal interference faults. It can simulate the SecOC simulated fault corresponding to a specific single fault type.

[0017] 3. The present invention determines the causal relationship between causal faults and the time synchronization relationship between concurrent faults based on the correlation between compound fault types, and then simulates the SecOC simulated fault corresponding to the compound fault type. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flow chart of a SecOC fault testing method for automotive parts provided by an embodiment of the present invention; Figure 2This is a flow chart of a method for constructing a pre-built SecOC fault test model provided by an embodiment of the present invention; Figure 3 The present invention provides an automotive component SecOC fault testing system. DETAILED DESCRIPTION

[0019] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention.

[0020] Example 1 like Figure 1 As shown, a SecOC fault testing method for automobile parts includes: Obtain the fault test task of the target vehicle; According to the fault test task of the target vehicle, a pre-built SecOC fault test model is used to select the corresponding simulated fault, and the simulated fault is input into the target vehicle to perform component performance testing. The construction method of the pre-built SecOC fault test model includes: Determine the fault type based on the fault test task. It should be noted that the fault test task of the target vehicle includes testing the fault type, target vehicle speed, and communication load rate. Specifically: Build a test bench containing necessary hardware components based on the interfaces and communication protocols of the target vehicle components, including but not limited to the components under test, power supply, communication bus interface, signal injection equipment, diagnostic tools, and necessary wiring harnesses and connectors; Select and configure a test software platform compatible with the hardware environment to control the hardware, execute test scripts, monitor the bus, and collect data; like Figure 2 As shown, the fault types include single fault types and compound fault types, wherein the single fault types include data error faults, communication interruption faults and signal interference faults; According to the characteristics of data error faults, the data bit flip probability corresponding to the data error faults is obtained. , data loss probability and data repetition frequency ; According to the probability of data bit flip , data loss probability and data repetition frequency , establish the corresponding SecOC simulated fault; According to the characteristics of communication interruption faults, obtain the physical link disconnection duration corresponding to the communication interruption fault , Communication module fault triggering time interval And the number of retries if the protocol handshake fails ; According to the duration of physical link disconnection , Communication module fault triggering time interval And the number of retries if the protocol handshake fails , establish the corresponding SecOC simulated fault; According to the characteristics of signal interference type faults, obtain the electromagnetic interference intensity corresponding to the signal interference type faults , radio frequency interference band And the power supply noise voltage fluctuation range ; According to the electromagnetic interference intensity , radio frequency interference band And the power supply noise voltage fluctuation range , establish the corresponding SecOC simulated fault.

[0021] Compound fault types include causal faults and concurrent faults; It should be noted that, in this embodiment, the composite fault type is constructed based on a single fault type; Based on the correlation between causal faults, for example, data error faults and signal interference faults have a certain causal relationship. Taking the electromagnetic interference intensity as the preceding cause and the data bit flip probability as the subsequent result, the following mapping relationship exists between the two: ; Represents the mapping function, specifically: ; According to the mapping relationship, a SecOC simulation fault corresponding to the causal fault is constructed; Based on the correlation between concurrent faults, the timestamps of multiple faults triggered within the same sampling period are aligned. For example, a communication interruption fault and a data error fault may occur simultaneously, or electromagnetic interference of a certain intensity may occur for 0.5 seconds, followed by a data bit flip after a 20-ms interval. By aligning the timestamps of multiple faults triggered in the same sampling period, a SecOC simulated fault corresponding to the concurrent fault is constructed.

[0022] Based on the specific fault testing task, determine the SecOC simulated fault corresponding to the specific fault, the timing of the SecOC simulated fault input, the speed of the target vehicle, and the communication load, and perform fault testing on the target vehicle. Specifically, determine the target vehicle condition based on the component performance test results. Obtain test parameters during component performance testing; the test parameters include: Message error rate, calculated using the following formula: ; Indicates the message error rate; Indicates the number of packets discarded by the receiving end due to verification failure. Indicates the number of SecOC messages sent by the tested components of the target vehicle; Average response delay, calculated using the following formula: ; represents the average response delay; Indicates the number of packets that successfully passed authentication during the statistical period. Indicates the first i The delay of a successfully authenticated message; ; Indicates the moment when the receiving end receives valid data. Indicates the time when the sender sends data; System resource status, including the vehicle ECU's CPU load rate , Can be read directly, in this embodiment, The threshold is set to 80%, that is, It has a significant impact on performance; The long-term running performance attenuation rate is calculated by the following formula: ; Indicates the performance degradation rate during long-term operation; 、 represents the weight coefficient, ; represents the initial response delay, the average response delay measured under the fault-free baseline state; represents the endpoint response delay, which is the average response delay measured during the fault test of the target vehicle; Indicates the initial message error rate, which is the message error rate measured under the fault-free baseline condition; Indicates the endpoint message error rate, which is the message error rate measured during the fault test of the target vehicle; Calculate the robustness index of the target vehicle during the test based on the message error rate, average response delay, system resource status, and long-term performance degradation rate; The robustness index is calculated by the following formula: ; represents the robustness index; Indicates the message error rate weight coefficient, represents the average response delay weight coefficient; , , ; Indicates the message error rate tolerance threshold. ; represents the average response delay tolerance threshold, ; The robustness index is used as the fault test result. If the calculated robustness index does not exceed the preset threshold, it means that the target vehicle is in poor condition and individual components need to be repaired or replaced; otherwise, the target vehicle is in good condition.

[0023] Example 2 like Figure 3 As shown, a SecOC fault testing system for automotive parts includes: An acquisition module is used to acquire the fault test task of the target vehicle; The test module is used to select the corresponding simulated faults based on the fault test tasks of the target vehicle using the pre-built SecOC fault test model, and input the simulated faults into the target vehicle to perform component performance testing; The evaluation module is used to determine the target vehicle condition based on the component performance test results.

[0024] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage CD-ROMs, optical storage, etc.) containing computer-usable program code.

[0025] The present application is described with reference to the flowcharts of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 a process or multiple processes or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0026] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A function specified in a process or multiple processes.

[0027] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 The steps of a specified function in a process or multiple processes.

[0028] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which are all protected by the present invention.

Claims

1. A SecOC fault testing method for automotive parts, characterized in that: include: Obtain the fault test task of the target vehicle; According to the fault test task of the target vehicle, the pre-built SecOC fault test model is used to select the corresponding simulated fault, and the simulated fault is input into the target vehicle for component performance testing; Determine the target vehicle condition based on component performance test results.

2. The SecOC fault testing method for automotive parts according to claim 1, characterized in that: The fault test task of the target vehicle includes testing the fault type, the target vehicle speed and the communication load rate.

3. The SecOC fault testing method for automotive parts according to claim 1, characterized in that: The method for constructing the pre-built SecOC fault test model includes: Determine the fault type based on the fault test task; Based on the fault type, determine the characteristics of different faults and the correlation between faults; According to the characteristics of different faults or the correlation between faults, the corresponding SecOC simulated faults are constructed.

4. The SecOC fault testing method for automotive parts according to claim 3, characterized in that: The fault types include single fault types and compound fault types; Among them, single fault types include data error faults, communication interruption faults, and signal interference faults; Compound fault types include causal faults and concurrent faults.

5. The automotive component SecOC fault testing method according to claim 4, characterized in that: The corresponding SecOC simulated fault is constructed according to the characteristics of different faults or the correlation between faults, including: Based on the characteristics of a single fault type, the data bit flip probability, data loss probability, and data repetition frequency corresponding to data error faults are obtained; the physical link disconnection duration, communication module fault triggering time interval, and protocol handshake failure retry count corresponding to communication interruption faults are obtained; and the electromagnetic interference intensity, radio frequency interference frequency band, and power supply noise voltage fluctuation range corresponding to signal interference faults are obtained. Corresponding SecOC simulated faults are established based on the data bit flip probability, data loss probability, and data repetition frequency, the duration of physical link disconnection, the communication module fault triggering time interval, the number of protocol handshake failure retries, the electromagnetic interference intensity, the radio frequency interference frequency band, and the power supply noise voltage fluctuation range.

6. The SecOC fault testing method for automotive parts according to claim 4, characterized in that: The constructing of corresponding SecOC simulated faults according to the characteristics of different faults or the association between faults also includes: determining the causal relationship between causal faults and the time synchronization relationship between concurrent faults according to the association between compound fault types.

7. The automotive component SecOC fault testing method according to claim 6, characterized in that: Determining the causal relationship between causal faults based on the association between compound fault types includes: According to the correlation between compound fault types, determine the preceding cause and subsequent result of the causal fault; The mapping relationship between the preceding inducement and the subsequent result is expressed by the following formula: ; represents the probability of data bit flipping, as the post-order result; Indicates the intensity of electromagnetic interference, as a pre-order inducement; Represents a mapping function.

8. The automotive component SecOC fault testing method according to claim 6, characterized in that: Determining the time synchronization relationship between concurrent faults based on the association between compound fault types includes: determining, based on the association between compound fault types, timestamps for aligning triggering of multiple faults within the same sampling period.

9. The automotive component SecOC fault testing method according to claim 1, characterized in that: Determining the target vehicle condition based on component performance test results includes: Obtaining test parameters during component performance testing; the test parameters include message error rate, average response delay, system resource status, and long-term performance degradation rate; The message error rate is calculated using the following formula: ; Indicates the message error rate; Indicates the number of packets discarded by the receiving end due to verification failure. Indicates the number of SecOC messages sent by the tested components of the target vehicle; The average response delay is calculated by the following formula: ; represents the average response delay; Indicates the number of packets that successfully passed authentication during the statistical period. Indicates the first i The delay of a successfully authenticated message; ; Indicates the moment when the receiving end receives valid data. Indicates the time when the sender sends data; System resource status including vehicle ECU CPU load rate , Can be read directly; The long-term performance degradation rate is calculated using the following formula: ; Indicates the performance degradation rate during long-term operation; 、 represents the weight coefficient, ; Indicates endpoint response delay, Indicates initial response delay, Indicates the endpoint message error rate, Indicates the initial message error rate; The robustness index of the target vehicle under fault conditions is calculated based on the test parameters. The robustness index is calculated using the following formula: ; represents the robustness index; Indicates the message error rate weight coefficient, represents the average response delay weight coefficient, Indicates the message error rate tolerance threshold. represents the average response delay tolerance threshold; According to the robustness index, the condition of the target vehicle is determined.

10. A SecOC fault testing system for automotive parts, characterized in that: include: An acquisition module is used to acquire the fault test task of the target vehicle; The test module is used to select the corresponding simulated faults based on the fault test tasks of the target vehicle using the pre-built SecOC fault test model, and input the simulated faults into the target vehicle to perform component performance testing; The evaluation module is used to determine the target vehicle condition based on the component performance test results.