Method for building vehicle simulation environment, method and device for locating vehicle system problems

By building a vehicle simulation environment and using the compiler to monitor code execution, the problem of BUG location in the vehicle system is solved, fast and accurate BUG location and problem reproduction are achieved, and the dependence on actual vehicle testing is reduced.

CN112181820BActive Publication Date: 2024-08-27BEIJING CHJ AUTOMOTIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011016933.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-24
Publication Date
2024-08-27
Estimated Expiration
2040-09-24

AI Technical Summary

Technical Problem

Existing technology makes it difficult to quickly locate problems such as data type errors, data overflows, and insufficient memory allocation in vehicle systems. In particular, due to the long actual vehicle test cycle, high cost, and high risk, it is difficult to accurately locate BUGs in internal software modules.

Method used

By obtaining the real vehicle data and vehicle model configuration data, build a vehicle simulation environment, simulate the missing controller signals and data, use MATLAB or simulink software to build a simulation platform, compile and generate the simulation environment, and use the compiler to monitor the code execution and set Breakpoints to locate problems.

Benefits of technology

It realizes the true reproduction of vehicle system problems in the simulation environment, quickly locates software BUGs, improves the efficiency of problem detection and retesting, reduces the dependence on real vehicle data analysis, and can accurately locate a certain line of code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112181820B
    Figure CN112181820B
Patent Text Reader

Abstract

The present invention discloses a method for building a vehicle simulation environment, including: obtaining real vehicle data; obtaining vehicle model configuration data: building a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data. The method uses the real vehicle data to drive the simulation environment, so that the simulation environment is closer to the real situation, and the vehicle implementation problem can be reproduced in the simulation environment; in addition, the present invention also discloses a vehicle system problem locating method based on the vehicle simulation environment building method, including: using the above method to build a vehicle simulation environment, wherein the real vehicle data is the real vehicle data of the vehicle system with problems; running the vehicle simulation environment, and using the compiler to monitor the execution of the vehicle simulation environment code; when the problem is reproduced, the code executed by the compiler is the vehicle system problem code. The method realizes real-time online dynamic comparison between the real vehicle data results and the simulation results, and can accurately locate the problem to a certain line of code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle system development, and in particular to a method for building a vehicle simulation environment, and a method and device for locating vehicle system problems. Background Art

[0002] With the continuous development of vehicle performance, the safety and stability of vehicle systems are also increasingly concerned by people. Due to the long development cycle, difficulty, high cost and certain danger of real vehicle tests, vehicle system testing rarely uses this method. In addition, there are methods that use real vehicle data analysis, which mainly analyzes the data collected through the CAN network. After suspicious signals are found, the possible problems in the software are reversed. This analysis method is very difficult to locate the BUG problem of a certain module in the system software, especially for data type errors, data overflow, insufficient memory allocation and other problems.

[0003] Therefore, there is an urgent need for a simulation method that can truly restore the operating environment of the actual vehicle system and a method for quickly locating vehicle system bugs in the simulation environment. Summary of the invention

[0004] (I) Purpose of the invention

[0005] The purpose of the present invention is to provide a method for building a vehicle simulation environment, a method and device for locating vehicle system problems to solve the problem.

[0006] (II) Technical solution

[0007] To solve the above problems, the first aspect of the present invention provides a method for building a vehicle simulation environment, including: obtaining real vehicle data; obtaining vehicle model configuration data, wherein the vehicle model configuration data is used to instruct a processor to simulate the missing data in the real vehicle data: and building a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data.

[0008] Furthermore, constructing the vehicle simulation environment based on the real vehicle data and the vehicle model configuration data includes: building a vehicle simulation environment prototype based on the real vehicle data; simulating missing data of the vehicle simulation environment prototype based on the vehicle model configuration data; loading the vehicle simulation environment prototype with the missing data of the vehicle simulation environment prototype to form a vehicle simulation environment.

[0009] Further, the simulating the vehicle simulation environment prototype missing data based on the vehicle model configuration data includes:

[0010] Based on the hard-wired signal of the vehicle model controller and the existing controller signal in the real vehicle data, the missing controller signal is simulated.

