Diagnosis detection report generation method and device, equipment and storage medium

By comparing the configuration status of the vehicle controller data with the standard configuration file, the controller configuration information is generated, and the problem of inability to effectively position the controller in the prior art is solved, and the accuracy of diagnostic detection is improved. After-sales maintenance efficiency.

CN119396113APending Publication Date: 2025-02-07LAUNCH TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411493085.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing diagnostic reports cannot effectively locate the controller if it is disconnected or not installed, resulting in increased after-sales repair difficulty and cost.

Method used

By sending controller data request instructions to the vehicle side, receiving and comparing the controller data with the configuration status in the standard configuration file, generating controller configuration information, and sending it to the application side to generate a diagnostic test report.

Benefits of technology

Improve the accuracy of diagnostic detection and can clearly display the specific information of the vehicle-side controller configuration, including the controller being disconnected or not installed, thereby solving the problem of fault location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396113A_ABST
    Figure CN119396113A_ABST
Patent Text Reader

Abstract

The invention discloses a diagnosis detection report generation method and device, equipment and a storage medium, and relates to the technical field of vehicle diagnos.The method comprises the steps that a controller data request instruction is sent to a vehicle end; receiving controller data sent by the vehicle end, and comparing the controller data with a controller configuration state in a standard configuration file to obtain controller configuration information; and sending the controller configuration information to an application end, and generating a diagnosis detection report through the application end according to the controller configuration information. The controller configuration information is obtained by comparing the controller data with the controller configuration state in the standard configuration file, so that the accuracy of diagnosis and detection can be improved; according to the controller configuration state, the specific information of the vehicle end controller configuration can be clearly displayed, the specific information comprises the specific information when the controller is in the offline or non-installation configuration state, and the problem that the controller fault cannot be positioned when the controller is in the offline or non-installation state can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle diagnosis technology, and in particular to a method, device, equipment and storage medium for generating a diagnostic test report. Background Art

[0002] The diagnostic test report of the diagnostic equipment is an important document that assists after-sales maintenance personnel and vehicle factory development and testing personnel to quickly understand the vehicle diagnosis situation. It records the basic information of the vehicle, the information of the testing agency and the specific test results in detail, providing a multi-faceted reference and basis for maintenance personnel and vehicle managers. By viewing the controller fault detection results in the report, the vehicle controller fault can be quickly located and the corresponding repair and development plan can be formulated. At present, the diagnostic test report of the general diagnostic equipment will output the test results of the vehicle controller, and the faulty controller and the controller without fault or normal detection are statistically displayed. However, there are usually disconnected or not installed controllers in vehicle communication, and such controllers cannot be detected and displayed. The existing diagnostic report content mainly includes vehicle information, testing agency, test results and professional test report parts, but it cannot reflect the unconfigured system, resulting in users / vehicle factory R&D personnel unable to determine which controller systems are disconnected or not installed during after-sales maintenance, and unable to locate related controller failure problems, increasing the difficulty and cost of after-sales maintenance.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present application is to provide a diagnostic test report generation method, device, equipment and storage medium, aiming to solve the technical problem that the controller fault cannot be located when the controller is offline or not installed.

[0005] To achieve the above object, the present application proposes a method for generating a diagnostic test report, wherein the diagnostic test report generation is applied to a diagnostic end, and comprises the following steps:

[0006] Sending controller data request instructions to the vehicle end;

[0007] Receiving controller data sent by the vehicle end, comparing the controller data with the controller configuration state in the standard configuration file, and obtaining controller configuration information of the vehicle end;

[0008] The controller configuration information is sent to an application end, and a diagnostic test report is generated by the application end according to the controller configuration information.

[0009] In one embodiment, before the step of sending the controller data request instruction to the vehicle end, the step further includes:

[0010] The controller configuration states are defined in the standard configuration files on the diagnostic side.

[0011] In one embodiment, the step of defining the controller configuration state in the standard configuration file of the diagnostic terminal includes:

[0012] Determine the classification of the controller configuration state;

[0013] state detection identification logic for determining a configuration state of the controller;

