Vehicle diagnosis test method and system

Through the independently developed vehicle diagnostic testing system, combined with the CAPL language and Vector hardware, the automated diagnostic testing of vehicle electronic control units is realized, solving the problems of high cost and insufficient flexibility in the existing technology, and providing a flexible, accurate and economical diagnostic testing solution.

CN120295263APending Publication Date: 2025-07-11SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410040088.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In the prior art, pre-set program instructions based on the on-board diagnostic database cannot meet the tester's personalized diagnostic testing needs, and purchasing a diagnostic database is expensive.

Method used

Through the independently developed vehicle diagnostic testing system, including test configuration module, diagnostic description file analysis module, diagnostic refresh module, diagnostic transmission module and test case module, combined with CAPL language and Vector hardware, the automated diagnostic testing of the vehicle electronic control unit is realized, and the test parameters are dynamically adjusted to meet user needs.

Benefits of technology

It reduces the cost of diagnostic testing, improves the flexibility and accuracy of diagnostic testing, can better meet users' personalized testing needs, ensures the legality and safety of the test, and generates a comprehensive and easy-to-analyze test report.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295263A_ABST
    Figure CN120295263A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle diagnosis test method and system, the system comprises a test configuration module, a diagnosis description file analysis module, a diagnosis refreshing module, a diagnosis transmission module and a test case module, and the method is applied to the system. The method comprises the following steps: a test configuration module obtains target diagnosis test configuration information based on a configuration operation of a user on a configuration interface, and sends the target diagnosis test configuration information to a corresponding diagnosis refreshing module, a diagnosis transmission module and a test case module; the diagnosis description file analysis module determines diagnosis test description information and sends the diagnosis test description information to the test case module; and the test case module calls the diagnosis refreshing module and the diagnosis transmission module, and performs vehicle diagnosis test on the target electronic control unit of the target vehicle according to the target diagnosis test configuration information and the diagnosis test description information to obtain a diagnosis test result. In this way, the target diagnostic test configuration information is obtained based on the user configuration operation, so that the diagnostic test better meets user requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle diagnostic testing, and particularly to a vehicle diagnostic testing method and system. Background Art

[0002] With the development of vehicle technology, vehicle diagnostic testing has become increasingly important. For example, the diagnostic testing technology of the vehicle Electronic Control Unit (ECU) is an essential diagnostic test in vehicle diagnostic testing. The vehicle diagnostic test results can reflect the performance and quality of a vehicle's electronic control unit. Conducting sufficient diagnostic testing on the electronic control unit can ensure its quality. Therefore, the diagnostic testing of the vehicle electronic control unit is an indispensable test link in vehicle diagnostic testing. In recent years, with the continuous development of vehicles towards the direction of electrification and intelligence, comprehensive and efficient vehicle diagnostic testing has become more important than ever.

[0003] Currently, the commonly used diagnostic testing method in the industry mainly purchases an on-vehicle diagnostic database (CANdelaStudio, i.e., CDD file) to implement vehicle diagnostic testing through an external diagnostic tool. This method of vehicle diagnostic testing based on the on-vehicle diagnostic database can only perform corresponding vehicle diagnostic testing based on the pre-set program instructions in the on-vehicle diagnostic database, and cannot well meet the diagnostic testing needs of testers. Summary of the Invention

[0004] The purpose of this application is to solve the problem in the prior art that the corresponding vehicle diagnostic testing based on the pre-set program instructions in the on-vehicle diagnostic database cannot well meet the diagnostic testing needs of testers.

[0005] In a first aspect, an embodiment of the present application provides a vehicle diagnostic test method, which is applied to a vehicle diagnostic test system. The vehicle diagnostic test system includes a test configuration module, a diagnostic description file parsing module, a diagnostic refresh module, a diagnostic transmission module, and a test case module. The method includes: The test configuration module determines target diagnostic test configuration information, which is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information, and sends the refresh file information to the diagnostic refresh module, sends the diagnostic test data to the diagnostic transmission module, and sends the target electronic control unit information and test case information to the test case module; The diagnostic description file parsing module determines diagnostic test description information and sends the diagnostic description information to the test case module; The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, and determines the target test case according to the test case information, and calls the diagnostic refresh module and the diagnostic transmission module to perform a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnostic test data, and diagnostic test description information, and obtains a diagnostic test result.

[0006] With the above technical solution, the vehicle diagnostic test is carried out based on the vehicle diagnostic test system. The test configuration module determines the target diagnostic test configuration information obtained from the user's configuration operation of the diagnostic test configuration information on the configuration interface according to the diagnostic test requirement information, sends the diagnostic refresh file information included in the target diagnostic test configuration information to the diagnostic refresh module, sends the diagnostic test data to the diagnostic transmission module, and sends the target electronic control unit information and test case information to the test case module. Further, the diagnostic description file parsing module determines the diagnostic test description information and sends the diagnostic test description information to the test case module. The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, determines the target test case according to the test case information, and calls the diagnostic refresh module and the diagnostic transmission module to perform a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnostic test data, and diagnostic test description information, and obtains a diagnostic test result. In this way, the target diagnostic test configuration information can be obtained based on the user's configuration operation of the diagnostic test configuration information according to the diagnostic test requirement information, and the vehicle diagnostic test can be carried out according to the target diagnostic test configuration information, so that the diagnostic test can better meet the user's needs. Further, the diagnostic test of the target electronic control unit of the vehicle is realized through the cooperation of the diagnostic description file parsing module, diagnostic refresh module, diagnostic transmission module, and test case module in the vehicle diagnostic test system, without purchasing a diagnostic database, reducing the cost required for the diagnostic test.

[0007] According to another specific embodiment of the present application, for the vehicle diagnostic test method disclosed in the embodiment of the present application, the test case module calls the diagnostic refresh module and the diagnostic transmission module, and performs a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, and obtains a diagnostic test result, including: the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, and obtains a diagnostic refresh test result; the test case module calls the diagnostic transmission module, and performs a diagnostic transmission test on the target electronic control unit of the target vehicle according to the target test case, the diagnostic test data, and the diagnostic test description information, and obtains a diagnostic transmission test result; the test case module obtains the diagnostic test result according to the diagnostic refresh test result and the diagnostic transmission test result.