[0011] Furthermore, the controller hard-wire signal includes: hard-wire power supply voltage, analog quantity and digital quantity acquisition signal.

[0012] Furthermore, the building of a prototype of a vehicle simulation environment based on the real vehicle data includes: inputting the real vehicle data as an input signal into a controller of a vehicle simulation platform to build a prototype of a vehicle simulation environment.

[0013] Furthermore, the vehicle simulation platform includes: a controller module, a vehicle model module, a drive interface module and a display module.

[0014] Furthermore, the files loaded by the controller module and the vehicle model module are dynamic link library files and program debugging database files.

[0015] Furthermore, the vehicle simulation platform is built based on MATLAB software or simulink software.

[0016] Furthermore, the constructing of the vehicle simulation environment based on the real vehicle data and the vehicle model configuration data specifically includes: compiling the real vehicle data and the vehicle model configuration data using a compiler to generate the vehicle simulation environment.

[0017] According to another aspect of the present invention, a vehicle simulation environment building device is provided, including: an acquisition module for acquiring real vehicle data; the acquisition module is also used to acquire vehicle model configuration data; a simulation environment construction module is used to build a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data.

[0018] Furthermore, the simulation environment construction module includes:

[0019] A simulation environment prototype building module, used to build a vehicle simulation environment prototype based on the real vehicle data;

[0020] A configuration data simulation module, used for simulating the missing data of the prototype of the vehicle simulation environment based on the vehicle model configuration data;

[0021] The loading module is used to load the vehicle simulation environment prototype with the missing data of the vehicle simulation environment prototype to form a vehicle simulation environment.

[0022] Furthermore, the configuration data simulation module is specifically used to simulate missing controller signals based on the hard-wired signals of the vehicle model controller and the existing controller signals in the real vehicle data.

[0023] Furthermore, the simulation environment prototype building module is specifically used to input the real vehicle data as an input signal into the controller of the vehicle simulation platform to build a prototype of the vehicle simulation environment.

[0024] Furthermore, the vehicle simulation platform includes: a controller module, a vehicle model module, a drive interface module and a display module.

[0025] Furthermore, the files loaded by the controller module and the vehicle model module are dynamic link library files and program debugging database files.

[0026] Furthermore, the vehicle simulation platform is built based on MATLAB software or simulink software.

[0027] Furthermore, the simulation environment construction module is specifically used to generate a vehicle simulation environment by compiling based on the real vehicle data and the vehicle model configuration data using a compiler.

[0028] According to another aspect of the present invention, a vehicle system problem locating method is provided, comprising: constructing a vehicle simulation environment using the method described in any one of the above technical solutions, wherein the real vehicle data is the real vehicle data of the vehicle system having the problem; running the vehicle simulation environment, and using a compiler to monitor the execution of the vehicle simulation environment code; when the problem recurs, the code executed by the compiler is the vehicle system problem code.

[0029] Furthermore, it also includes: setting a breakpoint for the vehicle system problem code.

[0030] Furthermore, the compiler is a VC compiler.

[0031] According to another aspect of the present invention, a vehicle system problem locating device is provided, comprising: a vehicle simulation environment building device as described in the above technical solution, which is used to build a vehicle simulation environment based on real vehicle data where a vehicle system problem occurs; a monitoring operation module, which is used to run the vehicle simulation environment and use a compiler to monitor the execution of the vehicle simulation environment code; when the problem recurs, the code executed by the compiler is the vehicle system problem code.

[0032] Furthermore, it also includes: a breakpoint setting module, which is used to set a breakpoint for the vehicle system problem code.

[0033] Furthermore, the compiler is a VC compiler.

[0034] According to another aspect of the present invention, there is provided a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any one of the methods described in the above technical solutions.

[0035] According to another aspect of the present invention, there is provided an electronic device, comprising a memory, a display, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods described in the above technical solutions when executing the program.

[0036] (III) Beneficial effects

[0037] The above technical solution of the present invention has the following beneficial technical effects:

[0038] The vehicle simulation environment construction method of the present invention utilizes the driving simulation environment of real vehicle data to make the simulation environment closer to the real situation and realize the reproduction of problems in the simulation environment;

