Vehicle troubleshooting methods, devices, vehicles and storage media

By generating and storing the current status code of the vehicle fault category, and combining it with preset mapping rules to determine the troubleshooting strategy for the target fault, the problem of inaccurate fault diagnosis in the prior art is solved, and rapid and accurate fault location and troubleshooting are achieved.

CN119087968BActive Publication Date: 2025-11-14CHINA FAW CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411191030.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-11-14
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

Existing technologies make it difficult to collect real-time data on occasional vehicle malfunctions in a timely manner, leading to inaccurate troubleshooting results.

Method used

By obtaining the vehicle fault type, generating the current status code and storing it in a preset storage partition, responding to troubleshooting requests, filtering the target storage partition, reading the status code, and determining the troubleshooting strategy according to the mapping rules to perform fault troubleshooting.

Benefits of technology

It enables timely capture and partitioned management of fault occurrence time, ensures the identifiability and readability of status codes, quickly locates the target fault troubleshooting strategy, and improves the accuracy of fault troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087968B_ABST
    Figure CN119087968B_ABST
Patent Text Reader

Abstract

This application discloses a vehicle fault diagnosis method, apparatus, vehicle, and storage medium, relating to the field of fault handling technology. The method includes: obtaining a vehicle fault category; generating a current status code based on a preset mapping rule and the vehicle fault category; storing the current status code in a preset storage partition, wherein each preset storage partition is used to store the current status code for one vehicle fault category; responding to a diagnosis request for a target fault, selecting a target storage partition for the target fault from the preset storage partitions; reading the current status code from the target storage partition and using the read current status code as the target status code for the target fault; determining a target diagnosis strategy for the target fault based on the preset mapping rule and the target status code; and performing fault diagnosis on the target fault according to the target diagnosis strategy. This application can effectively ensure the accuracy of vehicle fault diagnosis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of fault handling technology, and in particular to a vehicle fault diagnosis method, device, vehicle, and storage medium. Background Technology

[0002] Currently, the realization of intelligent vehicle functions relies on complex control logic and highly integrated systems, increasing the likelihood of vehicle malfunctions. To reduce vehicle malfunctions, troubleshooting is necessary. Current troubleshooting methods primarily involve collecting relevant real-time data for fault analysis. However, due to the uncertainty of intermittent malfunctions, it is difficult to collect relevant real-time data in a timely manner, thus compromising the accuracy of troubleshooting results for intermittent malfunctions. Summary of the Invention

[0003] The main objective of this application is to provide a vehicle fault diagnosis method, device, vehicle, and storage medium to effectively ensure the accuracy of vehicle fault diagnosis results.

[0004] To achieve the above objectives, one aspect of this application proposes a vehicle fault diagnosis method, the method comprising:

[0005] Obtain the vehicle fault category;

[0006] The current status code is generated based on the preset mapping rules and the vehicle fault category;

[0007] The current status code is stored in a preset storage partition, wherein each preset storage partition is used to store the current status code of one vehicle fault category;

[0008] In response to a troubleshooting request to investigate a target fault, the target storage partition for the target fault is selected from the preset storage partitions;

[0009] Read the current status code from the target storage partition and use the read current status code as the target status code for the target fault;

[0010] The target troubleshooting strategy for the target fault is determined based on the preset mapping rules and the target status code.

[0011] The target fault is investigated according to the target troubleshooting strategy.

[0012] In some embodiments, generating the current status code according to a preset mapping rule and the vehicle fault category includes:

[0013] Obtain the occurrence time of the vehicle fault category to get the fault time;

[0014] Obtain the status indication information of the vehicle fault category, wherein the status indication information is a prompt signal used to indicate the current status of the vehicle fault category;

[0015] The fault time and the status indication information are encoded according to the preset mapping rules to obtain the current status code.

[0016] In some embodiments, determining the target troubleshooting strategy for the target fault based on the preset rules and the target status code includes:

[0017] According to the preset mapping rules, the target status code is decoded to obtain the target fault time and target status indication information of the target fault;

[0018] Obtain the set of troubleshooting strategies for the target fault;

[0019] Based on the target status indication information, the target troubleshooting strategy for the target fault is matched from the troubleshooting strategy set.

[0020] In some embodiments, after storing the current status code in a preset storage partition, the method further includes:

[0021] Obtain the available capacity of the preset storage partition;

