Reliability test case design method and device for vehicle-mounted fault diagnosis system

CN117519113BActive Publication Date: 2026-09-22VOYAH AUTOMOBILE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311766035.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2026-09-22
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

[0003]本发明通过提供车载故障诊断系统的可靠性测试用例设计方法及装置,解决了如何设计车载故障诊断系统的可靠性测试用例的技术问题

Benefits of technology

附图说明

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117519113B_ABST
    Figure CN117519113B_ABST
Patent Text Reader

Abstract

The application discloses a reliability test case design method and device of a vehicle-mounted fault diagnosis system, and relates to the technical field of vehicle-mounted fault diagnosis.The application first determines functional modules of the vehicle-mounted fault diagnosis system and functional components of each functional module, then determines the functions of each functional component, and finally determines the detection steps in the reliability test case of each functional component and the expected results of the detection steps according to the functional coupling relationship of the functional components, so that the reliability test case of the vehicle-mounted fault diagnosis system can be reasonably and effectively designed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle-mounted fault diagnosis technology, and in particular to a method and apparatus for designing reliability test cases for vehicle-mounted fault diagnosis systems. Background Technology

[0002] On-board diagnostic systems (OBDs) are used to diagnose various vehicle faults. The reliability of the OOD system determines the accuracy of the diagnostic results. If the OOD system is unreliable, it may fail to report faults when they occur or falsely report faults when none exist, affecting the normal use of the vehicle. Therefore, reliability testing of OOD systems is necessary. Reliability testing of OOD systems requires the design of reliability test cases, but currently, the industry lacks a reasonable and effective scheme for designing reliability test cases. Summary of the Invention

[0003] This invention solves the technical problem of how to design reliability test cases for vehicle-mounted fault diagnosis systems by providing a method and apparatus for designing reliability test cases for vehicle-mounted fault diagnosis systems.

[0004] On the one hand, the present invention provides the following technical solution:

[0005] A method for designing reliability test cases for an on-board fault diagnosis system includes:

[0006] Determine the functional modules that make up the vehicle-mounted fault diagnosis system and the functional components that make up each of the functional modules;

[0007] Determine the function of each of the aforementioned functional components;

[0008] Based on the function of the functional component, determine the detection steps and expected results of the detection steps in the reliability test cases for each functional component.

[0009] The reliability test case includes test steps, which sequentially include: initializing the vehicle fault diagnosis system to clear fault information, simulating vehicle faults, and the detection step.

[0010] Optionally, the detection step includes a signal reading step;

[0011] The step of determining the detection steps and expected results of the detection steps in the reliability test cases for each functional component based on the function of the functional component includes:

[0012] The signal reading step and the expected result of the signal reading step for each functional component are determined based on the function of the functional component.

[0013] Optionally, the functional module includes a fault detection module, and the functional components of the fault detection module include a monitoring component and an arbitration component;

[0014] The monitoring component is used to detect faults, and the arbitration component is used to verify whether a fault has occurred.

[0015] The signal reading step corresponding to the monitoring component is: reading the fault handling signal of the arbitration component;

[0016] The expected result of the signal reading step corresponding to the monitoring component is that the fault handling signal is the target value.

[0017] Optionally, the functional module includes a fault management module and a fault processing module. The functional components of the fault management module include a fault information transmission component, and the functional components of the fault processing module include a fault processing component.

[0018] The function of the fault information transmission component is to transmit the fault information to the fault processing component, and the function of the fault processing component is to perform temporary fault processing after the fault occurs.

[0019] The signal reading step corresponding to the fault information transmission component is: reading the fault receiving signal of the fault processing component;

[0020] The expected result of the signal reading step corresponding to the fault information transmission component is that the fault received signal is the target value.

[0021] Optionally, the detection step includes an information reading step;

[0022] The step of determining the detection steps and expected results of the detection steps in the reliability test cases for each functional component based on the function of the functional component includes:

[0023] The information reading step and the expected result of the information reading step for each functional component are determined based on the function of the functional component.

[0024] Optionally, the functional module includes a fault management module and a fault query module. The functional components of the fault management module include a write storage component, and the functional components of the fault query module include a read storage information component.

[0025] The function of the write storage component is to store the fault information and the environmental data when the fault occurs, and the function of the read storage information component is to read the fault information and the environmental data.

