Vehicle simulation test method and device, storage medium, electronic equipment and computer program product

This vehicle simulation testing method, which adjusts parameters and updates test scenario parameters in real time in response to user input, solves the problem of untimely test response in existing technologies and improves test efficiency.

CN119782158BActive Publication Date: 2026-02-17Z-ONE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411842953.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2026-02-17
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

Existing vehicle simulation testing methods suffer from slow test response and low testing efficiency when faced with complex in-vehicle software.

Method used

A vehicle simulation testing method is provided, which acquires test files and performs simulation tests based on initial test scenario parameters, responds in real time to user input to adjust parameters, updates test scenario parameters, and outputs real-time test results.

Benefits of technology

It enables real-time response to user adjustments during testing, improving testing efficiency without requiring the entire testing process to be reset, thus enhancing the flexibility and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782158B_ABST
    Figure CN119782158B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a vehicle simulation test method and device, a storage medium, an electronic device and a computer program product, wherein the vehicle simulation test method comprises: obtaining a test file for a target simulation vehicle, the test file comprising a test program for the target simulation vehicle and initial test scene parameters; executing the test file, and performing vehicle simulation test based on the initial test scene parameters; in the process of executing the test file, in response to receiving real-time scene adjustment parameters for the target simulation vehicle, updating the initial test scene parameters based on the real-time scene adjustment parameters, and completing the vehicle simulation test based on the updated scene parameters; and outputting real-time test results corresponding to the updated scene parameters. Embodiments of the present application can facilitate users to adjust the test process at any time during the test process, and can output corresponding test results in real time without resetting the entire test process, thereby improving test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a vehicle simulation testing method, apparatus, storage medium, electronic device, and computer program product. Background Technology

[0002] When conducting vehicle testing, it is necessary to perform functional testing on the vehicle's software. Simulation testing software is typically used to simulate the vehicle's state parameters and environmental parameters in different scenarios, thereby enabling the functional testing of the vehicle's onboard software.

[0003] As the ecosystem of in-vehicle software becomes increasingly rich and its functions become more complex, current simulation testing methods suffer from problems such as untimely test response, resulting in low testing efficiency. Summary of the Invention

[0004] In view of the above, embodiments of this application provide a vehicle simulation testing method, apparatus, storage medium, electronic device, and computer program product to at least partially solve the above problems.

[0005] According to a first aspect of the embodiments of this application, a vehicle simulation testing method is provided, comprising: acquiring a test file for a target simulated vehicle, the test file including a test program for the target simulated vehicle and initial test scenario parameters; executing the test file and performing vehicle simulation testing based on the initial test scenario parameters; during the execution of the test file, in response to receiving 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; and outputting real-time test results corresponding to the updated scenario parameters.

[0006] In some optional embodiments, the vehicle simulation testing method of this embodiment further includes: generating target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of ​​the target interactive interface based on the test file; and receiving real-time scene adjustment parameters for the target simulation vehicle in response to the user's input operation of adjusting the target scene parameters in the parameter adjustment area.

[0007] In some optional embodiments, before executing the test file, the method of this embodiment further includes: starting the execution of the test file based on the pre-set initial state parameters of the target simulation vehicle, the test file including test start conditions; determining whether the initial state parameters of the target simulation vehicle meet the test start conditions in the test file; if the initial state parameters meet the test start conditions, then executing the test file.

[0008] In some optional embodiments, the output of real-time test results corresponding to the updated scene parameters includes: if the execution of the test file is detected to have ended, 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.

[0009] In some optional embodiments, the target interactive interface further includes a test mode adjustment area. The vehicle simulation test method of this embodiment further includes: in response to a first input operation by the user in the test mode adjustment area, determining the test mode of the target simulation vehicle as a first test mode; or, in response to a second input operation by the user in the test mode adjustment area, determining the test mode of the target simulation vehicle as a second test mode; the total test time of executing the test file in the first test mode is greater than the total test time of 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, then output a start failure prompt message.