[0022] The availability status of the preset storage partition is detected based on the available capacity;

[0023] If the available status indicates that the preset storage partition is unusable, obtain the current status code of the preset storage partition and the order in which it was stored;

[0024] Based on the order of storage, candidate status codes are selected from the current status codes of the preset storage partition, wherein the candidate status codes are the status codes that need to be deleted.

[0025] Delete the candidate status code.

[0026] In some embodiments, matching the target troubleshooting strategy for the target fault from the troubleshooting strategy set based on the target status indication information includes:

[0027] The target status indication information is compared with the investigation strategy set to determine the investigation strategy for the target status indication information based on the pre-built mapping relationship between status indication information and investigation strategies in the investigation strategy set.

[0028] The determined investigation strategy is taken as the target investigation strategy.

[0029] In some embodiments, the step of troubleshooting the target fault according to the target troubleshooting strategy includes:

[0030] The fault impact information of the target fault is obtained according to the target investigation strategy;

[0031] Based on the fault impact information and the target fault time, complete the fault investigation of the target fault.

[0032] In some embodiments, storing the current status code in a preset storage partition includes:

[0033] The preset storage partition that matches the vehicle fault category;

[0034] The current status code is assigned to the preset storage partition for storage.

[0035] To achieve the above objectives, another aspect of this application provides a vehicle fault diagnosis device, the device comprising:

[0036] The first acquisition module is used to acquire the vehicle fault category;

[0037] The generation module is used to generate the current status code according to the preset mapping rules and the vehicle fault category;

[0038] The storage module is used to store the current status code into a preset storage partition, wherein each preset storage partition is used to store the current status code of one vehicle fault category.

[0039] The first filtering module is used to filter out the target storage partition of the target fault from the preset storage partition in response to the investigation request for investigating the target fault;

[0040] The reading module is used to read the current status code from the target storage partition and use the read current status code as the target status code of the target fault.

[0041] The determination module is used to determine the target troubleshooting strategy for the target fault based on the preset mapping rules and the target status code;

[0042] The troubleshooting module is used to troubleshoot the target fault according to the target troubleshooting strategy.

[0043] To achieve the above objectives, another aspect of this application provides a vehicle, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the vehicle fault diagnosis method described above.

[0044] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described vehicle fault diagnosis method.

[0045] The embodiments of this application include at least the following beneficial effects:

[0046] The technical solution provided in this application involves: obtaining vehicle fault categories; generating a current status code based on preset mapping rules and vehicle fault categories; storing the current status code in preset storage partitions, wherein each preset storage partition is used to store the current status code for one vehicle fault category; responding to a troubleshooting request for a target fault, selecting a target storage partition for the target fault from the preset storage partitions; reading the current status code from the target storage partition and using the read current status code as the target status code for the target fault; determining a target troubleshooting strategy for the target fault based on preset mapping rules and the target status code; and performing fault troubleshooting for the target fault based on the target troubleshooting strategy. On the one hand, by instantly generating the current status code of the vehicle fault category through preset mapping rules and storing it in a preset storage partition, timely capture and partition management of the current status data at the time of fault occurrence is realized. This not only provides a comprehensive and reliable basis for fault diagnosis but also ensures the identifiability, readableness, and ease of reading of the current status code. On the other hand, by determining the target storage partition of the target fault from the preset storage partition and reading the current status code stored in the target storage partition as the basis for analysis of the target fault, it helps to quickly and accurately locate the target fault and the applicable target diagnosis strategy. This enables reliable fault diagnosis of the target fault based on the target diagnosis strategy, effectively ensuring the accuracy of the fault diagnosis results. Attached Figure Description

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

[0048] Figure 1 A flowchart illustrating a vehicle fault diagnosis method provided in this application embodiment;

[0049] Figure 2 This is another flowchart illustrating a vehicle fault diagnosis method provided in an embodiment of this application;

[0050] Figure 3 Provided for the embodiments of this application Figure 1 A detailed flowchart of step S106;

[0051] Figure 4 This is a schematic diagram of the structure of a vehicle fault diagnosis device provided in an embodiment of this application;

[0052] Figure 5 Provided for the embodiments of this application Figure 4 A schematic diagram of the structure of the generation module;

[0053] Figure 6 This is another structural schematic diagram of a vehicle fault diagnosis device provided in an embodiment of this application;

