A method, device, equipment and storage medium for generating vehicle condition data

By filtering and multi-wheel correction of the vehicle's original speed and elevation data, accurate vehicle working condition data is generated, which solves the problem of inaccurate generation of vehicle working condition data in the prior art, and improves the economic evaluation of vehicle development.

CN115798074BActive Publication Date: 2025-07-08FAW JIEFANG AUTOMOTIVE CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210729819.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2025-07-08
Estimated Expiration
2042-06-24

AI Technical Summary

Technical Problem

It is difficult for the prior art to accurately generate vehicle working condition data, which affects the economic evaluation of vehicle development.

Method used

By filtering and multi-wheel correction of the original vehicle speed and elevation data, the vehicle operating condition data is generated, including correction of effective vehicle speed data, acceleration data and slope data, and the target elevation data is formed.

Benefits of technology

It improves the accuracy of vehicle working condition data and assists in the specific analysis and optimization of working conditions during vehicle development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115798074B_ABST
    Figure CN115798074B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for generating vehicle condition data. The method includes: performing filtering processing on original vehicle speed data to obtain effective vehicle speed data, and correcting first elevation data according to the effective vehicle speed data to obtain second elevation data; the first elevation data is obtained by performing data cleaning on original elevation data; performing filtering processing on the second elevation data to obtain third elevation data; determining acceleration data according to the effective vehicle speed data, and correcting the third elevation data according to the acceleration data to obtain fourth elevation data; determining initial slope data according to the fourth elevation data and the effective vehicle speed data, correcting the fourth elevation data according to the initial slope data to obtain target elevation data, and generating vehicle condition data according to the target elevation data. The technical solution of the embodiment of the present invention can restore the condition data during the vehicle driving process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and particularly to a method, device, equipment and storage medium for generating vehicle condition data. Background Art

[0002] The economy index is one of the most important performance indexes in the vehicle development process. At present, the method for evaluating the economy of a whole vehicle mainly focuses on the economy index of the vehicle driving condition.

[0003] The vehicle driving condition reflects the kinematic characteristics of the vehicle driving under a specific traffic environment. The vehicle condition is expressed in forms such as speed-time, elevation value-time, and slope-time. In order to give full play to the economy advantage of the whole vehicle, specific conditions need to be analyzed specifically. Therefore, generating vehicle condition data under specific conditions based on specific user driving data is very important for the whole vehicle development link. Summary of the Invention

[0004] The present invention provides a method, device, equipment and storage medium for generating vehicle condition data, which can generate vehicle condition data according to the original vehicle speed and elevation data, restore the condition data during the vehicle driving process, and play an auxiliary role in the vehicle performance development process.

[0005] According to one aspect of the present invention, there is provided a method for generating vehicle condition data, including:

[0006] Performing filtering processing on the original vehicle speed data to obtain effective vehicle speed data, and correcting the first elevation data according to the effective vehicle speed data to obtain second elevation data; the first elevation data is obtained by performing data cleaning on the original elevation data;

[0007] Performing filtering processing on the second elevation data to obtain third elevation data;

[0008] Determining acceleration data based on the effective vehicle speed data, and correcting the third elevation data according to the acceleration data to obtain fourth elevation data;

[0009] Determining initial slope data according to the fourth elevation data and the effective vehicle speed data, correcting the fourth elevation data according to the initial slope data to obtain target elevation data, and generating vehicle condition data according to the target elevation data.

[0010] According to another aspect of the present invention, there is provided a device for generating vehicle condition data, including:

[0011] The second elevation data determination module is configured to perform filtering processing on the original vehicle speed data to obtain effective vehicle speed data, and based on the effective vehicle speed data, correct the first elevation data to obtain second elevation data; the first elevation data is obtained by performing data cleaning on the original elevation data;

[0012] The third elevation data determination module is configured to perform filtering processing on the second elevation data to obtain third elevation data;

[0013] The fourth elevation data determination module is configured to determine acceleration data based on the effective vehicle speed data, and based on the acceleration data, correct the third elevation data to obtain fourth elevation data;

[0014] The vehicle condition data generation module is configured to determine initial slope data based on the fourth elevation data and the effective vehicle speed data, correct the fourth elevation data based on the initial slope data to obtain target elevation data, and generate vehicle condition data based on the target elevation data.

[0015] According to another aspect of the present invention, there is provided an electronic device, the electronic device includes:

[0016] At least one processor; and

[0017] A memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle condition data generation method according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, there is provided a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the vehicle condition data generation method according to any embodiment of the present invention when executed by a processor.

[0020] The technical solution of the embodiment of the present invention respectively performs multiple rounds of correction on the elevation data of the vehicle driving route through the effective vehicle speed data, filtering processing, acceleration data, and slope data of the vehicle, and generates vehicle condition data based on the corrected target elevation data, and can assist in the overall vehicle development based on the vehicle condition data of the vehicle driving under specific conditions.