[0011] According to a second aspect of the embodiments of this application, a vehicle simulation testing apparatus is provided, comprising: an acquisition module, configured to acquire a test file for a target simulated vehicle, the test file including a test program for the target simulated vehicle and initial test scenario parameters; a testing module, configured to execute the test file and perform vehicle simulation testing based on the initial test scenario parameters; during the execution of the test file, in response to receiving 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; and an output module, configured to output real-time test results corresponding to the updated scenario parameters.

[0012] In some optional embodiments, the testing module is further configured to: generate target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of ​​the target interactive interface based on the test file; and receive real-time scene adjustment parameters for the target simulation vehicle in response to the user's input operation for adjusting the target scene parameters in the parameter adjustment area.

[0013] In some optional embodiments, the testing module is further configured to: initiate the execution of a test file based on the pre-set initial state parameters of the target simulated vehicle, the test file including test start conditions; determine whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file; and execute the test file if the initial state parameters meet the test start conditions.

[0014] In some optional embodiments, the test module is further configured to: if the execution of the test file is detected to have ended, 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.

[0015] In some optional embodiments, the target interactive interface further includes a test mode adjustment area. The vehicle simulation test device in this embodiment further includes a test mode switching module, used to: determine the test mode of the target simulation vehicle as a first test mode in response to a first input operation by the user in the test mode adjustment area; or, determine the test mode of the target simulation vehicle as a second test mode in response to a second input operation by the user in the test mode adjustment area; the total test time of executing the test file in the first test mode is greater than the total test time of executing the test file in the second test mode.

[0016] In some optional embodiments, the test module is also configured to: output a start-up failure message if the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file.

[0017] According to a third aspect of the embodiments of this application, a computer storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the method of the first aspect.

[0018] According to a fourth aspect of the embodiments of this application, an electronic device is provided, including a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform an operation corresponding to the method of the first aspect.

[0019] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including computer instructions that instruct a computing device to perform an operation corresponding to the method of the first aspect.

[0020] This application provides a vehicle simulation testing method, apparatus, storage medium, electronic device, and computer program product. The vehicle simulation testing method includes: acquiring a test file for a target simulated vehicle, the test file including a test program and initial test scenario parameters for the target simulated vehicle; executing the test file to perform vehicle simulation testing based on the initial test scenario parameters; during the execution of the test file, responding to receiving real-time scenario adjustment parameters for the target simulated vehicle, updating the 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. This application allows for real-time reception of updated real-time scenario adjustment parameters for the target simulated vehicle during the execution of the test file, and timely output of real-time test results. This facilitates user adjustments to the testing process at any time and enables real-time output of corresponding real-time test results without resetting the entire testing process, thus improving testing efficiency. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0022] Figure 1 This is a flowchart illustrating the steps of a vehicle simulation testing method according to an exemplary embodiment of this application.

[0023] Figure 2 This is a schematic diagram of the target interactive interface of a vehicle simulation testing method according to an exemplary embodiment of this application;

[0024] Figure 3 This is a structural block diagram of a vehicle simulation testing apparatus according to an exemplary embodiment of this application;

[0025] Figure 4 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of this application. Detailed Implementation

[0026] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.

[0027] Reference Figure 1 The diagram illustrates a flowchart of the steps of a vehicle simulation testing method according to an exemplary embodiment of this application.

[0028] As shown in the figure, this embodiment mainly includes the following steps:

[0029] S102. Obtain the test file for the target simulated vehicle.

[0030] The test files include test procedures and initial test scenario parameters for the target simulated vehicle.

[0031] The vehicle simulation testing method of this embodiment can be applied to user equipment, which may include any one or more user devices suitable for displaying vehicle test results, interacting with users, etc. In some embodiments, the user equipment may include any suitable type of device. For example, in some embodiments, the user equipment may include mobile devices, tablet computers, laptop computers, desktop computers, and / or any other suitable type of user equipment.

[0032] For example, the test file for the target simulated vehicle can be a pre-written test program by the user. The test program instructs multiple test items for the target simulated vehicle, each including a test scenario, a test object (e.g., a specific in-vehicle software), etc. The test file also includes initial test scenario parameters for each test scenario, such as ambient temperature parameters and weather condition parameters. The user equipment can provide a test interface where the user can upload the test file.

