A vehicle test condition generation method, device, equipment and storage medium
By aligning and processing the historical actual working condition label sequence, determining the target tag and composing the vehicle test working condition sequence, the problem that the vehicle test working conditions in the existing technology does not conform to the actual situation is solved, and a more accurate vehicle operating condition assessment is achieved.
Patent Information
- Application Number
- CN202110872510.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-07-30
AI Technical Summary
The existing vehicle test conditions cannot fully simulate all the actual operating conditions of the vehicle on the real road, resulting in the obtained vehicle operating conditions being inconsistent with the actual situation, especially because the historical actual operating conditions may contain interference work that is irrelevant to the test purpose. condition.
By obtaining the historical actual working condition label sequence that meets the test target from the working condition tag database, performing alignment processing to obtain a tag sequence with the same length to be compared, and determining the same tags whose number exceeds the threshold as the target tag to form a vehicle test working condition sequence. Combined with the sub-working conditions represented by the target label, vehicle test conditions that are more consistent with the actual situation are obtained.
It reduces the interference conditions that may be included in the vehicle test conditions. The obtained vehicle test conditions more accurately reflect the actual situation and have a certain degree of representativeness, which reduces the inconsistency caused by directly using historical actual conditions in the existing technology. Questions about testing targets.
Smart Images