[0039] The vehicle system problem locating method of the present invention realizes real-time online dynamic comparison between actual vehicle data results and simulation results; by attaching the simulation environment to the compiler, the running status of each line of internal code can be monitored in real time, including the value of the current state of the variable; the whole vehicle problem can be quickly reproduced and the software BUG position can be located; it does not rely on the record analysis of the actual vehicle data and can accurately locate the problem to a certain line of the code. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a flow chart of a method for building a vehicle simulation environment according to a first embodiment of the present invention;

[0041] Figure 2 is a flow chart of a method for building a vehicle simulation environment according to an optional embodiment of the present invention;

[0042] Figure 3 is a schematic block diagram of the structure of a device for building a vehicle simulation environment according to another aspect of an embodiment of the present invention;

[0043] Figure 4 is a schematic block diagram of the structure of a device for building a vehicle simulation environment according to an optional embodiment of the present invention;

[0044] Figure 5 is a flow chart of a vehicle system problem location method according to another aspect of an embodiment of the present invention;

[0045] Figure 6 It is a schematic block diagram of the structure of a vehicle system problem locating device according to another aspect of an implementation manner of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0047] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0049] like Figure 1 As shown, in a first aspect of an embodiment of the present invention, a method for building a vehicle simulation environment is provided, comprising:

[0050] S1: Obtain real vehicle data;

[0051] S2: Obtain vehicle model configuration data, which is used to instruct the processor to simulate the missing data in the actual vehicle data:

[0052] S3: Build a vehicle simulation environment based on real vehicle data and vehicle model configuration data.

[0053] The method for building the vehicle simulation environment in the above embodiment utilizes the driving simulation environment of real vehicle data. The driving interface data configuration cannot meet all the input signals of the controller under test. The corresponding vehicle model is configured so that the simulation environment can run normally and the simulation environment is closer to the real situation, thereby enabling the implementation problem to be reproduced in the simulation environment.

[0054] like Figure 2 As shown, in an optional embodiment of the present invention, constructing a vehicle simulation environment based on real vehicle data and vehicle model configuration data includes:

[0055] S31: Build a prototype of vehicle simulation environment based on real vehicle data;

[0056] S32: simulating missing data of a prototype of a vehicle simulation environment based on vehicle model configuration data;

[0057] S33: Loading the vehicle simulation environment prototype with the missing data of the vehicle simulation environment prototype to form a vehicle simulation environment.

[0058] The above-mentioned embodiment method utilizes the vehicle model configuration data to simulate the missing data of the prototype of the vehicle simulation environment, so that the data in the simulation environment is more complete, thereby making the simulation environment closer to the real vehicle environment, and can completely replace the real vehicle test.

[0059] In an optional embodiment of the present invention, simulating the missing data of the prototype of the vehicle simulation environment based on the vehicle model configuration data includes:

[0060] Based on the hard-wired signal of the vehicle model controller and the existing controller signal in the real vehicle data, the missing controller signal is simulated. For example, only the signal of PTCAN where the controller signal is located is collected, and other signals such as CHCAN need to be modeled, and other signals such as CHCAN are supplemented according to the actual collected real vehicle data.

[0061] In an optional embodiment of the present invention, building a prototype of a vehicle simulation environment based on real vehicle data includes: inputting the real vehicle data as an input signal into a controller of a vehicle simulation platform to build a prototype of the vehicle simulation environment.

[0062] The above-mentioned embodiment can make the test environment the same as the actual vehicle environment, and can make the vehicle system software BUG failure 100% reproducible.

[0063] In an optional embodiment of the present invention, the vehicle simulation platform includes: a controller module, a vehicle model module, a drive interface module and a display module.

[0064] In an optional embodiment of the present invention, the files loaded by the controller module and the vehicle model module are dynamic link library files and program debugging database files.

[0065] In an optional embodiment of the present invention, the vehicle simulation platform is built based on MATLAB software or simulink software.

[0066] The controller module and the vehicle model module of the vehicle simulation environment platform in the above embodiment load uniformly compiled dynamic link library files, thereby making the operation speed fast and convenient.