[0033] S104. Execute the test file and perform vehicle simulation testing based on the initial test scenario parameters.

[0034] For example, before testing the target simulated vehicle, the user can pre-set the initial state parameters of the target simulated vehicle, such as the state of the windows, doors, and lights. 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 further includes: starting the execution of the test file based on the pre-set initial state parameters of the target simulation vehicle, the test file including test start conditions; determining whether the initial state parameters of the target simulation vehicle meet the test start conditions in the test file; if the initial state parameters meet the test start conditions, then executing the test file.

[0036] For example, the test start conditions may include requirements for the initial state parameters of the target simulated vehicle, such as requirements for the state of windows, doors, and lights. Based on the pre-set initial state parameters of the target simulated vehicle, the test file is started and executed. It is determined whether the initial state parameters of the target simulated vehicle meet the test start conditions in the test file, such as whether the windows, doors, and lights are closed. The test start conditions may include one or more of the above, and this embodiment does not limit this. If the determination result is that the initial state parameters of the target simulated vehicle meet the test start conditions, it indicates that the start is successful, and the test file continues to be executed.

[0037] In this embodiment, by determining 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, ensuring that the initial state parameters of the target simulated vehicle meet the test start requirements. This allows the test content in the test file to be tested, 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, then output a start failure prompt message.

[0039] For example, 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 status of the target simulated vehicle is closed, but the initial state parameters of the target simulated vehicle indicate that the window status is open, then the start-up fails, the test file is stopped, and a start-up failure prompt message can be output. The start-up failure prompt message can include the reason for the start-up failure, for example, outputting "Start-up failed, reason: window status is open". The output method of the start-up failure prompt message can be voice broadcast, text display, etc., and this embodiment does not limit this.