[0026] The information reading step corresponding to the write storage component is: reading the current fault information of the vehicle fault diagnosis system;

[0027] The expected result of the information reading step corresponding to the write storage component is: successfully reading the current fault information of the vehicle fault diagnosis system.

[0028] Optionally, after determining the functional modules constituting the vehicle-mounted fault diagnosis system and the functional components constituting each functional module, the system further includes:

[0029] Determine the impact of failure on each of the aforementioned functional components;

[0030] The severity of a failure of a functional component is determined based on the impact of failure on each of the aforementioned functional components;

[0031] The test priority in the reliability test cases of this functional component is determined by the fault severity.

[0032] On the other hand, the present invention also provides the following technical solution:

[0033] A reliability test case design device for an on-board fault diagnosis system includes:

[0034] The first determining module is used to determine the functional modules that make up the vehicle fault diagnosis system and the functional components that make up each of the functional modules.

[0035] The second determining module is used to determine the function of each of the functional components;

[0036] The third determining module is used to determine the detection steps and the expected results of the detection steps in the reliability test cases of each functional component based on the function of the functional component.

[0037] The reliability test case includes test steps, which sequentially include: initializing the vehicle fault diagnosis system to clear fault information, simulating vehicle faults, and the detection step.

[0038] Optionally, the detection step includes a signal reading step;

[0039] The third determining module is further configured to:

[0040] The signal reading step and the expected result of the signal reading step for each functional component are determined based on the function of the functional component.

[0041] Optionally, the functional module includes a fault detection module, and the functional components of the fault detection module include a monitoring component and an arbitration component;

[0042] The monitoring component is used to detect faults, and the arbitration component is used to verify whether a fault has occurred.

[0043] The signal reading step corresponding to the monitoring component is: reading the fault handling signal of the arbitration component;

[0044] The expected result of the signal reading step corresponding to the monitoring component is that the fault handling signal is the target value.

[0045] Optionally, the functional module includes a fault management module and a fault processing module. The functional components of the fault management module include a fault information transmission component, and the functional components of the fault processing module include a fault processing component.

[0046] The function of the fault information transmission component is to transmit the fault information to the fault processing component, and the function of the fault processing component is to perform temporary fault processing after the fault occurs.

[0047] The signal reading step corresponding to the fault information transmission component is: reading the fault receiving signal of the fault processing component;

[0048] The expected result of the signal reading step corresponding to the fault information transmission component is that the fault received signal is the target value.

[0049] Optionally, the detection step includes an information reading step;

[0050] The third determining module is further configured to:

[0051] The information reading step and the expected result of the information reading step for each functional component are determined based on the function of the functional component.

[0052] Optionally, the functional module includes a fault management module and a fault query module. The functional components of the fault management module include a write storage component, and the functional components of the fault query module include a read storage information component.

[0053] The function of the write storage component is to store the fault information and the environmental data when the fault occurs, and the function of the read storage information component is to read the fault information and the environmental data.

[0054] The information reading step corresponding to the write storage component is: reading the current fault information of the vehicle fault diagnosis system;

[0055] The expected result of the information reading step corresponding to the write storage component is: successfully reading the current fault information of the vehicle fault diagnosis system.

[0056] Optionally, the reliability test case design device for the vehicle-mounted fault diagnosis system also includes:

[0057] The fourth determining module is used to determine the impact of a failure on each of the functional components;

[0058] The severity of a failure of a functional component is determined based on the impact of failure on each of the aforementioned functional components;

[0059] The test priority in the reliability test cases of this functional component is determined by the fault severity.

[0060] On the other hand, the present invention also provides the following technical solution:

[0061] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a reliability test case design method for any of the above-described vehicle-mounted fault diagnosis systems.

[0062] On the other hand, the present invention also provides the following technical solution:

[0063] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the reliability test case design method for any of the above-described vehicle-mounted fault diagnosis systems.

[0064] One or more technical solutions provided by this invention have at least the following technical effects or advantages: Attached Figure Description

[0065] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This is a flowchart of the reliability test case design method for the vehicle-mounted fault diagnosis system in this embodiment of the invention;

[0067] Figure 2 This is a schematic diagram of an on-board fault diagnosis system in an embodiment of the present invention;