[0008] With the above technical solution, the test case module calls the diagnostic refresh module to perform a diagnostic refresh test, and calls the diagnostic transmission module to perform a diagnostic transmission test. In this way, the vehicle diagnostic test is implemented based on the calls between the modules, and a diagnostic test result is obtained. This enables the diagnostic refresh test and the diagnostic transmission test to be responsible by different modules, without causing interference between the diagnostic tests, and improves the accuracy of the vehicle diagnostic test.

[0009] According to another specific embodiment of the present application, for the vehicle diagnostic test method disclosed in the embodiment of the present application, the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, and obtains a diagnostic refresh test result, including: the test case module calls the diagnostic refresh module to determine the first refresh information and the first operation process information of the target electronic control unit; the test case module calls the diagnostic refresh module to determine a refresh file according to the refresh file information, and parse the refresh file to obtain a diagnostic refresh test task; the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the diagnostic test description information, and the diagnostic refresh test task, and obtains the second refresh information and the second operation process information; the test case module calls the diagnostic refresh module to generate a diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information.

[0010] According to another specific embodiment of the present application, in the vehicle diagnostic test method disclosed by the embodiment of the present application, the test case module calls the diagnostic refresh module to generate a diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information, including: the test case module calls the diagnostic refresh module to perform a comparison process on the first refresh information and the second refresh information to obtain a first comparison result; and the test case module calls the diagnostic refresh module to perform a comparison process on the first operation process information and the second operation process information to obtain a second comparison result; the test case module calls the diagnostic refresh module to generate a diagnostic refresh test result according to the first comparison result and the second comparison result.

[0011] Adopting the above technical solution, the test case module calls the diagnostic refresh module to first determine the first refresh information and the first operation process information of the target electronic control unit, and the diagnostic refresh module determines the diagnostic refresh test task according to the refresh file information sent by the test configuration module to perform a diagnostic refresh test on the target electronic control unit to obtain the second refresh information and the second operation process information, and then obtains the diagnostic refresh test result according to the comparison result of the first refresh information and the second refresh information and the comparison result of the first operation process information and the second operation process information. In this way, the corresponding diagnostic refresh test can be performed based on the diagnostic test configuration information of the user on the test interface, making the diagnostic refresh test more in line with the user's test requirements and meeting the different test requirements of the user for the target vehicle.

[0012] According to another specific embodiment of the present application, in the vehicle diagnostic test method disclosed by the embodiment of the present application, the test case module calls the diagnostic refresh module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information to obtain a diagnostic refresh test result, including: the test case module calls the diagnostic refresh module to cause the diagnostic refresh module to call the diagnostic transmission module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information to obtain a diagnostic refresh test result.

[0013] Adopting the above technical solution, based on the call relationship between the test case module, the diagnostic refresh module, and the diagnostic transmission module, the diagnostic refresh test of the target electronic control unit is realized, enabling the modules to cooperate in the diagnostic refresh test and obtaining a more accurate diagnostic refresh test result.

[0014] According to another specific embodiment of the present application, for the vehicle diagnostic test method disclosed in the embodiment of the present application, the diagnostic test data includes bus type information, frame length information, emission type information, and diagnostic information. The test case module calls the diagnostic transmission module, and according to the target test case, the diagnostic test data, and the diagnostic test description information, performs a diagnostic transmission test on the target electronic control unit of the target vehicle to obtain a diagnostic transmission test result, including: the test case module calls the diagnostic transmission module to adjust the bus type, emission type, and time parameters of the target electronic control unit of the target vehicle according to the bus type information and the emission type information; the test case module calls the diagnostic transmission module to adjust the corresponding data bytes of the target electronic control unit according to the frame length information; the test case module calls the diagnostic transmission module to adjust the corresponding data word length and data transmission mode of the target electronic control unit according to the target test case, and determine the data transmission time of the target electronic control unit; the test case module calls the diagnostic transmission module to perform a diagnostic transmission test on the target electronic control unit of the target vehicle for the bus type, emission type, time parameters, data bytes, data word length, data transmission mode, and data transmission time according to the diagnostic test description information and the diagnostic information, and obtain a diagnostic transmission test result.

[0015] Adopting the above technical solution, obtaining bus type information, frame length information, emission type information, diagnostic information, etc. according to the configuration operation of the user on the test interface can dynamically adjust information such as the corresponding data bytes, data word length, data transmission mode, and data transmission time of the target electronic control unit, so as to obtain the diagnostic transmission test results of the target electronic control unit in different states according to the diagnostic test description information and the diagnostic information. In this way, based on the target diagnostic test configuration information input by the user, the diagnostic transmission test of the target electronic control unit can be performed in different states, making the vehicle diagnostic test more convenient, more comprehensive, and more in line with the user's needs.

[0016] According to another specific embodiment of the present application, for the vehicle diagnostic test method disclosed in the embodiment of the present application, the vehicle diagnostic test system further includes a verification module, and the method further includes: the verification module determines the system time of the target vehicle, and performs a vehicle diagnostic test when it is determined that the vehicle diagnostic test system has the test permission according to the system time and the comparison algorithm, and refuses to perform a vehicle diagnostic test when it is determined that the vehicle diagnostic test system does not have the test permission according to the system time and the comparison algorithm.

[0017] Adopting the above technical solution, by using the verification module, a vehicle diagnostic test is performed when the vehicle diagnostic test system has the test permission, and the vehicle diagnostic test is refused when it does not have the test permission. In this way, the legality of the use of the vehicle diagnostic test system is ensured, and the safety of the vehicle diagnostic test is guaranteed.

[0018] According to another specific embodiment of the present application, in the vehicle diagnostic test method disclosed in the embodiment of the present application, the vehicle diagnostic test system further includes a test report generation module, and the method further includes: the test case module sends the diagnostic test result to the test report generation module; the diagnostic transmission module sends the test message information obtained by performing a diagnostic transmission test on the target electronic control unit to the test report generation module; the test report generation module generates a diagnostic test report according to the diagnostic test result and the test message information.

[0019] By adopting the above technical solution, not only the diagnostic test result is sent to the test report generation module, but also the test message information during the diagnostic transmission test is sent to the test report generation module. In this way, the diagnostic test report generated by the test report generation module is more comprehensive, which is convenient for users to analyze problems.

[0020] According to another specific embodiment of the present application, in the vehicle diagnostic test method disclosed in the embodiment of the present application, the vehicle diagnostic test system further includes a test report format conversion module, and the method further includes: the test report generation module sends the diagnostic test report to the test report format conversion module; the test report format conversion module converts the format of the diagnostic test report into a target format.

