Vehicle communication fault diagnosis method, device and vehicle

By acquiring and recording vehicle fault information and generating fault response strategies, the problem of frequent communication faults caused by improper fault handling methods is solved, and the effective handling of fault conditions and safe driving of the vehicle are achieved.

CN118295375BActive Publication Date: 2024-09-13CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703704.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-13
Estimated Expiration
2044-06-03

AI Technical Summary

Technical Problem

The existing technology fails to effectively solve the problem of frequent vehicle communication failures caused by improper fault handling methods, which affects the safe driving of the vehicle.

Method used

By obtaining the fault information of the vehicle, recording the fault status and fault code of the target component, performing fault processing based on the fault status and fault code, and generating a fault response strategy, including a fault latch strategy and a fault clearing strategy, to avoid misclearance and frequent faults. .

Benefits of technology

It effectively avoids misoperations caused by invalid fault conditions recorded by the vehicle controller, prevents fault conditions that do not meet the preset clearing conditions from being cleared, reduces frequent faults, and ensures safe driving of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118295375B
    Figure CN118295375B
Patent Text Reader

Abstract

The present invention discloses a method, device and vehicle for diagnosing vehicle communication faults. The method comprises: obtaining fault information of the vehicle; when it is determined that the fault information meets the preset identification conditions, recording the fault state of the current target component and the fault code corresponding to the fault state; performing fault processing on the target component based on the fault state and the fault code; when it is determined that the fault state of the current target component is cleared, judging whether the current fault state meets the preset clearing conditions and obtaining the judgment result; generating a fault response strategy based on the judgment result. The present invention solves the technical problem that frequent fault phenomena are caused by improper fault handling methods. The above-mentioned diagnostic method, after the fault state is cleared, judges the cleared fault state to avoid the fault state that does not meet the preset clearing conditions from being cleared.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle control, and in particular to a method and device for diagnosing vehicle communication failure, and a vehicle. Background Art

[0002] With the increasing development of CAN (Controller Area Network) bus technology, it is more and more widely used in industrial control systems. In the automotive industry, CAN bus is more susceptible to electromagnetic interference from high-power devices such as motor systems and chargers, resulting in communication failures.

[0003] When a communication failure occurs in the vehicle CAN network, in order to prevent abnormal vehicle function response caused by the inability of the electronic control units to normally exchange data through the CAN network, the fault handling module performs fault recovery for the corresponding communication failure. After the fault recovery, due to improper fault handling methods, frequent faults will occur in a short period of time, thus affecting the safe driving of the vehicle.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method, device and vehicle for diagnosing vehicle communication faults, so as to at least solve the technical problem that faults occur frequently due to improper fault handling methods.

[0006] According to one aspect of an embodiment of the present invention, a method for diagnosing a vehicle communication fault is provided, comprising: obtaining fault information of the vehicle, the fault information comprising at least communication fault information of a target component of the vehicle; upon determining that the fault information satisfies a preset identification condition, recording the fault state of the current target component and a fault code corresponding to the fault state; performing fault processing on the target component based on the fault state and the fault code; upon determining that the fault state of the current target component is cleared, determining whether the current fault state satisfies a preset clearing condition, and obtaining a determination result; generating a fault response strategy based on the determination result, wherein the fault response strategy comprises at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy comprises maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy comprises clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0007] Optionally, when it is determined that the fault information meets the preset identification conditions, the fault state of the current target component and the fault corresponding to the fault state are recorded, including: determining whether the low-voltage power-on time of the current target component is greater than the preset time; if so, recording the fault state of the current target component and the fault corresponding to the fault state.

[0008] Optionally, when it is determined that the fault information meets the preset identification conditions, the fault state of the current target component and the fault corresponding to the fault state are recorded, and it also includes: judging whether the low-voltage power-on time of the current target component is greater than the preset time; if so, judging whether the current target component has completed initialization; if so, recording the fault state of the current target component and the fault corresponding to the fault state.

[0009] Optionally, generating a fault response strategy based on the judgment result includes: in the case where it is determined that the current fault state is cleared, judging whether the current fault state satisfies a preset clearing condition; if not, generating a fault latching strategy in the fault response strategy.

[0010] Optionally, determining whether the current fault state satisfies a preset clearing condition includes: determining whether a sleep flag of a first target component in the target component is triggered, wherein the first target component includes at least one of the following: a battery management system, a motor control unit; if so, generating a fault latching strategy in a fault response strategy.