[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Description of the Drawings

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0023] Figure 1 is a flowchart of a method for generating vehicle operating condition data according to Embodiment 1 of the present invention;

[0024] Figure 2a is a flowchart of a method for generating vehicle operating condition data according to Embodiment 2 of the present invention;

[0025] Figure 2b is a scenario diagram of vehicle operating condition data generation according to Embodiment 2 of the present invention;

[0026] Figure 3 is a schematic structural diagram of a device for generating vehicle operating condition data according to Embodiment 3 of the present invention;

[0027] Figure 4 is a schematic structural diagram of an electronic device for implementing the method for generating vehicle operating condition data in the embodiments of the present invention. Detailed Embodiments

[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0030] Embodiment 1

[0031] Figure 1 The following is a flowchart of a method for generating vehicle condition data provided in the first embodiment of the present invention. This embodiment is applicable to the situation of correcting the vehicle speed and elevation values of the acquaintance route of the vehicle and restoring the vehicle condition data. This method can be used in a big data platform capable of obtaining vehicle driving data.

[0032] In this embodiment, the method involved can be executed by a vehicle condition data generation device. The vehicle condition data generation device can be implemented in the form of hardware and / or software, and can be configured in various general computing devices. As Figure 1 shown, the method includes:

[0033] S110. Perform filtering processing on the original vehicle speed data to obtain effective vehicle speed data, and correct the first elevation data based on the effective vehicle speed data to obtain the second elevation data; the first elevation data is obtained by performing data cleaning on the original elevation data.

[0034] The original vehicle speed data is the vehicle speed data collected by the vehicle according to the set sampling period and uploaded to the big data platform. Exemplarily, the vehicle speed sensor deployed on the vehicle collects the vehicle speed once every 2 seconds during the vehicle driving process, and the set of vehicle speeds collected during the entire vehicle driving process constitutes the original vehicle speed data.

[0035] The original elevation data is the elevation value of the road traveled by the vehicle collected and uploaded to the big data platform according to the set sampling period. Exemplarily, the elevation value of the road where the vehicle is currently located is collected once every 5 seconds during the vehicle driving process, and finally the set of elevation values collected during the entire vehicle driving process constitutes the original elevation data.

[0036] The first elevation data is obtained by performing data cleaning on the original elevation data. Exemplarily, according to the effective elevation value range, the effective elevation data and the invalid elevation data are screened out in the original elevation data, and the invalid elevation data is removed.

[0037] In the embodiments of the present invention, in order to avoid anomalies caused by partial loss of vehicle speed data during the acquisition or transmission process, the original vehicle speed data is first filtered to obtain effective vehicle speed data. Then, the first elevation data is corrected based on the effective vehicle speed data to obtain the second elevation data. Specifically, the original vehicle speed data can be filtered by the moving average method to obtain the effective vehicle speed data. Further, based on the configuration information of the vehicle, the filtered effective vehicle speed can be judged. If the maximum vehicle speed, maximum acceleration, and maximum braking deceleration meet the vehicle technical parameters, the first elevation data can be corrected based on the effective vehicle speed data. Otherwise, the vehicle speed filtering parameters are modified, and the vehicle speed filtering process is repeated until the maximum vehicle speed, maximum acceleration, and maximum braking deceleration in the obtained effective vehicle speed data meet the vehicle technical parameters, and then the first elevation data is corrected.

[0038] Among them, the correction of the first elevation data based on the effective vehicle speed data can be specifically: in the time interval when the vehicle speed is 0, the collected elevation value is a fixed value; when the vehicle travels at a speed lower than the set threshold in a section of the road, the elevation change rate of this section of the road is lower than the change rate threshold.

[0039] In a specific example, first, based on the maximum vehicle speed limit value in the vehicle parameters, the original vehicle speed data is cleaned to remove invalid vehicle speed data. Then, the cleaned original vehicle speed data is filtered by the moving average value method to prevent anomalies caused by partial signal modification of the vehicle speed. The specific vehicle speed filtering formula is as follows:

[0040]

[0041] where V t+1 is the vehicle speed collected at the (t + 1)th moment, N is the number of moving average terms, and V t+i is the vehicle speed collected at the (t + i)th moment.

[0042] It should be noted that the number of moving average terms N can be adjusted according to the vehicle working conditions. For example, in urban or mountainous working conditions, N is set to a relatively large value to improve data quality. In highway or plain working conditions, the value of N is set to a relatively small value to avoid overcorrection.

[0043] After the filtering process of the original data is completed, effective vehicle speed data is obtained. Based on the effective vehicle speed data, the first elevation data is corrected to obtain the second elevation data. For example, when the vehicle travels in the time interval from the 1st hour to 1 hour and 5 minutes, the speed is 0, then the elevation value collected in this time interval should be a fixed value. If it is not a fixed value, the elevation value in this time interval needs to be corrected to a fixed value. Another example is that when the vehicle travels in the time interval from 1 hour and 5 minutes to 1 hour and 15 minutes, if the speed is less than 20 km / h, the change rate of the elevation value collected in this time interval is less than 2%. If the change rate of the elevation value is greater than 2%, the elevation value collected in this time interval needs to be corrected according to the change rate of 2%.