[0014] The classification of the controller configuration state and the state detection and identification logic of the controller configuration state are written into a standard configuration file.

[0015] In one embodiment, the step of comparing the controller data with the controller configuration state in the standard configuration file to obtain the controller configuration information of the vehicle side includes:

[0016] The controller data is compared with the controller configuration status in the standard configuration file to obtain a configured controller list and / or an unconfigured controller list.

[0017] In one embodiment, the diagnostic test report generation method is applied to a vehicle side, and the method includes:

[0018] Receive controller data request instructions sent by the diagnostic terminal;

[0019] The controller data of the controller is acquired according to the controller data request instruction, and the controller data is sent to the diagnosis end. The diagnosis end compares the received controller data with the controller configuration status in the standard configuration file to obtain the controller configuration information.

[0020] In one embodiment, the diagnostic test report generation method is applied to an application end, and the method includes:

[0021] Receiving controller configuration information sent by the diagnosis end, the controller configuration information is obtained by the diagnosis end comparing the controller data sent by the vehicle end with the controller configuration state in the standard configuration file;

[0022] A diagnostic test report is generated according to the controller configuration information, and the diagnostic test report is provided to a target user.

[0023] In one embodiment, the step of generating a diagnostic test report according to the controller configuration information includes:

[0024] Filling the controller configuration information into a local diagnostic test template to generate a local diagnostic test report;

[0025] Add configuration parameters to the controller configuration information and generate an online diagnostic test report.

[0026] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic test report generating device, the diagnostic test report generating device comprising:

[0027] A data request module, used to send a controller data request instruction to the vehicle end;

[0028] A data comparison module, used for receiving the controller data sent by the vehicle end, comparing the controller data with the controller configuration state in the standard configuration file, and obtaining the controller configuration information of the vehicle end;

[0029] The report generation module is used to send the controller configuration information to the application end, and generate a diagnostic test report according to the controller configuration information through the application end.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic test report generating device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the diagnostic test report generating method as described above.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the diagnostic test report generation method described above are implemented.

[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the diagnostic test report generation method described above.

[0033] One or more technical solutions proposed in this application have at least the following technical effects:

[0034] The embodiment of the present application provides a method, device, equipment and storage medium for generating a diagnostic test report. The method for generating a diagnostic test report is applied to a diagnostic end, and the method includes: sending a controller data request instruction to a vehicle end; receiving controller data sent by the vehicle end, comparing the controller data with the controller configuration status in a standard configuration file to obtain controller configuration information; sending the controller configuration information to an application end, and generating a diagnostic test report according to the controller configuration information by the application end. By comparing the controller data with the controller configuration status in a standard configuration file to obtain the controller configuration information, the accuracy of the diagnostic test can be improved; according to the controller configuration status, the specific information of the vehicle-end controller configuration can be clearly displayed, including the specific information when the controller is offline or not installed, which can solve the problem of being unable to locate the controller fault when the controller is offline or not installed. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] Figure 1 This is a flow chart of the first embodiment of the diagnostic test report generation method of the present application;

[0038] Figure 2 This is a flow chart of the second embodiment of the method for generating a diagnostic test report of the present application;

[0039] Figure 3 This is a flow chart of the third embodiment of the method for generating a diagnostic test report of the present application;

[0040] Figure 4 This is a schematic diagram of the module structure of the diagnostic test report generating device according to an embodiment of the present application;

[0041] Figure 5 A schematic diagram of the device structure of the hardware operating environment involved in the diagnostic test report generation method in the embodiment of the present application.

[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0044] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0045] The main solution of the embodiment of the present application is: send a controller data request instruction to the vehicle end; receive the controller data sent by the vehicle end, compare the controller data with the controller configuration status in the standard configuration file, and obtain the controller configuration information; send the controller configuration information to the application end, and generate a diagnostic test report according to the controller configuration information through the application end. The present application compares the controller data with the controller configuration status in the standard configuration file to obtain the controller configuration information, which can improve the accuracy of diagnostic testing; according to the controller configuration status, the specific information of the vehicle-end controller configuration can be clearly displayed, including the specific information when the controller is offline or not installed, which can solve the problem that the controller fault cannot be located when the controller is offline or not installed.