[0011] Optionally, generating a fault latching strategy in the fault response strategy includes: from the moment the first target component enters sleep mode, controlling the vehicle controller to latch the current fault state and latching the fault code corresponding to the current fault state until the first target component completes sleep mode.

[0012] Optionally, determining whether the current fault state satisfies a preset clearing condition includes: determining whether a low-voltage power-on flag of a second target component in the target component is triggered, wherein the second target component includes at least one of the following: an engine management system, a transmission control unit; if so, generating a fault latch strategy in a fault response strategy.

[0013] Optionally, a fault latching strategy in the fault response strategy is generated, including: from the moment the second target component enters low voltage power-off, controlling the vehicle controller to latch the current fault state and latching the fault code corresponding to the current fault state until the second target component is completely shut down.

[0014] According to another aspect of an embodiment of the present invention, a vehicle communication fault diagnosis device is also provided, including: an acquisition module, the acquisition module is used to acquire vehicle fault information, the fault information at least includes communication fault information of a target component of the vehicle; a first judgment module, the first judgment module is used to record the fault state of the current target component and the fault code corresponding to the fault state when it is determined that the fault information meets a preset identification condition; a fault processing module, the fault processing module is used to perform fault processing on the target component based on the fault state and the fault code; a second judgment module, the second judgment module is used to determine whether the current fault state meets a preset clearing condition when it is determined that the current fault state is cleared, and obtain a judgment result; a generation module, the generation module is used to generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0015] According to another aspect of an embodiment of the present invention, a computer storage medium is provided. The computer storage medium includes a stored program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the above-mentioned diagnostic method.

[0016] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned diagnostic method are implemented.

[0017] According to another aspect of an embodiment of the present invention, a vehicle is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above-mentioned diagnostic method.

[0018] In an embodiment of the present invention, it is determined whether the acquired fault information meets the preset identification conditions. If it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that are mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a vehicle communication fault diagnosis method according to an embodiment of the present invention;

[0021] Figure 2 is a flow chart of a method for diagnosing vehicle communication failure according to an embodiment of the present invention;

[0022] Figure 3 is a schematic structural diagram of a hybrid power system according to an embodiment of the present invention;

[0023] Figure 4 is a flow chart of a hybrid vehicle communication fault diagnosis method according to an embodiment of the present invention;

[0024] Figure 5 4 is a structural block diagram of a vehicle communication fault diagnosis device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Example 1

[0028] According to an embodiment of the present invention, an embodiment of a method for diagnosing vehicle communication failures is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] Figure 1 1 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a vehicle communication fault diagnosis method according to an embodiment of the present invention. Figure 1 As shown, the computer terminal (or mobile device) may include one or more processors 102 (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. In addition, a transmission device 106 for communication functions, an input and output device 108, and a display 110 may also be included. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above-mentioned computer terminal (or mobile device). For example, the computer terminal may also include more or fewer components than those described in the above structure, or have a configuration different from that described in the above structure.

[0030] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the vehicle communication fault diagnosis method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above-mentioned vehicle communication fault diagnosis method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0031] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] The display 110 may be a touch screen type liquid crystal display (LCD). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0033] Figure 2 FIG. 1 is a flow chart of a method for diagnosing a vehicle communication failure according to one embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0034] Step S1: Acquire vehicle fault information, where the fault information at least includes communication fault information of a target component of the vehicle.

[0035] It can be understood that the vehicle target component is connected to the vehicle controller by signal, and the vehicle controller receives the fault information fed back by the vehicle target component, wherein the vehicle target component includes but is not limited to the engine management system, battery management system, motor control unit, transmission control unit, chassis controller, body controller, airbag controller, electronic shifter, etc. In addition, in addition to the communication fault information, the fault information also includes Checksum fault information, Livecounter fault information, Timeout fault information, and Busoff fault information.

[0036] Step S2: When it is determined that the fault information meets the preset identification condition, the fault state of the current target component and the fault code corresponding to the fault state are recorded.

[0037] It can be understood that a fault state refers to an abnormal situation that occurs during the operation of the vehicle. The fault state is generally displayed on the vehicle instrument or central control display screen to remind the driver. The fault code is a coding method used to identify and diagnose the fault state. It is usually composed of a set of specific numbers or characters. The fault code can help technicians quickly locate the cause of the fault and take appropriate maintenance measures.

[0038] Step S3: Perform fault processing on the target component based on the fault status and the fault code.

