Vehicle fault diagnosis method and device, vehicle and medium

By combining bus fault triggering information and open-drain line level signals to issue or record fault diagnosis request instructions, the problem of large memory and computing power burden and untimely diagnosis caused by bus faults in the prior art is solved, and more efficient vehicle fault diagnosis is achieved.

CN120295269APending Publication Date: 2025-07-11GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510339453.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In the prior art, vehicle fault diagnosis relies on the bus for fault recording, resulting in a high burden of memory and computing power, and failures cannot be detected in time when the bus fails, reducing the real-time and accuracy of diagnosis.

Method used

When a vehicle fault is triggered, by judging the bus fault trigger information and the open-drain line level signal, fault diagnosis request instructions are issued or recorded to achieve fault diagnosis of the vehicle, improving real-time and accuracy.

Benefits of technology

It effectively improves the real-time and accuracy of vehicle fault diagnosis, ensures that bus faults can be discovered and handled in a timely manner, and meets safe driving conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295269A_ABST
    Figure CN120295269A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle diagnosis, in particular to a vehicle fault diagnosis method and device, a vehicle and a medium, and the method comprises the steps: judging whether a fault processing device of the vehicle receives bus fault triggering information or not under the condition that the vehicle is in a fault triggering state; if the bus fault triggering information is received, judging whether the open / drain line level signal of the vehicle is a low level signal or no signal; if the open-drain line level signal is a low level signal or no signal, a vehicle fault diagnosis request instruction is issued, otherwise, open-drain line level faults of the vehicle are recorded, the vehicle fault diagnosis request instruction is issued, and the vehicle fault diagnosis request instruction is used for indicating fault diagnosis of the vehicle. Therefore, the problems that in the prior art, the burden on a memory and computing power is large, fault recording is conducted by depending on a bus, if a bus fault occurs, the corresponding fault cannot be found in time, and the real-time performance and accuracy of vehicle fault diagnosis are reduced are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle diagnosis, and particularly relates to a method, a device, a vehicle and a medium for vehicle fault diagnosis. Background Art

[0002] The UDS (Unified Diagnostic Services) diagnostic protocol is a general automotive diagnostic application layer protocol, which can be implemented on different automotive buses, such as CAN (Controller Area Network), CAN-FD (Controller Area Network with Flexible Data-Rate), LIN (Local Interconnect Network), Flexray, in-vehicle Ethernet, and has wide applications in fields such as OTA (Over-The-Air Technology) software upgrade, fault detection, and EOL (End-of-Line). This technology itself is passive diagnosis, recording faults through the bus, and requires the host computer to actively send commands to obtain information of the controller to obtain the diagnostic results of the vehicle.

[0003] However, in the related art, the host computer needs to perform all-weather diagnosis, resulting in a large amount of background data collection, heavy burden on memory and computing power, and relying on the bus for fault recording. If the bus fails, the corresponding faults cannot be detected in time, reducing the real-time performance and reliability of vehicle fault diagnosis, which urgently needs to be solved. Summary of the Invention

[0004] The present application provides a method, a device, a vehicle and a medium for vehicle fault diagnosis to solve the problems in the related art, such as heavy burden on memory and computing power, relying on the bus for fault recording, and if the bus fails, the corresponding faults cannot be detected in time, reducing the real-time performance and accuracy of vehicle fault diagnosis.

[0005] The first aspect of the present application provides a method for vehicle fault diagnosis, including the following steps: when the vehicle is in a fault trigger state, determining whether the vehicle's fault handling device receives a bus fault trigger message; if receiving the bus fault trigger message, determining whether the open-drain line level signal of the vehicle is a low level signal or no signal; if the open-drain line level signal is the low level signal or no signal, issuing the vehicle fault diagnosis request instruction, otherwise recording the open-drain line level fault of the vehicle and issuing the vehicle fault diagnosis request instruction, where the vehicle fault diagnosis request instruction is used to indicate to perform fault diagnosis on the vehicle.

[0006] According to the above technical means, in the embodiment of the present application, when a vehicle fault is triggered, when the vehicle fault processing device receives a bus fault trigger message and the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is sent. When the bus fault trigger message is received and the open-drain line level signal is a high-level signal, the open-drain line level fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is sent to perform fault diagnosis on the vehicle, effectively improving the real-time performance and accuracy of vehicle fault diagnosis.

