Automatic diagnosis analysis method and system based on ODX data

Through automated algorithms, ODX files are parsed, key diagnostic information is identified and extracted, and diagnostic function modules are automatically generated, which solves the problems of manual parsing of ODX files being low, error-prone, and difficult to adapt to the needs of rapid development, and achieves efficient and accurate diagnostic analysis and rapid development capabilities.

CN119937525APending Publication Date: 2025-05-06SHENZHEN XIAOYUN INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510172457.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, manual parsing of ODX files is inefficient, prone to errors, and difficult to adapt to the needs of rapid development.

Method used

Automatic diagnostic analysis methods and systems based on ODX data are adopted to analyze ODX files through automated algorithms, identify and extract key diagnostic information such as diagnostic services, data parameters, fault codes, etc., and automatically generate diagnostic function modules.

Benefits of technology

It significantly improves the efficiency and accuracy of diagnostic analysis, reduces the error rate, ensures the reliability and consistency of the diagnostic system, and adapts to the needs of rapid development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937525A_ABST
    Figure CN119937525A_ABST
Patent Text Reader

Abstract

The invention provides an automatic diagnosis analysis method and system based on ODX data, and relates to the field of automobile intelligent diagnos.The method comprises the steps that a standardized data file containing diagnosis logic and parameters of a vehicle control system is obtained; importing the standardized data file into an automatic analysis platform, analyzing diagnostic logic and data in the imported file, identifying and extracting diagnostic services, data parameters and fault codes as key diagnostic information; according to the analysis result, automatically generating a diagnosis function module corresponding to the analysis data; and integrating the generated diagnosis function module into a test environment of the vehicle control system, and supporting a user to check, edit and test the diagnosis function module through an interface. According to the method, the ODX file is analyzed through an automatic algorithm, and the corresponding diagnosis code is generated, so that the working efficiency and accuracy are greatly improved, the error rate is reduced, and the reliability and consistency of a diagnosis system are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile intelligent diagnosis, and in particular to an automatic diagnosis and analysis method and system based on ODX data. Background Art

[0002] With the development of automotive electronic technology, automotive control systems have become increasingly complex. Modern automotive control systems often contain multiple electronic control units (ECUs), each of which is responsible for managing specific vehicle functions, such as engine control, transmission control, body control, airbag system, etc. In order to ensure that these control systems can work properly, automakers and developers must perform detailed diagnosis and testing on the ECU.

[0003] The diagnostic system is one of the key tools to ensure the normal operation of the automotive ECU. To this end, the industry has developed a variety of standards, among which the ODX (Open Diagnostic Data Exchange) standard is a widely adopted one. The ODX file is used to describe the diagnostic data and logic of the vehicle controller. It is a standardized file based on the XML format and can describe in detail the information related to vehicle diagnosis, such as fault codes (DTCs), communication parameters, diagnostic services, etc.

[0004] In the existing development process, ODX files are usually automatically generated by specialized tools (such as VisualODX), which contain the complete diagnostic logic of the vehicle controller. However, in actual work, diagnostic engineers often need to manually parse these ODX files to understand the functional logic and implement it into operable diagnostic code. This process includes a detailed analysis of the diagnostic data and logic contained in the ODX file, and then converting it into programming language code that can be used by the vehicle diagnostic system. The existing manual parsing method has the following main problems: 1. Low work efficiency: ODX files usually contain a large amount of diagnostic logic and data. Manual analysis requires understanding the file content word by word and converting it into programming code. This process is extremely time-consuming, especially when faced with complex diagnostic logic, the analysis efficiency is further reduced.

[0005] 2. Human error is prone to occur: Due to the complexity and large amount of data in ODX files, errors are prone to occur during manual analysis, such as misunderstanding the diagnostic logic, missing key data, or programming errors during the conversion process. These errors may cause the vehicle diagnostic system to not work properly and even cause safety hazards.

[0006] 3. Difficult to adapt to rapid development needs: With the rapid development of automotive electronic technology, the update and iteration of vehicle control systems have accelerated, and the manual parsing of ODX files is difficult to meet the needs of rapid development. R&D personnel often need to complete a large number of diagnostic functions in a short period of time, and the low efficiency of manual parsing has become a bottleneck.

[0007] In order to overcome the above problems, improve the efficiency of ODX file parsing and reduce human errors, an automated parsing method is urgently needed. The ODX file is parsed by an automated algorithm to significantly improve the speed of generating diagnostic codes and ensure the accuracy and consistency of parsing. Summary of the invention

