Automobile diagnostic method, device, readable storage medium, and automobile diagnostic instrument
An automobile diagnosis and automobile technology, applied in the field of automobile diagnosis methods, devices, readable storage media, and automobile diagnostic instruments, capable of solving problems such as error-prone
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0141] Please refer to figure 1 , figure 1 It is a flow chart of a car diagnostic method in the embodiment of the present application, the method can be applied to a car diagnostic instrument, and the method includes the following steps:
[0142] S101. Load the diagnostic data stored in the databases of each diagnostic layer in a preset format.
[0143] In the embodiment of the present application, before the car diagnostic instrument is used to diagnose the car, the diagnostic data of the ECU can be stored in a preset format in the databases of each diagnostic layer in advance. Wherein, the preset format can specifically use files of types such as txt, ini, and XML to implement storage, that is, as long as the storage rules are defined. Since the XML format has better readability and higher readability, and many international standards use XML to store data, the XML format can be preferably used. Of course, it can also be realized by using other format files; the processin...
Embodiment 2
[0158] Corresponding to the first embodiment above, before step S101 is executed, during the process of storing the diagnostic data in the databases of each diagnostic layer, it can be stored according to the preset data hierarchical model, which can avoid multiple storage of the same data, and can Bring convenience to data maintenance.
[0159] Specifically, please refer to figure 2 , figure 2 It is a kind of data hierarchical model in the embodiment of the present application, wherein the mode indicated by the arrow represents the inheritance relationship, Protocol (protocol), Base-Variant (basic variable layer), Ecu-Variant (ECU variable), Ecu-Shared-Data ( ECU shared data). In this way, the diagnostic data stored in the data of each diagnostic layer in XML format according to the preset data layering model can be loaded;
[0160] Among them, the data hierarchical model includes:
[0161] Protocol layer L201, used to store ECU protocol data;
[0162] Basic variable l...
Embodiment 3
[0169] Corresponding to the second embodiment above, when data is stored, the data is stored according to the data hierarchical model. For the storage process of specific diagnostic data, please refer to image 3 , image 3 It is a schematic diagram of a diagnostic data storage process in the embodiment of this application. Stored procedures for diagnostic data, including:
[0170] S301. Obtain the original diagnostic data and ECU protocol of each ECU;
[0171] Get the original diagnostic data of each ECU and the corresponding ECU protocol. Wherein, the ECU protocol is specifically a diagnosis protocol.
[0172] S302. Classify the types according to the functions of each original diagnosis data, and use different types of data as a node of the XML document respectively.
[0173]The original diagnostic data of different roles are respectively regarded as a node of the XML document. That is to say, in this application, the diagnostic data will be stored in XML format. The...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