[0021] By adopting the above technical solution, the format of the test report is converted into a target format, which is convenient for storage.

[0022] In a second aspect, an embodiment of the present application provides a vehicle diagnostic test system, including a test configuration module, a diagnostic description file parsing module, a diagnostic refresh module, a diagnostic transmission module, and a test case module. Among them, the test configuration module is used to determine target diagnostic test configuration information, and the target diagnostic test configuration information is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information. The refresh file information is sent to the diagnostic refresh module, the diagnostic test data is sent to the diagnostic transmission module, and the target electronic control unit information and the test case information are sent to the test case module; the diagnostic description file parsing module is used to determine diagnostic test description information and send the diagnostic description information to the test case module; the test case module is used to determine the target electronic control unit to be tested according to the target electronic control unit information, and determine the target test case according to the test case information, and call the diagnostic refresh module and the diagnostic transmission module. According to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, a vehicle diagnostic test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic test result.

[0023] The vehicle diagnostic test system provided by this application includes modules for performing the vehicle diagnostic test method provided in the above first aspect, and thus can also achieve the beneficial effects (or advantages) of the vehicle diagnostic test method provided in the first aspect.

[0024] In a third aspect, an embodiment of this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the vehicle diagnostic test method provided in the embodiment of the first aspect as described above.

[0025] It can be understood that for the beneficial effects of the above second to third aspects, reference can also be made to the relevant descriptions in the first aspect, and details will not be elaborated here.

[0026] The vehicle diagnostic test method provided by the embodiments of this application performs vehicle diagnostic tests based on a vehicle diagnostic test system. The test configuration module determines the target diagnostic test configuration information obtained from the user's configuration operation of the diagnostic test configuration information on the configuration interface according to the diagnostic test requirement information, sends the diagnostic refresh file information included in the target diagnostic test configuration information to the diagnostic refresh module, sends the diagnostic test data to the diagnostic transmission module, and sends the target electronic control unit information and test case information to the test case module. Further, the diagnostic description file parsing module determines the diagnostic test description information and sends it to the test case module. The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, determines the target test case according to the test case information, and invokes the diagnostic refresh module and the diagnostic transmission module to perform vehicle diagnostic tests on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnostic test data, and diagnostic test description information to obtain the diagnostic test result. In this way, the target diagnostic test configuration information can be obtained based on the user's configuration operation of the diagnostic test configuration information according to the diagnostic test requirement information, and vehicle diagnostic tests can be performed according to the target diagnostic test configuration information, so that the diagnostic tests can better meet the user's needs. Further, based on the cooperation of the diagnostic description file parsing module, diagnostic refresh module, diagnostic transmission module, and test case module in the vehicle diagnostic test system, the diagnostic test of the target electronic control unit of the vehicle is realized without purchasing a diagnostic database, reducing the cost required for diagnostic tests.

[0027] Further, a verification module is adopted to perform vehicle diagnostic tests when the vehicle diagnostic test system has test permissions, and reject vehicle diagnostic tests when it does not have test permissions. In this way, the legal use of the vehicle diagnostic test system is ensured, and the safety of vehicle diagnostic tests is guaranteed.

[0028] Furthermore, the test report generation module is adopted to generate a diagnostic test report not only according to the diagnostic test results, but also according to the test message information during the diagnostic transmission test. In this way, the diagnostic test report generated by the test report generation module is more comprehensive, facilitating users to analyze problems. And the test report format conversion module is used to convert the test report format into a target format for easy storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 FIG.

[0030] Figure 2 FIG.

[0031] Figure 3 FIG.

[0032] Figure 4 FIG.

[0033] Figure 5 FIG.

[0034] Figure 6 FIG. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] The following specific embodiments illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. Although the description of the present application will be introduced in conjunction with the preferred embodiments, this does not mean that the features of this invention are limited to this implementation manner. On the contrary, the purpose of introducing the invention in conjunction with the implementation manner is to cover other alternatives or modifications that may be extended based on the claims of the present application. To provide a deep understanding of the present application, many specific details will be included in the following description. The present application can also be implemented without these details. In addition, in order to avoid confusing or obscuring the key points of the present application, some specific details will be omitted in the description. It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0036] The terms "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0037] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0038] As mentioned above, the diagnostic function is one of the most essential functions in the ECU functions of an automobile. It involves many scenarios such as ECU refreshing, function configuration, production line calibration, and after-sales use, and is an important basis for realizing other functions of the ECU. Therefore, the quality and performance of the diagnostic function determine the performance and quality of an electronic control unit (i.e., a controller). Therefore, it is an essential step to fully test the controller to ensure the quality of the ECU. At present, although there are ready-made Vector test tools, there are still many deficiencies. For example, the commonly used diagnostic test method in the industry mainly realizes automated testing by using CDD files plus Diva tools. In this way, it is necessary to purchase licenses for CANdelaStudio and CANDiva for each device, which is expensive. Moreover, when testing based on the purchased CDD files, only the corresponding vehicle diagnostic tests can be carried out based on the program instructions preset in the CDD files, and only a fixed number of aspects can be tested, which cannot meet the coverage of specific requirements of the ECU and cannot well meet the diagnostic test requirements of testers. Or, by using the free version of on-vehicle diagnostic data files, the coverage of specific requirements still cannot be achieved at that time.

[0039] Based on this, the embodiments of the present application propose a vehicle diagnostic test method, which is applied to a vehicle diagnostic test system. Based on the CAPL (CAN Access Programming Language) language and Vector hardware, by using a self-developed diagnostic description file, the host computer parses according to the diagnostic description file, and the test case module conducts tests according to the parsed content to achieve automated diagnostic testing of the vehicle.

[0040] The vehicle diagnostic test method provided by the embodiments of the present application is applied to a vehicle diagnostic test system. As Figure 1 shown, the vehicle diagnostic test system includes a test configuration module, a diagnostic description file parsing module, a diagnostic refresh module (also called a refresh module), a diagnostic transmission module (such as a UDS transmission module), and a test case module.

[0041] The test configuration module is used to determine the target diagnostic test configuration information, which is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information. The refresh file information is sent to the diagnostic refresh module, the diagnostic test data is sent to the diagnostic transmission module, and the target electronic control unit information and test case information are sent to the test case module.