[0039] It can be understood that according to the fault status, the fault phenomenon, occurrence time, occurrence frequency, etc. can be known. The fault code is usually generated by the vehicle's diagnostic system and can be read by the OBD-II (on-board diagnostic system) scanning tool. According to the fault code, it can be preliminarily determined that the system or component that the fault may involve, and a detailed inspection (including but not limited to visual inspection, electrical testing, etc.) is carried out for the system or component indicated by the fault code. According to the inspection results, the cause of the fault is further diagnosed (involving detailed testing of the vehicle's sensors, actuators, control modules, etc.), and after determining the cause of the fault, the corresponding repair or replacement is carried out.

[0040] Step S4: When it is determined that the fault state of the current target component is cleared, it is determined whether the current fault state meets a preset clearing condition to obtain a determination result.

[0041] It can be understood that after the fault state of the current target component is cleared, the fault state will not be displayed on the vehicle instrument or central control display screen.

[0042] Step S5: Generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0043] In an embodiment of the present application, it is determined whether the acquired fault information meets the preset identification conditions. When it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that were mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults.

[0044] In an exemplary embodiment of the present application, the above diagnostic method is described in detail by taking a hybrid power system of a hybrid vehicle as an example, wherein: Figure 3 As shown, the hybrid power system includes: an engine 1, a separation clutch 2, a motor 3, a transmission 4, a power battery 5, an inverter 6, wheels 7, a vehicle controller 8, an auxiliary starter 9, an electric auxiliary oil pump 10, an engine management system 11, a motor control unit 12, a DC voltage converter 13, a low-voltage battery 14, a transmission control unit 15, an energy management system 16 and a high-voltage relay 17.

[0045] The hybrid system consists of two power sources, the first power source is the engine 1, the second power source is the motor 3, and the engine 1 is connected to the motor 3 through the separation clutch 2. When the separation clutch 2 is in the disengaged state, the power battery 5 provides electric energy to the motor through the inverter 6, and the torque output by the motor 3 is transmitted to the wheels 7 through the transmission 4, thereby driving the vehicle to travel. When the separation clutch 2 is engaged, the engine 1 and the motor 3 can output torque simultaneously or individually, thereby driving the vehicle to travel.

[0046] The engine 1 is controlled by the engine management system 11, the motor 3 is controlled by the motor control unit 12, the transmission 4 is controlled by the transmission control unit 15, and the power battery 5 is controlled by the battery management system 16. The vehicle controller 8 can send control instructions to the engine management system 11, the motor control unit 12, and the transmission control unit 15 through the CAN bus to control the operation of each power assembly, and can also directly control the separation clutch 2, the auxiliary starter 9, and the electric auxiliary oil pump 10.

[0047] The high-voltage relay 17 can disconnect and connect the power battery 5 with the high-voltage system, and the DC voltage converter 13 is used to convert the electrical energy in the power battery 5 into 12V electrical energy to charge the low-voltage battery 14 .

[0048] Specifically, Figure 4 As shown, the vehicle controller 8 obtains the fault status information of the engine management system 11, the motor control unit 12, the transmission control unit 15, and the energy management system 16 in real time; the vehicle controller 8 determines whether the fault status information meets the fault identification conditions, if so, the vehicle controller 8 records the fault status, fault code, and performs fault processing; continues to determine whether the fault status is cleared, if so, continues to determine whether the fault status meets the fault clearing conditions, if so, clears the fault status, and changes the fault code to a historical fault; continues to determine whether the fault status is cleared, if so, continues to determine whether the fault status meets the fault clearing conditions, if not, maintains the fault status, and maintains the current fault code.

[0049] Furthermore, in step S2, when it is determined that the fault information meets the preset identification condition, the fault state of the current target component and the fault corresponding to the fault state are recorded, including the following steps:

[0050] Step S21: Determine whether the low-voltage power-on time of the current target component is greater than a preset time.

[0051] Taking the hybrid system of the hybrid vehicle as an example, the target components include the engine management system, motor control unit, transmission control unit and battery management system. Before the above target components communicate, they all need to be powered on at low voltage. The fault information obtained by the vehicle controller before the low voltage power-on is completed is unreliable and invalid. Among them, the low voltage power-on time refers to the time from the time the low voltage power of the target component is connected.

[0052] Step S22: If yes, record the fault state of the current target component and the fault corresponding to the fault state.

[0053] In the above steps, the low-voltage power-on time of the target component is judged to ensure that the fault information recorded by the vehicle controller is valid and reliable.

