Method for estimating current vehicle kilometers based on vehicle historical mileage data
Through standardization and in-depth analysis of vehicle historical mileage data, combined with linear equation fitting and weight calculation, the problem of low accuracy of vehicle mileage estimation in the existing technology is solved, and a more accurate and reliable vehicle mileage estimation is achieved, which is suitable for Different models and environments.
Patent Information
- Application Number
- CN202410669231.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-13
AI Technical Summary
Existing vehicle mileage estimation methods have low accuracy, cannot make full use of vehicle historical driving data, and cannot fully consider the actual usage and driving habits of the vehicle, resulting in inaccurate estimation results.
By standardizing vehicle mileage data, analyzing data distribution, calculating recent and all mileage data, using linear equation fitting and weight calculation to estimate the current vehicle mileage, combined with deep mining and advanced algorithm models, integrating historical data to make accurate predictions.
It improves the accuracy and reliability of vehicle mileage estimation, enables a more comprehensive understanding of vehicle driving habits and usage conditions, provides scientific basis for vehicle maintenance, adapts to different models and driving environments, and provides personalized settings.
Smart Images

Figure CN118643932A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle maintenance analysis, and in particular relates to a method for estimating the current mileage of a vehicle based on historical mileage data of the vehicle. Background Art
[0002] With the rapid development of science and technology, the automotive industry has gradually entered the era of intelligence and digitalization. As an important basis for measuring vehicle usage, evaluating vehicle value, and determining vehicle maintenance cycles, vehicle mileage is crucial for car owners, automakers, and related service providers. However, the traditional way of recording vehicle mileage often relies on the vehicle's built-in odometer, which is not only susceptible to human tampering, but also cannot accurately obtain the vehicle's mileage once the odometer is damaged or the data is lost.
[0003] At present, there is no well-known and widely used method in China to estimate the current vehicle mileage based on the historical mileage data of vehicle maintenance. The existing means of obtaining historical mileage data of vehicles are not comprehensive, and there is a lack of analysis and utilization technology for historical mileage data. Only the current vehicle mileage is roughly estimated based on the age of the vehicle, the purpose of the vehicle, etc., resulting in low estimation precision and accuracy. Specifically, the existing mileage estimation methods are often based on simple mathematical models or empirical formulas, which cannot fully consider the actual use and driving habits of the vehicle. Therefore, the estimation accuracy of these methods is often low and cannot meet the requirements of high precision and high reliability. Moreover, the traditional mileage recording method mainly focuses on the current mileage of the vehicle, while the collection, collation and utilization of the historical driving data of the vehicle are relatively weak. However, these historical data actually contain rich information, which is of great significance for in-depth understanding of the driving habits of the vehicle, evaluation of the current status of the vehicle, and prediction of future mileage. Due to the lack of comprehensive collection and analysis of historical data, the existing estimation methods often cannot make full use of these valuable information resources. This not only limits the accuracy and reliability of the estimation method, but also hinders our in-depth exploration of the driving laws of vehicles. Therefore, how to effectively integrate and utilize historical vehicle driving data becomes the key to improving the accuracy of mileage estimation.
[0004] In summary, the existing mileage estimation methods have obvious shortcomings in both estimation accuracy and historical data utilization. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes a method for estimating the current mileage of a vehicle based on the vehicle's historical mileage data. The method can fully consider the actual usage and driving environment of the vehicle, while making full use of the vehicle's historical driving data to achieve accurate prediction of the vehicle's mileage.
[0006] The method for estimating the current vehicle mileage based on the vehicle historical mileage data provided by the present invention comprises the steps of:
[0007] 1. Standardize the vehicle mileage data into the vehicle mileage array MileageList;
[0008] 2. Analyze mileage data distribution;
[0009] 3. Calculate the expected mileage based on all mileage data analysis;
[0010] 4. Calculate the first expected mileage based on recent mileage data analysis;
[0011] 5. Calculate the estimated mileage of the current vehicle.
[0012] in,
[0013] The step 2 comprises the steps of:
[0014] 2a. The recent period is from the current time to one year ago, i.e., the recent year. When there are two or more data in the vehicle mileage array MileageList within the recent year, the recent mileage weight is analyzed;
[0015] 2b. Perform a traversal operation on the vehicle mileage data set MileageList: assign a value to the field value driveDays of the data therein;
[0016] 2c. Determine whether there is vehicle mileage data A with adjacent different dates but the same mileage in the vehicle mileage data group MileageList. If so, determine that the vehicle is parked during the adjacent dates, and make corresponding adjustments to the field value driveDays of the vehicle mileage data A with adjacent different dates but the same mileage.
[0017] further,
[0018] The vehicle mileage array MileageList contains a plurality of vehicle mileage data A with the same data structure.
[0019] The data structure of the vehicle mileage data A includes three fields:
[0020] The name of the first field is mileage, and its field value is mile, which means the mileage value, and its type is Int, i.e. integer;
[0021] The name of the second field is date, the field value is date, the meaning is the recording date of the vehicle mileage data A, and the type is date type;
[0022] The name of the third field is the number of days driven, and its field value is the driveDays, which means the number of days driven starting from the date of the first mileage data, and its type is Int.
[0023] further,
[0024] For the vehicle mileage array MileageList, the following post-processing is required, including the steps:
[0025] Remove invalid data, where the invalid data is data whose field value mile is less than or equal to 0 and whose field value date is empty;
[0026] Sort the vehicle mileage data A in the vehicle mileage data group MileageList in ascending order of date, wherein the vehicle mileage data A with the same date are randomly arranged adjacent to each other;
[0027] Correct the abnormal data and process the special abnormal mileage, that is, repair the mileage that was input by mistake in the vehicle mileage data A that is adjacent to the same day, and the repair is to repair it to the correct mileage in the vehicle mileage data A that is adjacent to the same day;
[0028] Merge the data with the same date, compare the data with the same date, and retain the largest mileage value.
[0029] further,
[0030] After completing the post-processing, determine whether there is tampered mileage in the data of the vehicle mileage data group MileageList: compare the data of two vehicle mileage data A3 and A4 with adjacent dates in the vehicle mileage data group MileageList; if the mileage value of the previous vehicle mileage data A3 is greater than the mileage value of the next vehicle mileage data A4, then the tampered mileage is stored in the data of the previous vehicle mileage data A3, and the vehicle mileage data A3 storing the tampered mileage is not used to calculate the estimated mileage.
[0031] further,
[0032] In step 2a, the data set composed of the recent vehicle mileage data A is recorded as the recent vehicle mileage array recentMileageList, and the recent mileage weight is recorded as weight, whose value range is: 0-1, and weight satisfies the following calculation method:
[0033] Let times be the number of vehicle mileage data A in the recent period, avgSpanMile be the average mileage difference in the recent period, lastSpan be the number of days between the date of the most recent vehicle mileage data A and the current time, and let the maximum number of kilometers in recentMileageList be maxMile, the minimum number of kilometers be minMile, and the number of vehicle mileage data A in recentMileageList be count, then avgSpanMile = (maxMile-minMile) / (count-1),
[0034] When times <= 2 and lastSpan > 365: weight = 0;
[0035] on the contrary:
[0036] Assume that the temporary variable temp satisfies:
[0037] temp=27.8×times×times-0.008×avgSpanMile 0.56×lastSpan,
[0038] When temp>=1000, weight=1;
[0039] When temp<=0, weight=0;
[0040] When 0 <temp<1000,weight=sin(π×temp / 2000)。
[0041] further,
[0042] In the step 2b, when the assignment is performed, the value taken is the number of days corresponding to the date difference between each of the traversed vehicle mileage data A and the first vehicle mileage data A.
[0043] further,
[0044] In step 2c, when making the adjustment, the field value driveDays of the adjacent vehicle mileage data A with different dates but the same mileage are adjusted to: the field value driveDays of the adjacent vehicle mileage data A whose date is the vehicle parking start date, and the subsequent field value driveDays of the vehicle mileage data A is also subtracted from the parking days.
[0045] further,
[0046] In step 3, according to the vehicle mileage data set MileageList obtained by processing in step 2, recorded as MileageList1, the expected mileage is analyzed and calculated, including the steps of:
[0047] 3a. Take the first vehicle mileage data of the vehicle mileage data set MileageList1 and record it as firstMile, and take the last vehicle mileage data and record it as lastMile;
[0048] 3b. Calculate the difference span between the current date and the date of the vehicle mileage data lastMile, in days, and record the driveDays of the vehicle mileage data lastMile as lastMile.driveDays, and record the number of driving days corresponding to the current date as curDriveDays, then curDriveDays satisfies curDriveDays=lastMile.driveDays+span;
[0049] 3c. Take the driveDays of each vehicle mileage data in the vehicle mileage data set MileageList1 as the independent variable and mile as the dependent variable. Each vehicle mileage data corresponds to a scattered point (mile, driveDays) in a two-dimensional rectangular coordinate system. Perform linear equation fitting based on the scattered points corresponding to all the vehicle mileage data, and calculate the two constants a and b of the linear equation, so as to obtain the fitted equation: mile=a×driveDays+b.
[0050] Let the expected mileage on the current date be curMile, then curMile=a×curDriveDays+b.
[0051] further,
[0052] In step 4, for the recent vehicle mileage array recentMileageList, if the recent mileage weight weight>0, the recent vehicle mileage array recentMileageList is used to replace the vehicle mileage data set MileageList1 to execute step 3, and finally the first expected mileage is calculated and recorded as curMileRec.
[0053] further,
[0054] In step 5, the current estimated mileage of the vehicle is recorded as expectMile. If the recent mileage weight weight>0, then expectMile=curMileRec×weight+(1-weight)×curMile.
[0055] Otherwise, expectMile=curMile.
[0056] The method for estimating the current vehicle mileage based on the vehicle historical mileage data provided by the present invention realizes the accurate estimation of the current vehicle mileage by deeply mining the vehicle historical mileage data and combining with the advanced algorithm model. Compared with the traditional estimation method based on simple mathematical models or empirical formulas, the present invention can more comprehensively consider the actual use of the vehicle and the driving environment, thereby greatly improving the estimation accuracy. This high-precision estimation not only helps the owner to understand the vehicle driving condition more accurately, but also provides a more scientific basis for vehicle maintenance; fully attaches importance to and utilizes the vehicle historical driving data. By collecting, sorting and analyzing these data, the present invention can more deeply understand the driving habits, usage conditions and performance changes of the vehicle. This comprehensive use of historical data makes the estimation results of the present invention more accurate and reliable, and also provides more abundant information support for vehicle management and maintenance; it has good adaptability and flexibility, and can adapt to the estimation needs of different models, different driving habits and different road conditions. Whether it is a private car or a commercial vehicle, whether it is an urban road or a highway, the present invention can provide accurate and reliable estimation results. In addition, the present invention can also be personalized according to user needs to meet the special needs of different users.
[0057] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 A flow chart of a method for estimating the current vehicle mileage based on the vehicle's historical mileage data according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", "third", etc. in the specification and claims of this application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order or a primary and secondary relationship. "Multiple" appearing in this application refers to more than two (including two).
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] Figure 1 This is a flow chart of the method for estimating the current vehicle mileage based on the vehicle's historical mileage data provided by the present invention. Figure 1 The method for estimating the current vehicle mileage based on the vehicle's historical mileage data includes the following steps.
[0064] 1. Standardization of vehicle mileage data.
[0065] Since the vehicle mileage data from different channels have different formats, in order to facilitate data analysis, the technicians extract the necessary fields and convert the vehicle mileage data format into a unified data structure. The data set composed of standardized vehicle mileage data used in the present invention is recorded as the vehicle mileage array MileageList. MileageList contains multiple (more than one) vehicle mileage data A with the same data structure. Table 1 shows the data structure of a vehicle mileage data A.
[0066] Table 1. Data structure of a piece of vehicle mileage data A.
[0067]
[0068] As can be seen from Table 1, the data structure of vehicle mileage data A includes three fields:
[0069] The name of the first field is mileage, the field value is mile, the meaning is the mileage value, and the type is Int (ie, integer).
[0070] The name of the second field is date, and its field value is date, which means the recording date of vehicle mileage data A, and its type is date type.
[0071] The name of the third field is the number of days driven, and its field value is driveDays, which means the number of days driven starting from the date of the first mileage data (used to analyze the recent driving habit fitting function), and its type is Int (i.e. integer).
[0072] For the vehicle mileage array MileageList, the following post-processing is required, including the following steps:
[0073] 1a. Remove invalid data, which refers to data whose field value mile is less than or equal to 0 and whose field value date is empty.
[0074] 1b. Sort the vehicle mileage data A in the vehicle mileage data group MileageList in ascending order of date, wherein the vehicle mileage data A with the same date are randomly arranged adjacent to each other.
[0075] 1c. Correct abnormal data and process special abnormal mileages, that is, repair the mileages that were inputted by mistake in the adjacent vehicle mileage data A with the same date. For example, for the adjacent data with the same date in the second field: the mileages of vehicle mileage data A1 and vehicle mileage data A2 are 1234 and 12340 respectively, while the mileages in vehicle mileage data A of other dates are 1000, 2358, ..., then the mileage of vehicle mileage data A2 is obviously inputted by mistake, and the technicians repair the mileage of vehicle mileage data A2 to 1234. The repair is to repair to the correct mileage in the adjacent vehicle mileage data A with the same date.
[0076] 1c. Merge data with the same date. After comparing the data with the same date, keep the largest mileage value.
[0077] 1d. After completing the previous processing, determine whether there is tampered mileage in the data of the vehicle mileage data group MileageList: compare the data of the two vehicle mileage data A3 and A4 with adjacent dates. If the mileage value of the previous vehicle mileage data A3 is greater than the mileage value of the next vehicle mileage data A4, the tampered mileage is stored in the data of the previous vehicle mileage data A3. The vehicle mileage data A3 storing the tampered mileage cannot be used to calculate the estimated mileage.
[0078] 2. Analyze the mileage data distribution, including the following steps:
[0079] 2a. The current time to one year ago (i.e., the past year) is considered recent. When there are two or more data in the vehicle mileage array MileageList within the past year, the recent mileage weight is analyzed. The data set consisting of the recent vehicle mileage data A is the recent vehicle mileage array recentMileageList, and the recent mileage weight is weight, which has a value range of 0-1. Weight satisfies the following calculation method:
[0080] Let times be the number of vehicle mileage data A in the recent period, avgSpanMile be the average mileage difference in the recent period, lastSpan be the number of days between the date of the most recent vehicle mileage data A and the current time, and let the maximum number of kilometers in recentMileageList be maxMile, the minimum number of kilometers be minMile, and the number of vehicle mileage data A in recentMileageList be count, then avgSpanMile = (maxMile-minMile) / (count-1),
[0081] When times <= 2 and lastSpan > 365: weight = 0;
[0082] on the contrary:
[0083] Assume that the temporary variable temp satisfies:
[0084] temp=27.8×times×times-0.008×avgSpanMile 0.56×lastSpan,
[0085] When temp>=1000, weight=1;
[0086] When temp<=0, weight=0;
[0087] When 0 <temp<1000,weight=sin(π×temp / 2000)。
[0088] 2b. Perform a traversal operation on the vehicle mileage data set MileageList: assign a value to the field driveDays. The value is the number of days corresponding to the date difference between each traversed vehicle mileage data A and the first vehicle mileage data A.
[0089] 2c. Check whether there are adjacent vehicle mileage data A with different dates but the same mileage in the vehicle mileage data group MileageList. In this case, it is considered that the vehicle is parked during the adjacent dates, so the field value driveDays is adjusted accordingly. The field value driveDays of the adjacent vehicle mileage data A whose date is the vehicle parking start date is the same, and the field value driveDays of the subsequent vehicle mileage data A is also reduced by the number of parking days.
[0090] 3. Calculate the expected mileage based on all mileage data analysis.
[0091] The vehicle mileage data set MileageList obtained by processing in step 2 is recorded as MileageList1, and the expected mileage is analyzed and calculated, including the steps of:
[0092] 3a. Take the first vehicle mileage data of MileageList1 and record it as firstMile, and take the last vehicle mileage data and record it as lastMile.
[0093] 3b. Calculate the difference span (in days) between the current date and the date of lastMile, and record the driveDays of lastMile as lastMile.driveDays, and the number of driving days corresponding to the current date as curDriveDays, then curDriveDays = lastMile.driveDays + span.
[0094] 3c. Take the driveDays of each vehicle mileage data in MileageList1 as the independent variable and mile as the dependent variable. Each vehicle mileage data corresponds to a scattered point (mile, driveDays) in a two-dimensional rectangular coordinate system. Perform linear equation fitting based on the scattered points corresponding to all vehicle mileage data, and calculate the two constants a and b of the linear equation, so as to obtain the fitted equation: mile = a × driveDays + b.
[0095] Let curMile be the expected mileage on the current date.
[0096] curMile=a×curDriveDays+b.
[0097] 4. Calculate the first expected mileage based on recent mileage data analysis.
[0098] For the recent vehicle mileage array recentMileageList, if the recent mileage weight weight>0, the recent vehicle mileage array recentMileageList is used to replace MileageList1 to execute step 3, and finally the first expected mileage is calculated and recorded as curMileRec.
[0099] 5. Calculate the estimated mileage of the current vehicle.
[0100] The current estimated mileage of the vehicle is recorded as expectMile. If the recent mileage weight>0, then expectMile=curMileRec×weight+(1-weight)×curMile.
[0101] Otherwise, expectMile=curMile.
[0102] The practical application significance of the current vehicle mileage estimate is:
[0103] 1. Detection to determine whether the mileage has been tampered with: In the used car market, sellers sometimes tamper with the mileage of the vehicle in order to obtain a higher selling price. By comparing the estimated mileage with the actual mileage, this fraud can be detected to protect the rights and interests of consumers.
[0104] 2. Evaluate vehicle maintenance: If the current vehicle mileage estimate is significantly different from the actual mileage, this may mean that the vehicle has not been properly maintained or repaired between the last mileage data and the current time period. This can be used as an indicator to evaluate the overall condition of the vehicle and potential problems.
[0105] In summary, the present invention realizes accurate estimation of the current mileage of the vehicle by deeply mining the historical mileage data of the vehicle and combining it with advanced algorithm models. Compared with the traditional estimation method based on simple mathematical models or empirical formulas, the present invention can more comprehensively consider the actual use of the vehicle and the driving environment, thereby greatly improving the estimation accuracy. This high-precision estimation not only helps the owner to understand the driving condition of the vehicle more accurately, but also provides a more scientific basis for vehicle maintenance; it fully pays attention to and utilizes the historical driving data of the vehicle. By collecting, sorting and analyzing these data, the present invention can more deeply understand the driving habits, usage conditions and performance changes of the vehicle. This comprehensive use of historical data makes the estimation results of the present invention more accurate and reliable, and also provides more abundant information support for vehicle management and maintenance; it has good adaptability and flexibility, and can adapt to the estimation needs of different models, different driving habits and different road conditions. Whether it is a private car or a commercial vehicle, whether it is an urban road or a highway, the present invention can provide accurate and reliable estimation results. In addition, the present invention can also be personalized according to user needs to meet the special needs of different users.
[0106] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for estimating the current vehicle mileage based on historical vehicle mileage data, characterized in that: Includes steps:
1. Standardize the vehicle mileage data into the vehicle mileage array MileageList; 2. Analyze mileage data distribution; 3. Calculate the expected mileage based on all mileage data analysis; 4. Calculate the first expected mileage based on recent mileage data analysis; 5. Calculate the estimated mileage of the current vehicle. in, The step 2 comprises the steps of: 2a. The recent period is from the current time to one year ago, i.e., the recent year. When there are two or more data in the vehicle mileage array MileageList within the recent year, the recent mileage weight is analyzed; 2b. Perform a traversal operation on the vehicle mileage data set MileageList: assign a value to the field value driveDays of the data therein; 2c. Determine whether there is vehicle mileage data A with adjacent different dates but the same mileage in the vehicle mileage data group MileageList. If so, determine that the vehicle is parked during the adjacent dates, and make corresponding adjustments to the field value driveDays of the vehicle mileage data A with adjacent different dates but the same mileage.
2. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 1, characterized in that: The vehicle mileage array MileageList contains a plurality of vehicle mileage data A with the same data structure. The data structure of the vehicle mileage data A includes three fields: The name of the first field is mileage, and its field value is mile, which means the mileage value, and its type is Int, i.e. integer; The name of the second field is date, the field value is date, the meaning is the recording date of the vehicle mileage data A, and the type is date type; The name of the third field is the number of days driven, and its field value is the driveDays, which means the number of days driven starting from the date of the first mileage data, and its type is Int.
3. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 2, characterized in that: For the vehicle mileage array MileageList, the following post-processing is required, including the steps: Remove invalid data, where the invalid data is data whose field value mile is less than or equal to 0 and whose field value date is empty; Sort the vehicle mileage data A in the vehicle mileage data group MileageList in ascending order of date, wherein the vehicle mileage data A with the same date are randomly arranged adjacent to each other; Correct the abnormal data and process the special abnormal mileage, that is, repair the mileage that was input by mistake in the vehicle mileage data A that is adjacent to the same day, and the repair is to repair it to the correct mileage in the vehicle mileage data A that is adjacent to the same day; Merge the data with the same date, compare the data with the same date, and retain the largest mileage value.
4. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 3, characterized in that: After completing the post-processing, determine whether there is tampered mileage in the data of the vehicle mileage data group MileageList: compare the data of two vehicle mileage data A3 and A4 with adjacent dates in the vehicle mileage data group MileageList; if the mileage value of the previous vehicle mileage data A3 is greater than the mileage value of the next vehicle mileage data A4, then the tampered mileage is stored in the data of the previous vehicle mileage data A3, and the vehicle mileage data A3 storing the tampered mileage is not used to calculate the estimated mileage.
5. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 4, characterized in that: In step 2a, the data set composed of the recent vehicle mileage data A is recorded as the recent vehicle mileage array recentMileageList, and the recent mileage weight is recorded as weight, whose value range is: 0-1, and weight satisfies the following calculation method: Let times be the number of vehicle mileage data A in the recent period, avgSpanMile be the average mileage difference in the recent period, lastSpan be the number of days between the date of the most recent vehicle mileage data A and the current time, and let the maximum number of kilometers in recentMileageList be maxMile, the minimum number of kilometers be minMile, and the number of vehicle mileage data A in recentMileageList be count, then avgSpanMile = (maxMile-minMile) / (count-1), When times <= 2 and lastSpan > 365: weight = 0; on the contrary: Assume that the temporary variable temp satisfies: temp=27.8×times×times-0.008×avgSpanMile 0.56×lastSpan, When temp>=1000, weight=1; When temp<=0, weight=0; When 0 <temp<1000,weight=sin(π×temp / 2000)。 6. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 5, characterized in that: In the step 2b, when the assignment is performed, the value taken is the number of days corresponding to the date difference between each of the traversed vehicle mileage data A and the first vehicle mileage data A.
7. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 6, characterized in that: In step 2c, when making the adjustment, the field value driveDays of the adjacent vehicle mileage data A with different dates but the same mileage are adjusted to: the field value driveDays of the adjacent vehicle mileage data A whose date is the vehicle parking start date, and the subsequent field value driveDays of the vehicle mileage data A is also subtracted from the parking days.
8. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 7, characterized in that: In step 3, according to the vehicle mileage data set MileageList obtained by processing in step 2, recorded as MileageList1, the expected mileage is analyzed and calculated, including the steps of: 3a. Take the first vehicle mileage data of the vehicle mileage data set MileageList1 and record it as firstMile, and take the last vehicle mileage data and record it as lastMile; 3b. Calculate the difference span between the current date and the date of the vehicle mileage data lastMile, in days, and record the driveDays of the vehicle mileage data lastMile as lastMile.driveDays, and record the number of driving days corresponding to the current date as curDriveDays, then curDriveDays satisfies curDriveDays=lastMile.driveDays+span; 3c. Take the driveDays of each vehicle mileage data in the vehicle mileage data set MileageList1 as the independent variable and mile as the dependent variable. Each vehicle mileage data corresponds to a scattered point (mile, driveDays) in a two-dimensional rectangular coordinate system. Perform linear equation fitting based on the scattered points corresponding to all the vehicle mileage data, and calculate the two constants a and b of the linear equation, so as to obtain the fitted equation: mile=a×driveDays+b. Let the expected mileage on the current date be curMile, then curMile=a×curDriveDays+b.
9. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 8, characterized in that: In step 4, for the recent vehicle mileage array recentMileageList, if the recent mileage weight weight>0, the recent vehicle mileage array recentMileageList is used to replace the vehicle mileage data set MileageList1 to execute step 3, and finally the first expected mileage is calculated and recorded as curMileRec.
10. The method for estimating the current vehicle mileage based on the vehicle historical mileage data according to claim 9, characterized in that: In step 5, the current estimated mileage of the vehicle is recorded as expectMile. If the recent mileage weight weight>0, then expectMile=curMileRec×weight+(1-weight)×curMile. Otherwise, expectMile=curMile.