[0008] In view of this, in order to solve the problems in the prior art that manual parsing of ODX files is inefficient, error-prone, and difficult to adapt to rapid development needs, the present invention proposes an automatic diagnosis and parsing method and system based on ODX data, which parses the ODX file through an automated algorithm and generates corresponding diagnostic codes, greatly improving work efficiency and accuracy and reducing error rate, thereby ensuring the reliability and consistency of the diagnostic system.

[0009] The present invention is implemented by the following technical solutions: In a first aspect, the present invention provides an automatic diagnosis and analysis method based on ODX data, the method comprising the following steps: Obtain standardized data files containing vehicle control system diagnostic logic and parameters; Importing the standardized data file into the automated parsing platform, parsing the diagnostic logic and data in the imported file, and identifying and extracting diagnostic services, data parameters, and fault codes as key diagnostic information; According to the analysis results, the diagnostic function module corresponding to the analysis data is automatically generated; The generated diagnostic function modules are integrated into the test environment of the vehicle control system, and users are supported to view, edit and test the diagnostic function modules through the interface.

[0010] As a further solution of the present invention, the standardized data files include but are not limited to ODX files, DTC files and standardized files describing the diagnostic logic of the vehicle control system generated by the vehicle control system.

[0011] As a further solution of the present invention, in the standardized data file, an ODX file is generated using a standard VisualODX tool. The ODX file is automatically generated by a software system of a vehicle controller and contains diagnostic logic and data of the vehicle controller.

[0012] As a further solution of the present invention, the automatic analysis platform is developed based on the integrated development environment (IDEA), automatically analyzes the diagnostic logic and data in the standardized data file, and generates corresponding diagnostic function modules.

[0013] As a further solution of the present invention, when the automated parsing platform parses the diagnostic logic and data in the imported file, after the parsing is completed, a diagnostic function configuration library in XML format is automatically generated. The diagnostic function configuration library contains parsed diagnostic sequence modules that can be called at will by users in the platform to realize the diagnostic function of the vehicle controller.

[0014] As a further solution of the present invention, the automated parsing platform is used to parse the ODX file item by item, identify and extract key diagnostic information of diagnostic services (Diagnostic Services), data parameters (Data Parameters), and fault codes (DTCs) in the ODX file. The automated parsing platform can ensure that the parsing success rate of the ODX file reaches 99%. The above parsing success rate is based on multiple tests and verifications of control systems of vehicles of different models, and by comparing the manual parsing results, the error rate in the manual parsing process is greatly reduced.

[0015] As a further solution of the present invention, the diagnostic function configuration library in XML format includes at least one diagnostic function module. These modules can adapt to different types of vehicle controllers and have good expansibility and versatility.

[0016] As a further solution of the present invention, the automated parsing platform has the ability to automatically adjust the parsing strategy, and can dynamically adjust the parsing according to the characteristics of ODX files of different models and types to ensure the efficiency and accuracy of the parsing.

[0017] As a further solution of the present invention, the XML diagnostic function configuration library generated after the parsing is completed has good readability, and the user can intuitively view and edit the diagnostic function module through the platform interface, thereby simplifying subsequent diagnostic testing and system integration work.

[0018] As a further solution of the present invention, the automated parsing platform includes but is not limited to rule matching, pattern recognition and machine learning algorithms to achieve efficient parsing of complex logic in ODX files.

[0019] As a further solution of the present invention, the diagnostic function configuration library in XML format generated by the method can be compatible with multiple different diagnostic tools and platforms, further improving the integration efficiency of the diagnostic function.

[0020] In a second aspect, the present invention also includes an automatic diagnosis and analysis system based on ODX data, the system comprising: Standardized data acquisition module: used to obtain standardized data files containing vehicle control system diagnostic logic and parameters. The data files include ODX files, DTC files, and standardized files describing the vehicle control system diagnostic logic.

[0021] Automated parsing platform: Developed based on IDEA, this platform can automatically parse the diagnostic logic and data in standardized data files, identify and extract key diagnostic information including diagnostic services, data parameters, and fault codes (DTCs).

[0022] Diagnostic function module generator: used to automatically generate diagnostic function modules corresponding to the parsed data based on the parsing results of the automated parsing platform. These modules are generated in XML or JSON format and can be called in the test environment of the vehicle control system.

[0023] Diagnostic function configuration library: Contains parsed diagnostic sequence modules with good scalability and versatility. The configuration library can be called by users in the platform and supports different models and types of vehicle controllers to ensure the compatibility and versatility of the system.