[0068] Figure 3 This is a schematic diagram of the reliability test case design device for the vehicle-mounted fault diagnosis system in an embodiment of the present invention. Detailed Implementation

[0069] This invention provides a method and apparatus for designing reliability test cases for vehicle-mounted fault diagnosis systems, thus solving the technical problem of how to design reliability test cases for such systems.

[0070] To better understand the technical solution of the present invention, the technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0071] like Figure 1 As shown, the reliability test case design method for the vehicle-mounted fault diagnosis system according to an embodiment of the present invention includes:

[0072] Step S1: Determine the functional modules that make up the vehicle-mounted fault diagnosis system and the functional components that make up each functional module;

[0073] Step S2: Determine the function of each functional component;

[0074] Step S3: Determine the detection steps and expected results of the detection steps in the reliability test cases for each functional component based on the function of the functional component.

[0075] The reliability test cases include test steps, which in turn include: initializing the on-board fault diagnosis system to clear fault information, simulating vehicle faults, and detection steps.

[0076] In step S1, based on the relevant technical documents for the development of the vehicle-mounted fault diagnosis system, including system development process documents, software architecture documents, software requirements documents, and detailed software design documents, all functional modules constituting the vehicle-mounted fault diagnosis system and all functional components constituting each functional module can be determined. For example... Figure 2 As shown, the vehicle-mounted fault diagnosis system mainly includes a fault detection module, a fault management module, a fault processing module, and a fault query module. The fault detection module includes a monitoring component, an arbitration component, and a reporting component. The fault management module includes an initialization component, a write-to-storage component, an application control component, and a fault information transmission component. The fault processing module includes fault processing component A, fault processing component B, and fault processing component C, etc. The fault query module includes a diagnostic service call component and a read-from-storage-information component.

[0077] Step S2 determines that the monitoring component's function is to detect faults, the arbitration component's function is to verify whether a fault has occurred, the reporting component's function is to transmit the fault confirmation result to the fault management module, the initialization component's function is to initialize the fault state and fault storage data, the write storage component's function is to store fault information and environmental data at the time of the fault, the application control component's function is to control fault-related application functions after fault confirmation, the fault information transmission component's function is to transmit fault information to a certain fault handling component, the fault handling component A's function is to perform temporary fault handling after fault A occurs, the fault handling component B's function is to perform temporary fault handling after fault B occurs, the fault handling component C's function is to perform temporary fault handling after fault C occurs, the diagnostic service call component's function is to be responsible for the request and sending management of diagnostic services, and the read storage information component's function is to read fault information and environmental data at the time of the fault.

[0078] The reliability test cases for an on-board fault diagnosis system include test cases for each functional component. Each functional component's reliability test case includes test steps and expected results for detection steps. The test steps sequentially include initializing the on-board fault diagnosis system to clear fault information, simulating a vehicle fault, and a detection step. The detection step is used to read test data to determine the reliability of the functional component under test. It can be understood that after simulating a vehicle fault, if the functional component under test is reliable, the result of the detection step will definitely be the expected result; if the functional component under test is unreliable, the result of the detection step will definitely be an unexpected result. Therefore, after determining the detection steps and expected results of the functional component under test, the functional component under test can be tested according to the test steps, and the reliability of the functional component under test can be determined based on the expected results of the detection steps.

[0079] For step S3, this embodiment of the invention provides two methods for determining the detection steps and expected results of the detection steps of the functional component under test based on the function of the functional component.

[0080] The first method includes a signal reading step; step S3 includes: determining the signal reading step and the expected result of the signal reading step for each functional component based on the function of the functional component.

[0081] For example, the component under test is a monitoring component. Since the monitoring component detects faults and the arbitration component verifies whether a fault has occurred, assuming the arbitration component is reliable, if the monitoring component is reliable, the fault handling signal of the arbitration component will be set to 1 after a vehicle fault occurs; otherwise, it will be set to 0. Therefore, after confirming the aforementioned functional coupling between the monitoring and arbitration components, the reliability of the monitoring component can be determined based on the fault handling signal of the arbitration component. In other words, in the reliability test case for the monitoring component, the signal reading step is: read the fault handling signal of the arbitration component; the expected result of the signal reading step is: the fault handling signal is the target value (i.e., 1). After testing the monitoring component based on the reliability test case, if the fault handling signal is the target value, it means the monitoring component successfully detected the fault, indicating that the monitoring component is reliable; if the fault handling signal is not the target value, it means the monitoring component failed to detect the fault, indicating that the monitoring component is unreliable. In addition, there are several ways to simulate vehicle malfunctions when testing monitoring components. For example, the vehicle mode management state can be switched from the abandoned state to the convenient state, so that a certain monitor of the monitoring component under test is in an abnormal working condition, thereby generating a vehicle malfunction.