[0044] S120. Filter the second elevation data to obtain the third elevation data.

[0045] In the embodiment of the present invention, after the first elevation data is corrected based on the effective vehicle speed data to obtain the second elevation data, in order to improve the accuracy of the elevation data, the second elevation data is further filtered to obtain the third elevation data.

[0046] Specifically, filtering the second elevation data may include detecting outliers in the second elevation data. For example, detecting elevation values that suddenly become 0 during driving, and elevation values whose difference from the elevation values of adjacent sampling points is greater than the change threshold, and taking these detected elevation values as abnormal elevation values. For these abnormal elevation values, a correction interval containing the above abnormal values can be selected, and an arithmetic progression can be constructed through the elevation values of the first and last sampling points in the correction interval, and finally the abnormal elevation values are corrected according to the values in the arithmetic progression.

[0047] After the outlier correction, the effective elevation data can be further determined by standard deviation filtering, and the invalid elevation data is filled with 0. After the standard deviation filtering is completed, moving average low-pass filtering is further performed, where the number of moving average terms is determined according to the current working condition of the vehicle. For example, in urban or mountainous working conditions, N is set to a relatively large value to improve data quality. In high-speed or plain working conditions, the N value is set to a relatively small value to avoid overcorrection.

[0048] S130. Based on the effective vehicle speed data, determine the acceleration data, and based on the acceleration data, correct the third elevation data to obtain the fourth elevation data.

[0049] In an embodiment of the present invention, after obtaining the third elevation data, acceleration data of the vehicle is further calculated based on the effective vehicle speed data, and then the third elevation data is further corrected based on the acceleration data to obtain the fourth elevation data. Specifically, the elevation sensor has large data fluctuations in intervals where the acceleration data fluctuates greatly, such as when the vehicle starts, brakes suddenly, or starts and stops frequently, which may introduce some incorrect elevation values. In this embodiment, the distribution range of the vehicle acceleration data is judged, the acceleration percentile is extracted, and for the interval where the absolute value of the acceleration is greater than the set threshold, the elevation value is corrected. Specifically, the elevation value in the interval where the absolute value of the acceleration is greater than the set threshold can be set to 0.

[0050] S140. Determine the initial slope data based on the fourth elevation data and the effective vehicle speed data, correct the fourth elevation data according to the initial slope data to obtain the target elevation data, and generate vehicle condition data based on the target elevation data.

[0051] In an embodiment of the present invention, after respectively performing speed-based correction, filtering processing correction, and acceleration-based correction on the first elevation data, the fourth elevation data is obtained. Further, the fourth elevation data can be corrected again based on the slope data. Specifically, first, the distance information is calculated based on the effective vehicle speed data and the acquisition time of the vehicle speed data. Further, the initial slope data in the vehicle driving route is calculated based on the distance information and the fourth elevation data. Then, the time interval in which the positive and negative fluctuations of the slope value in the initial slope data are greater than the set threshold is queried, and the elevation data in this time interval is corrected. For example, an arithmetic progression can be constructed through the elevation values of the first and last sampling points in this time interval, and the elevation values of each sampling point in this time interval are corrected according to the values in the arithmetic progression. After the elevation value is corrected, the slope data is calculated again based on the corrected elevation value, and it is judged whether the slope value of each sampling point is valid according to the preset effective slope determination condition. When the slope value is valid, the elevation data is restored based on the slope value, and the restored elevation data, effective vehicle speed data, and effective slope data are output as the vehicle condition data. When the slope value is invalid, it can return to S120 and repeat the operation of filtering the elevation data.

[0052] The technical solution of the embodiment of the present invention corrects the elevation data of the vehicle driving route in multiple rounds through the effective vehicle speed data, filtering processing, acceleration data, and slope data of the vehicle respectively, and generates vehicle condition data based on the obtained target elevation data. The vehicle condition data of the vehicle driving under specific conditions can be used to assist in the development of the whole vehicle.

[0053] Embodiment 2

[0054] Figure 2aThe flowchart of a method for generating vehicle condition data provided in the second embodiment of the present invention is further refined on the basis of the above embodiments, providing specific steps for correcting the first elevation data based on valid vehicle speed data, specific steps for filtering the second elevation data to obtain the third elevation data, specific steps for correcting the third elevation data based on acceleration data to obtain the fourth elevation data, and specific steps for correcting the fourth elevation data based on initial slope data to obtain the target elevation data. As Figure 2a shown, the method includes:

[0055] S210. Determine a first abnormal elevation value determination condition associated with the vehicle's location according to the vehicle positioning information.