[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 start failure prompt message is output to facilitate users in troubleshooting test problems.

[0041] S106. During the execution of the test file, in response to receiving real-time scene adjustment parameters for the target simulated vehicle, the initial test scene parameters are updated based on the real-time scene adjustment parameters, and the vehicle simulation test is completed based on the updated scene parameters.

[0042] For example, during the execution of the test file, the user can input real-time scene adjustment parameters for the target simulated vehicle through the target interactive interface. In response to the received real-time scene adjustment parameters, the initial test scene parameters in the test file are updated based on the real-time scene adjustment parameters, and the vehicle simulation test is completed based on the updated scene parameters. For instance, the test object is an in-vehicle control software designed to provide a comfortable environment for a user's summer afternoon nap. The goal is to enable the software to open the windows for ventilation when the outside temperature is less than or equal to 26 degrees Celsius, and to activate the in-vehicle air conditioning when the outside temperature is greater than or equal to 27 degrees Celsius. When testing this in-vehicle control software, assuming the initial outside temperature is set to 24 degrees Celsius in the test file, the test result will show the software opening the windows for ventilation. If the user wants to temporarily adjust the outside temperature, they can pause the test program in the test file without exiting the current test and adjust the outside temperature setting to 30 degrees Celsius through the target interactive interface. This will then yield the corresponding real-time test result, such as the software activating the in-vehicle air conditioning.

[0043] In some optional embodiments, the vehicle simulation testing method of this embodiment further includes: generating target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of ​​the target interactive interface based on the test file; and receiving real-time scene adjustment parameters for the target simulation vehicle in response to the user's input operation of adjusting the target scene parameters in the parameter adjustment area.

[0044] For example, refer to Figure 2The target interactive interface includes a parameter adjustment area. Based on the test content included in the test file, such as relevant parameters involved in the test scenario, the parameter adjustment area generates target scenario adjustment parameters for the target simulated vehicle. For example, when the test object in the test content is the aforementioned vehicle control software, the generated target scenario adjustment parameters may include ambient temperature parameters, weather status parameters, etc. The initially generated target scenario adjustment parameters can be empty or pre-set in the test file; this embodiment does not impose any restrictions. Users can adjust the target scenario adjustment parameters in the parameter adjustment area during the execution of the test file, such as modifying the ambient temperature (e.g., changing the ambient temperature from 24 degrees to 30 degrees) or modifying the weather status (e.g., changing the weather status from sunny to rainy). In response to the user's input operation for adjusting the target scenario parameters in the parameter adjustment area, the user device can receive real-time scenario adjustment parameters for the target simulated vehicle.

[0045] In this embodiment, based on the test file, target scene adjustment parameters for the target simulated vehicle are generated in the parameter adjustment area of ​​the target interactive interface. This provides the user with a more accurate parameter adjustment range, enabling the user to conduct targeted tests on the vehicle. Subsequently, in response to the user's input operation for adjusting the target scene parameters in the parameter adjustment area, real-time scene adjustment parameters for the target simulated vehicle are received, facilitating the user to dynamically adjust scene parameters during testing.

[0046] S108. Output the real-time test results corresponding to the updated scene parameters.

[0047] For example, a test file may include multiple test items, such as tests for multiple test scenarios targeting the same test object, or multiple test scenario parameters for the same test scenario. During the execution of the test file, the test results for each test item can be output in real time until the test file is completed, yielding a complete test result.

[0048] In this embodiment, a test file for the 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 vehicle simulation testing is performed based on the initial test scenario parameters. During the execution of 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. Real-time test results corresponding to the updated scenario parameters are output. This embodiment allows for the timely receipt of real-time scenario adjustment parameters for the target simulated vehicle during the execution of the test file, and timely output of real-time test results. This facilitates users in adjusting the test process at any time and provides real-time response and output of corresponding real-time test results without resetting the entire test process, thus improving test efficiency.

[0049] In some optional embodiments, the output of real-time test results corresponding to the updated scene parameters includes: if the execution of the test file is detected to have ended, 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.

[0050] For example, the execution status of the test file is monitored. If the execution of the test file is detected to have ended, that is, the main test process ends, the test end process is executed. This process can restore the current state parameters of the target simulation vehicle to the initial state parameters, and can also reset or clear the parameter values ​​in the parameter adjustment area of ​​the target interactive interface, and output the real-time test results corresponding to the updated scene parameters.

[0051] In this embodiment, upon detecting the completion of the test file execution, the current state parameters of the target simulation vehicle are restored to the initial state parameters, and the test results are output, thus completing the test completion process and realizing the full-process simulation test for the target simulation vehicle.

[0052] In some optional embodiments, the target interactive interface further includes a test mode adjustment area. The vehicle simulation test method of this embodiment further includes: in response to a first input operation by the user in the test mode adjustment area, determining the test mode of the target simulation vehicle as a first test mode; or, in response to a second input operation by the user in the test mode adjustment area, determining the test mode of the target simulation vehicle as a second test mode; the total test time of executing the test file in the first test mode is greater than the total test time of executing the test file in the second test mode.

[0053] For example, refer to Figure 2The target interface may also include a test mode adjustment area, which may include a test mode switching button. Users can switch between a first test mode and a second test mode using this button. Alternatively, the test mode adjustment area may include options for a first test mode and a second test mode, allowing users to directly select either one. Before the test begins, users can select the target simulation vehicle's test mode as the first test mode through a first input operation in the test mode adjustment area. The first test mode can be a slow simulation mode, supporting the execution of one action after another when a test command corresponds to multiple actions. This time interval between multiple actions allows users to observe the response effect of each action and the corresponding test result output, facilitating the troubleshooting of detailed issues. Users can select the target simulation vehicle's test mode as the second test mode through a second input operation in the test mode adjustment area. The second test mode can be a fast simulation mode, where the total test time for executing the test file in the second test mode is less than the total test time for executing the test file in the first test mode. The second test mode can simulate the actual operation of a real vehicle. When one test command corresponds to multiple execution actions, the multiple actions are executed simultaneously, making it convenient for users to observe the overall effect of the target simulated vehicle's onboard software or scenario in the actual vehicle operation.

[0054] In this embodiment, a first test mode and a second test mode are set in the test mode adjustment area. Users can select the test mode according to their actual needs, thereby improving the user experience.

[0055] Reference Figure 3 The diagram shows a structural block diagram of a vehicle simulation testing apparatus according to an exemplary embodiment of the present application.

[0056] The vehicle simulation testing device in this embodiment includes an acquisition module 302, a testing module 304, and an output module 306.

[0057] The module 302 is used to acquire a test file for the target simulated vehicle, which 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 vehicle simulation testing based on the initial test scenario parameters. During the execution of the test file, in response to receiving real-time scenario adjustment parameters for the target simulated vehicle, the module updates the initial test scenario parameters based on the real-time scenario adjustment parameters and completes the vehicle simulation test based on the updated scenario parameters. The output module 306 is used to output the real-time test results corresponding to the updated scenario parameters.

[0058] In some optional embodiments, the test module 304 is further configured to: generate target scene adjustment parameters for the target simulation vehicle in the parameter adjustment area of ​​the target interactive interface based on the test file; and receive real-time scene adjustment parameters for the target simulation 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 further configured to: initiate the execution of a test file based on the pre-set initial state parameters of the target simulation vehicle, the test file including test start conditions; determine whether the initial state parameters of the target simulation vehicle meet the test start conditions in the test file; and execute the test file if the initial state parameters meet the test start conditions.

[0060] In some optional embodiments, the test module 304 is further configured to: if the test file execution is detected to have ended, restore the current state parameters of the target simulation 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 interactive interface further includes a test mode adjustment area. The vehicle simulation test device in this embodiment further includes a test mode switching module, used to: determine the test mode of the target simulation vehicle as a first test mode in response to a first input operation by the user in the test mode adjustment area; or, determine the test mode of the target simulation vehicle as a second test mode in response to a second input operation by the user in the test mode adjustment area; the total test time of executing the test file in the first test mode is greater than the total test time of executing the test file in the second test mode.

[0062] In some optional embodiments, the test module 304 is further configured to: output a start-up failure message if the initial state parameters of the target simulated vehicle do not meet the test start conditions in the test file.

[0063] The vehicle simulation testing device of this embodiment is used to implement the corresponding vehicle simulation testing management methods in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. Furthermore, the functional implementation of each module in the vehicle simulation testing device of this embodiment can be referred to the description of the corresponding part in the foregoing method embodiments, which will also not be repeated here.

[0064] Reference Figure 4 This diagram illustrates a structural schematic of an electronic device according to an exemplary embodiment of the present application. The specific embodiments of the present invention do not limit the specific implementation of the electronic device.

[0065] like Figure 4As shown, the electronic device may include: a processor 401, a memory 403, a communication bus 404, and a communication interface 405.

[0066] The processor 401, memory 403, and communication interface 405 communicate with each other via communication bus 404.

[0067] Communication interface 405 is used for communication with other electronic devices or servers.

[0068] The processor 401 is used to execute the program 402, which can specifically execute the steps of any of the vehicle simulation test methods in the above embodiments.

[0069] Specifically, program 402 may include program code that includes computer operation instructions.

[0070] Processor 401 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this 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 they may be processors of different types, such as one or more CPUs and one or more ASICs.

[0071] Memory 403 is used to store program 402. Memory 403 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0072] Specifically, program 402 can be used to cause processor 401 to execute the steps of any of the vehicle simulation test methods described in the embodiments. The specific implementation of each step in program 402 can be found in the corresponding descriptions of the steps and units executed in any of the above-described vehicle simulation test methods, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments.