[0054] Preferably, in step S2, when it is determined that the fault information meets the preset identification condition, recording the fault state of the current target component and the fault corresponding to the fault state includes:

[0055] Step S201: Determine whether the low-voltage power-on time of the current target component is greater than a preset time.

[0056] Taking the hybrid system of the above-mentioned hybrid vehicle as an example, the target components include the engine management system, the motor control unit, the transmission control unit and the battery management system. Before communicating, the above-mentioned target components need to be powered on at low voltage. The fault information obtained by the vehicle controller before the low-voltage power-on is completed is unreliable and invalid.

[0057] Step S202: If yes, determine whether the current target component has completed initialization.

[0058] It should be noted that generally, the target component can complete its own initialization within the preset time after low-voltage power-on, but it does not rule out the phenomenon that some target components may be delayed in initialization. The target component can communicate with the vehicle controller only after it is initialized, so the fault information obtained by the vehicle controller before initialization is unreliable and invalid.

[0059] Step S203: If yes, record the fault state of the current target component and the fault corresponding to the fault state.

[0060] In the above steps, the low-voltage power-on time of the target component and whether the initialization is completed are judged to ensure that the fault information recorded by the vehicle controller is valid and reliable.

[0061] Furthermore, in step S5, a fault response strategy is generated based on the judgment result, including the following steps:

[0062] Step S51: when it is determined that the current fault state is cleared, it is determined whether the current fault state satisfies a preset clearing condition.

[0063] Step S52: If not, generate a fault latching strategy in the fault response strategy.

[0064] In the above steps, after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing condition from being cleared, thereby causing frequent faults.

[0065] In an exemplary embodiment of the present application, determining whether the current fault state satisfies a preset clearing condition in step S4 includes the following determination steps:

[0066] Step S41: determining whether a sleep flag of a first target component among target components is triggered, wherein the first target component includes at least one of the following: a battery management system and a motor control unit.

[0067] Taking the hybrid system of the above hybrid vehicle as an example, the target components include the engine management system, the motor control unit, the transmission control unit and the battery management system, among which the battery management system and the motor control unit are controllers that support sleep and wake-up. After the battery management system and the motor control unit are in sleep mode, the fault states corresponding to the battery management system and the motor control unit will be cleared, but the faults corresponding to the battery management system and the motor control unit have not been restored. After the battery management system and the motor control unit are awakened, the corresponding faults will reappear, and then the faults will occur frequently, affecting the safe driving of the vehicle.

[0068] Step S42: If yes, generate a fault latching strategy in the fault response strategy.

[0069] In the above steps, it is determined whether the sleep flag of the first target component in the target components is triggered to exclude the situation where the fault caused by the controller sleeping is cleared.

[0070] Specifically, the fault latching strategy in the generated fault response strategy includes: from the moment when the first target component enters sleep mode, controlling the vehicle controller to latch the current fault state and latching the fault code corresponding to the current fault state until the first target component completes sleep mode, so as to ensure that during the sleep mode of the first target component, the fault state of the first target component is latched in the corresponding vehicle instrument or central control, and the corresponding fault code is latched in the fault list.

[0071] In an exemplary embodiment of the present application, determining whether the current fault state satisfies a preset clearing condition in step S4 includes the following determination steps:

[0072] Step S401: Determine whether a low voltage power-on flag of a second target component in the target components is triggered, wherein the second target component includes at least one of the following: an engine management system, a transmission control unit.

[0073] Taking the hybrid system of the above hybrid vehicle as an example, the target components include the engine management system, the motor control unit, the transmission control unit and the battery management system, among which the engine management system and the transmission control unit are controllers that only support IGON power supply (power supply). After the engine management system and the transmission control unit are powered off at low voltage, the corresponding fault status of the engine management system and the transmission control unit will be cleared, but the corresponding fault of the engine management system and the transmission control unit has not been restored. After the engine management system and the transmission control unit are powered on at low voltage again, the corresponding fault will reappear, and then the fault will occur frequently, affecting the safe driving of the vehicle.

[0074] Step S402: If yes, generate a fault latching strategy in the fault response strategy.

[0075] In the above steps, it is determined whether the low voltage power-off flag of the second target component in the target components is triggered to exclude the situation where the fault caused by the low voltage power-off of the controller is cleared.