[0082] For example, the component under test is a fault information transmission component. Since the function of the fault information transmission component is to transmit fault information to a fault handling component, and the function of the fault handling component is to perform temporary fault handling after a fault occurs, assuming the fault handling component is reliable, if the fault information transmission component is reliable, the fault receiving signal of the fault handling component will be set to 1 after a vehicle fault occurs; otherwise, the fault receiving signal will be set to 0. Therefore, after confirming the aforementioned functional coupling relationship between the fault information transmission component and the fault handling component, the reliability of the fault information transmission component can be determined based on the fault receiving signal of the fault handling component. That is, in the reliability test case of the fault information transmission component, the signal reading step is: read the fault receiving signal of the fault handling component; the expected result of the signal reading step is: the fault receiving signal is the target value (i.e., 1). After testing the fault information transmission component based on the reliability test case, if the fault receiving signal is the target value, it means the fault information transmission component successfully transmitted the fault information, indicating that the fault information transmission component is reliable; if the fault receiving signal is not the target value, it means the fault information transmission component failed to transmit the fault information, indicating that the fault information transmission component is unreliable. In addition, there are various ways to simulate vehicle faults when testing the fault information transmission component. For example, it can simulate tire pressure being higher than the critical value. In this case, the fault receiving signal of the fault handling component is the tire pressure abnormality fault indicator control signal. The tire pressure abnormality fault indicator control signal is 1, which means that the indicator light is on; the tire pressure abnormality fault indicator control signal is 0, which means that the indicator light is off.

[0083] The second type includes an information reading step in the detection process; step S3 includes: determining the information reading step and the expected result of the information reading step for each functional component based on the function of the functional component.

[0084] For example, the component under test is a write storage component. Since the write storage component stores fault information and environmental data at the time of a fault, and the read storage component reads fault information and environmental data, assuming the read storage component is reliable, if the write storage component is reliable, it should be able to successfully read the fault information after a vehicle fault occurs. Therefore, after confirming the aforementioned functional coupling between the write storage component and the read storage component, the reliability of the write storage component can be determined by whether the read storage component can successfully read the fault information. That is, in the reliability test case for the write storage component, the signal reading step is: read the current fault information of the vehicle's fault diagnosis system; the expected result of the signal reading step is: successfully read the current fault information of the vehicle's fault diagnosis system. After testing the write storage component based on the reliability test case, if the current fault information of the vehicle's fault diagnosis system is successfully read, the write storage component is reliable; if reading the current fault information fails, the write storage component is unreliable. In addition, there are several ways to simulate vehicle faults when testing the write to the storage component. For example, a busoff fault can be created by shorting CAN high and CAN low, recovering after 20 seconds, and then disconnecting a communication node of the vehicle's electronic control unit.

[0085] As can be seen from the above, the reliability test case design method of the vehicle fault diagnosis system in this embodiment of the invention first determines the functional modules that make up the vehicle fault diagnosis system and the functional components that make up each functional module, then determines the function of each functional component, and finally determines the detection steps and expected results of the reliability test cases of each functional component based on the functional coupling relationship of the functional components. This method can reasonably design effective reliability test cases for the vehicle fault diagnosis system.

