Vehicle simulation test method and device, computer equipment, readable storage medium and program product
By collecting vehicle test data and building simulation tasks in real-vehicle tests, the problem that real-vehicle tests are difficult to fully cover all possible operating scenarios and conditions is solved, and efficient vehicle simulation testing is achieved.
Patent Information
- Application Number
- CN202411577185.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-18
AI Technical Summary
In the process of vehicle system development, actual vehicle testing is difficult to fully cover all possible operating scenarios and conditions, and is limited by various factors such as time, cost, and safety.
By collecting multiple vehicle test data in real time during the actual vehicle test process, obtaining the time series corresponding to the actual vehicle test process, and building simulation tasks in the simulation software and performing simulation tasks based on the simulation model and time series. To simulate the vehicle.
It realizes simulation testing methods based on actual vehicle testing, covering all possible operating scenarios and conditions in full, and improves the efficiency and coverage of the test.
Smart Images

Figure CN119472333A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle testing technology, and in particular to a vehicle simulation testing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] As the degree of automobile electronics and intelligence continues to increase, vehicle systems are becoming increasingly complex, and the requirements for system reliability, safety, and performance are becoming increasingly higher. In the development process of vehicle systems, real vehicle testing is an indispensable part. It can provide operating data in a real environment, help developers find potential problems and verify the effectiveness of the system. However, real vehicle testing is often limited by multiple factors such as time, cost, and safety, and it is difficult to fully cover all possible operating scenarios and conditions. Summary of the invention
[0003] Based on this, it is necessary to provide a vehicle simulation test method, device, computer equipment, computer-readable storage medium and computer program product that can comprehensively cover all possible operating scenarios and conditions in response to the above technical problems.
[0004] In a first aspect, the present application provides a vehicle simulation test method, the method comprising:
[0005] During the actual vehicle test, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, wherein the time series includes a plurality of preset moments, and the time interval between each two adjacent preset moments is consistent;
[0006] Collecting data for each vehicle, obtaining a collection time of the vehicle test data, and obtaining a target time corresponding to the collection time from the plurality of preset times;
[0007] For the remaining moments among the plurality of preset moments except the target moment, acquiring the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment;
[0008] Building a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series;
[0009] The simulation task is executed to perform a simulation test on the vehicle.
[0010] In one embodiment, the acquiring the vehicle test data corresponding to the remaining time based on the vehicle test data corresponding to the target time includes:
[0011] Sort the target moments in ascending order;
[0012] Obtain from the sorting results the maximum time among the target times that are smaller than the remaining time, and the minimum time among the target times that are larger than the remaining time;
[0013] An average value of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment is determined as the vehicle test data corresponding to the remaining moments.
[0014] In one embodiment, after acquiring the vehicle test data corresponding to the remaining time based on the vehicle test data corresponding to the target time, the method further includes:
[0015] The vehicle test data corresponding to the time series is smoothed based on the sliding window filtering technology.
[0016] In one embodiment, the vehicle is equipped with a plurality of video acquisition devices, and the plurality of video acquisition devices are used to acquire in-vehicle video and exterior environment video; the method further comprises:
[0017] During the actual vehicle test of the vehicle, the video captured by the video capture device is acquired in real time;
[0018] Comparing the test result of the simulation test with the video;
[0019] The simulation model is optimized based on the comparison results.
[0020] In one embodiment, optimizing the simulation model based on the comparison result includes:
[0021] In the case where the test result does not match the video captured by at least one target video capture device among the multiple video capture devices, acquiring target vehicle test data corresponding to the target video capture device;
[0022] The simulation model is optimized based on the target vehicle test data.
[0023] In one embodiment, the various vehicle test data include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
[0024] In a second aspect, the present application also provides a vehicle simulation test device, the device comprising:
[0025] The acquisition module is used to collect various vehicle test data in real time during the actual vehicle test of the vehicle, and obtain a time series corresponding to the actual vehicle test process, wherein the time series includes multiple preset moments, and the time interval between each two adjacent preset moments is consistent;
[0026] A first acquisition module is used to collect data for each vehicle, obtain the collection time of the vehicle test data, and obtain a target time corresponding to the collection time from the multiple preset times;
[0027] A second acquisition module, for acquiring vehicle test data corresponding to the remaining moments among the plurality of preset moments except the target moment based on the vehicle test data corresponding to the target moment;
[0028] A task construction module, used to construct a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series;
[0029] An execution module is used to execute the simulation task to perform a simulation test on the vehicle.
[0030] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in any one of the above embodiments when executing the computer program.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method in any one of the above embodiments are implemented.
[0032] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the above embodiments are implemented.
[0033] The above-mentioned vehicle simulation test method, device, computer equipment, computer-readable storage medium and computer program product collect multiple vehicle test data in real time during the process of actual vehicle testing, and obtain a time series corresponding to the actual vehicle testing process, the time series includes multiple preset moments, and the time interval between each adjacent preset moment is consistent; collect data for each vehicle, obtain the collection moment of the vehicle test data, and obtain the target moment corresponding to the collection moment from the multiple preset moments; for the remaining moments except the target moment among the multiple preset moments, obtain the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment; construct a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series; execute the simulation task to perform simulation testing on the vehicle. The method provided by the present application performs simulation testing based on the vehicle test data generated during the actual vehicle testing process, which can comprehensively cover all possible operating scenarios and conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0035] FIG1 is a schematic diagram of a flow chart of a vehicle simulation test method in one embodiment;
[0036] FIG2 is a schematic diagram of a flow chart of a method for acquiring vehicle test data in one embodiment;
[0037] FIG3 is a schematic flow chart of a vehicle simulation test method in another embodiment;
[0038] FIG4 is a structural block diagram of a vehicle simulation test device in one embodiment;
[0039] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] In one embodiment, as shown in FIG1 , a vehicle simulation test method is provided. This embodiment is illustrated by applying the method to a terminal. It is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0042] S102. During the actual vehicle test, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained. The time series includes multiple preset moments, and the time interval between each two adjacent preset moments is consistent.
[0043] Among them, the time series corresponds to the time period from the beginning to the end of the actual vehicle testing process.
[0044] S104, collecting data for each vehicle, obtaining a collection time of the vehicle test data, and obtaining a target time corresponding to the collection time from a plurality of preset times.
[0045] In order to improve the effect of simulation test, it is necessary to make the collection time of different types of vehicle test data consistent. However, in the process of actual vehicle test, the collection time of different types of vehicle test data is inconsistent. Therefore, for each type of vehicle test data, it is necessary to filter out the vehicle test data collected at the collection time corresponding to multiple preset time from all vehicle test data.
[0046] S106 . For the remaining moments among the plurality of preset moments except the target moment, obtain vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment.
[0047] The remaining time is the time when the vehicle test data is not collected. In order to avoid data loss, it is necessary to obtain the vehicle test data corresponding to the remaining time based on the vehicle test data corresponding to the target time.
[0048] S108. Construct a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series.
[0049] The simulation model may be a simulation test algorithm.
[0050] Optionally, in the process of constructing a simulation task, the test requirements must first be obtained, and then based on the test requirements and the corresponding vehicle test data in the time series, a simulated vehicle and vehicle test parameters of the simulated vehicle, as well as other traffic participants and test parameters of other traffic participants, are generated in the simulation software, and corresponding test scenarios are obtained from the scenario library. Finally, based on the simulation model, a simulation task is generated.
[0051] S110: Execute a simulation task to perform a simulation test on the vehicle.
[0052] After executing the simulation task, it is also necessary to analyze the results of the simulation test, which can avoid large deviations in the test results and optimize the simulation model based on the test results.
[0053] In the above-mentioned vehicle simulation test method, during the process of the vehicle's actual vehicle test, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, the time series includes multiple preset moments, and the time interval between each adjacent preset moment is consistent; for each vehicle, data is collected, the collection moment of the vehicle test data is obtained, and the target moment corresponding to the collection moment is obtained from the multiple preset moments; for the remaining moments other than the target moment in the multiple preset moments, the vehicle test data corresponding to the remaining moments is obtained based on the vehicle test data corresponding to the target moment; based on the simulation model and the vehicle test data corresponding to the time series, a simulation task is constructed in the simulation software; and the simulation task is executed to perform a simulation test on the vehicle. The method provided in the present application performs simulation testing based on the vehicle test data generated during the actual vehicle test process, and can comprehensively cover all possible operating scenarios and conditions.
[0054] In some embodiments, as shown in FIG. 2 , obtaining vehicle test data corresponding to the remaining time points based on the vehicle test data corresponding to the target time point includes:
[0055] S202: sort the target times in ascending order.
[0056] S204: Obtain, from the sorting results, the maximum time among the target times that are smaller than the remaining time, and the minimum time among the target times that are larger than the remaining time.
[0057] S206: Determine the average of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment as the vehicle test data corresponding to the remaining moments.
[0058] Optionally, in other embodiments, the average of vehicle test data corresponding to multiple moments less than the remaining moment and the average of vehicle test data corresponding to multiple moments greater than the remaining moment may be determined as the vehicle test data corresponding to the remaining moment, and the embodiments of the present application do not specifically limit this.
[0059] In this embodiment, the average value of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment is determined as the vehicle test data corresponding to the remaining moments, so that the determined vehicle test data corresponding to the remaining moments is more accurate.
[0060] In some embodiments, after acquiring the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment, the method further includes: performing data smoothing processing on the vehicle test data corresponding to the time series based on a sliding window filtering technology.
[0061] Among them, sliding window filtering technology is a commonly used technology in signal processing, image processing and data analysis. It processes the data in the window by moving a fixed-size window on the data sequence to extract useful information or smooth noise.
[0062] In this embodiment, data smoothing processing is performed on the vehicle test data corresponding to the time series based on the sliding window filtering technology, which can make the data smooth and suppress noise.
[0063] In some embodiments, a plurality of video acquisition devices are installed on the vehicle, and the plurality of video acquisition devices are used to acquire in-vehicle videos and videos of the outside environment; the method further includes: acquiring the videos acquired by the video acquisition devices in real time during the actual vehicle testing of the vehicle; comparing the test results of the simulation test with the video; and optimizing the simulation model based on the comparison results.
[0064] Among them, by comparing the test results of the simulation test with the video, it is possible to accurately know whether the test results of the simulation test are accurate.
[0065] In this embodiment, the test results of the simulation test are compared with the video, and the simulation model is optimized based on the comparison results, so that the test results of the simulation test using the optimized simulation model are more accurate.
[0066] In some embodiments, the simulation model is optimized based on the comparison results, including: when the test results do not match the video captured by at least one target video capture device among multiple video capture devices, obtaining target vehicle test data corresponding to the target video capture device; and optimizing the simulation model based on the target vehicle test data.
[0067] Among them, when the test results match the videos captured by all target video capture devices among the multiple video capture devices, it means that the test results of the simulation test are relatively accurate and there is no need to optimize the simulation model.
[0068] In this embodiment, the simulation model is optimized based on the target vehicle test data, so that the test results of the simulation test using the optimized simulation model are more accurate.
[0069] In some embodiments, the various vehicle test data include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
[0070] In one embodiment, as shown in FIG3 , another vehicle simulation test method is provided, the method comprising the following contents: in the process of actual vehicle testing of the vehicle, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, the time series includes a plurality of preset moments, and the time interval between each adjacent preset moment is consistent; for each vehicle, data is collected, the collection moment of the vehicle test data is obtained, and a target moment corresponding to the collection moment is obtained from the plurality of preset moments; for the remaining moments except the target moment among the plurality of preset moments, the vehicle test data corresponding to the remaining moments is obtained based on the vehicle test data corresponding to the target moment; based on the simulation model and the vehicle test data corresponding to the time series, a simulation task is constructed in the simulation software; and the simulation task is executed to perform simulation testing on the vehicle.
[0071] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0072] Based on the same inventive concept, the embodiment of the present application also provides a vehicle simulation test device for implementing the vehicle simulation test method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle simulation test device embodiments provided below can refer to the limitations of the vehicle simulation test method above, and will not be repeated here.
[0073] In an exemplary embodiment, as shown in FIG4 , a vehicle simulation test device 400 is provided, comprising: a collection module 401, a first acquisition module 402, a second acquisition module 403, a task construction module 404 and an execution module 405, wherein:
[0074] The acquisition module 401 is used to collect various vehicle test data in real time during the actual vehicle test of the vehicle, and obtain a time series corresponding to the actual vehicle test process, wherein the time series includes multiple preset moments, and the time interval between each two adjacent preset moments is consistent.
[0075] The first acquisition module 402 is used to collect data for each vehicle, obtain the collection time of the vehicle test data, and obtain a target time corresponding to the collection time from the multiple preset times.
[0076] The second acquisition module 403 is used for acquiring the vehicle test data corresponding to the remaining moments among the plurality of preset moments except the target moment based on the vehicle test data corresponding to the target moment.
[0077] The task construction module 404 is used to construct a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series.
[0078] The execution module 405 is used to execute the simulation task to perform a simulation test on the vehicle.
[0079] In some embodiments, the second acquisition module 403 is also used to sort the target moments in ascending order; obtain the maximum moment among the target moments that are less than the remaining moment, and the minimum moment among the target moments that are greater than the remaining moment from the sorting results; and determine the average of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment as the vehicle test data corresponding to the remaining moment.
[0080] In some embodiments, the vehicle simulation test device 400 is specifically used to perform data smoothing processing on the vehicle test data corresponding to the time series based on a sliding window filtering technology.
[0081] In some embodiments, the vehicle is equipped with a plurality of video acquisition devices, and the plurality of video acquisition devices are used to acquire in-vehicle video and in-vehicle environment video; the vehicle simulation test device 400 further includes:
[0082] The third acquisition module is used to acquire the video captured by the video acquisition device in real time during the actual vehicle test of the vehicle.
[0083] A comparison module is used to compare the test result of the simulation test with the video.
[0084] An optimization module is used to optimize the simulation model based on the comparison result.
[0085] In some embodiments, the optimization module is also used to obtain target vehicle test data corresponding to the target video acquisition device when the test result does not match the video captured by at least one target video acquisition device among the multiple video acquisition devices; and optimize the simulation model based on the target vehicle test data.
[0086] In some embodiments, the vehicle simulation test device 400 is also used for a variety of vehicle test data including environmental data collected by external environmental sensors and vehicle CAN signals during actual vehicle testing.
[0087] Each module in the above vehicle simulation test device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0088] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, a near field communication (NFC) or other technologies. When the computer program is executed by the processor, a vehicle simulation test method is implemented.
[0089] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0090] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: during a vehicle actual vehicle test, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, wherein the time series includes a plurality of preset moments, and the time interval between each adjacent two preset moments is consistent; for each type of vehicle data collection, the collection moment of the vehicle test data is obtained, and a target moment corresponding to the collection moment is obtained from the plurality of preset moments; for the remaining moments among the plurality of preset moments except the target moment, the vehicle test data corresponding to the remaining moments is obtained based on the vehicle test data corresponding to the target moment; based on the simulation model and the vehicle test data corresponding to the time series, a simulation task is constructed in the simulation software; and the simulation task is executed to perform a simulation test on the vehicle.
[0091] In one embodiment, the method implemented by the processor when executing a computer program to obtain the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moments includes: sorting the target moments in ascending order; obtaining the maximum moment among the target moments that are smaller than the remaining moments, and the minimum moment among the target moments that are larger than the remaining moments from the sorting results; and determining the average of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment as the vehicle test data corresponding to the remaining moments.
[0092] In one embodiment, after the processor executes the computer program to obtain the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment, the process further includes: performing data smoothing processing on the vehicle test data corresponding to the time series based on a sliding window filtering technique.
[0093] In one embodiment, a plurality of video acquisition devices are installed on the vehicle implemented when the processor executes the computer program, and the plurality of video acquisition devices are used to acquire in-vehicle videos and videos of the outside environment; the method further comprises: acquiring the videos acquired by the video acquisition devices in real time during the actual vehicle test of the vehicle; comparing the test results of the simulation test with the video; and optimizing the simulation model based on the comparison results.
[0094] In one embodiment, the optimization of the simulation model based on the comparison result implemented when the processor executes the computer program includes: when the test result does not match the video captured by at least one target video capture device among the multiple video capture devices, obtaining the target vehicle test data corresponding to the target video capture device; and optimizing the simulation model based on the target vehicle test data.
[0095] In one embodiment, the various vehicle test data implemented when the processor executes the computer program include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
[0096] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: in the process of actual vehicle testing of a vehicle, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, wherein the time series includes a plurality of preset moments, and the time interval between each adjacent two preset moments is consistent; for each type of vehicle data collection, the collection moment of the vehicle test data is obtained, and a target moment corresponding to the collection moment is obtained from the plurality of preset moments; for the remaining moments among the plurality of preset moments except the target moment, the vehicle test data corresponding to the remaining moments is obtained based on the vehicle test data corresponding to the target moment; based on the simulation model and the vehicle test data corresponding to the time series, a simulation task is constructed in the simulation software; and the simulation task is executed to perform a simulation test on the vehicle.
[0097] In one embodiment, the computer program implemented when executed by the processor obtains the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moments, including: sorting the target moments in ascending order; obtaining the maximum moment among the target moments that are smaller than the remaining moments, and the minimum moment among the target moments that are larger than the remaining moments from the sorting results; and determining the average of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment as the vehicle test data corresponding to the remaining moments.
[0098] In one embodiment, after the computer program is executed by a processor to obtain the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment, it also includes: performing data smoothing processing on the vehicle test data corresponding to the time series based on a sliding window filtering technique.
[0099] In one embodiment, a computer program implemented when executed by a processor is implemented with a plurality of video acquisition devices installed on the vehicle, and the plurality of video acquisition devices are used to acquire in-vehicle videos and videos of the outside environment; the method further comprises: acquiring in real time the videos acquired by the video acquisition devices during the actual vehicle test of the vehicle; comparing the test results of the simulation test with the video; and optimizing the simulation model based on the comparison results.
[0100] In one embodiment, the optimization of the simulation model based on the comparison result implemented when the computer program is executed by the processor includes: when the test result does not match the video captured by at least one target video capture device among the multiple video capture devices, obtaining the target vehicle test data corresponding to the target video capture device; and optimizing the simulation model based on the target vehicle test data.
[0101] In one embodiment, the various vehicle test data implemented when the computer program is executed by the processor include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
[0102] In one embodiment, a computer program product is provided, comprising a computer program, which implements the following steps when executed by a processor: in the process of actual vehicle testing of a vehicle, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, wherein the time series includes a plurality of preset moments, and the time interval between each adjacent preset moment is consistent; for each type of vehicle data collection, the collection moment of the vehicle test data is obtained, and a target moment corresponding to the collection moment is obtained from the plurality of preset moments; for the remaining moments among the plurality of preset moments except the target moment, the vehicle test data corresponding to the remaining moments is obtained based on the vehicle test data corresponding to the target moment; based on the simulation model and the vehicle test data corresponding to the time series, a simulation task is constructed in the simulation software; and the simulation task is executed to perform a simulation test on the vehicle.
[0103] In one embodiment, the computer program implemented when executed by the processor obtains the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moments, including: sorting the target moments in ascending order; obtaining the maximum moment among the target moments that are smaller than the remaining moments, and the minimum moment among the target moments that are larger than the remaining moments from the sorting results; and determining the average of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment as the vehicle test data corresponding to the remaining moments.
[0104] In one embodiment, after the computer program is executed by a processor to obtain the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment, it also includes: performing data smoothing processing on the vehicle test data corresponding to the time series based on a sliding window filtering technique.
[0105] In one embodiment, a computer program implemented when executed by a processor is implemented with a plurality of video acquisition devices installed on the vehicle, and the plurality of video acquisition devices are used to acquire in-vehicle videos and videos of the outside environment; the method further comprises: acquiring in real time the videos acquired by the video acquisition devices during the actual vehicle test of the vehicle; comparing the test results of the simulation test with the video; and optimizing the simulation model based on the comparison results.
[0106] In one embodiment, the optimization of the simulation model based on the comparison result implemented when the computer program is executed by the processor includes: when the test result does not match the video captured by at least one target video capture device among the multiple video capture devices, obtaining the target vehicle test data corresponding to the target video capture device; and optimizing the simulation model based on the target vehicle test data.
[0107] In one embodiment, the various vehicle test data implemented when the computer program is executed by the processor include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
[0108] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0109] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0110] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0111] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle simulation test method, characterized in that: The method comprises: During the actual vehicle test, a variety of vehicle test data are collected in real time, and a time series corresponding to the actual vehicle test process is obtained, wherein the time series includes a plurality of preset moments, and the time interval between each two adjacent preset moments is consistent; Collecting data for each vehicle, obtaining a collection time of the vehicle test data, and obtaining a target time corresponding to the collection time from the plurality of preset times; For the remaining moments among the plurality of preset moments except the target moment, acquiring the vehicle test data corresponding to the remaining moments based on the vehicle test data corresponding to the target moment; Building a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series; The simulation task is executed to perform a simulation test on the vehicle.
2. The method according to claim 1, characterized in that The acquiring the vehicle test data corresponding to the remaining time based on the vehicle test data corresponding to the target time includes: Sort the target moments in ascending order; Obtain from the sorting results the maximum time among the target times that are smaller than the remaining time, and the minimum time among the target times that are larger than the remaining time; An average value of the vehicle test data corresponding to the maximum moment and the vehicle test data corresponding to the minimum moment is determined as the vehicle test data corresponding to the remaining moments.
3. The method according to claim 1, characterized in that After acquiring the vehicle test data corresponding to the remaining time based on the vehicle test data corresponding to the target time, the method further includes: The vehicle test data corresponding to the time series is smoothed based on the sliding window filtering technology.
4. The method according to claim 1, characterized in that: The vehicle is equipped with a plurality of video acquisition devices, and the plurality of video acquisition devices are used to acquire in-vehicle video and in-vehicle environment video; the method further comprises: During the actual vehicle test of the vehicle, the video captured by the video capture device is acquired in real time; Comparing the test result of the simulation test with the video; The simulation model is optimized based on the comparison results.
5. The method according to claim 4, characterized in that The optimizing the simulation model based on the comparison result includes: In the case where the test result does not match the video captured by at least one target video capture device among the multiple video capture devices, acquiring target vehicle test data corresponding to the target video capture device; The simulation model is optimized based on the target vehicle test data.
6. The method according to claim 1, characterized in that The various vehicle test data include environmental data collected by an external vehicle environment sensor and a vehicle CAN signal during a real vehicle test.
7. A vehicle simulation test device, characterized in that: The device comprises: The acquisition module is used to collect various vehicle test data in real time during the actual vehicle test of the vehicle, and obtain a time series corresponding to the actual vehicle test process, wherein the time series includes multiple preset moments, and the time interval between each two adjacent preset moments is consistent; A first acquisition module is used to collect data for each vehicle, obtain the collection time of the vehicle test data, and obtain a target time corresponding to the collection time from the multiple preset times; A second acquisition module, for acquiring vehicle test data corresponding to the remaining moments among the plurality of preset moments except the target moment based on the vehicle test data corresponding to the target moment; A task construction module, used to construct a simulation task in the simulation software based on the simulation model and the vehicle test data corresponding to the time series; An execution module is used to execute the simulation task to perform a simulation test on the vehicle.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.