[0067] In an optional embodiment of the present invention, constructing a vehicle simulation environment based on real vehicle data and vehicle model configuration data specifically includes: compiling the real vehicle data and vehicle model configuration data using a compiler to generate a vehicle simulation environment.

[0068] In the above embodiment, when the compiled vehicle simulation environment is running, the compiler is used to monitor the code execution in real time to achieve real-time analysis of abnormal problems.

[0069] like Figure 3 As shown, in another aspect of an embodiment of the present invention, a device for building a vehicle simulation environment is provided, comprising:

[0070] Acquisition module, used to obtain real vehicle data;

[0071] The acquisition module is also used to obtain vehicle model configuration data, and the vehicle model configuration data is used to instruct the processor to simulate the missing data in the real vehicle data:

[0072] The simulation environment construction module is used to construct a vehicle simulation environment based on real vehicle data and vehicle model configuration data.

[0073] The above-mentioned embodiment device utilizes the driving simulation environment of real vehicle data. The driving interface data configuration cannot meet all the input signals of the controller under test, and configures the corresponding vehicle model so that the simulation environment can run normally and the simulation environment is closer to the real situation, thereby reproducing the implementation problem in the simulation environment.

[0074] like Figure 4 As shown, in an optional embodiment of the present invention, the simulation environment construction module includes:

[0075] A simulation environment prototype building module, used to build a prototype of a vehicle simulation environment based on real vehicle data;

[0076] Configuration data simulation module, used to simulate missing data of the prototype of vehicle simulation environment based on vehicle model configuration data;

[0077] The loading module is used to load the vehicle simulation environment prototype with the missing data of the vehicle simulation environment prototype to form the vehicle simulation environment.

[0078] The above-mentioned embodiment device uses the vehicle model configuration data to simulate the missing data of the prototype of the vehicle simulation environment, so that the data in the simulation environment is more complete, and thus the simulation environment is closer to the real vehicle environment, which can completely replace the real vehicle test.

[0079] In an optional embodiment of the present invention, the configuration data simulation module is specifically used to simulate the missing controller signal based on the hard-wired signal of the vehicle model controller and the existing controller signal in the real vehicle data.

[0080] In an optional embodiment of the present invention, the simulation environment prototype building module is specifically used to input the real vehicle data as an input signal into the controller of the vehicle simulation platform to build a prototype of the vehicle simulation environment.

[0081] In an optional embodiment of the present invention, the vehicle simulation platform includes: a controller module, a vehicle model module, a drive interface module and a display module. Among them, the controller module: loads the C code used by the controller, configures the controller input and output interfaces, batches the command compilation code package, etc.; the vehicle model module: simulates the hardware signals required by the tested controller and the data interface signals that are not collected; the drive interface configuration: automatically identifies all the interface signals required by the controller module, matches the real vehicle interface and the interface configured by the vehicle model; the display module: controls the code breakpoint setting, interface import and export, program running, etc.

[0082] In an optional embodiment of the present invention, the files loaded by the controller module and the vehicle model module are dynamic link library files and program debugging database files.

[0083] In an optional embodiment of the present invention, the vehicle simulation platform is built based on MATLAB software or simulink software.

[0084] The controller module and the vehicle model module of the vehicle simulation environment platform in the above embodiment load uniformly compiled dynamic link library files, thereby making the operation speed fast and convenient.

[0085] In an optional embodiment of the present invention, the simulation environment construction module is specifically used to generate a vehicle simulation environment by compiling based on the real vehicle data and the vehicle model configuration data using a compiler.

[0086] In the above embodiment, when the compiled vehicle simulation environment is running, the compiler is used to monitor the code execution in real time to achieve real-time analysis of abnormal problems.

[0087] like Figure 5 As shown, in another aspect of an embodiment of the present invention, a vehicle system problem location method is provided, comprising:

[0088] Using any of the methods in the above embodiments to construct a vehicle simulation environment, wherein the real vehicle data is the real vehicle data of the vehicle system having the problem;

[0089] Run the vehicle simulation environment and use the compiler to monitor the execution of the vehicle simulation environment code. When the problem recurs, the code executed by the compiler is the vehicle system problem code.