[0007] Optionally, in an embodiment of the present application, it further includes: if the bus fault trigger message is not received, it is determined whether the open-drain line level signal of the vehicle is the low-level signal or no signal; if the open-drain line level signal is the low-level signal or no signal, the bus fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is sent; if the open-drain line level signal is a high-level signal, the bus fault and the open-drain line level fault are recorded, and the fault processing device is controlled to report its own fault to a preset terminal.

[0008] According to the above technical means, in the embodiment of the present application, when the bus fault trigger message is not received, the open-drain line is continuously determined whether it has a fault according to the open-drain line level signal. When both the open-drain line level and the bus have faults, the fault processing controller is isolated topologically, and the fault processing device is controlled to report its own fault to the server, so that relevant technical personnel can analyze the vehicle fault in time and solve the vehicle problem in time.

[0009] Optionally, in an embodiment of the present application, after recording the bus fault of the vehicle, it further includes: using the fault processing device to report the bus fault to the preset terminal, and displaying the bus fault on the preset terminal to analyze and process the bus fault.

[0010] According to the above technical means, in the embodiment of the present application, after recording the bus fault of the vehicle, the bus fault is reported to the server and displayed to analyze and process the bus fault, ensuring that the bus of the vehicle returns to the normal working state and the vehicle meets the safe driving conditions.

[0011] Optionally, in an embodiment of the present application, determining whether the open-drain line level signal of the vehicle is a low-level signal or no signal includes: receiving the open-drain line level signal of the vehicle and determining whether the open-drain line level signal is pulled low; if the open-drain line level signal is pulled low, it is determined that the open-drain line level signal is the low-level signal or no signal; if the open-drain line level signal is not pulled low, it is determined that the open-drain line level signal is the high-level signal.

[0012] According to the above technical means, embodiments of the present application can determine the open-drain line level signal based on whether the open-drain line level signal is pulled low, effectively improving the diversity and accuracy of vehicle diagnosis.

[0013] Optionally, in an embodiment of the present application, after controlling the fault handling device to report its own fault to a preset terminal, it further includes: determining whether the vehicle enables a fault trigger reminder, where the fault trigger reminder method includes a voice reminder method and a pop-up reminder method; and when the vehicle enables the fault trigger reminder, sending the fault trigger reminder to the preset terminal.

[0014] According to the above technical means, embodiments of the present application can perform a fault reminder by voice and pop-up reminder methods after the fault handling device reports its own fault to a preset terminal, so that vehicle problems can be discovered in time, and the accuracy and efficiency of fault detection are improved.

[0015] An embodiment of the second aspect of the present application provides a vehicle fault diagnosis device, including: a first judgment module, configured to judge whether the vehicle's fault handling device receives a bus fault trigger message when the vehicle is in a fault trigger state; a second judgment module, configured to, if the bus fault trigger message is received, judge whether the open-drain line level signal of the vehicle is a low level signal or no signal; a first diagnosis module, configured to, if the open-drain line level signal is the low level signal or no signal, issue a vehicle fault diagnosis request instruction, otherwise record the open-drain line level fault of the vehicle and issue a vehicle fault diagnosis request instruction, where the vehicle fault diagnosis request instruction is used to indicate to perform a fault diagnosis on the vehicle.

[0016] According to the above technical means, the vehicle fault diagnosis device can issue a vehicle fault diagnosis request instruction when the vehicle's fault handling device receives a bus fault trigger message and the open-drain line level signal is a low level signal or no signal when a vehicle fault is triggered, and record the open-drain line level fault of the vehicle and issue a vehicle fault diagnosis request instruction when the bus fault trigger message is received and the open-drain line level signal is a high level signal, so as to perform a fault diagnosis on the vehicle, effectively improving the real-time performance and accuracy of vehicle fault diagnosis.

[0017] Optionally, in an embodiment of the present application, the device of the embodiment of the present application further includes: a third determination module, configured to determine whether the open-drain line level signal of the vehicle is the low-level signal or no signal if the bus fault trigger information is not received; a second diagnosis module, configured to record the bus fault of the vehicle and issue the vehicle fault diagnosis request instruction if the open-drain line level signal is the low-level signal or no signal; a first processing module, configured to record the bus fault and the open-drain line level fault and control the fault processing device to report its own fault to a preset terminal if the open-drain line level signal is a high-level signal.

