Automatic working condition simulation process analysis method and device for interaction of front end and rear end of vehicle
Through the automatic working condition simulation process analysis method of front and rear end interaction of vehicle, the problem of long-span automatic working condition generation and simulation in the prior art is solved, and the comprehensive analysis of vehicle energy consumption characteristics and data accuracy are achieved, and the vehicle performance and safety are improved.
Patent Information
- Application Number
- CN202510432041.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-06-10
AI Technical Summary
The existing technology cannot realize long-span automatic operating conditions generation and simulation, resulting in isolation of the result data, unable to fully reflect the vehicle's energy consumption characteristics, and cannot support scenario-based and personalized big data analysis.
Through the interaction between front and back ends of the vehicle, the front-end control automatic working condition simulation parameter information is used to obtain the simulation parameter information of the front-end and back-end, perform automatic working condition simulation, and extract the actual road energy consumption simulation value to form a back-end simulation matrix to generate the front-end simulation results.
It significantly reduces the time of manual setup and start simulation, enhances data accuracy, and uses the simulation results of periodic working conditions and the back-end simulation matrix to comprehensively analyze the performance of the vehicle under different working conditions, improves the vehicle performance and safety, and achieves seamless docking between the front and rear ends.
Smart Images

Figure CN120124311A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle modeling and simulation, and particularly relates to a method and device for analyzing an automatic working condition simulation process of vehicle front-back end interaction. Background Art
[0002] Virtual simulation is an important form and carrier of the digital transformation of vehicles. With the update and iteration of technologies, the vehicle energy consumption simulation under standard working conditions has so far developed to a very mature and stable stage and has become a very important part in the traditional vehicle development process. Moreover, the rapid development of new energy vehicles has put forward higher requirements for virtual simulation technology, and virtual simulation based on the actual vehicle operation scenario has become a new trend in the digital transformation of vehicles.
[0003] In related technologies, core functions such as simulation and code generation can be used as independent underlying modules and separated from the front-end human-computer interaction interface, thereby reducing the coupling between the front and back ends, realizing cloud simulation of the same model based on the network environment, and improving the applicability and flexibility of the simulation system; or key information can be obtained from the online map API (Application Programming Interface), and then the abscissa of the vehicle simulation working condition curve, the vehicle traffic signal stop time, and the required vehicle speed on the entire planned path can be determined, and then the vehicle simulation working condition curve can be obtained by plotting.
[0004] However, in related technologies, only the generation of the route for single simulation can be performed, and manual configuration is required. The generation and simulation of automatic working conditions with a long time span cannot be realized, the result data is isolated and cannot fully reflect the vehicle energy consumption characteristics, and it cannot support scenario-based and personalized big data analysis, so improvement is urgently needed. Summary of the Invention
[0005] The present application provides a method and device for analyzing an automatic working condition simulation process of vehicle front-back end interaction to solve the problems in related technologies that the generation and simulation of automatic working conditions with a long time span cannot be realized, the result data is isolated and cannot fully reflect the vehicle energy consumption characteristics, and it cannot support scenario-based and personalized big data analysis.
[0006] The first aspect of the present application provides a method for analyzing the automatic working condition simulation process of vehicle front - rear end interaction, including the following steps: determining the parameter information of the front - end control automatic working condition simulation during the front - rear end interaction of the vehicle; based on the parameter information, after controlling the front - end to start the automatic working condition for simulation, obtaining the front - end simulation parameter information during the automatic working condition simulation process of the front - end, and obtaining a front - end simulation parameter file that meets the conditions of the preset file format based on the front - end simulation parameter information; based on the front - end simulation parameter file, determining the rear - end simulation parameter information during the automatic working condition simulation process of the rear - end; based on the rear - end simulation parameter information, after using the rear - end to start the simulation of the automatic working condition, obtaining the rear - end simulation result that meets the preset simulation time interval after the end of the automatic working condition simulation process of the rear - end; extracting the corresponding actual road energy consumption simulation value from the rear - end simulation result, and obtaining a rear - end simulation matrix formed by the simulation result of the periodic working condition and the rear - end simulation result of the periodic working condition based on the actual road energy consumption simulation value; obtaining the front - end simulation result after the end of the automatic working condition simulation process of the front - end according to the rear - end simulation matrix.
[0007] Through the above technical solution, according to the parameter information of the front - end control automatic working condition simulation during the front - rear end interaction of the vehicle, the front - end simulation parameter information during the automatic working condition simulation process of the front - end can be obtained, and then the rear - end simulation parameter information during the automatic working condition simulation process of the rear - end can be determined, so as to obtain the corresponding rear - end simulation result, extract the corresponding actual road energy consumption simulation value from the rear - end simulation result, form a rear - end simulation matrix including the simulation result of the periodic working condition and the rear - end simulation result of the periodic working condition, and generate the corresponding front - end simulation result. By the parameter information of the front - end control automatic working condition simulation, the time required for manual setting and starting the simulation can be significantly reduced, and the data accuracy can be enhanced. Through the simulation result of the periodic working condition and the rear - end simulation matrix, the performance of the vehicle under different working conditions can be comprehensively analyzed, the performance of the vehicle can be improved, and the safety of the vehicle can be enhanced. In addition, the collaborative effect during the simulation process of the front - end and the rear - end realizes the seamless docking of the front - end and the rear - end.
[0008] Optionally, in an embodiment of the present application, the step of obtaining the rear - end simulation result that meets the preset simulation time interval after the end of the automatic working condition simulation process of the rear - end by using the rear - end to start the simulation of the automatic working condition based on the rear - end simulation parameter information includes: judging whether the simulation end time in the rear - end simulation parameter information is earlier than the simulation start time in the rear - end simulation parameter information; if the simulation end time is earlier than the simulation start time, sending a configuration error prompt to the front - end; if the simulation end time is not earlier than the simulation start time, determining the current running time in the rear - end simulation parameter information.
[0009] Through the above technical solution, when the simulation end time is earlier than the simulation start time, a configuration error prompt can be sent to the front end; when the simulation end time is not earlier than the simulation start time, the current running time of the back end is determined. By verifying the rationality of the simulation end time and the simulation start time, the accuracy and effectiveness of the simulation data can be ensured, unnecessary simulation runs can be avoided, computing resources and time can be saved, and complex simulation scenarios can be better supported.
[0010] Optionally, in an embodiment of the present application, after starting the simulation of the automatic working condition by using the back end based on the back-end simulation parameter information, obtaining the back-end simulation result that meets the preset simulation time interval after the end of the simulation process of the automatic working condition by the back end further includes: determining whether the current running time is earlier than the simulation start time; if the current running time is earlier than the simulation start time, controlling the back end to enter a waiting state, and re-detecting the current running time based on the preset simulation time interval until the current running time is not earlier than the simulation start time; if the current running time is not earlier than the simulation start time, controlling the back end to enter a working condition execution state based on the current running time, the simulation start time, and the simulation end time, so as to start the simulation of the automatic working condition by using the back end based on the execution state until the current running time is not earlier than the simulation end time, so as to obtain the back-end simulation result.
[0011] Through the above technical solution, when the current running time is earlier than the simulation start time, the back end can be controlled to enter a waiting state and the current running time can be re-detected until it is not earlier than the simulation start time; when the current running time is not earlier than the simulation start time, the back end can be controlled to enter a working condition execution state to start the simulation of the automatic working condition, and then the back-end simulation result can be obtained. By verifying the relationship between the current running time and the simulation start time, it is avoided to start recording data or performing related operations before the simulation starts, ensuring the accuracy of the simulation timing, enabling the user to more clearly understand the progress and status of the simulation, and helping to improve the user's trust and satisfaction with the simulation process.
[0012] Optionally, in an embodiment of the present application, the obtaining of the backend simulation results that meet the preset simulation time interval after the end of the automatic working condition simulation process includes: based on the route start point, route end point, route recommendation method, and online map in the backend simulation parameter information, using the backend to start the working condition simulation of the automatic working condition simulation process, and after the end of the working condition simulation, obtaining the working condition simulation results of the working condition simulation; based on the working condition simulation results and the backend simulation parameter information, to obtain at least one of the model file of the road energy consumption simulation model, the model file location corresponding to the model file, the parameter file, and the parameter file location corresponding to the parameter file during the automatic working condition simulation process of the backend; determining whether the parameter file can run independently; if the parameter file can run independently, using the parameter file to initialize the road energy consumption simulation model to obtain an initialized road energy consumption simulation model; if the parameter file cannot run independently, sending a parameter file operation error prompt to the front end based on the parameter file and the parameter file location, and re-searching for the parameter file until a parameter file that can run independently is obtained.
[0013] Through the above technical solution, the automatic working condition simulation process can be started based on the route start point, route end point, route recommendation method, and online map in the backend simulation parameter information, and the simulation results can be obtained after the simulation ends. Furthermore, based on these results and the simulation parameter information, the model file of the road energy consumption simulation model and the relevant parameter files can be obtained, and corresponding processing can be performed according to the runnability of the parameter file. A working condition simulation environment closer to the real road conditions can be simulated, which helps to improve the accuracy and precision of the simulation results, provides more reliable data support for the subsequent initialization of the road energy consumption simulation model, reduces manual operations, lowers the error rate, and improves the intelligent level of the simulation process.
[0014] Optionally, in an embodiment of the present application, the obtaining of the backend simulation results that meet the preset simulation time interval after the end of the automatic working condition simulation process further includes: based on the model file, the model file location, the initialized road energy consumption simulation model, and the model simulation step length in the backend simulation parameter information, using the backend to start the model simulation of the road energy consumption simulation model of the automatic working condition simulation process, and after the end of the model simulation, obtaining the model simulation results of the model simulation; clearing the working condition simulation results and the model simulation results, and re-initializing the road energy consumption simulation model until the backend simulation results of the preset simulation time interval are obtained.
[0015] Through the above technical solution, based on the model file, the model file location, the initialized road energy consumption simulation model, and the model simulation step size in the backend simulation parameter information, the road energy consumption simulation model with the automatic working condition simulation process enabled by the backend can be utilized, and after the model simulation ends, the model simulation result can be obtained. Subsequently, the result is cleared and the model is re-initialized until the backend simulation result that meets a certain simulation time interval is obtained. By continuously repeating the simulation process and obtaining the results, the performance of the road energy consumption simulation model under different conditions can be evaluated more accurately, which helps to discover potential problems in the model and make corresponding adjustments and optimizations, thereby improving the accuracy and reliability of the simulation. It allows the simulation process to be continuously repeated within a certain simulation time interval, thus supporting the requirement of long-term simulation.
[0016] An automatic working condition simulation process analysis device for vehicle front-end and rear-end interaction provided by the second aspect embodiment of the present application includes: a first determination module for determining the parameter information of the front-end control automatic working condition simulation in the vehicle front-end and rear-end interaction; a first acquisition module for, based on the parameter information, controlling the front-end to start the automatic working condition for simulation and then acquiring the front-end simulation parameter information during the automatic working condition simulation process of the front-end, and obtaining a front-end simulation parameter file that meets the preset file format condition based on the front-end simulation parameter information; a second determination module for determining the rear-end simulation parameter information of the rear-end during the automatic working condition simulation process based on the front-end simulation parameter file; a second acquisition module for, based on the rear-end simulation parameter information, using the rear-end to start the simulation of the automatic working condition and then acquiring the rear-end simulation result that meets the preset simulation time interval after the end of the automatic working condition simulation process of the rear-end; an extraction module for extracting the corresponding actual road energy consumption simulation value in the rear-end simulation result and obtaining a rear-end simulation matrix formed by the simulation result of the periodic working condition and the rear-end simulation result of the periodic working condition based on the actual road energy consumption simulation value; a generation module for obtaining the front-end simulation result after the end of the automatic working condition simulation process of the front-end according to the rear-end simulation matrix.
[0017] Through the above technical solution, it is possible to obtain the front-end simulation parameter information during the automatic condition simulation of the front-end according to the parameter information of the front-end control of the automatic condition simulation in the front-to-back interaction of the vehicle, and then determine the back-end simulation parameter information during the automatic condition simulation of the back-end, so as to obtain the corresponding back-end simulation result, and extract the corresponding actual road energy consumption simulation value from the back-end simulation result to form a back-end simulation matrix including the periodic condition simulation result and the periodic condition back-end simulation result, and generate the corresponding front-end simulation result. Through the parameter information of the front-end control of the automatic condition simulation, the time required for manual setting and starting the simulation can be significantly reduced, the data accuracy can be enhanced, and through the simulation results of the periodic conditions and the back-end simulation matrix, the performance of the vehicle under different conditions can be comprehensively analyzed, the performance of the vehicle can be improved, and the safety of the vehicle can be enhanced. In addition, the collaborative effect of the front-end and the back-end during the simulation realizes the seamless docking of the front-end and the back-end.
[0018] Optionally, in an embodiment of the present application, the second acquisition module includes: a first determination unit, configured to determine whether the simulation end time in the back-end simulation parameter information is earlier than the simulation start time in the back-end simulation parameter information; a first sending unit, configured to send a configuration error prompt to the front-end when the simulation end time is earlier than the simulation start time; a first generation unit, configured to determine the current running time in the back-end simulation parameter information when the simulation end time is not earlier than the simulation start time.
[0019] Through the above technical solution, a configuration error prompt can be sent to the front-end when the simulation end time is earlier than the simulation start time; when the simulation end time is not earlier than the simulation start time, the current running time of the back-end can be determined. By verifying the rationality of the simulation end time and the simulation start time, the accuracy and effectiveness of the simulation data can be ensured, unnecessary simulation runs can be avoided, computing resources and time can be saved, and more complex simulation scenarios can be supported.
[0020] Optionally, in an embodiment of the present application, the second acquisition module further includes: a second determination unit, configured to determine whether the current running time is earlier than the simulation start time; a first control unit, configured to control the back-end to enter a waiting state when the current running time is earlier than the simulation start time, and re-detect the current running time based on a preset simulation time interval until the current running time is not earlier than the simulation start time; a second control unit, configured to control the back-end to enter a condition execution state based on the current running time, the simulation start time, and the simulation end time when the current running time is not earlier than the simulation start time, so as to start the simulation of the automatic condition by using the back-end based on the execution state until the current running time is not earlier than the simulation end time, so as to obtain the back-end simulation result.
[0021] Through the above technical solution, when the current running time is earlier than the simulation start time, the backend can be controlled to enter the waiting state, and the current running time can be re-detected until it is not earlier than the simulation start time; when the current running time is not earlier than the simulation start time, the backend can be controlled to enter the working condition execution state, and the simulation of the automatic working condition can be started, so as to obtain the backend simulation result. By verifying the relationship between the current running time and the simulation start time, it is avoided to record data or perform related operations before the simulation starts, ensuring the accuracy of the simulation timing, enabling the user to more clearly understand the progress and status of the simulation, and helping to improve the user's trust and satisfaction with the simulation process.
[0022] Optionally, in an embodiment of the present application, the second acquisition module includes: a first acquisition unit, configured to use the backend to start the working condition simulation of the automatic working condition simulation process based on the route start point, route end point, route recommendation method, and online map in the backend simulation parameter information, and after the working condition simulation ends, obtain the working condition simulation result of the working condition simulation; a second acquisition unit, configured to obtain at least one of the model file of the road energy consumption simulation model, the model file location corresponding to the model file, the parameter file, and the parameter file location corresponding to the parameter file in the automatic working condition simulation process of the backend based on the working condition simulation result and the backend simulation parameter information; a third judgment unit, configured to judge whether the parameter file can run independently; a second generation unit, configured to initialize the road energy consumption simulation model with the parameter file when the parameter file can run independently, to obtain the initialized road energy consumption simulation model; a second sending unit, configured to send a parameter file running error prompt to the front end based on the parameter file and the parameter file location and re-search for the parameter file until a parameter file that can run independently is obtained when the parameter file cannot run independently.
[0023] Through the above technical solution, the automatic working condition simulation process can be started based on the route start point, route end point, route recommendation method, and online map in the backend simulation parameter information, and the simulation result can be obtained after the simulation ends. Furthermore, based on these results and the simulation parameter information, the model file of the road energy consumption simulation model and related parameter files can be obtained, and corresponding processing can be performed according to the runnability of the parameter file, which can simulate a working condition simulation environment closer to the real road conditions, helping to improve the accuracy and precision of the simulation result, providing more reliable data support for the subsequent initialization of the road energy consumption simulation model, reducing manual operations, lowering the error rate, and improving the intelligent level of the simulation process.
[0024] Optionally, in an embodiment of the present application, the second acquisition module further includes: a third acquisition unit, configured to perform model simulation of the road energy consumption simulation model that starts the automatic working condition simulation process by the backend based on the model file, the model file location, the initialized road energy consumption simulation model, and the model simulation step length in the backend simulation parameter information, and after the model simulation ends, obtain the model simulation result of the model simulation; a third generation unit, configured to clear the working condition simulation result and the model simulation result, and re-initialize the road energy consumption simulation model until the backend simulation result of the preset simulation time interval is obtained.
[0025] Through the above technical solution, based on the model file, the model file location, the initialized road energy consumption simulation model, and the model simulation step length in the backend simulation parameter information, the road energy consumption simulation model that starts the automatic working condition simulation process by the backend can be used, and the model simulation result can be obtained after the model simulation ends. Subsequently, the result is cleared and the model is re-initialized until the backend simulation result that meets a certain simulation time interval is obtained. By continuously repeating the simulation process and obtaining the result, the performance of the road energy consumption simulation model under different conditions can be evaluated more accurately, which helps to discover potential problems in the model and make corresponding adjustments and optimizations, thereby improving the accuracy and reliability of the simulation. The simulation process can be continuously repeated within a certain simulation time interval, thus supporting the requirement of long-term simulation.
[0026] An embodiment of the third aspect of the present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the method for analyzing the automatic working condition simulation process of the vehicle front-end and back-end interaction as described in the above embodiment.
[0027] An embodiment of the fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, it implements the method for analyzing the automatic working condition simulation process of the vehicle front-end and back-end interaction as described above.
[0028] An embodiment of the fifth aspect of the present application provides a computer program product, including a computer program, and when the program is executed, it implements the method for analyzing the automatic working condition simulation process of the vehicle front-end and back-end interaction as described above.
[0029] Embodiments of the present application can obtain the front - end simulation parameter information during the automatic working condition simulation of the front - end based on the parameter information of the front - end control automatic working condition simulation in the front - end and rear - end interaction of the vehicle, and then determine the rear - end simulation parameter information during the automatic working condition simulation of the rear - end, so as to obtain the corresponding rear - end simulation result, extract the corresponding actual road energy consumption simulation value from the rear - end simulation result, form a rear - end simulation matrix including the periodic working condition simulation result and the periodic working condition rear - end simulation result, and generate the corresponding front - end simulation result. Through the parameter information of the front - end control automatic working condition simulation, the time required for manual setting and starting the simulation can be significantly reduced, and the data accuracy can be enhanced. Through the simulation results of the periodic working conditions and the rear - end simulation matrix, the performance of the vehicle under different working conditions can be comprehensively analyzed, the performance of the vehicle can be improved, and the safety of the vehicle can be enhanced. In addition, the collaborative effect of the front - end and rear - end during the simulation realizes the seamless docking of the front - end and rear - end. Thus, the problems in the related art, such as the inability to realize the generation and simulation of automatic working conditions with a long time span, the isolated result data that cannot fully reflect the vehicle energy consumption characteristics, and the inability to support scenario - based and personalized big data analysis, are solved.
[0030] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be understood through the practice of the present application. Brief Description of the Drawings
[0031] The above - mentioned and / or additional aspects and advantages of the present application will become apparent and be easily understood from the following description of the embodiments in conjunction with the drawings, where:
[0032] Figure 1 is a flowchart of a method for analyzing the automatic working condition simulation process of vehicle front - end and rear - end interaction according to an embodiment of the present application;
[0033] Figure 2(a) is a complete flowchart of the working principle of a method for analyzing the automatic working condition simulation process of vehicle front - end and rear - end interaction according to an embodiment of the present application;
[0034] Figure 2(b) is a flowchart of a part of the working principle of a method for analyzing the automatic working condition simulation process of vehicle front - end and rear - end interaction according to an embodiment of the present application;
[0035] Figure 2(c) is a flowchart of another part of the working principle of a method for analyzing the automatic working condition simulation process of vehicle front - end and rear - end interaction according to an embodiment of the present application;
[0036] Figure 3 is a block diagram of a device for analyzing the automatic working condition simulation process of vehicle front - end and rear - end interaction according to an embodiment of the present application;
[0037] Figure 4 is a structural diagram of a vehicle according to an embodiment of the present application.
[0038] Reference numerals:
[0039] Among them, 10 is an automatic working condition simulation process analysis device for vehicle front - rear end interaction; 100 is a first determination module, 200 is a first acquisition module, 300 is a second determination module, 400 is a second acquisition module, 500 is an extraction module, 600 is a generation module; 401 is a memory, 402 is a processor, 403 is a communication interface. Detailed implementation manners
[0040] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, and should not be construed as limiting the present application.
[0041] The method and device for analyzing the automatic working condition simulation process of vehicle front - rear end interaction according to the embodiments of the present application will be described below with reference to the accompanying drawings. Aiming at the problems mentioned in the above - mentioned background technology that it is impossible to realize the generation and simulation of automatic working conditions with a long time span, the result data is isolated and cannot fully reflect the vehicle energy consumption characteristics, and cannot support scenario - based and personalized big data analysis, the present application provides a method for analyzing the automatic working condition simulation process of vehicle front - rear end interaction. In this method, according to the parameter information of the front - end control automatic working condition simulation in the front - rear end interaction of the vehicle, the front - end simulation parameter information in the automatic working condition simulation process of the front - end can be obtained, and then the rear - end simulation parameter information in the automatic working condition simulation process of the rear - end can be determined, so as to obtain the corresponding rear - end simulation result, and extract the corresponding actual road energy consumption simulation value from the rear - end simulation result to form a rear - end simulation matrix including periodic working condition simulation results and periodic working condition rear - end simulation results, and generate the corresponding front - end simulation result. Through the parameter information of the front - end control automatic working condition simulation, the time required for manual setting and starting the simulation can be significantly reduced, and the data accuracy can be enhanced. Through the simulation results of periodic working conditions and the rear - end simulation matrix, the performance of the vehicle under different working conditions can be comprehensively analyzed, the performance of the vehicle can be improved, and the safety of the vehicle can be enhanced. In addition, the synergistic effect of the front - end and the rear - end in the simulation process realizes the seamless docking of the front - end and the rear - end. Thus, the problems in the related technology that it is impossible to realize the generation and simulation of automatic working conditions with a long time span, the result data is isolated and cannot fully reflect the vehicle energy consumption characteristics, and cannot support scenario - based and personalized big data analysis are solved.
[0042] Specifically, Figure 1 FIG. is a flowchart of a method for analyzing the automatic working condition simulation process of vehicle front - rear end interaction according to an embodiment of the present application.
[0043] As Figure 1As shown in the figure, the method for analyzing the automatic working condition simulation process of the vehicle's front and rear end interaction includes the following steps:
[0044] In step S101, determine the parameter information of the front-end control automatic working condition simulation in the vehicle's front and rear end interaction.
[0045] It can be understood that in the embodiments of the present application, the front end can be understood as the graphical interface presented to the user by the simulation software or tool, which can be specifically set by those skilled in the art according to the actual situation, and the present application does not make specific limitations; automatic working condition simulation can be understood as that after the user configures according to the parameters of the front end, the simulation software or tool reads the relevant parameters through the program to perform the automatic control of working condition generation and simulation, without the user participating in subsequent operations; the parameter information can not only include the relevant parameters for controlling the automatic working condition generation and simulation, but also include the display mode of the front end. Among them, the relevant parameters can include, but are not limited to, the starting point of the route, the ending point of the route, the route recommendation method and the parameters related to working condition generation, and the simulation start time, simulation end time, simulation time interval, simulation step size, model file location, parameter file location, result saving location and the parameters related to simulation, etc., and the present application does not make specific limitations; the display mode can be understood as presenting in a way that is convenient for the user to configure according to the specific configuration items at the front end. For example, the starting point of the route, the ending point of the route, the simulation time interval, and the simulation step size are presented in the form of text input boxes, and the recommendation method is presented in the form of a drop-down box, etc., and the present application does not make specific limitations.
[0046] Further, in an embodiment of the present application, the route starting point may refer to the starting position of the route used for condition generation; the route end point may refer to the end point position used for condition generation; the route recommendation method may refer to the route planning algorithm used when planning the route from the starting point to the end point, which may include but is not limited to distance priority, speed priority, congestion avoidance, etc., and the present application does not impose specific restrictions; the simulation start time may refer to the start time of automatic model simulation; the simulation end time may refer to the end time of automatic model simulation; the simulation time interval refers to the length of time between the end of the previous simulation and the start of the next simulation during periodic automatic simulation; the simulation step size may refer to the length of time used as a unit for discretized simulation calculations in each simulation during periodic model simulation; the model file location may refer to the location of the simulation model built by the user to prepare for the actual road condition energy consumption simulation task File save location, the model file can be the output file of the corresponding model building environment, such as the .slx file in the Simulink modeling environment, etc., and this application does not make specific restrictions. It can be understood that the model file can be different in format and calculation method according to the building environment, and there is no requirement for the format, but it should at least output the actual road energy consumption simulation value; the parameter file location can refer to the model parameter file save location used with the model file, and the parameter file can be the parameter output file of the corresponding model building environment, such as the .m file in the Simulink modeling environment, etc., and this application does not make specific restrictions. It can be understood that the parameter file can be different in format and operation method according to the building environment, and it is required to run independently in the building environment and contain all the variables required by the model; the result save location can refer to the save location when the result is automatically saved during the periodic automatic simulation process.
[0047] In some embodiments, during the front-end and rear-end interactions, the vehicle of the embodiment of the present application can first determine the parameter information of the control automatic working condition simulation that the front end needs to configure by the user, and select a suitable display method to facilitate user configuration.
[0048] For example, in the embodiment of the present application, in a Simulink model building environment, at 12:00, a periodic automatic operating condition simulation with a simulation interval of 30 seconds from 13:00 to 14:00 is performed on the route from point C to point D in the model file A.slx and the parameter file Bm.
[0049] Furthermore, in combination with Figure 2(a), the embodiment of the present application configures the route starting point C, the route end point D, the route recommendation mode as speed priority, the start time as 13:00, the end time as 14:00, the simulation time interval as 30s, the simulation step size as 0.2s, the model file A.slx location as E, the parameter file Bm location as F, and the result save location as G on the front end at 12:00.
[0050] In step S102, after controlling the front end to start the automatic working condition for simulation based on the parameter information, obtain the front-end simulation parameter information during the automatic working condition simulation of the front end, and obtain a front-end simulation parameter file that meets the preset file format conditions based on the front-end simulation parameter information.
[0051] It can be understood that in the embodiment of the present application, after the front end obtains the front-end simulation parameter information, it is also necessary to process the content of all front-end user configuration items and perform necessary format conversions, so as to obtain a front-end simulation parameter file that meets certain file format conditions. Among them, the certain file format conditions may include, but are not limited to, file formats such as TXT (Text File), XML (Extensible Markup Language), and Json (JavaScript Object Notation). Specifically, those skilled in the art can set according to the actual situation, and the present application does not make specific limitations.
[0052] In the actual execution process, the embodiment of the present application can start the automatic working condition for simulation based on the parameter information, obtain the front-end simulation parameter information during the automatic working condition simulation of the front end, and save the front-end simulation parameter information in the manner of certain file format conditions to obtain the corresponding front-end simulation parameter file.
[0053] For example, in combination with Fig. 2(a), in the embodiment of the present application, after the automatic working condition simulation starts, the front end obtains the front-end simulation parameter information and saves it in the form of an XML file, thereby obtaining the corresponding front-end simulation parameter file.
[0054] In step S103, determine the backend simulation parameter information during the automatic working condition simulation of the backend based on the front-end simulation parameter file.
[0055] It can be understood that the backend in the embodiment of the present application can be understood as a script or function that automatically executes the working condition generation and simulation according to the front-end simulation parameter file configured by the user at the front end.
[0056] As a possible implementation manner, the backend in the embodiment of the present application can obtain the backend simulation parameter information during the automatic working condition simulation based on the front-end simulation parameter file. The main steps may be: First, find the storage location of the front-end user configuration file by file name; then, read the user configuration text file; finally, reverse-parsing the user configuration recognizable by the backend according to the text file storage format when the front end saves and performing necessary data format conversions, so as to obtain the backend simulation parameter information.
[0057] For example, in the embodiment of the present application, in combination with FIG. 2(a), the backend reads the user configuration XML file generated by the frontend to obtain all the backend simulation parameter information during the automatic working condition simulation process.
[0058] In step S104, based on the backend simulation parameter information, after using the backend to start the simulation of the automatic working condition, the backend simulation results that meet the preset simulation time interval after the end of the automatic working condition simulation process are obtained.
[0059] Those skilled in the art can understand that after the backend of the embodiment of the present application generates and simulates the automatic working condition, the backend simulation results that meet a certain simulation time interval after the end of the automatic working condition simulation can be obtained. Among them, a certain simulation time interval can be set by those skilled in the art according to the actual situation, and the present application does not make specific limitations.
[0060] Optionally, in an embodiment of the present application, based on the backend simulation parameter information, after using the backend to start the simulation of the automatic working condition, the backend simulation results that meet the preset simulation time interval after the end of the automatic working condition simulation process are obtained, including: determining whether the simulation end time in the backend simulation parameter information is earlier than the simulation start time in the backend simulation parameter information; if the simulation end time is earlier than the simulation start time, a configuration error prompt is sent to the frontend; if the simulation end time is not earlier than the simulation start time, the current running time in the backend simulation parameter information is determined.
[0061] As a possible implementation manner, after the backend of the embodiment of the present application starts the simulation of the automatic working condition, it is also necessary to compare the simulation start time with the simulation end time. If the simulation end time is earlier than the simulation start time, a configuration error prompt is sent to the frontend; if the simulation start time is earlier than the simulation end time, the current running time of the program after the automatic working condition simulation is started is obtained.
[0062] For example, by combining the comparison of the simulation start time and the simulation end time in FIG. 2(a), it can be understood that in the embodiment of the present application, the simulation start time 13:00 can be compared with the simulation end time 14:00. If the simulation end time is earlier than the simulation start time, a configuration error prompt is sent to the frontend; if the simulation start time is earlier than the simulation end time, the current running time of the program after the automatic working condition simulation is started is obtained.
[0063] Optionally, in an embodiment of the present application, after performing a simulation with the backend automatically enabled based on the backend simulation parameter information, when obtaining the backend simulation result that meets the preset simulation time interval after the end of the automatic condition simulation process of the backend, it further includes: determining whether the current running time is earlier than the simulation start time; if the current running time is earlier than the simulation start time, controlling the backend to enter a waiting state, and re-detecting the current running time based on the preset simulation time interval until the current running time is not earlier than the simulation start time; if the current running time is not earlier than the simulation start time, controlling the backend to enter a condition execution state based on the current running time, the simulation start time, and the simulation end time, so as to perform a simulation with the backend automatically enabled based on the execution state until the current running time is not earlier than the simulation end time, thereby obtaining the backend simulation result.
[0064] It can be understood that in the embodiment of the present application, the current running time can be understood as the real system time during the program operation, generally the actual physical time, which is dynamically updated as the program runs; the program can refer to the periodic automatic condition generation and simulation code or script, which can be specifically set by those skilled in the art according to the actual situation, and the present application does not make specific limitations.
[0065] In some embodiments, after determining the current running time in the backend simulation parameter information in the embodiment of the present application, the relationship between the current running time and the simulation start time can be determined: if the current running time is not earlier than the simulation start time, controlling the backend to enter a condition execution state, so as to perform a simulation with the backend automatically enabled based on the execution state until the current running time is not earlier than the simulation end time, thereby obtaining the backend simulation result; otherwise, controlling the backend to enter a waiting state, and re-obtaining the current running time at a certain simulation time interval (such as 20s, the present application does not make specific limitations) until the current running time is not earlier than the simulation start time, and then controlling the backend to enter a condition execution state.
[0066] Further, in the embodiment of the present application, if the current running time is not earlier than the simulation end time, the program enters automatic result analysis, loads the result files into the model building environment in the order of the file names converted by the time of the sub-folders, reads the actual road energy consumption simulation values output by the model saved in the result files, and records the file names of each sub-folder and the corresponding energy consumption simulation values to obtain the corresponding backend simulation result. Among them, in the embodiment of the present application, loading the result files into the model building environment can refer to using the relevant commands in the model building environment to reload the result files into the model building environment.
[0067] For example, as shown in FIG. 2(a) in the embodiment of the present application, the relationship between the current running time and the simulation start time is determined, and the relationship between the current running time and the simulation end time is determined.
[0068] It can be understood that in the embodiment of the present application, after obtaining the current running time 12:00 of the program after the automatic working condition generation and simulation start, the relationship between the current running time and the simulation start time is judged; if the current running time 12:00 is earlier than the simulation start time, the program enters the waiting state, and the current running time is obtained again every 20 s until the current running time exceeds 13:00 and is not earlier than the simulation start time, then the program enters the execution state.
[0069] Further, in the embodiment of the present application, it is judged whether the current running time is earlier than the simulation end time 14:00. If the current running time is earlier than the simulation end time 14:00, the program continues to execute; if the current running time is not earlier than the simulation end time 14:00, the program enters the automatic result analysis, loads the result files into the Simulink environment in the order of the file names converted by the time of the sub-folders, reads the actual road energy consumption simulation values output by the model saved in the result files, and records the file names of each sub-folder and the corresponding energy consumption simulation values to obtain the corresponding back-end simulation results.
[0070] Optionally, in an embodiment of the present application, obtaining the back-end simulation results that meet the preset simulation time interval after the automatic working condition simulation process of the back-end includes: based on the route start point, route end point, route recommendation method and online map in the back-end simulation parameter information, using the working condition simulation of the back-end to start the automatic working condition simulation process, after the working condition simulation ends, obtaining the working condition simulation results of the working condition simulation; based on the working condition simulation results and the back-end simulation parameter information, obtaining at least one of the model file of the road energy consumption simulation model, the model file position corresponding to the model file, the parameter file and the parameter file position corresponding to the parameter file in the automatic working condition simulation process of the back-end; judging whether the parameter file can run independently; if the parameter file can run independently, initializing the road energy consumption simulation model with the parameter file to obtain the initialized road energy consumption simulation model; if the parameter file cannot run independently, sending a parameter file operation error prompt to the front-end based on the parameter file and the parameter file position, and re-searching for the parameter file until a parameter file that can run independently is obtained.
[0071] It can be understood that in the embodiment of the present application, initialization can be understood as that the parameter file is the specific parameter or variable used in the model file, and it is necessary to run in the model building environment before the model file runs to assign values to the variables used by the model file.
[0072] In some embodiments, the embodiment of the present application can send a request to the online map according to the route start point, route end point, and route recommendation method in the back-end simulation parameter information, use the working condition simulation of the back-end to start the automatic working condition simulation process, and after the working condition simulation ends, obtain the working condition simulation results of the working condition simulation to generate the actual road working condition.
[0073] Furthermore, embodiments of the present application can obtain the model file of the road energy consumption simulation model during the automatic working condition simulation process at the backend, the model file location corresponding to the model file, the parameter file, and the parameter file location corresponding to the parameter file according to the working condition simulation result and the backend simulation parameter information. The present application does not make specific limitations.
[0074] Furthermore, embodiments of the present application can determine whether the parameter file can run independently according to the parameter file location; if the parameter file can run independently, the road energy consumption simulation model is initialized using the parameter file to obtain the initialized road energy consumption simulation model; if the parameter file cannot run independently, an error prompt for parameter file operation is sent to the frontend, and the parameter file is searched again until a parameter file that can run independently is obtained.
[0075] For example, in combination with Fig. 2(a), embodiments of the present application can first send a request to the online map according to the route start point, route end point, and recommended route speed to obtain the working condition simulation result of the working condition simulation, generate the actual road working condition, and then read and execute the parameter file according to the parameter file location to initialize the model file, thereby obtaining the initialized road energy consumption simulation model.
[0076] Among them, in embodiments of the present application, a request can be sent to the online map preferentially according to the configured route start point C, route end point D, and recommended route speed, and the actual road working condition can be generated in real time according to the returned data.
[0077] Furthermore, embodiments of the present application read the parameter file according to the location F where the configured parameter file B.m is located and execute it using the run command in the Simulink environment to initialize the model file.
[0078] Optionally, in an embodiment of the present application, obtaining the backend simulation result that meets the preset simulation time interval after the automatic working condition simulation process at the backend further includes: based on the model simulation step length in the model file, model file location, initialized road energy consumption simulation model, and backend simulation parameter information, using the model simulation of the road energy consumption simulation model when the backend starts the automatic working condition simulation process, and after the model simulation ends, obtaining the model simulation result of the model simulation; clearing the working condition simulation result and the model simulation result, and re-initializing the road energy consumption simulation model until the backend simulation result of the preset simulation time interval is obtained.
[0079] It can be understood that in the embodiments of the present application, the backend simulation result can be understood as creating a folder according to the current running time under the result storage location path, converting the current running time into a string, creating a sub-file and naming it with the converted string of the current running time; the model simulation result is saved in the form of a file, and all the results output by the model are saved in the file format required by the model building environment in the model building environment, such as the.mat file in the Simulink environment, which can be specifically set by those skilled in the art according to the actual situation, and the present application does not make specific limitations.
[0080] In addition, it should be noted that in the embodiments of the present application, clearing the condition simulation result and the model simulation result can be understood as deleting the variables saved as results in the environment after the model simulation ends in the model building environment, so as to avoid interference between the results of different simulations.
[0081] As a possible implementation manner, the embodiments of the present application can read the model file based on the model file location and load it into the model building environment, set the simulation calculation step of the road energy consumption simulation model according to the model simulation step length, and then based on the initialized road energy consumption simulation model, start the model simulation of the road energy consumption simulation model. After the model simulation ends, according to the result storage location, create a folder under the result storage location according to the current running time, and save the model simulation result in the created folder in the form of a file; after the model simulation result is successfully saved, clear the condition simulation result and the model simulation result in the simulation environment, wait for the corresponding duration according to a certain simulation time interval, and re-initialize the road energy consumption simulation model until the corresponding backend simulation result is obtained.
[0082] For example, as shown in FIG. 2(a), the embodiments of the present application can read the model file A.slx according to the location of the model file A.slx and use the load_system command to load it into the Simulink environment, and use the set_params command to set the simulation calculation step length of the model to 0.2s according to the model simulation step length of 0.2s.
[0083] Furthermore, the embodiments of the present application use the sim command to start the model simulation based on the initialized road energy consumption simulation model; after the model simulation ends, according to the result storage location G, create a folder such as 2023_1212_1314 according to the current running time under the result storage location, and save the model simulation result in the created folder in the form of a.mat file; after the model simulation result is successfully saved, clear the condition simulation result and the model simulation result in the simulation environment, and then wait for the corresponding duration of 30s according to a certain simulation time interval until the corresponding backend simulation result is obtained.
[0084] In step S105, extract the corresponding actual road energy consumption simulation value from the backend simulation result, and obtain a backend simulation matrix formed by the simulation result of the periodic working condition and the backend simulation result of the periodic working condition based on the actual road energy consumption simulation value.
[0085] In the actual execution process, the embodiment of the present application can extract the corresponding actual road energy consumption simulation value according to the backend simulation result, and obtain a backend simulation matrix formed by the simulation result of the periodic working condition and the backend simulation result of the periodic working condition based on the actual road energy consumption simulation value.
[0086] In step S106, obtain the frontend simulation result after the end of the automatic working condition simulation process according to the backend simulation matrix.
[0087] In some embodiments, the embodiment of the present application can perform data analysis on the backend simulation matrix, draw a time-energy consumption curve graph, and statistically analyze big data such as the maximum value, minimum value, median value, and average value of energy consumption, and display the analysis result on the frontend to obtain the corresponding frontend simulation result.
[0088] For example, in combination with FIG. 2(a), the embodiment of the present application can perform data analysis according to the backend simulation matrix, draw a time-energy consumption curve graph, and statistically analyze big data such as the maximum value, minimum value, median value, and average value of energy consumption, and display the analysis result on the frontend to obtain the corresponding frontend simulation result.
[0089] The working principle of the automatic working condition simulation process analysis method for vehicle front-back end interaction proposed by the embodiment of the present application will be explained below with reference to a specific embodiment shown in FIG. 2.
[0090] Among them, FIG. 2(a) is a complete flowchart of the working principle of the automatic working condition simulation process analysis method for vehicle front-back end interaction provided by an embodiment of the present application.
[0091] Specifically, in the Simulink model building environment, the embodiment of the present application performs a periodic automatic working condition simulation with a simulation interval of 30 s from 13:00 to 14:00 on the route from point C to point D in the model file A.slx and the parameter file B.m at 12:00. The main steps are as follows:
[0092] Step S201: At 12:00, configure the route start point C, route end point D, route recommendation method as speed priority, simulation start time as 13:00, simulation end time as 14:00, simulation time interval as 30 s, simulation step size as 0.2 s, the location of the model file A.slx as E, the location of the parameter file B.m as F, and the result saving location as G at the frontend.
[0093] Step S202: After the start of the automatic working condition simulation, the front end obtains the front-end simulation parameter information and saves it in the form of an XML file, thereby obtaining the corresponding front-end simulation parameter file.
[0094] Step S203: The back end reads the user configuration XML file generated by the front end and obtains all the back-end simulation parameter information during the automatic working condition simulation.
[0095] Step S204: Determine whether the simulation start time is not earlier than the simulation end time. If the simulation end time is earlier than the simulation start time, execute Step S205; otherwise, execute Step S206.
[0096] Step S205: In the case where the simulation end time is earlier than the simulation start time, send a configuration error prompt to the front end.
[0097] Step S206: In the case where the simulation start time is earlier than the simulation end time, obtain the current running time of the program after the automatic working condition generation and simulation start, and judge the relationship between the current running time and the simulation start time. If the current running time is not earlier than the simulation start time, execute Step S207; otherwise, execute Step S208.
[0098] Step S207: In the case where the current running time is not earlier than the simulation start time, the program enters the execution state and continues to execute Step S209.
[0099] Step S208: In the case where the current running time is earlier than the simulation start time, the program enters the waiting state and re-obtains the current running time every 20s until the current running time exceeds 13:00 and is not earlier than the simulation start time.
[0100] Step S209: Determine whether the current running time is not earlier than the simulation end time of 14:00. If the current running time is earlier than the simulation end time of 14:00, execute Step S210; otherwise, execute Step S216.
[0101] Step S210: Send a request to the online map according to the configured route start point C, route end point D, and recommended route speed, and generate the actual road working condition in real time according to the returned data.
[0102] Step S211: According to the location F of the configured parameter file B.m, read the parameter file and execute it in the Simulink environment using the run command to initialize the model file.
[0103] Step S212: According to the location of the model file A.slx, read the model file A.slx and load it into the Simulink environment using the load_system command. Set the simulation calculation step size of the model to 0.2s using the set_params command according to the model simulation step size of 0.2s.
[0104] Step S213: Based on the initialized road energy consumption simulation model, start the model simulation using the sim command.
[0105] Step S214: After the model simulation ends, according to the result saving location G, create a folder such as 2023_1212_1314 according to the current running time under the result saving location, and save the model simulation results in the created folder in the form of a.mat file.
[0106] After the model simulation results are successfully saved, clear the working condition simulation results and model simulation results in the simulation environment, and then wait for the corresponding duration of 30s according to a certain simulation time interval. Repeat steps S209 to S215 until the corresponding back-end simulation results are obtained.
[0107] When the current running time is not earlier than the simulation end time of 14:00, the program enters automatic result analysis. Load the result files into the Simulink environment in the order of the file names converted by the time of the subfolders, read the actual road energy consumption simulation values output by the model saved in the result files, and record the file names of each subfolder and the corresponding energy consumption simulation values to obtain the corresponding back-end simulation results.
[0108] Step S217: According to the back-end simulation results, extract the corresponding actual road energy consumption simulation values, and based on the actual road energy consumption simulation values, obtain the back-end simulation matrix formed by the simulation results of the periodic working conditions and the back-end simulation results of the periodic working conditions.
[0109] Step S218: Conduct data analysis based on the back-end simulation matrix, draw a time-energy consumption curve, and statistically analyze big data such as the maximum value, minimum value, median value, and average value of energy consumption, and display the analysis results on the front end to obtain the corresponding front-end simulation results.
[0110] According to the automatic working condition simulation process analysis method of the front-end and rear-end interaction of the vehicle proposed in the embodiment of the present application, the front-end simulation parameter information of the front-end in the automatic working condition simulation process can be obtained according to the parameter information of the front-end control automatic working condition simulation in the front-end and rear-end interaction of the vehicle, and then the back-end simulation parameter information of the back-end in the automatic working condition simulation process can be determined, so as to obtain the corresponding back-end simulation result, and the corresponding actual road energy consumption simulation value is extracted from the back-end simulation result, forming a back-end simulation matrix including periodic working condition simulation results and periodic working condition back-end simulation results, and generating the corresponding front-end simulation result, through the parameter information of the front-end control automatic working condition simulation, the time required for manual setting and starting simulation can be significantly reduced, and the data accuracy can be enhanced, and the performance of the vehicle under different working conditions can be comprehensively analyzed through the simulation results of periodic working conditions and the back-end simulation matrix, so as to improve the performance of the vehicle and enhance the safety of the vehicle, and in addition, the synergy of the front-end and the rear-end in the simulation process realizes the seamless connection between the front-end and the rear-end. Thus, the problems in the related art that the automatic working condition generation and simulation over a long span cannot be realized, the isolated result data cannot fully reflect the energy consumption characteristics of the vehicle, and cannot support the scene-based and personalized big data analysis can be solved.
[0111] Next, the automatic working condition simulation process analysis device for the front-end and rear-end interaction of a vehicle proposed in an embodiment of the present application will be described with reference to the accompanying drawings.
[0112] Figure 3 It is a block diagram of an automatic working condition simulation process analysis device for front-end and rear-end interaction of a vehicle provided according to an embodiment of the present application.
[0113] like Figure 3 As shown, the automatic working condition simulation process analysis device 10 for front-end and rear-end interaction of a vehicle includes: a first determination module 100, a first acquisition module 200, a second determination module 300, a second acquisition module 400, an extraction module 500 and a generation module 600.
[0114] The first determination module 100 is used to determine parameter information of the front-end control automatic working condition simulation of the vehicle in the front-end and rear-end interaction.
[0115] The first acquisition module 200 is used to control the front end to start the automatic working condition for simulation based on the parameter information, obtain the front-end simulation parameter information of the front end during the automatic working condition simulation process, and obtain the front-end simulation parameter file that meets the preset file format conditions based on the front-end simulation parameter information.
[0116] The second determination module 300 is used to determine the back-end simulation parameter information of the back-end during the automatic working condition simulation process based on the front-end simulation parameter file.
[0117] The second acquisition module 400 is configured to, based on the backend simulation parameter information, after using the backend to start the automatic working condition simulation, acquire the backend simulation results that meet the preset simulation time interval after the end of the automatic working condition simulation process of the backend.
[0118] The extraction module 500 is configured to extract the corresponding actual road energy consumption simulation value from the backend simulation results, and obtain a backend simulation matrix formed by the simulation results of the periodic working condition and the backend simulation results of the periodic working condition based on the actual road energy consumption simulation value.
[0119] The generation module 600 is configured to obtain the frontend simulation results after the end of the automatic working condition simulation process of the frontend according to the backend simulation matrix.
[0120] Optionally, in an embodiment of the present application, the second acquisition module 400 includes: a first judgment unit, a first sending unit, and a first generation unit.
[0121] Wherein, the first judgment unit is configured to judge whether the simulation end time in the backend simulation parameter information is earlier than the simulation start time in the backend simulation parameter information.
[0122] The first sending unit is configured to send a configuration error prompt to the frontend when the simulation end time is earlier than the simulation start time.
[0123] The first generation unit is configured to determine the current running time in the backend simulation parameter information when the simulation end time is not earlier than the simulation start time.
[0124] Optionally, in an embodiment of the present application, the second acquisition module 400 further includes: a second judgment unit, a first control unit, and a second control unit.
[0125] Wherein, the second judgment unit is configured to judge whether the current running time is earlier than the simulation start time.
[0126] The first control unit is configured to control the backend to enter a waiting state when the current running time is earlier than the simulation start time, and re-detect the current running time based on the preset simulation time interval until the current running time is not earlier than the simulation start time.
[0127] The second control unit is configured to control the backend to enter a working condition execution state based on the current running time, the simulation start time, and the simulation end time when the current running time is not earlier than the simulation start time, so as to use the backend to start the automatic working condition simulation based on the execution state until the current running time is not earlier than the simulation end time, so as to obtain the backend simulation results.
[0128] Optionally, in an embodiment of the present application, the second acquisition module 400 includes: a first acquisition unit, a second acquisition unit, a third judgment unit, a second generation unit, and a second sending unit.
[0129] Among them, the first acquisition unit is used to utilize the working condition simulation of the backend to start the automatic working condition simulation process based on the route start point, route end point, route recommendation method, and online map in the backend simulation parameter information, and after the working condition simulation ends, obtain the working condition simulation result of the working condition simulation.
[0130] The second acquisition unit is used to obtain at least one of the model file of the road energy consumption simulation model, the model file location corresponding to the model file, the parameter file, and the parameter file location corresponding to the parameter file in the automatic working condition simulation process of the backend based on the working condition simulation result and the backend simulation parameter information.
[0131] The third judgment unit is used to judge whether the parameter file can run independently.
[0132] The second generation unit is used to initialize the road energy consumption simulation model with the parameter file when the parameter file can run independently, and obtain the initialized road energy consumption simulation model.
[0133] The second sending unit is used to send a parameter file operation error prompt to the front end based on the parameter file and the parameter file location when the parameter file cannot run independently, and re-search for the parameter file until a parameter file that can run independently is obtained.
[0134] Optionally, in an embodiment of the present application, the second acquisition module 400 further includes: a third acquisition unit and a third generation unit.
[0135] Among them, the third acquisition unit is used to utilize the model simulation of the road energy consumption simulation model of the backend to start the automatic working condition simulation process based on the model file, the model file location, the initialized road energy consumption simulation model, and the model simulation step length in the backend simulation parameter information, and after the model simulation ends, obtain the model simulation result of the model simulation.
[0136] The third generation unit is used to clear the working condition simulation result and the model simulation result, and re-initialize the road energy consumption simulation model until the backend simulation result of the preset simulation time interval is obtained.
[0137] It should be noted that the foregoing explanation of the embodiment of the method for analyzing the automatic working condition simulation process of vehicle front-end and rear-end interaction also applies to the device for analyzing the automatic working condition simulation process of vehicle front-end and rear-end interaction in this embodiment, and will not be elaborated here.
[0138] The automatic working condition simulation process analysis device for vehicle front and rear end interaction proposed according to the embodiments of the present application can obtain the front end simulation parameter information during the automatic working condition simulation of the front end according to the parameter information of the front end control automatic working condition simulation during the front and rear end interaction of the vehicle, and then determine the rear end simulation parameter information during the automatic working condition simulation of the rear end, so as to obtain the corresponding rear end simulation result, extract the corresponding actual road energy consumption simulation value from the rear end simulation result, form a rear end simulation matrix including the periodic working condition simulation result and the periodic working condition rear end simulation result, and generate the corresponding front end simulation result. Through the parameter information of the front end control automatic working condition simulation, the time required for manual setting and starting the simulation can be significantly reduced, and the data accuracy can be enhanced. Through the simulation results of the periodic working conditions and the rear end simulation matrix, the performance of the vehicle under different working conditions can be comprehensively analyzed, the performance of the vehicle can be improved, and the safety of the vehicle can be enhanced. In addition, the collaborative effect of the front and rear ends during the simulation process realizes the seamless docking of the front and rear ends. Thus, the problems in the related technology that the automatic working condition generation and simulation with a long time span cannot be realized, the result data is isolated and cannot fully reflect the vehicle energy consumption characteristics, and the scenario-based and personalized big data analysis cannot be supported are solved.
[0139] Figure 4 A structural schematic diagram of a vehicle provided according to an embodiment of the present application. The vehicle may include:
[0140] A memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402.
[0141] When the processor 402 executes the program, it implements the automatic working condition simulation process analysis method for vehicle front and rear end interaction provided in the above embodiment.
[0142] Further, the vehicle further includes:
[0143] A communication interface 403 for communication between the memory 401 and the processor 402.
[0144] The memory 401 is used to store a computer program executable on the processor 402.
[0145] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0146] If the memory 401, the processor 402, and the communication interface 403 are implemented independently, the communication interface 403, the memory 401, and the processor 402 can be interconnected via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 only a thick line is used in Figure 4 , but it does not mean that there is only one bus or one type of bus.
[0147] Optionally, in a specific implementation, if the memory 401, the processor 402, and the communication interface 403 are integrated on a single chip, the memory 401, the processor 402, and the communication interface 403 can communicate with each other through an internal interface.
[0148] The processor 402 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0149] The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the automatic working condition simulation process analysis method for vehicle front and rear end interaction as described above is implemented.
[0150] The embodiments of the present application further provide a computer program product, including a computer program, and when the program is executed, the automatic working condition simulation process analysis method for vehicle front and rear end interaction as described above is implemented.
[0151] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0152] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0153] Any process or method description shown in a flowchart or described in other ways herein can be understood to represent a module, segment, or portion of code including one or N executable instructions for implementing a customized logical function or process, and the scope of the preferred embodiments of this application includes additional implementations, where the functions may be executed in a substantially simultaneous manner or in the reverse order according to the functions involved, rather than in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of this application pertain.
[0154] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definable sequence list of executable instructions for implementing logical functions, which can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection part (electronic device) having one or N wirings, a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.
[0155] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), and the like.
[0156] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0157] In addition, in each embodiment of the present application, each functional unit can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0158] The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disc, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present application.
Claims
1. A method for analyzing the automatic working condition simulation process of the front-end and rear-end interaction of a vehicle, characterized in that: The following steps are involved: Determine the parameter information of the front-end control automatic working condition simulation of the vehicle in the front-end and rear-end interaction; Based on the parameter information, after controlling the front end to start the automatic working condition for simulation, obtain the front end simulation parameter information of the front end during the automatic working condition simulation process, and obtain a front end simulation parameter file that meets the preset file format conditions based on the front end simulation parameter information; Based on the front-end simulation parameter file, determining the back-end simulation parameter information of the back-end during the automatic working condition simulation process; Based on the back-end simulation parameter information, after using the back-end to start the simulation of the automatic working condition, obtain the back-end simulation result of the back-end that meets the preset simulation time interval after the automatic working condition simulation process ends; Extracting the actual road energy consumption simulation value corresponding to the back-end simulation result, and obtaining the simulation result of the periodic working condition and the back-end simulation result of the periodic working condition based on the actual road energy consumption simulation value. The front-end simulation result of the front-end after the automatic working condition simulation process is completed is obtained according to the back-end simulation matrix.
2. The method according to claim 1, characterized in that The method of starting the simulation of the automatic working condition by using the back end based on the back end simulation parameter information and obtaining the back end simulation result of the back end that meets the preset simulation time interval after the automatic working condition simulation process ends includes: Determine whether the simulation end time in the back-end simulation parameter information is earlier than the simulation start time in the back-end simulation parameter information; If the simulation end time is earlier than the simulation start time, sending a configuration error prompt to the front end; If the simulation end time is not earlier than the simulation start time, the current running time in the back-end simulation parameter information is determined.
3. The method according to claim 2, characterized in that The method of starting the simulation of the automatic working condition by using the back end based on the back end simulation parameter information, and obtaining the back end simulation result of the back end that meets the preset simulation time interval after the automatic working condition simulation process ends, further includes: Determine whether the current running time is earlier than the simulation start time; If the current running time is earlier than the simulation start time, control the backend to enter a waiting state, and re-detect the current running time based on a preset simulation time interval until the current running time is no earlier than the simulation start time; If the current running time is not earlier than the simulation start time, the back end is controlled to enter the working condition execution state based on the current running time, the simulation start time and the simulation end time, so as to start the simulation of the automatic working condition using the back end based on the execution state, until the current running time is no earlier than the simulation end time, so as to obtain the back end simulation result.
4. The method according to claim 1, characterized in that: The obtaining of a back-end simulation result of the back-end that meets a preset simulation time interval after the automatic working condition simulation process is completed includes: Based on the route starting point, route end point, route recommendation method and online map in the back-end simulation parameter information, using the back-end to start the working condition simulation of the automatic working condition simulation process, and after the working condition simulation is completed, obtaining the working condition simulation result of the working condition simulation; Based on the working condition simulation result and the back-end simulation parameter information, obtaining at least one of a model file of a road energy consumption simulation model of the back-end during the automatic working condition simulation, a model file location corresponding to the model file, a parameter file, and a parameter file location corresponding to the parameter file; Determine whether the parameter file can be run independently; If the parameter file can be run independently, the road energy consumption simulation model is initialized using the parameter file to obtain an initialized road energy consumption simulation model; If the parameter file cannot be run independently, a parameter file running error prompt is sent to the front end based on the parameter file and the parameter file position, and the parameter file is searched again until a parameter file that can be run independently is obtained.
5. The method according to claim 4, characterized in that The obtaining of the back-end simulation result of the back-end that meets the preset simulation time interval after the automatic working condition simulation process is completed also includes: Based on the model file, the location of the model file, the initialized road energy consumption simulation model and the model simulation step in the back-end simulation parameter information, using the back-end to start the model simulation of the road energy consumption simulation model of the automatic working condition simulation process, and after the model simulation is completed, obtaining the model simulation result of the model simulation; The working condition simulation result and the model simulation result are cleared, and the road energy consumption simulation model is reinitialized until the back-end simulation result of the preset simulation time interval is obtained.
6. An automatic working condition simulation process analysis device for front-end and rear-end interaction of a vehicle, characterized in that: include: A first determination module is used to determine parameter information of the front-end control automatic working condition simulation of the vehicle in the front-end and rear-end interaction; A first acquisition module is used to control the front end to start the automatic working condition for simulation based on the parameter information, obtain the front-end simulation parameter information of the front end during the automatic working condition simulation process, and obtain a front-end simulation parameter file that meets the preset file format conditions based on the front-end simulation parameter information; A second determination module, configured to determine, based on the front-end simulation parameter file, back-end simulation parameter information of the back-end during the automatic working condition simulation process; A second acquisition module is used to obtain a backend simulation result of the backend that meets a preset simulation time interval after the backend starts the simulation of the automatic working condition based on the backend simulation parameter information; An extraction module, used to extract the actual road energy consumption simulation value corresponding to the back-end simulation result, and obtain the simulation result of the periodic working condition and the back-end simulation result of the periodic working condition based on the actual road energy consumption simulation value. A generation module is used to obtain the front-end simulation result of the front end after the automatic working condition simulation process is completed according to the back-end simulation matrix.
7. The device according to claim 6, characterized in that The second acquisition module includes: A first judging unit, configured to judge whether a simulation end time in the back-end simulation parameter information is earlier than a simulation start time in the back-end simulation parameter information; A first sending unit, configured to send a configuration error prompt to the front end when the simulation end time is earlier than the simulation start time; The first generating unit is used to determine the current running time in the back-end simulation parameter information when the simulation end time is not earlier than the simulation start time.
8. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the automatic working condition simulation process analysis method for front-end and rear-end interaction of a vehicle as described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the automatic working condition simulation process analysis method for front-end and rear-end interaction of a vehicle as described in any one of claims 1-5.
10. A computer program product, characterized in that It comprises a computer program, which, when executed, is used to implement the automatic working condition simulation process analysis method of the front-end and rear-end interaction of the vehicle as described in any one of claims 1-5.