A calculation method for vehicle mileage billing and related equipment
By obtaining the starting point and end point information of the vehicle, combining driving habits and vehicle condition information, using position data filtering and road matching methods to calculate the vehicle mileage cost, the calculation error of the expressway mileage billing system on national and provincial trunk lines, county and township roads and The ETC system error brushing problem improves billing efficiency and accuracy.
Patent Information
- Application Number
- CN202311699602.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2043-12-12
AI Technical Summary
The existing highway mileage billing system has the problem of the difference in calculation results and the real value on road types such as national and provincial trunk lines, county and township roads, and the ETC toll system has the phenomenon of mistaken brushing and grabbing brushing, which is low efficiency and high cost.
By obtaining the starting point and end point information of the vehicle, combining driving habits and vehicle condition information, using position data filtering and road matching methods to generate actual driving road and mileage data, calculate vehicle mileage costs based on pre-designed fee rules, reducing errors and unnecessary cost.
Accurate identification and cost calculation of vehicle roads are achieved, the risks of mistaken brushing and grabbing brushing are reduced, billing efficiency and accuracy are improved, and labor costs are reduced.
Smart Images

Figure CN117636493B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a vehicle mileage charging calculation method and related equipment. Background Art
[0002] At present, the use of positioning modules is becoming more and more popular, from large countries to small individuals, and mileage statistics are an indispensable part of the popularization of positioning modules. Major provinces and cities across the country mainly use the ETC toll collection system for highway tolls. The ETC toll collection system has improved the efficiency of highway traffic, but the ETC toll collection system must be maintained in conjunction with infrastructure equipment and toll stations. It is only used for highways and does not involve national and provincial trunk roads, county and township roads and other road types. It also does not solve the problems of unclear vehicle driving routes and unclear split settlements. However, the results calculated by existing mileage calculation technology are very different from the actual values. The shortcomings of several existing highway toll collection methods are as follows:
[0003] Manual toll collection: mainly relies on special smart IC cards as the carrier of vehicle information, issuing cards at the entrance and checking cards at the exit. This method consumes a large number of cards and has high requirements for the external environment. Machine failures often cause card deadlock and misreading. In addition, manual toll collection is slow, inefficient, and has high labor costs.
[0004] ETC: First, the application process is cumbersome and not as convenient as mobile payment. Secondly, the bank cards that banks use to open ETC are usually co-branded cards, which have the financial functions of savings cards or credit cards and can be used for normal card consumption. Such bank cards may have quick payment and small amount password-free functions, which are easy to be stolen. Moreover, there is a certain distance between the vehicle and the ETC to sense the lifting of the barrier, and the owner can pass slowly without stopping, which may cause the vehicle to be mistakenly swiped or rushed. Mistakes and rushes happen from time to time, resulting in vehicles equipped with ETC being unable to pass.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of this application is to provide a method and related equipment for calculating vehicle mileage billing, which at least overcomes the problems existing in the prior art to a certain extent. By processing the starting point of the vehicle and the user's driving habits and vehicle condition information, appropriate driving road information is generated. In addition, based on the location data filtering method and the road matching method, the actual driving road of the vehicle and the corresponding vehicle mileage data are obtained, and the final vehicle mileage fee is calculated based on this, so as to accurately collect fees from the corresponding vehicles and reduce the charging defects in the prior art.
[0007] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.
[0008] According to one aspect of the present application, a method for calculating vehicle mileage charges is provided, including: obtaining starting point information and end point information of a vehicle; generating preset driving road information based on the starting point information and the end point information; preprocessing the preset driving road information to generate initial driving road information; filtering the initial driving road information based on a location data filtering method to generate target driving road information; processing the target driving road information based on a road matching method to generate target vehicle mileage data; processing the target vehicle mileage data based on pre-designed charging rules to generate vehicle mileage charges.
[0009] In one embodiment of the present application, the pre-processing of the preset driving road information to generate initial driving road information includes: obtaining the user's driving habit information and the vehicle condition information of the vehicle; obtaining the real-time road condition information and restriction information of the preset driving road; processing the driving habit information and the vehicle condition information to generate vehicle driving characteristics; processing the real-time road condition information and the restriction information based on the vehicle driving characteristics to generate initial driving road information.
[0010] In one embodiment of the present application, the location data-based filtering method filters the initial driving road information to generate target driving road information, including: obtaining road attribute information of the initial road information, wherein the road attribute information includes type information and physical width information of different roads; generating a preset electronic fence based on the type information and the physical width information; filtering the initial driving road information based on the preset electronic fence to generate target driving road information.
[0011] In one embodiment of the present application, the generation of a preset electronic fence based on the type information and the physical width information includes: generating road information of different colors based on the type information; processing the road information of different colors based on the physical width information to generate road information of different sizes; generating a preset electronic fence based on the road information of different colors and the road information of different sizes.
[0012] In one embodiment of the present application, the target driving road information is processed based on the road matching method to generate target vehicle mileage data, including: obtaining the location information of the vehicle and using the location information as a Beidou positioning point; processing the target driving road information and the Beidou positioning point based on a map matching probability algorithm to generate initial target mileage data; processing the initial target mileage data based on a hierarchical shrinkage algorithm to generate target vehicle mileage data; the formula of the map matching probability algorithm is as follows: ;in, It is the projection distance between the Beidou positioning point and the target driving road; It is the projection distance between the Beidou positioning point and the target driving road; is the weight of the angle between the vehicle's driving direction and the target driving road; It is the angle between the vehicle's driving direction and the target driving road.
[0013] In one embodiment of the present application, the target driving road information is processed based on the road matching method to generate target vehicle mileage data, and also includes: processing the initial target mileage data to generate the driving trajectory of the vehicle; obtaining road information related to the driving trajectory of the vehicle within a preset time period; pre-processing the driving trajectory of the vehicle based on the road information to generate a preset driving road for the vehicle; processing the preset driving road of the vehicle based on a probability calculation model to generate a historical driving road for the vehicle; and generating target vehicle mileage data based on the historical driving road of the vehicle.
[0014] In one embodiment of the present application, the generating target vehicle mileage data based on the historical driving road of the vehicle includes: obtaining the historical speed information of the vehicle; segmenting the historical driving road of the vehicle to generate a plurality of segmented mileages; processing the historical driving road of the vehicle based on the vehicle mileage calculation method to generate the target vehicle mileage data; wherein the vehicle mileage calculation method includes a calculation formula for the vehicle single driving mileage S: ; Segment mileage Si, ; n represents the time interval period in the total time of a single vehicle trip The total number of Represents the actual equivalent vehicle speed at time point Ti.
[0015] Another aspect of the present application is a calculation device for vehicle mileage billing, characterized in that it includes: an acquisition module for acquiring the starting point information and the end point information of the vehicle; a processing module for generating preset driving road information based on the starting point information and the end point information; pre-processing the preset driving road information to generate initial driving road information; filtering the initial driving road information based on a location data filtering method to generate target driving road information; processing the target driving road information based on a road matching method to generate target vehicle mileage data; processing the target vehicle mileage data based on pre-designed charging rules to generate vehicle mileage fees.
[0016] According to another aspect of the present application, an electronic device is characterized in that it includes: a first processor; and a memory for storing executable instructions of the first processor; wherein the first processor is configured to execute the above-mentioned vehicle mileage billing calculation method by executing the executable instructions.
[0017] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a second processor, the above-mentioned vehicle mileage charging calculation method is implemented.
[0018] According to another aspect of the present application, a computer program product is provided, including a computer program, characterized in that when the computer program is executed by a third processor, the above-mentioned vehicle mileage charging calculation method is implemented.
[0019] The present application provides a method and related equipment for calculating vehicle mileage charges. The server obtains the starting point information and the end point information of the vehicle, generates preset driving road information based on the starting point information and the end point information, pre-processes the preset driving road information to generate initial driving road information, filters the initial driving road information based on the location data filtering method to generate target driving road information, processes the target driving road information based on the road matching method to generate target vehicle mileage data, and processes the target vehicle mileage data based on the pre-designed charging rules to generate vehicle mileage charges. Appropriate driving road information is generated by processing the starting point of the vehicle and the user's driving habits and vehicle condition information. In addition, the actual driving road of the vehicle and the corresponding vehicle mileage data are obtained based on the location data filtering method and the road matching method, and the final vehicle mileage charges are calculated based on this, so as to accurately collect charges from the corresponding vehicles, reducing the charging defects in the prior art.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flow chart showing a method for calculating vehicle mileage charges provided by an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the structure of a vehicle mileage charging calculation device provided by an embodiment of the present application is shown;
[0023] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;
[0024] Figure 4 A schematic diagram of a storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0026] Combine the following Figure 1 To describe the calculation method of vehicle mileage charging according to the exemplary embodiment of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this regard. On the contrary, the implementation of the present application can be applied to any applicable scenario.
[0027] In one implementation, the present application also proposes a vehicle mileage billing calculation method and related equipment. Figure 1 The following schematically shows a flow chart of a method for calculating vehicle mileage charges according to an embodiment of the present application. Figure 1 As shown, the method is applied to a server, comprising:
[0028] S101, obtaining the starting point information and the end point information of the vehicle.
[0029] In one implementation, the server pre-acquires the starting point information of the target vehicle, wherein the starting point information and the end point information may be manually input into the server by a user or uploaded to the server by other users. This embodiment does not limit the manner in which the server acquires the starting point information and the end point information of the vehicle.
[0030] S102: Generate preset driving road information based on the starting point information and the end point information.
[0031] In one implementation, the server generates a number of passable roads based on the starting point information and the end point information, and sorts the number of passable roads with reference to other users or the user's historical driving trajectories, and uses the above passable roads as preset driving road information.
[0032] S103: pre-process the preset driving road information to generate initial driving road information.
[0033] In one implementation, the server obtains the user's driving habit information and the vehicle condition information, obtains the real-time road condition information and traffic restriction information of a preset driving road, processes the driving habit information and the vehicle condition information, generates the vehicle driving characteristics, processes the real-time road condition information and traffic restriction information based on the vehicle driving characteristics, and generates initial driving road information.
[0034] In another implementation, the server will determine the user's driving preference based on the user's driving habit information, for example, whether the user prefers more high-speed sections to reduce driving time, or whether the cost-effectiveness is prioritized and the driving distance is not important. In addition, the server will also obtain the vehicle condition information of the current vehicle, whether the vehicle is currently in a normal driving state, or whether the spare parts are complete, whether the vehicle has been maintained in a short period of time, etc., so as to facilitate long-distance driving, etc. Finally, the server will also obtain the real-time road condition information of the above-mentioned passable roads, whether there is a car accident, whether the road is damaged, whether there are weight restrictions, traffic restrictions, etc., and screen the passable roads according to the above requirements to generate several driving roads with good road conditions. Finally, according to the user's driving preferences and the real-time vehicle condition of the vehicle, a suitable driving road is selected from the driving roads with good road conditions, and it is used as the initial driving road information.
[0035] S104: Filter the initial driving road information based on a location data filtering method to generate target driving road information.
[0036] In one implementation, the server obtains the road attribute information of the initial road information, wherein the road attribute information includes the type information and physical width information of different roads, generates a preset electronic fence based on the type information and the physical width information, and filters the initial driving road information based on the preset electronic fence to generate the target driving road information. When a vehicle is driving on a road, it will pass through various types of roads in various areas. If the corresponding driving road cannot be accurately judged and located, the mileage of the vehicle in the selected road network cannot be calculated, resulting in a large error in the calculated billing mileage data. Therefore, it is necessary to filter the vehicle driving positioning points by setting an electronic fence. The core of the positioning point filtering based on the electronic fence is to generate a road buffer as an electronic fence system based on different road types and the physical width of the road itself, and directly delete the track points that are not in the electronic fence system.
[0037] In another embodiment, the server generates road information of different colors based on the type information, processes the road information of different colors based on the physical width information, generates road information of different sizes, and generates a preset electronic fence based on the road information of different colors and the road information of different sizes. Different colored ground surfaces represent different road electronic fence ranges. Through this method, the electronic fence range can be set along the boundary of the road test area and the mileage of vehicles entering the area can be calculated based on the corresponding electronic fence configuration.
[0038] S105: Process the target driving road information based on a road matching method to generate target vehicle mileage data.
[0039] In one implementation, the location information of the vehicle is obtained, and the location information is used as a Beidou positioning point. The target driving road information and the Beidou positioning point are processed based on a map matching probability algorithm to generate initial target mileage data. The initial target mileage data is processed based on a hierarchical contraction algorithm to generate target vehicle mileage data. The formula of the map matching probability algorithm is as follows: ,in, is the projection distance between the Beidou positioning point and the target driving road, is the projection distance between the Beidou positioning point and the target driving road, is the weight of the angle between the vehicle's driving direction and the target driving road, It is the angle between the vehicle's driving direction and the target road. Based on the accuracy of vehicle positioning, a map matching algorithm based on position point matching is proposed through the map matching technology based on position state. The vehicle position measured by other positioning methods (such as Beidou) is corrected by Beidou differential service, and then compared and matched with the electronic map road data. According to the actual characteristics of each state, different processing is performed to find the road where the vehicle is located, calculate the vehicle's position on the road, and then correct the errors of other positioning methods. In sparse road areas, the location state-based ground matching probability algorithm is characterized by simple logic and good real-time performance.
[0040] S106: Process the target vehicle mileage data based on pre-designed fee rules to generate vehicle mileage fees.
[0041] In one implementation, the server calculates which mileage data belongs to the toll road section and the actual fee of the road section based on the mileage data of the target vehicle, and summarizes the data to generate the final fee of the vehicle.
[0042] In the present application, the server obtains the starting point information and the end point information of the vehicle, generates the preset driving road information based on the starting point information and the end point information, pre-processes the preset driving road information to generate the initial driving road information, filters and processes the initial driving road information based on the location data filtering method to generate the target driving road information, processes the target driving road information based on the road matching method to generate the target vehicle mileage data, processes the target vehicle mileage data based on the pre-designed charging rules to generate the vehicle mileage fee. By processing the starting point of the vehicle and the user's driving habits and vehicle condition information, the appropriate driving road information is generated. In addition, the actual driving road of the vehicle and the corresponding vehicle mileage data are obtained based on the location data filtering method and the road matching method, and the final vehicle mileage fee is calculated based on this, so as to accurately collect fees from the corresponding vehicles, reducing the charging defects in the prior art.
[0043] Optionally, in another embodiment of the method of the present application, the target driving road information is processed based on the road matching method to generate target vehicle mileage data, further comprising:
[0044] Processing the initial target mileage data to generate a driving trajectory of the vehicle;
[0045] Acquiring road information related to the driving trajectory of the vehicle within a preset time period;
[0046] Preprocessing the driving trajectory of the vehicle based on the road information to generate a preset driving road for the vehicle;
[0047] Processing the preset driving road of the vehicle based on the probability calculation model to generate a historical driving road of the vehicle;
[0048] Target vehicle mileage data is generated based on the vehicle's historical driving routes.
[0049] In one implementation, the server will select the corresponding time node according to actual needs, and determine the vehicle driving trajectory at the time node, and confirm whether the current road information is a toll road section and the corresponding mileage through the vehicle driving trajectory. In addition, the probability calculation model adopts the hierarchical contraction CH (Contraction Hierarchies) algorithm, which has the advantage of extremely fast query speed and meets the algorithm speed requirements very well. The CH algorithm includes two stages: a time-consuming preprocessing stage (this stage can be completed by the server and the results are stored) and an extremely fast result query stage. The CH algorithm provides a new foundation for the hierarchical routing method of the road network. The basic idea is to preprocess the road network data to generate a multi-layer road network structure, where each node is in a separate layer. The priority of the nodes is sorted during the processing process. The order of the nodes will affect the efficiency of preprocessing and searching. In actual data processing, priority is usually sorted according to the road function level. In the search process, the bidirectional Dijkstra algorithm is used to calculate the shortest path. Points are selected in order from low to high according to the priority level of the nodes for contraction operation. That is, if the current node is removed, it is determined whether it will affect the shortest path between the point pairs in the node composition graph. If so, the relevant edge information is saved, and the search result can be obtained when the two edges meet.
[0050] Optionally, in another embodiment of the method of the present application, generating target vehicle mileage data based on the historical driving roads of the vehicle includes:
[0051] Obtaining historical speed information of the vehicle;
[0052] Segmenting the historical travel route of the vehicle to generate a number of segmented mileages;
[0053] Processing the historical driving roads of the vehicle based on the vehicle mileage calculation method to generate target vehicle mileage data;
[0054] The vehicle mileage calculation method includes the calculation formula of the vehicle single mileage S:
[0055] ;
[0056] Segment mileage Si, ;
[0057] n represents the time interval period in the total time of a single vehicle trip The total number of Represents the actual equivalent vehicle speed at time point Ti.
[0058] In one implementation, the real-time vehicle data of the vehicle is obtained from the vehicle self-diagnosis system at fixed time intervals through an intelligent vehicle terminal, and the obtained real-time vehicle data and Beidou positioning data collected by the intelligent vehicle terminal, including vehicle location data and vehicle driving data, are transmitted to the real-time vehicle data and location information fusion matching model through a wireless network, wherein the specific content of the Beidou positioning data includes: longitude, latitude, time, azimuth, speed and other data. If the real-time vehicle data is read successfully, the read mileage data is directly used as the actual mileage of the vehicle in this trip. If the real-time vehicle data fails to be read, the preset calculation method is used to calculate the single actual mileage of the vehicle at the current time node, and the single mileage of the vehicle is accumulated to obtain the total mileage of the entire trip.
[0059] Since the instantaneous speed obtained from the bus or on-board terminal is in kilometers per hour, and only the integer part of the instantaneous speed obtained from the bus is retained, directly using this speed to calculate the segmented mileage will inevitably lead to a smaller calculation result, and this deviation also has a cumulative effect. As the statistical time accumulates, it will cause a large error in the final calculation result. The vehicle mileage calculation method based on vehicle speed selects a short fixed time interval (1 second) and corrects the vehicle speed, which solves the problem of inaccurate mileage calculation caused by omitting the decimal part of the speed data obtained from the bus, and greatly improves the accuracy of mileage calculation. The calculation principle of the vehicle mileage calculation method based on vehicle speed is: use the bus or on-board terminal to calculate the mileage at a fixed time interval. Get the vehicle speed information, such as the speed Vi obtained at time point Ti, and calculate the actual equivalent speed at time point Ti ,but (where Vi is the vehicle speed collected by the bus or vehicle terminal at the current time point Ti, which is an integer); calculate the time interval period from the previous time point Ti-1 to the current time point Ti Current segment mileage Si within ; All segmented mileages S1~Sn are accumulated and summed to obtain the vehicle's single trip mileage S, where n is a positive integer greater than or equal to 1, and n represents the time interval period in the total time of a single trip of the vehicle The total number of times the vehicle is driven is the total data obtained, and the final total data is the actual mileage of the vehicle during the entire journey.
[0060] By applying the above technical solution, the server obtains the starting point information and the end point information of the vehicle, generates the preset driving road information based on the starting point information and the end point information, obtains the user's driving habit information and the vehicle condition information of the vehicle, obtains the real-time road condition information and the restriction information of the preset driving road, processes the driving habit information and the vehicle condition information, generates the vehicle driving characteristics, processes the real-time road condition information and the restriction information based on the vehicle driving characteristics, generates the initial driving road information, obtains the road attribute information of the initial road information, wherein the road attribute information includes the type information and the physical width information of different roads, generates the road information of different colors based on the type information, processes the road information of different colors based on the physical width information, generates the road information of different sizes, generates the preset electronic fence based on the road information of different colors and the road information of different sizes, filters the initial driving road information based on the preset electronic fence, and generates the target driving road information.
[0061] The server will obtain the location information of the vehicle, use the location information as the Beidou positioning point, process the target driving road information and the Beidou positioning point based on the map matching probability algorithm, generate the initial target mileage data, and process the initial target mileage data based on the hierarchical contraction algorithm to generate the target vehicle mileage data. The formula of the map matching probability algorithm is as follows: ,in, is the projection distance between the Beidou positioning point and the target driving road, is the projection distance between the Beidou positioning point and the target driving road, is the weight of the angle between the vehicle's driving direction and the target driving road, It is the angle between the vehicle's driving direction and the target driving road.
[0062] In addition, the server will also process the initial target mileage data, generate the vehicle's driving trajectory, obtain road information related to the vehicle's driving trajectory within a preset time period, pre-process the vehicle's driving trajectory based on the road information, generate the vehicle's preset driving road, process the vehicle's preset driving road based on the probability calculation model, generate the vehicle's historical driving road, obtain the vehicle's historical speed information, segment the vehicle's historical driving road, generate a number of segmented mileages, process the vehicle's historical driving road based on the vehicle's mileage calculation method, and generate target vehicle mileage data, wherein the vehicle mileage calculation method includes a calculation formula for the vehicle's single mileage S: , segment mileage Si, n represents the time interval period in the total time of a single vehicle trip The total number of Indicates the actual equivalent vehicle speed at time point Ti, and processes the target vehicle mileage data based on the pre-designed fee rules to generate vehicle mileage fees. By processing the vehicle's starting point and the user's driving habits and vehicle condition information, appropriate driving road information is generated. In addition, the actual driving road and corresponding vehicle mileage data of the vehicle are obtained based on the location data filtering method and the road matching method, and the final vehicle mileage fee is calculated based on this, so as to accurately collect fees from the corresponding vehicles, reducing the charging defects in the existing technology.
[0063] In one embodiment, if Figure 2 As shown, the present application also provides a vehicle mileage charging calculation device, comprising:
[0064] The acquisition module 201 is used to acquire the starting point information and the end point information of the vehicle;
[0065] The processing module 202 is used to generate preset driving road information based on the starting point information and the end point information; pre-process the preset driving road information to generate initial driving road information; filter the initial driving road information based on a location data filtering method to generate target driving road information; process the target driving road information based on a road matching method to generate target vehicle mileage data; process the target vehicle mileage data based on a pre-designed fee rule to generate vehicle mileage fees.
[0066] In the present application, the server obtains the starting point information and the end point information of the vehicle, generates the preset driving road information based on the starting point information and the end point information, pre-processes the preset driving road information to generate the initial driving road information, filters and processes the initial driving road information based on the location data filtering method to generate the target driving road information, processes the target driving road information based on the road matching method to generate the target vehicle mileage data, processes the target vehicle mileage data based on the pre-designed charging rules to generate the vehicle mileage fee. By processing the starting point of the vehicle and the user's driving habits and vehicle condition information, the appropriate driving road information is generated. In addition, the actual driving road of the vehicle and the corresponding vehicle mileage data are obtained based on the location data filtering method and the road matching method, and the final vehicle mileage fee is calculated based on this, so as to accurately collect fees from the corresponding vehicles, reducing the charging defects in the prior art.
[0067] In another embodiment of the present application, the processing module 202 is configured to pre-process the preset driving road information to generate initial driving road information, including:
[0068] Acquiring the user's driving habit information and the vehicle condition information of the vehicle;
[0069] Obtaining real-time traffic information and traffic restriction information of the preset driving road;
[0070] Processing the driving habit information and the vehicle condition information to generate vehicle driving characteristics;
[0071] The real-time road condition information and the restricted traffic information are processed based on the vehicle driving characteristics to generate initial driving road information.
[0072] In another embodiment of the present application, the processing module 202 is configured to filter the initial driving road information based on the location data filtering method to generate target driving road information, including:
[0073] Acquire road attribute information of the initial road information, wherein the road attribute information includes type information and physical width information of different roads;
[0074] Generate a preset electronic fence based on the type information and the physical width information;
[0075] The initial driving road information is filtered based on a preset electronic fence to generate target driving road information.
[0076] In another embodiment of the present application, the processing module 202 is configured to generate a preset electronic fence based on the type information and the physical width information, including:
[0077] generating road information of different colors based on the type information;
[0078] Processing the road information of different colors based on the physical width information to generate road information of different sizes;
[0079] A preset electronic fence is generated based on the road information of different colors and the road information of different sizes.
[0080] In another embodiment of the present application, the processing module 202 is configured to process the target driving road information based on the road matching method to generate target vehicle mileage data, including:
[0081] Obtaining the location information of the vehicle, and using the location information as a Beidou positioning point;
[0082] Processing the target driving road information and the Beidou positioning point based on a map matching probability algorithm to generate initial target mileage data;
[0083] Processing the initial target mileage data based on a hierarchical contraction algorithm to generate target vehicle mileage data;
[0084] The formula of the map matching probability algorithm is as follows:
[0085] ;
[0086] in, It is the projection distance between the Beidou positioning point and the target driving road; It is the projection distance between the Beidou positioning point and the target driving road; is the weight of the angle between the vehicle's driving direction and the target driving road; It is the angle between the vehicle's driving direction and the target driving road.
[0087] In another embodiment of the present application, the processing module 202 is configured to process the target driving road information based on the road matching method to generate target vehicle mileage data, and further includes:
[0088] Processing the initial target mileage data to generate a driving trajectory of the vehicle;
[0089] Acquiring road information related to the driving trajectory of the vehicle within a preset time period;
[0090] Preprocessing the driving trajectory of the vehicle based on the road information to generate a preset driving road for the vehicle;
[0091] Processing the preset driving road of the vehicle based on the probability calculation model to generate a historical driving road of the vehicle;
[0092] Target vehicle mileage data is generated based on the vehicle's historical driving routes.
[0093] In another embodiment of the present application, the processing module 202 is configured to generate the target vehicle mileage data based on the historical driving road of the vehicle, including:
[0094] Obtaining historical speed information of the vehicle;
[0095] Segmenting the historical travel route of the vehicle to generate a number of segmented mileages;
[0096] Processing the historical driving roads of the vehicle based on the vehicle mileage calculation method to generate target vehicle mileage data;
[0097] The vehicle mileage calculation method includes the calculation formula of the vehicle single mileage S:
[0098] ;
[0099] Segment mileage Si, ;
[0100] n represents the time interval period in the total time of a single vehicle trip The total number of Represents the actual equivalent vehicle speed at time point Ti.
[0101] By applying the above technical solution, the server obtains the starting point information and the end point information of the vehicle, generates the preset driving road information based on the starting point information and the end point information, obtains the user's driving habit information and the vehicle condition information of the vehicle, obtains the real-time road condition information and the restriction information of the preset driving road, processes the driving habit information and the vehicle condition information, generates the vehicle driving characteristics, processes the real-time road condition information and the restriction information based on the vehicle driving characteristics, generates the initial driving road information, obtains the road attribute information of the initial road information, wherein the road attribute information includes the type information and the physical width information of different roads, generates the road information of different colors based on the type information, processes the road information of different colors based on the physical width information, generates the road information of different sizes, generates the preset electronic fence based on the road information of different colors and the road information of different sizes, filters the initial driving road information based on the preset electronic fence, and generates the target driving road information.
[0102] The server will obtain the location information of the vehicle, use the location information as the Beidou positioning point, process the target driving road information and the Beidou positioning point based on the map matching probability algorithm, generate the initial target mileage data, and process the initial target mileage data based on the hierarchical contraction algorithm to generate the target vehicle mileage data. The formula of the map matching probability algorithm is as follows: ,in, is the projection distance between the Beidou positioning point and the target driving road, is the projection distance between the Beidou positioning point and the target driving road, is the weight of the angle between the vehicle's driving direction and the target driving road, It is the angle between the vehicle's driving direction and the target driving road.
[0103] In addition, the server will also process the initial target mileage data, generate the vehicle's driving trajectory, obtain road information related to the vehicle's driving trajectory within a preset time period, pre-process the vehicle's driving trajectory based on the road information, generate the vehicle's preset driving road, process the vehicle's preset driving road based on the probability calculation model, generate the vehicle's historical driving road, obtain the vehicle's historical speed information, segment the vehicle's historical driving road, generate a number of segmented mileages, process the vehicle's historical driving road based on the vehicle's mileage calculation method, and generate target vehicle mileage data, wherein the vehicle mileage calculation method includes a calculation formula for the vehicle's single mileage S: , segment mileage Si, , n represents the time interval period in the total time of a single vehicle trip The total number of Indicates the actual equivalent vehicle speed at time point Ti, and processes the target vehicle mileage data based on the pre-designed fee rules to generate vehicle mileage fees. By processing the vehicle's starting point and the user's driving habits and vehicle condition information, appropriate driving road information is generated. In addition, the actual driving road and corresponding vehicle mileage data of the vehicle are obtained based on the location data filtering method and the road matching method, and the final vehicle mileage fee is calculated based on this, so as to accurately collect fees from the corresponding vehicles, reducing the charging defects in the existing technology.
[0104] The present application embodiment provides an electronic device, such as Figure 3 As shown, the electronic device 3 includes a first processor 300, a memory 301, a bus 302 and a communication interface 303. The first processor 300, the communication interface 303 and the memory 301 are connected via the bus 302. The memory 301 stores a computer program that can be run on the first processor 300. When the first processor 300 runs the computer program, it executes the vehicle mileage billing calculation method provided in any of the aforementioned embodiments of the present application.
[0105] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0106] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the first processor 300 executes the programs after receiving the execution instruction. The vehicle mileage charging calculation method disclosed in any implementation of the embodiment of the present application may be applied to the first processor 300, or implemented by the first processor 300.
[0107] The first processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 300. The above-mentioned first processor 300 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the first processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.
[0108] The electronic device provided in the above-mentioned embodiments of the present application and the vehicle mileage charge calculation method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0109] The present application embodiment provides a computer-readable storage medium, such as Figure 4 As shown, the computer-readable storage medium stores 401 a computer program, and when the computer program is read and executed by the second processor 402, the vehicle mileage charging calculation method as described above is implemented.
[0110] The technical solution of the embodiment of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be an air conditioner, a refrigeration device, a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0111] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the vehicle mileage charge calculation method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0112] An embodiment of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a third processor to implement the method described above.
[0113] The computer program product provided by the above-mentioned embodiments of the present application and the vehicle mileage charge calculation method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0114] It should be noted that, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or still includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0115] Each embodiment in this application is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the calculation method, electronic device, electronic device, and readable storage medium embodiment for evaluating vehicle mileage metering, since they are basically similar to the above-mentioned vehicle mileage metering calculation method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the above-mentioned vehicle mileage metering calculation method embodiment.
[0116] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so the protection scope of the present application shall be subject to the scope defined by the claims.
Claims
1. A method for calculating vehicle mileage charges, characterized in that: include: Get the starting point information and the end point information of the vehicle; Generate preset driving road information based on the starting point information and the end point information; Preprocessing the preset driving road information to generate initial driving road information; Filtering the initial driving road information based on a location data filtering method to generate target driving road information; Processing the target driving road information based on a road matching method to generate target vehicle mileage data; Processing the target vehicle mileage data based on pre-designed fee rules to generate vehicle mileage fees; The preprocessing of the preset driving road information to generate initial driving road information includes: Acquiring the user's driving habit information and the vehicle condition information of the vehicle; Obtaining real-time traffic information and traffic restriction information of the preset driving road; Processing the driving habit information and the vehicle condition information to generate vehicle driving characteristics; Processing the real-time road condition information and the restricted traffic information based on the vehicle driving characteristics to generate initial driving road information; The method for filtering the initial driving road information based on the location data to generate target driving road information includes: Acquire road attribute information of initial driving road information, wherein the road attribute information includes type information and physical width information of different roads; Generate a preset electronic fence based on the type information and the physical width information; Filtering the initial driving road information based on a preset electronic fence to generate target driving road information; The method of processing the target driving road information based on the road matching method to generate target vehicle mileage data includes: Obtaining the location information of the vehicle, and using the location information as a Beidou positioning point; Processing the target driving road information and the Beidou positioning point based on a map matching probability algorithm to generate initial target mileage data; Processing the initial target mileage data based on a hierarchical contraction algorithm to generate target vehicle mileage data; The formula of the map matching probability algorithm is as follows: ; Among them, ωr is the projection distance between the Beidou positioning point and the target driving road; ri is the projection distance between the Beidou positioning point and the target driving road; ωθ is the weight of the angle between the vehicle's driving direction and the target driving road; θi is the angle between the vehicle's driving direction and the target driving road.
2. The method according to claim 1, characterized in that The generating a preset electronic fence based on the type information and the physical width information includes: generating road information of different colors based on the type information; Processing the road information of different colors based on the physical width information to generate road information of different sizes; A preset electronic fence is generated based on the road information of different colors and the road information of different sizes.
3. The method according to claim 1, wherein the target driving road information is processed based on a road matching method to generate target vehicle mileage data, further comprising: Processing the initial target mileage data to generate a driving trajectory of the vehicle; Acquiring road information related to the driving trajectory of the vehicle within a preset time period; Preprocessing the driving trajectory of the vehicle based on the road information to generate a preset driving road for the vehicle; Processing the preset driving road of the vehicle based on the probability calculation model to generate a historical driving road of the vehicle; Target vehicle mileage data is generated based on the vehicle's historical driving routes.
4. The method according to claim 3, wherein generating target vehicle mileage data based on the vehicle's historical driving route comprises: Obtaining historical speed information of the vehicle; Segmenting the historical travel route of the vehicle to generate a number of segmented mileages; Processing the historical driving roads of the vehicle based on the vehicle mileage calculation method to generate target vehicle mileage data; The vehicle mileage calculation method includes the calculation formula of the vehicle single mileage S: ; Segment mileage Si, Si = V i' × ΔT; n represents the total number of time intervals ΔT in the total time of a single vehicle trip, and Vi' represents the actual equivalent vehicle speed at the time point Ti.
5. A vehicle mileage charging calculation device, characterized in that: The device comprises: An acquisition module is used to obtain the starting point information and the end point information of the vehicle; A processing module is used to generate preset driving road information based on the starting point information and the end point information; pre-process the preset driving road information to generate initial driving road information; filter the initial driving road information based on a location data filtering method to generate target driving road information; process the target driving road information based on a road matching method to generate target vehicle mileage data; process the target vehicle mileage data based on a pre-designed fee rule to generate vehicle mileage fees; the pre-processing of the preset driving road information to generate initial driving road information includes: obtaining the user's driving habit information and the vehicle condition information of the vehicle; obtaining the real-time road condition information and restriction information of the preset driving road; processing the driving habit information and the vehicle condition information to generate vehicle driving characteristics; processing the real-time road condition information and the restriction information based on the vehicle driving characteristics to generate initial driving road information ; The method for filtering the initial driving road information based on the location data to generate the target driving road information includes: obtaining the road attribute information of the initial driving road information, wherein the road attribute information includes the type information and physical width information of different roads; generating a preset electronic fence based on the type information and the physical width information; filtering the initial driving road information based on the preset electronic fence to generate the target driving road information; the method for processing the target driving road information based on the road matching to generate the target vehicle mileage data includes: obtaining the location information of the vehicle and using the location information as the Beidou positioning point; processing the target driving road information and the Beidou positioning point based on the map matching probability algorithm to generate the initial target mileage data; processing the initial target mileage data based on the hierarchical shrinkage algorithm to generate the target vehicle mileage data; the formula of the map matching probability algorithm is as follows: ; Among them, ωr is the projection distance between the Beidou positioning point and the target driving road; ri is the projection distance between the Beidou positioning point and the target driving road; ωθ is the weight of the angle between the vehicle's driving direction and the target driving road; θi is the angle between the vehicle's driving direction and the target driving road.
6. An electronic device, characterized in that: include: a first processor; and a memory for storing executable instructions of the first processor; Wherein, the first processor is configured to execute the vehicle mileage charging calculation method described in any one of claims 1 to 4 by executing the executable instructions.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the second processor, the vehicle mileage charging calculation method according to any one of claims 1 to 4 is implemented.