[0090] In an optional embodiment of the present invention, the method further includes: setting a breakpoint for the vehicle system problem code.

[0091] In an optional embodiment of the present invention, the compiler is a VC compiler.

[0092] The above-mentioned embodiment method relies on VC process management during the entire test and analysis process, and can perform breakpoint debugging, real-time monitoring of code execution, and real-time analysis of abnormal problems; in the constructed simulation environment, virtual vehicle data can be loaded to assist in locating software bugs, and software bugs can be reproduced using real vehicle data and accurate positioning can be achieved; the simulation environment can load virtual vehicle model data, which improves the problem reproduction rate when data is incomplete; the controller code can be optimized at any time, and the problem can be verified offline without waiting for real vehicle testing; the problem detection and retesting efficiency is high, which can greatly improve work efficiency.

[0093] like Figure 6 As shown, in another aspect of an embodiment of the present invention, a vehicle system problem locating device is provided, comprising: a vehicle simulation environment building device of the above technical solution, which is used to build a vehicle simulation environment based on real vehicle data where a vehicle system problem occurs; a monitoring operation module, which is used to run the vehicle simulation environment and use a compiler to monitor the execution of the vehicle simulation environment code; when the problem recurs, the code executed by the compiler is the vehicle system problem code.

[0094] In an optional embodiment of the present invention, it also includes: a breakpoint setting module, which is used to set a breakpoint for the vehicle system problem code.

[0095] In an optional embodiment of the present invention, the compiler is a VC compiler.

[0096] The above-mentioned embodiment device uses VC process management during the entire test and analysis process, can perform breakpoint debugging, monitor code execution in real time, and analyze abnormal problems in real time; in the constructed simulation environment, virtual vehicle data can be loaded to assist in locating software bugs, and software bugs can be reproduced using real vehicle data to achieve precise positioning; the simulation environment can load virtual vehicle model data, which improves the problem reproduction rate when data is incomplete; the controller code can be optimized at any time and the problem can be verified offline without waiting for real vehicle testing; the problem detection and retesting efficiency is high, which can greatly improve work efficiency.

[0097] In another aspect of the embodiments of the present invention, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods in the above embodiments are implemented.

[0098] The program stored in the storage medium in the above embodiment utilizes the driving simulation environment of real vehicle data. The driving interface data configuration cannot meet all the input signals of the controller under test. The corresponding vehicle model is configured so that the simulation environment can run normally and the simulation environment is closer to the real situation, thereby enabling the implementation problem to be reproduced in the simulation environment.

[0099] In another aspect of the embodiments of the present invention, an electronic device is provided, including a memory, a display, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the methods in the above embodiments are implemented.

[0100] The electronic device in the above embodiment utilizes the driving simulation environment of real vehicle data. The driving interface data configuration cannot meet all the input signals of the controller under test. The corresponding vehicle model is configured so that the simulation environment can run normally and the simulation environment is closer to the real situation, thereby enabling the implementation problem to be reproduced in the simulation environment.

[0101] The present invention aims to protect a method for building a vehicle simulation environment, comprising: obtaining real vehicle data; obtaining vehicle model configuration data, the vehicle model configuration data is used to instruct a processor to simulate data missing from the real vehicle data; and building a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data. The method uses the driving simulation environment of the real vehicle data to make the simulation environment closer to the real situation, and the vehicle implementation problems can be reproduced in the simulation environment;

[0102] In addition, the present invention is also intended to protect a vehicle system problem location method based on a vehicle simulation environment construction method, including: using any of the methods in the above embodiments to build a vehicle simulation environment, wherein the real vehicle data is the real vehicle data of the vehicle system with the problem; running the vehicle simulation environment, and using the compiler to monitor the execution of the vehicle simulation environment code; when the problem recurs, the code executed by the compiler is the vehicle system problem code. The vehicle system problem location method of the present invention realizes real-time online dynamic comparison between the real vehicle data results and the simulation results; attaching the simulation environment to the compiler can monitor the running status of each line of the internal code in real time, including the value of the current state of the variable; the whole vehicle problem can be quickly reproduced, and the software BUG position can be located; it does not rely on the record analysis of the real vehicle data, and can accurately locate the problem to a certain line of the code.