[0042] The diagnostic description file parsing module is used to determine the diagnostic test description information and send the diagnostic description information to the test case module.

[0043] The test case module is used to determine the target electronic control unit to be tested according to the target electronic control unit information, and determine the target test case according to the test case information, and call the diagnostic refresh module and the diagnostic transmission module to perform a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnostic test data, and diagnostic test description information, and obtain the diagnostic test result.

[0044] Furthermore, as Figure 2 shown, the vehicle diagnostic test system provided by the embodiment of the present application further includes a License module (i.e., the verification module), which is used to determine the system time of the target vehicle, and perform a vehicle diagnostic test when it is determined that the vehicle diagnostic test system has the test permission according to the system time and the comparison algorithm, and reject the vehicle diagnostic test when it is determined that the vehicle diagnostic test system does not have the test permission according to the system time and the comparison algorithm.

[0045] Furthermore, the vehicle diagnostic test system provided by the embodiment of the present application further includes a test report generation module, which is used to obtain the diagnostic test result sent by the test case module and the test message information of the diagnostic transmission test for the target electronic control unit sent by the diagnostic transmission module, and generate a diagnostic test report according to the diagnostic test result and the test message information.

[0046] Furthermore, the vehicle diagnostic test system provided by the embodiment of the present application further includes a test report format conversion module (i.e., the report format conversion module), which is used to obtain the diagnostic test report generated by the test report generation module and convert the format of the diagnostic test report into the target format.

[0047] In the vehicle diagnostic test system provided by the embodiment of the present application, there is interaction among modules. The test configuration module receives the diagnostic test configuration parameters (i.e., the target diagnostic test configuration information) input by the user on the test configuration interface (i.e., the test interface), sends the refresh file information included in the diagnostic test configuration parameters to the diagnostic refresh module, sends the diagnostic test data to the diagnostic transmission module, and sends the target electronic control unit information and test case information to the test case module. Moreover, the diagnostic description file parsing module parses the diagnostic description file to determine the diagnostic test description information and sends the diagnostic test description information to the test module. The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, determines the target test case according to the test case information, and invokes the diagnostic refresh module and the diagnostic transmission module to perform a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnostic test data, and diagnostic test description information, and obtains the diagnostic test result.

[0048] In the implementation manner of the present application, the target electronic control unit can be an in-vehicle terminal controller or an ECU subordinate to any in-vehicle terminal controller in the target vehicle.

[0049] See Figure 3 , the vehicle diagnostic test system provided by the embodiment of the present application executes the vehicle diagnostic test method provided by the embodiment of the present application, which specifically includes the following steps.

[0050] S100, the test configuration module determines the target diagnostic test configuration information. The target diagnostic test configuration information is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information.

[0051] Exemplarily, the user can configure the relevant information of the ECU under test based on the configuration interface, such as the controller name (as an example of the target electronic control unit information), the refresh file path information (as an example of the refresh file information), the diagnostic test data, and the test case information. Among them, the diagnostic test data includes basic information such as a safety operator, a CAN bus type, a CAN frame length, an emission type, and a diagnostic ID (as an example of the diagnostic information).

[0052] The test configuration module automatically obtains the relevant information of the ECU under test on the configuration interface, performs information parsing and information conversion on each piece of information, and stores it in the form of a configuration file. When the test task is triggered, the test configuration module automatically reads the relevant information in the configuration file and passes it to the used module for use by the relevant used module.

[0053] S200, the test configuration module sends the refresh file information to the diagnostic refresh module.

[0054] Exemplarily, the test configuration module sends the path information of the refresh file input by the user based on the test configuration interface to the diagnostic refresh module.

[0055] S300, the test configuration module sends the diagnostic test data to the diagnostic transmission module.

[0056] Exemplarily, the test configuration module sends the basic information such as the security operator, CAN bus type, CAN frame length, emission type, diagnostic ID, etc. input by the user based on the test configuration interface to the diagnostic transmission module.

[0057] S400, the test configuration module sends the target electronic control unit information and test case information to the test case module.

[0058] Exemplarily, the test configuration module sends the target electronic control unit information and test case information input by the user based on the test configuration interface to the test case module.

[0059] Among them, the test cases include network layer test cases, application layer test cases, diagnostic service test cases, diagnostic data read / write test cases, diagnostic fault test cases, refresh test cases, and regulation test cases, etc.

[0060] The user can select the test cases to be executed on the test configuration interface.

[0061] S500, the diagnostic description file parsing module determines the diagnostic test description information and sends the diagnostic description information to the test case module.

[0062] Exemplarily, different from the general CDD, etc., in this application, the diagnostic description file parsing module parses a custom diagnostic description file, including information such as the supported diagnostic services, diagnostic data identifiers (DataIdentifier, abbreviated as DID), diagnostic fault codes, and diagnostic security levels. And, the diagnostic description file parsing module passes the above parsed information to the test case module for use. That is, the diagnostic description file parsing module extracts the information in the diagnostic database and passes the extracted information to the test case module.

[0063] S600, the test case module determines the target electronic control unit to be tested according to the target electronic control unit information, and determines the target test case according to the test case information.

[0064] Exemplarily, the test case module determines the target electronic control unit to be tested according to the target electronic control unit information, so as to perform a diagnostic test on the target electronic control unit. Moreover, the target test case is determined according to the test case information, so as to run the target test case to perform a diagnostic test on the target electronic control unit.

[0065] For S700, the test case module calls the diagnostic refresh module and the diagnostic transmission module, and performs a vehicle diagnostic test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, so as to obtain a diagnostic test result.

[0066] Exemplarily, the test case module calls the diagnostic refresh module and the UDS (Unified Diagnostic Services) transmission module (as an example of the diagnostic transmission module), and the diagnostic refresh module calls the UDS transmission module to perform a vehicle diagnostic test according to the target diagnostic test configuration information input by the user, so as to obtain a diagnostic test result.

[0067] In the embodiments of the present application, refer to Figure 4 , the test case module calls the diagnostic refresh module and the diagnostic transmission module, and performs a vehicle diagnostic test on the target electronic control unit to be tested of the target vehicle according to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, so as to obtain a diagnostic test result, which specifically includes the following steps.

[0068] For S710, the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, so as to obtain a diagnostic refresh test result.