[0056] The first abnormal elevation value determination condition is used to determine whether the elevation values included in the first elevation data belong to abnormal elevation values. The first abnormal elevation value determination condition is a determination condition associated with the vehicle's location. When the vehicle is driving at different locations, the corresponding first abnormal elevation value determination conditions are different. The first abnormal elevation value determination condition may include a valid elevation value range and a valid elevation change rate range. Exemplarily, when the vehicle is driving in a plain condition and when the vehicle is driving in a mountain condition, the corresponding first abnormal elevation value determination conditions are different.

[0057] In the embodiment of the present invention, during the driving process of the vehicle, the vehicle positioning information can be obtained through the Global Positioning System (GPS for short), and based on the vehicle positioning information, the first abnormal elevation value determination condition associated with the current location of the vehicle is queried in the database. Exemplarily, according to the vehicle positioning information, it can be determined that the vehicle's location belongs to a hilly area, and then the first abnormal elevation value determination condition matching the hilly condition can be obtained.

[0058] S220. Perform data cleaning on the original elevation data according to the first abnormal elevation value determination condition to obtain the first elevation data.

[0059] In the embodiment of the present invention, after obtaining the first abnormal elevation value determination condition associated with the vehicle's location, data cleaning is performed on the original elevation data uploaded by the vehicle according to the first abnormal elevation value determination condition to correct the abnormal elevation values therein. Specifically, according to the valid elevation value range in the first abnormal elevation value determination condition, the abnormal elevation values in the original elevation data can be determined, and the abnormal elevation values can be replaced by the average values of the adjacent elevation values on both sides of the abnormal elevation values. It can also be to determine the abnormal elevation values whose change rate exceeds the range according to the valid elevation change rate range in the first abnormal elevation value determination condition, and correct the abnormal elevation values whose change rate exceeds the range according to the boundary values in the valid elevation change rate range.

[0060] Optionally, the first abnormal elevation value determination condition includes a valid elevation value range and a valid elevation change rate range;

[0061] According to the first abnormal elevation value determination condition, perform data cleaning on the original elevation data to obtain the first elevation data, including:

[0062] According to the valid elevation value range, determine the first abnormal elevation value in the original elevation data, and correct the first abnormal elevation value based on a set number of elevation values adjacent to both sides of the first abnormal elevation value;

[0063] According to the valid elevation change rate range, determine the second abnormal elevation value in the elevation data after the first abnormal elevation value is corrected, and correct the second abnormal elevation value based on the boundary values of the valid elevation change rate range to obtain the first elevation data.

[0064] In this optional embodiment, the first abnormal elevation value determination condition includes a valid elevation value range and a valid elevation change rate range. Further, this optional embodiment provides a specific method for performing data cleaning on the original elevation data according to the first abnormal elevation value determination condition to obtain the first elevation data: First, according to the valid elevation value range, determine the first abnormal elevation value in the original elevation data, and correct the first abnormal elevation value based on a set number of elevation values adjacent to both sides of the first abnormal elevation value. Further, according to the valid elevation change rate range, determine the second abnormal elevation value in the elevation data after the first abnormal elevation value is corrected, and correct the second abnormal elevation value based on the boundary values of the valid elevation change rate range to obtain the first elevation data.

[0065] In a specific example, the valid elevation value range included in the first abnormal elevation value determination condition is [150, 200], and the valid elevation change rate range is 5%. First, the original elevation data includes sampling points A, B, C, D, and E, and their corresponding elevation values are 170, 170, 240, 180, and 180 respectively. Obviously, the elevation value of point C is not within the valid elevation value range, so it can be determined that the elevation value corresponding to point C is the first abnormal elevation value. Further, the average value of the elevation values adjacent to both sides of the first abnormal elevation value can be calculated to replace the first abnormal elevation value. That is to say, 2 sampling points can be taken on both sides of point C, namely A, B, D, and E, and the average value of the elevation values corresponding to these 4 points is obtained and used to replace the original elevation value of point C.

[0066] Further, among the elevation data after the first abnormal elevation value correction, find the sampling points where the elevation change rate exceeds 5%, and use the elevation values associated with these sampling points as the second abnormal elevation values. And set the change rate of the sampling points associated with the second abnormal elevation values to 5% (i.e., the range boundary data value), re-determine the elevation values, and finally use the elevation data after the second abnormal elevation value correction as the first elevation data.

[0067] It should be noted that, in order to reduce the workload of data cleaning based on the determination conditions of the first abnormal elevation value, as Figure 2b shown, before S210, preliminary data cleaning is performed on the original elevation data. Specifically, abnormal elevation values in the original elevation data can be screened according to the reasonable range of domestic elevation values, and the abnormal elevation values are filled with 0.

[0068] After performing preliminary data cleaning, the effective range can be further narrowed according to the average value of the elevation data and the reasonable range of domestic elevation values, and the elevation data is subjected to secondary data cleaning again according to the narrowed effective range. The specific calculation method of the effective range is as follows:

[0069]

[0070]

[0071] where h high is the upper limit of the narrowed effective range, h low is the lower limit of the narrowed effective range, h hlimt is the upper limit of the reasonable range of domestic elevation values, h llimt is the lower limit of the reasonable range of domestic elevation values, h i is the elevation value at time i.