[0086] In addition, the reliability test cases for functional components also include test priorities. After step S3, the reliability test case design method for the vehicle fault diagnosis system can further include: determining the failure impact of each functional component; determining the failure severity of each functional component based on its failure impact; and determining the failure severity as the test priority in the reliability test cases for that functional component. The failure impact of functional components can be divided into four levels: Level 1 affects the safety of the vehicle fault diagnosis system, causing the system to lose its main functions and become inoperable; Level 2 allows the vehicle fault diagnosis system to still operate, but with a severely reduced operating level; Level 3 allows the vehicle fault diagnosis system to still operate, but affects the ease and convenience of using some functions; and Level 4 has little or no impact on the vehicle fault diagnosis system, within the allowable range of system deviation. The failure severity for Level 1 is 1, for Level 2 it is 2, for Level 3 it is 3, and for Level 4 it is 4. If the impact of failures in the monitoring component, fault information transmission component, and write storage component are classified as Level 2, Level 3, and Level 2 respectively, then the test priorities for the monitoring component, fault information transmission component, and write storage component are 2, 3, and 2 respectively. The lower the test priority, the greater the impact of a failure in the functional component, and the more likely that functional component needs to be prioritized for reliability testing.

[0087] like Figure 3 As shown, embodiments of the present invention also provide a reliability test case design device for an on-board fault diagnosis system, comprising:

[0088] The first determining module is used to determine the functional modules that make up the vehicle-mounted fault diagnosis system and the functional components that make up each functional module.

[0089] The second determining module is used to determine the function of each functional component;

[0090] The third determination module is used to determine the detection steps and expected results of the detection steps in the reliability test cases of each functional component based on the function of the functional component.

[0091] The reliability test cases include test steps, which in turn include: initializing the on-board fault diagnosis system to clear fault information, simulating vehicle faults, and detection steps.

[0092] Furthermore, the detection step may include a signal reading step;

[0093] The third determining module can also be used to: determine the signal reading steps and expected results of each functional component based on the function of the functional component.

[0094] Furthermore, the signal reading steps corresponding to the monitoring component are as follows: read the fault handling signal of the arbitration component; the expected result of the signal reading steps corresponding to the monitoring component is: the fault handling signal is the target value.

[0095] Furthermore, the signal reading step corresponding to the fault information transmission component is: reading the fault receiving signal of the fault processing component; the expected result of the signal reading step corresponding to the fault information transmission component is: the fault receiving signal is the target value.

[0096] Furthermore, the detection steps may include an information reading step;

[0097] The third determining module can also be used to: determine the information reading steps and expected results of each functional component based on the function of the functional component.

[0098] Furthermore, the information reading step corresponding to the write storage component is: read the current fault information of the vehicle fault diagnosis system; the expected result of the information reading step corresponding to the write storage component is: successfully read the current fault information of the vehicle fault diagnosis system.

[0099] Furthermore, the reliability test case design device for the vehicle-mounted fault diagnosis system may also include: a fourth determination module, used to determine the fault impact of each functional component; determine the fault severity of the functional component based on the fault impact of each functional component; and determine the test priority of the reliability test case of the functional component as the fault severity.

[0100] Based on the same inventive concept as the reliability test case design method for the vehicle fault diagnosis system described above, this embodiment of the invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of any of the methods in the reliability test case design method for the vehicle fault diagnosis system described above.

[0101] The bus architecture (represented by a bus) can include any number of interconnected buses and bridges, linking various circuits including one or more processors (represented by a processor) and memory (represented by memory). The bus can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface between the bus and receivers and transmitters. Receivers and transmitters can be the same element, a transceiver, providing a unit for communicating with various other devices over a transmission medium. The processor is responsible for managing the bus and general processing, while memory can be used to store data used by the processor during operation.

[0102] Since the electronic device described in this embodiment of the invention is the electronic device used to implement the reliability test case design method of the vehicle fault diagnosis system in this embodiment of the invention, those skilled in the art can understand the specific implementation methods and various variations of the electronic device in this embodiment of the invention based on the reliability test case design method of the vehicle fault diagnosis system described in this embodiment of the invention. Therefore, how the electronic device implements the method in this embodiment of the invention will not be described in detail here. Any electronic device used by those skilled in the art to implement the reliability test case design method of the vehicle fault diagnosis system in this embodiment of the invention falls within the scope of protection of this invention.

[0103] Based on the same inventive concept as the reliability test case design method of the above-mentioned vehicle fault diagnosis system, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the reliability test case design method of any of the above-mentioned vehicle fault diagnosis systems.

[0104] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0106] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The function specified in one or more boxes.