[0069] Exemplarily, the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit according to the refresh test case, the path information of the refresh file, and the diagnostic test description information, so as to obtain a diagnostic refresh test result.

[0070] As Figure 5 shown, in the embodiments of the present application, the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, so as to obtain a diagnostic refresh test result, which specifically includes the following steps.

[0071] For S711, the test case module calls the diagnostic refresh module to determine the first refresh information and the first operation process information of the target electronic control unit.

[0072] Exemplarily, the diagnostic refresh module is mainly responsible for the diagnostic refresh tasks of the target ECU (i.e., the target electronic control unit), which is divided into three parts: preprogramming, programming, and postprogramming. Among them, preprogramming is responsible for reading the relevant refresh information (as an example of the first refresh information) and logistics information (as an example of the first operation process information) inside the controller (as an example of the target electronic control unit) before refreshing.

[0073] Among them, the internal logistics information of the controller refers to the entire operation steps of the controller, such as starting, receiving a certain information, executing a certain function, returning a certain result, shutting down, etc.

[0074] S712, the test case module calls the diagnostic refresh module, determines the refresh file according to the refresh file information, and parses the refresh file to obtain the diagnostic refresh test task.

[0075] Exemplarily, programming is responsible for obtaining the refresh file entity according to the path information of the refresh file, parsing the refresh file, and implementing the diagnostic refresh test task.

[0076] S713, the test case module calls the diagnostic refresh module, and performs a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, diagnostic test description information, and diagnostic refresh test task, to obtain the second refresh information and the second operation process information.

[0077] Exemplarily, the test case module runs the diagnostic refresh test case (as an example of the target test case), and calls the diagnostic refresh module to perform a diagnostic refresh test according to the diagnostic refresh test task. The test case module obtains the refresh information (as an example of the second refresh information) and logistics information (as an example of the second operation process information) after the refresh is completed according to the diagnostic test description information and the diagnostic refresh test result of the diagnostic refresh module performing the diagnostic refresh test.

[0078] S714, the test case module calls the diagnostic refresh module, and generates a diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information.

[0079] Exemplarily, postprogramming in the diagnostic refresh module is mainly responsible for reading and comparing the logistics information and refresh information after the refresh is completed, to obtain the diagnostic refresh test result. Among them, the diagnostic refresh module can identify a specific refresh file format.

[0080] In the embodiments of the present application, the test case module calls the diagnostic refresh module, and generates a diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information, including: the test case module calls the diagnostic refresh module, compares the first refresh information and the second refresh information to obtain a first comparison result, and compares the first operation process information and the second operation process information to obtain a second comparison result, and generates a diagnostic refresh test result according to the first comparison result and the second comparison result.

[0081] Exemplarily, the test case module calls the diagnostic refresh module to obtain a first comparison result according to the first refresh information and the second refresh information, and obtains a second comparison result according to the first operation process information and the second operation process information, that is, compares the refresh information and operation process information before refreshing and the refresh information and operation process information after refreshing to obtain a comparison result. If there is a change between before and after refreshing, it is considered that the diagnostic refresh test result is a successful diagnostic refresh. If there is no change, it is considered that the diagnostic refresh test result is a failed diagnostic refresh.

[0082] Furthermore, in the implementation manner of the present application, during the diagnostic refresh test process, data transmission is involved. Therefore, when the test case module calls the diagnostic refresh module in the present application to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information to obtain a diagnostic refresh test result, the test case module calls the diagnostic refresh module to cause the diagnostic refresh module to call the diagnostic transmission module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information to obtain a diagnostic refresh test result.

[0083] Exemplarily, there is a call relationship between the test case module, the diagnostic refresh module, and the UDS transmission module. The test case module calls the diagnostic refresh module, and the diagnostic refresh module calls the UDS transmission module to implement a diagnostic refresh test on the target electronic control unit. That is, the test case module runs the diagnostic refresh test case, calls the diagnostic refresh module to determine the diagnostic refresh task, and the diagnostic refresh module calls the UDS transmission module to transmit the diagnostic refresh task, so that the target electronic control unit executes the diagnostic refresh task, and the test case module generates a diagnostic refresh test result according to the result of the target electronic control unit executing the diagnostic refresh task and the diagnostic test description information.

[0084] In the implementation manner of the present application, the test case module generates a diagnostic refresh test result according to the result of the diagnostic refresh task executed by the target electronic control unit and the diagnostic test description information. That is, the test case module calls the diagnostic refresh module to perform a diagnostic refresh test according to the diagnostic services, diagnostic DIDs, etc. defined in the diagnostic test description information, and then determines whether the diagnostic code returned by the controller after the diagnostic refresh matches the diagnostic fault code based on information such as the diagnostic fault code and the diagnostic safety level. If they match, the problem of the diagnostic test is determined according to the diagnostic fault code, so as to locate the fault point of the target electronic control unit. Moreover, the safety information of the target electronic control unit is determined according to the safety level, etc.

[0085] Next, continue to refer to Figure 4 , the test case module calls the diagnostic refresh module to complete the diagnostic refresh test and execute step S720. It should be noted that step S710 and step S720 can be executed simultaneously, that is, the test case module calls the diagnostic refresh module and the UDS transmission module, and the diagnostic refresh module calls the UDS transmission module to perform vehicle diagnostic tests. Of course, they can also be executed in sequence.

[0086] S720, the test case module calls the diagnostic transmission module, and according to the target test case, diagnostic test data, and diagnostic test description information, performs a diagnostic transmission test on the target electronic control unit of the target vehicle to obtain a diagnostic transmission test result.

[0087] Exemplarily, the test case module calls the UDS transmission module to perform various tests during the data transmission process according to the diagnostic test description information and diagnostic test data, and obtains a diagnostic transmission test result.

[0088] In the embodiment of the present application, the diagnostic test data includes the CAN bus type (as an example of the bus type information), the CAN frame length (as an example of the frame length information), the emission type information, and the diagnostic ID (as an example of the diagnostic information).

[0089] Refer to Figure 6 , in the embodiment of the present application, the test case module calls the diagnostic transmission module, and according to the target test case, diagnostic test data, and diagnostic test description information, performs a diagnostic transmission test on the target electronic control unit of the target vehicle to obtain a diagnostic transmission test result, which specifically includes the following steps.

[0090] S721, the test case module calls the diagnostic transmission module, and adjusts the bus type, emission type, and time parameters of the target electronic control unit of the target vehicle according to the bus type information and emission type information.