[0024] Test environment integration interface: used to integrate the generated diagnostic function modules into the test environment of the vehicle control system, supporting users to view, edit and test the diagnostic function modules through the system interface, simplifying diagnostic testing and system integration work.

[0025] User interface module: It is used to provide an intuitive user interface through which users can view, edit and test the diagnostic function module, and can also view the parsing results and the configuration library content in a readable XML format, ensuring the operability and ease of use of the diagnostic module.

[0026] Dynamic parsing strategy control module: used to dynamically adjust parsing according to the characteristics of ODX files of different models and types to ensure the efficiency and accuracy of parsing. The parsing success rate reaches more than 99%, thereby reducing the error rate in the manual parsing process.

[0027] Compatibility support module: used to ensure that the diagnostic function configuration library in XML format can be compatible with multiple different diagnostic tools and platforms, further improving the integration efficiency of diagnostic functions and the flexibility of the system.

[0028] The present invention also includes a computer device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the automatic diagnosis and analysis method based on ODX data.

[0029] The present invention also includes a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the automatic diagnosis and analysis method based on ODX data.

[0030] Compared with the prior art, the automatic diagnosis and analysis method and system based on ODX data provided by the present invention has the following beneficial effects: 1. Improved diagnostic analysis efficiency: The present invention uses an automated analysis platform to quickly extract key diagnostic information such as diagnostic services, data parameters, fault codes, etc. from ODX files and other standardized data files, greatly reducing the time and labor costs of manual analysis and improving the efficiency of diagnostic analysis.

[0031] 2. Reduced error rate: The automated parsing platform of the present invention adopts rule matching, pattern recognition and machine learning algorithms, which greatly improves the parsing success rate of ODX files. Compared with manual parsing, it significantly reduces the error rate and improves the accuracy and reliability of the parsing results.

[0032] 3. Modular generation and flexible integration: The system of the present invention can automatically generate diagnostic function modules based on the analysis results. These modules are saved in XML or JSON format and have good scalability and versatility. The modular design allows these diagnostic function modules to be easily integrated into the test environment of the vehicle control system, supporting different types and models of vehicle controllers to meet diverse diagnostic needs.

[0033] 4. Dynamic adjustment of parsing strategy is realized: The automated parsing platform in the present invention has the ability to dynamically adjust the parsing strategy, and can automatically optimize the parsing algorithm according to the characteristics of different vehicle models and ODX files, ensuring the efficiency and accuracy of the parsing process and adapting to the needs of different vehicle control systems.

[0034] 5. Compatibility and versatility: The XML format diagnostic function configuration library generated by the system of the present invention has wide compatibility and can be used with multiple different diagnostic tools and platforms. Such a design improves the integration efficiency of the diagnostic function, ensures that the system can adapt to the needs of different manufacturers and different diagnostic tools, and enhances the flexibility and practicality of the diagnostic system.

[0035] 6. Support for parsing of multiple types of data files: The system of the present invention not only supports the parsing of ODX files, but also supports DTC files and other standardized files that describe the diagnostic logic of vehicle control systems. This diverse data support capability makes the system perform more outstandingly and comprehensively when handling complex vehicle diagnostic tasks.

[0036] In summary, the automatic diagnosis and analysis method and system based on ODX data of the present invention greatly improves the efficiency, accuracy and flexibility of vehicle diagnosis through automated, intelligent and modular design, while reducing the complexity and error rate of manual operation, and can be widely applied to the diagnostic needs of modern vehicle control systems.

[0037] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings: Figure 1 Flow chart of an automatic diagnosis and analysis method based on ODX data according to an embodiment of the present invention.

[0039] Figure 2 This is a flowchart of using the standard VisualODX tool to generate an ODX file in the automatic diagnosis and analysis method based on ODX data in an embodiment of the present invention.

[0040] Figure 3 The present invention is a flowchart of an automatic diagnosis and analysis method based on ODX data in which an ODX file is automatically generated by a software system of a vehicle controller.

[0041] Figure 4 It is a principle block diagram of an automatic diagnosis and analysis system based on ODX data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0044] The following will be combined with the drawings in the exemplary embodiments of the present invention to clearly and completely describe the technical solutions in the exemplary embodiments of the present invention. Obviously, the exemplary embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0045] In order to solve the problems in the prior art that manual parsing of ODX files is inefficient, error-prone, and difficult to adapt to rapid development needs, the present invention provides an automatic diagnosis and parsing method and system based on ODX data, which parses ODX files through an automated algorithm and generates corresponding diagnostic codes, greatly improving work efficiency and accuracy and reducing error rates, thereby ensuring the reliability and consistency of the diagnostic system.