[0018] According to the above technical means, the vehicle fault diagnosis device can continue to determine whether the open-drain line has a fault according to the open-drain line level signal when the bus fault trigger information is not received. When both the open-drain line level and the bus have faults, the fault processing controller is isolated topologically, and the fault processing device is controlled to report its own fault to the server, so that relevant technical personnel can analyze the vehicle fault in time and solve the vehicle problem in time.

[0019] Optionally, in an embodiment of the present application, the device of the embodiment of the present application further includes: a second processing module, configured to, after recording the bus fault of the vehicle, use the fault processing device to report the bus fault to the preset terminal and display the bus fault on the preset terminal for analysis and processing of the bus fault.

[0020] According to the above technical means, the vehicle fault diagnosis device can report the bus fault to the server and display it after recording the bus fault of the vehicle for analysis and processing of the bus fault, ensuring that the bus of the vehicle resumes normal working state and enabling the vehicle to meet the safe driving conditions.

[0021] Optionally, in an embodiment of the present application, the second determination module includes: a receiving unit, configured to receive the open-drain line level signal of the vehicle and determine whether the open-drain line level signal is pulled low; a first determination unit, configured to determine that the open-drain line level signal is the low-level signal or no signal when the open-drain line level signal is pulled low; a second determination unit, configured to determine that the open-drain line level signal is the high-level signal when the open-drain line level signal is not pulled low.

[0022] According to the above technical means, the second determination module can determine the signal of the open-drain line level according to whether the open-drain line level signal is pulled low, effectively improving the diversity and accuracy of vehicle diagnosis.

[0023] Optionally, in an embodiment of the present application, the device in the embodiment of the present application further includes: a fourth determination module, configured to determine whether the vehicle enables a fault trigger reminder after controlling the fault handling device to report its own fault to a preset terminal, where the fault trigger reminder method includes a voice reminder method and a pop-up reminder method; a reminder module, configured to send the fault trigger reminder to the preset terminal after controlling the fault handling device to report its own fault to the preset terminal and when the vehicle enables the fault trigger reminder.

[0024] According to the above technical means, the vehicle fault diagnosis device can perform fault reminders through voice and pop-up reminder methods after the fault handling device reports its own fault to the preset terminal, so that vehicle problems can be discovered in time, and the accuracy and efficiency of fault detection are improved.

[0025] An embodiment of the third aspect of the present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the vehicle fault diagnosis method as described in the above embodiment.

[0026] An embodiment of the fourth aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the program is executed by a processor, it implements the vehicle fault diagnosis method as described above.

[0027] An embodiment of the fifth aspect of the present application provides a computer program product, including a computer program, and when the computer program is executed, it is used to implement the vehicle fault diagnosis method as described above.

[0028] In the embodiment of the present application, when a vehicle fault is triggered, when the fault handling device of the vehicle receives a bus fault trigger message, or the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is sent. When the bus fault trigger message and the open-drain line level signal are high-level signals, the open-drain line level fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is sent to perform fault diagnosis on the vehicle, effectively improving the real-time performance and accuracy of vehicle fault diagnosis. Thus, the problems in the related art, such as the large burden on memory and computing power, and the dependence on the bus for fault recording, where if the bus fails, the corresponding faults cannot be discovered in time, reducing the real-time performance and accuracy of vehicle fault diagnosis, are solved.

[0029] Additional aspects and advantages of the present application will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the present application. Description of the Drawings

[0030] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of embodiments in conjunction with the accompanying drawings, where:

[0031] Figure 1 It is a flowchart of a vehicle fault diagnosis method provided according to an embodiment of the present application;

[0032] Figure 2 It is a schematic connection topology diagram of a vehicle fault diagnosis module in a specific embodiment of the present application;

[0033] Figure 3 It is a flowchart of a vehicle fault diagnosis method in a specific embodiment of the present application;

[0034] Figure 4 It is a schematic structural diagram of a vehicle fault diagnosis device provided according to an embodiment of the present application;

