Vehicle simulation test method and device, storage medium, electronic equipment and computer program product
By updating and adjusting parameters in response to scenes in real time in vehicle simulation tests, the problem of untimely test response in the existing technology is solved, and the testing efficiency is improved.
Patent Information
- Application Number
- CN202411842953.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-12
AI Technical Summary
The existing vehicle simulation testing methods have the problem of untimely test response, which leads to low testing efficiency.
By obtaining the test files for the target simulated vehicle, performing the test files and performing vehicle simulation tests based on the initial test scenario parameters. After receiving the real-time scene adjustment parameters, the initial test scene parameters are updated, and the vehicle simulation test is completed based on the updated scene parameters, and the real-time test results are finally output.
It realizes real-time reception and response to real-time scenario adjustment parameters during the test process, timely output test results, improves testing efficiency and avoids the need to reset the entire test process.
Smart Images

Figure CN119782158A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a vehicle simulation test method, device, storage medium, electronic device, and computer program product. Background Art
[0002] When conducting vehicle testing, it is necessary to perform functional testing on the vehicle software. Usually, simulation testing software is used to simulate the vehicle's state parameters, environmental parameters, etc. in different scenarios to achieve functional testing of the vehicle's onboard software.
[0003] As the ecosystem of in-vehicle software becomes increasingly rich and its functions become more and more complex, the current simulation testing methods have problems such as untimely test response, resulting in low testing efficiency. Summary of the invention
[0004] In view of this, embodiments of the present application provide a vehicle simulation test method, device, storage medium, electronic device and computer program product to at least partially solve the above problems.
[0005] According to a first aspect of an embodiment of the present application, a vehicle simulation test method is provided, comprising: obtaining a test file for a target simulation vehicle, the test file comprising a test program and initial test scenario parameters for the target simulation vehicle; executing the test file, and performing a vehicle simulation test based on the initial test scenario parameters; in the process of executing the test file, in response to receiving real-time scenario adjustment parameters for the target simulation vehicle, updating the initial test scenario parameters based on the real-time scenario adjustment parameters, and completing the vehicle simulation test based on the updated scenario parameters; and outputting real-time test results corresponding to the updated scenario parameters.
[0006] In some optional embodiments, the vehicle simulation test method of this embodiment also includes: based on the test file, generating target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of the target interaction interface; in response to the user's input operation for the target scene adjustment parameters in the parameter adjustment area, receiving real-time scene adjustment parameters for the target simulation vehicle.
[0007] In some optional embodiments, before executing the test file, the method of this embodiment also includes: starting to execute the test file based on the pre-set initial state parameters of the target simulated vehicle, the test file including a test start condition; determining whether the initial state parameters of the target simulated vehicle meet the test start condition in the test file; if the initial state parameters meet the test start condition, executing the test file.
[0008] In some optional embodiments, real-time test results corresponding to updated scenario parameters are output, including: if it is monitored that the execution of the test file is completed, the current state parameters of the target simulation vehicle are restored to the initial state parameters, and real-time test results corresponding to the updated scenario parameters are output.
[0009] In some optional embodiments, the target interaction interface also includes a test mode adjustment area, and the vehicle simulation test method of this embodiment also includes: in response to a first input operation of a user in the test mode adjustment area, determining that the test mode of the target simulated vehicle is a first test mode; or, in response to a second input operation of a user in the test mode adjustment area, determining that the test mode of the target simulated vehicle is a second test mode; and the total test time for executing the test file in the first test mode is greater than the total test time for executing the test file in the second test mode.
[0010] In some optional embodiments, the vehicle simulation test method of this embodiment further includes: if the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, outputting a start failure prompt message.
[0011] According to a second aspect of an embodiment of the present application, a vehicle simulation test device is provided, comprising: an acquisition module, used to acquire a test file for a target simulation vehicle, the test file comprising a test program and initial test scenario parameters for the target simulation vehicle; a test module, used to execute the test file, and perform a vehicle simulation test based on the initial test scenario parameters; in the process of executing the test file, in response to receiving real-time scenario adjustment parameters for the target simulation vehicle, updating the initial test scenario parameters based on the real-time scenario adjustment parameters, and completing the vehicle simulation test based on the updated scenario parameters; and an output module, used to output real-time test results corresponding to the updated scenario parameters.
[0012] In some optional embodiments, the test module is also used to: generate target scene adjustment parameters for the target simulated vehicle in the parameter adjustment area of the target interaction interface based on the test file; and receive real-time scene adjustment parameters for the target simulated vehicle in response to the user's input operation for the target scene adjustment parameters in the parameter adjustment area.
[0013] In some optional embodiments, the test module is also used to: start executing a test file based on pre-set initial state parameters of the target simulated vehicle, the test file including a test start condition; determine whether the initial state parameters of the target simulated vehicle meet the test start condition in the test file; if the initial state parameters meet the test start condition, execute the test file.
[0014] In some optional embodiments, the test module is further used to: if it is monitored that the execution of the test file is completed, restore the current state parameters of the target simulated vehicle to the initial state parameters, and output real-time test results corresponding to the updated scene parameters.
[0015] In some optional embodiments, the target interaction interface also includes a test mode adjustment area, and the vehicle simulation test device of this embodiment also includes a test mode switching module, which is used to: determine that the test mode of the target simulation vehicle is a first test mode in response to a first input operation of a user in the test mode adjustment area; or, determine that the test mode of the target simulation vehicle is a second test mode in response to a second input operation of a user in the test mode adjustment area; and the total test time for executing the test file in the first test mode is greater than the total test time for executing the test file in the second test mode.
[0016] In some optional embodiments, the test module is further used to: if the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, output a start failure prompt message.
[0017] According to a third aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method of the first aspect is implemented.
[0018] According to the fourth aspect of an embodiment of the present application, there is provided an electronic device, comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method of the first aspect.
[0019] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising computer instructions, which instruct a computing device to perform operations corresponding to the method of the first aspect.
[0020] The embodiment of the present application provides a vehicle simulation test method, device, storage medium, electronic device and computer program product, wherein the vehicle simulation test method includes: obtaining a test file for a target simulation vehicle, the test file including a test program and initial test scenario parameters for the target simulation vehicle; executing the test file, and performing a vehicle simulation test based on the initial test scenario parameters; in the process of executing the test file, in response to receiving a real-time scenario adjustment parameter for the target simulation vehicle, updating the test scenario parameters based on the real-time scenario adjustment parameter, and completing the vehicle simulation test based on the updated scenario parameter; outputting a real-time test result corresponding to the updated scenario parameter. Through the embodiment of the present application, in the process of executing the test file, the real-time scenario adjustment parameter updated for the target simulation vehicle can be received in real time, and the real-time test result can be promptly responded to and output in the test result, so that the user can adjust the test process at any time during the test process, and can respond to and output the corresponding real-time test result in real time, without resetting the entire test process, thereby improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0022] Figure 1 A flowchart of a vehicle simulation test method according to an exemplary embodiment of the present application;
[0023] Figure 2 A schematic diagram of a target interaction interface of a vehicle simulation test method for an exemplary embodiment of the present application;
[0024] Figure 3 is a structural block diagram of a vehicle simulation test device according to an exemplary embodiment of the present application;
[0025] Figure 4 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0027] Reference Figure 1 , shows a step flow chart of a vehicle simulation test method according to an exemplary embodiment of the present application.
[0028] As shown in the figure, this embodiment mainly includes the following steps:
[0029] S102: Acquire a test file for a target simulation vehicle.
[0030] The test file includes the test program and initial test scenario parameters for the target simulation vehicle.
[0031] The vehicle simulation test method of this embodiment can be applied to a user device, and the user device may include any one or more user devices suitable for displaying the test results of the vehicle, interacting with the user, etc. In some embodiments, the user device may include any suitable type of device. For example, in some embodiments, the user device may include a mobile device, a tablet computer, a laptop computer, a desktop computer, and / or any other suitable type of user device.
[0032] Exemplarily, the test file for the target simulated vehicle may be a test program pre-written by the user, and the test program is used to indicate multiple test contents for the target simulated vehicle, each test content including a test scene, a test object (e.g., a certain vehicle-mounted software), etc. The test file also includes initial test scene parameters for each test scene, such as ambient temperature parameters, weather state parameters, etc. The user device may provide a test interface, and the user may upload the test file on the test interface.
[0033] S104: Execute the test file and perform a vehicle simulation test based on the initial test scenario parameters.
[0034] Exemplarily, before testing the target simulated vehicle, the user may pre-set the initial state parameters of the target simulated vehicle, such as window states, door states, and light states, etc. Based on the initial state parameters of the target simulated vehicle and the initial test scenario parameters in the test file, the test program in the test file is executed.
[0035] In some optional embodiments, before executing the test file, the method of this embodiment also includes: starting to execute the test file based on the pre-set initial state parameters of the target simulated vehicle, the test file including a test start condition; determining whether the initial state parameters of the target simulated vehicle meet the test start condition in the test file; if the initial state parameters meet the test start condition, executing the test file.
[0036] Exemplarily, the test start condition may include requirements for the initial state parameters of the target simulated vehicle, such as requirements for the window state, door state, and light state. Based on the preset initial state parameters of the target simulated vehicle, the test file is started to be executed to determine whether the initial state parameters of the target simulated vehicle meet the test start condition in the test file, such as whether the window state is closed, whether the door state is closed, and whether the light state is off. The test start condition may include one or more of the above, and this embodiment does not limit this. If the judgment result is that the initial state parameters of the target simulated vehicle meet the test start condition, it means that the startup is successful and the test file continues to be executed.
[0037] In this embodiment, by judging whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file, the test start process can be simulated to ensure that the initial state parameters of the target simulated vehicle meet the test start requirements, and then the test content in the test file can be tested, thereby ensuring the integrity and comprehensiveness of the entire test process.
[0038] In some optional embodiments, the vehicle simulation test method of this embodiment further includes: if the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, outputting a start failure prompt message.
[0039] Exemplarily, after determining whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file, if the determination result is that the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, for example, the test start condition is that the window state of the target simulated vehicle is closed, and the window state in the initial state parameters of the target simulated vehicle is open, it indicates that the start-up fails, and the execution of the test file is stopped. A start-up failure prompt message may be output, and the start-up failure prompt message may include the cause of the start-up failure, for example, outputting "start-up failed, the cause is that the window state is open". The output method of the start-up failure prompt message may be voice broadcast, text display, etc., which is not limited in this embodiment.
[0040] In this embodiment, after determining whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file, if the determination result is that the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, a startup failure prompt message is output to facilitate the user to troubleshoot test problems.
[0041] S106. During the execution of the test file, in response to receiving the real-time scenario adjustment parameters for the target simulated vehicle, updating the initial test scenario parameters based on the real-time scenario adjustment parameters, and completing the vehicle simulation test based on the updated scenario parameters.
[0042] Exemplarily, in the process of executing the test file, the user can input the real-time scene adjustment parameters for the target simulation vehicle in real time through the target interaction interface, respond to the received real-time scene adjustment parameters for the target simulation vehicle, update the initial test scene parameters in the test file based on the real-time scene adjustment parameters, and complete the vehicle simulation test based on the updated scene parameters. For example, the test object is a vehicle control software that provides a comfortable summer lunch break environment for users. It is hoped that when the user takes a lunch break, when the outside temperature is less than or equal to 26 degrees, the vehicle control software controls the window opening for ventilation, and when the outside temperature is greater than or equal to 27 degrees, the vehicle control software controls the start of the air conditioner in the car. When testing the vehicle control software, assuming that the initial value of the outside temperature is set to 24 degrees in the test file, when executing the test software, the test result is reflected in the vehicle control software controlling the window opening for ventilation. At this time, if the user wants to temporarily adjust the outside temperature of the car, he can suspend the execution of the test program in the test file without exiting this test, and adjust the setting of the outside temperature to 30 degrees through the target interaction interface, then the corresponding real-time test result can be obtained, for example, the vehicle control software controls the start of the air conditioner in the car.
[0043] In some optional embodiments, the vehicle simulation test method of this embodiment also includes: based on the test file, generating target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of the target interaction interface; in response to the user's input operation for the target scene adjustment parameters in the parameter adjustment area, receiving real-time scene adjustment parameters for the target simulation vehicle.
[0044] For example, refer to Figure 2The target interaction interface includes a parameter adjustment area, and according to the test content included in the test file, such as the relevant parameters involved in the test scene, the target scene adjustment parameters for the target simulation vehicle can be generated in the parameter adjustment area. For example, when the test object in the test content is the aforementioned vehicle control software, the generated target scene adjustment parameters may include ambient temperature parameters, weather state parameters, etc. The parameter value of the initially generated target scene adjustment parameter can be empty or a parameter value pre-set in the test file, which is not limited in this embodiment. The user can adjust the target scene adjustment parameter in the parameter adjustment area during the execution of the test file, such as modifying the ambient temperature (for example, modifying the ambient temperature from 24 degrees to 30 degrees) and modifying the weather state (for example, modifying the weather state from sunny to rainy). In response to the user's input operation on the target scene adjustment parameter in the parameter adjustment area, the user device can receive the real-time scene adjustment parameter for the target simulation vehicle.
[0045] In this embodiment, based on the test file, the target scene adjustment parameters for the target simulated vehicle are generated in the parameter adjustment area of the target interaction interface, which can provide the user with a more accurate parameter adjustment range, so that the user can perform targeted tests on the vehicle. Afterwards, in response to the user's input operation for the target scene adjustment parameters in the parameter adjustment area, the real-time scene adjustment parameters for the target simulated vehicle are received, which facilitates the user to dynamically adjust the scene parameters during the test process.
[0046] S108. Output the real-time test results corresponding to the updated scene parameters.
[0047] Exemplarily, the test file may include multiple test contents, for example, multiple test scenarios for the same test object, multiple test scenario parameters for the same test scenario, etc. During the execution of the test file, the test result of each test content may be output in real time until the test file is executed and a complete test result is obtained.
[0048] In this embodiment, a test file for a target simulated vehicle is obtained, the test file includes a test program and initial test scenario parameters for the target simulated vehicle; the test file is executed, and a vehicle simulation test is performed based on the initial test scenario parameters; in the process of executing the test file, in response to receiving real-time scenario adjustment parameters for the target simulated vehicle, the initial test scenario parameters are updated based on the real-time scenario adjustment parameters, and the vehicle simulation test is completed based on the updated scenario parameters; and the real-time test results corresponding to the updated scenario parameters are output. Through the embodiment of the present application, the real-time scenario adjustment parameters for the target simulated vehicle can be received in real time during the execution of the test file, and the real-time test results can be promptly responded to and output in the test results, so that the user can adjust the test process at any time during the test process, and can respond and output the corresponding real-time test results in real time without resetting the entire test process, thereby improving the test efficiency.
[0049] In some optional embodiments, real-time test results corresponding to updated scenario parameters are output, including: if it is monitored that the execution of the test file is completed, the current state parameters of the target simulation vehicle are restored to the initial state parameters, and the real-time test results corresponding to the updated scenario parameters are output.
[0050] Exemplarily, the execution of the test file is monitored. If it is detected that the execution of the test file has ended, that is, the main test process has ended, the test end process is executed, and the current state parameters of the target simulated vehicle can be restored to the initial state parameters. The parameter values in the parameter adjustment area in the target interactive interface can also be reset or cleared, etc., and the real-time test results corresponding to the updated scene parameters are output.
[0051] In this embodiment, when it is monitored that the execution of the test file is completed, the current state parameters of the target simulated vehicle are restored to the initial state parameters, and the test results are output to complete the test end process, thereby realizing the full-process simulation test for the target simulated vehicle.
[0052] In some optional embodiments, the target interaction interface also includes a test mode adjustment area, and the vehicle simulation test method of this embodiment also includes: in response to a first input operation of a user in the test mode adjustment area, determining that the test mode of the target simulated vehicle is a first test mode; or, in response to a second input operation of a user in the test mode adjustment area, determining that the test mode of the target simulated vehicle is a second test mode; and the total test time for executing the test file in the first test mode is greater than the total test time for executing the test file in the second test mode.
[0053] For example, refer to Figure 2, the target interaction interface may also include a test mode adjustment area, the test mode adjustment area may include a test mode switching button, and the user may switch the test mode between the first test mode and the second test mode through the test mode switching button. Alternatively, the test mode adjustment area may include options for the first test mode and the second test mode, and the user may directly select the first test mode or the second test mode. Before the test starts, the user may select the test mode of the target simulation vehicle as the first test mode through the first input operation in the test mode adjustment area. The first test mode may be a slow simulation mode. When a test instruction corresponds to multiple execution actions, it supports executing an execution action corresponding to a test instruction before executing the next execution action, that is, there is a certain time interval between multiple execution actions, which is convenient for the user to observe the response effect of each execution action and the corresponding test result output, and facilitate the troubleshooting of detailed problems. The user may select the test mode of the target simulation vehicle as the second test mode through the second input operation in the test mode adjustment area. The second test mode may be a fast simulation mode. The total test time of executing the test file in the second test mode is less than the total test time of executing the test file in the first test mode. The second test mode can simulate the actual operation of a real vehicle. When a test instruction corresponds to multiple execution actions, multiple actions are executed synchronously, making it convenient for users to observe the overall effect of the on-board software or scene of the target simulated vehicle on the actual vehicle.
[0054] In this embodiment, the first test mode and the second test mode are set in the test mode adjustment area, and the user can select the test mode according to actual needs, thereby improving the user experience.
[0055] Reference Figure 3 , shows a structural block diagram of a vehicle simulation test device according to an exemplary embodiment of the present application.
[0056] The vehicle simulation test device of this embodiment includes an acquisition module 302 , a test module 304 and an output module 306 .
[0057] Among them, the acquisition module 302 is used to obtain a test file for a target simulated vehicle, the test file includes a test program and initial test scenario parameters for the target simulated vehicle; the test module 304 is used to execute the test file and perform a vehicle simulation test based on the initial test scenario parameters; in the process of executing the test file, in response to receiving real-time scenario adjustment parameters for the target simulated vehicle, the initial test scenario parameters are updated based on the real-time scenario adjustment parameters, and the vehicle simulation test is completed based on the updated scenario parameters; the output module 306 is used to output real-time test results corresponding to the updated scenario parameters.
[0058] In some optional embodiments, the test module 304 is also used to: generate target scene adjustment parameters for the target simulated vehicle in the parameter adjustment area of the target interaction interface based on the test file; and receive real-time scene adjustment parameters for the target simulated vehicle in response to the user's input operation for the target scene adjustment parameters in the parameter adjustment area.
[0059] In some optional embodiments, the test module 304 is also used to: start executing a test file based on pre-set initial state parameters of the target simulated vehicle, the test file including a test start condition; determine whether the initial state parameters of the target simulated vehicle meet the test start condition in the test file; if the initial state parameters meet the test start condition, execute the test file.
[0060] In some optional embodiments, the test module 304 is further used to: if it is detected that the execution of the test file is completed, restore the current state parameters of the target simulated vehicle to the initial state parameters, and output the real-time test results corresponding to the updated scene parameters.
[0061] In some optional embodiments, the target interaction interface also includes a test mode adjustment area, and the vehicle simulation test device of this embodiment also includes a test mode switching module, which is used to: determine that the test mode of the target simulation vehicle is a first test mode in response to a first input operation of a user in the test mode adjustment area; or, determine that the test mode of the target simulation vehicle is a second test mode in response to a second input operation of a user in the test mode adjustment area; and the total test time for executing the test file in the first test mode is greater than the total test time for executing the test file in the second test mode.
[0062] In some optional embodiments, the test module 304 is further configured to: output a startup failure prompt message if the initial state parameters of the target simulated vehicle do not meet the test startup conditions in the test file.
[0063] The vehicle simulation test device of this embodiment is used to implement the corresponding vehicle simulation test management method in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the vehicle simulation test device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be repeated here.
[0064] Reference Figure 4 , shows a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0065] like Figure 4As shown, the electronic device may include: a processor (processor) 401, a memory (memory) 403, a communication bus (communication bus) 404, and a communication interface (Communications Interface) 405.
[0066] Wherein: the processor 401 , the memory 403 and the communication interface 405 communicate with each other via the communication bus 404 .
[0067] The communication interface 405 is used to communicate with other electronic devices or servers.
[0068] The processor 401 is used to execute the program 402, and specifically can execute the steps of any one of the vehicle simulation test methods in the above embodiments.
[0069] Specifically, the program 402 may include program codes, which include computer operation instructions.
[0070] The processor 401 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. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0071] The memory 403 is used to store the program 402. The memory 403 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0072] Program 402 can be specifically used to enable processor 401 to execute to implement the steps of any vehicle simulation test method described in the embodiment. The specific implementation of each step in program 402 can refer to the corresponding description in the steps and units executed by any vehicle simulation test method in the above steps, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described equipment and modules can refer to the corresponding process description in the aforementioned method embodiment.
[0073] An embodiment of the present application further provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the vehicle simulation test method as described in any one of the above-mentioned multiple method embodiments is implemented.
[0074] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to the vehicle simulation test method described in any one of the above-mentioned multiple method embodiments.
[0075] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0076] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an AS IC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown here, the execution of the code converts the general-purpose computer into a dedicated computer for executing the method shown here.
[0077] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0078] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A vehicle simulation test method, characterized in that: include: Acquire a test file for a target simulated vehicle, wherein the test file includes a test program and initial test scenario parameters for the target simulated vehicle; Executing the test file to perform a vehicle simulation test based on the initial test scenario parameters; In the process of executing the test file, in response to receiving the real-time scenario adjustment parameters for the target simulated vehicle, updating the initial test scenario parameters based on the real-time scenario adjustment parameters, and completing the vehicle simulation test based on the updated scenario parameters; The real-time test results corresponding to the updated scene parameters are output.
2. The vehicle simulation test method according to claim 1, characterized in that: The method further comprises: Based on the test file, generating target scenario adjustment parameters for the target simulation vehicle in a parameter adjustment area of a target interaction interface; In response to a user input operation in the parameter adjustment area for adjusting parameters of the target scenario, a real-time scenario adjustment parameter for the target simulated vehicle is received.
3. The vehicle simulation test method according to claim 2, characterized in that: Before executing the test file, the method further includes: Based on the preset initial state parameters of the target simulated vehicle, start executing the test file, wherein the test file includes a test start condition; Determining whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file; If the initial state parameters meet the test start condition, the test file is executed.
4. The vehicle simulation test method according to claim 3, characterized in that: The output corresponds to the real-time test result of the updated scene parameters, including: If it is monitored that the execution of the test file is completed, the current state parameters of the target simulation vehicle are restored to the initial state parameters, and the real-time test results corresponding to the updated scene parameters are output.
5. The vehicle simulation test method according to claim 2, characterized in that: The target interaction interface also includes a test mode adjustment area, and the method further includes: In response to a first input operation of a user in the test mode adjustment area, the test mode of the target simulated vehicle is determined to be a first test mode; or, in response to a second input operation of a user in the test mode adjustment area, the test mode of the target simulated vehicle is determined to be a second test mode; the total test time for executing the test file in the first test mode is greater than the total test time for executing the test file in the second test mode.
6. The vehicle simulation test method according to claim 3, characterized in that: The method further comprises: If the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file, a start failure prompt message is output.
7. A vehicle simulation test device, characterized in that: include: An acquisition module, used to acquire a test file for a target simulated vehicle, wherein the test file includes a test program and initial test scenario parameters for the target simulated vehicle; A test module, configured to execute the test file and perform a vehicle simulation test based on the initial test scenario parameters; in the process of executing the test file, in response to receiving a real-time scenario adjustment parameter for the target simulated vehicle, update the test scenario parameters based on the real-time scenario adjustment parameter, and complete the vehicle simulation test based on the updated scenario parameters; The output module is used to output the real-time test results corresponding to the updated scene parameters.
8. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method according to any one of claims 1 to 6.
9. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions instruct a computing device to execute operations corresponding to the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Automatic testing method and device, computer equipment and storage medium
CN113515463A
Automatic driving test method, device and system based on digital twin technology
CN114488851A
Test scene simulation system and method, electronic equipment and storage medium
CN115374016A
Visual vehicle testing method and device based on SOA service architecture
CN116242627A
Simulation scene test method and device, equipment and storage medium
CN116305529A