[0046] The technical solution of the present invention is further described below in conjunction with specific embodiments: See also Figure 1 As shown, Figure 1 A flowchart of an automatic diagnosis and analysis method based on ODX data provided by the present invention. An automatic diagnosis and analysis method based on ODX data provided in one embodiment of the present invention comprises the following steps: Step S10: Acquire a standardized data file containing vehicle control system diagnostic logic and parameters.

[0047] In this step, when obtaining the standardized data file containing the diagnostic logic and parameters of the vehicle control system, the vehicle diagnostic tool VCI is connected to the vehicle's OBD-II interface or CAN bus, and the target controller (engine control unit ECU or transmission control unit TCU) is selected through the diagnostic tool interface, and then the diagnostic logic and parameter data to be extracted are selected, and finally exported as ODX or DTC files.

[0048] Before obtaining the data file, cooperate with the vehicle manufacturer or control system supplier to obtain the necessary authorized vehicle diagnostic tool VCI (Vehicle Communication Interface) to connect to the vehicle's OBD-II interface or CAN bus, read the data in the controller, select the target controller in the interface of the vehicle diagnostic tool VCI, the target controller is the engine control unit or transmission control unit, and select the diagnostic logic and parameter data to be obtained, use the export function of the diagnostic tool to export the diagnostic logic and data in the selected controller into standardized data files, such as ODX files, DTC files, etc.

[0049] By cooperating with the vehicle manufacturer or control system supplier, you can obtain authorization to use the vehicle diagnostic tool VCI.

[0050] Connect the vehicle using Bosch or similar vehicle diagnostic tools, select the control unit and export the required data file. For example, connect the OBD-II interface of a modern car through the Bosch vehicle diagnostic tool, select the engine control unit ECU, and export the EngineECU.odx file.

[0051] For example, by using Bosch's vehicle diagnostic tool, after connecting to the OBD-II interface of a modern car, the engine control unit (ECU) is selected, and the EngineECU.odx file containing the diagnostic logic of the control unit is exported.

[0052] The standardized data files include but are not limited to ODX files and DTC files generated by the vehicle control system and standardized files describing the diagnostic logic of the vehicle control system.

[0053] In this embodiment, the ODX file generated by the vehicle control system includes diagnostic services, data parameters, fault codes (DTCs), communication protocols and data types, and is saved in the ECU.odx file format. For example, it is the diagnostic logic of the engine control unit (ECU) of a certain car, including startup testing, reading sensor data, and diagnosing fault codes.

[0054] In this embodiment, the DTC file generated by the vehicle control system contains the vehicle diagnostic fault code and identifies a specific vehicle fault type, and is saved in the DTCs.xml file format, for example, as a list of common fault codes for systems such as the engine and transmission and their corresponding descriptions, such as P0300 indicating engine random / multi-cylinder misfire detection.

[0055] In this embodiment, the standardized file describing the diagnostic logic of the vehicle control system includes the ISO14229 protocol file and the software configuration file of the vehicle controller, which is used to define the communication rules and logic between the vehicle controller and the diagnostic tool. It can be saved as ISO14229_UdsCommProtocol.xml, which is used to describe the application of the UDS (Unified DiagnosticServices) protocol on the vehicle controller and specifies the format and transmission process of the diagnostic message.

[0056] Among them, in the standardized data file, the standard VisualODX tool is used to generate the ODX file, and the ODX file is automatically generated by the software system of the vehicle controller and contains the diagnostic logic and data of the vehicle controller.

[0057] In this embodiment, see Figure 2 As shown, using the standard VisualODX tool to generate an ODX file, the following steps are included: Step S101, configuring the vehicle controller software system: using the software development kit (SDK) provided by the controller supplier, configuring the vehicle controller software system, defining the controller's diagnostic services, data parameters, fault codes, etc.

[0058] Step S102, create a project using the VisualODX tool: start the VisualODX tool, create a new ODX project, and set the basic information of the project, including vehicle model, controller type, etc.

[0059] Step S103, define diagnostic logic and data structure: In the VisualODX tool, define diagnostic logic, data structure and fault code according to the configuration of the vehicle controller software system, including setting the triggering conditions of the diagnostic service, the communication protocol of the data transmission, etc.