[0103] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

Claims

1. A method for building a vehicle simulation environment, characterized in that: include: Obtain real vehicle data; Obtain vehicle model configuration data, where the vehicle model configuration data is used to instruct the processor to simulate data missing from the real vehicle data: Building a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data; The constructing of the vehicle simulation environment based on the real vehicle data and the vehicle model configuration data comprises: Building a prototype of a vehicle simulation environment based on the real vehicle data; Simulating the missing data of the prototype of the vehicle simulation environment based on the vehicle model configuration data; Loading the vehicle simulation environment prototype with the vehicle simulation environment prototype missing data to form a vehicle simulation environment; The simulating the vehicle simulation environment prototype missing data based on the vehicle model configuration data comprises: Simulating missing controller signals based on the vehicle model controller hard-wired signals and existing controller signals in the real vehicle data; Wherein, the controller hard-line signal includes: hard-line power supply voltage, analog quantity and digital quantity acquisition signal.

2. The method according to claim 1, characterized in that The prototype of the vehicle simulation environment based on the real vehicle data includes: The real vehicle data is input as an input signal into the controller of the vehicle simulation platform to build a prototype of the vehicle simulation environment.

3. The method according to claim 2, characterized in that The vehicle simulation platform includes: a controller module, a vehicle model module, a drive interface module and a display module; The files loaded by the controller module and the vehicle model module are dynamic link library files and program debugging database files.

4. The method according to claim 3, characterized in that The vehicle simulation platform is built based on MATLAB software or simulink software.

5. The method according to any one of claims 1 to 4, characterized in that: The construction of the vehicle simulation environment based on the real vehicle data and the vehicle model configuration data is specifically as follows: A vehicle simulation environment is generated by compiling the real vehicle data and the vehicle model configuration data using a compiler.

6. A vehicle simulation environment construction device, characterized in that: include: Acquisition module, used to obtain real vehicle data; The acquisition module is further used to acquire vehicle model configuration data, and the vehicle model configuration data is used to instruct the processor to simulate the missing data in the real vehicle data: A simulation environment construction module, used to construct a vehicle simulation environment based on the real vehicle data and the vehicle model configuration data; The simulation environment construction module includes: A simulation environment prototype building module, used to build a prototype of a vehicle simulation environment based on real vehicle data; Configuration data simulation module, used to simulate missing data of the prototype of vehicle simulation environment based on vehicle model configuration data; A loading module, used for loading the vehicle simulation environment prototype with missing data of the vehicle simulation environment prototype to form a vehicle simulation environment; The configuration data simulation module is specifically used to simulate missing controller signals based on the hard-wired signals of the vehicle model controller and the existing controller signals in the real vehicle data; Wherein, the controller hard-line signal includes: hard-line power supply voltage, analog quantity and digital quantity acquisition signal.

7. A vehicle system problem location method, characterized in that: include: A vehicle simulation environment is constructed using the method described in any one of claims 1 to 5, wherein the real vehicle data is the real vehicle data of the vehicle system having the problem; Running the vehicle simulation environment and monitoring the execution of the vehicle simulation environment code using a compiler; When the problem reappears, the code executed by the compiler is the vehicle system problem code.

8. The method according to claim 7, characterized in that Also includes: Set a breakpoint for the vehicle system problem code.

9. The method according to claim 7, characterized in that: The compiler is a VC compiler.

10. A vehicle system problem location device, characterized in that: include: The device for constructing a vehicle simulation environment as claimed in claim 6 is used to construct a vehicle simulation environment based on real vehicle data in which vehicle system problems occur; A monitoring and running module, used for running the vehicle simulation environment and monitoring the execution of the vehicle simulation environment code by using a compiler; When the problem reappears, the code executed by the compiler is the vehicle system problem code.

11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described in any one of claims 1 to 5 or claims 7 to 9.

12. An electronic device, characterized in that: The method comprises a memory, a display, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 5 or claims 7 to 9 when executing the program.