[0054] Figure 7 This is a schematic diagram of the hardware structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0056] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0057] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0059] This application provides a vehicle fault diagnosis method, apparatus, vehicle, and storage medium. The technical solution includes: obtaining a vehicle fault category; generating a current status code based on a preset mapping rule and the vehicle fault category; storing the current status code in a preset storage partition, wherein each preset storage partition is used to store the current status code for one vehicle fault category; responding to a diagnosis request for a target fault, selecting a target storage partition for the target fault from the preset storage partitions; reading the current status code from the target storage partition and using the read current status code as the target status code for the target fault; determining a target diagnosis strategy for the target fault based on the preset mapping rule and the target status code; and performing fault diagnosis on the target fault according to the target diagnosis strategy. On the one hand, by instantly generating the current status code of the vehicle fault category through preset mapping rules and storing it in a preset storage partition, timely capture and partition management of the current status data at the time of fault occurrence is realized. This not only provides a comprehensive and reliable basis for fault diagnosis but also ensures the identifiability, readableness, and ease of reading of the current status code. On the other hand, by determining the target storage partition of the target fault from the preset storage partition and reading the current status code stored in the target storage partition as the basis for analysis of the target fault, it helps to quickly and accurately locate the target fault and the applicable target diagnosis strategy. This enables reliable fault diagnosis of the target fault based on the target diagnosis strategy, effectively ensuring the accuracy of the fault diagnosis results.

[0060] This application provides a vehicle fault diagnosis method, relating to the field of fault handling technology. The vehicle fault diagnosis method provided in this application can be applied to a vehicle or can be software running within a vehicle. The vehicle can be a private car, such as a sedan, SUV, MPV, or pickup truck. The vehicle can also be a commercial vehicle, such as a van, bus, small truck, or large trailer. The vehicle can be a gasoline-powered vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle; the software can be an application that implements the vehicle fault diagnosis method, but is not limited to the above forms.

[0061] Reference Figure 1 This application provides a vehicle fault diagnosis method, which may include, but is not limited to, steps S101 to S107, as follows:

[0062] Step S101: Obtain the vehicle fault category.

[0063] For example, a vehicle may experience various types of malfunctions, such as air conditioning system malfunctions (e.g., failure of the air conditioning natural ventilation function), navigation system malfunctions, and sensor system malfunctions. In the event of a vehicle malfunction, the vehicle malfunction category is determined.

[0064] Step S102: Generate the current status code according to the preset mapping rules and vehicle fault category.

[0065] The current status code is generated instantly based on preset mapping rules and vehicle fault categories. This enables timely capture and management of real-time status data at the time of fault occurrence, providing effective and reliable analytical basis for fault diagnosis.

[0066] In step S102 of some embodiments, the occurrence time of the vehicle fault category can be obtained to obtain the fault time; the status indication information of the vehicle fault category can be obtained, wherein the status indication information is a prompt signal used to indicate the current status of the vehicle fault category; the fault time and status indication information are encoded according to a preset mapping rule to obtain the current status code.

[0067] Obtain the occurrence time of the vehicle fault category, get the fault time (such as a timestamp), and obtain the status indication information of the vehicle fault category.

[0068] The status indication information refers to the prompt signal used to indicate the current state of the vehicle fault category at the time of its occurrence. It can be understood that the status indication information for a vehicle fault category includes at least one prompt signal indicating an abnormal current state.

[0069] For example, taking a malfunction in the air conditioning natural ventilation function as an example, the status indication information corresponding to the malfunction may include a prompt signal for the natural ventilation input command status, a prompt signal for the power mode status, a prompt signal for the recirculation damper motor status, and a prompt signal for the blower status. Therefore, assuming the vehicle experiences a malfunction in the air conditioning natural ventilation function, at least one of these prompt signals will be an abnormal status signal.

[0070] Then, according to the preset mapping rules, the fault time and status indication information are encoded to obtain the current status code.

[0071] The current status code refers to a numerical code that characterizes the type of vehicle malfunction, its time of failure, and its real-time status. The size of the current status code can be flexibly set according to requirements and is not limited thereto.

[0072] Preset mapping rules refer to pre-defined rules that convert the fault time and status indication information of a vehicle fault category into the current status code of the vehicle fault category. It should be noted that preset mapping rules can also reversely convert the current status code back into the fault time and status indication information of the vehicle fault category.