[0046] The diagnostic test report of the diagnostic equipment is an important document that assists after-sales maintenance personnel and vehicle factory development and testing personnel to quickly understand the vehicle diagnosis situation. It records the basic information of the vehicle, the information of the testing agency (4S shop / repair shop) and the specific test results in detail, providing a multi-faceted reference and basis for maintenance personnel and vehicle managers. By viewing the controller fault detection results in the report, the vehicle controller fault can be quickly located and the corresponding repair and development plan can be formulated. At present, the diagnostic test report of the general diagnostic equipment will output the test results of the vehicle controller, and the faulty controller and the controller without fault or normal detection are statistically displayed. However, there are usually disconnected or not installed controllers in vehicle communication, and such controllers cannot be detected and displayed. The existing diagnostic report content mainly includes vehicle information, testing agency, test results and professional test report parts, but it cannot reflect the unconfigured system, resulting in the user / vehicle factory R&D personnel being unable to determine which controller systems are disconnected or not installed during after-sales maintenance, and unable to locate the relevant controller failure problems, increasing the difficulty and cost of after-sales maintenance.

[0047] This application obtains controller configuration information by comparing controller data with the controller configuration status in the standard configuration file, which can improve the accuracy of diagnostic testing; based on the controller configuration status, the specific information of the vehicle-side controller configuration can be clearly displayed, including specific information when the controller is offline or not installed, which can solve the problem of being unable to locate controller faults when the controller is offline or not installed.

[0048] In this embodiment, for ease of description, the following description is made by taking the identification diagnosis test report generating device as the execution subject.

[0049] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a diagnostic test report generating device, etc. The following takes the diagnostic test report generating device as an example to illustrate this embodiment and the following embodiments.

[0050] Based on this, the present application embodiment provides a method for generating a diagnostic test report, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the diagnostic test report generation method of the present application.

[0051] In this embodiment, the diagnostic test report generation method is applied to the diagnostic end, and the method includes steps S10 to S30:

[0052] Step S10, sending a controller data request instruction to the vehicle end.

[0053] It should be noted that the diagnostic end is a device and / or software system used for automobile system fault diagnosis, which is responsible for performing a series of diagnostic operations to detect, analyze and report potential problems in the system (such as an automobile electronic control system).

[0054] In addition, it should be noted that the vehicle end refers to the vehicle that performs diagnostic testing, and may also refer to the electronic control unit ECU (ECU, Electronic Control Unit, electronic controller unit) of the vehicle.

[0055] In addition, it should be noted that the controller data request instruction is used to request the vehicle end to read the configuration data of the controller, and the controller configuration data includes the controller configuration status.

[0056] Specifically, ensure that the diagnosis end establishes communication with the vehicle end, send a controller data request instruction to the electronic control unit ECU (ECU) of the vehicle end through the diagnosis end, and request to read the controller data from the electronic control unit of the vehicle end.

[0057] Step S20, receiving the controller data sent by the vehicle end, comparing the controller data with the controller configuration status in the standard configuration file, and obtaining the controller configuration information of the vehicle end.

[0058] It should be noted that the controller data refers to a series of settings and parameters stored inside the vehicle controller, which define the controller's behavior, operating mode, and interaction with other vehicle systems or components. Controller data includes but is not limited to hardware interface settings (communication interface configuration between the controller and other vehicle components (such as sensors, actuators, other controllers, etc.), such as CAN bus parameters, LIN bus configuration, analog signal and digital signal input and output settings, etc.), software parameters (specific parameters required by the software or algorithm running inside the controller, such as the gain value of the PID controller, filter settings, fault detection thresholds, etc.), vehicle performance parameters (settings directly related to vehicle performance, such as engine speed limit, speed limit, emission control parameters, etc.), safety settings (configurations related to vehicle safety, such as brake system parameters, airbag system configuration, anti-theft system parameters, etc.), fault codes (a set of codes used in automotive electronic control systems to indicate specific faults or abnormal conditions) and controller status information (referring to the current working status and parameters of each vehicle system or component).