[0060] Step S104, generate ODX file: After configuration is completed, use the "Generate" function of the VisualODX tool to automatically generate the corresponding ODX file. The file contains the diagnostic logic and data parameters of the vehicle controller, which can be used for subsequent diagnostic analysis and testing.

[0061] Example: After the transmission control unit (TCU) of a certain car is configured, the VisualODX tool is used to generate the TCU_2024.odx file. This file is automatically generated by the software system of the transmission controller and contains all relevant diagnostic logic, parameters and fault code information.

[0062] Among them, see Figure 3 As shown, when the ODX file is automatically generated by the vehicle controller's software system, it includes the following steps: Step S201 , loading diagnostic logic configuration: loading a predefined diagnostic logic configuration file into the software system of the controller.

[0063] Step S202, system automatic generation: the software system of the controller automatically generates the corresponding ODX file according to the loaded diagnostic logic configuration. This process includes encoding the diagnostic service, data parameters, fault code and other information, and generating a standardized ODX file format.

[0064] Step S203, exporting and saving the ODX file: The generated ODX file can be exported by the software system of the vehicle controller and saved to a designated storage medium for use by engineers or diagnostic tools.

[0065] For example, in the power control unit (PCU) of a certain electric vehicle, engineers load the defined diagnostic logic configuration file into the PCU software system. Use the Bosch diagnostic tool to connect the OBD-II interface, select the engine ECU, and export the EngineECU.odx file. Then, import it into the automated parsing platform, use rule matching and pattern recognition algorithms to parse the ODX file, and extract diagnostic services and fault codes. Among them, the regular expression rule " <diagnosticservice id="\"(\w+)\”">" Match the diagnostic service ID and extract the corresponding ID information. In the pattern recognition algorithm, a tree structure is used to represent the nested elements in the ODX file. A support vector machine (SVM) is used to classify the diagnostic service data in the ODX file and identify the type and function of the diagnostic service. Finally, the platform generates a diagnostic function configuration library in XML format containing this information for engineers to further test and optimize.

[0066] This embodiment can accurately identify and parse the diagnostic logic and data in the vehicle control system, and generate an XML configuration library that can be used for system testing and integration. This method significantly improves the parsing success rate of diagnostic data, reduces the risk of errors in manual parsing, and provides strong support for the diagnosis and maintenance of vehicle control systems.

[0067] Step S20: import the standardized data file into the automated parsing platform, parse the diagnostic logic and data in the imported file, and identify and extract diagnostic services, data parameters, and fault codes as key diagnostic information.

[0068] In this step, the automated parsing platform is developed based on the integrated development environment (IDEA), automatically parses the diagnostic logic and data in the standardized data file, and generates the corresponding diagnostic function module. When the automated parsing platform parses the diagnostic logic and data in the imported file, after the parsing is completed, it automatically generates a diagnostic function configuration library in XML format, which contains the parsed diagnostic sequence module and can be freely called by the user in the platform to realize the diagnostic function of the vehicle controller.

[0069] The automated parsing platform is used to parse the ODX file item by item, identify and extract key diagnostic information of diagnostic services (Diagnostic Services), data parameters (Data Parameters), and fault codes (DTCs) in the ODX file. The automated parsing platform can ensure that the parsing success rate of the ODX file reaches 99%. The above parsing success rate is based on multiple tests and verifications of control systems of vehicles of different models, and by comparing the manual parsing results, the error rate in the manual parsing process is greatly reduced.

[0070] The diagnostic function configuration library in XML format includes at least one diagnostic function module. These modules can adapt to different types of vehicle controllers and have good expansibility and versatility.

[0071] In this embodiment, the automated parsing platform has the ability to automatically adjust the parsing strategy, and can dynamically adjust the parsing according to the characteristics of ODX files of different models and types, so as to ensure the high efficiency and accuracy of the parsing.

[0072] The automated parsing platform has the capability to automatically adjust the parsing strategy and can dynamically adjust the parsing according to the characteristics of ODX files of different models and types to ensure the efficiency and accuracy of the parsing.

[0073] In this embodiment, the XML diagnostic function configuration library generated after the parsing is completed has good readability, and the user can intuitively view and edit the diagnostic function module through the platform interface, thereby simplifying subsequent diagnostic testing and system integration work.

[0074] The automated parsing platform includes but is not limited to rule matching, pattern recognition and machine learning algorithms to achieve efficient parsing of complex logic in ODX files.