[0072] S230. Filter the original vehicle speed data to obtain effective vehicle speed data, and correct the first elevation data according to the effective vehicle speed data to obtain the second elevation data.

[0073] In the embodiment of the present invention, the original vehicle speed data is filtered by the moving average method. After the filtering process, it can be judged whether the filtered vehicle speed data is effective according to the technical parameters of the vehicle. For example, it is determined whether the filtered vehicle speed data is effective according to the maximum allowable vehicle speed, maximum acceleration and maximum braking deceleration of the vehicle. In the case of effectiveness, the first elevation data is corrected according to the vehicle speed data, otherwise, the operation of filtering the original vehicle speed data is returned for execution.

[0074] Optionally, correcting the first elevation data according to the effective vehicle speed data to obtain the second elevation data includes:

[0075] In the valid vehicle speed data, determine the first time interval when the vehicle speed is 0, and set the elevation value within the first time interval to a fixed value;

[0076] In the valid vehicle speed data, determine the second time interval when the vehicle speed is less than the speed threshold, and correct the elevation value within the second time interval according to the preset elevation change threshold to obtain the second elevation data.

[0077] In this optional embodiment, a specific method for correcting the first elevation data according to the valid vehicle speed data to obtain the second elevation data is provided: In the valid vehicle speed data, determine the first time interval when the vehicle speed is 0, and set the elevation value within the first time interval to a fixed value. Further, in the valid vehicle speed data, determine the second time interval when the vehicle speed is less than the speed threshold, and correct the elevation value within the second time interval according to the preset elevation change threshold to obtain the second elevation data. Exemplarily, determine the second time interval when the vehicle speed is less than 20 km / h, and judge whether the elevation change rate of the sampling points within the second time interval exceeds the elevation change threshold. If it exceeds the threshold, correct the elevation value according to the elevation change threshold so that the elevation change rate of each sampling point within the second time interval is less than the elevation change threshold.

[0078] S240. According to the second abnormal elevation value determination condition, determine the third abnormal elevation value in the second elevation data, and correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point of the route interval where the third abnormal elevation value is located.

[0079] In the embodiment of the present invention, after obtaining the second elevation data, further determine the third abnormal elevation value in the second elevation data according to the second abnormal elevation value determination condition, and then correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point of the route interval where the third abnormal elevation value is located. Specifically, the second abnormal elevation value determination condition is considered from the numerical angle of the elevation value. Exemplarily, the second abnormal elevation value determination condition includes determining the elevation value that suddenly changes from a larger elevation value to 0 as the third abnormal elevation value. It can also be determining the elevation value with a large difference from the adjacent elevation value as the third abnormal elevation value.

[0080] Further, the third abnormal elevation value can be corrected according to the elevation values adjacent to the third abnormal elevation value. Exemplarily, a set number of adjacent elevation values (for example, 2 adjacent elevation values on each side) can be taken on both sides of the third abnormal elevation value, and the average value of the obtained elevation values is calculated, and finally the average value is used to replace the third abnormal elevation value. It is also possible to obtain the route interval containing the third abnormal elevation value, obtain the elevation values of the first sampling point and the last sampling point in this route interval, and form an arithmetic sequence with the elevation values of the first sampling point and the last sampling point, and finally replace the third abnormal elevation value according to the values in the arithmetic sequence.

[0081] Optionally, according to the second abnormal elevation value determination condition, determine the third abnormal elevation value in the second elevation data, and correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located, including:

[0082] Query in the second elevation data for abnormal elevation values that suddenly become 0 and abnormal elevation values whose difference from adjacent elevation values is greater than a set threshold as the third abnormal elevation values;

[0083] According to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located, and the number of sampling points in the route interval, construct an arithmetic progression, and correct the third abnormal elevation value according to the data in the arithmetic progression.

[0084] In this optional embodiment, a specific method for determining the third abnormal elevation value in the second elevation data according to the second abnormal elevation value determination condition and correcting the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located is provided: First, query in the second elevation data for abnormal elevation values that suddenly become 0 and abnormal elevation values whose difference from adjacent elevation values is greater than a set threshold as the third abnormal elevation values. Further, according to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located, and the number of sampling points in the route interval, construct an arithmetic progression, and correct the third abnormal elevation value according to the data in the arithmetic progression.

[0085] S250. Perform standard deviation filtering on the elevation data after correcting the third abnormal elevation value to obtain effective elevation data.

[0086] In the embodiment of the present invention, after obtaining the elevation data after correcting the third abnormal elevation value, further perform annotation difference filtering on the corrected elevation data to obtain effective elevation data. The filtering formula is as follows:

[0087]

[0088]

[0089]

[0090] |x i -h i |>B*l i

[0091] Wherein, x i is the elevation value at the i-th moment; h i is respectively at x iThe average value calculated by taking k elevation values on both sides, where k is the number of calculation items; l i is the standard deviation of elevation; B is the elevation threshold determination condition based on public changes.