[0073] For example, a preset mapping rule could be to convert the fault time and status indication information of the vehicle fault category into a 16-bit numerical code. To ensure the recognizability of the current status code, each of the first five digits can be defined to represent one of the real-time states corresponding to the fault (e.g., the fifth digit represents the blower status, the fourth digit represents the circulating damper motor status, the third digit represents the power mode status, the second digit represents the natural ventilation input command status, and the first digit represents the remaining real-time states corresponding to the fault, where 0 indicates normal status and 1 indicates abnormal status). It is understood that to reduce the storage space occupied by the current status code, the occurrence time can be simplified to a fixed value, such as representing the fault time "23:59" in binary as "10111111011", thus defining the sixth to sixteenth digits as representing the fault time.

[0074] Taking a vehicle experiencing a natural ventilation malfunction at 11:59 PM as an example, the status indication information corresponding to this natural ventilation malfunction includes a normal natural ventilation input command status, a normal power mode status, a normal circulation damper motor status, and an abnormal blower status. The current status code corresponding to the natural ventilation malfunction would be something like "0000110111111011".

[0075] In this way, by encoding the fault time and status indication information of vehicle fault categories into current status codes, the complex current status indication information can be converted into concise current status codes. This not only facilitates storage and management, but also provides timely, effective, comprehensive and reliable analytical basis for fault identification and location, thus laying the foundation for effective fault response and troubleshooting.

[0076] Step S103: Store the current status code into a preset storage partition, wherein each preset storage partition is used to store the current status code of a vehicle fault category.

[0077] After generating the current status code for the vehicle fault category, the current status code for the vehicle fault category is stored in the preset storage partition corresponding to the vehicle fault category, thereby realizing partition management of the current status code for the vehicle fault category and ensuring the readability and ease of reading of the current status code.

[0078] In step S103 of some embodiments, a preset storage partition of the vehicle fault category can be matched; the current status code is assigned to the preset storage partition for storage.

[0079] Specifically, a specific storage area of ​​a certain size can be pre-allocated in the vehicle's local memory to store the current status code. To achieve reasonable utilization of the specific storage area and improve its utilization rate, the specific storage area can be divided into multiple storage partitions (defined as preset storage partitions).

[0080] To distinguish which vehicle fault category's current status code each preset storage partition is used to store, each preset storage partition can be identified. For example, the letter "E" can be used to identify the preset storage partition used to store the current status code for air conditioning natural ventilation function faults, and the letter "G" can be used to identify the preset storage partition used to store the current status code for navigation system faults.

[0081] In this way, the preset storage partition of the vehicle fault category can be matched, and the current status code of the vehicle fault category can be assigned to the matching preset storage partition for storage.

[0082] For example, to avoid excessive use of the vehicle's local memory, a 1KB storage space can be pre-allocated in the vehicle's local memory. This 1KB storage space contains 1024 bytes. Multiple bytes can be used as a pre-allocated storage partition to store the current status code of a vehicle fault category. For example, two bytes can be used as a pre-allocated storage partition. The first to fifth bits of the 16 bits in the two bytes represent one of the real-time states of the vehicle fault category, and the last 11 bits represent the time when the vehicle fault category occurred.

[0083] If the letter "E" is used to identify the first and second bytes, and these two bytes are divided into the preset storage partition to which the air conditioner natural ventilation function failure belongs, the current status code "0000110111111011" of the air conditioner natural ventilation function failure can be allocated to these two bytes for storage. The first to fourth bits of these two bytes represent other normal states, the fifth bit represents the abnormal state of the blower, and the last 11 bits represent the failure time "23:59".

[0084] This enables timely capture and reasonable management of real-time status data at the time of fault occurrence.

[0085] Understandably, each preset storage partition has good scalability, allowing for increased space, and there is no limit to the size of the preset storage partition.

[0086] Reference Figure 2 In some embodiments, in order to save space in the preset storage partition, steps S201 to S205 may be included after step S103.

[0087] Step S201: Obtain the available capacity of the preset storage partition.

[0088] Specifically, for a preset storage partition, its available capacity is obtained.

[0089] Step S202: Detect the usability status of the preset storage partition based on the available capacity.

[0090] Then, based on the available capacity, the usability status of the preset storage partition is detected.