[0091] Exemplarily, the UDS transmission module is mainly responsible for diagnostic transmission layer data transmission, and performs diagnostic transmission tests based on information such as the CAN bus type, CAN frame length, and emission type obtained from the test configuration module.

[0092] That is, the test case module runs diagnostic data read and write test cases (as an example of the target test case). During the test, the tester is prompted through a pop-up window with the prerequisite conditions for the test, such as entering the information required for the test when testing based on the target test case. The test case module calls the UDS transmission module to send and receive diagnostic data, and based on the pre-written test cases, determines whether the target ECU is currently in the APP state (i.e., the application running state) or the FBL (Flash Bootloader, i.e., a security mechanism (Bootloader) for software flashing and updating) state. Based on the obtained CAN bus type (such as bus types like CAN and CANFD (CAN with Flexible Data-Rate)) and emission type, the time parameters of the transmission layer and application layer in cases such as APP, FBL, emission-related controllers, and secondary routing controllers are dynamically adjusted according to the current diagnostic session mode (i.e., the state of entering the information required for the test through the pop-up window) to achieve diagnostic transmission tests of the UDS transmission module when the ECU is in different states.

[0093] In the implementation manner of this application, the test case module runs target test cases, such as application layer test cases, diagnostic data read and write test cases, etc., to first determine the emission type of the target ECU based on the target test case and the diagnostic test data input by the tester, and dynamically adjust information such as the bus type and time parameters of the target ECU based on the determined emission type of the target ECU. In this way, diagnostic transmission tests for the target ECU in different states are achieved.

[0094] S722, the test case module calls the diagnostic transmission module to adjust the corresponding data bytes of the target electronic control unit according to the frame length information.

[0095] Exemplarily, the UDS transmission module adjusts the data bytes of the target ECU according to the frame length information, so that the target ECU is compatible with the transmission of data less than 4095 bytes and greater than 4095 bytes, in order to test the target ECU under different transmission bytes.

[0096] S723, the test case module calls the diagnostic transmission module to adjust the corresponding data word length, data transmission method of the target electronic control unit according to the target test case, and determine the data transmission time of the target electronic control unit.

[0097] Exemplarily, the test case module runs the pre-identified target test cases to control the UDS transmission module to adjust the data word length of the target ECU, such as supporting data transmission of fixed word length CANFD and variable word length CANFD. Moreover, it controls the UDS transmission module to adjust the data transmission mode of the target ECU, such as data transmission based on CAN and data transmission based on CANFD. Furthermore, code programs such as setting flag bits, counters, and timers are written in the test cases to implement Controller Area Network (CANBUS) type check, CAN / CANFD data length check, transport layer and application layer time-out check, and SN error check for multi-frame transmission by setting flag bits, counters, and timers in the target ECU.

[0098] Moreover, in this application, based on the target test cases, it is possible to identify the maximum number of frames (Block Size, abbreviated as BS) that the ECU is allowed to continuously send after the host computer sends a flow control frame, and the minimum time interval (separation time min, abbreviated as STmin) between consecutive frames sent by the ECU after the host computer sends a flow control frame, and perform consecutive frame transmission according to the diagnostic test data. That is, based on the target test cases, flow control parameters (i.e., flow control frames) are configured to dynamically configure the BS and STmin of the host computer, enabling the ECU to perform consecutive frame responses according to the parameters of the host computer.

[0099] In the embodiment of this application, based on the information such as the CAN bus type, CAN frame length, emission type, etc. input by the user on the test configuration interface, and based on the test cases selected by the user on the test configuration interface, after the test case module runs the target test cases, it calls the UDS transmission module to dynamically adjust the time parameters of the transport layer and application layer of the target ECU under different emission types, call the data transmission mode of the target ECU (such as CAN and CANFD data transmission modes), adjust the data transmission bytes of the target ECU (such as less than 4095 bytes and greater than 4095 bytes), adjust the data transmission word length type of the target ECU (such as fixed word length and variable word length), dynamically configure the BS and STmin parameters of the host computer, control the target ECU to perform consecutive frame responses according to the parameters of the host computer, and moreover, by setting flag bits, counters, and timers, implement CANBUS type check, CAN / CANFD data length check, transport layer and application layer time-out check, and error check for a certain frame (i.e., SN) in consecutive frames of multi-frame transmission, and can judge unqualified test items at the transport layer.

[0100] S724. The test case module calls the diagnostic transmission module. According to the diagnostic test description information and diagnostic information, for the bus type, emission type, time parameter, data byte, data word length, data transmission mode, and data transmission time, a diagnostic transmission test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic transmission test result.

[0101] In the embodiment of the present application, by inputting the configuration information that needs to be diagnostically tested on the test configuration interface and selecting the target test case, the target test case can be run to control the target ECU to change the data transmission according to the configuration information, so as to implement the diagnostic transmission test of the target ECU in different transmission states. And the host computer obtains the diagnostic transmission test result based on the data sent by the target electronic control unit during the diagnostic transmission test.

[0102] For example, it is determined whether there is a problem with the diagnostic transmission of the target ECU according to the time parameter of the sent data, or the fault of the target ECU is determined according to the fault code sent by the target ECU and the diagnostic test description information.

[0103] Furthermore, based on information such as the diagnostic ID (as an example of diagnostic information) and the diagnostic service in the diagnostic test description information, a diagnostic transmission test under different diagnostic services is performed.

[0104] Next, continue to refer to Figure 4 , after performing steps S710 and S720, step S730 is performed.

[0105] S730. The test case module obtains a diagnostic test result according to the diagnostic refresh test result and the diagnostic transmission test result.

[0106] Exemplarily, during the vehicle diagnostic test based on the host computer, the host computer monitors the state of the target ECU to obtain the diagnostic refresh test result during the diagnostic refresh process and the diagnostic transmission test result during the diagnostic transmission process, and obtains the final diagnostic test result.

[0107] In the embodiment of the present application, the vehicle diagnostic test system further includes a verification module. The verification module determines the system time of the target vehicle. When it is determined that the vehicle diagnostic test system has the test permission according to the system time and the comparison algorithm, the vehicle diagnostic test is performed. When it is determined that the vehicle diagnostic test system does not have the test permission according to the system time and the comparison algorithm, the vehicle diagnostic test is refused.