[0059] In addition, it should be noted that the standard configuration file is a file used to define and record the expected configuration state of the vehicle controller. The file usually contains various parameters, settings, configuration states and other information of the controller, which is used to compare with the controller data sent in real time by the vehicle end to evaluate whether the configuration of the controller meets expectations.

[0060] In one embodiment of the present application, the standard configuration file includes but is not limited to: controller configuration status, configuration parameters and status identification of the controller under different working conditions, such as normal, abnormal, scanned, unscanned and unconfigured, etc., which information is the basis for the diagnostic end to determine whether the controller configuration is correct; interface status definition, interface status predefined in the vehicle model protocol, including specific definitions and identification standards of normal, abnormal and other states, these definitions help the diagnostic software to accurately determine the working status of the interface; data format and communication protocol, which defines the format of controller configuration data and the protocol for communication between the diagnostic end and the controller, which is a prerequisite for ensuring that the diagnostic software can correctly read and parse the controller configuration data; standards or specifications, including industry standards, manufacturer specifications or regulatory requirements, etc., to ensure that the configuration of the controller complies with relevant regulations and standards.

[0061] In addition, it should be noted that the controller configuration state refers to the configuration parameters and state identifiers of the controller under different working conditions, such as normal, abnormal, scanned, unscanned and unconfigured.

[0062] In addition, it should be noted that the vehicle-side controller configuration information refers to relevant information of the vehicle-side controller configuration.

[0063] Specifically, the controller data is compared with the controller configuration status in the standard configuration file to obtain a configured controller list and / or an unconfigured controller list.

[0064] Step S30, sending the controller configuration information to an application end, and generating a diagnostic test report according to the controller configuration information by the application end.

[0065] It should be noted that the application end is used to receive the controller configuration information sent by the diagnosis end, generate a local diagnosis test report and an online diagnosis test report according to the controller configuration information, and then provide the diagnosis test report to the target user.

[0066] In addition, it should be noted that the diagnostic test report includes a local diagnostic test report and an online diagnostic test report, which are used to evaluate the technical condition and performance of the vehicle, aiming to help car owners understand the current status of the vehicle, discover potential problems in a timely manner, and serve as a basis for subsequent repairs and maintenance.

[0067] Specifically, the controller configuration information of the vehicle side is sent to the application side. After the application side receives the controller configuration information, it generates a local diagnostic test report and an online diagnostic test report according to the controller configuration information.

[0068] Through the above scheme, this embodiment obtains controller configuration information by comparing the controller data with the controller configuration status in the standard configuration file, which can improve the accuracy of diagnostic detection; according to the controller configuration status, the specific information of the vehicle-side controller configuration can be clearly displayed, including specific information when the controller is offline or not installed, which can solve the problem of being unable to locate controller faults when the controller is offline or not installed.

[0069] Based on the above implementation scheme, in a feasible implementation scheme, before sending the controller data request instruction to the vehicle end, the step S40 is also included:

[0070] Step S40, defining the controller configuration state in the standard configuration file of the diagnosis terminal.

[0071] Specifically, a controller configuration state is determined; a state detection and identification logic of the controller configuration state is determined; and the controller configuration state and the state detection and identification logic of the controller configuration state are written into a standard configuration file.

[0072] Based on the above implementation scheme, in a feasible implementation manner, defining the controller configuration state in the standard configuration file of the diagnosis terminal includes steps S41 to S43:

[0073] Step S41, determining the classification of the controller configuration state.

