Controller diagnosis method and device, vehicle-mounted equipment, storage medium and program product
The controller diagnosis method optimizes vehicle controller diagnosis by sending instructions based on a preset sequence and priority, addressing inefficiencies in existing methods to enhance production efficiency and accuracy.
Patent Information
- Application Number
- CN202411456702.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-10-17
AI Technical Summary
Existing vehicle controller diagnosis methods are inefficient due to the sequential execution of ECU functions, leading to prolonged diagnosis times that do not meet production line efficiency requirements.
A controller diagnosis method that sends execution instructions to vehicle controllers based on a preset functional sequence, including diagnostic and learning routines, with priority determination based on vehicle type and controller configurations, allowing for simultaneous execution and optimized resource allocation.
This approach significantly reduces vehicle controller diagnosis time, improving production efficiency and accuracy by ensuring critical controllers are diagnosed first and optimizing the diagnostic process.
Smart Images

Figure CN119247936A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle diagnosis technology, and in particular to a controller diagnosis method, device, vehicle-mounted equipment, storage medium and program product. Background Art
[0002] With the development of automotive electronic technology, current vehicles are equipped with multiple ECUs (Electronic Control Units). New vehicles leaving the factory are required to perform function configuration, function learning, and related parameter writing on each ECU system. They can only be shipped out of the factory for customer use after passing diagnosis to ensure that all vehicle functions are normal.
[0003] The existing technology diagnoses vehicle controllers in accordance with the order of all ECU controller functions. After the current ECU is completed, the next ECU function configuration is executed until all controllers are completed. If some controllers need a certain amount of time to complete the execution of the function, the diagnostic equipment will always wait for the result of the body controller's execution function, resulting in a long vehicle diagnosis time, which does not meet the production rhythm of the production line and leads to low production efficiency.
[0004] 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
[0005] The main purpose of this application is to provide a controller diagnosis method, device, vehicle-mounted equipment, storage medium and program product, aiming to solve the technical problem of low efficiency of vehicle controller function diagnosis in the prior art.
[0006] To achieve the above object, the present application proposes a controller diagnosis method, which is applied to a diagnosis end and includes:
[0007] sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence, the vehicle end sending the controller execution diagnosis instruction to the corresponding controller, the controller performing diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, the controller execution diagnosis instruction at least including one or more of a diagnosis function execution instruction and a learning routine instruction;
[0008] Receive the controller diagnosis result returned by the vehicle end, and the controller diagnosis function result at least includes one or more of the diagnosis function execution result and the learning result.
[0009] In one embodiment, before the step of sending a controller to execute a diagnostic instruction to the vehicle end based on a preset function diagnostic sequence, the step further includes:
[0010] Obtaining the VIN code of the vehicle and verifying the VIN code;
[0011] If the VIN code verification passes, the following steps are executed: sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence.
[0012] In one embodiment, the vehicle end includes a plurality of controllers, and before the step of sending the controller execution diagnosis instruction to the vehicle end based on the preset function diagnosis sequence, the step further includes:
[0013] Acquire the vehicle model information of the vehicle end and the functional configuration of the several controllers;
[0014] Determining diagnostic priorities of the plurality of controllers according to the vehicle type information and functional configurations of the plurality of controllers;
[0015] A functional diagnosis sequence is generated according to the diagnosis priority.
[0016] In one embodiment, the step of determining the diagnostic priorities of the plurality of controllers according to the vehicle type information and the functional configurations of the plurality of controllers comprises:
[0017] According to the vehicle model information and the functional configurations of the plurality of controllers, acquiring learning waiting times of the plurality of controllers;
[0018] Priority sorting is performed based on the learning waiting time of the plurality of controllers to determine the diagnosis priorities of the plurality of controllers.
[0019] In one embodiment, the controller includes at least one or more of a controller to be learned and a controller to be diagnosed, the learning routine instruction includes at least one or more of a start learning routine instruction and a learning result query instruction, and the method further includes:
[0020] Sending a start learning routine instruction for the controller to be learned to the vehicle end, the vehicle end sending the start learning routine instruction to the controller to be learned, and the controller to be learned performing learning diagnosis according to the learning routine instruction;
[0021] Sending a diagnostic function instruction for the controller to be diagnosed to the vehicle end, the vehicle end sending the diagnostic function execution instruction to the controller to be diagnosed, the controller to be diagnosed performing the diagnostic function according to the diagnostic function execution instruction, obtaining the diagnostic function execution result and returning it to the diagnostic end;
[0022] Monitoring the learning status of the controller to be learned in the vehicle end;
[0023] If the learning status of the controller to be learned is completed, a learning result query instruction for the controller to be learned is sent to the vehicle end, and the vehicle end queries the learning result of the controller to be learned according to the learning result query instruction and returns it to the diagnosis end.
[0024] In addition, to achieve the above purpose, the present application also proposes a controller diagnosis method, which is applied to the vehicle side and includes:
[0025] A controller execution diagnosis instruction sent by a receiving diagnosis terminal based on a preset function diagnosis sequence, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction;
[0026] The controller executes the diagnostic instruction and sends it to the corresponding controller, and the controller performs diagnosis according to the controller executes the diagnostic instruction to obtain the controller diagnostic result, wherein the controller diagnostic function result at least includes one or more of the diagnostic function execution result and the learning result;
[0027] The controller diagnosis result is returned to the diagnosis terminal.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a controller diagnostic device, the controller diagnostic device comprising:
[0029] An instruction sending module, used for sending a controller execution diagnosis instruction to a vehicle end based on a preset function diagnosis sequence, wherein the vehicle end sends the controller execution diagnosis instruction to a corresponding controller, and the controller performs diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction;
[0030] The result receiving module is used to receive the controller diagnosis result returned by the vehicle end, and the controller diagnosis function result at least includes one or more of the diagnosis function execution result and the learning result.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle-mounted 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 controller diagnostic method described above.
[0032] 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 controller diagnostic method described above are implemented.
[0033] 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, the steps of the controller diagnosis method described above are implemented.
[0034] The present application provides a controller diagnosis method. The present application first sends a controller execution diagnosis instruction to a vehicle based on a preset function diagnosis sequence. The vehicle then forwards the controller execution diagnosis instruction to the controller for diagnosis. Finally, the vehicle receives the diagnosis result returned by the controller. The function of the controller is diagnosing by controlling the sending of instructions of different sequences and types. The controller function diagnosis based on the diagnosis sequence and instruction control is realized, which solves the problem of low efficiency of vehicle controller function diagnosis in the prior art and improves the diagnosis efficiency of the vehicle controller function. 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 technical solutions in the embodiments of the present application or 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 A schematic diagram of a flow chart provided for the first embodiment of the controller diagnostic method of the present application;
[0038] Figure 2 A schematic diagram of a flow chart provided for the second embodiment of the controller diagnostic method of the present application;
[0039] Figure 3 A flowchart diagram of a third embodiment of the controller diagnostic method of the present application;
[0040] Figure 4 This is a schematic diagram of the module structure of the controller diagnostic device according to an embodiment of the present application;
[0041] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the controller diagnosis 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: based on a preset functional diagnosis sequence, a controller execution diagnostic instruction is sent to the vehicle end, and the vehicle end sends the controller execution diagnostic instruction to the corresponding controller, and the controller performs diagnosis according to the controller execution diagnostic instruction to obtain a controller diagnosis result, and the controller execution diagnostic instruction includes at least one or more of a diagnostic function execution instruction and a learning routine instruction; and the controller diagnosis result returned by the vehicle end is received, and the controller diagnostic function result includes at least one or more of a diagnostic function execution result and a learning result.
[0046] As cars are now electronic, the application of automotive electronic technology will make cars more intelligent, and the use of vehicles is becoming more and more popular. ECU (Electronic Control Unit), also known as the "driving computer" of the car, is used to control the driving state of the car and realize its various functions. It mainly uses various sensors and bus data collection and exchange to judge the vehicle state and the driver's intention and control the car through the actuator. Currently, multiple ECUs are installed on vehicles. New vehicles leaving the factory need to perform function configuration, function learning, and related parameter writing of each ECU system before they can be shipped out for customer use to ensure that all functions of the vehicle are normal.
[0047] The existing method of vehicle diagnosis is to execute all functions of the ECU controller in sequence, and execute the function configuration of the next ECU after the current ECU is completed, until all controllers are completed. For example, if some body controllers need a certain time (10s-60s) to complete the sunroof and window learning execution functions, the diagnostic equipment will always wait for the results of the body controller execution function, resulting in a long vehicle diagnosis time, failure to meet the production line's production rhythm, and low production efficiency.
[0048] The present application diagnoses the controller on the vehicle side by sending a controller execution diagnostic instruction to the vehicle side through a functional diagnostic sequence, thereby realizing controller function diagnosis based on diagnostic sequence and instruction control, solving the problem of low efficiency of vehicle controller function diagnosis in the prior art, and improving the diagnostic efficiency of the vehicle controller function.
[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, a vehicle-mounted device, etc. that can realize the above functions. The following takes the vehicle-mounted device as an example to illustrate this embodiment and the following embodiments.
[0050] Based on this, the present application embodiment provides a controller diagnosis method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the controller diagnosis method of the present application.
[0051] In this embodiment, the controller diagnosis method is applied to the diagnosis end, including steps S10 to S20:
[0052] Step S10, sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence, the vehicle end sending the controller execution diagnosis instruction to the corresponding controller, the controller performing diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, the controller execution diagnosis instruction at least includes one or more of a diagnosis function execution instruction and a learning routine instruction;
[0053] It should be noted that the functional diagnostic sequence refers to the controller diagnostic sequence arranged in a certain order to ensure that it is carried out step by step to avoid diagnostic conflicts or interference. The vehicle end refers to the diagnostic system or central control unit on the vehicle, which is responsible for receiving instructions from the diagnostic end and forwarding them to the corresponding controller. The controller executes diagnostic instructions pointing to specific instructions issued by the controller, including executing diagnostic functions and running learning routines. Diagnostic function execution instructions refer to instructions that allow the controller to detect and verify specific functions. Learning routine instructions refer to instructions that allow the controller to perform self-learning or calibration processes to adapt to new situations or optimize performance. The controller diagnostic results refer to the feedback information returned by the controller on the vehicle end, which may include information such as the status, error information or performance data of the controller.
[0054] It can be understood that controller diagnostic instructions are sent from the diagnostic end to the vehicle end so that the vehicle end conveys these instructions to specific controllers. Different controllers will perform their respective diagnostic tasks after receiving different controller diagnostic instructions, thereby ensuring that all controllers are diagnosed in accordance with the preset functional diagnostic order to obtain diagnostic results.
[0055] Step S20, receiving the controller diagnosis result returned by the vehicle end, wherein the controller diagnosis function result at least includes one or more of a diagnosis function execution result and a learning result.
[0056] It should be noted that the diagnostic functions performed by the controller may include the diagnosis of typical faults and fault simulation tests. Typical faults may include power supply faults, input faults (sensors, switches), output faults (relays, motors) and network faults. Fault simulation tests verify the self-diagnosis function of the on-board diagnostic system by simulating faults, including fault confirmation conditions, recovery conditions, levels and alarm methods. The controller diagnostic results may include the results of the execution of diagnostic functions and the learning results, specifically in the form of fault information, data streams and other forms of information.
[0057] It can be understood that the diagnostic end receives the controller diagnostic results returned from the vehicle end to analyze whether the status and function of the controller are normal. By reasonably arranging the diagnostic sequence and feedback mechanism, it can ensure that all controllers are accurately diagnosed and the diagnostic results can be obtained and processed in time, so as to quickly discover and solve problems.
[0058] In a feasible implementation manner, before the step of sending a controller to execute a diagnostic instruction to the vehicle end based on a preset function diagnosis sequence, the step further includes:
[0059] Step S101, obtaining the VIN code of the vehicle end and verifying the VIN code;
[0060] It should be noted that the VIN code refers to the vehicle identification code used to identify and verify the identity of the vehicle. It is a code that uniquely identifies each vehicle.
[0061] Understandably, the latest regulations require that for vehicles equipped with electronic control units, at least one ECU should store the vehicle identification number in a tamper-proof manner, written in accordance with the developed program. Therefore, it is necessary to verify the correctness and validity of the VIN code when the vehicle controller unit is connected or replaced to ensure that the VIN code complies with the predetermined format and rules to prevent illegal or erroneous data.
[0062] Step S102, if the VIN code verification passes, then execute the step: send a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence.
[0063] It can be understood that after the VIN code is successfully verified, a controller diagnostic instruction is sent to the vehicle end according to the preset functional diagnostic sequence, ensuring that the VIN code on the vehicle end is verified before a comprehensive and systematic diagnosis of the vehicle is performed in a predetermined sequence, and that the ECU controller has a confirmed VIN code.
[0064] In this implementation, by obtaining and verifying the VIN code, it is ensured that the diagnosis is only performed on legal vehicles, thereby avoiding invalid diagnosis or safety problems caused by the wrong vehicle, and sending controller diagnostic instructions to the vehicle end according to the preset functional diagnosis sequence, ensuring that each controller can perform functional verification or fault detection in the set order, thereby achieving faster and more accurate troubleshooting and maintenance in actual applications.
[0065] In a feasible implementation manner, the vehicle end includes a plurality of controllers, and before the step of sending the controller execution diagnosis instruction to the vehicle end based on the preset function diagnosis sequence, the step further includes:
[0066] Step S103, obtaining the vehicle model information of the vehicle end and the functional configuration of the plurality of controllers;
[0067] It should be noted that the vehicle model information may include the vehicle manufacturer, model, year, etc., which is used to determine the basic characteristics and configuration of the vehicle and determine the diagnostic plan suitable for the vehicle model. The functional configuration of the controller refers to the functions and characteristics of each controller, such as the MCU (Motor Control Unit) motor controller module, the VCU (Motor Control Unit) motor controller module, etc., which is used to ensure that the function of each controller is correctly identified for effective diagnosis.
[0068] It is understandable that the vehicle model information and the functional configuration of the controller are collected to understand the specific situation of the vehicle and the functions of each controller.
[0069] Step S104, determining the diagnosis priorities of the plurality of controllers according to the vehicle type information and the functional configurations of the plurality of controllers;
[0070] It is understandable that the priority of different controllers in diagnosis is determined based on the acquired vehicle model information and controller function configuration, where the priority determination rules may be based on factors such as the importance of the controller, the frequency of faults, and the impact on vehicle performance, thereby giving priority to diagnosing critical controllers or controllers that affect the overall diagnostic efficiency, ensuring that the most important controller problems are dealt with in a timely manner.
[0071] Step S105: generating a functional diagnosis sequence according to the diagnosis priority.
[0072] It can be understood that an ordered functional diagnosis sequence is generated according to the diagnostic priority of the controller, and the controller is arranged at an appropriate position in the diagnostic process according to the priority, ensuring that the diagnosis is performed according to the predetermined priority and sequence, thereby improving the diagnostic efficiency and accuracy.
[0073] In this implementation, firstly, by obtaining detailed vehicle model and controller function configuration information, accurate understanding of each vehicle model and controller is ensured to make the diagnosis plan more targeted; the diagnosis priority is determined based on the controller's function and fault history record to ensure that the most critical controllers or controllers with special needs are checked first and resource allocation is optimized; finally, a reasonable diagnosis sequence is generated according to the priority, which can be systematically diagnosed to avoid omissions and duplications, further improving the overall diagnostic efficiency and accuracy, thereby improving the systematicness and accuracy of the diagnostic process, making vehicle troubleshooting more efficient and adaptable.
[0074] In a feasible implementation manner, the step of determining the diagnostic priorities of the plurality of controllers according to the vehicle type information and the functional configurations of the plurality of controllers comprises:
[0075] Step S1041, acquiring learning waiting time of the plurality of controllers according to the vehicle type information and the functional configurations of the plurality of controllers;
[0076] It is understandable that individual controllers require a certain amount of time to go through the diagnostic learning process and complete the self-adjustment or adaptation process before diagnosis. Therefore, it is necessary to determine the learning waiting time of each controller of the vehicle before diagnosis to determine which controllers need to be checked and processed first.
[0077] Step S1042: Prioritize the controllers based on their learning waiting times to determine their diagnosis priorities.
[0078] It is understandable that the controllers are sorted according to the length of their learning waiting time. For example, controllers with long waiting times will be given higher priorities, ensuring that during the diagnosis process, those controllers with long learning waiting times are given priority. This can reduce the impact of the diagnostic learning of these controllers on the diagnosis of other controllers and improve the effectiveness and accuracy of the overall diagnosis.
[0079] In this implementation, the learning waiting time of each controller on the vehicle side is accurately obtained, and the controllers are prioritized according to these times to ensure that those controllers with longer learning waiting times are given priority during the diagnosis process, and that diagnosis is performed after the controllers have completed self-adjustment, thereby improving the accuracy and reliability of the diagnosis results. By dynamically adjusting the priority, it is possible to adapt to the actual working state of the controller, further optimize the diagnosis process, and ultimately improve the efficiency and effectiveness of vehicle controller diagnosis.
[0080] In a feasible implementation manner, the controller includes at least one or more of a controller to be learned and a controller to be diagnosed, the learning routine instruction includes at least one or more of a start learning routine instruction and a learning result query instruction, and the method further includes steps A1 to A4:
[0081] Step A1, sending a start learning routine instruction for the controller to be learned to the vehicle end, the vehicle end sending the start learning routine instruction to the controller to be learned, and the controller to be learned performing learning diagnosis according to the learning routine instruction;
[0082] It can be understood that a start learning routine instruction is sent to the controller on the vehicle side that requires diagnostic learning. After receiving the start learning routine instruction, the controller starts its learning process. During the learning process, the controller will adjust its internal parameters so that it can adapt to the operating status of the vehicle and ensure that the controller to be learned enters the learning mode, so that it can complete the necessary adjustments in the subsequent operations to improve the overall performance of the system.
[0083] Step A2, sending a diagnostic function instruction for the controller to be diagnosed to the vehicle end, the vehicle end sending the diagnostic function execution instruction to the controller to be diagnosed, the controller to be diagnosed performs the diagnostic function according to the diagnostic function execution instruction, obtains the diagnostic function execution result and returns it to the diagnostic end;
[0084] It can be understood that a diagnostic function execution instruction is sent to the controller that needs to be diagnosed on the vehicle side. After receiving the diagnostic function execution instruction, the diagnostic controller executes its diagnostic function, detects its working status and returns the result to ensure that the status of the controller to be diagnosed is checked to obtain detailed information on its working condition and potential problems.
[0085] Step A3, monitoring the learning status of the controller to be learned in the vehicle end;
[0086] It is understandable that the learning progress and status of the controller to be learned are monitored in real time to ensure that its learning process proceeds as expected, to determine whether the controller has completed the learning process, and to facilitate subsequent diagnostic operations.
[0087] Step A4, if the learning status of the controller to be learned is completed, a learning result query instruction for the controller to be learned is sent to the vehicle end, and the vehicle end queries the learning result of the controller to be learned according to the learning result query instruction and returns it to the diagnosis end.
[0088] It is understandable that when it is monitored that the learning process of the controller to be learned has been completed, the specific results of the learning are obtained by querying the learning result instruction, and the results of the controller in the learning process are obtained to evaluate its learning effect.
[0089] In this embodiment, efficient coordination processing is performed during the learning and diagnosis process of the controller to be learned and the controller to be diagnosed, ensuring that each controller can execute instructions efficiently, thereby improving the overall performance and reliability of the vehicle, optimizing the learning and diagnosis process of the controller, improving the diagnostic efficiency of the vehicle controller, and realizing intelligent management and fault prevention of the vehicle system.
[0090] This embodiment provides a controller diagnosis method, which diagnoses the controller on the vehicle side by sending a controller execution diagnosis instruction to the vehicle side through a functional diagnosis sequence, thereby realizing controller function diagnosis based on diagnosis sequence and instruction control, solving the problem of low efficiency of vehicle controller function diagnosis in the prior art, and improving the diagnostic efficiency of vehicle controller functions.
[0091] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the controller diagnosis method of the present application.
[0092] In this embodiment, the controller diagnosis method is applied to the vehicle side, and further includes steps S30 to S50:
[0093] Step S30, receiving a controller execution diagnosis instruction sent by the diagnosis terminal based on a preset function diagnosis sequence, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction;
[0094] It can be understood that the vehicle end receives the controller execution diagnostic instructions sent from the diagnostic end in a functional diagnostic sequence. The instructions may include commands for the controller to execute diagnostic functions or start a learning routine, ensuring that the vehicle end can correctly receive and understand the instructions from the diagnostic end, thereby performing corresponding controller operations.
[0095] Step S40, sending the controller execution diagnosis instruction to the corresponding controller, and the controller performs diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, wherein the controller diagnosis function result at least includes one or more of a diagnosis function execution result and a learning result;
[0096] It can be understood that the controller execution diagnostic instructions received from the diagnostic end are passed to the relevant controllers in the vehicle to enable them to perform corresponding diagnostic tasks, ensuring that the controllers can operate according to the diagnostic instructions, thereby generating effective diagnostic results.
[0097] Step S50, returning the controller diagnosis result to the diagnosis terminal.
[0098] It is understandable that the vehicle end sends the diagnostic results of the controller back to the diagnostic end for further analysis and processing, so that the diagnostic end can obtain the diagnostic results of the controller for subsequent evaluation or processing.
[0099] In this embodiment, the vehicle-side receiving diagnostic end executes diagnostic instructions sent by the diagnostic end in a functional diagnostic sequence to diagnose the controller on the vehicle-side, thereby realizing controller function diagnosis based on diagnostic sequence and instruction control, solving the problem of low efficiency of vehicle controller function diagnosis in the prior art, and improving the diagnostic efficiency of vehicle controller functions.
[0100] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the first and second embodiments mentioned above can be referred to the above introduction and will not be repeated later.
[0101] For example, taking the VCI (Vehicle Communication Interface) vehicle diagnostic instrument as an example, the VCI diagnostic instrument is a tool used for vehicle diagnosis and maintenance. Its main function is to serve as a bridge between the vehicle's electronic system and the diagnostic equipment, and is used to connect the vehicle's diagnostic port with a computer or other diagnostic tools. The VCI diagnostic instrument communicates with the vehicle's ECU controller by connecting to the vehicle's OBD (On-Board Diagnostics) interface to perform system inspection, fault diagnosis and data reading.
[0102] like Figure 3 As shown, Figure 3 A flowchart of the third embodiment of the controller diagnostic method of the present application is provided. In this embodiment, the controller diagnostic method is applied to a VCI vehicle diagnostic instrument and may include the following steps:
[0103] 1. Configure each ECU diagnostic function (write configuration, write VIN, etc.) according to the vehicle model and system.
[0104] 2. Configure the order in which each system executes functions. The ECU diagnostic function operation with time limit has the highest priority (i.e., it is diagnosed first).
[0105] 3. Scan the VIN and verify. After the verification is qualified, VCI will perform relevant diagnostic configuration functions on each configured ECU in sequence.
[0106] 4. VCI has a time limit (10s-60s) to complete the diagnosis of ECU controllers. VCI first only sends the instruction to enter the learning routine, and then queries and reads the learning result status after all ECUs are diagnosed.
[0107] 5. If the BCM controller (Body Control Module) needs to perform the learning diagnosis function of the sunroof and windows, the ECU needs to learn the waiting time.
[0108] 6. VCI executes ECU according to configuration. If the vehicle model has been configured with BCM, it needs to execute the learning diagnosis function of sunroof and windows:
[0109] 1) Take the BCM executing the window learning diagnosis function as an example, and the others are similar.
[0110] 2) VCI sends a window start learning routine command to the BCM controller, and the BCM controller receives and replies with a positive response.
[0111] 3) After the VCI receives the positive response feedback of the window start learning routine, it records and marks the BCM to execute the window learning function status (WindowStart=1) and the negative response status (WindowStart=0).
[0112] 7. VCI sequentially executes the diagnostic functions controlled by other ECUs, and the ECUs feed back their diagnostic execution and display results (pass or fail).
[0113] 8. After VCI executes the diagnosis-related functions of the system configured for this vehicle model, it intelligently determines the window learning status (WindowStart) value.
[0114] 9. If WindowStart = 1, the window learning result query needs to be executed, and the VCI sends the corresponding instructions to the BCM controller to read the window learning result and display the learning result (success or failure).
[0115] 10. If WindowStart = 0, there is no need to execute the window learning result query, and the result of the vehicle diagnosis is returned directly.
[0116] 11. Replace vehicle diagnosis and follow steps 3-10 in order.
[0117] Among them, during the VCI diagnosis process of the vehicle, if there is a time limit for the operation of the ECU controller, VCI only sends the ECU controller to enter the learning routine instruction, and does not wait for the query of the learning result status. After VCI obtains the positive response of the ECU to enter the learning routine instruction, it directly executes the next ECU controller for diagnosis. After all controllers are diagnosed, it reads the controller ECU learning result status and displays the corresponding controller ECU learning result status, which can effectively shorten the vehicle diagnosis time, improve the diagnosis efficiency and user experience, and thus improve production efficiency.
[0118] In this embodiment, the controller on the vehicle side is diagnosed by sending a controller execution diagnostic instruction to the vehicle side in a functional diagnostic sequence, thereby realizing controller function diagnosis based on diagnostic sequence and instruction control, solving the problem of low efficiency of vehicle controller function diagnosis in the prior art, and improving the diagnostic efficiency of vehicle controller functions.
[0119] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the controller diagnostic method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0120] This application also provides a controller diagnostic device, please refer to Figure 4 , the controller diagnostic device is applied to the diagnostic end, comprising:
[0121] An instruction sending module 10 is used to send a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence, and the vehicle end sends the controller execution diagnosis instruction to the corresponding controller, and the controller performs diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, and the controller execution diagnosis instruction at least includes one or more of a diagnostic function execution instruction and a learning routine instruction;
[0122] The result receiving module 20 is used to receive the controller diagnosis result returned by the vehicle end.
[0123] Optionally, the instruction sending module 10 is further used for:
[0124] Obtaining the VIN code of the vehicle and verifying the VIN code;
[0125] If the VIN code verification passes, the following steps are executed: sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence.
[0126] Optionally, the instruction sending module 10 is further used for:
[0127] Acquire the vehicle model information of the vehicle end and the functional configuration of the several controllers;
[0128] Determining diagnostic priorities of the plurality of controllers according to the vehicle type information and functional configurations of the plurality of controllers;
[0129] A functional diagnosis sequence is generated according to the diagnosis priority.
[0130] Optionally, the instruction sending module 10 is further used for:
[0131] According to the vehicle model information and the functional configurations of the plurality of controllers, acquiring learning waiting times of the plurality of controllers;
[0132] Priority sorting is performed based on the learning waiting time of the plurality of controllers to determine the diagnosis priorities of the plurality of controllers.
[0133] Optionally, the controller diagnostic device further includes an instruction control module 30, and the instruction control module 30 is used to:
[0134] Sending a start learning routine instruction for the controller to be learned to the vehicle end, the vehicle end sending the start learning routine instruction to the controller to be learned, and the controller to be learned performing learning diagnosis according to the learning routine instruction;
[0135] Sending a diagnostic function instruction for the controller to be diagnosed to the vehicle end, the vehicle end sending the diagnostic function execution instruction to the controller to be diagnosed, the controller to be diagnosed performing the diagnostic function according to the diagnostic function execution instruction, obtaining the diagnostic function execution result and returning it to the diagnostic end;
[0136] Monitoring the learning status of the controller to be learned in the vehicle end;
[0137] If the learning status of the controller to be learned is completed, a learning result query instruction for the controller to be learned is sent to the vehicle end, and the vehicle end queries the learning result of the controller to be learned according to the learning result query instruction and returns it to the diagnosis end.
[0138] Optionally, the controller diagnostic device is applied to a vehicle end, comprising:
[0139] An instruction receiving module 40 is used to receive a controller execution diagnosis instruction sent by the diagnosis end based on a preset function diagnosis sequence, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction;
[0140] A controller diagnosis module 50, configured to send the controller execution diagnosis instruction to a corresponding controller, and the controller performs diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, wherein the controller diagnosis function result includes at least one or more of a diagnosis function execution result and a learning result;
[0141] The result returning module 60 is used to return the controller diagnosis result to the diagnosis end.
[0142] The controller diagnostic device provided by the present application adopts the controller diagnostic method in the above embodiment, which can solve the technical problem of low efficiency of vehicle controller function diagnosis in the prior art. Compared with the prior art, the beneficial effects of the controller diagnostic device provided by the present application are the same as the beneficial effects of the controller diagnostic method provided by the above embodiment, and the other technical features in the controller diagnostic device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0143] The present application provides a vehicle-mounted device, which includes: at least one processor; and a memory 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 controller diagnostic method in the above-mentioned first embodiment.
[0144] Reference below Figure 5 , which shows a schematic diagram of the structure of a vehicle-mounted device suitable for implementing an embodiment of the present application. The vehicle-mounted 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: tablet computers), PMPs (Portable Media Players: portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The vehicle-mounted 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.
[0145] like Figure 5As shown, the vehicle-mounted device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, 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 vehicle-mounted device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, 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. The communication device 1009 can allow the vehicle-mounted device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle-mounted device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0146] 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.
[0147] The vehicle-mounted device provided by the present application adopts the controller diagnosis method in the above embodiment, which can solve the technical problem of low efficiency of vehicle controller function diagnosis in the prior art. Compared with the prior art, the beneficial effects of the vehicle-mounted device provided by the present application are the same as the beneficial effects of the controller diagnosis method provided by the above embodiment, and the other technical features in the vehicle-mounted device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0148] 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.
[0149] 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.
[0150] 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 controller diagnosis method in the above-mentioned embodiment.
[0151] 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.
[0152] The computer-readable storage medium may be included in the vehicle-mounted device; or may exist independently without being installed in the vehicle-mounted device.
[0153] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle-mounted device, the vehicle-mounted device: sends a controller execution diagnostic instruction to the vehicle end based on a preset functional diagnosis sequence, and the vehicle end sends the controller execution diagnostic instruction to the corresponding controller, and the controller performs diagnosis according to the controller execution diagnostic instruction to obtain a controller diagnosis result, and the controller execution diagnostic instruction at least includes one or more of a diagnostic function execution instruction and a learning routine instruction; receives the controller diagnosis result returned by the vehicle end, and the controller diagnosis function result at least includes one or more of a diagnostic function execution result and a learning result.
[0154] 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).
[0155] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a 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 box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart 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.
[0156] The modules involved in the embodiments of the present application may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0157] 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 controller diagnostic method, and can solve the technical problem of low efficiency of vehicle controller function diagnosis in the prior art. 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 controller diagnostic method provided by the above-mentioned embodiment, and will not be repeated here.
[0158] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the controller diagnosis method as described above are implemented.
[0159] The computer program product provided by the present application can solve the technical problem of low efficiency of vehicle controller function diagnosis in the prior art. 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 controller diagnosis method provided by the above embodiment, which will not be repeated here.
[0160] 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 controller diagnosis method, characterized in that: The method is applied to the diagnosis end and includes: sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence, the vehicle end sending the controller execution diagnosis instruction to the corresponding controller, the controller performing diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, the controller execution diagnosis instruction at least including one or more of a diagnosis function execution instruction and a learning routine instruction; Receive the controller diagnosis result returned by the vehicle end, and the controller diagnosis function result at least includes one or more of the diagnosis function execution result and the learning result.
2. The method according to claim 1, characterized in that: Before the step of sending the controller to the vehicle end to execute the diagnostic instruction based on the preset function diagnosis sequence, the method further includes: Obtaining the VIN code of the vehicle and verifying the VIN code; If the VIN code verification passes, the following steps are executed: sending a controller execution diagnosis instruction to the vehicle end based on a preset function diagnosis sequence.
3. The method according to claim 1, characterized in that: The vehicle end includes a plurality of controllers. Before the step of sending the controller execution diagnosis instruction to the vehicle end based on the preset function diagnosis sequence, the step further includes: Acquire the vehicle model information of the vehicle end and the functional configuration of the several controllers; Determining diagnostic priorities of the plurality of controllers according to the vehicle type information and functional configurations of the plurality of controllers; A functional diagnosis sequence is generated according to the diagnosis priority.
4. The method according to claim 3, characterized in that: The step of determining the diagnosis priorities of the plurality of controllers according to the vehicle type information and the functional configurations of the plurality of controllers comprises: According to the vehicle model information and the functional configurations of the plurality of controllers, acquiring learning waiting times of the plurality of controllers; Priority sorting is performed based on the learning waiting time of the plurality of controllers to determine the diagnosis priorities of the plurality of controllers.
5. The method according to any one of claims 1 to 4, characterized in that: The controller includes at least one or more of a controller to be learned and a controller to be diagnosed, the learning routine instruction includes at least one or more of a start learning routine instruction and a learning result query instruction, and the method further includes: Sending a start learning routine instruction for the controller to be learned to the vehicle end, the vehicle end sending the start learning routine instruction to the controller to be learned, and the controller to be learned performing learning diagnosis according to the learning routine instruction; Sending a diagnostic function instruction for the controller to be diagnosed to the vehicle end, the vehicle end sending the diagnostic function execution instruction to the controller to be diagnosed, the controller to be diagnosed performing the diagnostic function according to the diagnostic function execution instruction, obtaining the diagnostic function execution result and returning it to the diagnostic end; Monitoring the learning status of the controller to be learned in the vehicle end; If the learning status of the controller to be learned is completed, a learning result query instruction for the controller to be learned is sent to the vehicle end, and the vehicle end queries the learning result of the controller to be learned according to the learning result query instruction and returns it to the diagnosis end.
6. A controller diagnosis method, characterized in that: The method is applied to a vehicle side, comprising: A controller execution diagnosis instruction sent by a receiving diagnosis terminal based on a preset function diagnosis sequence, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction; The controller executes the diagnostic instruction and sends it to the corresponding controller, and the controller performs diagnosis according to the controller executes the diagnostic instruction to obtain the controller diagnostic result, wherein the controller diagnostic function result includes at least one or more of the diagnostic function execution result and the learning result; The controller diagnosis result is returned to the diagnosis terminal.
7. A controller diagnostic device, characterized in that: The device comprises: An instruction sending module, used for sending a controller execution diagnosis instruction to a vehicle end based on a preset function diagnosis sequence, wherein the vehicle end sends the controller execution diagnosis instruction to a corresponding controller, and the controller performs diagnosis according to the controller execution diagnosis instruction to obtain a controller diagnosis result, wherein the controller execution diagnosis instruction includes at least one or more of a diagnosis function execution instruction and a learning routine instruction; The result receiving module is used to receive the controller diagnosis result returned by the vehicle end, and the controller diagnosis function result at least includes one or more of the diagnosis function execution result and the learning result.
8. A vehicle-mounted 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 controller diagnosis method according to any one of claims 1 to 6.
9. 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 controller diagnosis method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the controller diagnosis method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Automobile production line offline detection method
CN105607623A
Vehicle diagnostic method and apparatus
CN106778171A
Automobile electric skylight self-learning method, modules and system
CN111580386A
Process optimization method, system and equipment for simultaneously maintaining multiple vehicles and storage medium
CN115562247A
Remote diagnosis method and device, electronic equipment and computer readable storage medium
CN116300804A