[0076] Specifically, the fault latching strategy in the generated fault response strategy includes: from the moment when the second target component enters the low voltage power-off state, controlling the vehicle controller to latch the current fault state and latching the fault code corresponding to the current fault state until the second target component is completely shut down. This ensures that during the period when the second target component is powered off at low voltage, the fault state of the second target component is latched in the corresponding vehicle instrument or central control, and the corresponding fault code is latched in the fault list.

[0077] Example 2

[0078] The embodiment of the present application also provides a vehicle communication fault diagnosis device, Figure 5 It is a block diagram of the diagnostic device, such as Figure 5 As shown, the device includes: an acquisition module, a first judgment module, a second judgment module, a fault processing module and a generation module.

[0079] The acquisition module is used to acquire the fault information of the vehicle, and the fault information at least includes the communication fault information of the vehicle target component.

[0080] The first judgment module is used to record the fault state of the current target component and the fault code corresponding to the fault state when it is determined that the fault information meets the preset identification condition.

[0081] The fault handling module is used to handle the faults of the target components based on the fault status and fault code.

[0082] The second judgment module is used to judge whether the current fault state meets a preset clearing condition and obtain a judgment result when it is determined that the current fault state is cleared.

[0083] The generation module is used to generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0084] In an embodiment of the present application, it is determined whether the acquired fault information meets the preset identification conditions. When it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that were mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults.

[0085] Example 3

[0086] An embodiment of the present application further provides a computer storage medium, the computer storage medium including a stored program, wherein when the program is running, the device where the computer storage medium is located is controlled to execute the diagnostic method in the above embodiment.

[0087] In this embodiment, the computer storage medium may be configured to store a computer program for performing the following steps:

[0088] Step S1: Acquire vehicle fault information, where the fault information at least includes communication fault information of a target component of the vehicle.

[0089] Step S2: When it is determined that the fault information meets the preset identification condition, the fault state of the current target component and the fault code corresponding to the fault state are recorded.

[0090] Step S3: Perform fault processing on the target component based on the fault status and the fault code.

[0091] Step S4: When it is determined that the fault state of the current target component is cleared, it is determined whether the current fault state meets a preset clearing condition to obtain a determination result.

[0092] Step S5: Generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0093] In an embodiment of the present application, it is determined whether the acquired fault information meets the preset identification conditions. When it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that were mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults.

[0094] Example 4

[0095] The embodiments of the present application further provide a computer program product, which implements the steps of the diagnostic method in the above embodiments when the computer program is executed by a processor.

[0096] In this embodiment, the computer program product may be configured to perform the following steps through a computer program:

[0097] Step S1: Acquire vehicle fault information, where the fault information at least includes communication fault information of a target component of the vehicle.

[0098] Step S2: When it is determined that the fault information meets the preset identification condition, the fault state of the current target component and the fault code corresponding to the fault state are recorded.

[0099] Step S3: Perform fault processing on the target component based on the fault status and the fault code.

[0100] Step S4: When it is determined that the fault state of the current target component is cleared, it is determined whether the current fault state meets a preset clearing condition to obtain a determination result.

[0101] Step S5: Generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0102] In an embodiment of the present application, it is determined whether the acquired fault information meets the preset identification conditions. When it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that were mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults.

[0103] Example 5

[0104] An embodiment of the present application further provides a vehicle, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the diagnostic method in the above embodiment.

[0105] In this embodiment, the processor may be configured to perform the following steps through a computer program:

[0106] Step S1: Acquire vehicle fault information, where the fault information at least includes communication fault information of a target component of the vehicle.

[0107] Step S2: When it is determined that the fault information meets the preset identification condition, the fault state of the current target component and the fault code corresponding to the fault state are recorded.

[0108] Step S3: Perform fault processing on the target component based on the fault status and the fault code.

[0109] Step S4: When it is determined that the fault state of the current target component is cleared, it is determined whether the current fault state meets a preset clearing condition to obtain a determination result.

[0110] Step S5: Generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location.

[0111] In an embodiment of the present application, it is determined whether the acquired fault information meets the preset identification conditions. When it is determined that the preset identification conditions are met, the fault state and fault code of the current target component are recorded. For different fault states and fault codes, fault processing is performed to clear the fault of the current target component. After the fault state of the current target component is cleared, it is determined whether the cleared fault state meets the preset clearing conditions and a judgment result is obtained. The vehicle controller generates a fault response strategy based on the judgment result to latch the fault state and fault code that were mistakenly cleared. The above-mentioned diagnostic method judges and identifies the fault information to avoid the vehicle's erroneous operation caused by the invalid fault state recorded by the vehicle controller; and after the fault state is cleared, the cleared fault state is judged to avoid the fault state that does not meet the preset clearing conditions from being cleared, thereby causing frequent faults.

