Vehicle fault information processing method and device, equipment and storage medium
By acquiring vehicle information and ECU characteristic data to generate characteristic lists and structures, vehicle faults are processed, solving the problems of fragmented and non-scalable fault information processing in existing technologies, and achieving more efficient fault information processing and simplified code maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGFENG ELECTRONICS TECH
- Filing Date
- 2023-10-30
- Publication Date
- 2026-04-28
AI Technical Summary
Existing technologies for processing vehicle fault information are fragmented and cannot be systematically modified for a specific product. They have poor reusability and scalability, and cannot intuitively reflect the current fault status of the product. Furthermore, the code is difficult to read and maintain.
By acquiring vehicle information and characteristic data of electronic control units (ECUs), a characteristic list is generated. A structure is generated based on the characteristic list, and a fault list is generated from it. The Unified Diagnostic Service (UDS) is used to read fault details and handle faults using a pre-set fault handling strategy library.
It achieves a more intuitive reflection of fault status, reduces the difficulty of processing, improves the speed and efficiency of fault information processing, simplifies code maintenance, and solves the problems of poor reusability and scalability.
Smart Images

Figure CN117333966B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle fault data processing technology, and in particular to a method, apparatus, device and storage medium for processing vehicle fault information. Background Technology
[0002] When a vehicle malfunctions, the onboard fault information processing module determines whether a malfunction has occurred, what fault information needs to be stored, and which fault codes and information to display. Existing fault information processing methods are fragmented and cannot be systematically modified for a specific product. They have poor reusability and scalability, and cannot intuitively reflect the current fault status of the product. Code reading and maintenance are difficult, and they cannot process fault information. Summary of the Invention
[0003] The main objective of this invention is to provide a vehicle fault information processing method, apparatus, device, and storage medium, aiming to solve the technical problems in the prior art that it cannot systematically add, delete, or modify a specific product, has poor reusability and scalability, cannot intuitively reflect the current fault status of the product, is difficult to read and maintain code, and cannot process fault information.
[0004] In a first aspect, the present invention provides a vehicle fault information processing method, the vehicle fault information processing method comprising the following steps:
[0005] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU), and generate a characteristic list based on the vehicle information and the ECU characteristic data;
[0006] Generate the structure of the current vehicle based on the characteristic list;
[0007] A fault list is generated based on the structure, and the faults of the current vehicle are processed based on the fault list.
[0008] Optionally, the step of obtaining the current vehicle's overall information and the ECU characteristic data of the electronic control unit (ECU), and generating a characteristic list based on the vehicle information and the ECU characteristic data, includes:
[0009] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU);
[0010] Extract relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0011] Optionally, the step of extracting relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and the ECU characteristic data, and generating a characteristic list based on the relevant data, includes:
[0012] Obtain the fault code corresponding to the current vehicle's fault diagnosis result, and obtain the fault information corresponding to the content displayed on the vehicle's instrument panel;
[0013] Extract relevant data related to the fault codes and fault information from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0014] Optionally, generating the structure of the current vehicle based on the feature list includes:
[0015] Retrieve the properties of each property object in the property list, and create several instances based on the properties;
[0016] Based on the example, determine the structure variables, and based on the structure variables, unify the format of the attribute characteristics of each characteristic object in the current vehicle, and generate the structure of each characteristic object.
[0017] Optionally, generating a fault list based on the structure and processing the faults of the current vehicle based on the fault list includes:
[0018] Obtain an initial list of faults related to the ECU from the structure;
[0019] Obtain changes in vehicle demand, and add, delete, or modify the initial fault list based on these changes to obtain a fault list.
[0020] The fault of the current vehicle is processed according to the fault list.
[0021] Optionally, processing the fault of the current vehicle according to the fault list includes:
[0022] The fault details in the fault list are read through the Unified Diagnostic Service (UDS).
[0023] The system searches for a processing strategy corresponding to the fault details in a preset fault handling strategy library, and handles the fault of the current vehicle according to the processing strategy.
[0024] Optionally, the step of reading the fault details from the fault list through the Unified Diagnostic Service (UDS) includes:
[0025] The fault list is read using the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
[0026] Secondly, to achieve the above objectives, the present invention also proposes a vehicle fault information processing device, the vehicle fault information processing device comprising:
[0027] The feature list generation module is used to obtain the vehicle information and ECU feature data of the current vehicle and the electronic control unit (ECU), and generate a feature list based on the vehicle information and the ECU feature data.
[0028] A structure generation module is used to generate the structure of the current vehicle based on the characteristic list;
[0029] The fault handling module is used to generate a fault list based on the structure, and to handle the faults of the current vehicle based on the fault list.
[0030] Thirdly, to achieve the above objectives, the present invention also proposes a vehicle fault information processing device, the vehicle fault information processing device comprising: a memory, a processor, and a vehicle fault information processing program stored in the memory and executable on the processor, the vehicle fault information processing program being configured to implement the steps of the vehicle fault information processing method described above.
[0031] Fourthly, to achieve the above objectives, the present invention also proposes a storage medium storing a vehicle fault information processing program, wherein the vehicle fault information processing program, when executed by a processor, implements the steps of the vehicle fault information processing method described above.
[0032] The vehicle fault information processing method proposed in this invention obtains the vehicle information and ECU characteristic data of the current vehicle's electronic control unit (ECU), generates a characteristic list based on the vehicle information and ECU characteristic data, generates the structure of the current vehicle based on the characteristic list, generates a fault list based on the structure, and processes the faults of the current vehicle based on the fault list. This method can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, solve the problems of poor software reusability and scalability, and has relatively simple code maintenance, thus improving the speed and efficiency of vehicle fault information processing. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention;
[0034] Figure 2 This is a flowchart illustrating the first embodiment of the vehicle fault information processing method of the present invention;
[0035] Figure 3This is a flowchart illustrating the second embodiment of the vehicle fault information processing method of the present invention;
[0036] Figure 4 This is a flowchart illustrating the third embodiment of the vehicle fault information processing method of the present invention;
[0037] Figure 5 This is a flowchart illustrating the fourth embodiment of the vehicle fault information processing method of the present invention;
[0038] Figure 6 This is a flowchart illustrating the fifth embodiment of the vehicle fault information processing method of the present invention;
[0039] Figure 7 This is a functional block diagram of the first embodiment of the vehicle fault information processing device of the present invention.
[0040] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0041] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0042] The solution of this invention mainly involves: acquiring the vehicle information and ECU characteristic data of the current vehicle's electronic control unit (ECU); generating a characteristic list based on the vehicle information and ECU characteristic data; generating the structure of the current vehicle based on the characteristic list; generating a fault list based on the structure; and processing the faults of the current vehicle based on the fault list. This approach more intuitively reflects the fault status of the current product, reduces the processing difficulty of vehicle fault information processing methods, and better enables fault information processing based on the design object. It solves the problems of poor software reusability and scalability, simplifies method code maintenance, improves the speed and efficiency of vehicle fault information processing, and addresses the technical problems of not being able to systematically add, delete, or modify for a specific product, poor reusability and scalability, inability to intuitively reflect the fault status of the current product, difficulty in code reading and maintenance, and inability to process fault information.
[0043] Reference Figure 1 , Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.
[0044] like Figure 1As shown, the device may include: a processor 1001, such as a CPU; a communication bus 1002; a user interface 1003; a network interface 1004; and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0045] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0046] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating device, a network communication module, a user interface module, and a vehicle fault information processing program.
[0047] The device of the present invention calls the vehicle fault information processing program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0048] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU), and generate a characteristic list based on the vehicle information and the ECU characteristic data;
[0049] Generate the structure of the current vehicle based on the characteristic list;
[0050] A fault list is generated based on the structure, and the faults of the current vehicle are processed based on the fault list.
[0051] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0052] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU);
[0053] Extract relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0054] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0055] Obtain the fault code corresponding to the current vehicle's fault diagnosis result, and obtain the fault information corresponding to the content displayed on the vehicle's instrument panel;
[0056] Extract relevant data related to the fault codes and fault information from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0057] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0058] Retrieve the properties of each property object in the property list, and create several instances based on the properties;
[0059] Based on the example, determine the structure variables, and based on the structure variables, unify the format of the attribute characteristics of each characteristic object in the current vehicle, and generate the structure of each characteristic object.
[0060] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0061] Obtain an initial list of faults related to the ECU from the structure;
[0062] Obtain changes in vehicle demand, and add, delete, or modify the initial fault list based on these changes to obtain a fault list.
[0063] The fault of the current vehicle is processed according to the fault list.
[0064] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0065] The fault details in the fault list are read through the Unified Diagnostic Service (UDS).
[0066] The system searches for a processing strategy corresponding to the fault details in a preset fault handling strategy library, and handles the fault of the current vehicle according to the processing strategy.
[0067] The device of the present invention, through processor 1001 calling the vehicle fault information processing program stored in memory 1005, also performs the following operations:
[0068] The fault list is read using the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
[0069] This embodiment, through the above-described scheme, obtains the vehicle information and ECU characteristic data of the current vehicle, generates a characteristic list based on the vehicle information and ECU characteristic data, generates the structure of the current vehicle based on the characteristic list, generates a fault list based on the structure, and processes the faults of the current vehicle based on the fault list. This approach can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, solve the problems of poor software reusability and scalability, simplify method code maintenance, and improve the speed and efficiency of vehicle fault information processing.
[0070] Based on the above hardware structure, an embodiment of the vehicle fault information processing method of the present invention is proposed.
[0071] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the vehicle fault information processing method of the present invention.
[0072] In the first embodiment, the vehicle fault information processing method includes the following steps:
[0073] Step S10: Obtain the vehicle information and ECU characteristic data of the current vehicle and the electronic control unit (ECU), and generate a characteristic list based on the vehicle information and the ECU characteristic data.
[0074] It should be noted that the system obtains the current vehicle information and the characteristic data of the Electronic Control Unit (ECU), and then generates a characteristic list based on the vehicle information and the ECU characteristic data.
[0075] Step S20: Generate the structure of the current vehicle based on the characteristic list.
[0076] It is understandable that a structural diagram of each component unit object in the current vehicle can be generated based on the aforementioned feature list.
[0077] Step S30: Generate a fault list based on the structure, and process the faults of the current vehicle based on the fault list.
[0078] It should be understood that a fault list can be generated based on the structure diagram, and then the faults of the corresponding component unit objects in the current vehicle can be processed according to the fault list.
[0079] This embodiment, through the above-described scheme, obtains the vehicle information and ECU characteristic data of the current vehicle, generates a characteristic list based on the vehicle information and ECU characteristic data, generates the structure of the current vehicle based on the characteristic list, generates a fault list based on the structure, and processes the faults of the current vehicle based on the fault list. This approach can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, solve the problems of poor software reusability and scalability, simplify method code maintenance, and improve the speed and efficiency of vehicle fault information processing.
[0080] Furthermore, Figure 3 This is a flowchart illustrating the second embodiment of the vehicle fault information processing method of the present invention, as shown below. Figure 3 As shown, based on the first embodiment, a second embodiment of the vehicle fault information processing method of the present invention is proposed. In this embodiment, step S10 specifically includes the following steps:
[0081] Step S11: Obtain the current vehicle information and the ECU characteristic data of the electronic control unit (ECU).
[0082] It should be noted that the data acquisition unit can acquire the current vehicle information and the ECU characteristic data of the electronic control unit (ECU). The data acquisition unit can be an on-board data acquisition unit or an independent data acquisition unit or device.
[0083] Step S12: Extract relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and the ECU characteristic data, and generate a characteristic list based on the relevant data.
[0084] It is understood that relevant data related to the fault diagnosis results of the current vehicle and the content displayed on the vehicle instrument panel can be extracted from the vehicle information and the ECU characteristic data, and a characteristic list can be generated based on the relevant data.
[0085] This embodiment, through the above-described scheme, obtains the current vehicle information and ECU characteristic data of the electronic control unit (ECU); extracts relevant data related to the current vehicle's fault diagnosis results and the content displayed on the vehicle's instrument panel from the vehicle information and ECU characteristic data; and generates a characteristic list based on the relevant data. This can more intuitively reflect the current product's fault status and reduce the operational difficulty of vehicle fault information processing methods.
[0086] Furthermore, Figure 4 This is a flowchart illustrating the third embodiment of the vehicle fault information processing method of the present invention, as shown below. Figure 4 As shown, based on the second embodiment, a third embodiment of the vehicle fault information processing method of the present invention is proposed. In this embodiment, step S12 specifically includes the following steps:
[0087] Step S121: Obtain the fault code corresponding to the current vehicle's fault diagnosis result, and obtain the fault information corresponding to the content displayed on the vehicle's instrument panel.
[0088] It should be noted that, while obtaining the fault code corresponding to the current vehicle's fault diagnosis result, it is also possible to obtain the fault information corresponding to the content displayed on the vehicle's instrument panel.
[0089] Step S122: Extract relevant data related to the fault code and the fault information from the vehicle information and the ECU characteristic data, and generate a characteristic list based on the relevant data.
[0090] It is understood that relevant data related to the fault codes and fault information can be extracted from the vehicle information and the ECU characteristic data, and then a characteristic list can be generated based on the relevant data.
[0091] In practice, by sorting out the requirements of the whole vehicle and ECU, and based on the requirements related to fault handling, a feature list is extracted from the perspective of software maintenance convenience.
[0092] This embodiment, through the above-described scheme, obtains the fault code corresponding to the current vehicle's fault diagnosis result and the fault information corresponding to the content displayed on the vehicle's instrument panel; extracts relevant data related to the fault code and the fault information from the vehicle information and the ECU characteristic data, and generates a characteristic list based on the relevant data; it can more intuitively reflect the current product's fault status and reduce the operational difficulty of vehicle fault information processing methods.
[0093] Furthermore, Figure 5 This is a flowchart illustrating the fourth embodiment of the vehicle fault information processing method of the present invention, as shown below. Figure 5 As shown, based on the first embodiment, a fourth embodiment of the vehicle fault information processing method of the present invention is proposed. In this embodiment, step S20 specifically includes the following steps:
[0094] Step S21: Obtain the attributes of each attribute object in the attribute list, and create several instances based on the attributes.
[0095] It should be noted that the attributes of each characteristic object in the characteristic list are obtained. The attributes correspond to different fault behaviors, including but not limited to short circuit, open circuit, over-temperature, message timeout, etc. Several instances can be created according to the above description.
[0096] Step S22: Determine the structure variables based on the instance, unify the format of the attribute characteristics of each characteristic object in the current vehicle based on the structure variables, and generate the structure of each characteristic object.
[0097] It is understandable that, based on the example, the structure variables are determined, and then the structure of each characteristic object is generated based on the unified format of the structure variables, that is, the unified format of the attribute characteristics of each characteristic object in the current vehicle.
[0098] In the specific implementation, a suitable structure can be designed based on the feature list to describe the relevant attribute characteristics of fault information processing.
[0099] This embodiment, through the above scheme, obtains the attributes of each characteristic object in the characteristic list, creates several instances based on the attributes, determines structure variables based on the instances, and unifies the format of the attribute characteristics of each characteristic object in the current vehicle based on the structure variables, generating the structure of each characteristic object. This can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, and improve the speed and efficiency of vehicle fault information processing.
[0100] Furthermore, Figure 6 This is a flowchart illustrating the fifth embodiment of the vehicle fault information processing method of the present invention, as shown below. Figure 6 As shown, based on the first embodiment, a fifth embodiment of the vehicle fault information processing method of the present invention is proposed. In this embodiment, step S30 specifically includes the following steps:
[0101] Step S31: Obtain an initial list of faults related to the ECU from the structure.
[0102] It should be noted that an initial list of faults related to the ECU is obtained from the structure.
[0103] Step S32: Obtain changes in vehicle demand, and add, delete, or modify the initial fault list based on the changes in vehicle demand to obtain a fault list.
[0104] It is understandable that the changes in vehicle demand are obtained, and the initial fault list is added to, deleted from, or modified based on these changes to obtain a fault list.
[0105] Step S33: Process the fault of the current vehicle according to the fault list.
[0106] It should be understood that, based on the structural design, a corresponding fault list can be compiled, and the relevant fault information can be listed in the list according to the vehicle's requirements and other parameters.
[0107] Furthermore, step S33 includes the following steps:
[0108] The fault details in the fault list are read through the Unified Diagnostic Service (UDS).
[0109] The system searches for a processing strategy corresponding to the fault details in a preset fault handling strategy library, and handles the fault of the current vehicle according to the processing strategy.
[0110] In a specific implementation, Unified Diagnostic Services (UDS) can be supported to read the fault details from the fault list, search for the corresponding processing strategy from a pre-set fault handling strategy library, and handle the fault of the current vehicle according to the processing strategy.
[0111] Furthermore, the step of reading the fault details from the fault list through the Unified Diagnostic Service (UDS) includes the following steps:
[0112] The fault list is read using the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
[0113] In the specific implementation, it supports the reading and clearing of Diagnostic Trouble Code (DTC) information by the UDS service; after the power is turned off, the fault information is stored in the address of the Electrically Erasable Programmable Read Only Memory (EEPROM); for fault information that needs to be displayed on instrument panels and other display devices, as well as whether the fault information is valid, related fault handling functions are designed to read and write parameters in the fault list, so as to meet the requirements of the whole vehicle to obtain fault information through UDS, display prompt information through the instrument panel, and related changes in requirements.
[0114] This embodiment, through the above-described scheme, obtains an initial fault list related to the ECU from the structure; acquires changes in vehicle requirements; adds to, deletes, and modifies the initial fault list according to the changes in vehicle requirements to obtain a fault list; and processes the faults of the current vehicle according to the fault list. This approach can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, solve the problems of poor software reusability and scalability, simplify method code maintenance, and improve the speed and efficiency of vehicle fault information processing.
[0115] Accordingly, the present invention further provides a vehicle fault information processing device.
[0116] Reference Figure 7 , Figure 7 This is a functional block diagram of the first embodiment of the vehicle fault information processing device of the present invention.
[0117] In a first embodiment of the vehicle fault information processing device of the present invention, the vehicle fault information processing device includes:
[0118] The feature list generation module 10 is used to obtain the vehicle information and ECU feature data of the current vehicle and the electronic control unit (ECU), and generate a feature list based on the vehicle information and the ECU feature data.
[0119] The structure generation module 20 is used to generate the structure of the current vehicle based on the characteristic list.
[0120] The fault handling module 30 is used to generate a fault list based on the structure and to handle the faults of the current vehicle based on the fault list.
[0121] The feature list generation module 10 is also used to acquire the vehicle information of the current vehicle and the ECU feature data of the electronic control unit (ECU); extract relevant data related to the fault diagnosis results and the display content of the vehicle instrument panel from the vehicle information and the ECU feature data, and generate a feature list based on the relevant data.
[0122] The feature list generation module 10 is also used to obtain the fault code corresponding to the fault diagnosis result of the current vehicle and obtain the fault information corresponding to the content displayed on the vehicle instrument panel; extract relevant item data related to the fault code and the fault information from the vehicle information and the ECU feature data, and generate a feature list based on the relevant item data.
[0123] The structure generation module 20 is further configured to obtain the attributes of each characteristic object in the characteristic list, create several instances based on the attributes, determine structure variables based on the instances, unify the format of the attribute features of each characteristic object in the current vehicle based on the structure variables, and generate the structure of each characteristic object.
[0124] The fault handling module 30 is further configured to obtain an initial fault list related to the ECU from the structure; obtain changes in vehicle demand; add, delete, or modify the initial fault list according to the changes in vehicle demand to obtain a fault list; and process the faults of the current vehicle according to the fault list.
[0125] The fault handling module 30 is also used to read the fault details of the fault list through the Unified Diagnostic Service (UDS); search for the handling strategy corresponding to the fault details from the preset fault handling strategy library; and handle the fault of the current vehicle according to the handling strategy.
[0126] The fault handling module 30 is also used to read the fault list through the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
[0127] The steps for implementing each functional module of the vehicle fault information processing device can be referred to in the various embodiments of the vehicle fault information processing method of the present invention, and will not be repeated here.
[0128] Furthermore, this embodiment of the invention also proposes a storage medium storing a vehicle fault information processing program, which, when executed by a processor, performs the following operations:
[0129] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU), and generate a characteristic list based on the vehicle information and the ECU characteristic data;
[0130] Generate the structure of the current vehicle based on the characteristic list;
[0131] A fault list is generated based on the structure, and the faults of the current vehicle are processed based on the fault list.
[0132] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0133] Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU);
[0134] Extract relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0135] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0136] Obtain the fault code corresponding to the current vehicle's fault diagnosis result, and obtain the fault information corresponding to the content displayed on the vehicle's instrument panel;
[0137] Extract relevant data related to the fault codes and fault information from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
[0138] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0139] Retrieve the properties of each property object in the property list, and create several instances based on the properties;
[0140] Based on the example, determine the structure variables, and based on the structure variables, unify the format of the attribute characteristics of each characteristic object in the current vehicle, and generate the structure of each characteristic object.
[0141] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0142] Obtain an initial list of faults related to the ECU from the structure;
[0143] Obtain changes in vehicle demand, and add, delete, or modify the initial fault list based on these changes to obtain a fault list.
[0144] The fault of the current vehicle is processed according to the fault list.
[0145] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0146] The fault details in the fault list are read through the Unified Diagnostic Service (UDS).
[0147] The system searches for a processing strategy corresponding to the fault details in a preset fault handling strategy library, and handles the fault of the current vehicle according to the processing strategy.
[0148] Furthermore, when the vehicle fault information processing program is executed by the processor, it also performs the following operations:
[0149] The fault list is read using the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
[0150] This embodiment, through the above-described scheme, obtains the vehicle information and ECU characteristic data of the current vehicle, generates a characteristic list based on the vehicle information and ECU characteristic data, generates the structure of the current vehicle based on the characteristic list, generates a fault list based on the structure, and processes the faults of the current vehicle based on the fault list. This approach can more intuitively reflect the fault status of the current product, reduce the processing difficulty of vehicle fault information processing methods, better process fault information according to the design object, solve the problems of poor software reusability and scalability, simplify method code maintenance, and improve the speed and efficiency of vehicle fault information processing.
[0151] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0152] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0153] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for processing vehicle fault information, characterized in that, The vehicle fault information processing method includes: Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU), and generate a characteristic list based on the vehicle information and the ECU characteristic data; Generate the structure of the current vehicle based on the characteristic list; A fault list is generated based on the structure, and the faults of the current vehicle are processed based on the fault list. The step of acquiring the current vehicle's overall information and the ECU characteristic data of the electronic control unit (ECU), and generating a characteristic list based on the vehicle information and the ECU characteristic data, includes: Obtain the current vehicle information and ECU characteristic data of the electronic control unit (ECU); Extract relevant data related to the fault diagnosis results and on-board instrument display content of the current vehicle from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data; The step of generating the structure of the current vehicle based on the feature list includes: Retrieve the properties of each property object in the property list, and create several instances based on the properties; Based on the example, determine the structure variables, and based on the structure variables, unify the format of the attribute characteristics of each characteristic object in the current vehicle, and generate the structure of each characteristic object; The step of generating a fault list based on the structure and processing the faults of the current vehicle based on the fault list includes: Obtain an initial list of faults related to the ECU from the structure; Obtain changes in vehicle demand, and add, delete, or modify the initial fault list based on these changes to obtain a fault list. The fault of the current vehicle is processed according to the fault list.
2. The vehicle fault information processing method as described in claim 1, characterized in that, The process involves extracting relevant data related to the current vehicle's fault diagnosis results and on-board instrument display content from the vehicle information and ECU characteristic data, and generating a characteristic list based on the relevant data, including: Obtain the fault code corresponding to the current vehicle's fault diagnosis result, and obtain the fault information corresponding to the content displayed on the vehicle's instrument panel; Extract relevant data related to the fault codes and fault information from the vehicle information and ECU characteristic data, and generate a characteristic list based on the relevant data.
3. The vehicle fault information processing method as described in claim 1, characterized in that, The step of processing the current vehicle's fault according to the fault list includes: The fault details in the fault list are read through the Unified Diagnostic Service (UDS). The system searches for a processing strategy corresponding to the fault details in a preset fault handling strategy library, and handles the fault of the current vehicle according to the processing strategy.
4. The vehicle fault information processing method as described in claim 3, characterized in that, The process of reading the fault details from the fault list through the Unified Diagnostic Service (UDS) includes: The fault list is read using the fault handling function in the Unified Diagnostic Service (UDS) to obtain fault details.
5. A vehicle fault information processing device, characterized in that, The vehicle fault information processing device includes: The feature list generation module is used to obtain the vehicle information and ECU feature data of the current vehicle and the electronic control unit (ECU), and generate a feature list based on the vehicle information and the ECU feature data. A structure generation module is used to generate the structure of the current vehicle based on the characteristic list; The fault handling module is used to generate a fault list based on the structure and to handle the faults of the current vehicle based on the fault list. The feature list generation module is also used to obtain the vehicle information of the current vehicle and the ECU feature data of the electronic control unit (ECU); extract relevant data related to the fault diagnosis results and the display content of the vehicle instrument panel from the vehicle information and the ECU feature data, and generate a feature list based on the relevant data. The structure generation module is also used to obtain the attributes of each characteristic object in the characteristic list, create several instances based on the attributes, determine structure variables based on the instances, unify the format of the attribute features of each characteristic object in the current vehicle based on the structure variables, and generate the structure of each characteristic object. The fault handling module is further configured to obtain an initial fault list related to the ECU from the structure; obtain changes in vehicle requirements; add, delete, or modify the initial fault list according to the changes in vehicle requirements to obtain a fault list; and handle the faults of the current vehicle according to the fault list.
6. A vehicle fault information processing device, characterized in that, The vehicle fault information processing device includes: a memory, a processor, and a vehicle fault information processing program stored in the memory and executable on the processor, wherein the vehicle fault information processing program is configured to implement the steps of the vehicle fault information processing method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a vehicle fault information processing program, which, when executed by a processor, implements the steps of the vehicle fault information processing method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
VCU fault diagnosis strategy implementation method
CN114859872A