[0074] Specifically, to define the controller configuration state in the standard configuration file of the diagnostic end, the controller configuration state must first be determined. In one embodiment of the present application, the controller configuration state classification includes a configured state and an unconfigured state, wherein the configured state includes a normal state, an abnormal state, a scanned state, and an unscanned state. The normal state indicates the state identifier and parameter range when the controller is working normally and the data transmission is correct; the abnormal state indicates that the controller is in an abnormal state, such as a fault or a configuration error, and the specific situation of the abnormal state is determined and the corresponding identifier is defined for different situations. The abnormal state is such as data packet loss, communication timeout, error code, etc.; the scanned state indicates that the controller has been scanned by the diagnostic end but its state has not been determined, and it is not determined whether it is a normal state or an abnormal state, and the key information of the controller during the scanning process is recorded for subsequent analysis; the unscanned state indicates that the controller has not been scanned by the diagnostic end, and the reasons for the unscanning are analyzed, such as interface damage, communication line failure, etc., and corresponding solutions are formulated. The unconfigured state indicates that the corresponding controller is not installed on the vehicle end or the controller is offline. When the state of the controller is an unconfigured state, the key information in the scanning process is analyzed to analyze whether the controller is not installed or offline. If it is offline, the specific problem of offline is analyzed and solved.

[0075] Step S42, determining the state detection identification logic of the controller configuration state.

[0076] It should be noted that the state detection and identification logic of the controller configuration state is used as a basis for classifying the controller configuration state of the controller and is used to identify the controller configuration state.

[0077] Specifically, according to the determined controller configuration state, a corresponding state detection and identification logic is configured for each state. In one embodiment of the present application, by checking the operating state parameters, sensor readings, actuator responses, etc. of the controller, it is confirmed whether they are within the normal range. If they are within the normal range, it is a normal state, and if they are not within the normal range, it is an abnormal state; by analyzing the scanning history data in the controller data, including the scanning time, scanning results, etc., it is confirmed whether the controller is in a scanned state or an unscanned state; by comparing the controller data with the controller configuration state in the standard configuration file, it is determined whether the controller is in an unconfigured state.

[0078] Step S43, writing the controller configuration state and the state detection and identification logic of the controller configuration state into a standard configuration file.

[0079] Specifically, a suitable file format is selected as the file format of the standard configuration file, and the configuration status classification of the controller is listed in detail in the standard configuration file, including the definitions and characteristics of normal state, abnormal state, unscanned state, scanned state and unconfigured state, and the detection and identification logic of each state is described, including detection means, judgment rules, processing flow, etc. Clear comments and instructions are used to explain the content and purpose of the configuration file; verify whether the format and content of the configuration file meet the requirements to ensure that there are no omissions or errors, test the compatibility and validity of the configuration file, ensure that the configuration status of the controller can be correctly identified and reported, and obtain a complete standard configuration file.

[0080] Through the above scheme, this embodiment writes the controller configuration status and the status detection and identification logic of the controller configuration status into the standard configuration file, which can provide clear controller configuration status classification and detection logic for diagnostic detection, so that the controller status can be judged quickly and accurately, thereby formulating effective maintenance plans and improving maintenance efficiency; by setting the unconfigured state, it can be judged that the controller is disconnected or not installed through the unconfigured state, and related fault problems can be located and solved in time.

[0081] Based on the above implementation scheme, in a feasible implementation manner, the step of comparing the controller data with the controller configuration state in the standard configuration file to obtain the controller configuration information of the vehicle side includes step S21:

[0082] Step S21: Compare the controller data with the controller configuration status in the standard configuration file to obtain a configured controller list and / or an unconfigured controller list.

[0083] It should be noted that the list of configured controllers includes data of controllers in configured states, including controller data and configuration states of several configuration states, such as normal state, abnormal state, scanned state, and unscanned state.

[0084] In addition, it should be noted that the list of unconfigured controllers includes data and configuration status of controllers in an unconfigured state.

[0085] Specifically, after receiving the controller data, the controller data is compared with the controller configuration status in the standard configuration file to determine the controller configuration status classification of the controller, and a configured controller list and / or an unconfigured controller list is generated according to the comparison result, and detailed information of each controller is recorded in the list, including model, serial number, current configuration status, expected configuration status (if applicable), etc. This information is helpful for subsequent analysis and processing.

[0086] Based on this, the present application embodiment provides a method for generating a diagnostic test report, referring to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the diagnostic test report generation method of the present application.

