Search

CN-122018358-A - Method and device for debugging vehicle system, electronic equipment and storage medium

CN122018358ACN 122018358 ACN122018358 ACN 122018358ACN-122018358-A

Abstract

The application relates to the technical field of debugging of vehicle systems, and discloses a method, a device, electronic equipment and a storage medium for debugging a vehicle system, wherein the method comprises the following steps: by acquiring the simulation architecture of the target vehicle system and executing a plurality of preset functional tests in the simulation environment, the diagnostic logic verification can be completed without depending on a real vehicle. Compared with the prior art, the application has the advantages that the development efficiency is obviously improved, the continuous, rapid and repeatable diagnosis test can be carried out in the simulation framework, the frequent field connection and waiting time are avoided, the occupation of real vehicles, special sites and manual resources is reduced, the development cost is obviously reduced, and the large-scale parallel project is possible.

Inventors

  • XIE YANCHUN
  • LI CHANGAN
  • LEI YUNDONG

Assignees

  • 南昌市星纬软件开发有限公司

Dates

Publication Date
20260512
Application Date
20251231

Claims (10)

  1. 1. A method of commissioning a vehicle system, the method comprising: acquiring a target simulation framework of a specified vehicle system; performing a plurality of preset function tests on the target simulation framework to obtain reference test results of the preset function tests; and carrying out code adjustment on the appointed vehicle system according to the reference test result.
  2. 2. The method for debugging a vehicle system according to claim 1, wherein the step of acquiring a target simulation architecture of a specified vehicle system comprises: collecting original communication data of a specified vehicle system; converting the original communication data into a preset format to obtain target communication data; and inputting the target communication data into a preset simulation platform to obtain a target simulation framework.
  3. 3. The method for debugging a vehicle system according to claim 2, wherein the step of converting the original communication data into a preset format to obtain the target communication data comprises: inputting the original communication data into a preset data preprocessing engine, and executing data cleaning and protocol analysis to obtain intermediate communication data; And inputting the intermediate communication data into a preset ODX generation platform to generate target communication data in an ODX format.
  4. 4. The method for debugging a vehicle system according to claim 1, wherein said step of performing code adjustment for said specified vehicle system based on a reference test result comprises: the preset function which is the standard test result and is not passed by the test is recorded as a target function; extracting an initial function code corresponding to the target function; adjusting the initial function code to obtain an adjusted target function code; And writing the target function code into the specified vehicle system.
  5. 5. The method for debugging a vehicle system according to claim 1, wherein after the step of performing code adjustment on the specified vehicle system according to the reference test result, further comprising: Performing a plurality of preset function tests in the appointed vehicle system to obtain optimized test results of the preset function tests; Comparing the reference test result with the optimized test result; analyzing the reference test result and the optimized test result with different comparison results to obtain an analysis result; and updating the target simulation framework based on the analysis result to obtain an updated simulation framework.
  6. 6. The method according to claim 5, wherein after the step of updating the target simulation architecture based on the analysis result to obtain an updated simulation architecture, further comprising: performing a plurality of preset function tests on the updated simulation framework to obtain accurate test results of each preset function test; and adjusting the appointed vehicle system according to the accurate test result.
  7. 7. The method for debugging a vehicle system according to claim 1, wherein after the step of performing code adjustment on the specified vehicle system according to the reference test result, further comprising: Performing a plurality of preset function tests in the specified vehicle system to obtain optimized test results of the preset function tests, and obtaining original test results of the preset function tests of the specified vehicle system before adjustment; comparing the optimized test result with the original test result; analyzing the optimized test result and the original test result with different comparison results to obtain an analysis result; and updating the target simulation framework based on the analysis result to obtain an updated simulation framework.
  8. 8. A commissioning device for a vehicle system, the device comprising: The acquisition module is used for acquiring a target simulation framework of the specified vehicle system; The test module is used for carrying out a plurality of preset function tests on the target simulation framework to obtain a reference test result of each preset function test; And the adjusting module is used for carrying out code adjustment on the appointed vehicle system according to the reference test result.
  9. 9. A computer-readable storage medium, characterized in that a computer program is stored, which, when being executed by a processor, causes the processor to perform the steps of the debugging method of a vehicle system according to any one of claims 1 to 7.
  10. 10. An electronic device, characterized in that the device comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method for debugging a vehicle system according to any one of claims 1 to 7.