[0075] When the standardized data file is imported into the automated analysis platform, the operation process is as follows: Import the ODX file, EngineControl.odx, and the platform begins parsing the contents of the file; uses a rule-matching algorithm to identify diagnostic services in the file, such as ReadDTC, and extracts its associated fault codes (such as P0300); the platform parses data parameters through a pattern recognition algorithm to identify and classify different types of sensor data and control signals; during the parsing process, dynamically adjusts the parsing strategy based on the file characteristics to improve the accuracy and efficiency of the parsing.

[0076] Among them, when dynamically adjusting the parsing strategy according to file characteristics, the file characteristics are first analyzed, and the imported ODX file is preliminarily analyzed to identify the file size, the number of diagnostic services, and the data parameter type; then the parsing strategy is based on the file size, the number of diagnostic services, and the data parameter type, and the search range, classification threshold, number of iterations, and data cache parameters of the rule matching are dynamically adjusted according to the file characteristics; after the parsing is completed, the platform compares and verifies the generated XML configuration library with the historical records. If a parsing error is found, the parsing rules and parameters are dynamically adjusted. For example, during the parsing process, when parsing an ODX file containing 500 diagnostic services, if the file size is 500MB, the system first adjusts the cache area to 50MB and enables 8-thread parallel parsing; according to the complexity of the file's diagnostic services (number of services × nesting level), the platform selects 5-layer rule matching; for pattern recognition of data parameters, the platform selects the SVM model and dynamically adjusts the classification threshold to adapt to different types of sensor data in the file; after the parsing is completed, the system generates an XML file and performs error detection. If the error rate exceeds expectations, the system automatically optimizes the parsing strategy to ensure efficient and accurate parsing of the ODX file.

[0077] For example, when an ODX file EngineControl.odx of a vehicle is imported into the platform, the platform automatically identifies the diagnostic logic and data parameters contained in the file; when parsing the diagnostic logic, the platform uses a rule matching algorithm to parse the diagnostic service ReadDTC defined in the file and recognizes that the service is used to read the fault code in the engine control unit; using a pattern recognition algorithm to further parse the file, the platform discovers and classifies different types of diagnostic data parameters, such as sensor data and control signals. When extracting key information, the platform successfully extracts the fault code P0300 related to the ReadDTC service and its corresponding description "Engine Random / Multi-Cylinder Misfire Detection", as well as the related sensor data parameter EngineSpeed. Then, an XML diagnostic function configuration library is generated. The platform generates a diagnostic function configuration library named EngineControlConfig.xml, which contains all relevant modules of the ReadDTC service and organizes it into a function module that can be called in the platform. When automatically adjusting the parsing strategy, during the parsing process, the platform detects that some diagnostic logic in the file is significantly different from different models that have been parsed before, so it automatically adjusts the parameters of the pattern recognition algorithm to ensure the accuracy of the parsing.

[0078] Through the above steps, the automated parsing platform achieves efficient parsing and key information extraction of diagnostic logic and data in ODX files, and generates a diagnostic function configuration library in XML format with good scalability and readability.

[0079] Step S30: automatically generate a diagnostic function module corresponding to the analyzed data according to the analysis result.

[0080] In this step, the diagnostic function configuration library in XML format generated by the method can be compatible with multiple different diagnostic tools and platforms, further improving the integration efficiency of the diagnostic function.

[0081] Step S40: Integrate the generated diagnostic function module into the test environment of the vehicle control system, and support the user to view, edit and test the diagnostic function module through the interface.

[0082] In this step, the platform automatically generates multiple diagnostic function modules based on the parsing results, such as ReadDTC Module, EngineSpeed ​​Monitoring Module, etc., and organizes them into a configuration library in XML format to ensure that the generated XML configuration library can be used in different diagnostic tools and platforms, thereby improving the integration efficiency of diagnostic functions.

[0083] For example, after the platform parses the ODX file of a vehicle, it generates an XML configuration library VehicleDiagnosticsConfig.xml containing the ReadDTC Module and the EngineSpeed ​​Monitoring Module. The configuration library can be compatible with the Bosch diagnostic tool and the OTIS platform.

[0084] The user imports the configuration library into the vehicle control system test environment and views and edits the module through the interface. During the test, the user simulates an engine failure, triggers the P0300 fault code and monitors the engine speed to verify the accuracy of the module.