[0035] Figure 5 It is a schematic structural diagram of a vehicle provided according to an embodiment of the present application. Detailed Embodiments

[0036] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.

[0037] The vehicle fault diagnosis method, device, vehicle, and medium of the embodiments of the present application will be described below with reference to the accompanying drawings. In view of the problems in the related art mentioned in the above background technology, such as high memory and computing power burdens, and relying on the bus for fault recording. If the bus fails, the corresponding faults cannot be detected in time, reducing the real-time performance and accuracy of vehicle fault diagnosis, etc., the present application provides a vehicle fault diagnosis method. In this method, when a vehicle fault is triggered, when the vehicle's fault processing device receives a bus fault trigger message, and the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is issued. When receiving a bus fault trigger message and the open-drain line level signal is a high-level signal, the open-drain line level fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is issued to perform fault diagnosis on the vehicle, effectively improving the real-time performance and accuracy of vehicle fault diagnosis. Thus, the problems in the related art, such as high memory and computing power burdens, and relying on the bus for fault recording. If the bus fails, the corresponding faults cannot be detected in time, reducing the real-time performance and accuracy of vehicle fault diagnosis, etc., are solved.

[0038] Specifically, Figure 1 It is a schematic flowchart of a vehicle fault diagnosis method provided by an embodiment of the present application.

[0039] As Figure 1 shown, the method for diagnosing vehicle faults includes the following steps:

[0040] In step S101, when the vehicle is in a fault trigger state, it is determined whether the vehicle's fault handling device has received a bus fault trigger message.

[0041] In the embodiments of the present application, the vehicle fault trigger state can be a state triggered when no message is received on the bus, a fault trigger message is received on the bus, a self-determined fault occurs, or an open-drain line level reports an error; the bus fault trigger message can be a fault code or a message.

[0042] It can be understood that in the embodiments of the present application, when the vehicle is in a fault trigger state, for example, when the vehicle triggers a fault, it can be determined whether the vehicle's fault handling device has received a bus fault trigger message, such as a fault code or a message, etc., so as to determine whether a bus fault has occurred, effectively improving the executability of active vehicle fault diagnosis.

[0043] Among them, the fault handling device in the embodiments of the present application needs to support storing a stack strategy, automatically deleting older data when memory overflows to free up space; needs to support networking to provide fault information to technicians for analysis and problem support; needs to support display or voice to provide fault information and problem-solving methods to vehicle users.

[0044] In step S102, if a bus fault trigger message is received, it is determined whether the open-drain line level signal of the vehicle is a low-level signal or no signal.

[0045] In the embodiments of the present application, an open-drain circuit characteristic can be used to form a bus, which forms a redundant fault detection mechanism with the original communication bus to enrich the fault monitoring range. Among them, the level signal of the open-drain line circuit during normal operation is a high-level signal; the level signal of the open-drain line circuit during a fault or a vehicle fault is a low-level signal or no output signal.

[0046] It can be understood that in the embodiments of the present application, when the vehicle is in a fault trigger state and the fault handling device has received a bus fault trigger message, it can be determined whether the open-drain line level signal of the vehicle is a low-level signal or no signal. The embodiments of the present application can determine whether a vehicle fault has occurred based on the open-drain line level signal, improving the comprehensiveness and accuracy of vehicle fault detection compared with the related art that only detects vehicle faults through the bus.

[0047] In the embodiments of the present application, as Figure 2As shown in the figure, it is the connection topology diagram of the vehicle fault diagnosis module. An open-drain output PIN can be reserved on the vehicle diagnostic circuit and externally form a bus; the gateway controller needs to support the routing and forwarding of relevant diagnostic messages and protocol conversion; the relevant controllers need to support the UDS (Unified Diagnostic Services) diagnostic protocol.

[0048] Among them, in terms of the gateway controller: it can be set to support the routing of diagnostic messages so that the monitored fault nodes can receive relevant fault information; it can be set to support the diagnostic protocol conversion of different buses so that the monitored fault nodes can correctly identify the diagnostic protocol information of other buses.

[0049] In terms of the basic requirements of the controller: it needs to implement the UDS diagnostic protocol; the controller pulls down the open-drain circuit fault level during a fault; the controller sends a fault trigger message to the bus during a fault.