Description

Method and device for debugging vehicle system, electronic equipment and storage medium Technical Field The present invention relates to the field of debugging technologies of vehicle systems, and in particular, to a method and apparatus for debugging a vehicle system, an electronic device, and a storage medium. Background Along with the continuous complicating of the electronic and electric architecture of the automobile, the development and debugging of the system become one of the most time-consuming and expensive links in the vehicle research and development process, in the prior art, the system debugging generally depends on a real-vehicle debugging mode, that is, engineers must connect diagnostic equipment, execute instructions and observe responses on real vehicles, and the mode has various limitations, namely, firstly, the development efficiency is low, because each debugging operation needs to connect the vehicle, wait for the response of the system and repeatedly trigger a fault scene, time fragmentation is caused, a continuous and efficient iteration process cannot be formed, and the research and development period is seriously influenced. Secondly, development resources occupy highly, and diagnosis and debugging must rely on vehicles, sites and field engineers, and a large number of real vehicles need to be occupied simultaneously to support parallel development of different systems and different vehicle types, so that equipment management is complex, cost is high, large-scale project propulsion is not facilitated, in the prior art, the diagnosis and debugging usually uses CANoe tools to directly connect the real vehicles, so that hardware needs to be reconfigured each time of testing, and time consumption is long. Disclosure of Invention In view of this, it is necessary to provide a method, an apparatus, an electronic device, and a storage medium for debugging a vehicle system, which solve the problem of debugging the existing vehicle system. A method of commissioning a vehicle system, the method comprising: acquiring a target simulation framework of a specified vehicle system; performing a plurality of preset function tests on the target simulation framework to obtain reference test results of the preset function tests; and carrying out code adjustment on the appointed vehicle system according to the reference test result. Further, the step of obtaining the target simulation architecture of the specified vehicle system includes: collecting original communication data of a specified vehicle system; converting the original communication data into a preset format to obtain target communication data; and inputting the target communication data into a preset simulation platform to obtain a target simulation framework. Further, the step of converting the original communication data into a preset format to obtain target communication data includes: inputting the original communication data into a preset data preprocessing engine, and executing data cleaning and protocol analysis to obtain intermediate communication data; And inputting the intermediate communication data into a preset ODX generation platform to generate target communication data in an ODX format. Further, the step of performing code adjustment on the specified vehicle system according to the benchmark test result includes: the preset function which is the standard test result and is not passed by the test is recorded as a target function; extracting an initial function code corresponding to the target function; adjusting the initial function code to obtain an adjusted target function code; And writing the target function code into the specified vehicle system. Further, after the step of performing code adjustment on the specified vehicle system according to the benchmark test result, the method further includes: Performing a plurality of preset function tests in the appointed vehicle system to obtain optimized test results of the preset function tests; Comparing the reference test result with the optimized test result; analyzing the reference test result and the optimized test result with different comparison results to obtain an analysis result; and updating the target simulation framework based on the analysis result to obtain an updated simulation framework. Further, after the step of updating the target simulation architecture based on the analysis result to obtain an updated simulation architecture, the method further includes: performing a plurality of preset function tests on the updated simulation framework to obtain accurate test results of each preset function test; and adjusting the appointed vehicle system according to the accurate test result. Further, after the step of performing code adjustment on the specified vehicle system according to the benchmark test result, the method further includes: Performing a plurality of preset function tests in the specified vehicle system to obtain optimized test results of the preset f