Automatic test system and method for diagnosis and repair system
By introducing an automated testing process into the intelligent diagnosis and repair system, using task release module, intelligent diagnosis and repair platform and vehicle diagnosis and repair control module, the problems of low efficiency and poor intelligence testing of intelligent diagnosis and repair function in the existing technology are solved, and the problem of low efficiency and poor intelligence are realized. Efficient automated testing of diagnosis and repair systems.
Patent Information
- Application Number
- CN202411577278.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, the testing of intelligent diagnosis and repair functions needs to be carried out in a real vehicle, and manual functional testing is required, resulting in low testing efficiency and poor intelligence, and consuming a lot of manpower and time.
It provides an automatic testing system for the diagnosis and repair system, including a task release module, an intelligent diagnosis and repair platform and a vehicle diagnosis and repair control module. Through the automated testing process, fully automatic testing of the diagnosis and repair system is realized.
It realizes fully automatic testing of the diagnosis and repair system, improves testing efficiency and intelligence, reduces labor costs and reduces testing time.
Smart Images

Figure CN119439964A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to intelligent testing technology, and more particularly to an automatic testing system and method for a diagnosis and repair system. Background Art
[0002] The vehicle's intelligent diagnosis and repair functions need to be comprehensively and systematically tested before leaving the factory to ensure that users can investigate and repair faults through the intelligent diagnosis and repair functions.
[0003] In the prior art, the intelligent diagnosis and repair function test needs to connect the real controller and the controlled object in the real vehicle, test each function manually and generate the test report manually.
[0004] However, manually testing each function one by one will consume a lot of manpower and time, and the testing efficiency is low and the intelligence is poor. Summary of the invention
[0005] The present application provides a diagnostic and repair system automatic testing system and method to achieve fully automatic testing of the diagnostic and repair system and improve the efficiency and intelligence of the diagnostic and repair system testing.
[0006] In a first aspect, an embodiment of the present application provides an automatic testing system for a diagnosis and repair system, the automatic testing system for a diagnosis and repair system comprising:
[0007] Task release module, intelligent diagnosis and repair platform and vehicle diagnosis and repair control module;
[0008] The task release module is connected to the intelligent diagnosis and repair platform in communication, and the intelligent diagnosis and repair platform is connected to the vehicle diagnosis and repair control module in communication;
[0009] The task publishing module is used to trigger the corresponding option in the diagnosis and repair application of the mobile terminal according to the acquired task to be tested, so that the mobile terminal can publish the diagnosis and repair test instructions to the intelligent diagnosis and repair platform;
[0010] The intelligent diagnosis and repair platform is used to send the received diagnosis and repair test instructions to the vehicle diagnosis and repair control module, and send the received test results to the diagnosis and repair application on the mobile terminal;
[0011] The vehicle diagnosis and repair control module triggers the corresponding functional module to perform testing according to the received diagnosis and repair test instructions, obtains the test results returned by the functional module, and sends the test results to the intelligent diagnosis and repair platform.
[0012] In a second aspect, an embodiment of the present application further provides an automatic testing method for a diagnosis and repair system, the automatic testing method for a diagnosis and repair system comprising:
[0013] The tasks to be tested are obtained, and the corresponding options in the diagnosis and repair application of the mobile terminal are automatically triggered according to the tasks to be tested, so that the mobile terminal issues diagnosis and repair test instructions to the intelligent diagnosis and repair platform;
[0014] The intelligent diagnosis and repair platform sends the received diagnosis and repair test instructions to the vehicle diagnosis and repair control module in the vehicle;
[0015] The vehicle diagnosis and repair control module triggers the corresponding functional module to perform testing according to the received diagnosis and repair test instructions, obtains the test results returned by the functional module, and sends the test results to the intelligent diagnosis and repair platform.
[0016] The present application adopts an automatic testing system of a diagnosis and repair system, including: a task issuing module, an intelligent diagnosis and repair platform and a vehicle diagnosis and repair control module; the task issuing module is communicatively connected to the intelligent diagnosis and repair platform, and the intelligent diagnosis and repair platform is communicatively connected to the vehicle diagnosis and repair control module; the task issuing module is used to trigger the corresponding option in the diagnosis and repair application of the mobile terminal according to the acquired task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform; the diagnosis and repair test can be automatically triggered, and there is no need to manually trigger the diagnosis and repair test function one by one, so as to realize full automation of the entire diagnosis and repair process and reduce labor costs; the intelligent diagnosis and repair platform is used to send the received diagnosis and repair test instruction to the vehicle diagnosis and repair control module, and send the received test result to the diagnosis and repair application of the mobile terminal, so as to ensure that data can be effectively transmitted between the vehicle diagnosis and repair control module and the mobile terminal; the vehicle diagnosis and repair control module triggers the corresponding functional module for testing according to the received diagnosis and repair test instruction, obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform, so as to automatically realize the testing of the diagnosis and repair functions of each functional module, improve the efficiency of the diagnosis and repair system testing, and improve the intelligence of the testing. Therefore, the technical solution of the present application solves the problem that manual testing one by one consumes a lot of manpower and time, has low testing efficiency and poor intelligence, thereby achieving fully automatic testing of the diagnosis and repair system and improving the efficiency and intelligence of the diagnosis and repair system testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a structural diagram of an automatic testing system for a diagnosis and repair system in Embodiment 1 of the present application;
[0018] Figure 2 It is a structural diagram of an automatic testing system for a diagnosis and repair system in Embodiment 2 of the present application;
[0019] Figure 3 It is a structural diagram of an automatic testing system for a diagnosis and repair system in Embodiment 3 of the present application;
[0020] Figure 4 It is a flow chart of an automatic testing method for a diagnosis and repair system in Embodiment 4 of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first" and "second" etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] Embodiment 1
[0024] Figure 1 This is a structural diagram of the automatic testing system of the diagnostic and repair system provided in Example 1 of the present application. This embodiment can be applied to the situation of testing the intelligent diagnostic and repair function of the vehicle.
[0025] See also Figure 1 The automatic test system of the diagnosis and repair system shown specifically includes:
[0026] Task issuing module 100, intelligent diagnosis and repair platform 200 and vehicle diagnosis and repair control module 300; task issuing module 100 and intelligent diagnosis and repair platform 200 are communicatively connected, and intelligent diagnosis and repair platform 200 and vehicle diagnosis and repair control module 300 are communicatively connected.
[0027] The task release module 100 is used to trigger the corresponding option in the diagnosis and repair application of the mobile terminal according to the acquired task to be tested, so that the mobile terminal releases the diagnosis and repair test instruction to the intelligent diagnosis and repair platform 200. The task to be tested can be a task for testing the diagnosis and repair function in the diagnosis and repair system. Exemplarily, the tasks to be tested may include the diagnosis and repair of window lifting and lowering, the diagnosis and repair of switch control, the diagnosis and repair of starting and stopping of direct-connected actuators, and the diagnosis and repair of starting and shutting down of alarm lights, etc., and the present application does not make specific restrictions on this. The test file of the diagnosis and repair function can be set in advance in the task release module 100 by relevant technical personnel. The test file may include the content and process of the test. When the user triggers the test function in the task release module 100, the task release module 100 obtains the task to be tested. The task to be tested can be a test task for a certain diagnosis and repair function or multiple diagnosis and repair functions, and the present application does not make specific restrictions on this.
[0028] The mobile terminal can be a mobile communication device such as a smart phone or a tablet, and a diagnosis and repair application is installed in the mobile terminal. The diagnosis and repair application has the functions of reading vehicle information, basic information, fault information, clearing fault codes, clearing alarm information, and modifying controller data, so that users can complete fault investigation and repair without going to a maintenance station.
[0029] After the task issuing module 100 obtains the task to be tested, it can determine the corresponding option that needs to be triggered in the diagnosis and repair application on the mobile terminal according to the task to be tested and the pre-stored test file, and trigger the corresponding option in the diagnosis and repair application. After the corresponding option in the diagnosis and repair application on the mobile terminal is triggered, the diagnosis and repair test instruction is issued to the intelligent diagnosis and repair platform 200.
[0030] The task issuing module 100 includes: a host computer 110 and a mechanical arm 120; the host computer 110 and the mechanical arm 120 are in communication connection. The host computer 110 and the mechanical arm 120 can be remotely controlled through a wireless connection, so that the tester can remotely start the task to be tested.
[0031] The host computer 110 is used to generate a trigger control instruction according to the acquired task to be tested, and send the trigger control instruction to the robot arm 120 .
[0032] The host computer 110 may be an electronic device with wireless communication function, such as a computer. The host computer stores a test file, and can determine the test process according to the acquired test task and test file, generate a trigger control instruction for the robot arm 120, and send the trigger control instruction to the robot arm 120, so as to control the robot arm 120 to gradually click on the corresponding options in the mobile terminal diagnosis and repair application to complete the test of the diagnosis and repair system.
[0033] The robotic arm 120 is used to trigger the corresponding option in the mobile terminal's diagnostic and repair application according to the trigger control instruction, so that the mobile terminal issues a diagnostic and repair test instruction to the intelligent diagnostic and repair platform 200. A placement platform for the mobile terminal is placed under the robotic arm 120, and the mobile communication device is placed on the platform. After receiving the trigger control instruction, the robotic arm 120 triggers the corresponding option in the mobile terminal's diagnostic and repair application according to the trigger control instruction. By controlling the robotic arm 120, there is no need to manually click on the corresponding option in the mobile terminal's diagnostic and repair application, which reduces labor costs and improves the intelligence and automation of the entire testing process.
[0034] Optionally, an Appium (professional term, an automated testing framework) automated testing framework may be installed on the mobile terminal, and the host computer 110 sends a trigger control instruction to Appium. The mobile terminal Appium automatically triggers the corresponding option in the mobile terminal's diagnostic and repair application according to the received trigger control instruction, thereby realizing automated operation of the mobile terminal.
[0035] The intelligent diagnosis and repair platform 200 is used to send the received diagnosis and repair test instructions to the vehicle diagnosis and repair control module 300, and to send the received test results to the diagnosis and repair application of the mobile terminal. The vehicle diagnosis and repair control module 300 and the mobile terminal follow different communication protocols. The intelligent diagnosis and repair platform 200 can convert the format of the received information and forward it according to the communication protocol between the vehicle diagnosis and repair control module 300 and the mobile terminal, so that the information of the vehicle diagnosis and repair control module 300 and the mobile terminal can be effectively received. Specifically, after the intelligent diagnosis and repair platform 200 receives the diagnosis and repair test instructions from the mobile terminal, it converts the format of the received diagnosis and repair test instructions according to the communication protocol for communicating with the vehicle diagnosis and repair control module 300, and sends it to the vehicle diagnosis and repair control module 300; and, after receiving the test results of the vehicle diagnosis and repair control module 300, it converts the format of the test results according to the communication protocol for communicating with the mobile terminal, and sends it to the mobile terminal.
[0036] The vehicle diagnosis and repair control module 300 triggers the corresponding functional module to perform a test according to the received diagnosis and repair test instruction, obtains the test result, and sends the test result to the intelligent diagnosis and repair platform 200.
[0037] The functional module may be a controller and a controlled device that responds to the diagnostic test instruction. For example, if the diagnostic test instruction is a window lift diagnostic test, then the functional module is the controller and the window that controls the window lift. The vehicle diagnostic control module 300 includes multiple functional modules. After receiving the diagnostic test instruction, the vehicle diagnostic control module 300 determines the corresponding functional module according to the diagnostic test instruction, sends the diagnostic test instruction to the corresponding controller, and the controller controls the corresponding controlled device to perform the test to obtain the test result. The vehicle diagnostic control module 300 sends the test result to the intelligent diagnostic platform 200. The intelligent diagnostic platform 200 can send the received test result to the diagnostic application on the mobile terminal. After the diagnostic application on the mobile terminal obtains the test result, it displays the test result in the interface so that the user can obtain the test result.
[0038] The technical solution of this embodiment is an automatic testing system of the diagnosis and repair system, including: a task issuing module, an intelligent diagnosis and repair platform and a vehicle diagnosis and repair control module; the task issuing module is communicatively connected to the intelligent diagnosis and repair platform, and the intelligent diagnosis and repair platform is communicatively connected to the vehicle diagnosis and repair control module; the task issuing module is used to trigger the corresponding option in the diagnosis and repair application of the mobile terminal according to the acquired task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform; the diagnosis and repair test can be automatically triggered, and there is no need to manually trigger the diagnosis and repair test function one by one, so as to realize full automation of the entire diagnosis and repair process and reduce labor costs; the intelligent diagnosis and repair platform is used to send the received diagnosis and repair test instruction to the vehicle diagnosis and repair control module, and send the received test result to the diagnosis and repair application of the mobile terminal, so as to ensure that the data can be effectively transmitted between the vehicle diagnosis and repair control module and the mobile terminal; the vehicle diagnosis and repair control module triggers the corresponding functional module to perform a test according to the received diagnosis and repair test instruction, obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform, so as to automatically realize the test of the diagnosis and repair function of each functional module, improve the efficiency of the diagnosis and repair system test, and improve the intelligence of the test. Therefore, the technical solution of the present application solves the problem that manual testing one by one consumes a lot of manpower and time, has low testing efficiency and poor intelligence, thereby achieving fully automatic testing of the diagnosis and repair system and improving the efficiency and intelligence of the diagnosis and repair system testing.
[0039] Embodiment 2
[0040] Figure 2 This is a structural diagram of an automatic testing system for a diagnosis and repair system provided in Example 2 of the present application. The technical solution of this embodiment is further refined on the basis of the above technical solution.
[0041] Furthermore, the automatic testing system of the diagnosis and repair system also includes: a data processing platform 400.
[0042] See also Figure 2In the automatic testing system for a diagnosis and repair system shown, a data processing platform 400 is communicatively connected with a mobile terminal, an intelligent diagnosis and repair platform 200 and a vehicle diagnosis and repair control module 300 .
[0043] The data processing platform 400 is used to monitor and store data in the mobile terminal, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300, as well as to analyze data in the task release module 100, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300, and generate a test report based on the analysis results.
[0044] After the automatic test of the diagnostic and repair system, the data in the test process and the test results need to be analyzed to generate a test report. In the automatic test of the diagnostic and repair system, data needs to be forwarded on multiple platforms. Data parsing is required during the forwarding process in the mobile terminal, the intelligent diagnostic and repair platform 200, and the vehicle diagnostic and repair control module 300. Errors may occur during the parsing and data transmission process. Therefore, it is necessary to monitor and store the data in the mobile terminal, the intelligent diagnostic and repair platform 200, and the vehicle diagnostic and repair control module 300 so that when an error occurs in the data, the cause of the error can be analyzed. Data may exist in different forms during transmission. For example, the same value may exist in two forms, physical value and bus value. The values and units of the two forms are different. Therefore, it is necessary to analyze whether the conversion of the value is correct. After analyzing the data in the mobile terminal, the intelligent diagnostic and repair platform 200, and the vehicle diagnostic and repair control module 300, a test report can be generated according to the analysis results and the template of the test report, so as to realize the automatic generation of the test report, without the need for manual verification and filling, and improve the generation efficiency and accuracy of the test report.
[0045] Optionally, the data processing platform 400 includes: a data monitoring module 410, a data analysis module 420 and a test report generation module 430; the data monitoring module 410, the data analysis module 420 and the test report generation module are communicatively connected in sequence.
[0046] The data monitoring module 410 is used to monitor and store the data in the mobile terminal, the intelligent diagnosis and repair platform 100 and the vehicle diagnosis and repair control module 200. The data in the mobile terminal, the intelligent diagnosis and repair platform 100 and the vehicle diagnosis and repair control module 200 need to be transmitted to each other. During the transmission process, data parsing and packaging are required due to differences in communication protocols. Therefore, if an error occurs during the data transmission process, the cause of the error may be an error in the packaging of the sending end or an error in the parsing of the receiving end. Therefore, the data monitoring module 410 is required to monitor and store the data in the mobile terminal, the intelligent diagnosis and repair platform 100 and the vehicle diagnosis and repair control module 200, so as to find the cause of the error when the data in the mobile terminal, the intelligent diagnosis and repair platform 100 and the vehicle diagnosis and repair control module 200 are inconsistent.
[0047] The data analysis module 420 is used to analyze the data stored in the data monitoring module 410 to obtain test results, and send the test results to the test report generation module 430.
[0048] The data stored in the data monitoring module is analyzed mainly to analyze whether the data is consistent before and after transmission, especially when the data format is converted, to analyze whether the values before and after the conversion are consistent. After the test result is obtained according to the analysis result, the test result is sent to the test report generation module 430 to generate a test report.
[0049] Optionally, the data analysis module 420 includes: a consistency analysis unit 421 and a diagnosis unit 422; the consistency analysis unit 421 and the diagnosis unit 422 are communicatively connected.
[0050] The consistency analysis unit 421 is used to analyze the consistency of data in the mobile terminal, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300, obtain data consistency, and send the data consistency to the test report generation module. The data may be in different data forms in the mobile terminal, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300. For example, the data is a physical value in the mobile terminal and a bus value in the vehicle diagnosis and repair control module 300. The numerical value and unit of the data are different. For the same data, during the forwarding process from the mobile terminal to the vehicle diagnosis and repair control module 300 through the intelligent diagnosis and repair platform 200, the received data and the sent data are different. Therefore, when the data is wrong, there are many reasons. Therefore, it is necessary to analyze the consistency of the data in the mobile terminal, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300 to obtain data consistency. Data consistency can include consistency and inconsistency. When the data in the mobile terminal, the intelligent diagnosis and repair platform 200 and the vehicle diagnosis and repair control module 300 are all consistent, the data consistency is consistent, otherwise it is inconsistent. The consistency analysis unit 421 sends the data consistency to the test report generation module 430 .
[0051] The diagnosis unit 422 is used to diagnose the cause of the data inconsistency when the data consistency is inconsistent, and send the diagnosis result to the test report generation module 430. When the data consistency is inconsistent, the diagnosis unit 422 analyzes the data in the mobile terminal, the intelligent diagnosis and repair platform 200, and the vehicle diagnosis and repair control module 300 one by one, diagnoses the cause of the data inconsistency, and sends the diagnosis result to the test report generation module 430. When the data consistency is consistent, the diagnosis result can be correct.
[0052] The data analysis module 420 realizes automatic analysis of data through the consistency analysis unit 421 to improve the data analysis efficiency, and realizes automatic diagnosis through the diagnosis unit 422, which does not require manual comparison of data one by one, and can improve the efficiency and accuracy of diagnosis.
[0053] The test report generation module 430 is used to generate a test report based on data consistency and test results. Test report. The generation module 430 stores a test report template, fills the data consistency and test results into the test report template, automatically generates a test report, and improves the test report generation efficiency. The test report generation module 430 can also be used to store the test report.
[0054] In the prior art, it is necessary to manually compare the data sent by the intelligent diagnosis and repair platform 200 and the bus data and manually generate a test report, which requires a lot of manpower to manually compare multiple data in each test item, which is inefficient and has a high error rate.
[0055] The technical solution of this embodiment also includes a data processing platform; the data processing platform is communicatively connected with the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module; the data processing platform is used to monitor and store the data in the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module, and analyze the data in the task release module, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module, and generate a test report according to the analysis results, automatically analyze the data, automatically generate a test report, reduce labor costs, improve the efficiency and accuracy of the analysis, and thereby improve the efficiency and accuracy of the test report generation.
[0056] Embodiment 3
[0057] Figure 3 This is a structural diagram of an automatic testing system for a diagnosis and repair system provided in Example 3 of the present application. The technical solution of this embodiment is further refined on the basis of the above technical solution.
[0058] Furthermore, the vehicle repair control module 300 includes: an on-vehicle network terminal 310 and a dynamic simulator 320; the on-vehicle network terminal 310 and the dynamic simulator 320 are communicatively connected.
[0059] The vehicle network terminal 310 is used to receive the diagnostic test instruction and send the diagnostic test instruction to the dynamic simulator 320. The dynamic simulator 320 is used to perform a test according to the diagnostic test instruction and return the test result to the vehicle network terminal 310.
[0060] The vehicle network terminal 310 may include a TBOX (a professional term for a wireless communication device in a vehicle) and a controller. After receiving the diagnostic and repair test instruction, the TBOX sends the received diagnostic and repair test instruction to the corresponding controller, and the controller controls the controlled device to perform the test, and the controlled device returns the test result to the controller, and the controller returns the test result to the TBOX.
[0061] During the dynamic test, the dynamic simulator 320 performs actions according to the diagnostic test instructions obtained from the controller. The dynamic simulator 320 can simulate the operation of the controller body, that is, it can simulate the feedback signal of the controlled object. The dynamic simulator 320 can simulate the lifting and lowering of the window, the control of the switch, the start and stop of the direct actuator, and the start and stop of the warning light to complete the dynamic test.
[0062] Optionally, the dynamic simulator 320 further includes: a fault board 321; the fault board 321 is used to respond to the diagnostic test instruction when the diagnostic test instruction is a fault test, and return the test result to the vehicle network terminal 310. The fault board 321 can implement a function test of reading a fault code and feed back the fault information to the vehicle network terminal 310.
[0063] Optionally, the fault test includes: reading and clearing test of at least one fault code among open circuit to ground, short circuit to ground and open circuit to power supply.
[0064] The technical solution of this embodiment, through the vehicle diagnosis and maintenance control module, includes: an on-board network terminal and a dynamic simulator; the on-board network terminal and the dynamic simulator are communicatively connected; the on-board network terminal is used to receive diagnosis and maintenance test instructions and send the diagnosis and maintenance test instructions to the dynamic simulator; the dynamic simulator is used to perform tests according to the diagnosis and maintenance test instructions and return the test results to the on-board network terminal, which can realize the automatic implementation of the diagnosis and maintenance system testing process and improve the testing efficiency.
[0065] Embodiment 4
[0066] Figure 4 This is a flow chart of a method for automatic testing of a diagnostic and repair system provided in Example 4 of the present application. This embodiment can be applicable to the situation of testing the intelligent diagnostic and repair function of a vehicle. The method can be executed by an automatic testing system for the diagnostic and repair system, and the device can be implemented using software and / or hardware.
[0067] See also Figure 4 The automatic testing method of the diagnosis and repair system shown in the figure specifically comprises the following steps:
[0068] S410, the task issuing module obtains the task to be tested, and automatically triggers the corresponding option in the diagnosis and repair application of the mobile terminal according to the task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform.
[0069] The task to be tested can be set in the host computer by professional technicians. After the user triggers the task to be tested, the task publishing module in the host computer obtains the task to be tested, and automatically triggers the corresponding option in the mobile terminal's diagnosis and maintenance application according to the task to be tested, so that the mobile terminal issues a diagnosis and maintenance test instruction to the intelligent diagnosis and maintenance platform. Exemplarily, the host computer can control the robotic arm to automatically trigger the corresponding option in the mobile terminal's diagnosis and maintenance application according to the task to be tested, and the Appium automated testing framework can also be installed on the mobile terminal, and the host computer issues a trigger control instruction. After Appium receives the trigger control instruction, it automatically triggers the corresponding option in the mobile terminal's diagnosis and maintenance application according to the trigger control instruction.
[0070] S420. The intelligent diagnosis and repair platform sends the received diagnosis and repair test instruction to the vehicle diagnosis and repair control module in the vehicle.
[0071] The vehicle diagnostic control module and the mobile terminal follow different communication protocols. The intelligent diagnostic platform can convert the format of the received information and forward it according to the communication protocol between the vehicle diagnostic control module and the mobile terminal, so that the information of the vehicle diagnostic control module and the mobile terminal can be effectively received. Specifically, after the intelligent diagnostic platform receives the diagnostic test instruction from the mobile terminal, it converts the format of the received diagnostic test instruction according to the communication protocol for communicating with the vehicle diagnostic control module and sends it to the vehicle diagnostic control module; and after receiving the test result of the vehicle diagnostic control module, it converts the format of the test result according to the communication protocol for communicating with the mobile terminal and sends it to the mobile terminal.
[0072] S430, the vehicle diagnosis and repair control module triggers the corresponding functional module to perform a test according to the received diagnosis and repair test instruction, obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform.
[0073] The functional module can be a controller and a controlled device that responds to the diagnostic test instruction. For example, if the diagnostic test instruction is a window lift diagnostic test, then the functional module is the controller and the window that controls the window lift. The vehicle diagnostic control module includes multiple functional modules. After receiving the diagnostic test instruction, the vehicle diagnostic control module determines the corresponding functional module according to the diagnostic test instruction, sends the diagnostic test instruction to the corresponding controller, and the controller controls the corresponding controlled device to perform the test to obtain the test result. The vehicle diagnostic control module sends the test result to the intelligent diagnostic platform.
[0074] S440. The intelligent diagnosis and repair platform sends the received test results to the diagnosis and repair application on the mobile terminal, so that the diagnosis and repair application on the mobile terminal displays the test results.
[0075] The intelligent diagnosis and maintenance platform sends the received test results to the diagnosis and maintenance application on the mobile terminal. After the diagnosis and maintenance application on the mobile terminal obtains the test results, it displays the test results in the interface, allowing the user to obtain the test results and complete the testing process of the entire diagnosis and maintenance system.
[0076] For the parts not described in detail in this embodiment, please refer to the above embodiments.
[0077] In an optional embodiment, the automatic testing method of the diagnosis and maintenance system also includes: monitoring and storing data in the mobile terminal, the intelligent diagnosis and maintenance platform and the vehicle diagnosis and maintenance control module, and analyzing the data in the task release module, the intelligent diagnosis and maintenance platform and the vehicle diagnosis and maintenance control module, and generating a test report based on the analysis results.
[0078] After the automatic test of the diagnostic and repair system, the data in the test process and the test results need to be analyzed to generate a test report. In the automatic test of the diagnostic and repair system, data needs to be forwarded on multiple platforms, and data needs to be parsed during the forwarding process in the mobile terminal, the intelligent diagnostic and repair platform, and the vehicle diagnostic and repair control module. Errors may occur during the parsing and data transmission process. Therefore, it is necessary to monitor and store the data in the mobile terminal, the intelligent diagnostic and repair platform, and the vehicle diagnostic and repair control module so that when an error occurs in the data, the cause of the error can be analyzed. Data may exist in different forms during transmission. For example, the same value may exist in two forms: physical value and bus value. The values and units of the two forms are different. Therefore, it is necessary to analyze whether the conversion of the values is correct. After analyzing the data in the mobile terminal, the intelligent diagnostic and repair platform, and the vehicle diagnostic and repair control module, a test report can be generated based on the analysis results and the template of the test report, so as to realize the automatic generation of the test report without manual verification and filling, thereby improving the efficiency and accuracy of the test report generation.
[0079] This application obtains the task to be tested, and automatically triggers the corresponding option in the diagnosis and repair application of the mobile terminal according to the task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform, automatically triggers the diagnosis and repair test, and does not need to manually trigger the diagnosis and repair test one by one, so as to realize the full automation of the entire diagnosis and repair process and reduce labor costs; the intelligent diagnosis and repair platform sends the received diagnosis and repair test instruction to the vehicle diagnosis and repair control module in the vehicle, and the intelligent diagnosis and repair platform forwards the data to ensure that the data can be effectively transmitted between the vehicle diagnosis and repair control module and the mobile terminal; the vehicle diagnosis and repair control module triggers the corresponding functional module to test according to the received diagnosis and repair test instruction, and obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform, so as to automatically realize the test of the diagnosis and repair function of each functional module, improve the efficiency of the diagnosis and repair system test, and improve the intelligence of the test. Therefore, through the technical solution of this application, the problem that manual testing one by one will consume a lot of manpower and time, the test efficiency is low, and the intelligence is poor is solved, so as to achieve the full automatic test of the diagnosis and repair system and improve the efficiency and intelligence of the diagnosis and repair system test.
[0080] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. An automatic testing system for a diagnosis and repair system, characterized in that: include: Task release module, intelligent diagnosis and repair platform and vehicle diagnosis and repair control module; The task issuing module is in communication connection with the intelligent diagnosis and repair platform, and the intelligent diagnosis and repair platform is in communication connection with the vehicle diagnosis and repair control module; The task issuing module is used to trigger the corresponding option in the diagnosis and repair application of the mobile terminal according to the acquired task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform; The intelligent diagnosis and repair platform is used to send the received diagnosis and repair test instructions to the vehicle diagnosis and repair control module, and send the received test results to the diagnosis and repair application on the mobile terminal; The vehicle diagnosis and repair control module triggers the corresponding functional module to perform a test according to the received diagnosis and repair test instruction, obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform.
2. The system according to claim 1, characterized in that Also includes: Data processing platform; The data processing platform is communicatively connected with the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module; The data processing platform is used to monitor and store data in the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module, as well as to analyze data in the task release module, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module, and generate a test report based on the analysis results.
3. The system according to claim 2, characterized in that The data processing platform comprises: Data monitoring module, data analysis module and test report generation module; The data monitoring module, the data analysis module and the test report generation module are sequentially communicatively connected; The data monitoring module is used to monitor and store data in the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module; The data analysis module is used to analyze the data stored in the data monitoring module to obtain test results, and send the test results to the test report generation module; The test report generating module is used to generate a test report according to the test results.
4. The system according to claim 3, characterized in that The data analysis module includes: a consistency analysis unit and a diagnosis unit; The consistency analysis unit is communicatively connected with the diagnosis unit; The consistency analysis unit is used to analyze the consistency of data in the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module, obtain data consistency, and send the data consistency to the test report generation module; The diagnosis unit is used to diagnose the cause of data inconsistency when the data consistency is inconsistent, and send the diagnosis result to the test report generation module.
5. The system according to claim 1, characterized in that The vehicle diagnosis and repair control module includes: an on-board network terminal and a dynamic simulator; The vehicle network terminal is communicatively connected with the dynamic simulator; The vehicle network terminal is used to receive the diagnostic and repair test instruction and send the diagnostic and repair test instruction to the dynamic simulator; The dynamic simulator is used to perform testing according to the diagnostic test instruction and return the test result to the vehicle network terminal.
6. The system according to claim 5, characterized in that The dynamic simulator further comprises: a faulty board; The fault board is used to respond to the diagnostic test instruction when the diagnostic test instruction is a fault test, and return the test result of the vehicle-mounted network terminal.
7. The system according to claim 6, characterized in that The fault test includes: reading and clearing test of at least one fault code among open circuit to ground, short circuit to ground and open circuit to power supply.
8. The system according to claim 1, characterized in that The task issuing module comprises: Host computer and robotic arm; The host computer is in communication connection with the robotic arm; The host computer is used to generate a trigger control instruction according to the acquired task to be tested, and send the trigger control instruction to the mechanical arm; The robotic arm is used to trigger a corresponding option in the diagnosis and repair application of the mobile terminal according to the trigger control instruction, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform.
9. An automatic testing method for a diagnosis and repair system, characterized in that: include: The task issuing module obtains the task to be tested, and automatically triggers the corresponding option in the diagnosis and repair application of the mobile terminal according to the task to be tested, so that the mobile terminal issues a diagnosis and repair test instruction to the intelligent diagnosis and repair platform; The intelligent diagnosis and repair platform sends the received diagnosis and repair test instructions to the vehicle diagnosis and repair control module in the vehicle; The vehicle diagnosis and repair control module triggers the corresponding functional module to perform a test according to the received diagnosis and repair test instruction, obtains the test result returned by the functional module, and sends the test result to the intelligent diagnosis and repair platform; The intelligent diagnosis and repair platform sends the received test results to the diagnosis and repair application on the mobile terminal, so that the diagnosis and repair application on the mobile terminal displays the test results.
10. The method according to claim 9, characterized in that The automatic testing method of the diagnosis and repair system further comprises: The data in the mobile terminal, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module are monitored and stored, and the data in the task issuing module, the intelligent diagnosis and repair platform and the vehicle diagnosis and repair control module are analyzed, and a test report is generated according to the analysis results.