[0091] For example, a capacity threshold (defined as a preset threshold) can be preset to determine whether the available capacity of the preset storage partition has reached the preset threshold. If the available capacity has reached the preset threshold, the usable state is determined to be that the preset storage partition is unusable.

[0092] Step S203: If the status indicates that the preset storage partition is unusable, obtain the current status code of the preset storage partition and the order of its storage.

[0093] If the preset storage partition is unusable when the available status indicates that the preset storage partition is not available, obtain the current status code of the preset storage partition and the order of its storage.

[0094] Step S204: Based on the order of storage, filter out candidate status codes from the current status codes of the preset storage partition, where the candidate status codes are the status codes that need to be deleted.

[0095] Based on the storage order, candidate status codes that need to be deleted are selected from the current status codes of the preset storage partition.

[0096] Step S205: Delete candidate status codes.

[0097] Finally, the candidate status codes are deleted.

[0098] For example, according to the order of storage from first to last, several current status codes stored in the preset storage partition are filtered out as candidate status codes for deletion.

[0099] This allows for rolling updates of the current status code, saving space in the preset storage partition while ensuring that the preset storage partition always retains the latest real-time status code, thus providing the latest analytical basis for troubleshooting that can be quickly identified.

[0100] Step S104: In response to the troubleshooting request for the target fault, the target storage partition for the target fault is selected from the preset storage partitions.

[0101] Troubleshooting personnel and other users can trigger a troubleshooting request to investigate the target fault. In response to this troubleshooting request, the target storage partition of the target fault is quickly located from the preset storage partitions.

[0102] Step S105: Read the current status code from the target storage partition and use the read current status code as the target status code for the target fault.

[0103] Read the current status code stored in the target storage partition and use the read current status code as the target status code for the target fault.

[0104] Step S106: Determine the target troubleshooting strategy for the target fault based on the preset mapping rules and target status codes.

[0105] Then, the target troubleshooting strategy is determined based on the preset mapping rules and target status codes.

[0106] Reference Figure 3 In order to locate the target troubleshooting strategy more quickly and accurately, and to effectively ensure the accuracy of the troubleshooting results, step S106 in some embodiments may include sub-steps S1061 to S1063.

[0107] Step S1061: According to the preset mapping rules, decode the target status code to obtain the target fault time and target status indication information of the target fault.

[0108] Specifically, according to the preset mapping rules, the target status code is decoded to convert the target status code into the target fault time and target status indication information corresponding to the target fault.

[0109] Step S1062: Obtain the set of troubleshooting strategies for the target fault.

[0110] In order to improve the convenience and efficiency of troubleshooting, and to avoid occupying the vehicle's local storage space, a set of troubleshooting strategies for vehicle fault categories can be pre-built on the terminal or server and stored on the terminal or server.

[0111] For example, a set of troubleshooting strategies for air conditioning natural ventilation function failures can be pre-built on a personal computer (PC). For instance, a troubleshooting strategy for abnormal natural ventilation input command status could be: {Check the wiring harness between the air conditioning controller and the central control screen controller, and whether the central control screen operation is normal}; a troubleshooting strategy for abnormal power mode status could be: {Check whether the vehicle power supply and communication-related wiring harnesses are normal}; a troubleshooting strategy for abnormal recirculation damper motor status could be: {Check whether the wiring harness between the air conditioning controller and the motor, and the recirculation damper motor itself are normal}; and a troubleshooting strategy for abnormal blower status could be: {Check whether the blower wiring harness, blower power supply, and blower itself are normal}, etc.

[0112] In this way, when responding to a troubleshooting request, the system can request a set of troubleshooting strategies for the target fault from the terminal or server, and thus receive the set of troubleshooting strategies for the target fault sent by the terminal or server.

[0113] Step S1063: Based on the target status indication information, match the target troubleshooting strategy for the target fault from the troubleshooting strategy set.

[0114] Therefore, based on the target status indication information, the target fault troubleshooting strategy can be matched from the set of target fault troubleshooting strategies.

[0115] In step S1063 of some embodiments, in order to more accurately locate the target investigation strategy, the target status indication information can be compared with the investigation strategy set to determine the investigation strategy of the target status indication information based on the pre-built mapping relationship between the status indication information and the investigation strategy in the investigation strategy set; and the determined investigation strategy is used as the target investigation strategy.

