Vehicle Fault Diagnosis Method, System, Electronic Device, and Storage Medium
Through the remote diagnosis platform, filtering local vehicle data and performing test cases in the actual vehicle environment, the problems of inaccurate and inefficient testing in the remote diagnosis method are solved, and efficient and accurate fault diagnosis is achieved.
Patent Information
- Application Number
- CN202211703939.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-12-29
AI Technical Summary
The existing technology of remote vehicle fault diagnosis methods are inaccurate and inefficient in bench environments, and cannot truly simulate the vehicle environment, resulting in more repetitive testing.
The local vehicle operation data is filtered through the diagnostic tasks issued by the remote diagnosis platform, targeted test cases are created, and executed in the actual vehicle environment, and data comparison and analysis are carried out for troubleshooting.
Improve the testing efficiency, ensure the accuracy of execution reports, avoid repeated tests, and enhance the test effect in the real environment of the vehicle.
Smart Images

Figure CN116125946B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of automotive electronics, and in particular, to a vehicle fault diagnosis method, system, electronic device, and storage medium. Background Art
[0002] With the increasing high-end complexity of vehicle configurations, more and more faults are caused by the software installed on the in-vehicle infotainment system (IVI). The requirements for automotive maintenance and fault diagnosis technicians are also getting higher and higher. In the prior art, the method of performing remote diagnosis can be adopted. When a vehicle has problems, diagnosis technical experts can be sought online. For example, when a vehicle has a software fault, the vehicle owner does not need to drive the car to a 4S store. The vehicle owner only needs to park the vehicle and then operate in the cloud to obtain vehicle information to remotely diagnose the cause of the fault, and provide more efficient handling suggestions for the vehicle owner. The efficient handling method greatly improves the user experience.
[0003] In the actual test of remote diagnosis in the prior art, the test is verified through a bench environment. Since only some key components of the vehicle are usually installed in the bench environment, the vehicle environment cannot be truly simulated, resulting in inaccurate test results. In addition, due to too much local vehicle operation data in the test, there will be repetitive test work, and the test efficiency is low. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a vehicle fault diagnosis method, system, electronic device, and storage medium to solve the above problems.
[0005] According to a first aspect of an embodiment of the present invention, a vehicle fault diagnosis method is provided, including: obtaining a diagnosis task issued by a remote diagnosis platform, where the diagnosis task at least includes attributes of data to be diagnosed; screening and processing local vehicle operation data according to the attributes of the data to be diagnosed to obtain the data to be diagnosed; creating and executing a test case including the data to be diagnosed to obtain an execution report of the test case; comparing and analyzing the execution reference data of the attributes of the data to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case to diagnose the fault of the vehicle on which the test case is executed.
[0006] In another implementation manner of the present invention, screening and processing local vehicle operation data according to the attributes of the data to be diagnosed to obtain the data to be diagnosed includes: performing a matching process on the attributes of the data to be diagnosed and the data attributes corresponding to the local vehicle operation data to obtain a matching result; extracting the local vehicle operation data with the attributes of the data to be diagnosed from the local vehicle operation data according to the matching result as the data to be diagnosed.
[0007] In another implementation manner of the present invention, the vehicle fault diagnosis method further includes: performing attribute parsing processing on the local vehicle operation data through an attribute parsing rule to obtain the data attributes corresponding to the local vehicle operation data.
[0008] In another implementation of the present invention, creating a test case including data to be diagnosed includes: setting a preset condition including each data attribute of the data to be diagnosed; setting a trigger event including the data value of the data to be diagnosed; and creating a test case including the preset condition and the trigger event.
[0009] In another implementation of the present invention, the vehicle fault diagnosis method further includes: sending vehicle fault information to the remote diagnosis platform, so that the remote diagnosis platform generates a diagnosis task according to the data attribute of the fault data corresponding to the vehicle fault information.
[0010] In another implementation of the present invention, comparing and analyzing the execution reference data of the data attribute to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case to perform fault diagnosis on the vehicle executing the test case includes: comparing and analyzing the actual execution data during the execution of the test case with the execution reference data of the data attribute to be diagnosed corresponding to the diagnosis task to obtain an analysis result; if the analysis result indicates that the actual execution data during the execution of the test case is the same as the execution reference data of the data attribute to be diagnosed corresponding to the diagnosis task, it is determined that a fault indicated by the data attribute to be diagnosed has occurred.
[0011] In another implementation of the present invention, the vehicle fault diagnosis method further includes: sending the fault prompt information generated during the execution of the test case to the remote diagnosis platform; and the remote diagnosis platform performing attribute parsing processing on the fault data corresponding to the fault prompt information according to the attribute parsing rule to obtain the fault data attribute.
[0012] According to the second aspect of the embodiments of the present invention, a vehicle fault diagnosis system is provided, including: a vehicle control device and a remote diagnosis platform; wherein, the remote diagnosis platform sends a diagnosis task to the vehicle control device, and the diagnosis task at least includes a data attribute to be diagnosed; wherein, the vehicle control device filters the data in the local vehicle operation data according to the data attribute to be diagnosed to obtain the data to be diagnosed, creates and executes a test case including the data to be diagnosed, and obtains an execution report of the test case; comparing and analyzing the execution reference data of the data attribute to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case to perform fault diagnosis on the vehicle executing the test case.
[0013] According to the third aspect of the embodiments of the present invention, an electronic device is provided, characterized in that it includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps of the vehicle fault diagnosis method as described in any one of the above are implemented.
[0014] According to a fourth aspect of an embodiment of the present invention, there is provided a computer storage medium, characterized in that a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the steps of the vehicle fault diagnosis method as described in any one of the above are implemented.
[0015] In the vehicle fault diagnosis method according to the embodiment of the present invention, the local vehicle operation data is screened and processed based on the attributes of the data to be diagnosed included in the diagnosis task issued by the remote diagnosis platform to determine the data to be diagnosed, and test cases are created according to relevant information such as the data attributes of the data to be diagnosed, so that the test cases are targeted, avoiding repeated testing due to a large amount of local vehicle operation data to be tested, improving the test efficiency, and obtaining an execution report by executing the test cases in the actual environment of the vehicle. Since the data to be diagnosed is tested in the real environment of the vehicle, the accuracy of the data in the execution report is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. By reading the detailed description of the following embodiments, the advantages and benefits in the solutions will become clear to those skilled in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. In the drawings:
[0017] Figure 1 is a flowchart of the steps of a vehicle fault diagnosis method according to an embodiment of the present invention.
[0018] Figure 2 is a structural block diagram of a vehicle fault diagnosis system according to another embodiment of the present invention.
[0019] Figure 3 is a schematic structural diagram of an electronic device according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0020] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following will clearly and detailedly describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art shall fall within the scope of protection of the embodiments of the present invention.
[0021] Figure 1 is a flowchart of the steps of a vehicle fault diagnosis method provided by an embodiment of the present invention, as Figure 1 shown, this embodiment mainly includes the following steps:
[0022] S101. Obtain the diagnostic task issued by the remote diagnostic platform, where the diagnostic task includes at least the attributes of the data to be diagnosed.
[0023] Exemplarily, the vehicle receives the diagnostic task generated by the remote diagnostic platform according to the diagnostic requirements. The diagnostic task contains the attributes of the data to be diagnosed, and the attributes of the data to be diagnosed can include some data attributes or all data attributes. Among them, the data attributes include all attribute information such as the signal name of the signal, the signal sending node, the protocol data unit corresponding to the signal, the size of the signal, the communication network where the signal is located, the parsed value of the signal, and the addresses of the diagnostic requests and responses corresponding to the signal sending node. For example, the attributes of the data to be diagnosed can be the signal name and the signal sending node of the signal, or the size of the signal and the communication network where the signal is located. This application does not make specific restrictions on the specific number and types of attributes included in the attributes of the data to be diagnosed.
[0024] S102. Screen and process the local vehicle operation data according to the attributes of the data to be diagnosed to obtain the data to be diagnosed.
[0025] Exemplarily, obtain the local vehicle operation data of the vehicle, and extract the vehicle operation data with the attributes of the data to be diagnosed from the local vehicle operation data as the data to be diagnosed. Among them, the local vehicle operation data includes all signals generated during the operation of the vehicle, and the attributes of the local vehicle operation data include the relevant messages, protocol data units corresponding to the local vehicle operation data, and the mutual relationships between the signals, that is, all attribute information such as the signal name of the signal, the signal sending node, the protocol data unit corresponding to the signal, the size of the signal, the communication network where the signal is located, the parsed value of the signal, and the addresses of the diagnostic requests and responses corresponding to the signal sending node. For example, if the attributes of the data to be diagnosed include the signal name of the signal, then extract the data with the attribute of the signal name of the signal from the local vehicle operation data as the data to be diagnosed; for example, if the attributes of the data to be diagnosed include the size of the signal and the communication network where the signal is located, then extract the data with the two attributes of the size of the signal and the communication network where the signal is located from the local vehicle operation data as the data to be diagnosed.
[0026] S103. Create and execute a test case including the data to be diagnosed to obtain an execution report of the test case.
[0027] Exemplarily, call the data to be diagnosed and the corresponding data attributes in the upper computer project to create a test case. The preset conditions in the test case are set according to the data attributes of the data to be diagnosed, and the trigger events are set according to the data values of the data to be diagnosed. Load the test case in the upper computer project and perform automated execution. After the automated execution, an execution report is generated, and the execution report includes the reception and transmission conditions of the signals, etc.
[0028] S104. Compare and analyze the execution reference data of the to-be-diagnosed data attributes corresponding to the diagnostic task with the actual execution data during the execution of the test case, so as to perform fault diagnosis on the vehicle executing the test case.
[0029] Exemplarily, according to the time point of executing the test case, compare the execution reference data of the to-be-diagnosed data attributes corresponding to the diagnostic task with the actual execution data during the execution of the test case to obtain a comparison result, and perform fault diagnosis on the vehicle executing the test case according to the comparison result.
[0030] In the vehicle fault diagnosis method according to the embodiment of the present invention, the local vehicle operation data is screened based on the to-be-diagnosed data attributes included in the diagnostic task issued by the remote diagnosis platform to determine the to-be-diagnosed data, and a test case is created according to relevant information such as the data attributes of the to-be-diagnosed data, so that the test case is targeted, avoiding repeated testing due to the large amount of local vehicle operation data to be tested, improving the test efficiency. By executing the test case in the actual environment of the vehicle, an execution report is obtained. Since the to-be-diagnosed data is tested in the real environment of the vehicle, the accuracy of the data in the execution report is guaranteed.
[0031] In another implementation manner of the present invention, screening the local vehicle operation data according to the to-be-diagnosed data attributes to obtain the to-be-diagnosed data includes: performing a matching process on the to-be-diagnosed data attributes and the data attributes corresponding to the local vehicle operation data to obtain a matching result; extracting the local vehicle operation data with the to-be-diagnosed data attributes from the local vehicle operation data according to the matching result as the to-be-diagnosed data.
[0032] Exemplarily, the vehicle receives the diagnostic task issued by the remote diagnosis platform, performs a matching process on the to-be-diagnosed data attributes mentioned in the diagnostic task and the data attributes corresponding to the local vehicle operation data to obtain a matching result. If the matching result indicates that the matching degree is higher than the matching threshold, it means that the local vehicle operation data has the to-be-diagnosed data attributes, and the data with the to-be-diagnosed data attributes in the local vehicle operation data is extracted as the to-be-diagnosed data. For example, if the to-be-diagnosed data attributes include the signal name of the signal, then perform a matching process on the signal name in the to-be-diagnosed data attributes and the signal name of the local vehicle operation data to obtain a matching result. If the matching result indicates that the matching degree is higher than the matching threshold, it means that the local vehicle operation data has the attribute of the signal name in the to-be-diagnosed data attributes, and the data is extracted as the to-be-diagnosed data.
[0033] Optionally, the data to be diagnosed is stored in a list of data to be diagnosed, which contains information such as the data to be diagnosed, the corresponding data attributes of the data to be diagnosed, and the data values. Among them, the data values include fault values and simulation values. When testing fault data, the corresponding fault value of the data is filled in the list of data to be diagnosed. When testing non-fault data, the simulation value can be filled in the list of data to be diagnosed. The diagnostic data, the data attributes of the data to be diagnosed, and the data values can be stored in the form of a list of data to be diagnosed, or can be stored in other forms, and no specific restrictions are imposed on the storage form.
[0034] In the method of the embodiment of the present invention, the data to be diagnosed is screened according to the data attributes of the data to be diagnosed mentioned in the diagnostic task sent by the remote diagnostic platform, so that the selected data to be diagnosed has a high correspondence with the diagnostic task and is targeted. At the same time, it can be tested according to the fault value and the simulation value, meeting the diversity of different data test requirements.
[0035] In another implementation manner of the present invention, the vehicle fault diagnosis method further includes: performing attribute parsing processing on the local vehicle operation data through an attribute parsing rule to obtain the corresponding data attributes of the local vehicle operation data.
[0036] Exemplarily, the data at different levels in the local vehicle operation database has different signal attributes, and there are mutual relationships between the data at different levels. Parsing rules are established according to different message types, and the local vehicle operation data is parsed based on a single in-vehicle bus. When switching networks, a specific function is called to switch to the target network, realizing the parsing of the data attributes of all local vehicle operation data. Among them, the data attributes include information such as the signal name of the signal, the signal sending node, the protocol data unit corresponding to the signal, the size of the signal, the communication network where the signal is located, the parsed value of the signal, and the addresses of the diagnostic requests and responses corresponding to the signal sending node. The local vehicle operation data and the corresponding data attributes can be stored in a table format, or the local vehicle operation data and the corresponding data attributes can be directly stored, and no specific restrictions are imposed on the storage form of the local vehicle operation data and the corresponding data attributes.
[0037] In the method of the embodiment of the present invention, parsing rules are established according to different message types, so that the attribute parsing rules can realize the parsing of all data attributes, meet the diversity of data attribute parsing, and improve the accuracy of the parsed data attributes.
[0038] In another implementation manner of the present invention, creating a test case including the data to be diagnosed includes: setting a preset condition including each data attribute of the data to be diagnosed; setting a trigger event including the data value of the data to be diagnosed; creating a test case including the preset condition and the trigger event.
[0039] Exemplarily, according to data attributes such as the network segment of the sending node and the diagnostic request address, the preconditions of the test case silence the sending nodes except the gateway to prevent data conflicts between the simulation data and the real vehicle data. The triggering event is the data value message function of the sending node signal. According to the data attributes of the data to be diagnosed, a certain fault value signal or other simulation value signals are simulated and sent on the corresponding network segment to record the start and end time points of the message simulation.
[0040] In the method of the embodiment of the present invention, by silencing the sending nodes except the gateway to prevent data conflicts between the simulation data and the real vehicle data, and setting the triggering event according to the data value corresponding to the data to be diagnosed, the executability of the created test case is ensured.
[0041] In another implementation manner of the present invention, the vehicle fault diagnosis method further includes: obtaining vehicle fault information; sending the vehicle fault information to the remote diagnosis platform, so that the remote diagnosis platform generates a diagnosis task according to the data attributes of the fault data corresponding to the vehicle fault information.
[0042] Exemplarily, the vehicle obtains local vehicle fault information and sends the vehicle fault information to the remote diagnosis platform. The remote diagnosis platform judges information such as the data type and data attributes that need to be collected according to the vehicle fault information, generates a diagnosis task according to the data type, data attributes and other information that need to be collected, and sends the diagnosis task to the vehicle. The remote diagnosis platform can also conduct random spot checks on the vehicle operation data of the vehicle. For example, according to user requirements, set the data type, data attributes and other information that need to be collected, and generate a collection task according to the data type, data attributes and other information that need to be collected and send it to the vehicle.
[0043] In the method of the embodiment of the present invention, a targeted diagnosis task is generated for information such as the data type and data attributes that need to be tested, and only part of the data that needs to be tested is extracted for processing, avoiding the situation of repeated testing due to excessive vehicle operation data, and improving the efficiency of data simulation testing.
[0044] In another implementation manner of the present invention, the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task is compared and analyzed with the actual execution data during the execution process of the test case to perform fault diagnosis on the vehicle executing the test case, including: comparing and analyzing the actual execution data during the execution process of the test case with the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task to obtain an analysis result; if the analysis result indicates that the actual execution data during the execution process of the test case is the same as the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task, it is determined that a fault indicated by the data attributes to be diagnosed has occurred.
[0045] Exemplarily, according to the time point when the test case is executed, the actual execution data during the execution of the test case is compared with the execution reference data of the data attributes to be diagnosed corresponding to the corresponding time point, and an analysis result is obtained. If the analysis result indicates that the actual execution data during the execution of the test case is the same as the execution reference data of the data attributes to be diagnosed corresponding to the diagnostic task, it is determined that a failure indicated by the data attributes to be diagnosed has occurred.
[0046] Optionally, the process of comparing and analyzing the actual execution data during the execution of the test case with the execution reference data of the data attributes to be diagnosed corresponding to the diagnostic task can be obtained by the user himself / herself comparing and analyzing according to the data and reference data in the execution report; or it can be automatically compared and analyzed by the vehicle control device according to the data and reference data in the execution report; or the execution report is sent to the remote diagnostic platform, and the remote diagnostic platform automatically compares and analyzes according to the data and reference data in the execution report to obtain the analysis result.
[0047] In the method of the embodiment of the present invention, by comparing the actual execution data during the execution of the test case with the execution reference data of the data attributes to be diagnosed corresponding to the corresponding time point according to the time point of the simulation, the accuracy of the judgment result is improved.
[0048] In another implementation manner of the present invention, the vehicle fault diagnosis method further includes: sending the fault prompt information generated during the execution of the test case to the remote diagnostic platform; the remote diagnostic platform performs attribute parsing processing on the fault data corresponding to the fault prompt information according to the attribute parsing rule to obtain the fault data attribute.
[0049] Exemplarily, the remote diagnostic platform receives the fault prompt information generated during the execution of the test case by the vehicle, performs attribute parsing processing on the fault data corresponding to the fault prompt information through a preset attribute parsing rule to obtain the fault data attribute, and according to the time point of executing the test case, compares and analyzes the actual execution data during the execution of the test case with the fault data attribute corresponding to the corresponding time point to obtain an analysis result, and determines whether the remote diagnostic platform completely parses the fault data attribute according to the analysis result.
[0050] In the method of the embodiment of the present invention, performing attribute parsing processing on the fault data corresponding to the fault prompt information according to the attribute parsing rule to determine the fault data attribute ensures the accuracy of the fault data attribute parsing.
[0051] Figure 2 A vehicle fault diagnosis system 200 provided for the embodiment of the present invention, as Figure 2 shown, the vehicle fault diagnosis system 200 includes:
[0052] A vehicle control device 201 and a remote diagnosis platform 202.
[0053] Among them, the remote diagnosis platform 202 sends a diagnosis task to the vehicle control device 201, and the diagnosis task at least includes the attributes of the data to be diagnosed.
[0054] Among them, the vehicle control device 201 filters the data in the local vehicle operation data according to the attributes of the data to be diagnosed, obtains the data to be diagnosed, creates and executes a test case including the data to be diagnosed, obtains an execution report of the test case, and compares and analyzes the execution reference data of the attributes of the data to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case, so as to diagnose the faults of the vehicle executing the test case.
[0055] In the vehicle fault diagnosis system 200 according to the embodiment of the present invention, the local vehicle operation data is filtered according to the attributes of the data to be diagnosed included in the diagnosis task issued by the remote diagnosis platform, the data to be diagnosed is determined, and a test case is created according to the relevant information such as the data attributes of the data to be diagnosed, so that the test case is targeted, avoiding the situation of repeated testing due to the large amount of local vehicle operation data to be tested, improving the test efficiency, and obtaining an execution report by executing the test case in the actual environment of the vehicle. Since the data to be diagnosed is tested in the real environment of the vehicle, the accuracy of the data in the execution report is guaranteed.
[0056] The system of this embodiment is used to implement the corresponding methods in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here. In addition, the function implementation of each module in the system of this embodiment can refer to the description of the corresponding part in the foregoing method embodiments, which will not be elaborated here either.
[0057] As Figure 3 shown, the electronic device 300 may include: a processor 301, a memory 303, a communication bus 304, and a communication interface 305.
[0058] Among them:
[0059] The processor 301, the memory 303, and the communication interface 305 communicate with each other through the communication bus 304.
[0060] The communication interface 305 is used to communicate with other electronic devices or servers.
[0061] The processor 301 is used to execute the program 302, and specifically can execute the steps of any one of the vehicle fault diagnosis methods in the foregoing embodiments.
[0062] Specifically, the program 302 may include program code that includes computer operation instructions.
[0063] The processor 301 may be a central processing unit (CPU), or a specific application integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. One or more processors included in the intelligent device may be of the same type of processor, such as one or more CPUs; or may be of different types of processors, such as one or more CPUs and one or more ASICs.
[0064] The memory 303 is used to store the program 302. The memory 303 may include high-speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
[0065] The program 302 is specifically configured to cause the processor 301 to execute steps to implement any one of the vehicle fault diagnosis methods described in the embodiments. For the specific implementation of each step in the program 302, reference may be made to the steps and corresponding descriptions in the units of any one of the vehicle fault diagnosis methods described above, which will not be elaborated here. Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific working processes of the devices and modules described above may refer to the corresponding process descriptions in the foregoing method embodiments.
[0066] An exemplary embodiment of the present application also provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the methods of the embodiments of the present application.
[0067] The method according to an embodiment of the present invention can be implemented in hardware, firmware, or be implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or be implemented as computer code that is originally stored in a remote recording medium or a non-transitory machine-readable medium and downloaded through a network and will be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component (such as a RAM, a ROM, a flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the method shown herein.
[0068] So far, specific embodiments of the present invention have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing may be advantageous.
[0069] It should be noted that all directional indications (such as up, down, left, right, back...) in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will change accordingly.
[0070] In the description of the present invention, the terms "first" and "second" are only used for convenience in describing different components or names, and cannot be understood as indicating or implying an order relationship, relative importance, or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features.
[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0072] It should be noted that although the specific embodiments of the present invention have been described in detail with reference to the accompanying drawings, it should not be construed as a limitation on the protection scope of the present invention. Within the scope described in the claims, various modifications and deformations that can be made by those skilled in the art without creative work still fall within the protection scope of the present invention.
[0073] The examples of the embodiments of the present invention are intended to briefly illustrate the technical features of the embodiments of the present invention, so that those skilled in the art can intuitively understand the technical features of the embodiments of the present invention, and do not serve as an improper limitation on the embodiments of the present invention.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle fault diagnosis method, comprising: Obtaining a diagnosis task issued by a remote diagnosis platform, where the diagnosis task at least includes data attributes to be diagnosed; Screening and processing local vehicle operation data according to the data attributes to be diagnosed to obtain data to be diagnosed; wherein, the local vehicle operation data includes all signals generated during the operation of the vehicle, and the local vehicle operation data attributes include but are not limited to relevant messages, protocol data units corresponding to the local vehicle operation data, and the mutual relationship between signals; Creating and executing a test case including the data to be diagnosed to obtain an execution report of the test case; Comparing and analyzing the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case to diagnose faults of the vehicle executing the test case; The screening and processing local vehicle operation data according to the data attributes to be diagnosed to obtain data to be diagnosed includes: matching the data attributes to be diagnosed with the corresponding data attributes of the local vehicle operation data to obtain a matching result; extracting the local vehicle operation data with the data attributes to be diagnosed from the local vehicle operation data according to the matching result as the data to be diagnosed.
2. The method according to claim 1, wherein It further includes: Performing attribute parsing processing on the local vehicle operation data through an attribute parsing rule to obtain the corresponding data attributes of the local vehicle operation data.
3. The method according to claim 2, wherein The creating a test case including the data to be diagnosed includes: Setting preset conditions for each data attribute including the data to be diagnosed; Setting a trigger event for the data value including the data to be diagnosed; Creating a test case including the preset conditions and the trigger event.
4. The method according to claim 3, wherein It further includes: Sending vehicle fault information to the remote diagnosis platform, so that the remote diagnosis platform generates the diagnosis task according to the data attributes of the fault data corresponding to the vehicle fault information.
5. The method according to claim 1, characterized in that, The comparing and analyzing the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task with the actual execution data during the execution of the test case to diagnose faults of the vehicle executing the test case includes: Comparing and analyzing the actual execution data during the execution of the test case with the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task to obtain an analysis result; If the analysis result indicates that the actual execution data during the execution of the test case is the same as the execution reference data of the data attributes to be diagnosed corresponding to the diagnosis task, it is determined that the fault indicated by the data attributes to be diagnosed has occurred.
6. The method according to claim 5, characterized in that, The method further includes: Sending the fault prompt information generated during the execution of the test case to the remote diagnosis platform; The remote diagnosis platform performs attribute parsing processing on the fault data corresponding to the fault prompt information through an attribute parsing rule to obtain fault data attributes.
7. A vehicle fault diagnosis system, characterized in that, It includes: A vehicle control device and a remote diagnosis platform; Wherein, the remote diagnosis platform sends a diagnosis task to the vehicle control device, and the diagnosis task at least includes data attributes to be diagnosed; Among them, the vehicle control device screens and processes the local vehicle operation data according to the to-be-diagnosed data attributes to obtain the to-be-diagnosed data, creates and executes a test case including the to-be-diagnosed data, and obtains an execution report of the test case; compares and analyzes the execution reference data of the to-be-diagnosed data attributes corresponding to the diagnostic task with the actually executed data during the execution of the test case to diagnose faults in the vehicle executing the test case. The local vehicle operation data includes all signals generated during the operation of the vehicle, and the local vehicle operation data attributes include but are not limited to relevant messages, protocol data units corresponding to the local vehicle operation data, and the mutual relationships between signals. The vehicle control device screens and processes the local vehicle operation data according to the to-be-diagnosed data attributes to obtain the to-be-diagnosed data, including: the vehicle control device matches the to-be-diagnosed data attributes with the data attributes corresponding to the local vehicle operation data to obtain a matching result; extracts the local vehicle operation data with the to-be-diagnosed data attributes from the local vehicle operation data according to the matching result as the to-be-diagnosed data.
8. An electronic device, characterized in that, Including: A memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the vehicle fault diagnosis method according to any one of claims 1 to 6 when executing the computer program.
9. A computer storage medium, characterized in that, A computer program is stored on the computer storage medium, and when the computer program is executed by a processor, it implements the vehicle fault diagnosis method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle offline diagnosis method, vehicle offline diagnosis device, diagnosis device and computer readable storage medium
CN113050601A
Automatic diagnosis test method, device and equipment
CN113672498A