[0085] The present invention proposes an automatic diagnosis and analysis method based on ODX data. Through an automated analysis platform, key diagnostic information such as diagnostic services, data parameters, and fault codes can be quickly extracted from ODX files and other standardized data files, greatly reducing the time and labor costs of manual analysis and improving the efficiency of diagnostic analysis. The automated analysis platform in the present invention adopts rule matching, pattern recognition, and machine learning algorithms to greatly improve the success rate of ODX file analysis. Compared with manual analysis, it significantly reduces the error rate and improves the accuracy and reliability of the analysis results.

[0086] The system of the present invention can also automatically generate diagnostic function modules based on the analysis results. These modules are saved in XML or JSON format and have good scalability and versatility. The modular design allows these diagnostic function modules to be easily integrated into the test environment of the vehicle control system, supporting different types and models of vehicle controllers to meet diverse diagnostic needs.

[0087] The automated parsing platform of the present invention has the ability to dynamically adjust the parsing strategy, and can automatically optimize the parsing algorithm according to the characteristics of different vehicle models and ODX files, thereby ensuring the efficiency and accuracy of the parsing process and adapting to the needs of different vehicle control systems. The XML format diagnostic function configuration library generated by the system of the present invention has wide compatibility and can be used with multiple different diagnostic tools and platforms. Such a design improves the integration efficiency of the diagnostic function, ensures that the system can adapt to the needs of different manufacturers and different diagnostic tools, and enhances the flexibility and practicality of the diagnostic system. The system of the present invention not only supports the parsing of ODX files, but also supports DTC files and other standardized files that describe the diagnostic logic of the vehicle control system. This diverse data support capability enables the system to perform more outstandingly and comprehensively when handling complex vehicle diagnostic tasks.

[0088] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.

[0089] In one embodiment, see Figure 4 As shown, the present invention provides an automatic diagnosis and analysis system based on ODX data, which is used to execute the automatic diagnosis and analysis method based on ODX data, and the system includes: The standardized data acquisition module 100 is used to acquire standardized data files containing vehicle control system diagnostic logic and parameters. The data files include ODX files, DTC files, and standardized files describing vehicle control system diagnostic logic.

[0090] Automated Parsing Platform 101: Developed based on IDEA, this platform can automatically parse the diagnostic logic and data in standardized data files, identify and extract key diagnostic information including diagnostic services, data parameters, and fault codes (DTCs).

[0091] Diagnostic function module generator 102: used to automatically generate diagnostic function modules 103 corresponding to the parsed data according to the parsing results of the automated parsing platform 101. These modules are generated in XML or JSON format and can be called in the test environment of the vehicle control system.

[0092] Diagnostic function configuration library 104: contains parsed diagnostic sequence modules, with good scalability and versatility. The configuration library can be called by users in the platform and supports vehicle controllers of different models and types to ensure the compatibility and versatility of the system.

[0093] Test environment integration interface 105: used to integrate the generated diagnostic function module 103 into the test environment of the vehicle control system, supporting users to view, edit and test the diagnostic function module 103 through the system interface, simplifying diagnostic testing and system integration work.

[0094] User interface module 106: used to provide an intuitive user interface, through which the user can view, edit and test the diagnostic function module 103, and can also view the parsing results and the readable XML format configuration library content, to ensure the operability and ease of use of the diagnostic module.

[0095] Dynamic parsing strategy control module 107: used to dynamically adjust parsing according to the characteristics of ODX files of different models and types to ensure the efficiency and accuracy of parsing, and the parsing success rate reaches more than 99%, thereby reducing the error rate in the manual parsing process.

[0096] Compatibility support module 108: used to ensure that the diagnostic function configuration library 104 in XML format can be compatible with multiple different diagnostic tools and platforms, so as to further improve the integration efficiency of diagnostic functions and the flexibility of the system.

[0097] In this embodiment, when the analysis is adjusted dynamically, the calculation formula of the optimized analysis parameters is:

[0098] In the formula, Represents the optimized parsing parameters, is the parsing parameter currently used, Indicates key features extracted from file characteristics. During the dynamic adjustment parsing process, the automated parsing platform 101 reads the ODX file and extracts key information such as diagnostic services (such as ReadDTC), data parameters (such as EngineSpeed), and fault codes (such as P0300) through a rule matching algorithm.

[0099] In this embodiment, the diagnostic function module generator 102 can automatically generate diagnostic logic and data according to the analysis results. The diagnostic function module 103 is generated in XML or JSON format and can be called in the test environment of the vehicle control system.