Figure CN113607426B
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment and storage medium for generating vehicle test conditions. Background Art
[0002] Generally, the performance of a vehicle or a vehicle component can be obtained based on the operating condition of the vehicle when it is driving on the road. In practice, it is necessary to use the designed vehicle test conditions to simulate the actual vehicle conditions on the real road and conduct tests to obtain the operating condition of the vehicle. The operating condition may include sub-conditions such as parking, acceleration, constant speed and deceleration. The operating condition of the vehicle may be the emission condition of the vehicle.
[0003] At present, the operating characteristics of different models vary greatly, and there are differences on different roads, which will result in the designed vehicle test conditions not being able to simulate all actual operating conditions of the vehicle. Based on this, for specific test purposes, similar historical actual operating conditions of the vehicle can be directly used as vehicle test conditions, but similar historical actual operating conditions may contain interference conditions that are irrelevant to the test purpose, which will make the obtained vehicle operating conditions inconsistent with the actual situation. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a vehicle test condition generation method, device, equipment and storage medium for providing vehicle test conditions that are more in line with actual conditions.
[0005] In order to achieve the above purpose, the technical solutions provided by the embodiments of the present application are as follows:
[0006] The present application provides a method for generating a vehicle test condition, the method comprising:
[0007] Determine a test target, and obtain multiple historical actual working condition label sequences under the test target from a working condition label database; the working condition label database includes historical actual working condition label sequences;
[0008] Aligning the plurality of historical actual working condition label sequences to obtain a plurality of label sequences to be compared; the lengths of the plurality of label sequences to be compared are consistent;
[0009] Obtaining multiple tags at the same position in the tag sequence to be compared, determining the number of each identical tag in the tags at the same position, comparing the numbers of each identical tag, and determining the largest identical tag whose number exceeds the number threshold as the target tag of the vehicle test condition at the same position; if the number of each identical tag does not meet the number threshold, determining the empty position as the target tag of the vehicle test condition at the same position;
[0010] Based on the target tags at different positions and the target tag information, a vehicle test condition is obtained; the target tag information is the sub-condition corresponding to the target tag.
[0011] Optionally, the determining of the test target and obtaining a plurality of historical actual working condition label sequences under the test target from a working condition label database include:
[0012] Determine the test target and obtain the indicators included in the test target;
[0013] Query the vehicle information and time under the indicator from the historical data;
[0014] The vehicle information and the time are used to obtain a historical actual operating condition label sequence under the test target from the operating condition label database.
[0015] Optionally, the determining of the test target and obtaining a plurality of historical actual working condition label sequences under the test target from a working condition label database include:
[0016] Determine a test target, and obtain a target actual working condition label sequence under the test target;
[0017] From the operating condition label database, a historical actual operating condition label sequence including the target actual operating condition label sequence is selected as a plurality of historical actual operating condition label sequences under the test target.
[0018] Optionally, the aligning of the plurality of historical actual operating condition label sequences to obtain a plurality of label sequences to be compared includes:
[0019] When the lengths of multiple historical actual operating condition label sequences are inconsistent, according to a preset condition, blanks are inserted into the multiple historical actual operating condition label sequences to obtain multiple label sequences to be compared; the preset condition is that the number of identical labels at the same position in the multiple historical actual operating condition label sequences exceeds a preset threshold.
[0020] Optionally, acquiring the vehicle test condition based on the target tags at different positions and the target tag information includes:
[0021] Deleting the vacant positions in the target labels at different positions, replacing them with randomly generated labels, replacing them with the previous label of the vacant position, or replacing them with the next label of the vacant position, to obtain the processed target labels at different positions;
[0022] Based on the processed target tags at different positions and the target tag information, a vehicle test condition is obtained.
[0023] Optionally, before determining the test target and acquiring the historical actual working condition label sequence under the test target from the working condition label database, the method further includes:
[0024] Determine a label and label information; the label information is the sub-condition corresponding to the label;
[0025] Generate a historical actual operating condition label sequence using the label, the label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition;
[0026] Using the historical actual operating condition label sequence, an operating condition label database is pre-established.
[0027] The present application also provides a vehicle test condition generating device, the device comprising:
[0028] A first acquisition unit is used to determine a test target and acquire a plurality of historical actual working condition label sequences under the test target from a working condition label database; the working condition label database includes historical actual working condition label sequences;
[0029] A processing unit, configured to align the plurality of historical actual working condition label sequences to obtain a plurality of label sequences to be compared; the plurality of label sequences to be compared have the same length;
[0030] A comparison unit is used to obtain labels at the same position in the plurality of label sequences to be compared, determine the number of each identical label in the labels at the same position, compare the numbers of each identical label, and determine the identical label with the largest number as the target label of the vehicle test condition at the same position; if the numbers of each identical label do not meet the number threshold, determine the empty position as the target label of the vehicle test condition at the same position;
[0031] The second acquisition unit is used to acquire the vehicle test condition based on the target tags at different positions and the target tag information; the target tag information is the sub-condition corresponding to the target tag.
[0032] Optionally, the device further comprises:
[0033] A determination unit, used for determining a label and label information before determining the test target and obtaining a historical actual working condition label sequence under the test target from a working condition label database; the label information is a sub-working condition corresponding to the label;
[0034] A generating unit, configured to generate a historical actual operating condition label sequence by using the label, the label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition;
[0035] The establishing unit is used to establish a working condition label database in advance by using the historical actual working condition label sequence.
[0036] An embodiment of the present application also provides a vehicle test condition generating device, characterized in that it includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements the vehicle test condition generating method as described.
[0037] An embodiment of the present application also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is used to execute the vehicle test condition generation method as described.
[0038] Through the above technical solution, it can be seen that the present application has the following beneficial effects:
[0039] The embodiment of the present application provides a method, device, equipment and storage medium for generating a vehicle test condition. By determining a test target, a plurality of historical actual condition label sequences that meet the test target are obtained from a condition label database, and alignment processing is performed on them to obtain a plurality of label sequences to be compared, and the lengths of the plurality of label sequences to be compared are consistent. For a plurality of label sequences to be compared, the number of each identical label at the same position in the plurality of label sequences to be compared is determined, and the identical label with the largest number exceeding the number threshold is determined as the target label at the position. Thus, each target label at different positions can be obtained, and the target labels at different positions form a vehicle test condition sequence in order, and the vehicle test condition can be obtained by combining the sub-condition represented by the target label. In this method, the target labels at different positions all represent a sub-condition in the vehicle test condition. Different positions represent different orders of appearance in the vehicle test condition. Each target label in the vehicle test condition obtained by this method is selected from the labels at the corresponding position in the plurality of historical actual conditions. If the target label is a label whose number exceeds the quantity threshold, it can be considered that the corresponding sub-condition is a sub-condition with common characteristics and has a certain degree of representativeness. This reduces to a certain extent the situation in the prior art where the vehicle test condition may contain interference conditions that are irrelevant to the test target due to the direct use of historical actual conditions as vehicle test conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 A schematic diagram of an exemplary application scenario of a vehicle test condition generation method provided in an embodiment of the present application;
[0042] Figure 2 A flow chart of a method for generating a vehicle test condition provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of the structure of a vehicle test condition generating device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0045] In order to facilitate understanding and explanation of the technical solutions provided by the embodiments of the present application, the background technology of the embodiments of the present application is first described below.
[0046] Generally, the performance of a vehicle or a vehicle component can be obtained based on the operating conditions of the vehicle when it is driven on the road. The operating condition method is the most scientific experimental method for evaluating the operating conditions of a vehicle when it is driven on the road.
[0047] The designed vehicle test conditions are used to simulate the actual vehicle conditions on real roads, and the vehicle's operating conditions are obtained by testing. The operating conditions may include parking, acceleration, constant speed and deceleration. The vehicle's operating conditions may be the vehicle's emission conditions. The vehicle test conditions used depend on the user's test objectives, and are essentially to simulate the vehicle's driving process in a certain road area. For example, the road area is a city or suburb.
[0048] At present, the operating characteristics of different models vary greatly, and there are differences on different roads, which will result in the designed vehicle test conditions not being able to simulate all actual operating conditions of the vehicle. Based on this, for specific test purposes, similar historical actual operating conditions of the vehicle can be directly used as vehicle test conditions, but similar historical actual operating conditions may contain interference conditions that are irrelevant to the test purpose, which will make the obtained vehicle operating conditions inconsistent with the actual situation.
[0049] Based on this, the embodiment of the present application provides a vehicle test condition generation method, device, equipment and storage medium. In order to facilitate understanding of the vehicle test condition generation method provided by the embodiment of the present application, the following is combined with Figure 1 See the example scenario shown. Figure 1 , Figure 1 A schematic diagram of an exemplary application scenario of a vehicle test condition generation method provided in an embodiment of the present application. The method can be applied in the terminal 101.
[0050] The terminal 101 determines the test target for the vehicle test. For example, the test target is the vehicle operation condition on the northern urban roads in winter. After determining the test target, multiple historical actual working condition label sequences matching the test target are obtained from the working condition label database 102. Among them, the working condition label database 102 stores multiple historical actual working condition label sequences. The label is a symbolic representation of the sub-working condition, for example, it can be a letter representation. The label represents the sub-working condition, and the label information indicates the meaning of the sub-working condition.
[0051] The multiple historical actual working condition label sequences obtained by the terminal 101 match the test target. Based on this, in order to make the designed vehicle test condition more consistent with the test target, the label at the same position of multiple historical actual working condition label sequences is used to determine whether the label at this position is more consistent with the test target. First, the terminal 101 needs to align multiple historical actual working condition label sequences to obtain multiple label sequences to be compared with the same length so as to compare the labels at the same position.
[0052] After obtaining multiple tag sequences to be compared, the terminal 101 obtains tags at the same position in the multiple tag sequences to be compared, and determines the number of each identical tag in the tags at the same position. The number of each identical tag is compared, and the largest identical tag with a number exceeding the number threshold is selected from each identical tag, and it is determined as the target tag at the position of the vehicle test condition. If the number of each identical tag does not meet the number threshold, it is determined that the target tag at the position is empty.
[0053] After determining the target tags at different positions, the terminal 101 obtains the vehicle test conditions for the vehicle test target according to the order of the target tags at different positions and the target tag information corresponding to the target tags.
[0054] Those skilled in the art will understand that Figure 1 The framework diagram shown is only an example in which the embodiments of the present application can be implemented. The scope of application of the embodiments of the present application is not limited by any aspect of the framework.
[0055] It should be noted that the terminal 101 can be any user device that is currently in development, or will be developed in the future, and can interact with each other through any form of wired and / or wireless connection (e.g., Wi-Fi, LAN, cellular, coaxial cable, etc.), including but not limited to: smart wearable devices, smart phones, non-smart phones, tablet computers, laptop personal computers, desktop personal computers, minicomputers, mid-range computers, mainframe computers, etc. that are currently in development, or will be developed in the future. The implementation of the present application is not limited in this regard. It should also be noted that the server 102 in the embodiment of the present application can be an example of a device that is currently in development, or will be developed in the future, and can perform the above operations. The implementation of the present application is not limited in this regard.
[0056] Based on the above description, the vehicle test condition generation method provided in the present application will be described in detail below with reference to the accompanying drawings.
[0057] See also Figure 2 , Figure 2 A flow chart of a method for generating a vehicle test condition provided in an embodiment of the present application. Figure 2 As shown, the vehicle test condition generation method includes S201-S204:
[0058] S201: Determine a test target, and obtain multiple historical actual working condition label sequences under the test target from a working condition label database; the working condition label database includes historical actual working condition label sequences.
[0059] When testing the operation of a vehicle on the road, it is necessary to determine the test objectives related to the test. The test objectives indicate the user's test intention for testing the vehicle. For example, the test objective is the operation of a vehicle on a northern city road in winter. Or, the test objective is the operation of a vehicle on a highway at minus 10 degrees.
[0060] It can be understood that the test target corresponds to the vehicle test condition, and the vehicle test condition is a test condition responsive to the test target and is used to simulate the driving condition of the vehicle under the test target.
[0061] After determining the test target, multiple historical actual working condition label sequences that match the test target are obtained from the working condition label database. Among them, the working condition label database stores multiple historical actual working condition label sequences, that is, the real-time, synchronized large-scale driving data in the history of different vehicles in different regions are stored in the working condition label database in the form of label sequences. The historical actual working condition label sequence is obtained by labeling and serializing the actual working conditions of the vehicle during actual driving. It can be understood that the actual working conditions of the vehicle during actual driving are composed of some sub-conditions in sequence. For example, the historical actual working condition is to stop first, then accelerate, then keep a constant speed, and finally decelerate. The sub-conditions are parking, acceleration, constant speed and deceleration. Labeling the sub-conditions and sorting them according to the order of the actual driving process forms a historical actual working condition label sequence. For example, parking is marked with A, acceleration is marked with B, constant speed is marked with C, and deceleration is marked with D. Then the label sequence corresponding to the above historical actual working conditions is ABCD.
[0062] After the test target is determined, multiple historical actual working condition label sequences matching the test target can be searched in the working condition label database according to the test target.
[0063] Based on the above content, it can be seen that the test target can be better reflected by obtaining multiple historical actual working condition label sequences that match the test target in the working condition label database. The vehicle test conditions obtained through multiple historical actual working condition label sequences are more in line with the test target, more accurate and in line with the actual situation.
[0064] In possible implementations, the embodiments of the present application provide two specific implementation methods for determining test targets and obtaining multiple historical actual operating condition label sequences under the test targets from the operating condition label database. Please see below for details.
[0065] S202: Align multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the lengths of the multiple label sequences to be compared are consistent.
[0066] The lengths of the multiple historical actual working condition label sequences obtained in S201 may be different. In this case, label comparison at the same position in subsequent S203 cannot be performed. Therefore, the multiple historical actual working condition label sequences obtained are aligned to obtain multiple label sequences to be compared with the same length after the processing.
[0067] In a possible implementation, a specific implementation method of aligning multiple historical actual working condition label sequences to obtain multiple label sequences to be compared may be:
[0068] When the lengths of multiple historical actual working condition label sequences are inconsistent, according to preset conditions, blanks are inserted into the multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the preset condition is that the number of identical labels at the same position in the multiple historical actual working condition label sequences exceeds a preset threshold.
[0069] It is understandable that the position where the vacancy is inserted in each historical actual working condition label sequence where the vacancy needs to be inserted needs to meet the preset conditions. That is, after the vacancy is inserted, the number of identical labels at the same position in the obtained multiple label sequences to be compared must exceed the preset threshold. In other words, after alignment, the multiple label sequences to be compared must have labels at the same position that are as similar as possible. In this way, the target label selected at this position in the subsequent S203 is a label that is more representative and more in line with the test target.
[0070] It should be noted that the preset threshold is selected according to actual conditions and is not limited here.
[0071] S203: Obtain labels at the same position in multiple label sequences to be compared, determine the number of identical labels in the labels at the same position, compare the numbers of identical labels, and determine the largest identical label whose number exceeds the number threshold as the target label at the same position of the vehicle test condition; if the number of identical labels does not meet the number threshold, determine the empty space as the target label at the same position of the vehicle test condition.
[0072] After obtaining multiple tag sequences to be compared, obtain tags at the same position for the multiple tag sequences to be compared. Traverse the tags at the same position to determine the number of identical tags and identical notes in the tags at the same position. Compare the number of identical tags, and determine the largest identical tag that exceeds the number threshold as the target tag at the same position of the vehicle test condition.
[0073] The quantity threshold indicates the minimum number of times the same label must appear at one position in multiple label sequences to be compared. Labels greater than the quantity threshold are representative of all labels at that position and are more in line with the actual situation and the test objectives. It should be noted that the quantity threshold is selected according to the actual situation and is not limited here.
[0074] The target tag at a position is the tag of the vehicle test condition at that position. It can be understood that the position of the tag in the tag sequence to be compared represents the execution order of the sub-conditions corresponding to the tag. Therefore, after confirming the target tag at a position, the sub-conditions of the vehicle test condition at that position and the execution order of the sub-conditions during the vehicle test are determined.
[0075] S204: Acquire a vehicle test condition based on target tags at different positions and target tag information; the target tag information is a sub-condition corresponding to the target tag.
[0076] After obtaining the target tags at different positions, the tag sequence corresponding to the vehicle test condition can be determined. The tag sequence corresponding to the vehicle test condition is composed of target tags at different positions. After determining the tag sequence corresponding to the vehicle test condition, the vehicle test condition can be obtained according to the target tag information. For example, the tag sequence corresponding to the vehicle test condition is ABCD, because the tag information of A is parking, the tag information of B is acceleration, the tag information of C is uniform speed, and the tag information of D is deceleration. Then the vehicle test condition is first parking, then accelerating, then uniform speed, and finally decelerating.
[0077] In a possible implementation, based on target tags at different locations and target tag information, a specific implementation method for obtaining a vehicle test condition includes:
[0078] Delete the vacancies in the target labels at different positions, replace them with randomly generated labels, replace them with the previous label of the vacancies, or replace them with the next label of the vacancies to obtain the processed target labels at different positions;
[0079] Based on the processed target labels and target label information at different positions, the vehicle test conditions are obtained.
[0080] It is understandable that, since target tags at different positions may be empty, the empty spaces need to be processed in the above manner in order to determine a vehicle test condition that is more in line with the actual situation and the test objectives.
[0081] The embodiment of the present application provides a method for generating a vehicle test condition. By determining a test target, a plurality of historical actual condition label sequences that meet the test target are obtained from a condition label database, and alignment processing is performed on them to obtain a plurality of label sequences to be compared, and the lengths of the plurality of label sequences to be compared are consistent. For a plurality of label sequences to be compared, the number of each identical label at the same position in the plurality of label sequences to be compared is determined, and the identical label with the largest number exceeding the number threshold is determined as the target label at the position. Thus, each target label at different positions can be obtained, and the target labels at different positions form a vehicle test condition sequence in order, and the vehicle test condition can be obtained by combining the sub-condition represented by the target label. In this method, the target labels at different positions all represent a sub-condition in the vehicle test condition. Different positions represent different orders of appearance in the vehicle test condition. Each target label in the vehicle test condition obtained by this method is selected from the labels at the corresponding position in the plurality of historical actual conditions. If the target label is a label whose number exceeds the quantity threshold, it can be considered that the corresponding sub-condition is a sub-condition with common characteristics and has a certain degree of representativeness. This reduces to a certain extent the situation in the prior art where the vehicle test condition may contain interference conditions that are irrelevant to the test target due to the direct use of historical actual conditions as vehicle test conditions.
[0082] Before designing a vehicle test condition, it is necessary to determine the test target and obtain multiple historical actual condition label sequences under the test target from the condition label database.
[0083] Correspondingly, in a possible implementation, the embodiment of the present application provides a specific implementation method of determining a test target and obtaining multiple historical actual working condition label sequences under the test target from a working condition label database, including:
[0084] A1: Determine the test objectives and obtain the indicators included in the test objectives.
[0085] The indicators included in the test target are the elements in the test target. For example, the test target is the vehicle operation on urban roads in the north in winter. The indicators included in the test target are winter, north, and urban roads.
[0086] A2: Query the vehicle information and time under the indicator from the historical data.
[0087] The historical data is real-time, synchronized, and large-scale driving data from different regions and different vehicles in history.
[0088] For example, when the indicators are determined to be winter, north and urban roads, the vehicle information and time corresponding to winter, north and urban roads are queried from the historical vehicle driving data. The vehicle information includes the vehicle model, license plate number and other information.
[0089] A3: Use vehicle information and time to obtain the historical actual operating condition label sequence under the test target from the operating condition label database.
[0090] The vehicle information and time are used to obtain the historical actual operating condition label sequence under the test target from the operating condition label database.
[0091] It can be understood that the vehicle information and time under the acquired indicators can be considered as the index of the historical actual operating condition label sequence under the operating condition label database search test target.
[0092] Based on this specific implementation, the relevant vehicle information and time are obtained using the indicators corresponding to the test target, and multiple historical actual working condition label sequences matching the test target are obtained in the working condition label database using the vehicle information and time as indexes. The vehicle test working conditions obtained through multiple historical actual working condition label sequences are more in line with the test target, more accurate and in line with the actual situation.
[0093] In another possible implementation, the embodiment of the present application provides a specific implementation method of determining a test target and obtaining multiple historical actual working condition label sequences under the test target from a working condition label database, including:
[0094] B1: Determine the test target and obtain the target actual working condition label sequence under the test target.
[0095] The target actual working condition label sequence is one or more actual working condition label sequences corresponding to the test target. If there are multiple actual working condition label sequences, the common labels among them are selected as the target actual working condition label sequence under the test target.
[0096] For example, the test target is -10 degrees Celsius, and the vehicle is driving in the actual working condition of a highway. It is assumed that the target actual working condition label sequence that matches the test target is EFG.
[0097] B2: From the operating condition label database, select the historical actual operating condition label sequences that include the target actual operating condition label sequences as multiple historical actual operating condition label sequences under the test target.
[0098] From the operating condition label database, historical actual operating condition label sequences including the target actual operating condition label sequence are selected as multiple historical actual operating condition label sequences under the test target.
[0099] For example, when the target actual working condition label sequence is EFG, multiple label sequences including EFG are selected from the working condition label database and used as multiple historical actual working condition label sequences under the test target.
[0100] Based on this specific implementation, a historical actual working condition label sequence is first obtained using the test target, and then multiple historical actual working condition label sequences that contain the historical actual working condition label sequence and match the test target are obtained from the working condition label database. The vehicle test working condition obtained through multiple historical actual working condition label sequences is more in line with the test target, more accurate and in line with the actual situation.
[0101] In the embodiment of the present application, after determining the test target, it is necessary to obtain the historical actual working condition label sequence under the test target from the working condition label database. It can be seen that the working condition label database is a pre-prepared database. The working condition label database is used to provide actual working conditions that meet the test target for designing vehicle test working conditions.
[0102] Therefore, the embodiment of the present application further provides another method for generating a vehicle test condition. Compared with the aforementioned method embodiment, before determining the test target and obtaining the historical actual condition label sequence under the test target from the condition label database, the method further includes:
[0103] C1: Determine the label and label information; the label information is the sub-condition corresponding to the label.
[0104] The label can be set according to the actual situation, for example, using letters to represent the label. It only needs to ensure that the label and the sub-condition correspond one to one.
[0105] C2: Generate a historical actual operating condition label sequence using the label, label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition.
[0106] Acquire real-time, synchronized, large-scale driving data from different regions and different vehicles, from which the historical actual operating conditions of different vehicles at different times in different regions can be obtained. The historical actual operating conditions can be represented in the form of label sequences according to the labels, generating a historical actual operating condition label sequence.
[0107] C3: Use the historical actual working condition label sequence to pre-establish the working condition label database.
[0108] The acquired historical actual working condition tag sequence is used to establish a working condition tag database in advance. The working condition tag database stores the acquired historical actual working condition tag sequence.
[0109] Based on the vehicle test condition generation method provided by the above method embodiment, the present application embodiment also provides a vehicle test condition generation device. The vehicle test condition generation device will be described below in conjunction with the accompanying drawings.
[0110] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a vehicle test condition generation device provided in an embodiment of the present application. Figure 3 As shown, the vehicle test condition generating device comprises:
[0111] The first acquisition unit 301 is used to determine a test target and acquire a plurality of historical actual working condition label sequences under the test target from a working condition label database; the working condition label database includes historical actual working condition label sequences;
[0112] A processing unit 302 is used to align the multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the lengths of the multiple label sequences to be compared are consistent;
[0113] A comparison unit 303 is used to obtain labels at the same position in the plurality of label sequences to be compared, determine the number of each identical label in the labels at the same position, compare the numbers of each identical label, and determine the identical label with the largest number exceeding the number threshold as the target label of the vehicle test condition at the same position; if the number of each identical label does not meet the number threshold, determine the empty position as the target label of the vehicle test condition at the same position;
[0114] The second acquisition unit 304 is used to acquire the vehicle test condition based on the target tags at different positions and the target tag information; the target tag information is the sub-condition corresponding to the target tag.
[0115] In a possible implementation, the first acquiring unit 301 includes:
[0116] A first acquisition subunit is used to determine a test target and acquire indicators included in the test target;
[0117] A query subunit, used to query the vehicle information and time under the indicator from the historical data;
[0118] The second acquisition subunit is used to acquire a historical actual operating condition label sequence under the test target from the operating condition label database using the vehicle information and the time.
[0119] In a possible implementation, the first acquiring unit 301 includes:
[0120] A third acquisition subunit is used to determine a test target and acquire a target actual working condition label sequence under the test target;
[0121] The selection subunit is used to select, from the operating condition label database, a historical actual operating condition label sequence that includes the target actual operating condition label sequence as a plurality of historical actual operating condition label sequences under the test target.
[0122] In a possible implementation, the processing unit 302 is specifically configured to:
[0123] When the lengths of multiple historical actual operating condition label sequences are inconsistent, according to a preset condition, blanks are inserted into the multiple historical actual operating condition label sequences to obtain multiple label sequences to be compared; the preset condition is that the number of identical labels at the same position in the multiple historical actual operating condition label sequences exceeds a preset threshold.
[0124] In a possible implementation, the second obtaining unit 304 includes:
[0125] A fourth acquisition subunit is used to delete the vacant positions in the target labels at different positions, replace them with randomly generated labels, replace them with the previous label of the vacant position, or replace them with the next label of the vacant position, so as to obtain the processed target labels at different positions;
[0126] The fifth acquisition subunit is used to acquire the vehicle test condition based on the processed target tags and target tag information at different positions.
[0127] In a possible implementation manner, the device further includes:
[0128] A determination unit, used for determining a label and label information before determining the test target and obtaining a historical actual working condition label sequence under the test target from a working condition label database; the label information is a sub-working condition corresponding to the label;
[0129] A generating unit, configured to generate a historical actual operating condition label sequence by using the label, the label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition;
[0130] The establishing unit is used to establish a working condition label database in advance by using the historical actual working condition label sequence.
[0131] In addition, an embodiment of the present application also provides a timing-based vehicle operating condition classification device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle test condition generation method described in the above embodiment is implemented.
[0132] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to execute the vehicle test condition generation method as described in the above embodiment.
[0133] The embodiment of the present application provides a vehicle test condition generation device and equipment. By determining the test target, multiple historical actual condition label sequences that meet the test target are obtained from the condition label database, and alignment processing is performed on them to obtain multiple label sequences to be compared, and the lengths of the multiple label sequences to be compared are consistent. For multiple label sequences to be compared, the number of each identical label at the same position in the multiple label sequences to be compared is determined, and the identical label with the largest number exceeding the number threshold is determined as the target label at the position. Thus, each target label at different positions can be obtained, and the target labels at different positions form a vehicle test condition sequence in order. Combined with the sub-condition represented by the target label, the vehicle test condition can be obtained. In this method, the target labels at different positions all represent a sub-condition in the vehicle test condition. Different positions represent different orders of appearance in the vehicle test condition. Each target label in the vehicle test condition obtained by this method is selected from the labels at the corresponding position in multiple historical actual conditions. If the target label is a label whose number exceeds the quantity threshold, it can be considered that the corresponding sub-condition is a sub-condition with common characteristics and has a certain degree of representativeness. This reduces to a certain extent the situation in the prior art where the vehicle test condition may contain interference conditions that are irrelevant to the test target due to the direct use of historical actual conditions as vehicle test conditions.
[0134] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0135] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the system part description.
[0136] It should also be noted that, in this article, the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0137] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating a vehicle test condition, characterized in that: The method comprises: Determine a test target, and obtain a target actual working condition label sequence under the test target; Acquire multiple historical actual working condition label sequences under the test target from a working condition label database, and select the historical actual working condition label sequences including the target actual working condition label sequences as the multiple historical actual working condition label sequences under the test target; the working condition label database includes the historical actual working condition label sequences; Aligning multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the lengths of the multiple label sequences to be compared are consistent; wherein, aligning multiple historical actual working condition label sequences to obtain multiple label sequences to be compared includes: when the lengths of the multiple historical actual working condition label sequences are inconsistent, inserting spaces in the multiple historical actual working condition label sequences according to a preset condition to obtain multiple label sequences to be compared; the preset condition is that the number of identical labels at the same position in the multiple historical actual working condition label sequences exceeds a preset threshold; Obtain labels at the same position in a plurality of the label sequences to be compared, determine the number of each identical label in the labels at the same position, compare the numbers of each identical label, and determine the identical label with the largest number exceeding a number threshold as the target label of the vehicle test condition at the same position; if the number of each identical label does not meet the number threshold, determine the empty position as the target label of the vehicle test condition at the same position; delete the empty position in the target label at different positions, replace it with a randomly generated label, replace it with a label before the empty position, or replace it with a label after the empty position, to obtain the processed target labels at different positions; Based on the target tags at different positions and the target tag information, a vehicle test condition is obtained; the target tag information is the sub-condition corresponding to the target tag.
2. The method according to claim 1, characterized in that The determining of the test target and obtaining a plurality of historical actual working condition label sequences under the test target from the working condition label database include: Determine the test target and obtain the indicators included in the test target; Query the vehicle information and time under the indicator from the historical data; The vehicle information and the time are used to obtain a historical actual operating condition label sequence under the test target from the operating condition label database.
3. The method according to any one of claims 1 to 2, characterized in that: Before determining the test target and obtaining the historical actual working condition label sequence under the test target from the working condition label database, the method further includes: Determine a label and label information; the label information is the sub-condition corresponding to the label; Generate a historical actual operating condition label sequence using the label, the label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition; Using the historical actual operating condition label sequence, an operating condition label database is pre-established.
4. A vehicle test condition generating device, characterized in that: The device comprises: A first acquisition unit is used to determine a test target and acquire a target actual working condition label sequence under the test target; acquire multiple historical actual working condition label sequences under the test target from a working condition label database, and select a historical actual working condition label sequence containing the target actual working condition label sequence as a plurality of historical actual working condition label sequences under the test target; the working condition label database includes historical actual working condition label sequences; A processing unit is used to align the multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the lengths of the multiple label sequences to be compared are consistent; wherein, the alignment of the multiple historical actual working condition label sequences to obtain multiple label sequences to be compared includes: when the lengths of the multiple historical actual working condition label sequences are inconsistent, according to a preset condition, inserting spaces in the multiple historical actual working condition label sequences to obtain multiple label sequences to be compared; the preset condition is that the number of identical labels at the same position in the multiple historical actual working condition label sequences exceeds a preset threshold; A comparison unit is used to obtain labels at the same position in a plurality of the label sequences to be compared, determine the number of each identical label in the labels at the same position, compare the number of each identical label, and determine the identical label with the largest number as the target label of the vehicle test condition at the same position; if the number of each identical label does not meet the quantity threshold, determine the empty position as the target label of the vehicle test condition at the same position; delete the empty position in the target label at different positions, replace it with a randomly generated label, replace it with a label before the empty position, or replace it with a label after the empty position, to obtain the processed target labels at different positions; The second acquisition unit is used to acquire the vehicle test condition based on the target tags at different positions and the target tag information; the target tag information is the sub-condition corresponding to the target tag.
5. The device according to claim 4, characterized in that The device also includes: A determination unit, used for determining a label and label information before determining the test target and obtaining a historical actual working condition label sequence under the test target from a working condition label database; the label information is a sub-working condition corresponding to the label; A generating unit, configured to generate a historical actual operating condition label sequence by using the label, the label information and the historical actual operating condition of the vehicle; the historical actual operating condition includes at least one sub-operating condition; The establishing unit is used to establish a working condition label database in advance by using the historical actual working condition label sequence.
6. A vehicle test condition generating device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the vehicle test condition generating method according to any one of claims 1 to 3 is implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the vehicle test condition generation method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Driving condition data generation apparatus used for complete vehicle simulation
CN105868430A
Collaborative 3-D environment map for computer-assisted or autonomous driving vehicles
CN111754625A
Battery pack durability test method and device and computer equipment
CN111947871A
Driving behavior monitoring method and system, server and storage medium
CN112319489A
Working condition fusion road feel simulation method based on SVM and BP neural network
CN112572606A