[0050] Among them, in an embodiment of the present application, determining whether the open-drain line level signal of the vehicle is a low-level signal or no signal includes: receiving the open-drain line level signal of the vehicle and determining whether the open-drain line level signal is pulled down; if the open-drain line level signal is pulled down, it is determined that the open-drain line level signal is a low-level signal or no signal; if the open-drain line level signal is not pulled down, it is determined that the open-drain line level signal is a high-level signal.

[0051] In the actual execution process, the embodiment of the present application can receive the open-drain line level signal of the vehicle and determine whether the open-drain line level signal is pulled down. When the open-drain line level signal is pulled down, it is determined that the open-drain line level signal is a low-level signal or no signal, that is, the vehicle has a fault; when the open-drain line level signal is not pulled down, it is determined that the open-drain line level signal is a high-level signal, that is, the open-drain line level fault of the vehicle, effectively improving the diversity and accuracy of vehicle diagnosis.

[0052] In some embodiments, when a vehicle fault is triggered, the fault processing device can receive the bus fault trigger message, which means that the bus has not failed. Then, it can obtain the open-drain line level signal of the vehicle and diagnose whether the vehicle has a certain fault according to the open-drain line level signal. When it is determined that the vehicle has a fault, the fault of the vehicle can be processed according to the fault code corresponding to the fault, and the fault problem of the vehicle can be solved in time to improve the safety of the vehicle.

[0053] In step S103, if the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is issued; otherwise, the open-drain line level fault of the vehicle is recorded and a vehicle fault diagnosis request instruction is issued, where the vehicle fault diagnosis request instruction is used to indicate the vehicle for fault diagnosis.

[0054] It can be understood that in the embodiments of the present application, when the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction can be issued to collect the fault status of the vehicle controller. Among them, the vehicle fault diagnosis request instruction is used to indicate the fault diagnosis of the vehicle. For example, the fault of the vehicle can be analyzed and processed according to the fault code, and the fault problem of the vehicle can be solved in time to improve the driving experience of the user; when the open-drain line level signal is a high-level signal, it is determined that there is a fault in the open-drain line level, and the fault of the open-drain line level of the vehicle is recorded, and a vehicle fault diagnosis request instruction is actively issued to collect the fault status of the vehicle controller, so that relevant technical personnel can analyze the fault of the vehicle in time and solve the vehicle problem in time, improving the accuracy and efficiency of fault detection.

[0055] Optionally, in an embodiment of the present application, it further includes: if the bus fault trigger information is not received, it is determined whether the open-drain line level signal of the vehicle is a low-level signal or no signal; if the open-drain line level signal is a low-level signal or no signal, the bus fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is issued; if the open-drain line level signal is a high-level signal, the bus fault and the open-drain line level fault are recorded, and the fault processing device is controlled to report its own fault to a preset terminal.

[0056] In some embodiments, when the fault processing device does not receive the bus fault trigger information, it continues to determine whether the open-drain line level signal of the vehicle is a low-level signal or no signal. When the open-drain line level signal is a low-level signal or no signal, it means that a fault in the vehicle is detected through the open-drain line level and the bus fault of the vehicle. Then, the bus fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is issued; when the open-drain line level signal is a high-level signal, it means that no fault in the vehicle is detected through the open-drain line level, indicating that there are faults in both the open-drain line level and the bus of the vehicle. The fault processing controller in the present application is topologically isolated, so the bus fault and the open-drain line level fault are recorded, and the fault processing device is controlled to report its own fault to the server, so that relevant technical personnel can analyze the fault of the vehicle in time and solve the vehicle problem in time.

[0057] It should be noted that the preset terminal can be a server, a vehicle terminal, a computer terminal of relevant technical personnel, etc., and no specific limitation is made here.

[0058] Optionally, in an embodiment of the present application, after recording the bus fault of the vehicle, it further includes: using the fault processing device to report the bus fault to the preset terminal and display the bus fault on the preset terminal for analysis and processing of the bus fault.

[0059] For example, in the embodiments of the present application, after recording the bus fault of the vehicle, the fault handling device can report the bus fault to the server, and display the bus fault on the server side. Finally, the bus fault can be analyzed and processed to ensure that the bus of the vehicle resumes normal operation, enabling the vehicle to meet the safe driving conditions.