[0092] According to the above formula, it can be obtained that when the elevation value at the i-th moment satisfies |x i -h i |>B*l i it is determined that the elevation value at this moment satisfies the effective determination condition; otherwise, it is considered that the elevation value at the i-th moment is an invalid elevation value. At this time, the elevation value can be filled with 0 to obtain the corrected effective elevation data.

[0093] S260. Perform a moving average low-pass filter on the effective elevation data to obtain the third elevation data.

[0094] In the embodiment of the present invention, after obtaining the effective elevation data, further perform a moving average low-pass filter on the effective elevation data to obtain the third elevation data. Specifically, for each elevation value in the effective elevation data, calculate the average value of this elevation value and the elevation values of the set data amount adjacent to it on both sides, and replace this elevation value with the average value to obtain the third elevation data.

[0095] S270. Based on the effective vehicle speed data, determine the acceleration data, and based on the acceleration data, correct the third elevation data to obtain the fourth elevation data.

[0096] Optionally, correcting the third elevation data based on the acceleration data to obtain the fourth elevation data includes:

[0097] Determine the abnormal acceleration values whose absolute values are greater than the acceleration threshold in the acceleration data;

[0098] Correct the elevation value of the sampling point associated with the abnormal acceleration value to a set value to obtain the fourth elevation data.

[0099] In this optional embodiment, a specific method for correcting the third elevation data based on the acceleration data to obtain the fourth elevation data is provided: First, determine the abnormal acceleration values whose absolute values are greater than the acceleration threshold in the acceleration data, and then correct the elevation value of the sampling point associated with the abnormal acceleration value to a set data value. For example, fill the elevation value of this sampling point with 0 to obtain the fourth elevation value.

[0100] S280. Based on the fourth elevation data and the effective vehicle speed data, determine the initial slope data, correct the fourth elevation data based on the initial slope data to obtain the target elevation data, and generate vehicle condition data based on the target elevation data.

[0101] In the embodiment of the present invention, first, according to the effective vehicle speed data, the distance within a set time period is calculated, and according to the distance and the fourth elevation data within this time period, the initial slope data is calculated. Further, the fourth elevation data is corrected according to the initial slope data to obtain the target elevation data. Finally, the target elevation data, the effective vehicle speed data, and the slope data associated with the target elevation data are used as vehicle condition data.

[0102] Optionally, correcting the fourth elevation data according to the initial slope data to obtain the target elevation data includes:

[0103] Dividing the fourth elevation data into multiple correction periods according to a preset correction duration;

[0104] In the case that the number of positive and negative changes of the initial slope data in the correction period exceeds the set threshold, according to the elevation values of the first sampling point and the last sampling point in the correction period, the elevation values of each sampling point in the correction period are corrected;

[0105] Determine the transition slope data according to the corrected elevation data and the effective vehicle speed data, and determine the target slope data in the transition slope data according to the effective slope range associated with the vehicle's location;

[0106] Determine the target elevation data according to the target slope data and the effective vehicle speed data.

[0107] In this optional embodiment, a specific method for correcting the fourth elevation data according to the initial slope data to obtain the target elevation data is provided: First, divide the fourth elevation data into multiple correction periods according to a preset correction duration. In each correction period, determine the number of positive and negative changes of the initial slope data. If the number of changes exceeds the set threshold, it is determined that the correction period contains abnormal elevation values. At this time, it is necessary to construct an arithmetic sequence according to the elevation value of the first sampling point, the elevation value of the last sampling point, and the number of sampling points in the correction period, and use the values in the arithmetic sequence to replace the abnormal elevation values in the correction period.

[0108] After correcting the elevation value, calculate the distance within a set time period according to the effective vehicle speed data, and re-determine the transition slope data according to the corrected elevation data and the distance. Further, determine the target slope data in the transition slope data according to the effective slope range associated with the vehicle's location. Finally, restore the target elevation data according to the target slope data, and use the target slope data, the target elevation data, and the effective vehicle speed data as vehicle condition data.

[0109] The technical solution of the embodiment of the present invention respectively performs multiple rounds of correction on the elevation data of the vehicle driving route through the effective vehicle speed data, filtering processing, acceleration data, and slope data of the vehicle, and generates vehicle condition data based on the target elevation data obtained by the correction. The vehicle condition data when the vehicle is driving under specific conditions can be used to assist in the development of the entire vehicle.

[0110] Embodiment III

[0111] Figure 3 It is a schematic structural diagram of a vehicle condition data generation device provided by Embodiment III of the present invention. As Figure 3 shown, the device includes:

[0112] A second elevation data determination module 310, configured to perform filtering processing on the original vehicle speed data to obtain effective vehicle speed data, and based on the effective vehicle speed data, correct the first elevation data to obtain second elevation data; the first elevation data is obtained by performing data cleaning on the original elevation data;