[0107] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0108] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0109] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A method for designing reliability test cases for an on-board fault diagnosis system, characterized in that, include: Determine the functional modules that make up the vehicle-mounted fault diagnosis system and the functional components that make up each of the functional modules; Determine the function of each of the aforementioned functional components; Based on the function of the functional component, determine the detection steps and expected results of the detection steps in the reliability test cases for each functional component. The reliability test case includes test steps, which sequentially include: initializing the vehicle fault diagnosis system to clear fault information, simulating vehicle faults, and the detection steps. The detection step includes a signal reading step; the step of determining the detection step and the expected result of the detection step in the reliability test case of each functional component according to the function of the functional component includes: determining the signal reading step and the expected result of the signal reading step of each functional component according to the function of the functional component; The functional module includes a fault detection module, and the functional components of the fault detection module include a monitoring component and an arbitration component. The function of the monitoring component is to detect faults, and the function of the arbitration component is to verify whether a fault has occurred. The signal reading step corresponding to the monitoring component is to read the fault processing signal of the arbitration component. The expected result of the signal reading step corresponding to the monitoring component is that the fault processing signal is the target value.

2. The reliability test case design method for the vehicle-mounted fault diagnosis system as described in claim 1, characterized in that, The functional module further includes a fault management module and a fault handling module. The functional components of the fault management module include a fault information transmission component, and the functional components of the fault handling module include a fault handling component. The function of the fault information transmission component is to transmit the fault information to the fault processing component, and the function of the fault processing component is to perform temporary fault processing after the fault occurs. The signal reading step corresponding to the fault information transmission component is: reading the fault receiving signal of the fault processing component; The expected result of the signal reading step corresponding to the fault information transmission component is that the fault received signal is the target value.

3. The reliability test case design method for the vehicle-mounted fault diagnosis system as described in claim 1, characterized in that, The detection steps also include an information reading step; The step of determining the detection steps and expected results of the detection steps in the reliability test cases for each functional component based on the function of the functional component further includes: The information reading step and the expected result of the information reading step for each functional component are determined based on the function of the functional component.

4. The reliability test case design method for the vehicle-mounted fault diagnosis system as described in claim 3, characterized in that, The functional modules include a fault management module and a fault query module. The functional components of the fault management module include a write storage component, and the functional components of the fault query module include a read storage information component. The function of the write storage component is to store the fault information and the environmental data when the fault occurs, and the function of the read storage information component is to read the fault information and the environmental data. The information reading step corresponding to the write storage component is: reading the current fault information of the vehicle fault diagnosis system; The expected result of the information reading step corresponding to the write storage component is: successfully reading the current fault information of the vehicle fault diagnosis system.

5. The reliability test case design method for the vehicle-mounted fault diagnosis system as described in claim 1, characterized in that, After determining the functional modules that make up the vehicle-mounted fault diagnosis system and the functional components that make up each functional module, the system further includes: Determine the impact of failure on each of the aforementioned functional components; The severity of a failure of a functional component is determined based on the impact of failure on each of the aforementioned functional components; The test priority in the reliability test cases of this functional component is determined by the fault severity.

6. A reliability test case design device for an on-board fault diagnosis system, characterized in that, include: The first determining module is used to determine the functional modules that make up the vehicle fault diagnosis system and the functional components that make up each of the functional modules. The second determining module is used to determine the function of each of the functional components; The third determining module is used to determine the detection steps and the expected results of the detection steps in the reliability test cases of each functional component based on the function of the functional component. The reliability test case includes test steps, which sequentially include: initializing the vehicle fault diagnosis system to clear fault information, simulating vehicle faults, and the detection steps. The detection step may include a signal reading step; The third determining module can also be used to: determine the signal reading steps and expected results of each functional component based on the function of the functional component; The functional module includes a fault detection module, and the functional components of the fault detection module include a monitoring component and an arbitration component. The function of the monitoring component is to detect faults, and the function of the arbitration component is to verify whether a fault has occurred. The signal reading step corresponding to the monitoring component is to read the fault processing signal of the arbitration component. The expected result of the signal reading step corresponding to the monitoring component is that the fault processing signal is the target value.

7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the reliability test case design method for the vehicle fault diagnosis system according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the reliability test case design method for the vehicle-mounted fault diagnosis system according to any one of claims 1-5.

Citation Information

Patent Citations

  • FMEA-based security and futures industry software reliability test design method

    CN113434431A