[0060] Optionally, in an embodiment of the present application, after controlling the fault handling device to report its own fault to a preset terminal, it further includes: determining whether the vehicle enables a fault trigger reminder, where the fault trigger reminder method includes a voice reminder method and a pop-up reminder method; and when the vehicle enables the fault trigger reminder, sending the fault trigger reminder to the preset terminal.

[0061] As a possible implementation manner, the embodiments of the present application can determine whether the vehicle enables a fault trigger reminder. For example, the fault trigger reminder can be automatically enabled after the vehicle is powered on, or the user can manually enable the fault trigger reminder through a physical button. When the vehicle enables the fault trigger reminder, the embodiments of the present application can notify by voice at the vehicle end and remind by pop-up on the server side after both the bus and the open-drain line voltages fail and the fault handling device reports its own fault, thereby enabling timely detection of vehicle problems and improving the accuracy and efficiency of fault detection.

[0062] For example, as Figure 3 shown, the working principle of the embodiments of the present application will be elaborated in detail below with a specific embodiment.

[0063] Step S301: Fault trigger, that is, the vehicle is in a fault trigger state.

[0064] Step S302: Determine whether a bus fault trigger message is received, that is, determine whether the fault handling device receives a bus fault trigger message. When a bus fault trigger message is received, step S303 is executed; otherwise, step S304 is executed.

[0065] Step S303: Determine whether the open-drain line is pulled low. When the open-drain line is pulled low, step S306 is executed; otherwise, step S305 is executed.

[0066] Step S304: Determine whether the open-drain line is pulled low. When the open-drain line is pulled low, step S307 is executed; otherwise, step S308 is executed.

[0067] Step S305: The fault reporting status of the bus and the open-drain line does not match. The fault handling device records the vehicle fault and the open-drain line fault, and issues a diagnostic request command to collect and analyze the fault status of the vehicle controller.

[0068] Step S306: The fault states of the bus and the open-drain line match. The fault handling device records the vehicle fault, issues a diagnostic request instruction, collects the fault states of the vehicle controller, and analyzes and processes them.

[0069] Step S307: The fault states of the bus and the open-drain line do not match. The fault handling device reports the vehicle fault and requests analysis and processing.

[0070] Step S308: The fault states of the bus and the open-drain line match, but there is indeed a fault trigger message. The fault handling device reports its own fault to analyze and process the vehicle fault, promptly solve the vehicle fault problem, and improve the accuracy and efficiency of fault detection.

[0071] According to the vehicle fault diagnosis method proposed in the embodiment of the present application, when a vehicle fault is triggered, when the vehicle's fault handling device receives a bus fault trigger message and the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is issued. When a bus fault trigger message and an open-drain line level signal of a high-level signal are received, the open-drain line level fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is issued to diagnose the vehicle fault, effectively improving the real-time performance and accuracy of vehicle fault diagnosis. Thus, the problems in the related art, such as high memory and computing power burdens and relying on the bus for fault recording, which reduce the real-time performance and accuracy of vehicle fault diagnosis, are solved.

[0072] Next, a vehicle fault diagnosis device according to an embodiment of the present application is described with reference to the accompanying drawings.

[0073] Figure 4 It is a block diagram of a vehicle fault diagnosis device according to an embodiment of the present application.

[0074] As Figure 4 shown, the vehicle fault diagnosis device 10 includes: a first judgment module 100, a second judgment module 200, and a first diagnosis module 300.

[0075] Specifically, the first judgment module 100 is configured to judge whether the vehicle's fault handling device receives a bus fault trigger message when the vehicle is in a fault trigger state.

[0076] The second judgment module 200 is configured to judge whether the open-drain line level signal of the vehicle is a low-level signal or no signal if a bus fault trigger message is received.

[0077] The first diagnosis module 300 is configured to issue a vehicle fault diagnosis request instruction if the open-drain line level signal is a low-level signal or no signal, otherwise record the open-drain line level fault of the vehicle and issue a vehicle fault diagnosis request instruction, where the vehicle fault diagnosis request instruction is used to indicate fault diagnosis of the vehicle.