[0073] This application also provides a computer storage medium storing a computer program that, when executed by a processor, implements the vehicle simulation testing method as described in any of the above method embodiments.

[0074] This application also provides a computer program product, including computer instructions that instruct a computing device to perform operations corresponding to the vehicle simulation testing method described in any of the above-described method embodiments.

[0075] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.

[0076] The methods described in the embodiments of this application can be implemented in hardware, firmware, or 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 as computer code downloaded over a network that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium. Thus, the methods described herein can be processed by software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses the code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.

[0077] Those skilled in the art will recognize that the units and method steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0078] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.

Claims

1. A vehicle simulation test method characterized by comprising: The method comprises: obtaining a test file for a target simulation vehicle, the test file comprising a test program for the target simulation vehicle and initial test scene parameters; executing the test file to perform vehicle simulation testing based on the initial test scene parameters; during execution of the test file, in response to receiving real-time scene adjustment parameters for the target simulation vehicle, updating the initial test scene parameters based on the real-time scene adjustment parameters, and completing vehicle simulation testing based on the updated scene parameters; outputting real-time test results corresponding to the updated scene parameters; The method further comprises: based on the test file, generating target scene adjustment parameters for the target simulation vehicle in a parameter adjustment region of a target interaction interface; and in response to a user input operation on the target scene adjustment parameters in the parameter adjustment region, receiving real-time scene adjustment parameters for the target simulation vehicle. The target interaction interface further comprises a test mode adjustment region, and the method further comprises: in response to a first input operation of a user on the test mode adjustment region, determining that the test mode of the target simulation vehicle is a first test mode; or in response to a second input operation of a user on the test mode adjustment region, determining that the test mode of the target simulation vehicle is a second test mode; and the total test duration of the test file in the first test mode is greater than the total test duration of the test file in the second test mode.