[0100] In this embodiment, the automatic diagnosis and analysis system based on ODX data adopts the steps of the automatic diagnosis and analysis method based on ODX data as described above during execution. Therefore, the operation process of the automatic diagnosis and analysis system based on ODX data is not introduced in detail in this embodiment.

[0101] In summary, the automatic diagnosis and analysis method and system based on ODX data of the present invention greatly improves the efficiency, accuracy and flexibility of vehicle diagnosis through automated, intelligent and modular design, while reducing the complexity and error rate of manual operation, and can be widely applied to the diagnostic needs of modern vehicle control systems.

[0102] In one embodiment, a computer device is also provided in an embodiment of the present invention, comprising at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the automatic diagnosis and analysis method based on ODX data.

[0103] In one embodiment, the present invention further provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the steps of the automatic diagnosis and analysis method based on ODX data.

[0104] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be realized by instructing the relevant hardware through a computer program represented by computer instructions, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory.

[0105] Non-volatile memory may include read-only memory, magnetic tape, floppy disk, flash memory or optical storage, etc. Volatile memory may include random access memory or external cache memory. As an illustration and not limitation, RAM may be in various forms, such as static random access memory or dynamic random access memory, etc.

[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.< / diagnosticservice>

Claims

1. An automatic diagnosis and analysis method based on ODX data, characterized in that: The method comprises the following steps: Obtain standardized data files containing vehicle control system diagnostic logic and parameters; Importing the standardized data file into the automated parsing platform, parsing the diagnostic logic and data in the imported file, and identifying and extracting diagnostic services, data parameters, and fault codes as key diagnostic information; According to the analysis results, the diagnostic function module corresponding to the analysis data is automatically generated; The generated diagnostic function modules are integrated into the test environment of the vehicle control system, and users are supported to view, edit and test the diagnostic function modules through the interface.

2. The automatic diagnosis and analysis method based on ODX data according to claim 1, characterized in that: The standardized data files include ODX files generated by the vehicle control system, DTC files, and standardized files describing the diagnostic logic of the vehicle control system.

3. The automatic diagnosis and analysis method based on ODX data according to claim 2, characterized in that: In the standardized data file, the ODX file is generated using the standard VisualODX tool. The ODX file is automatically generated by the software system of the vehicle controller and contains the diagnostic logic and data of the vehicle controller.

4. The automatic diagnosis and analysis method based on ODX data according to claim 3, characterized in that: The automated analysis platform is developed based on an integrated development environment, automatically analyzes the diagnostic logic and data in standardized data files, and generates corresponding diagnostic function modules.

5. The automatic diagnosis and analysis method based on ODX data according to claim 4, characterized in that: When the automated parsing platform parses the diagnostic logic and data in the imported file, after the parsing is completed, a diagnostic function configuration library in XML format is automatically generated, and the diagnostic function configuration library includes the parsed diagnostic sequence modules.

6. The automatic diagnosis and analysis method based on ODX data according to claim 5, characterized in that: The automated parsing platform is used to parse the ODX file item by item, identify and extract key diagnostic information of diagnostic services, data parameters, and fault codes in the ODX file.

7. The automatic diagnosis and analysis method based on ODX data according to claim 6, characterized in that: The diagnostic function configuration library in XML format includes at least one diagnostic function module.

8. An automatic diagnosis and analysis system based on ODX data, characterized in that: The system is used to execute the steps of the automatic diagnosis and analysis method based on ODX data as described in any one of claims 1 to 7, and the system includes: Standardized data acquisition module: used to acquire standardized data files containing vehicle control system diagnostic logic and parameters. The data files include ODX files, DTC files, and standardized files describing vehicle control system diagnostic logic. Automated parsing platform: Developed based on IDEA, this platform is used to automatically parse diagnostic logic and data in standardized data files, identify and extract key diagnostic information including diagnostic services, data parameters, and fault codes; Diagnostic function module generator: used to automatically generate diagnostic function modules corresponding to the parsed data according to the parsing results of the automated parsing platform. The diagnostic function modules are generated in XML or JSON format and are used to be called in the test environment of the vehicle control system. Diagnostic function configuration library: contains parsed diagnostic sequence modules; Test environment integration interface: used to integrate the generated diagnostic function modules into the test environment of the vehicle control system, supporting users to view, edit and test the diagnostic function modules through the system interface.

9. A computer device comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the automatic diagnosis and analysis method based on ODX data as described in any one of claims 1-7.

10. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the automatic diagnosis and analysis method based on ODX data according to any one of claims 1 to 7.