[0078] Optionally, in an embodiment of the present application, the device 10 of the embodiment of the present application further includes: a third judgment module, a second diagnosis module, and a first processing module.

[0079] Wherein, the third judgment module is configured to judge whether the open-drain line level signal of the vehicle is a low-level signal or no signal if the bus fault trigger information is not received.

[0080] The second diagnosis module is configured to record the bus fault of the vehicle and issue a vehicle fault diagnosis request instruction if the open-drain line level signal is a low-level signal or no signal.

[0081] The first processing module is configured to record the bus fault and the open-drain line level fault and control the fault processing device to report its own fault to a preset terminal if the open-drain line level signal is a high-level signal.

[0082] Optionally, in an embodiment of the present application, the device 10 of the embodiment of the present application further includes: a second processing module.

[0083] Wherein, the second processing module is configured to, after recording the bus fault of the vehicle, use the fault processing device to report the bus fault to a preset terminal and display the bus fault on the preset terminal for analysis and processing of the bus fault.

[0084] Optionally, in an embodiment of the present application, the second judgment module 200 includes: a receiving unit, a first determination unit, and a second determination unit.

[0085] Wherein, the receiving unit is configured to receive the open-drain line level signal of the vehicle and judge whether the open-drain line level signal is pulled low.

[0086] The first determination unit is configured to determine that the open-drain line level signal is a low-level signal or no signal when the open-drain line level signal is pulled low.

[0087] The second determination unit is configured to determine that the open-drain line level signal is a high-level signal when the open-drain line level signal is not pulled low.

[0088] Optionally, in an embodiment of the present application, the device 10 of the embodiment of the present application further includes: a fourth judgment module and a reminder module.

[0089] Wherein, the fourth judgment module is configured to judge whether the vehicle enables a fault trigger reminder after controlling the fault processing device to report its own fault to a preset terminal, wherein the fault trigger reminder method includes a voice reminder method and a pop-up reminder method.

[0090] A reminder module, configured to send a fault trigger reminder to a preset terminal when the vehicle enables the fault trigger reminder after a fault handling device reports its own fault to the preset terminal.

[0091] It should be noted that the foregoing explanation of the method embodiments for vehicle fault diagnosis also applies to the device for vehicle fault diagnosis in this embodiment, and will not be elaborated here.

[0092] According to the device for vehicle fault diagnosis provided by the embodiments of the present application, when a vehicle fault is triggered, when a fault handling device of the vehicle receives a bus fault trigger message, and the open-drain line level signal is a low-level signal or no signal, a vehicle fault diagnosis request instruction is sent. When a bus fault trigger message is received and the open-drain line level signal is a high-level signal, the open-drain line level fault of the vehicle is recorded, and a vehicle fault diagnosis request instruction is sent to perform fault diagnosis on the vehicle, effectively improving the real-time performance and accuracy of vehicle fault diagnosis. Thus, the problems in the related art, such as large memory and computing power burdens, and relying on the bus for fault recording, which reduce the real-time performance and accuracy of vehicle fault diagnosis, are solved.

[0093] Figure 5 The structural schematic diagram of the vehicle provided by the embodiments of the present application. The vehicle may include:

[0094] A memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502.

[0095] When the processor 502 executes the program, it implements the method for vehicle fault diagnosis provided in the foregoing embodiments.

[0096] Further, the vehicle further includes:

[0097] A communication interface 503, configured for communication between the memory 501 and the processor 502.

[0098] The memory 501 is used to store a computer program executable on the processor 502.

[0099] The memory 501 may include a high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

[0100] If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 can be interconnected via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 only a thick line is used to represent it in Figure 5 , but it does not mean that there is only one bus or one type of bus.

[0101] Optionally, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a single chip, the memory 501, the processor 502, and the communication interface 503 can communicate with each other through an internal interface.

[0102] The processor 502 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0103] This embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for vehicle fault diagnosis as described above is implemented.

[0104] This embodiment also provides a computer program product, including a computer program, which is used to implement the method for vehicle fault diagnosis as described above when the computer program is executed.

[0105] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0106] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of this application, the meaning of "N" is at least two, such as two, three, etc., unless otherwise specifically defined.

