Vehicle simulation test method and device and cloud platform
By matching the real vehicle driving trajectory and status information from the real vehicle trajectory database, the vehicle simulation driving information is generated, which solves the problems of high cost and poor authenticity of vehicle performance testing, realizes low-cost, efficient, and flexible vehicle simulation testing, and improves test efficiency. authenticity.
Patent Information
- Application Number
- CN202410808868.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-01
AI Technical Summary
Existing vehicle performance testing relies on actual vehicle testing, which is costly and limited by time and location. Moreover, the driving status of the simulation test is significantly different from the real results, which affects strategy optimization.
By obtaining the vehicle navigation position of the road section to be tested, matching the real vehicle driving trajectory and status information from the real vehicle trajectory database, generating vehicle simulated driving information for vehicle simulation testing, achieving low-cost, flexible testing without field testing, and through correction Navigation trajectories improve the authenticity of simulation tests.
It realizes vehicle simulation testing on any road section, reduces testing costs, improves testing efficiency and authenticity, covers more test scenarios, and avoids directly using ideal trajectories for missing parts to reduce the authenticity of simulation.
Smart Images

Figure CN118734570A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle simulation testing, and more specifically, to a vehicle simulation testing method, device and cloud platform in the vehicle field. Background Art
[0002] With the continuous development of automobile technology, the number of vehicle functions in vehicles is increasing. In order to optimize the vehicle's driving performance, testing the vehicle's performance is an inevitable part of the vehicle development process. At present, some vehicle performance tests need to rely on real vehicle testing, that is, testing the vehicle's state information when the vehicle is driving in a real driving environment, so as to be used for subsequent analysis and optimization of vehicle control strategies. However, real vehicle testing is affected by the time and location of the test, and the testing cost is relatively high. Summary of the invention
[0003] The present application provides a vehicle simulation test method, device and cloud platform, which can reduce vehicle testing costs and improve the authenticity of vehicle simulation testing.
[0004] In a first aspect, a vehicle simulation test method is provided, the method comprising:
[0005] Obtain multiple vehicle navigation positions on the road section to be tested;
[0006] Matching from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position;
[0007] Based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information, the vehicle simulation driving information corresponding to the road section to be tested is generated, and the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the road section to be tested. The vehicle simulation driving information is used for performing vehicle simulation testing.
[0008] In the above technical scheme, the embodiment of the present application provides a vehicle simulation test method: based on multiple vehicle navigation positions of the road section to be tested, historical vehicle trajectories are matched from the real vehicle trajectory database to obtain at least one section of real vehicle driving trajectory and its associated real vehicle status information, and based on the matched real vehicle driving trajectory and real vehicle status information, the vehicle simulation driving information of the road section to be tested is generated for subsequent vehicle simulation testing. On the one hand, vehicle simulation testing of any road section to be tested can be achieved without the need for field testing, the testing cost is low, and the testing is not restricted by the test time and test location, thereby improving the test efficiency; on the other hand, during the simulation test, the real vehicle driving trajectory and its associated real vehicle status information are matched from the real vehicle trajectory database to generate vehicle simulation driving information, so that the simulated vehicle driving information conforms to the real vehicle driving state, thereby improving the authenticity of the simulation test.
[0009] In combination with the first aspect, in some possible implementations, the generating of the vehicle simulation driving information corresponding to the section to be tested based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information includes: if at least one section of the actual vehicle driving trajectory includes all the vehicle navigation positions of the section to be tested, processing at least one section of the actual vehicle driving trajectory and the actual vehicle status information to generate the vehicle simulation driving information corresponding to the section to be tested; if at least one section of the actual vehicle driving trajectory does not include all the vehicle navigation positions of the section to be tested, obtaining the missing navigation trajectory of the section to be tested in the actual vehicle driving trajectory; generating the vehicle simulation driving information corresponding to the section to be tested based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information.
[0010] In the above technical solution, by judging the relationship between the matched actual vehicle driving trajectory and the navigation positions of each vehicle contained in the road section to be tested, it is determined how to generate the vehicle simulation driving information; so that in the case that the actual vehicle driving trajectory cannot be fully matched, the vehicle simulation driving information can still be simulated and generated to cover more simulation test scenarios and improve the flexibility of simulation testing.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the processing of at least one section of the actual vehicle driving trajectory and the actual vehicle status information to generate the vehicle simulation driving information corresponding to the section to be tested includes: if a section of the actual vehicle driving trajectory is matched, judging whether the actual vehicle driving trajectory has a first driving trajectory other than the vehicle navigation position corresponding to the section to be tested; if the first driving trajectory does not exist, determining the actual vehicle driving trajectory and the actual vehicle status information as the vehicle simulation driving information of the section to be tested; if the first driving trajectory exists, removing the first driving trajectory and the actual vehicle status information associated with the first driving trajectory from the actual vehicle driving trajectory and the actual vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0012] In the above technical scheme, for the case where a single real vehicle driving trajectory including all vehicle navigation positions can be matched, it is considered that the relationship between a real vehicle driving trajectory and the road section to be tested may also include two situations: the real vehicle driving trajectory completely overlaps with the road section to be tested, or the road section to be tested is a partial driving section in the real vehicle driving estimation; it is also proposed to determine different processing methods for the real vehicle driving trajectory by judging the relationship between the real vehicle driving trajectory and the road section to be tested, so as to accurately extract the vehicle simulation driving information corresponding to the road section to be tested.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the processing of at least one section of the actual vehicle driving trajectory and the actual vehicle status information to generate the vehicle simulation driving information corresponding to the section to be tested also includes: if multiple sections of the actual vehicle driving trajectory are matched, determining whether there is a second driving trajectory with overlapping trajectories among the multiple sections of the actual vehicle driving trajectories; if the second driving trajectory does not exist, splicing the multiple sections of the actual vehicle driving trajectories and the associated actual vehicle status information to obtain the vehicle simulation driving information of the section to be tested; if the second driving trajectory exists, deduplicating and splicing the second driving trajectory and the associated actual vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, if the second driving trajectory exists, the second driving trajectory and the associated real vehicle status information are deduplicated and spliced to obtain the vehicle simulation driving information of the section to be tested, including: if the second driving trajectory exists, obtaining the section trajectory length of each section of the second driving trajectory that overlaps with the section to be tested; based on the section trajectory length, the second driving trajectory and the associated real vehicle status information are deduplicated and spliced to obtain the vehicle simulation driving information of the section to be tested.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the second driving trajectory and the associated real vehicle status information are deduplicated and spliced based on the section trajectory length to obtain the vehicle simulation driving information of the section to be tested, including: determining the second driving trajectory with the longest section trajectory length as the third driving trajectory that needs to be retained; determining the second driving trajectory other than the third driving trajectory as the fourth driving trajectory that needs to be deduplicated; deduplicating the fourth driving trajectory to obtain a fifth driving trajectory; and splicing the fifth driving trajectory, the third driving trajectory, and the associated real vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0016] In the above technical scheme, in the case of matching multiple segments of real vehicle driving trajectories, it is determined whether the multiple segments of real vehicle driving trajectories need to be deduplicated by judging whether there are overlapping driving trajectories among the multiple segments of real vehicle driving trajectories. In addition, the length of the segment trajectory of the real vehicle driving trajectory that includes the section to be tested is taken into account during the deduplication process, so that more vehicle navigation positions in the section to be tested are located in the same real vehicle driving trajectory, thereby improving the authenticity of the vehicle simulation driving information generated after splicing multiple segments of real vehicle driving trajectories.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation of the vehicle simulation driving information corresponding to the section to be tested based on the missing navigation trajectory, at least a section of the actual vehicle driving trajectory and the actual vehicle status information includes: obtaining the target terrain characteristics and target weather characteristics corresponding to the missing navigation trajectory; matching from a driving information deviation database based on the target terrain characteristics and the target weather characteristics to obtain target trajectory deviation information and target status information of the vehicle; correcting the missing navigation trajectory based on the target trajectory deviation information to obtain a corrected navigation trajectory; generating the vehicle simulation driving information corresponding to the section to be tested based on the corrected navigation trajectory, the target status information, at least a section of the actual vehicle driving trajectory and the actual vehicle status information.
[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: obtaining candidate navigation trajectories and candidate terrain information corresponding to the candidate road section, as well as candidate driving trajectories, candidate weather information and candidate status information when the vehicle is driving on the candidate road section; performing deviation calculation on the candidate navigation trajectories and the candidate driving trajectories to obtain candidate trajectory deviation information corresponding to the candidate road section; and associating the candidate trajectory deviation information, the candidate weather information, the candidate terrain information and the candidate status information and storing them in the driving information deviation database.
[0019] In the above technical solution, for the situation where the complete test section cannot be matched, that is, there are some missing trajectories and associated historical vehicle states, in order to avoid directly using the ideal trajectory for the missing part to reduce the authenticity of the vehicle driving information simulation, the trajectory deviation with the same terrain features and the same weather features is matched to correct the ideal trajectory, so as to increase the authenticity and reality of the simulated vehicle driving information.
[0020] In a second aspect, a vehicle simulation test device is provided, the device comprising:
[0021] A first acquisition module is used to acquire multiple vehicle navigation positions on the road section to be tested;
[0022] A first determination module is used to match from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that coincides with the vehicle navigation position;
[0023] A generation module is used to generate vehicle simulation driving information corresponding to the section to be tested based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information, wherein the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the section to be tested, and the vehicle simulation driving information is used to perform vehicle simulation testing.
[0024] In combination with the second aspect, in some possible implementations, the generation module is also used to: if at least one section of the actual vehicle driving trajectory includes all the vehicle navigation positions of the section to be tested, process at least one section of the actual vehicle driving trajectory and the actual vehicle status information to generate the vehicle simulation driving information corresponding to the section to be tested; if at least one section of the actual vehicle driving trajectory does not include all the vehicle navigation positions of the section to be tested, obtain the missing navigation trajectory of the section to be tested in the actual vehicle driving trajectory; based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information, generate the vehicle simulation driving information corresponding to the section to be tested.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation module is also used to: if a section of the actual vehicle driving trajectory is matched, determine whether the actual vehicle driving trajectory has a first driving trajectory other than the vehicle navigation position corresponding to the section to be tested; if the first driving trajectory does not exist, determine the actual vehicle driving trajectory and the actual vehicle status information as the vehicle simulation driving information of the section to be tested; if the first driving trajectory exists, remove the first driving trajectory and the actual vehicle status information associated with the first driving trajectory from the actual vehicle driving trajectory and the actual vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation module is also used to: if multiple segments of the actual vehicle driving trajectory are matched, determine whether there is a second driving trajectory with overlapping trajectories among the multiple segments of the actual vehicle driving trajectories; if the second driving trajectory does not exist, splice the multiple segments of the actual vehicle driving trajectories and the associated actual vehicle status information to obtain the simulated driving information of the vehicle on the section to be tested; if the second driving trajectory exists, deduplicate and splice the second driving trajectory and the associated actual vehicle status information to obtain the simulated driving information of the vehicle on the section to be tested.
[0027] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation module is also used to: if the second driving trajectory exists, obtain the length of the segment trajectory of each segment of the second driving trajectory that overlaps with the section to be tested; based on the section trajectory length, deduplicate and splice the second driving trajectory and the associated real vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0028] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation module is also used to: determine the second driving trajectory with the longest trajectory length of the road section as the third driving trajectory that needs to be retained; determine the second driving trajectory other than the third driving trajectory as the fourth driving trajectory that needs to be deduplicated; deduplicate the fourth driving trajectory to obtain a fifth driving trajectory; and splice the fifth driving trajectory, the third driving trajectory, and the associated real vehicle status information to obtain the vehicle simulation driving information of the road section to be tested.
[0029] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the generation module is also used to: obtain the target terrain characteristics and target weather characteristics corresponding to the missing navigation trajectory; match the target terrain characteristics and the target weather characteristics from the driving information deviation database to obtain target trajectory deviation information and target state information of the vehicle; correct the missing navigation trajectory based on the target trajectory deviation information to obtain a corrected navigation trajectory; based on the corrected navigation trajectory, the target state information, at least one section of the actual vehicle driving trajectory and the actual vehicle state information, generate the vehicle simulation driving information corresponding to the section to be tested.
[0030] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a second acquisition module, used to obtain candidate navigation trajectories and candidate terrain information corresponding to the candidate road section, as well as candidate driving trajectories, candidate weather information and candidate status information when the vehicle is driving on the candidate road section; a second determination module, used to perform deviation calculation on the candidate navigation trajectory and the candidate driving trajectory to obtain the candidate trajectory deviation information corresponding to the candidate road section; a storage module, used to associate the candidate trajectory deviation information, the candidate weather information, the candidate terrain information and the candidate status information and store them in the driving information deviation database.
[0031] In a third aspect, a cloud platform is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the cloud platform executes the vehicle simulation test method in any possible implementation of the above aspects.
[0032] In a fourth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the vehicle simulation test method described in the above aspect.
[0033] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle simulation test method described in the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a schematic flow chart of a vehicle simulation test method provided in an embodiment of the present application;
[0035] Figure 2 is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application;
[0036] Figure 3is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application;
[0037] Figure 4 is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application;
[0038] Figure 5 is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application;
[0039] Figure 6 It is a structural schematic diagram of a vehicle simulation test device provided in an embodiment of the present application;
[0040] Figure 7 It is a structural diagram of a cloud platform provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0043] Figure 1 It is a schematic flow chart of a vehicle simulation test method provided in an embodiment of the present application. It should be understood that the method is applied to a simulation test platform or a cloud platform.
[0044] For example, Figure 1 As shown, the method 100 includes:
[0045] Step 101, obtaining multiple vehicle navigation positions on a road section to be tested.
[0046] Some vehicle performance tests need to rely on real vehicle testing, that is, testing the vehicle state information when the vehicle is driving in a real driving environment, so as to be used for subsequent analysis and optimization of vehicle control strategies. For example, PEM testing needs to test the energy consumption state of the vehicle in a real driving environment, so as to be used for subsequent analysis and optimization of PEM strategies. However, the cost of real vehicle testing is high, and due to the influence of test time and location, it covers fewer test scenarios and cannot obtain more comprehensive test data; if vehicle simulation testing is used, the vehicle's driving trajectory in the vehicle simulation test is often simulated by an ideal mathematical model. Although it can reduce the test cost, it will make the simulation results of the vehicle's driving state differ greatly from the actual results, thus affecting the subsequent vehicle strategy optimization.
[0047] In response to the problems existing in the above-mentioned vehicle testing process, an embodiment of the present application provides a method for simulating vehicle driving information. The tester only needs to input the starting point, end point and at least one waypoint of the section to be tested. The cloud platform can plan at least one navigation path based on the starting point, end point and at least one waypoint of the section to be tested. The navigation path includes multiple vehicle navigation positions, and then simulates the vehicle simulation driving information that matches the navigation path corresponding to the section to be tested. The vehicle simulation driving information is the real driving trajectory and driving status of the simulated vehicle when driving on the section to be tested.
[0048] Step 102, matching is performed from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position.
[0049] The cloud platform is pre-configured with a real vehicle track database, which stores a number of pre-collected historical vehicle tracks and historical vehicle status information. The historical data in the real vehicle track database can be derived from the user's real driving data; it can also be derived from real driving data in other real vehicle test scenarios.
[0050] In order to simulate the driving data of the vehicle on the road section to be tested, a search and match can be performed from the real vehicle trajectory database based on the vehicle navigation position of the road section to be tested to obtain at least one real vehicle driving trajectory where the real vehicle driving position overlaps with the vehicle navigation position and real vehicle status information associated with the real vehicle driving trajectory.
[0051] Exemplarily, if the road section to be tested is a section from city A through city B to city C, then matching is performed from the actual vehicle trajectory database based on city A, city B, and city C. If there is a historical vehicle trajectory 1 from city D to city A to city B, and a historical vehicle trajectory 2 from city B to C in the actual vehicle trajectory database, then the historical vehicle trajectory 1 and the historical vehicle trajectory 2 are determined as the matched actual vehicle driving trajectory; and the historical vehicle status information associated with the historical vehicle trajectory 1 and the historical vehicle trajectory 2 is determined as the matched actual vehicle status information.
[0052] Optionally, when matching, you can first match from the real vehicle trajectory database based on all vehicle navigation positions. If there is no historical vehicle trajectory that includes all vehicle navigation positions, the test section is decomposed based on the vehicle navigation position to obtain multiple sub-test sections, and the historical vehicle trajectory matching is performed in sections.
[0053] Step 103, based on at least one section of actual vehicle driving trajectory and actual vehicle status information, generate vehicle simulation driving information corresponding to the road section to be tested, the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the road section to be tested, and the vehicle simulation driving information is used for vehicle simulation testing.
[0054] Considering that the real vehicle driving trajectory matched from the real vehicle trajectory database may be different from the road section to be tested, and cannot be perfectly matched with the road section to be tested, for example, there are overlapping sections or redundant sections, or there are multiple trajectories that need to be spliced and smoothed, etc. Correspondingly, after matching at least one section of real vehicle driving trajectory and real vehicle status information from the real vehicle trajectory database, it is necessary to decompose, deduplicate or splice at least one section of real vehicle driving trajectory and real vehicle status information to generate vehicle simulation driving information corresponding to the road section to be tested, and the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the road section to be tested, so as to provide real vehicle driving information for the subsequent vehicle simulation test.
[0055] In summary, the embodiment of the present application provides a vehicle simulation test method: historical vehicle trajectories are matched from a real vehicle trajectory database based on multiple vehicle navigation positions of a road section to be tested to obtain at least one section of real vehicle driving trajectory and its associated real vehicle status information, and based on the matched real vehicle driving trajectory and real vehicle status information, vehicle simulation driving information of the road section to be tested is generated for subsequent vehicle simulation testing. On the one hand, vehicle simulation testing of any road section to be tested can be achieved without the need for field testing, the testing cost is low, and the testing is not restricted by the test time and test location, thereby improving the testing efficiency; on the other hand, during the simulation test, the real vehicle driving trajectory and its associated real vehicle status information are matched from the real vehicle trajectory database to generate vehicle simulation driving information, so that the simulated vehicle driving information conforms to the real vehicle driving status, thereby improving the authenticity of the simulation test.
[0056] Considering that the real vehicle driving trajectory in the real vehicle trajectory database is not obtained by field testing on the test section, when searching and matching in the real vehicle trajectory database, there are cases where the complete test section can be matched, and there are also cases where the complete test section cannot be matched, that is, there are some missing trajectories and associated historical vehicle states. The following embodiments mainly explain the processing methods for these two situations respectively.
[0057] Figure 2 It is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application. It should be understood that the method is applied to a simulation test platform or a cloud platform.
[0058] For example, Figure 2 As shown, the method 200 includes:
[0059] Step 201, obtaining multiple vehicle navigation positions on the road section to be tested.
[0060] Step 202, matching is performed from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position.
[0061] The implementation of step 201 and step 202 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0062] Step 203: If at least one section of the actual vehicle driving trajectory includes all vehicle navigation positions of the road section to be tested, the at least one section of the actual vehicle driving trajectory and the actual vehicle state information are processed to generate vehicle simulation driving information corresponding to the road section to be tested.
[0063] For the case where a complete section of the road to be tested can be matched, that is, at least one matched section of the actual vehicle driving trajectory can cover all vehicle navigation positions of the section to be tested, it is only necessary to process at least one matched section of the actual vehicle driving trajectory and the associated actual vehicle status information, that is, the vehicle simulation driving information corresponding to the section to be tested can be generated.
[0064] For example, if the vehicle navigation position corresponding to the road section to be tested is: location 1-location 2-location 3-location 4-location 5, and 3 real vehicle driving trajectories are matched from the real vehicle trajectory database: real vehicle driving trajectory 1: location 1-location 2-location 3, real vehicle driving trajectory 2: location 6-location 3-location 4, real vehicle driving trajectory 3: location 4-location 5-location 7, then the 3 real vehicle driving trajectories can cover all vehicle navigation positions of the road section to be tested. It is only necessary to deduplicate and splice the 3 real vehicle driving trajectories and their associated real vehicle status information to obtain the vehicle simulation driving information corresponding to the road section to be tested.
[0065] Step 204, if at least one section of the actual vehicle driving trajectory does not include all the vehicle navigation positions of the section to be tested, obtain the missing navigation trajectory of the section to be tested in the actual vehicle driving trajectory; based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information, generate the vehicle simulation driving information corresponding to the section to be tested.
[0066] In the case where the complete test section cannot be matched, that is, at least one section of the actual vehicle driving trajectory only includes part of the vehicle navigation positions of the section to be tested, but does not cover all the vehicle navigation positions of the section to be tested, that is, there are missing navigation trajectories in the section to be tested, it is necessary to obtain the missing navigation trajectory of the section to be tested in the actual vehicle driving trajectory, fill in the missing part for the missing navigation trajectory according to preset rules, and generate vehicle simulation driving information corresponding to the section to be tested based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information.
[0067] Exemplarily, if the vehicle navigation position corresponding to the road section to be tested is: Location 1-Location 2-Location 3-Location 4-Location 5, and two real vehicle driving trajectories are matched from the real vehicle trajectory database: Real vehicle driving trajectory 1: Location 1-Location 2-Location 3, Real vehicle driving trajectory 2: Location 4-Location 5-Location 7, then the two real vehicle driving trajectories can only cover part of the vehicle navigation positions of Location 1-Location 2-Location 3 and Location 4-Location 5 in the road section to be tested. When generating the vehicle simulation driving information, it is also necessary to obtain the missing navigation path Location 3-Location 4, and based on the missing navigation path, the two real vehicle driving trajectories and their associated real vehicle status information, generate the vehicle simulation driving information corresponding to the road section to be tested.
[0068] In this embodiment, by judging the relationship between the matched actual vehicle driving trajectory and the navigation positions of each vehicle contained in the road section to be tested, it is determined how to generate the vehicle simulation driving information; so that in the case that the actual vehicle driving trajectory cannot be fully matched, the vehicle simulation driving information can still be simulated and generated to cover more simulation test scenarios and improve the flexibility of simulation testing.
[0069] For the scenario where a complete road section to be tested can be matched, it also includes the situations of matching a single real vehicle driving trajectory and matching multiple real vehicle driving trajectories. There are also differences in the corresponding methods of generating vehicle simulation driving information for a single real vehicle driving trajectory and multiple real vehicle driving trajectories. This embodiment mainly explains the processing method for matching a single real vehicle driving trajectory.
[0070] Figure 3 It is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application. It should be understood that the method is applied to a simulation test platform or a cloud platform.
[0071] For example, Figure 3 As shown, the method 300 includes:
[0072] Step 301, obtaining multiple vehicle navigation positions on the road section to be tested.
[0073] Step 302, matching is performed from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position.
[0074] The implementation of step 301 and step 302 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0075] Step 303: If at least one segment of the actual vehicle driving trajectory includes all the vehicle navigation positions of the road section to be tested and a segment of the actual vehicle driving trajectory is matched, it is determined whether the actual vehicle driving trajectory includes a first driving trajectory other than the vehicle navigation position corresponding to the road section to be tested.
[0076] For the case where a complete road section to be tested can be matched from the real vehicle trajectory database, and only a section of the real vehicle driving trajectory can be matched, that is, a section of the real vehicle trajectory can be matched from the real vehicle trajectory database, and this section of the real vehicle driving trajectory can include all vehicle navigation positions of the road section to be tested, then only a section of the real vehicle driving trajectory needs to be processed, and the vehicle simulation driving information corresponding to the road section to be tested can be obtained.
[0077] Specifically, when processing the section of the actual vehicle driving trajectory and the associated actual vehicle status information, it is considered that the relationship between a section of the actual vehicle driving trajectory and the road section to be tested may also include two situations: Situation 1: the actual vehicle driving trajectory completely overlaps with the road section to be tested, and Situation 2: the road section to be tested is a partial driving section in the actual vehicle driving estimation. There are also differences in the processing methods of the two. Corresponding to the case where at least one section of the actual vehicle driving trajectory includes all the vehicle navigation positions of the road section to be tested, and a section of the actual vehicle driving trajectory is matched, it is determined whether there is a first driving trajectory in the actual vehicle driving trajectory other than the vehicle navigation position corresponding to the road section to be tested. If not, it corresponds to situation 1, and if it exists, it corresponds to situation 2, so as to generate vehicle simulation driving information according to different situations.
[0078] Step 304: If the first driving trajectory does not exist, the actual vehicle driving trajectory and the actual vehicle state information are determined as the vehicle simulation driving information of the road section to be tested.
[0079] For the case where the first driving trajectory does not exist, that is, the actual vehicle driving trajectory completely overlaps with the road section to be tested, the matched section of the actual vehicle driving trajectory and the associated actual vehicle status information can be directly determined as the vehicle simulation driving information of the road section to be tested. Exemplarily, if the vehicle navigation position corresponding to the road section to be tested is: location 1-location 2-location 3-location 4-location 5, a section of the actual vehicle driving trajectory is matched from the actual vehicle trajectory database: actual vehicle driving trajectory 1: location 1-location 2-location 3-location 4-location 5, it can be seen that the actual vehicle driving trajectory 1 can include all the vehicle navigation positions of the road section to be tested, and does not include other vehicle navigation positions, then the driving trajectory 1 and its associated actual vehicle status information are directly determined as the vehicle simulation driving information corresponding to the road section to be tested.
[0080] Step 305: If the first driving trajectory exists, remove the first driving trajectory and the real vehicle state information associated with the first driving trajectory from the real vehicle driving trajectory and the real vehicle state information to obtain the vehicle simulation driving information of the road section to be tested.
[0081] For the case where there is a first driving trajectory, that is, the road section to be tested is a partial section of a real vehicle driving trajectory, and since only the vehicle simulation driving information corresponding to the road section to be tested is needed, and the vehicle simulation driving information under the first driving trajectory is not needed, it is necessary to delete the matched real vehicle driving trajectory and the associated real vehicle status information, that is, remove the first driving trajectory and the real vehicle status information associated with the first driving trajectory from the real vehicle driving trajectory and the real vehicle status information to obtain the vehicle simulation driving information of the road section to be tested.
[0082] Exemplarily, if the vehicle navigation position corresponding to the road section to be tested is: location 1-location 2-location 3-location 4-location 5, a real vehicle driving trajectory is matched from the real vehicle trajectory database: real vehicle driving trajectory 1: location 6-location 1-location 2-location 3-location 4-location 5-location 7. It can be seen that the real vehicle driving trajectory 1 can include all vehicle navigation positions of the road section to be tested, and also includes historical driving positions outside the road section to be tested: location 6 and location 7, that is, there is a first driving trajectory: location 6-location 1 and location 5-location 7. Then, by removing the driving trajectories of location 6-location 1 and location 5-location 7 and their associated real vehicle status information from the actual driving trajectory 1, the vehicle simulation driving information corresponding to the road section to be tested can be obtained.
[0083] In this embodiment, for the case where a single real vehicle driving trajectory including all vehicle navigation positions can be matched, it is considered that the relationship between a real vehicle driving trajectory and the road section to be tested may also include two situations: the real vehicle driving trajectory completely overlaps with the road section to be tested, or the road section to be tested is a partial driving section in the real vehicle driving estimation; it is also proposed to determine different processing methods for the real vehicle driving trajectory by judging the relationship between the real vehicle driving trajectory and the road section to be tested, so as to accurately extract the vehicle simulation driving information corresponding to the road section to be tested.
[0084] The previous embodiment describes the case where a complete road section to be tested and a single real vehicle driving trajectory can be matched. This embodiment mainly describes the processing method for matching multiple real vehicle driving trajectories. Figure 4 It is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application. It should be understood that the method is applied to a simulation test platform or a cloud platform.
[0085] For example, Figure 4 As shown, the method 400 includes:
[0086] Step 401, obtaining multiple vehicle navigation positions on the road section to be tested.
[0087] Step 402, matching is performed from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position.
[0088] The implementation of step 301 and step 302 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0089] Step 403: if at least one segment of the actual vehicle driving trajectory includes all vehicle navigation positions of the road section to be tested and multiple segments of the actual vehicle driving trajectory are matched, it is determined whether there is a second driving trajectory with overlapping trajectories among the multiple segments of the actual vehicle driving trajectory.
[0090] In the case that a complete road section to be tested can be matched from the real vehicle trajectory database, but multiple sections of real vehicle driving trajectories are matched, that is, the synthetic trajectory of multiple sections of real vehicle driving trajectories includes the road section to be tested. At least multiple sections of real vehicle driving trajectories and associated real vehicle state information need to be spliced to obtain the complete vehicle simulation driving information corresponding to the road section to be tested.
[0091] Specifically, when splicing multiple segments of real vehicle driving trajectories and associated real vehicle status information, it is considered that there may be overlapping trajectories in the multiple segments of real vehicle driving trajectories, or there may be no overlapping trajectories. There are also differences in the processing processes of the two. Corresponding to the case where at least one segment of the real vehicle driving trajectory includes all vehicle navigation positions of the road section to be tested, and multiple segments of real vehicle driving trajectories are matched, it is determined whether there is a second driving trajectory with overlapping trajectories in the multiple segments of the real vehicle driving trajectories, and then the vehicle simulation driving information is generated according to the judgment result.
[0092] Step 404: if the second driving trajectory does not exist, multiple segments of real vehicle driving trajectories and associated real vehicle state information are spliced to obtain vehicle simulation driving information of the road section to be tested.
[0093] In the case where there is no second driving trajectory, that is, there is no overlapping trajectory in the multiple segments of real vehicle driving trajectories, there is no need to deduplicate the multiple segments of real vehicle driving trajectories. The multiple segments of real vehicle driving trajectories and the associated real vehicle status information can be directly spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0094] Exemplarily, if the vehicle navigation position corresponding to the road section to be tested is: location 1-location 2-location 3-location 4-location 5, and three real vehicle driving trajectories are matched from the real vehicle trajectory database: real vehicle driving trajectory 1: location 1-location 2-location 3, real vehicle driving trajectory 2: location 3-location 4, real vehicle driving trajectory 3: location 4-location 5, then real vehicle driving trajectory 1, real vehicle driving trajectory 2 and real vehicle driving trajectory 3 and their associated real vehicle status information are spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0095] Optionally, after splicing multiple segments of actual vehicle driving trajectories and associated actual vehicle status information to obtain a spliced segment of actual vehicle driving trajectory and associated actual vehicle status information, it is also necessary to determine whether the relationship between the spliced segment of actual vehicle driving trajectory and the section to be tested is completely overlapped, or whether the section to be tested is a partial driving section of the spliced segment of actual vehicle driving trajectory, and then determine whether the spliced segment of actual vehicle driving trajectory needs to be deleted.
[0096] Specifically, if a spliced section of actual vehicle driving trajectory completely overlaps with the road section to be tested, that is, there is no redundant driving position, then the spliced section of actual vehicle driving trajectory and its associated actual vehicle status information can be directly used as the vehicle simulation driving information of the road section to be tested; if the road section to be tested is a partial section of a spliced section of actual vehicle driving trajectory, then it is necessary to delete the spliced section of actual vehicle driving trajectory and the associated actual vehicle status information, that is, remove the redundant driving trajectory and the associated actual vehicle status information from the spliced section of actual vehicle driving trajectory and the associated actual vehicle status information to obtain the vehicle simulation driving information of the road section to be tested.
[0097] Step 405: If there is a second driving trajectory, de-duplication and splicing are performed on the second driving trajectory and the associated real vehicle state information to obtain vehicle simulation driving information of the road section to be tested.
[0098] In the case where there is a second driving trajectory, that is, there are overlapping trajectories between at least two segments of real vehicle driving trajectories, it is necessary to deduplicate the second driving trajectory with the overlapping trajectory before splicing multiple segments of real vehicle driving trajectories. After the deduplication processing, the multiple segments of real vehicle driving trajectories after deduplication processing and the associated real vehicle status information are spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0099] It should be noted that the process of splicing multiple segments of real vehicle driving trajectories and associated real vehicle status information after deduplication processing to obtain the vehicle simulation driving information of the road section to be tested can refer to the process of splicing multiple segments of real vehicle driving trajectories and associated real vehicle status information to obtain vehicle simulation driving information in the above embodiment, that is, it is also necessary to delete a segment of the spliced real vehicle driving trajectory when there are redundant driving positions. This embodiment will not be described in detail here.
[0100] When performing deduplication processing on the second driving trajectory, it is also necessary to consider the length of the section trajectory of the second driving trajectory that includes the road section to be tested, and then determine which section of the second driving trajectory to select for deduplication processing. Correspondingly, in an exemplary example, step 405 may also include step 405A and step 405B.
[0101] Step 405A: if there is a second driving trajectory, obtain the length of the segment trajectory of each segment of the second driving trajectory that overlaps with the road segment to be tested.
[0102] Taking into account the need to make as many vehicle navigation positions in the tested section as possible be located in the same actual vehicle driving trajectory, when selecting the second driving trajectory for deduplication processing, the length of the section trajectory that overlaps with the tested section in each section of the second driving trajectory is obtained, so that the second driving trajectory that needs to be deduplicated is selected according to the size of the section trajectory length.
[0103] Among them, the section track length can be determined by the actual section length, and can also be determined by the number of overlapping vehicle navigation positions included in the overlapping section, that is, the more positions there are, the longer the section track length is, and the fewer positions there are, the shorter the section track length is.
[0104] Step 405B: based on the length of the road section trajectory, the second driving trajectory and the associated real vehicle state information are deduplicated and spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0105] After obtaining the section trajectory length corresponding to each section of the second driving trajectory, the actual vehicle driving trajectory that needs to be deduplicated can be selected from the second driving trajectory based on the section trajectory length, and after deduplication, multiple sections of actual vehicle driving trajectories are spliced to obtain the vehicle simulation driving information of the final section to be tested.
[0106] Optionally, step 405B may also include steps 405B1 to 405B4.
[0107] Step 405B1: determine the second driving trajectory with the longest road segment trajectory length as the third driving trajectory that needs to be retained.
[0108] Considering that as many vehicle navigation positions as possible in the tested road section are located in the same actual vehicle driving trajectory, there is no need to perform deduplication processing on the second driving trajectory with the longest road section trajectory length, that is, the second driving trajectory with the longest road section trajectory length is determined as the third driving trajectory that needs to be retained.
[0109] Step 405B2: determine the second driving trajectory other than the third driving trajectory as the fourth driving trajectory that needs to be deduplicated.
[0110] When the third driving track is retained, it is necessary to remove the part of the second driving track that overlaps with the third driving track, and then splice the multiple driving tracks. Correspondingly, the second driving track other than the third driving track is determined as the fourth driving track that needs to be deduplicated.
[0111] Step 405B3, performing deduplication processing on the fourth driving trajectory to obtain a fifth driving trajectory.
[0112] When performing deduplication processing on the fourth driving trajectory, it is necessary to obtain a portion of the fourth driving trajectory that overlaps with the third driving trajectory, and remove the portion of the overlapping trajectory from the fourth driving trajectory to obtain a fifth driving trajectory after deduplication processing.
[0113] Step 405B4, performing splicing processing on the fifth driving trajectory, the third driving trajectory and the associated real vehicle state information to obtain the vehicle simulation driving information of the road section to be tested.
[0114] After deduplication processing is performed on multiple segments of real vehicle driving trajectories with overlapping trajectories, the fifth driving trajectory, the third driving trajectory and the associated real vehicle state information after deduplication processing can be spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0115] For example, if the vehicle navigation position corresponding to the road section to be tested is: location 1-location 2-location 3-location 4-location 5-location 6, 3 real vehicle driving trajectories are matched from the real vehicle trajectory database: real vehicle driving trajectory 1: location 1-location 2, real vehicle driving trajectory 2: location 2-location 3-location 4-location 5, real vehicle driving trajectory 3: location 4-location 5-location 6; then the real vehicle driving trajectory 2 and the real vehicle driving trajectory 3 have overlapping trajectories, and the real vehicle driving trajectory 2 and the road section to be tested have 4 overlapping vehicle navigation positions. , and the actual vehicle driving trajectory 3 and the road section to be tested have three overlapping vehicle navigation positions, then the actual vehicle driving trajectory 3 is deduplicated, and during the deduplication process, the partial overlapping trajectories of the actual vehicle driving trajectory 3 and the actual vehicle driving trajectory 2 are compared as: location 4-location 5, then the actual vehicle driving trajectory 3 after deduplication is location 5-location 6, and then the actual vehicle driving trajectory 1, the actual vehicle driving trajectory 2, the actual vehicle driving trajectory 3 after deduplication and the associated actual vehicle status information are spliced to obtain the vehicle simulation driving information of the road section to be tested.
[0116] In this embodiment, in the case of matching multiple segments of real vehicle driving trajectories, it is determined whether it is necessary to perform deduplication processing on the multiple segments of real vehicle driving trajectories by judging whether there are overlapping driving trajectories among the multiple segments of real vehicle driving trajectories. In addition, the length of the segment trajectory of the real vehicle driving trajectory that includes the section to be tested is taken into consideration during the deduplication processing, so that more vehicle navigation positions in the section to be tested are located in the same real vehicle driving trajectory, thereby improving the authenticity of the vehicle simulation driving information generated after splicing the multiple segments of real vehicle driving trajectories.
[0117] As for the situation where the complete test section cannot be matched, that is, there are some missing trajectories and associated historical vehicle states, in order to avoid directly using the ideal trajectory for the missing part to reduce the authenticity of the vehicle driving information simulation, the trajectory deviations with the same terrain features and weather characteristics are matched to correct the ideal trajectory, so as to increase the authenticity and reality of the simulated vehicle driving information.
[0118] Figure 5 It is a schematic flow chart of another vehicle simulation test method provided in an embodiment of the present application. It should be understood that the method is applied to a simulation test platform or a cloud platform.
[0119] For example, Figure 5 As shown, the method 500 includes:
[0120] Step 501: Acquire multiple vehicle navigation positions on the road section to be tested.
[0121] Step 502, matching is performed from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position.
[0122] The implementation of step 501 and step 502 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0123] Step 503: if at least one section of the actual vehicle driving trajectory does not include all vehicle navigation positions of the road section to be tested, obtain the missing navigation trajectory of the road section to be tested in the actual vehicle driving trajectory.
[0124] In the case where the complete test section cannot be matched, that is, there are some missing trajectories and associated historical vehicle states, first obtain the missing navigation trajectory of the missing section in the test section. The actual navigation trajectory is the ideal vehicle driving trajectory provided by the navigation application or tester.
[0125] Step 504: Obtain target terrain features and target weather features corresponding to the missing navigation track.
[0126] Since the missing navigation trajectory is the ideal vehicle driving trajectory, and the actual vehicle driving trajectory may have errors with the ideal vehicle driving trajectory, the error may be caused by the influence of the terrain and weather of the missing section on the actual vehicle driving. In order to correct the missing navigation trajectory, firstly, the target terrain characteristics and target weather characteristics of the missing section in the test section are obtained, and then the matching correction data is selected according to the target terrain characteristics and target weather characteristics.
[0127] Step 505 , matching is performed from a driving information deviation database based on target terrain features and target weather features to obtain target trajectory deviation information and target state information of the vehicle.
[0128] The driving information deviation database includes several candidate trajectory deviation information and the candidate terrain information, candidate weather information and candidate state information associated therewith. In theory, the same terrain and weather information should have the same or similar impact on vehicle driving. Therefore, when the actual vehicle driving information of the missing section is not matched, the target terrain features and target weather features of the missing section can be used to retrieve and match from the driving information deviation database to obtain the target trajectory deviation information and the target state information of the vehicle associated with the target terrain features and target weather features, so that the ideal vehicle driving trajectory (i.e., the missing navigation trajectory) can be corrected based on the target trajectory deviation information.
[0129] In an exemplary example, the process of constructing the driving information deviation database may include the following steps 1 to 3.
[0130] Step 1: Obtain candidate navigation trajectories and candidate terrain information corresponding to the candidate road section, as well as candidate driving trajectories, candidate weather information, and candidate status information when the vehicle is traveling on the candidate road section.
[0131] The candidate navigation trajectory corresponding to the candidate road section is the ideal vehicle driving trajectory of the candidate road section, the candidate driving trajectory is the actual driving trajectory of the vehicle on the candidate road section, the candidate weather information is the weather information when the vehicle is driving on the candidate road section (for example, rainy day, sunny day), and the candidate state information is the vehicle state information when the vehicle is driving on the candidate road section (for example, vehicle speed, power, etc.). By obtaining the candidate navigation trajectories and candidate terrain information corresponding to several candidate road sections, as well as the candidate driving trajectories, candidate weather information and candidate state information when the vehicle is driving on the candidate road section, a driving information deviation database is constructed.
[0132] Step 2: Calculate the deviation between the candidate navigation trajectory and the candidate driving trajectory to obtain the candidate trajectory deviation information corresponding to the candidate road section.
[0133] If the reason for the deviation between the candidate navigation trajectory and the candidate driving trajectory is the influence of terrain and / or weather, the candidate trajectory deviation information corresponding to the candidate road section can be obtained by performing deviation calculation (or difference calculation) on the candidate navigation trajectory and the candidate driving trajectory. The candidate trajectory deviation information is used for subsequent correction of the ideal vehicle driving trajectory corresponding to the same terrain and the same weather.
[0134] Step 3: Associate the candidate trajectory deviation information, the candidate weather information, the candidate terrain information and the candidate state information and store them in a driving information deviation database.
[0135] In order to facilitate the subsequent accurate retrieval of the required driving trajectory deviation information, the candidate trajectory deviation information and the candidate state information are associated with the candidate weather information and the candidate terrain information and stored to construct a driving information deviation database.
[0136] Step 506: correct the missing navigation trajectory based on the target trajectory deviation information to obtain a corrected navigation trajectory.
[0137] After obtaining the target trajectory deviation information between the ideal vehicle driving trajectory and the actual vehicle driving trajectory, the target trajectory deviation information can be added on the basis of the missing navigation trajectory, that is, the missing navigation trajectory can be corrected using the target trajectory deviation information to obtain the corrected navigation trajectory. Moreover, the candidate state information corresponding to the target trajectory deviation information is determined as the actual vehicle state information corresponding to the corrected navigation trajectory.
[0138] Step 507 , based on the corrected navigation trajectory, the target state information, at least one section of the actual vehicle driving trajectory and the actual vehicle state information, generate vehicle simulation driving information corresponding to the road section to be tested.
[0139] After obtaining the actual vehicle driving trajectory and actual vehicle status information corresponding to the missing road section, the corrected navigation trajectory, the target status information, at least one section of the actual vehicle driving trajectory and the actual vehicle status information can be spliced to generate the vehicle simulation driving information corresponding to the road section to be tested. In this embodiment, in the case where the complete test road section cannot be matched, that is, there are some missing trajectories and associated historical vehicle states, in order to avoid the missing part directly using the ideal trajectory to reduce the authenticity of the vehicle driving information simulation, the deviation of the trajectory with the same terrain characteristics and the same weather characteristics is matched to correct the ideal trajectory to increase the authenticity and reality of the simulated vehicle driving information.
[0140] Figure 6 It is a structural schematic diagram of a vehicle simulation test device provided in an embodiment of the present application, which can be applied in a cloud platform.
[0141] For example, Figure 6 As shown, the device 600 includes:
[0142] The first acquisition module 601 is used to acquire multiple vehicle navigation positions on the road section to be tested;
[0143] A first determination module 602 is used to match from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that coincides with the vehicle navigation position;
[0144] The generation module 603 is used to generate vehicle simulation driving information corresponding to the section to be tested based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information, wherein the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the section to be tested, and the vehicle simulation driving information is used to perform vehicle simulation testing.
[0145] In one possible implementation, the generation module 603 is further used for: if at least one section of the actual vehicle driving trajectory includes all the vehicle navigation positions of the section to be tested, processing at least one section of the actual vehicle driving trajectory and the actual vehicle status information to generate the vehicle simulation driving information corresponding to the section to be tested; if at least one section of the actual vehicle driving trajectory does not include all the vehicle navigation positions of the section to be tested, obtaining the missing navigation trajectory of the section to be tested in the actual vehicle driving trajectory; based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information, generating the vehicle simulation driving information corresponding to the section to be tested.
[0146] In a possible implementation, the generation module 603 is also used for: if a section of the actual vehicle driving trajectory is matched, determining whether the actual vehicle driving trajectory has a first driving trajectory other than the vehicle navigation position corresponding to the section to be tested; if the first driving trajectory does not exist, determining the actual vehicle driving trajectory and the actual vehicle status information as the vehicle simulation driving information of the section to be tested; if the first driving trajectory exists, removing the first driving trajectory and the actual vehicle status information associated with the first driving trajectory from the actual vehicle driving trajectory and the actual vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0147] In a possible implementation, the generation module 603 is also used for: if multiple segments of the actual vehicle driving trajectory are matched, determining whether there is a second driving trajectory with overlapping trajectories among the multiple segments of the actual vehicle driving trajectories; if the second driving trajectory does not exist, splicing the multiple segments of the actual vehicle driving trajectories and the associated actual vehicle status information to obtain the simulated vehicle driving information of the road section to be tested; if the second driving trajectory exists, deduplicating and splicing the second driving trajectory and the associated actual vehicle status information to obtain the simulated vehicle driving information of the road section to be tested.
[0148] In a possible implementation, the generation module 603 is further used to: if the second driving trajectory exists, obtain the length of the segment trajectory of each segment of the second driving trajectory that overlaps with the section to be tested; based on the section trajectory length, deduplicate and splice the second driving trajectory and the associated real vehicle status information to obtain the vehicle simulation driving information of the section to be tested.
[0149] In a possible implementation, the generation module 603 is further used to: determine the second driving trajectory with the longest trajectory length of the road section as the third driving trajectory that needs to be retained; determine the second driving trajectory other than the third driving trajectory as the fourth driving trajectory that needs to be deduplicated; deduplicate the fourth driving trajectory to obtain a fifth driving trajectory; and splice the fifth driving trajectory, the third driving trajectory, and the associated real vehicle status information to obtain the vehicle simulation driving information of the road section to be tested.
[0150] In one possible implementation, the generation module 603 is further used to: obtain target terrain features and target weather features corresponding to the missing navigation trajectory; match the target terrain features and the target weather features from a driving information deviation database to obtain target trajectory deviation information and target state information of the vehicle; correct the missing navigation trajectory based on the target trajectory deviation information to obtain a corrected navigation trajectory; and generate the vehicle simulation driving information corresponding to the road section to be tested based on the corrected navigation trajectory, the target state information, at least one section of the actual vehicle driving trajectory and the actual vehicle state information.
[0151] In one possible implementation, the device also includes: a second acquisition module, used to obtain candidate navigation trajectories and candidate terrain information corresponding to the candidate road section, as well as candidate driving trajectories, candidate weather information and candidate status information when the vehicle is traveling on the candidate road section; a second determination module, used to perform deviation calculations on the candidate navigation trajectories and the candidate driving trajectories to obtain candidate trajectory deviation information corresponding to the candidate road section; a storage module, used to associate the candidate trajectory deviation information, the candidate weather information, the candidate terrain information and the candidate status information and store them in the driving information deviation database.
[0152] Figure 7 It is a structural diagram of a cloud platform provided in an embodiment of the present application.
[0153] For example, Figure 7 As shown, the cloud platform 700 includes: a memory 701 and a processor 702, wherein the memory 701 stores an executable program code 703, and the processor 702 is used to call and execute the executable program code 703 to perform the vehicle simulation test method in the above embodiment.
[0154] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a vehicle simulation test method provided by an embodiment of the present application.
[0155] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0156] In the case of dividing each functional module according to each function, the device may also include a storage module, an acquisition module, a configuration module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0157] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle simulation test method, and thus can achieve the same effect as the above-mentioned implementation method.
[0158] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle seat control method provided in the above embodiments.
[0159] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle simulation test method provided in the above embodiment.
[0160] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle simulation test method provided by the above embodiment.
[0161] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding vehicle simulation test method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0162] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0163] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0164] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle simulation test method, characterized in that: The method comprises: Obtain multiple vehicle navigation positions on the road section to be tested; Matching from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that overlaps with the vehicle navigation position; Based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information, the vehicle simulation driving information corresponding to the road section to be tested is generated, and the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the road section to be tested. The vehicle simulation driving information is used for performing vehicle simulation testing.
2. The method according to claim 1, characterized in that The generating the vehicle simulation driving information corresponding to the road section to be tested based on at least one section of the real vehicle driving trajectory and the real vehicle state information includes: If at least one section of the actual vehicle driving trajectory includes all the vehicle navigation positions of the road section to be tested, processing at least one section of the actual vehicle driving trajectory and the actual vehicle state information to generate the vehicle simulation driving information corresponding to the road section to be tested; If at least one section of the actual vehicle driving trajectory does not include all of the vehicle navigation positions of the road section to be tested, obtain the missing navigation trajectory of the road section to be tested in the actual vehicle driving trajectory; based on the missing navigation trajectory, at least one section of the actual vehicle driving trajectory and the actual vehicle status information, generate the vehicle simulation driving information corresponding to the road section to be tested.
3. The method according to claim 2, characterized in that The processing of at least one section of the actual vehicle driving trajectory and the actual vehicle state information to generate the vehicle simulation driving information corresponding to the road section to be tested includes: If a section of the actual vehicle driving trajectory is matched, determining whether the actual vehicle driving trajectory has a first driving trajectory other than the vehicle navigation position corresponding to the road section to be tested; If the first driving trajectory does not exist, determining the actual vehicle driving trajectory and the actual vehicle state information as the vehicle simulation driving information of the road section to be tested; If the first driving trajectory exists, the first driving trajectory and the real vehicle state information associated with the first driving trajectory are removed from the real vehicle driving trajectory and the real vehicle state information to obtain the vehicle simulation driving information of the road section to be tested.
4. The method according to claim 2, characterized in that: The processing of at least one section of the actual vehicle driving trajectory and the actual vehicle state information to generate the vehicle simulation driving information corresponding to the road section to be tested also includes: If multiple segments of the actual vehicle driving trajectories are matched, determining whether there is a second driving trajectory with overlapping trajectories among the multiple segments of the actual vehicle driving trajectories; If the second driving trajectory does not exist, concatenating multiple segments of the actual vehicle driving trajectories and the associated actual vehicle state information to obtain the vehicle simulation driving information of the road section to be tested; If the second driving trajectory exists, the second driving trajectory and the associated real vehicle state information are deduplicated and concatenated to obtain the vehicle simulation driving information of the road section to be tested.
5. The method according to claim 4, characterized in that If the second driving trajectory exists, performing deduplication processing and splicing processing on the second driving trajectory and the associated real vehicle state information to obtain the vehicle simulation driving information of the road section to be tested, including: If the second driving trajectory exists, obtaining the length of the section of each section of the second driving trajectory that overlaps with the section to be tested; Based on the length of the road section trajectory, the second driving trajectory and the associated real vehicle state information are deduplicated and spliced to obtain the vehicle simulation driving information of the road section to be tested.
6. The method according to claim 5, characterized in that The deduplication processing and splicing processing of the second driving trajectory and the associated real vehicle state information based on the section trajectory length to obtain the vehicle simulation driving information of the section to be tested includes: Determining the second driving trajectory with the longest track length of the road section as the third driving trajectory to be retained; determining a second driving trajectory other than the third driving trajectory as a fourth driving trajectory that needs to be deduplicated; performing deduplication processing on the fourth driving trajectory to obtain a fifth driving trajectory; The fifth driving trajectory, the third driving trajectory and the associated real vehicle state information are spliced to obtain the vehicle simulation driving information of the road section to be tested.
7. The method according to claim 2, characterized in that The generating the vehicle simulation driving information corresponding to the road section to be tested based on the missing navigation track, at least one section of the real vehicle driving track and the real vehicle state information comprises: Obtaining target terrain features and target weather features corresponding to the missing navigation track; Matching the target terrain features and the target weather features from a driving information deviation database to obtain target trajectory deviation information and target state information of the vehicle; Correcting the missing navigation trajectory based on the target trajectory deviation information to obtain a corrected navigation trajectory; The vehicle simulation driving information corresponding to the road section to be tested is generated based on the corrected navigation trajectory, the target state information, at least one section of the actual vehicle driving trajectory and the actual vehicle state information.
8. The method according to claim 7, characterized in that The method further comprises: Acquire candidate navigation tracks and candidate terrain information corresponding to the candidate road section, as well as candidate driving tracks, candidate weather information, and candidate status information when the vehicle is driving on the candidate road section; Calculating the deviation between the candidate navigation trajectory and the candidate driving trajectory to obtain candidate trajectory deviation information corresponding to the candidate road section; The candidate trajectory deviation information, the candidate weather information, the candidate terrain information and the candidate state information are associated and stored in the driving information deviation database.
9. A vehicle simulation test device, characterized in that: The device comprises: A first acquisition module is used to acquire multiple vehicle navigation positions on the road section to be tested; A first determination module is used to match from a real vehicle trajectory database based on the vehicle navigation position to obtain at least one real vehicle driving trajectory and real vehicle state information associated with the real vehicle driving trajectory, wherein there is a real vehicle driving position in the real vehicle driving trajectory that coincides with the vehicle navigation position; A generation module is used to generate vehicle simulation driving information corresponding to the section to be tested based on at least one section of the actual vehicle driving trajectory and the actual vehicle status information, wherein the vehicle simulation driving information includes the vehicle driving position and vehicle status information of the vehicle on the section to be tested, and the vehicle simulation driving information is used to perform vehicle simulation testing.
10. A cloud platform, characterized in that: The cloud platform includes: A memory for storing executable program codes; A processor, used to call and run the executable program code from the memory, so that the cloud platform executes the vehicle simulation test method as described in any one of claims 1 to 8.