[0113] A third elevation data determination module 320, configured to perform filtering processing on the second elevation data to obtain third elevation data;

[0114] A fourth elevation data determination module 330, configured to determine acceleration data based on the effective vehicle speed data, and based on the acceleration data, correct the third elevation data to obtain fourth elevation data;

[0115] A vehicle condition data generation module 340, configured to determine initial slope data based on the fourth elevation data and the effective vehicle speed data, correct the fourth elevation data based on the initial slope data to obtain target elevation data, and generate vehicle condition data based on the target elevation data.

[0116] The technical solution of the embodiment of the present invention respectively performs multiple rounds of correction on the elevation data of the vehicle driving route through the effective vehicle speed data, filtering processing, acceleration data, and slope data of the vehicle, and generates vehicle condition data based on the target elevation data obtained by the correction. The vehicle condition data when the vehicle is driving under specific conditions can be used to assist in the development of the entire vehicle.

[0117] Optionally, the vehicle condition data generation device further includes:

[0118] A determination condition determination module, configured to determine a first abnormal elevation value determination condition associated with the vehicle's location according to the vehicle positioning information;

[0119] A first elevation data acquisition module, configured to perform data cleaning on the original elevation data according to the first abnormal elevation value determination condition to obtain the first elevation data.

[0120] Optionally, the first abnormal elevation value determination condition includes a valid elevation value range and a valid elevation change rate range;

[0121] The first elevation data acquisition module is specifically configured to:

[0122] Determine a first abnormal elevation value in the original elevation data according to the valid elevation value range, and correct the first abnormal elevation value according to a set number of elevation values adjacent to both sides of the first abnormal elevation value;

[0123] Determine a second abnormal elevation value in the elevation data after the first abnormal elevation value is corrected according to the valid elevation change rate range, and correct the second abnormal elevation value according to the boundary values of the valid elevation change rate range to obtain the first elevation data.

[0124] Optionally, the second elevation data determination module 310 is specifically configured to:

[0125] Determine a first time interval with a vehicle speed of 0 in the valid vehicle speed data, and set the elevation values within the first time interval to fixed values;

[0126] Determine a second time interval with a vehicle speed less than the speed threshold in the valid vehicle speed data, and correct the elevation values within the second time interval according to a preset elevation change threshold to obtain the second elevation data.

[0127] Optionally, the third elevation data determination module 320 includes:

[0128] The first correction unit is configured to determine a third abnormal elevation value in the second elevation data according to the second abnormal elevation value determination condition, and correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point of the route interval where the third abnormal elevation value is located;

[0129] The standard deviation filtering unit is configured to perform standard deviation filtering on the elevation data after the third abnormal elevation value is corrected to obtain valid elevation data;

[0130] The third elevation data determination unit is configured to perform moving average low-pass filtering on the valid elevation data to obtain the third elevation data.

[0131] Optionally, the first correction unit is specifically configured to:

[0132] Query in the second elevation data for abnormal elevation values that suddenly change to 0 and abnormal elevation values whose difference from adjacent elevation values is greater than the set threshold as the third abnormal elevation values;

[0133] Construct an arithmetic sequence based on the elevation values of the first and last sampling points within the route interval where the third abnormal elevation value is located, and the number of sampling points within the route interval, and correct the third abnormal elevation value according to the data in the arithmetic sequence.

[0134] Optionally, the fourth elevation data determination module 330 is specifically configured to:

[0135] Determine abnormal acceleration values in the acceleration data whose absolute values are greater than the acceleration threshold;

[0136] Modify the elevation value of the sampling point associated with the abnormal acceleration value to a set value to obtain the fourth elevation data.

[0137] Optionally, the vehicle condition data generation module 340 is specifically configured to:

[0138] Divide the fourth elevation data into multiple correction periods according to a preset correction duration;

[0139] In the case where the number of positive and negative changes in the initial slope data in the correction period exceeds a set threshold, correct the elevation values of each sampling point in the correction period according to the elevation values of the first and last sampling points in the correction period;

[0140] Determine the transition slope data according to the corrected elevation data and the effective vehicle speed data, and determine the target slope data from the transition slope data according to the effective slope range associated with the vehicle's location;

[0141] Determine the target elevation data according to the target slope data and the effective vehicle speed data.

[0142] The vehicle condition data generation device provided by the embodiments of the present invention can execute the vehicle condition data generation method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0143] Embodiment Four

[0144] Figure 4 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described herein and / or claimed.

[0145] As shown Figure 4 in FIG. 1, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0146] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0147] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the vehicle condition data generation method.

[0148] In some embodiments, the vehicle condition data generation method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the vehicle condition data generation method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the vehicle condition data generation method by any other appropriate means (e.g., by means of firmware).