[0116] The target status indication information is compared with the set of troubleshooting strategies corresponding to the target fault. Based on the pre-built mapping relationship between status indication information and troubleshooting strategies in the set of troubleshooting strategies corresponding to the target fault, the troubleshooting strategy corresponding to the target status indication information is found in the set of troubleshooting strategies corresponding to the target fault, and the found troubleshooting strategy is used as the target troubleshooting strategy.

[0117] Step S107: Perform troubleshooting on the target fault according to the target troubleshooting strategy.

[0118] Finally, the target faults were investigated according to the target troubleshooting strategy, thereby ensuring the accuracy of the troubleshooting results.

[0119] In step S107 of some embodiments, fault impact information of the target fault can be obtained according to the target troubleshooting strategy; and the fault troubleshooting of the target fault can be completed according to the fault impact information and the target fault time.

[0120] Based on the target troubleshooting strategy, the fault impact information of the target fault is determined, and then the fault impact information is integrated with the target fault time to obtain the troubleshooting results and complete the troubleshooting of the target fault.

[0121] For example, to improve the standardization of troubleshooting results, the fault impact information, target fault time, and target fault type can be filled into the corresponding fields in the preset troubleshooting result blank template to obtain the troubleshooting results, such as the air conditioning natural ventilation function failure caused by an abnormal blower wiring harness at around 23:59, which is convenient for troubleshooting personnel to view.

[0122] To better understand the above embodiments, the following are some application scenarios:

[0123] For example, in the event of a malfunction in the vehicle's air conditioning natural ventilation function, the fault time of 23:59 and the status indication information (including the prompt signal indicating that the natural ventilation input command status is normal, the prompt signal indicating that the power mode status is normal, the prompt signal indicating that the circulating damper motor status is normal, and the prompt signal indicating that the blower status is abnormal) are encoded according to the preset mapping rules to obtain the current status code "0000110111111011" corresponding to the air conditioning natural ventilation function malfunction; then the current status code "0000110111111011" is written into the preset storage partition corresponding to the air conditioning natural ventilation function malfunction.

[0124] Troubleshooters can trigger a troubleshooting request for a faulty air conditioning natural ventilation function. In response, the system first locates the target storage partition corresponding to the fault, then reads the target status code "0000110111111011" stored in that partition. According to a preset mapping rule, the system decodes the target status code "0000110111111011" to obtain the target fault time of 23:59 and the target status indication information (including normal natural ventilation input command status, normal power mode status, normal circulation damper motor status, and abnormal blower status). Next, the system identifies the target troubleshooting strategy for the abnormal blower status: {checking the blower wiring harness, blower power supply, and whether individual blower components are functioning correctly}. Then, based on this strategy, the system obtains fault impact information (such as abnormal blower wiring harness), ultimately determining that the air conditioning natural ventilation function fault occurred around 23:59 due to an abnormal blower wiring harness.

[0125] The vehicle fault diagnosis method provided in the above embodiments includes: obtaining the vehicle fault category; generating a current status code according to a preset mapping rule and the vehicle fault category; storing the current status code in a preset storage partition, wherein each preset storage partition is used to store the current status code for one vehicle fault category; responding to a diagnosis request for diagnosing a target fault, selecting a target storage partition for the target fault from the preset storage partitions; reading the current status code from the target storage partition and using the read current status code as the target status code for the target fault; determining a target diagnosis strategy for the target fault according to the preset mapping rule and the target status code; and diagnosing the target fault according to the target diagnosis strategy. On the one hand, by instantly generating the current status code of the vehicle fault category through preset mapping rules and storing it in a preset storage partition, timely capture and partition management of the current status data at the time of fault occurrence is realized. This not only provides a comprehensive and reliable basis for fault diagnosis but also ensures the identifiability, readableness, and ease of reading of the current status code. On the other hand, by determining the target storage partition of the target fault from the preset storage partition and reading the current status code stored in the target storage partition as the basis for analysis of the target fault, it helps to quickly and accurately locate the target fault and the applicable target diagnosis strategy. This enables reliable fault diagnosis of the target fault based on the target diagnosis strategy, effectively ensuring the accuracy of the fault diagnosis results.

[0126] Reference Figure 4 This application also provides a vehicle fault diagnosis device that can implement the above-described vehicle fault diagnosis method. The device includes:

[0127] The first acquisition module is used to acquire the vehicle fault category;