[0108] Exemplarily, a license design method based on the system time is adopted. When releasing the license, the network connection time at the release moment is recorded. When the vehicle diagnostic test system receives a request to use the vehicle diagnostic test system later, the vehicle diagnostic test system obtains the system time of the target vehicle, or automatically obtains the local time of the deployment computer (as an example of the upper computer), and makes a comparison according to the built-in comparison algorithm. If the verification passes, subsequent vehicle diagnostic tests can be carried out. If the verification fails, the test is terminated.

[0109] For example, when setting the license, it is stipulated that the license time interval is one year. By obtaining the network connection time at the release moment, when receiving a vehicle diagnostic test request from the vehicle diagnostic test system, based on the current local time, it is determined whether the current test is within the license time interval. If so, it is considered to have a license and vehicle diagnostic tests are allowed. If not, it is considered that the license has expired (that is, there is no license), and vehicle diagnostic tests are refused.

[0110] In the embodiments of the present application, the vehicle diagnostic test system further includes a test report generation module. The test case module sends the diagnostic test result to the test report generation module, and the diagnostic transmission module sends the message information obtained from the diagnostic transmission test for the target electronic control unit to the test report generation module. The test report generation module generates a diagnostic test report according to the diagnostic test result.

[0111] Exemplarily, the test report generation module records the test message data (that is, the test message information) and the diagnostic test result in the diagnostic test report. That is, the diagnostic test result is recorded in the report, and the key message data is also recorded together to generate the final diagnostic test report, reducing the workload of looking back at the original data.

[0112] In the embodiments of the present application, the vehicle diagnostic test system further includes a test report format conversion module. The test report generation module sends the diagnostic test report to the test report format conversion module, and the test report format conversion module converts the format of the diagnostic test report into the target format.

[0113] Exemplarily, an open-source wkhtmltopdf tool is used to convert the generated html-format diagnostic test report into a pdf-format (as an example of the target format) diagnostic test report to prevent the diagnostic test report from being tampered with.

[0114] The vehicle diagnosis test method provided by the embodiment of the present application performs vehicle diagnosis tests based on a vehicle diagnosis test system. The test configuration module determines the target diagnosis test configuration information obtained by the user's configuration operation on the diagnosis test configuration information on the configuration interface according to the diagnosis test requirement information, sends the diagnosis refresh file information included in the target diagnosis test configuration information to the diagnosis refresh module, sends the diagnosis test data to the diagnosis transmission module, and sends the target electronic control unit information and test case information to the test case module. Further, the diagnosis description file parsing module determines the diagnosis test description information and sends the diagnosis test description information to the test case module. The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, determines the target test case according to the test case information, and calls the diagnosis refresh module and the diagnosis transmission module to perform vehicle diagnosis tests on the target electronic control unit of the target vehicle according to the target test case, refresh file information, diagnosis test data, and diagnosis test description information to obtain the diagnosis test result. In this way, the target diagnosis test configuration information can be obtained based on the user's configuration operation of the diagnosis test configuration information according to the diagnosis test requirement information, and different aspects of vehicle diagnosis tests can be performed according to different target diagnosis test configuration information configured by the user, so that the diagnosis test can better meet the user's needs. Further, based on the cooperation of the diagnosis description file parsing module, diagnosis refresh module, diagnosis transmission module, and test case module in the vehicle diagnosis test system, the diagnosis test of the target electronic control unit of the vehicle is realized, without the need to purchase a diagnosis database, reducing the cost required for diagnosis tests.

[0115] In the embodiment of the present application, the self-designed CANTP (CAN Transport Layer) is adopted, which can be compatible with both CAN and CANFD at the same time, compatible with application layer data less than 4095 bytes and greater than 4095 bytes, the time parameters of the transport layer and the application layer are dynamically adjustable, and vehicle diagnosis tests such as automatically judging transport layer errors are performed, and a diagnosis test report is recorded and generated, so that the flow control mechanism in the test process is dynamically adjustable.

[0116] It should be noted that CANTP is located in the transport layer of the communication stack and is specifically used for UDS diagnosis. For multi-frame large data, it supports controlling the data sending rate through flow control frames and provides timeout processing functions during the data sending and receiving processes.

[0117] Moreover, by adopting the self-designed diagnosis description file, diagnostic services, diagnostic DID information, and diagnostic fault information can be flexibly obtained, which can better improve the test coverage.

[0118] Further, an open-source tool wkhtmltopdf is introduced and embedded in the diagnostic test system. After the test is completed, it can automatically convert the diagnostic test report in html format into a diagnostic test report in pdf format to prevent the diagnostic test report from being tampered with.

[0119] The vehicle diagnostic test system provided by the embodiments of this application is deployed on electronic devices such as a host computer.

[0120] Based on this, the embodiments of this application also provide an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the vehicle diagnostic test method provided in the above embodiments.

[0121] The embodiments of this application also provide a chip for running instructions, and the chip is used to execute the technical solution of the vehicle diagnostic test method in the above embodiments.

[0122] The embodiments of this application also provide a computer-readable storage medium, and computer instructions are stored in the computer-readable storage medium. When the computer instructions are run on a computer, the computer is caused to execute the technical solution of the vehicle diagnostic test method in the above embodiments.

[0123] In some possible implementation manners, each aspect of the method provided by this application can also be implemented in the form of a program product, which includes program code. When the program product runs on a computer device, the program code is used to cause the computer device to execute the steps in the method according to various exemplary implementation manners of this application described above in this specification. For example, the computer device can execute the vehicle diagnostic test method recorded in the embodiments of this application.

[0124] The program product can adopt any combination of one or more readable media. The readable media can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0125] An embodiment of the present application also provides a computer program product. The computer program product includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, the technical solution of the vehicle diagnostic test method in the above embodiment can be implemented.

[0126] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0127] Although the present application has been illustrated and described by referring to some preferred embodiments of the present application, those of ordinary skill in the art should understand that the above content is a further detailed description of the present application in combination with specific embodiments, and it cannot be determined that the specific implementation of the present application is only limited to these descriptions. Those skilled in the art can make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present application.

Claims