[0087] Based on the above implementation scheme, in a feasible implementation scheme, the diagnostic test report generation method is applied to the vehicle side, and the method includes steps S50 to S60:

[0088] Step S50, receiving a controller data request instruction sent by the diagnosis terminal.

[0089] Specifically, the vehicle end establishes a communication connection with the diagnostic end and continuously monitors the diagnostic end. When the diagnostic end sends a controller data request instruction, the vehicle end receives the controller data request instruction sent by the diagnostic end, verifies the format, validity, and integrity of the instruction, and performs subsequent operations after the verification is passed.

[0090] Step S60, acquiring controller data of the controller according to the controller data request instruction, sending the controller data to the diagnosis end, and comparing the received controller data with the controller configuration status in the standard configuration file by the diagnosis end to obtain controller configuration information.

[0091] Specifically, after receiving the controller data request instruction, the instruction is parsed to determine the controller type, serial number or specific data item that needs to be queried; according to the content in the controller data request instruction, the data interface of the specified controller is accessed through the vehicle's internal network or by directly communicating with the controller; the required controller data is read from the controller, which may include configuration parameters, status information, fault codes, etc.

[0092] Based on this, the present application embodiment provides a method for generating a diagnostic test report, referring to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the diagnostic test report generation method of the present application.

[0093] Based on the above implementation scheme, in a feasible implementation manner, the diagnostic test report generation method is applied to the application end, and the method includes steps S70 to S80:

[0094] Step S70, receiving controller configuration information sent by the diagnosis end, wherein the controller configuration information is obtained by the diagnosis end by comparing the controller data sent by the vehicle end with the controller configuration status in the standard configuration file.

[0095] Specifically, ensure that the application end establishes a communication connection with the diagnosis end, the application end continuously monitors the diagnosis end, and when the diagnosis end sends the controller configuration information, the controller configuration information is verified, and the format, source, time, etc. of the information are checked to ensure the integrity and accuracy of the information. The controller configuration information is obtained by the diagnosis end by comparing the controller data sent by the vehicle end with the controller configuration status in the standard configuration file, comparing and analyzing the controller data with the controller configuration status in the standard configuration file, identifying the state classification of the controller, and obtaining the controller configuration information.

[0096] Step S80: Generate a diagnostic test report based on the controller configuration information, and provide the diagnostic test report to a target user.

[0097] Specifically, the received controller configuration information is parsed into a processable format, such as a table, list or object, and a local diagnostic test report and an online diagnostic test report are generated based on the diagnostic test results in the controller configuration information. The diagnostic test report lists the configuration status of each controller in detail. The controller in the abnormal state indicates the cause and location of the abnormality. The controller in the unconfigured state indicates whether it is offline or not installed. If it is offline, the cause and solution of the offline are indicated, and the diagnostic test report is provided to the target user.

[0098] Based on the above implementation scheme, in a feasible implementation manner, generating a diagnostic test report according to the controller configuration information includes steps S81 to S82:

[0099] Step S81, filling the controller configuration information into the local diagnosis test template to generate a local diagnosis test report.

[0100] It should be noted that the local diagnostic test template refers to a pre-designed local diagnostic test document template with a specific format and layout. This template defines the appearance of the local diagnostic test report. The design should be customized according to actual needs to ensure that the generated diagnostic report meets both professional requirements and has good readability and ease of use. During the design process, you can refer to industry standards, company specifications or user feedback to optimize the style and layout of the template.

[0101] In one embodiment of the present application, when the application needs to generate a local diagnostic test report, the predefined local diagnostic test template is read and parsed through a PDF generation library or framework such as iText. Then, according to the controller configuration information, the application fills these data into the corresponding placeholders in the template. Finally, the application generates a new PDF file containing the complete diagnostic test report content and displays it in the style and layout defined by the local diagnostic test template. In this way, the user can view and print this professional diagnostic report on the local device.

[0102] Step S82, adding configuration parameters to the controller configuration information, and generating an online diagnosis and detection report.