[0128] The generation module is used to generate the current status code according to the preset mapping rules and the vehicle fault category;

[0129] The storage module is used to store the current status code into a preset storage partition, wherein each preset storage partition is used to store the current status code of one vehicle fault category.

[0130] The first filtering module is used to filter out the target storage partition of the target fault from the preset storage partition in response to the investigation request for investigating the target fault;

[0131] The reading module is used to read the current status code from the target storage partition and use the read current status code as the target status code of the target fault.

[0132] The determination module is used to determine the target troubleshooting strategy for the target fault based on the preset mapping rules and the target status code;

[0133] The troubleshooting module is used to troubleshoot the target fault according to the target troubleshooting strategy.

[0134] Reference Figure 5 In some embodiments, the generation module includes:

[0135] The first acquisition unit is used to acquire the occurrence time of the vehicle fault category and obtain the fault time;

[0136] The second acquisition unit is used to acquire the status indication information of the vehicle fault category, wherein the status indication information is a prompt signal used to indicate the current status of the vehicle fault category;

[0137] The encoding unit is used to encode the fault time and the status indication information according to the preset mapping rule to obtain the current status code.

[0138] In some embodiments, the determining module includes:

[0139] The decoding unit is used to decode the target status code according to the preset mapping rule to obtain the target fault time and target status indication information of the target fault.

[0140] The third acquisition unit is used to acquire the set of troubleshooting strategies for the target fault;

[0141] The first matching unit is used to match the target troubleshooting strategy for the target fault from the troubleshooting strategy set according to the target status indication information.

[0142] Reference Figure 6 In some embodiments, the apparatus further includes:

[0143] The second acquisition module is used to acquire the available capacity of the preset storage partition;

[0144] A detection module is used to detect the usability status of the preset storage partition based on the available capacity;

[0145] The third acquisition module is used to acquire the current status code of the preset storage partition and the order of its storage if the available status indicates that the preset storage partition is unavailable.

[0146] The second filtering module is used to filter candidate status codes from the current status codes of the preset storage partition according to the order of storage, wherein the candidate status codes are status codes that need to be deleted.

[0147] The deletion module is used to delete the candidate status codes.

[0148] In some embodiments, the first matching unit includes:

[0149] The comparison subunit is used to compare the target status indication information with the investigation strategy set, so as to determine the investigation strategy of the target status indication information based on the pre-built mapping relationship between status indication information and investigation strategy in the investigation strategy set; and to use the determined investigation strategy as the target investigation strategy.

[0150] In some embodiments, the investigation module includes:

[0151] The fourth acquisition unit is used to acquire fault impact information of the target fault according to the target investigation strategy;

[0152] The troubleshooting subunit is used to complete the troubleshooting of the target fault based on the fault impact information and the target fault time.

[0153] In some embodiments, the storage module includes:

[0154] The second matching unit is used to match the preset storage partition of the vehicle fault category;

[0155] The storage unit is used to allocate the current status code to the preset storage partition for storage.

[0156] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0157] The device provided in this embodiment can be implemented as a computer program, which can be used in, for example... Figure 7 The vehicle shown is running on it.

[0158] This application also provides a vehicle, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned vehicle fault diagnosis method. The vehicle can be a private car, such as a sedan, SUV, MPV, or pickup truck. It can also be a commercial vehicle, such as a van, bus, small truck, or large trailer. The vehicle can be a gasoline-powered vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.

[0159] It is understood that the content of the above method embodiments is applicable to this vehicle embodiment. The specific functions implemented in this vehicle embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0160] Please see Figure 7 , Figure 7 The hardware structure of a vehicle according to another embodiment is illustrated. The vehicle includes:

[0161] The processor 1001 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

[0162] The memory 1002 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1002 and is called and executed by the processor 1001 using the vehicle fault diagnosis method of the embodiments of this application.

[0163] Input / output interface 1003 is used to implement information input and output;

[0164] The communication interface 1004 is used to enable communication and interaction between this vehicle and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0165] Bus 1005 transmits information between various components of the device (e.g., processor 1001, memory 1002, input / output interface 1003, and communication interface 1004);

[0166] The processor 1001, memory 1002, input / output interface 1003 and communication interface 1004 are connected to each other within the device via bus 1005.

[0167] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described vehicle fault diagnosis method.