1. A vehicle diagnostic test method, characterized in that, Applied to a vehicle diagnostic test system, the vehicle diagnostic test system includes a test configuration module, a diagnostic description file parsing module, a diagnostic refresh module, a diagnostic transmission module, and a test case module. The method includes: The test configuration module determines target diagnostic test configuration information, which is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information. The refresh file information is sent to the diagnostic refresh module, the diagnostic test data is sent to the diagnostic transmission module, and the target electronic control unit information and the test case information are sent to the test case module; The diagnostic description file parsing module determines diagnostic test description information and sends the diagnostic description information to the test case module; The test case module determines the target electronic control unit to be tested according to the target electronic control unit information, and determines the target test case according to the test case information, and invokes the diagnostic refresh module and the diagnostic transmission module. According to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, a vehicle diagnostic test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic test result.

2. The vehicle diagnostic test method according to claim 1, wherein The test case module invokes the diagnostic refresh module and the diagnostic transmission module. According to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, a vehicle diagnostic test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic test result, including: The test case module invokes the diagnostic refresh module. According to the target test case, the refresh file information, and the diagnostic test description information, a diagnostic refresh test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic refresh test result; The test case module invokes the diagnostic transmission module. According to the target test case, the diagnostic test data, and the diagnostic test description information, a diagnostic transmission test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic transmission test result; The test case module obtains the diagnostic test result according to the diagnostic refresh test result and the diagnostic transmission test result.

3. The vehicle diagnostic test method according to claim 2, wherein, The test case module invokes the diagnostic refresh module. According to the target test case, the refresh file information, and the diagnostic test description information, a diagnostic refresh test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic refresh test result, including: The test case module invokes the diagnostic refresh module to determine the first refresh information and the first operation flow information of the target electronic control unit; The test case module invokes the diagnostic refresh module to determine a refresh file according to the refresh file information and parse the refresh file to obtain a diagnostic refresh test task; The test case module calls the diagnostic refresh module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the diagnostic test description information, and the diagnostic refresh test task, and obtains second refresh information and second operation process information; The test case module calls the diagnostic refresh module to generate the diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information.

4. The vehicle diagnostic test method according to claim 3, characterized in that, The test case module calls the diagnostic refresh module to generate the diagnostic refresh test result according to the first refresh information, the first operation process information, the second refresh information, and the second operation process information, including: The test case module calls the diagnostic refresh module to perform a comparison process on the first refresh information and the second refresh information to obtain a first comparison result; and The test case module calls the diagnostic refresh module to perform a comparison process on the first operation process information and the second operation process information to obtain a second comparison result; The test case module calls the diagnostic refresh module to generate the diagnostic refresh test result according to the first comparison result and the second comparison result.

5. The vehicle diagnostic test method according to claim 4, wherein The test case module calls the diagnostic refresh module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, and obtains the diagnostic refresh test result, including: The test case module calls the diagnostic refresh module to cause the diagnostic refresh module to call the diagnostic transmission module to perform a diagnostic refresh test on the target electronic control unit of the target vehicle according to the target test case, the refresh file information, and the diagnostic test description information, and obtains the diagnostic refresh test result.

6. The vehicle diagnostic test method according to claim 2, characterized in that, The diagnostic test data includes bus type information, frame length information, emission type information, and diagnostic information. The test case module calls the diagnostic transmission module to perform a diagnostic transmission test on the target electronic control unit of the target vehicle according to the target test case, the diagnostic test data, and the diagnostic test description information, and obtains the diagnostic transmission test result, including: The test case module calls the diagnostic transmission module to adjust the bus type, emission type, and time parameter of the target electronic control unit of the target vehicle according to the bus type information and the emission type information; The test case module calls the diagnostic transmission module to adjust the corresponding data bytes of the target electronic control unit according to the frame length information; The test case module calls the diagnostic transmission module to adjust the corresponding data word length, data transmission mode of the target electronic control unit according to the target test case, and determine the data transmission time of the target electronic control unit; The test case module calls the diagnostic transmission module, and performs a diagnostic transmission test on the target electronic control unit of the target vehicle according to the diagnostic test description information and the diagnostic information for the bus type, the emission type, the time parameter, the data byte, the data word length, the data transmission mode, and the data transmission time, so as to obtain the diagnostic transmission test result.

7. The vehicle diagnostic test method according to any one of claims 1-6, characterized in that, The vehicle diagnostic test system further includes a verification module, and the method further includes: The verification module determines the system time of the target vehicle. When it is determined that the vehicle diagnostic test system has the test permission according to the system time and the comparison algorithm, the vehicle diagnostic test is performed; when it is determined that the vehicle diagnostic test system does not have the test permission according to the system time and the comparison algorithm, the vehicle diagnostic test is refused.

8. The vehicle diagnostic test method according to any one of claims 1-6, characterized in that The vehicle diagnostic test system further includes a test report generation module, and the method further includes: The test case module sends the diagnostic test result to the test report generation module; The diagnostic transmission module sends the test message information obtained by performing a diagnostic transmission test on the target electronic control unit to the test report generation module; The test report generation module generates a diagnostic test report according to the diagnostic test result and the test message information.

9. The vehicle diagnostic test method according to claim 8, wherein The vehicle diagnostic test system further includes a test report format conversion module, and the method further includes: The test report generation module sends the diagnostic test report to the test report format conversion module; The test report format conversion module converts the format of the diagnostic test report into a target format.

10. A vehicle diagnostic test system, characterized in that Including a test configuration module, a diagnostic description file parsing module, a diagnostic refresh module, a diagnostic transmission module, and a test case module, where The test configuration module is used to determine target diagnostic test configuration information. The target diagnostic test configuration information is obtained based on the user's configuration operation of the diagnostic test configuration information on the configuration interface provided by the vehicle diagnostic test system according to the diagnostic test requirement information. The target diagnostic test configuration information includes target electronic control unit information, refresh file information, diagnostic test data, and test case information. The refresh file information is sent to the diagnostic refresh module, the diagnostic test data is sent to the diagnostic transmission module, and the target electronic control unit information and the test case information are sent to the test case module; The diagnostic description file parsing module is used to determine diagnostic test description information and send the diagnostic description information to the test case module; The test case module is used to determine the target electronic control unit to be tested according to the target electronic control unit information, and determine the target test case according to the test case information, and call the diagnostic refresh module and the diagnostic transmission module. According to the target test case, the refresh file information, the diagnostic test data, and the diagnostic test description information, a vehicle diagnostic test is performed on the target electronic control unit of the target vehicle to obtain a diagnostic test result.