[0107] Any process or method description shown in the flowchart or described in other ways herein may be understood to represent a module, segment, or portion of code including one or N executable instructions for implementing a customized logic function or process, and the scope of the preferred embodiments of this application includes additional implementations, where the functions may be executed in a manner that is not in the order shown or discussed, including in a substantially simultaneous manner or in the reverse order according to the functions involved, which should be understood by those skilled in the art to which the embodiments of this application belong.

[0108] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection part (electronic device) having one or N wirings, a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.

[0109] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.

[0110] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0111] In addition, each functional unit in various embodiments of the present application may be integrated into one processing module, may exist separately as individual physical units, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0112] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for vehicle fault diagnosis, characterized in that, Including the following steps: When the vehicle is in a fault-triggering state, determine whether the vehicle's fault handling device has received a bus fault trigger message; If the bus fault trigger message is received, determine whether the open-drain line level signal of the vehicle is a low-level signal or no signal; If the open-drain line level signal is the low-level signal or no signal, issue the vehicle fault diagnosis request instruction. Otherwise, record the open-drain line level fault of the vehicle and issue the vehicle fault diagnosis request instruction, where the vehicle fault diagnosis request instruction is used to indicate to perform a fault diagnosis on the vehicle.

2. The method according to claim 1, wherein It further includes: If the bus fault trigger message is not received, determine whether the open-drain line level signal of the vehicle is the low-level signal or no signal; If the open-drain line level signal is the low-level signal or no signal, record the bus fault of the vehicle and issue the vehicle fault diagnosis request instruction; If the open-drain line level signal is a high-level signal, record the bus fault and the open-drain line level fault, and control the fault handling device to report its own fault to a preset terminal.

3. The method according to claim 2, wherein After recording the bus fault of the vehicle, it further includes: Use the fault handling device to report the bus fault to the preset terminal and display the bus fault on the preset terminal for analysis and processing of the bus fault.

4. The method according to claim 2, characterized in that, The determination of whether the open-drain line level signal of the vehicle is a low-level signal or no signal includes: Receive the open-drain line level signal of the vehicle and determine whether the open-drain line level signal is pulled low; If the open-drain line level signal is pulled low, determine that the open-drain line level signal is the low-level signal or no signal; If the open-drain line level signal is not pulled low, determine that the open-drain line level signal is the high-level signal.

5. The method according to claim 2, characterized in that, After controlling the fault handling device to report its own fault to a preset terminal, it further includes: Determine whether the vehicle has enabled a fault trigger reminder, where the fault trigger reminder method includes a voice reminder method and a pop-up reminder method; When the vehicle has enabled the fault trigger reminder, send the fault trigger reminder to the preset terminal.

6. A device for vehicle fault diagnosis, characterized in that, It includes: A first judgment module, used to determine whether the vehicle's fault handling device has received a bus fault trigger message when the vehicle is in a fault-triggering state; A second judgment module, used to determine whether the open-drain line level signal of the vehicle is a low-level signal or no signal if the bus fault trigger message is received; A first diagnosis module, used to issue the vehicle fault diagnosis request instruction if the open-drain line level signal is the low-level signal or no signal. Otherwise, record the open-drain line level fault of the vehicle and issue the vehicle fault diagnosis request instruction, where the vehicle fault diagnosis request instruction is used to indicate to perform a fault diagnosis on the vehicle.

7. The device according to claim 6, characterized in that, It further includes: A third judgment module, used to determine whether the open-drain line level signal of the vehicle is the low-level signal or no signal if the bus fault trigger message is not received; The second diagnosis module is used to record the bus fault of the vehicle and send the vehicle fault diagnosis request instruction if the open-drain line level signal is the low-level signal or no signal. The first processing module is used to record the bus fault and the open-drain line level fault and control the fault processing device to report its own fault to a preset terminal if the open-drain line level signal is a high-level signal.

8. A vehicle, characterized in that, It includes: A memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the program to implement the method for vehicle fault diagnosis according to any one of claims 1-5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to be used to implement the method for vehicle fault diagnosis according to any one of claims 1-5.

10. A computer program product, comprising a computer program, characterized in that, The computer program is executed by the processor to be used to implement the method for vehicle fault diagnosis according to any one of claims 1-5.