[0149] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0150] The computer program for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer program can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0151] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0152] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0153] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0154] A computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0155] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0156] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for generating vehicle operating condition data, characterized in that Including: Filter the original vehicle speed data to obtain effective vehicle speed data, and correct the first elevation data based on the effective vehicle speed data to obtain second elevation data; The first elevation data is obtained by cleaning the original elevation data; Filter the second elevation data to obtain third elevation data; Determine acceleration data based on the effective vehicle speed data, and correct the third elevation data based on the acceleration data to obtain fourth elevation data; Determine initial slope data based on the fourth elevation data and the effective vehicle speed data, correct the fourth elevation data based on the initial slope data to obtain target elevation data, and generate vehicle condition data based on the target elevation data.

2. The method according to claim 1, wherein Before correcting the first elevation data based on the effective vehicle speed data, it further includes: Determine a first abnormal elevation value determination condition associated with the vehicle's location according to the vehicle positioning information; Clean the original elevation data according to the first abnormal elevation value determination condition to obtain the first elevation data.

3. The method according to claim 2, wherein The first abnormal elevation value determination condition includes an effective elevation value range and an effective elevation change rate range; Clean the original elevation data according to the first abnormal elevation value determination condition to obtain the first elevation data, including: Determine a first abnormal elevation value in the original elevation data according to the effective elevation value range, and correct the first abnormal elevation value according to a set number of elevation values adjacent to both sides of the first abnormal elevation value; Determine a second abnormal elevation value in the elevation data after the first abnormal elevation value is corrected according to the effective elevation change rate range, and correct the second abnormal elevation value according to the boundary values of the effective elevation change rate range to obtain the first elevation data.

4. The method according to claim 1, wherein Correct the first elevation data based on the effective vehicle speed data to obtain second elevation data, including: Determine a first time interval with a vehicle speed of 0 in the effective vehicle speed data, and set the elevation value within the first time interval to a fixed value; Determine a second time interval with a vehicle speed less than the speed threshold in the effective vehicle speed data, and correct the elevation value within the second time interval according to a preset elevation change threshold to obtain second elevation data.

5. The method according to claim 1, wherein Filter the second elevation data to obtain third elevation data, including: Determine a third abnormal elevation value in the second elevation data according to the second abnormal elevation value determination condition, and correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located; Perform standard deviation filtering on the elevation data after the third abnormal elevation value is corrected to obtain effective elevation data; Perform moving average low-pass filtering on the effective elevation data to obtain the third elevation data.

6. The method according to claim 5, wherein Determine a third abnormal elevation value in the second elevation data according to the second abnormal elevation value determination condition, and correct the third abnormal elevation value according to the elevation values of the first sampling point and the last sampling point in the route interval where the third abnormal elevation value is located, including: Query the abnormal elevation values that mutate to 0 and the abnormal elevation values whose difference from adjacent elevation values is greater than the set threshold in the second elevation data as the third abnormal elevation values; Based on the elevation values of the first sampling point and the last sampling point within the route interval where the third abnormal elevation value is located, and the number of sampling points within the route interval, construct an arithmetic sequence, and correct the third abnormal elevation value according to the data in the arithmetic sequence.

7. The method according to claim 1, characterized in that Based on the acceleration data, correct the third elevation data to obtain the fourth elevation data, including: In the acceleration data, determine the abnormal acceleration values whose absolute value is greater than the acceleration threshold; Correct the elevation value of the sampling point associated with the abnormal acceleration value to a set value to obtain the fourth elevation data.

8. The method according to claim 1, wherein Based on the initial slope data, correct the fourth elevation data to obtain the target elevation data, including: Divide the fourth elevation data into multiple correction periods according to the preset correction duration; In the case that the number of positive and negative changes in the initial slope data in the correction period exceeds the set threshold, correct the elevation values of each sampling point in the correction period according to the elevation values of the first sampling point and the last sampling point in the correction period; Based on the corrected elevation data and the effective vehicle speed data, determine the transition slope data, and determine the target slope data in the transition slope data according to the effective slope range associated with the vehicle location; Based on the target slope data and the effective vehicle speed data, determine the target elevation data.

9. A vehicle operating condition data generation device, characterized in that, Including: A second elevation data determination module, configured to perform filtering processing on the original vehicle speed data to obtain effective vehicle speed data, and based on the effective vehicle speed data, correct the first elevation data to obtain the second elevation data; the first elevation data is obtained by performing data cleaning on the original elevation data; A third elevation data determination module, configured to perform filtering processing on the second elevation data to obtain the third elevation data; A fourth elevation data determination module, configured to determine acceleration data based on the effective vehicle speed data, and based on the acceleration data, correct the third elevation data to obtain the fourth elevation data; A vehicle condition data generation module, configured to determine initial slope data based on the fourth elevation data and the effective vehicle speed data, correct the fourth elevation data based on the initial slope data to obtain the target elevation data, and generate vehicle condition data based on the target elevation data.

10. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle condition data generation method according to any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to execute the vehicle condition data generation method according to any one of claims 1-8 when executed.

Citation Information

Patent Citations

  • Filtering method for improving stability of altitude data

    CN101750050A

  • System and method for creating accurate topographical maps using dgps

    CN101832767A