[0103] It should be noted that the configuration parameters refer to fields (or attributes, variables) and their corresponding values ​​specially introduced to describe different states or configurations of the controller, and are used to indicate the scanning state or configuration of the ECU controller.

[0104] Specifically, in the application end, configuration parameters are first defined for controller configuration states of different categories. In one embodiment of the present application, the configuration parameter is set to scan_status, and scan_status=0 is set to be a controller in an abnormal state, scan_status=1 is set to be a controller in a normal state, scan_status=3 is set to be a controller in a scanned state, scan_status=4 is set to be a controller in an unscanned state, and scan_status=5 is set to be a controller in an unconfigured state. After receiving the controller configuration information, the application end determines the configuration state of the controller after judgment, and assigns corresponding configuration parameters, and uploads the controller configuration information assigned with the configuration parameters to the backend server of the application end. After receiving the information, the backend server distinguishes the controllers in the configured state (normal state, abnormal state, scanned state, and unscanned state) and the unconfigured state based on the configuration parameters, and stores the judgment and distinction results in the backend database, and then generates a result document report through the application end, and the front end obtains the generated result document report and generates an online diagnosis test report through the front end online diagnosis test template, and provides the online diagnosis test report to the target user.

[0105] Through the above scheme, this embodiment provides two forms of diagnostic test reports by generating a local diagnostic test report and an online diagnostic test report based on the controller configuration information, so that users can easily check and understand the diagnostic test results of the vehicle.

[0106] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the diagnostic test report generation method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0107] This application also provides a diagnostic test report generation device, please refer to Figure 4 , the diagnostic test report generating device comprises:

[0108] The data request module 401 is used to send a controller data request instruction to the vehicle end;

[0109] A data comparison module 402 is used to receive the controller data sent by the vehicle end, compare the controller data with the controller configuration state in the standard configuration file, and obtain the controller configuration information of the vehicle end;

[0110] The report generation module 403 is used to send the controller configuration information to the application end, and generate a diagnostic test report according to the controller configuration information through the application end.

[0111] The diagnostic test report generation device provided by the present application adopts the diagnostic test report generation method in the above embodiment, which can solve the technical problem that the controller fault cannot be located when the controller is offline or not installed. Compared with the prior art, the beneficial effects of the diagnostic test report generation device provided by the present application are the same as the beneficial effects of the diagnostic test report generation method provided by the above embodiment, and the other technical features in the diagnostic test report generation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0112] The present application provides a diagnostic test report generating device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the diagnostic test report generating method in the above-mentioned embodiment one.

[0113] Reference below Figure 5 , which shows a schematic diagram of the structure of a diagnostic test report generating device suitable for implementing the embodiment of the present application. The diagnostic test report generating device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The diagnostic test report generating device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0114] like Figure 5As shown, the diagnostic test report generating device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the diagnostic test report generating device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. Communication device 1009 can allow diagnostic test report generation equipment to carry out wireless or wired communication with other equipment to exchange data.Although the diagnostic test report generation equipment with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown.Can implement or have more or less systems alternatively.

[0115] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0116] The diagnostic test report generation device provided by the present application adopts the diagnostic test report generation method in the above embodiment, which can solve the technical problem that the controller fault cannot be located when the controller is offline or not installed. Compared with the prior art, the beneficial effects of the diagnostic test report generation device provided by the present application are the same as the beneficial effects of the diagnostic test report generation method provided by the above embodiment, and the other technical features in the diagnostic test report generation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0117] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0119] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the diagnostic test report generating method in the above-mentioned embodiment.

[0120] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0121] The computer-readable storage medium may be included in the diagnostic test report generating device; or may exist independently without being assembled into the diagnostic test report generating device.