2. The vehicle emulation test method of claim 1, wherein Before the execution of the test file, the method further comprises: based on the initial state parameters of the target simulation vehicle set in advance, starting execution of the test file, the test file comprising a test start condition; determining whether the initial state parameters of the target simulation vehicle satisfy the test start condition in the test file; if the initial state parameters satisfy the test start condition, executing the test file.

3. The vehicle emulation testing method of claim 2, wherein, The output of the real-time test results corresponding to the updated scene parameters comprises: if it is monitored that the execution of the test file is ended, restoring the current state parameters of the target simulation vehicle to the initial state parameters, and outputting the real-time test results corresponding to the updated scene parameters.

4. The vehicle emulation test method of claim 2, wherein The method further comprises: if the initial state parameters of the target simulation vehicle do not satisfy the test start condition in the test file, outputting a start failure prompt information.

5. A vehicle simulation test apparatus characterized by comprising: The method comprises: an obtaining module configured to obtain a test file for a target simulation vehicle, the test file comprising a test program for the target simulation vehicle and initial test scene parameters; a test module configured to execute the test file to perform vehicle simulation testing based on the initial test scene parameters; during execution of the test file, in response to receiving real-time scene adjustment parameters for the target simulation vehicle, update the test scene parameters based on the real-time scene adjustment parameters, and complete vehicle simulation testing based on the updated scene parameters; an output module configured to output real-time test results corresponding to the updated scene parameters; The test module is further configured to generate a target scene adjustment parameter for the target simulation vehicle based on the test file and at the parameter adjustment region of the target interactive interface; and receive a real-time scene adjustment parameter for the target simulation vehicle in response to an input operation of the user at the parameter adjustment region for the target scene adjustment parameter. The target interactive interface further includes a test mode adjustment region, and the vehicle simulation testing device further includes a test mode switching module configured to determine that the test mode of the target simulation vehicle is a first test mode in response to a first input operation of the user at the test mode adjustment region, or determine that the test mode of the target simulation vehicle is a second test mode in response to a second input operation of the user at the test mode adjustment region; and the total test duration of the test file in the first test mode is greater than the total test duration of the test file in the second test mode.

6. An electronic device, comprising: The computer program product comprises a computer program and a computer readable storage medium storing the computer program, and the computer program is directly readable by the computer. The processor, the memory, and the communication interface complete communication with each other through the communication bus. The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the method in any one of claims 1-4.

7. A computer storage medium having stored thereon a computer program, characterized in that The program is executed by the processor to implement the method in any one of claims 1-4.

8. A computer program product, characterised in that, The computer program comprises computer instructions, and the computer instructions instruct the computing device to perform operations corresponding to the method in any one of claims 1-4.

Citation Information

Patent Citations

  • Simulation scene test method and device, equipment and storage medium

    CN116305529A