Vehicle performance test method and device
By mapping the car performance test results to virtual reality devices and generating animations, the problem that non-technical personnel cannot intuitively observe car performance is solved, and the intuitiveness and visualization of test results are improved.
Patent Information
- Application Number
- CN202310776749.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2025-01-07
AI Technical Summary
In the prior art, the results of automobile performance tests are usually data or pictures. Non-technical personnel cannot observe vehicle performance intuitively and lack intuitive observation methods.
By obtaining vehicle and test scenario parameters, performing performance tests, and mapping results into virtual reality devices, generating performance test animations, improving the intuitiveness of results.
This enables users to intuitively observe vehicle performance test results through virtual reality devices, improving the visualization and understanding of test results.
Smart Images

Figure CN119269112A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a vehicle performance testing method, a vehicle performance testing device, a computing device, and a computer-readable storage medium. Background Art
[0002] With the rapid development of the automobile industry, in order to ensure the normal operation of the automobile or provide a basis for automobile maintenance, testing the comprehensive performance of the automobile is an indispensable process.
[0003] At present, comprehensive performance testing of automobiles usually involves performing performance tests on the vehicle, obtaining performance test results, and determining the comprehensive performance of the vehicle based on the performance test results. However, the performance test results are usually data or pictures, and non-technical personnel cannot intuitively observe the performance of the vehicle only through data or pictures. Therefore, a method for intuitively observing vehicle test performance is urgently needed. Summary of the invention
[0004] In view of this, the embodiment of the present application provides a vehicle performance test method. The present application also relates to a vehicle performance test device, a computing device, and a computer-readable storage medium to solve the above problems existing in the prior art.
[0005] According to a first aspect of an embodiment of the present application, a vehicle performance testing method is provided, comprising:
[0006] Obtain vehicle parameters and test scenario parameters of the vehicle to be tested;
[0007] Based on the vehicle parameters and the test scenario parameters, a performance test is performed on the vehicle to be tested, and a performance test result of the vehicle to be tested is obtained;
[0008] Based on the virtual space parameters of the target virtual reality device, the performance test results are mapped to the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested.
[0009] According to a second aspect of an embodiment of the present application, a vehicle performance testing device is provided, comprising:
[0010] An acquisition module is configured to acquire vehicle parameters and test scenario parameters of the vehicle to be tested;
[0011] A test module is configured to perform a performance test on the vehicle to be tested based on vehicle parameters and test scenario parameters, and obtain a performance test result of the vehicle to be tested;
[0012] The mapping module is configured to map the performance test results to the target virtual reality device based on the virtual space parameters of the target virtual reality device, and generate a performance test animation corresponding to the vehicle to be tested.
[0013] According to a third aspect of an embodiment of the present application, a computing device is provided, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the vehicle performance testing method when executing the computer instructions.
[0014] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer instructions, and when the computer instructions are executed by a processor, the steps of the vehicle performance testing method are implemented.
[0015] In one or more embodiments of the present application, vehicle parameters and test scene parameters of the vehicle to be tested are obtained; based on the vehicle parameters and test scene parameters, a performance test is performed on the vehicle to be tested to obtain a performance test result of the vehicle to be tested; based on the virtual space parameters of the target virtual reality device, the performance test result is mapped to the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested. Based on the vehicle parameters and test scene parameters of the vehicle to be tested, a performance test is performed on the vehicle to be tested to obtain a performance test result of the vehicle to be tested, and the performance test result is mapped to the target virtual reality device to convert the performance test result to a virtual reality dimension, and a performance test result corresponding to the vehicle to be tested is generated, thereby improving the intuitiveness of the performance test result, thereby enabling the user to intuitively view the performance test result of the vehicle to be tested through the target virtual reality device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of a vehicle performance testing method provided by an embodiment of the present application;
[0017] Figure 2a is a processing flow chart of a vehicle performance testing method provided in an embodiment of the present application;
[0018] Figure 2b is a schematic diagram of an interactive design in a vehicle performance testing method provided in an embodiment of the present application;
[0019] Figure 2c A schematic diagram of a performance test animation frame in a vehicle performance test method provided by an embodiment of the present application is shown;
[0020] Figure 2d is a file generation flow chart of a vehicle performance testing method provided by an embodiment of the present application;
[0021] Figure 3 It is a structural schematic diagram of a vehicle performance testing device provided by an embodiment of the present application;
[0022] Figure 4 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0023] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0024] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0025] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0026] First, the terms involved in one or more embodiments of the present application are explained.
[0027] Virtual reality technology (VR) is a computer simulation system that can create and experience a virtual world. It uses computers to generate a simulated environment and immerse users in it.
[0028] Augmented Reality (AR): Also known as augmented reality, AR technology is a newer technology that integrates real-world information and virtual-world information.
[0029] User Interface (UI): refers to the collection and feedback, input and output of information, which is the interactive behavior between people and products based on the interface.
[0030] User Experience (UE) refers to a person's emotions and attitudes when using a specific product, system or service.
[0031] With the rapid development of the automobile industry, in order to ensure the normal operation of the automobile or provide a basis for automobile maintenance, testing the comprehensive performance of the automobile is an indispensable process.
[0032] At present, comprehensive performance testing of automobiles usually involves performing performance tests on the vehicle, obtaining performance test results, and determining the comprehensive performance of the vehicle based on the performance test results. However, the performance test results are usually data or pictures, and non-technical personnel cannot intuitively observe the performance of the vehicle only through data or pictures. Therefore, a method for intuitively observing vehicle test performance is urgently needed.
[0033] In the present application, a vehicle performance testing method is provided. The present application also relates to a vehicle performance testing device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0034] Figure 1 A flow chart of a vehicle performance testing method provided according to an embodiment of the present application is shown, which specifically includes the following steps:
[0035] Step 102: Obtain vehicle parameters and test scenario parameters of the vehicle to be tested.
[0036] When there is a need to perform performance testing on a vehicle, vehicle performance parameters and test scenario parameters of the vehicle to be tested are obtained.
[0037] Specifically, vehicle parameters refer to parameters of vehicle attribute performance, for example, vehicle parameters include vehicle appearance and vehicle configuration, where the vehicle appearance may include vehicle color, vehicle tire model, vehicle A-pillar width, etc., and vehicle configuration may include vehicle 0-100-meter acceleration parameters, vehicle rigidity, etc. Test scenario parameters refer to entity parameters required for the test scenario, for example, the vehicle collision test scenario includes the location and size of obstacles, the area of the test scenario, etc.
[0038] The implementation method for obtaining the vehicle parameters and test scenario parameters of the vehicle to be tested may be to obtain them from a first database storing vehicle parameters and a second database storing test scenario parameters based on a preset parameter acquisition identifier; or it may be possible to open a parameter upload channel for users to input parameters through the front end, and have the users upload the vehicle parameters and test scenario parameters of the vehicle to be tested through the parameter upload channel on the front end.
[0039] By obtaining the vehicle parameters and test scene parameters of the vehicle to be tested, performance testing can be performed based on the vehicle parameters and test scene parameters, and the performance test results can be mapped to the target virtual reality device to generate a performance test animation so that users can intuitively observe the vehicle performance test results.
[0040] Step 104: Based on the vehicle parameters and the test scenario parameters, a performance test is performed on the vehicle to be tested to obtain a performance test result of the vehicle to be tested.
[0041] Specifically, the performance test results refer to the test results of vehicle performance. The performance test results can characterize the performance of the vehicle. For example, in a vehicle collision test scenario, the performance test results can be the collision degree of the vehicle and the collision degree of the obstacle collided by the vehicle, etc. In a vehicle 100-meter acceleration test scenario, the performance test results can be the speed change of the vehicle's 100-meter acceleration, the speed of the vehicle at 100 meters, the degree of deformation of the window, etc.
[0042] There are many ways to perform performance testing on the vehicle to be tested based on vehicle parameters and test scenario parameters and obtain performance test results of the vehicle to be tested. The specific implementation method is determined according to actual conditions and is not limited in this application.
[0043] In a possible implementation of the present application, a performance test is performed on a vehicle to be tested based on vehicle parameters and test scenario parameters to obtain a performance test result of the vehicle to be tested. This may be by building a vehicle test scenario model based on the test scenario parameters, building a vehicle model to be tested in the vehicle test scenario model based on the vehicle parameters, generating a test scenario model, and driving the vehicle model to be tested in the test scenario model to obtain a performance test result, wherein the vehicle model to be tested is a virtual three-dimensional model of the vehicle to be tested, and the vehicle test scenario model is a virtual three-dimensional model corresponding to the test scenario parameters.
[0044] In another possible implementation of the present application, a performance test is performed on the vehicle to be tested based on vehicle parameters and test scenario parameters to obtain a performance test result of the vehicle to be tested. The vehicle parameters and test scenario parameters can be input into a vehicle performance test model to obtain a performance test result of the vehicle to be tested.
[0045] Specifically, the vehicle performance test model refers to an application program / platform, etc., which performs performance testing on the vehicle to be tested.
[0046] Optionally, the vehicle performance test model may correspond to a test scenario. For example, if the test scenario is a vehicle collision test scenario, the vehicle performance test model is an application / platform for testing the vehicle collision performance.
[0047] Optionally, the vehicle parameters and test scenario parameters are input into the vehicle performance test model to obtain the performance test results of the vehicle to be tested. The implementation method is different based on the different settings of the vehicle performance test model. The specific selection is made according to the actual situation and this application is not limited here.
[0048] In one possible implementation of the present application, vehicle parameters and test scenario parameters are input into a vehicle performance test model to obtain a performance test result of the vehicle to be tested. The vehicle parameters and test scenario parameters are input into a vehicle performance test model to generate a target vehicle performance test model, and a performance test is performed on the vehicle to be tested based on the target vehicle performance test model to generate a performance test result of the vehicle to be tested.
[0049] In another possible implementation of the present application, vehicle parameters and test scenario parameters are input into a vehicle performance test model to obtain a performance test result of the vehicle to be tested. Based on the test scenario parameters, a vehicle performance test model corresponding to the test scenario parameters is obtained, and the vehicle parameters are input into the vehicle performance test model to obtain a performance test result of the vehicle to be tested.
[0050] Optionally, based on the different file structures of the performance test results of the vehicle to be tested, the vehicle parameters and the test scenario parameters are input into the vehicle performance test model, and the performance test results of the vehicle to be tested are also different. In one possible implementation method, the vehicle parameters and the test scenario parameters may be input into the vehicle performance test model, and the output results obtained may be converted into a format according to the file format of the vehicle parameters and the test scenario parameters to obtain the performance test results of the vehicle to be tested. In another possible implementation method, the vehicle parameters and the test scenario parameters may be input into the vehicle performance test model, and the output results obtained may be converted into a format according to a preset file format to obtain the performance test results of the vehicle to be tested.
[0051] By applying the solution of the embodiment of the present application, vehicle parameters and test scenario parameters are input into the vehicle performance test model to obtain the performance test results of the vehicle to be tested, so that the obtained performance test results are generated by the vehicle test performance model, so that subsequent mapping processing can be performed based on the performance test results, so that users can intuitively view the performance test results.
[0052] Optionally, the above step of inputting vehicle parameters and test scenario parameters into a vehicle performance test model to obtain a performance test result of the vehicle to be tested includes the following steps:
[0053] Inputting vehicle parameters and test scenario parameters into a vehicle performance test model to obtain an output result of the vehicle performance test model;
[0054] The output results are restored to the intermediate code file of program compilation to obtain the performance test results of the vehicle to be tested.
[0055] Specifically, the output result refers to the result output by the vehicle performance test model based on vehicle parameters and test scenarios, and the file dimension of the output result is related to the vehicle performance test model. The program compilation intermediate code file refers to the code file in the process of compiling the execution program.
[0056] The method of inputting vehicle parameters and test scenario parameters into a vehicle performance test model to obtain the output result of the vehicle performance test model may be to input vehicle parameters and test scenario parameters into the vehicle performance test model, and obtain the output result of the vehicle performance test model after processing by the vehicle performance test model.
[0057] The output result is restored to the program compilation intermediate code file to obtain the performance test result of the vehicle to be tested. The implementation method can be based on the program compilation intermediate code file template, the output result file is compared with the program compilation intermediate code file template, and based on the comparison result, the output result of the program compilation intermediate code file is generated and determined as the performance test result of the vehicle to be tested.
[0058] By applying the solution of the embodiment of the present application, vehicle parameters and test scenario parameters are input into a vehicle performance test model to obtain the output results of the vehicle performance test model, and the output results are restored to a program compiled intermediate code file to obtain the performance test results of the vehicle to be tested, so that corresponding mapping processing can be performed based on the restored test results to improve the intuitive display effect of the test results.
[0059] In actual applications, the performance test results of the vehicle to be tested are obtained in the form of data, and the performance of the vehicle to be tested cannot be intuitively observed through the performance test results. To solve the problem of not being able to intuitively view the performance, the following steps are performed based on the virtual space parameters of the target virtual reality device to map the performance test results to the target virtual reality device and generate a performance test animation corresponding to the vehicle to be tested.
[0060] Step 106: Based on the virtual space parameters of the target virtual reality device, the performance test results are mapped to the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested.
[0061] Specifically, the virtual space parameters refer to the reference parameters when mapping data to the target virtual reality device, such as visual parameters, interaction parameters, etc. The target virtual reality device refers to the device that displays the data intuitively, such as a VR device, an AR device, etc.
[0062] The performance test results may be mapped to the target virtual reality device based on the virtual space parameters of the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested. The performance test results may be converted to the virtual space dimensions of the target virtual reality device based on the virtual space parameters of the target virtual reality device, and a performance test animation corresponding to the vehicle to be tested may be generated based on the performance test results in the virtual space dimensions.
[0063] Optionally, the virtual space parameters may be determined in advance based on the device structure of the target virtual reality device.
[0064] Optionally, before the step of mapping the performance test result to the target virtual reality device based on the virtual space parameters of the target virtual reality device to generate the performance test animation corresponding to the vehicle to be tested, the method further includes:
[0065] The performance test results are input into a platform / application with simulation function to obtain the simulated performance test results, so as to enable subsequent mapping and display based on the simulated performance test results.
[0066] Optionally, the above steps map the performance test results to the target virtual reality device based on the virtual space parameters of the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested, including the following steps:
[0067] Obtain preset viewing angle information of the target virtual reality device;
[0068] Determine virtual space parameters of a target virtual reality device according to preset viewing angle information;
[0069] Based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device;
[0070] Based on the spatial coordinate data, a performance test animation corresponding to the vehicle to be tested is generated.
[0071] Specifically, the preset perspective information refers to the pre-set visual information for observing the situation, and the preset perspective information may include the placement position and placement angle of the perspective, etc. The spatial coordinate data refers to the performance test results in the corresponding coordinate system of the target virtual reality device. The performance test animation refers to the animation that displays the performance test process and results of the vehicle to be tested, and the performance test animation may be three-dimensional.
[0072] The implementation method for obtaining the preset viewing angle information of the target virtual reality device may be to identify the current viewing angle of the target virtual reality device and obtain the preset viewing angle information of the target virtual reality device based on the identification result; or it may be to plan the viewing angle based on the structure of the target virtual reality device and determine the preset viewing angle information of the target virtual reality device based on the planned viewing angle.
[0073] The method for determining the virtual space parameters of the target virtual reality device according to the preset viewing angle information may be to determine the angle information and position information of the preset viewing angle according to the preset viewing angle information, and determine the virtual space parameters of the target virtual reality device based on the angle information and the position information.
[0074] Based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device. There are many ways to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device. The specific implementation method is determined according to the actual situation, and this application does not limit it here.
[0075] In a possible implementation of the present application, based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device. The performance test results may be mapped to the spatial coordinate system of the target virtual reality device to obtain initial performance test results, and the initial performance test results are adjusted based on the virtual space parameters to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device.
[0076] In another possible implementation of the present application, based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device. The initial virtual space can be determined in the target virtual reality device based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device, and the performance test results in the spatial coordinate system are filled into the initial virtual space to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device.
[0077] The implementation method of generating the performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data can be to generate animation data for the performance test of the vehicle to be tested based on the spatial coordinate data, fill the interactive information in the animation data, and obtain the performance test animation corresponding to the vehicle to be tested.
[0078] By applying the solution of the embodiment of the present application, based on the preset viewing angle information of the target virtual reality device, the virtual space parameters are determined, so that the performance test results are mapped to the spatial coordinate system of the target virtual reality device using the virtual space parameters, and the performance test animation corresponding to the vehicle to be tested is obtained, so that the profound performance test animation is generated based on the performance test results in the spatial coordinate system corresponding to the target virtual reality device, thereby realizing the intuitive display of the performance test results of the vehicle to be tested.
[0079] Optionally, before the above step of generating the performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data, the following steps are also included:
[0080] Input the performance test results into the Unreal Engine, perform interactive design through the Unreal Engine, and obtain interactive parameters;
[0081] The above steps generate a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data, including the following steps:
[0082] Based on the spatial coordinate data and interaction parameters, a performance test animation corresponding to the vehicle to be tested is generated.
[0083] Specifically, Unreal Engine refers to an engine that generates interactive parameters in animations generated in target virtual reality devices. For example, Unreal Engine users generate interactive designs required for performance test animations in target virtual reality devices to obtain interactive parameters. Interactive design refers to adding interactive design actions and information to animations, such as displaying a control panel by clicking and displaying product information by touching. Interactive parameters refer to parameters required for interaction, such as interaction methods, interaction locations, interactive sound effects, etc., where interactive sound effects refer to sound effects that are emitted when interaction occurs.
[0084] Optionally, the Unreal Engine includes a physics collision module. Rigid object collision allows the user to fully utilize the program's object collision for real-world experience. All rendered objects and models can have dynamic properties set and simple collision sound effects made.
[0085] The performance test results are input into the Unreal Engine, and the Unreal Engine performs interaction design to obtain the interaction parameters. The implementation method may be that the performance test results are input into the Unreal Engine, and based on a preset interaction design method, the Unreal Engine performs interaction design based on the performance test results to obtain the interaction parameters. The preset interaction design method may be designed according to specific actual conditions. For example, the preset interaction design method may be to interact through interaction objects, and specifically, product information of the product may be obtained through the interaction objects. The Unreal Engine may perform interaction design based on the product information and the interaction objects to obtain the interaction parameters.
[0086] An implementation method for generating a performance test animation corresponding to the vehicle to be tested based on spatial coordinate data and interaction parameters may be to generate a first animation based on the spatial coordinate data, and based on the interaction parameters, add interaction content corresponding to the interaction parameters to the first animation to generate a performance test animation corresponding to the vehicle to be tested.
[0087] By applying the solution of the embodiment of the present application, the performance test results are input into the Unreal Engine, and the interaction design is performed through the Unreal Engine to obtain the interaction parameters, so that the implementation method of generating the performance test animation based on the spatial coordinate data is to generate the performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interaction parameters, so that interaction can be performed in the generated performance test animation, which adds a richer design for the intuitive display and improves the display quality of the performance test animation.
[0088] Optionally, the above steps of inputting the performance test results into the Unreal Engine, performing interaction design through the Unreal Engine, and obtaining interaction parameters include the following steps:
[0089] Obtaining pre-designed interactive objects and preset interactive information corresponding to performance tests;
[0090] Determine vehicle information after the performance test of the vehicle to be tested according to the performance test result;
[0091] The interactive object, preset interactive information and vehicle information are input into the Unreal Engine to obtain the interactive parameters.
[0092] Specifically, the interactive object refers to the object for interaction in the target virtual reality device, for example, the interactive object can be a small ball, a small cube, etc. Preset interactive information refers to the information that is preset to be processed accordingly when an interactive action occurs, for example, the preset interactive information can be the code that pops up the UI during the interaction. Vehicle information refers to the attribute information of the vehicle, for example, the vehicle information includes a series of information such as the appearance of the vehicle, the value of the vehicle, the power configuration of the vehicle, and the performance of the vehicle.
[0093] Optionally, the acquired interactive object may include an installation position and an installation angle of the angle object.
[0094] The implementation method of obtaining the preset interaction information corresponding to the performance test may be to obtain the preset interaction information corresponding to the performance test based on the performance test scenario parameters and the performance test results.
[0095] The method for determining the vehicle information after the performance test of the vehicle to be tested according to the performance test results may be to extract information from the performance test results to obtain the vehicle information after the performance test of the vehicle to be tested, wherein the extracted information dimension may vary according to different performance test scenario parameters. For example, if the performance test scenario is 100-meter acceleration, the extracted vehicle information at least includes the vehicle's 100-meter acceleration parameters; if the performance test scenario is vehicle collision, the extracted vehicle information at least includes the vehicle's collision parameters.
[0096] The interactive object, preset interactive information and vehicle information are input into the Unreal Engine to obtain the interactive parameters. The vehicle information can be written into the user interface in the form of preset interactive information, and the user interface is associated with the interactive object to obtain the interactive parameters.
[0097] By applying the solution of the embodiment of the present application, a pre-designed interactive object and preset interactive information corresponding to the performance test are obtained, and based on the performance test results, the vehicle information after the performance test of the vehicle to be tested is determined, and the interactive object, preset interactive information and vehicle information are input into the Unreal Engine to obtain interactive parameters, so that a performance test animation containing interactive functions can be generated subsequently through the interactive parameters including the interactive object, preset interactive information and vehicle information, thereby improving the richness of the performance test animation display of the vehicle to be tested.
[0098] Optionally, the above steps generate a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interaction parameters, including the following steps:
[0099] Generate an initial performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interactive objects;
[0100] When it is identified in the initial performance test animation that the interactive object meets the preset interactive information, an interactive interface including the vehicle information is displayed in the initial performance test animation, and a performance test animation corresponding to the vehicle to be tested is generated.
[0101] Specifically, the initial performance test animation refers to an animation that initially displays the performance test results of the vehicle to be tested, and an interactive function is added to the initial performance test animation. The interactive interface refers to an interface with interactive functions. For example, when the interactive object is touched, the interactive object will pop up a UI interface, and then it is determined that the interactive object includes an interactive interface.
[0102] The implementation method of generating the initial performance test animation corresponding to the vehicle under test based on the spatial coordinate data and the interactive object can be to generate animation data corresponding to the vehicle under test based on the spatial coordinate data, add the interactive object to the animation data, and generate the initial performance test animation corresponding to the vehicle under test.
[0103] When it is recognized in the initial performance test animation that the interactive object meets the preset interactive information, an interactive interface containing the vehicle information is displayed in the initial performance test animation, and a performance test animation corresponding to the vehicle to be tested is generated. The implementation method may be that when it is recognized in the initial performance test animation that the interactive object meets the conditions corresponding to the preset interactive information, an interactive interface containing the vehicle information is displayed in the initial performance test animation, and a performance test animation corresponding to the vehicle to be tested is generated.
[0104] By applying the solution of the embodiment of the present application, an initial performance test animation corresponding to the vehicle to be tested is generated based on the spatial coordinate data and the interactive object, and when it is identified in the initial test animation that the interactive object meets the preset interactive information, an interactive interface containing the vehicle information is displayed to generate a performance test animation. In the generated performance test animation, the interactive interface containing the vehicle information can be displayed through the interactive object, so that the vehicle information of the vehicle to be tested can be viewed intuitively, thereby improving the user experience.
[0105] Optionally, the above steps generate an initial performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interactive object, including the following steps:
[0106] Based on the spatial coordinate data, determine the animation data corresponding to the vehicle to be tested;
[0107] Placing the interactive object at a preset position in the animation data to obtain updated animation data;
[0108] Based on the animation data, an initial performance test animation corresponding to the vehicle to be tested is generated.
[0109] Specifically, the animation data refers to the data of the animation dimension corresponding to the spatial coordinate data. The preset position refers to the preset position for placing the interactive object.
[0110] The method for determining the animation data corresponding to the vehicle to be tested based on the spatial coordinate data may be to generate the animation data corresponding to the vehicle to be tested according to a preset animation generation method, wherein the preset animation generation method may be a preset spatial data animation sequence, so that the spatial coordinate data generates the animation data corresponding to the vehicle to be tested according to the preset spatial data animation sequence.
[0111] The interactive object may be placed at a preset position in the animation data to obtain updated animation data by identifying an object identifier of the interactive object and a position identifier of the preset position, matching the object identifier and the position identifier, and based on the matching result, placing the interactive object at the preset position in the corresponding animation data to obtain updated animation data.
[0112] The method for generating the initial performance test animation corresponding to the vehicle to be tested according to the animation data may be to convert the animation data into animation dimensions to obtain the initial performance test animation corresponding to the vehicle to be tested.
[0113] By applying the scheme of the embodiment of the present application, animation data of the vehicle to be tested is determined based on spatial coordinate data, and the interactive object is placed at a preset position in the animation data to obtain updated animation data. An initial performance test animation of the vehicle to be tested is generated based on the animation data, so that the generated initial performance test animation includes the spatial coordinate data corresponding to the interactive object and the vehicle to be tested, which facilitates the subsequent judgment based on the initial performance test animation whether the interactive object identified in the initial performance test animation meets the preset interactive information, so as to generate a performance test animation corresponding to the vehicle to be tested.
[0114] A comparison table of the solutions in one or more embodiments of the present application and the performance test results presented in the form of data or pictures is shown in Table 1 below:
[0115] Table 1
[0116]
[0117]
[0118] The generated performance test animation can realize the following functions: enlargement and reduction of car vision, timeline function of car performance test display, large screen with fixed vision function, free jumping using buttons on the controller, performance test screen recording, telex display of details of collision results, video speed control, and viewing different views of performance test results.
[0119] In an embodiment of the present application, a performance test is performed on the vehicle to be tested based on the vehicle parameters and test scenario parameters of the vehicle to be tested, and a performance test result of the vehicle to be tested is obtained. The performance test result is mapped to a target virtual reality device to convert the performance test result to a virtual reality dimension, and a performance test result corresponding to the vehicle to be tested is generated, thereby improving the intuitiveness of the performance test result, thereby enabling a user to intuitively view the performance test result of the vehicle to be tested through the target virtual reality device.
[0120] The following combination Figure 2a Taking the application of the vehicle performance test method provided by the present application in the vehicle collision performance test as an example, the vehicle performance test method is further described. Figure 2a A process flow chart of a vehicle performance testing method provided by an embodiment of the present application is shown, which specifically includes the following steps:
[0121] Step 202: Obtain vehicle parameters and test scenario parameters of the vehicle to be tested.
[0122] The vehicle structure, vehicle configuration and vehicle collision scenario test parameters of the vehicle to be tested X are obtained, wherein the vehicle collision scenario test parameters include information such as obstacle position and obstacle structure.
[0123] Step 204: Input the vehicle parameters and the test scenario parameters into the vehicle performance test model to obtain the output result of the vehicle performance test model.
[0124] The vehicle structure, vehicle configuration and vehicle collision scenario test parameters are input into the vehicle performance test model, and a performance test is performed on the vehicle to be tested to obtain the output results of the vehicle performance test model, wherein the output results may include the vehicle model of the vehicle to be tested, the scenario model of the vehicle collision test scenario, and the process and results of the performance test.
[0125] Step 206: Restore the output result to the program compilation intermediate code file to obtain the performance test result of the vehicle to be tested.
[0126] The output result file of the vehicle performance test model is restored to the program compilation intermediate code file (.obj) to obtain the performance test result of the vehicle to be tested.
[0127] Step 208: Obtain preset viewing angle information of the target virtual reality device.
[0128] The preset viewing angle information in the VR device is obtained, wherein the preset viewing angle information includes the viewing angle information of the virtual camera.
[0129] Step 210: Determine virtual space parameters of the target virtual reality device according to the preset viewing angle information.
[0130] According to the preset viewing angle information, the position information, viewing angle information, etc. of the virtual camera in the VR device are determined.
[0131] Step 212: Based on the virtual space parameters, the performance test results are mapped to the spatial coordinate system of the target virtual reality device to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device.
[0132] Based on the position information and viewing angle information of the virtual camera, the performance test results are mapped to the spatial coordinate system corresponding to the VR device to obtain the spatial coordinate data of the vehicle X to be tested in the VR device.
[0133] Step 214: Input the performance test results into the Unreal Engine, perform interaction design through the Unreal Engine, and obtain interaction parameters.
[0134] Obtain the pre-designed blue ball and the code for the UI that pops up when the performance test corresponds to the interaction. According to the performance test results, obtain the vehicle product information and vehicle performance information of the vehicle X to be tested. Import the vehicle product information and vehicle performance information into the Unreal Engine. When displaying the UI, obtain the corresponding information from the Unreal Engine for display. Add the interaction design code to the blue ball so that when the blue ball interacts with the handle, a UI interface pops up, and the vehicle product information and vehicle performance information are displayed in the UI interface. Generate interaction parameters based on the above interaction logic.
[0135] See also Figure 2b , Figure 2b A schematic diagram showing an interactive design in a vehicle performance testing method provided in an embodiment of the present application is shown:
[0136] Step 1. Create an activity in UE; Step 2. Add a blue ball and a collision box to the activity; Step 3. Edit the UI code, which is used to pop up the UI when the collision box interacts; Step 4. Import the vehicle information into the Unreal Engine; Step 5. Create a UI interface, which is used to display the vehicle information; Step 6. When the UI pops up, read the information to be displayed in the vehicle information and display it in the UI interface; Step 7. Place the activity in the corresponding position.
[0137] Through the above steps 1 to step 7, the performance test animation has an interactive function. When the performance test animation is running, the player can interact with the blue ball through the handle, and the blue ball will pop up a UI interface, which will display vehicle information about the vehicle to be tested.
[0138] Step 216: Generate a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interaction parameters.
[0139] Generate animation data based on spatial coordinate data, add interactive objects to the preset positions of the animation data, generate the initial vehicle collision performance test animation, and display the interactive interface in the initial vehicle collision performance test animation when the blue ball meets the interactive conditions and the UI pops up, and generate the performance test animation corresponding to the vehicle to be tested. Figure 2c , Figure 2c A schematic diagram of a performance test animation frame in a vehicle performance test method provided in an embodiment of the present application is shown.
[0140] Combined with the above steps 202 to 216, Figure 2d A file generation flow chart of a vehicle performance test method provided by an embodiment of the present application is shown:
[0141] Step 1, start execution; Step 2, program compiles intermediate code file, the file format of vehicle parameters and test scenario parameters is program compiles intermediate code file; Step 3, restores to program compiles intermediate code file, the file format of the output result of the vehicle performance test model is non-program compiles intermediate code file, then restores the output result to program compiles intermediate code file, and obtains the performance test result of the vehicle to be tested; Step 4, outputs to Unreal Engine, inputs the performance test result into Unreal Engine; Step 5, designs UI interaction interface; Step 6, Unreal Engine; Step 7, test, click on the blue ball to trigger the collision box to display the UI interface, and the information displayed on the UI interface is obtained from Unreal Engine; Step 8, end execution.
[0142] In an embodiment of the present application, a performance test is performed on the vehicle to be tested based on the vehicle parameters and test scenario parameters of the vehicle to be tested, and a performance test result of the vehicle to be tested is obtained. The performance test result is mapped to a target virtual reality device to convert the performance test result to a virtual reality dimension, and a performance test result corresponding to the vehicle to be tested is generated, thereby improving the intuitiveness of the performance test result, thereby enabling a user to intuitively view the performance test result of the vehicle to be tested through the target virtual reality device.
[0143] Corresponding to the above method embodiment, the present application also provides a vehicle performance testing device embodiment, Figure 3 FIG. 1 is a schematic diagram showing the structure of a vehicle performance testing device provided by an embodiment of the present application. Figure 3 As shown, the device comprises:
[0144] An acquisition module 302 is configured to acquire vehicle parameters and test scenario parameters of the vehicle to be tested;
[0145] The testing module 304 is configured to perform a performance test on the vehicle to be tested based on the vehicle parameters and the test scenario parameters, and obtain a performance test result of the vehicle to be tested;
[0146] The mapping module 306 is configured to map the performance test results to the target virtual reality device based on the virtual space parameters of the target virtual reality device, and generate a performance test animation corresponding to the vehicle to be tested.
[0147] Optionally, the test module 304 is further configured to input vehicle parameters and test scenario parameters into a vehicle performance test model to obtain a performance test result of the vehicle to be tested.
[0148] Optionally, the test module 304 is further configured to input vehicle parameters and test scenario parameters into a vehicle performance test model to obtain an output result of the vehicle performance test model; and restore the output result to a program compiled intermediate code file to obtain a performance test result of the vehicle to be tested.
[0149] Optionally, the mapping module 306 is further configured to obtain preset viewing angle information of the target virtual reality device; determine the virtual space parameters of the target virtual reality device according to the preset viewing angle information; map the performance test results to the spatial coordinate system of the target virtual reality device based on the virtual space parameters to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device; and generate a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data.
[0150] Optionally, the device also includes a design module, which is configured to input the performance test results into the Unreal Engine, perform interactive design through the Unreal Engine, and obtain interactive parameters; the mapping module 306 is further configured to generate a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interactive parameters.
[0151] Optionally, the design module is further configured to obtain pre-designed interactive objects and preset interactive information corresponding to the performance test; determine vehicle information after the performance test of the vehicle to be tested based on the performance test results; input the interactive objects, preset interactive information and vehicle information into the Unreal Engine to obtain interactive parameters.
[0152] Optionally, the mapping module 306 is further configured to generate an initial performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interactive object; when it is identified in the initial performance test animation that the interactive object meets the preset interactive information, an interactive interface containing the vehicle information is displayed in the initial performance test animation to generate a performance test animation corresponding to the vehicle to be tested.
[0153] Optionally, the mapping module 306 is further configured to determine animation data corresponding to the vehicle under test based on the spatial coordinate data; place the interactive object at a preset position in the animation data to obtain updated animation data; and generate an initial performance test animation corresponding to the vehicle under test according to the animation data.
[0154] In an embodiment of the present application, a performance test is performed on the vehicle to be tested based on the vehicle parameters and test scenario parameters of the vehicle to be tested, and a performance test result of the vehicle to be tested is obtained. The performance test result is mapped to a target virtual reality device to convert the performance test result to a virtual reality dimension, and a performance test result corresponding to the vehicle to be tested is generated, thereby improving the intuitiveness of the performance test result, thereby enabling a user to intuitively view the performance test result of the vehicle to be tested through the target virtual reality device.
[0155] The above is a schematic scheme of a vehicle performance test device of this embodiment. It should be noted that the technical scheme of the vehicle performance test device and the technical scheme of the above-mentioned vehicle performance test method belong to the same concept, and the details not described in detail in the technical scheme of the vehicle performance test device can be referred to the description of the technical scheme of the above-mentioned vehicle performance test method.
[0156] Figure 4 The block diagram of a computing device provided in an embodiment of the present application is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.
[0157] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0158] In one embodiment of the present application, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 4 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0159] The computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 400 may also be a mobile or stationary server.
[0160] When the processor 420 executes the computer instructions, the steps of the vehicle performance testing method are implemented.
[0161] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned vehicle performance test method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned vehicle performance test method.
[0162] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of the vehicle performance testing method as described above.
[0163] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned vehicle performance test method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned vehicle performance test method.
[0164] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0165] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0166] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0167] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0168] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.
Claims
1. A vehicle performance testing method, characterized in that: include: Obtain vehicle parameters and test scenario parameters of the vehicle to be tested; Based on the vehicle parameters and the test scenario parameters, a performance test is performed on the vehicle to be tested to obtain a performance test result of the vehicle to be tested; Based on the virtual space parameters of the target virtual reality device, the performance test result is mapped to the target virtual reality device to generate a performance test animation corresponding to the vehicle to be tested.
2. The method according to claim 1, characterized in that The performing a performance test on the vehicle to be tested based on the vehicle parameters and the test scenario parameters to obtain a performance test result of the vehicle to be tested includes: The vehicle parameters and the test scenario parameters are input into a vehicle performance test model to obtain a performance test result of the vehicle to be tested.
3. The method according to claim 2, characterized in that The step of inputting the vehicle parameters and the test scenario parameters into a vehicle performance test model to obtain a performance test result of the vehicle to be tested includes: Inputting the vehicle parameters and the test scenario parameters into a vehicle performance test model to obtain an output result of the vehicle performance test model; The output result is restored to an intermediate code file of program compilation to obtain a performance test result of the vehicle to be tested.
4. The method according to any one of claims 1 to 3, characterized in that The method of mapping the performance test result to the target virtual reality device based on the virtual space parameter of the target virtual reality device and generating a performance test animation corresponding to the vehicle to be tested includes: Obtain preset viewing angle information of the target virtual reality device; Determining virtual space parameters of the target virtual reality device according to the preset viewing angle information; Based on the virtual space parameters, mapping the performance test results to the spatial coordinate system of the target virtual reality device to obtain the spatial coordinate data of the vehicle to be tested in the target virtual reality device; Based on the spatial coordinate data, a performance test animation corresponding to the vehicle to be tested is generated.
5. The method according to claim 4, characterized in that Before generating the performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data, the method further includes: Inputting the performance test results into an Unreal Engine, performing interactive design via the Unreal Engine, and obtaining interactive parameters; The step of generating a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data includes: Based on the spatial coordinate data and the interaction parameters, a performance test animation corresponding to the vehicle to be tested is generated.
6. The method according to claim 5, characterized in that The step of inputting the performance test results into an Unreal Engine, performing interactive design via the Unreal Engine, and obtaining interactive parameters includes: Acquire a pre-designed interactive object and preset interactive information corresponding to the performance test; Determining vehicle information after the performance test is performed on the vehicle to be tested according to the performance test result; The interactive object, the preset interactive information and the vehicle information are input into an Unreal Engine to obtain interactive parameters.
7. The method according to claim 6, characterized in that The step of generating a performance test animation corresponding to the vehicle to be tested based on the spatial coordinate data and the interaction parameter includes: Based on the spatial coordinate data and the interactive object, generating an initial performance test animation corresponding to the vehicle to be tested; When it is identified in the initial performance test animation that the interactive object meets the preset interaction information, an interactive interface including the vehicle information is displayed in the initial performance test animation, and a performance test animation corresponding to the vehicle to be tested is generated.
8. The method according to claim 7, characterized in that The generating, based on the spatial coordinate data and the interactive object, an initial performance test animation corresponding to the vehicle to be tested comprises: Determining animation data corresponding to the vehicle to be tested based on the spatial coordinate data; Placing the interactive object at a preset position in the animation data to obtain updated animation data; An initial performance test animation corresponding to the vehicle to be tested is generated according to the animation data.
9. A vehicle performance testing device, characterized in that: include: An acquisition module is configured to acquire vehicle parameters and test scenario parameters of the vehicle to be tested; A testing module is configured to perform a performance test on the vehicle to be tested based on the vehicle parameters and the test scenario parameters to obtain a performance test result of the vehicle to be tested; The mapping module is configured to map the performance test result to the target virtual reality device based on the virtual space parameters of the target virtual reality device, and generate a performance test animation corresponding to the vehicle to be tested.
10. A computing device comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer instructions, the steps of the method according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instruction is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.