[0122] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the diagnostic test report generating device, the diagnostic test report generating device: at the diagnostic end: send a controller data request instruction to the vehicle end; receive the controller data sent by the vehicle end, compare the controller data with the controller configuration status in the standard configuration file, and obtain the controller configuration information of the vehicle end; send the controller configuration information to the application end, and generate a diagnostic test report according to the controller configuration information through the application end. At the vehicle end: receive the controller data request instruction sent by the diagnostic end; obtain the controller data of the controller according to the controller data request instruction, send the controller data to the diagnostic end, and compare the received controller data with the controller configuration status in the standard configuration file through the diagnostic end to obtain the controller configuration information. At the application end: receive the controller configuration information sent by the diagnostic end, and the controller configuration information is obtained by the diagnostic end comparing the controller data sent by the vehicle end with the controller configuration status in the standard configuration file; generate a diagnostic test report according to the controller configuration information, and provide the diagnostic test report to the target user.

[0123] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0125] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0126] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned diagnostic test report generation method, and can solve the technical problem that the controller fault cannot be located when the controller is offline or not installed. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the diagnostic test report generation method provided by the above-mentioned embodiment, and will not be repeated here.

[0127] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned diagnostic test report generation method when executed by a processor.

[0128] The computer program product provided by the present application can solve the technical problem that the controller fault cannot be located when the controller is offline or not installed. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the diagnostic test report generation method provided by the above embodiment, which will not be repeated here.

[0129] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for generating a diagnostic test report, characterized in that: The method is applied to a diagnosis end, and the method comprises: Sending controller data request instructions to the vehicle end; Receiving controller data sent by the vehicle end, comparing the controller data with the controller configuration state in the standard configuration file, and obtaining controller configuration information of the vehicle end; The controller configuration information is sent to an application end, and a diagnostic test report is generated by the application end according to the controller configuration information.

2. The method according to claim 1, characterized in that Before the step of sending the controller data request instruction to the vehicle end, the step further includes: The controller configuration states are defined in the standard configuration files on the diagnostic side.

3. The method according to claim 1, characterized in that The step of defining the controller configuration state in the standard configuration file of the diagnostic terminal includes: Determine the classification of the controller configuration state; state detection identification logic for determining a configuration state of the controller; The classification of the controller configuration state and the state detection and identification logic of the controller configuration state are written into a standard configuration file.

4. The method according to claim 1, characterized in that The step of comparing the controller data with the controller configuration state in the standard configuration file to obtain the controller configuration information of the vehicle side includes: The controller data is compared with the controller configuration status in the standard configuration file to obtain a configured controller list and / or an unconfigured controller list.

5. A method for generating a diagnostic test report, characterized in that: The method is applied to a vehicle side, and the method comprises: Receive controller data request instructions sent by the diagnostic terminal; The controller data of the controller is acquired according to the controller data request instruction, and the controller data is sent to the diagnosis end. The diagnosis end compares the received controller data with the controller configuration status in the standard configuration file to obtain the controller configuration information.

6. A method for generating a diagnostic test report, characterized in that: The method is applied to an application end, and the method includes: Receiving controller configuration information sent by the diagnosis end, the controller configuration information is obtained by the diagnosis end comparing the controller data sent by the vehicle end with the controller configuration state in the standard configuration file; A diagnostic test report is generated according to the controller configuration information, and the diagnostic test report is provided to a target user.

7. The method according to claim 6, characterized in that The step of generating a diagnostic test report according to the controller configuration information comprises: Filling the controller configuration information into a local diagnostic test template to generate a local diagnostic test report; Add configuration parameters to the controller configuration information and generate an online diagnostic test report.

8. A diagnostic test report generating device, characterized in that: The device comprises: A data request module, used to send a controller data request instruction to the vehicle end; A data comparison module, used for receiving the controller data sent by the vehicle end, comparing the controller data with the controller configuration state in the standard configuration file, and obtaining the controller configuration information of the vehicle end; The report generation module is used to send the controller configuration information to the application end, and generate a diagnostic test report according to the controller configuration information through the application end.

9. A diagnostic test report generating device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the diagnostic test report generating method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the diagnostic test report generation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for monitoring an on-vehicle controller

    CN108572637A

  • Vehicle diagnosis method and system

    CN118192510A

  • Vehicle diagnosis method and device, terminal equipment and storage medium

    CN118226838A

  • Vehicle diagnosis method, device and equipment and storage medium

    CN118584938A