[0168] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0169] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0170] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0171] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0172] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0173] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0174] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0175] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0176] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0177] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0178] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0179] If the integrated unit is implemented as 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 this application, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0180] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A method for troubleshooting vehicle malfunctions, characterized in that, The method includes: Obtain the vehicle fault category; The current status code is generated based on the preset mapping rules and the vehicle fault category; The current status code is stored in a preset storage partition, wherein each preset storage partition is used to store the current status code of one vehicle fault category; In response to a troubleshooting request to investigate a target fault, the target storage partition for the target fault is selected from the preset storage partitions; Read the current status code from the target storage partition and use the read current status code as the target status code for the target fault; The target troubleshooting strategy for the target fault is determined based on the preset mapping rules and the target status code. The target fault is investigated according to the target troubleshooting strategy; The step of determining the target fault investigation strategy based on the preset mapping rule and the target status code includes: According to the preset mapping rules, the target status code is decoded to obtain the target fault time and target status indication information of the target fault; Obtain the set of troubleshooting strategies for the target fault; Based on the target status indication information, the target troubleshooting strategy for the target fault is matched from the troubleshooting strategy set.

2. The vehicle fault diagnosis method according to claim 1, characterized in that, The step of generating the current status code based on the preset mapping rules and the vehicle fault category includes: Obtain the occurrence time of the vehicle fault category to get the fault time; Obtain the status indication information of the vehicle fault category, wherein the status indication information is a prompt signal used to indicate the current status of the vehicle fault category; The fault time and the status indication information are encoded according to the preset mapping rules to obtain the current status code.

3. The vehicle fault diagnosis method according to claim 1, characterized in that, After storing the current status code in a preset storage partition, the method further includes: Obtain the available capacity of the preset storage partition; The availability status of the preset storage partition is detected based on the available capacity; If the available status indicates that the preset storage partition is unusable, obtain the current status code of the preset storage partition and the order in which it was stored; Based on the order of storage, candidate status codes are selected from the current status codes of the preset storage partition, wherein the candidate status codes are the status codes that need to be deleted. Delete the candidate status code.

4. The vehicle fault diagnosis method according to claim 1, characterized in that, The step of matching the target troubleshooting strategy for the target fault from the troubleshooting strategy set based on the target status indication information includes: The target status indication information is compared with the investigation strategy set to determine the investigation strategy for the target status indication information based on the pre-built mapping relationship between status indication information and investigation strategies in the investigation strategy set. The determined investigation strategy is taken as the target investigation strategy.

5. The vehicle fault diagnosis method according to claim 1, characterized in that, The step of troubleshooting the target fault according to the target troubleshooting strategy includes: The fault impact information of the target fault is obtained according to the target investigation strategy; Based on the fault impact information and the target fault time, complete the fault investigation of the target fault.

6. The vehicle fault diagnosis method according to any one of claims 1 to 5, characterized in that, The step of storing the current status code into a preset storage partition includes: The preset storage partition that matches the vehicle fault category; The current status code is assigned to the preset storage partition for storage.

7. A vehicle fault diagnosis device, characterized in that, The device includes: The first acquisition module is used to acquire the vehicle fault category; The generation module is used to generate the current status code according to the preset mapping rules and the vehicle fault category; The storage module is used to store the current status code into a preset storage partition, wherein each preset storage partition is used to store the current status code of one vehicle fault category. The first filtering module is used to filter out the target storage partition of the target fault from the preset storage partition in response to the investigation request for investigating the target fault; The reading module is used to read the current status code from the target storage partition and use the read current status code as the target status code of the target fault. The determination module is used to determine the target troubleshooting strategy for the target fault based on the preset mapping rules and the target status code; The troubleshooting module is used to troubleshoot the target fault according to the target troubleshooting strategy; The determining module is configured to determine the target troubleshooting strategy for the target fault based on the preset mapping rules and the target status code, including: According to the preset mapping rules, the target status code is decoded to obtain the target fault time and target status indication information of the target fault; Obtain the set of troubleshooting strategies for the target fault; Based on the target status indication information, the target troubleshooting strategy for the target fault is matched from the troubleshooting strategy set.

8. A vehicle, characterized in that, The vehicle includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the vehicle fault diagnosis method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the vehicle fault diagnosis method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Fault detection method and device of vehicle-mounted system, storage medium and electronic equipment

    CN117406693A