[0112] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0113] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0114] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0116] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0117] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0118] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for diagnosing vehicle communication failure, It is characterized in that include: Acquiring fault information of the vehicle, the fault information at least including communication fault information of the target component of the vehicle; When it is determined that the fault information satisfies a preset identification condition, recording the current fault state of the target component and a fault code corresponding to the fault state; performing fault processing on the target component based on the fault state and the fault code; In the case of determining that the current target component fault state is cleared, judging whether the current fault state satisfies a preset clearing condition, and obtaining a judgment result; Generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latch strategy and a fault clearing strategy, wherein the fault latch strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location; Determining whether the current fault state satisfies a preset clearing condition includes: Determine whether a sleep flag of a first target component among the target components is triggered, wherein the first target component includes at least one of the following: a battery management system, a motor control unit; If yes, the fault latching strategy in the fault response strategy is generated.

2. The diagnostic method according to claim 1, It is characterized in that In the case where it is determined that the fault information satisfies a preset identification condition, recording the fault state of the current target component and the fault corresponding to the fault state includes: Determine whether the low-voltage power-on duration of the current target component is greater than a preset duration; If yes, the fault state of the current target component and the fault corresponding to the fault state are recorded.

3. The diagnostic method according to claim 1 or 2, It is characterized in that In the case where it is determined that the fault information meets the preset identification condition, recording the fault state of the current target component and the fault corresponding to the fault state, further comprising: Determine whether the low-voltage power-on duration of the current target component is greater than a preset duration; If yes, determine whether the current target component has completed initialization; If yes, the fault state of the current target component and the fault corresponding to the fault state are recorded.

4. The diagnostic method according to claim 1, It is characterized in that Generating a fault response strategy based on the judgment result includes: In the case where it is determined that the current fault state is cleared, determining whether the current fault state satisfies a preset clearing condition; If not, the fault latching strategy in the fault response strategy is generated.

5. The diagnostic method according to claim 1, It is characterized in that Generating the fault latching strategy in the fault response strategy includes: From the moment when the first target component enters sleep mode, the vehicle controller is controlled to latch the current fault state and the fault code corresponding to the current fault state until the first target component completes sleep mode.

6. The diagnostic method according to claim 4, It is characterized in that Determining whether the current fault state satisfies a preset clearing condition includes: Determine whether a low voltage power-down flag of a second target component among the target components is triggered, wherein the second target component includes at least one of the following: an engine management system, a transmission control unit; If yes, the fault latching strategy in the fault response strategy is generated.

7. The diagnostic method according to claim 6, It is characterized in that Generating the fault latching strategy in the fault response strategy includes: From the moment when the second target component enters low voltage power-off, the vehicle controller is controlled to latch the current fault state and the fault code corresponding to the current fault state until the second target component is completely shut down.

8. A diagnostic device for vehicle communication failure, It is characterized in that include: An acquisition module, the acquisition module is used to acquire fault information of the vehicle, the fault information at least including communication fault information of the target component of the vehicle; A first judgment module, wherein the first judgment module is used to record the current fault state of the target component and the fault code corresponding to the fault state when determining that the fault information meets the preset identification condition; A fault processing module, the fault processing module is used to perform fault processing on the target component based on the fault state and the fault code; A second judgment module, the second judgment module is used to judge whether the current fault state meets a preset clearing condition and obtain a judgment result when it is determined that the current fault state is cleared; A generating module, the generating module is used to generate a fault response strategy based on the judgment result, wherein the fault response strategy includes at least one of the following: a fault latching strategy and a fault clearing strategy, wherein the fault latching strategy includes maintaining the current fault state and maintaining the fault code corresponding to the current fault state, and the fault clearing strategy includes clearing the current fault state and saving the fault code corresponding to the current fault state as a historical fault code to a target location; Determining whether the current fault state satisfies a preset clearing condition includes: Determine whether a sleep flag of a first target component among the target components is triggered, wherein the first target component includes at least one of the following: a battery management system, a motor control unit; If yes, the fault latching strategy in the fault response strategy is generated.

9. A computer storage medium, It is characterized in that The computer storage medium includes a stored program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the diagnostic method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the diagnostic method according to any one of claims 1 to 7 are implemented.

11. A vehicle comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to perform the diagnostic method according to any one of claims 1 to 7.