CN109313825A - Vehicle mileage calculation method, system and terminal device - Google Patents
Vehicle mileage calculation method, system and terminal device Download PDFInfo
- Publication number
- CN109313825A CN109313825A CN201880001158.7A CN201880001158A CN109313825A CN 109313825 A CN109313825 A CN 109313825A CN 201880001158 A CN201880001158 A CN 201880001158A CN 109313825 A CN109313825 A CN 109313825A
- Authority
- CN
- China
- Prior art keywords
- mileage
- vehicle
- travelled
- carrying
- charged
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B13/00—Taximeters
- G07B13/02—Details; Accessories
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C22/00—Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Navigation (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention is suitable for vehicle mileage and calculates technical field, provides a kind of vehicle mileage calculation method, system and terminal device, which comprises obtain the CAN data of vehicle, and determine the first mileage of the vehicle according to the CAN data;The GPS data of the vehicle is obtained, and determines the second mileage of the vehicle according to the GPS data;If the absolute value of the difference of first mileage and second mileage is less than preset threshold, using first mileage as the charged mileage of the vehicle.Present invention dramatically increases the difficulty of driver's mileage cheating, can effectively avoid bringing economic loss to passenger.
Description
Technical field
The invention belongs to vehicle mileages to calculate technical field more particularly to a kind of vehicle mileage calculation method, system and end
End equipment.
Background technique
Taximeter is a kind of measurement instrument, hires out the duration and according to odometer sensor transmission for measuring
Signal measurement mileage, and the expense that passenger's taxi is dealt with is calculated and be shown as foundation in the timing time to measure and mileage.It passes
The meter of system is usually to use pulse signal as the information source for calculating mileage, in this mode for calculating mileage, out
The driver that hires a car is easy to increase mileage by analog pulse signal, achievees the purpose that overcharge, brings economic loss to passenger.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of vehicle mileage calculation method, system and terminal device, to solve
The problem of taxi driver is easy cheating increase mileage in the prior art, brings economic loss to passenger.
To solve the above problems, the first aspect of the embodiment of the present invention provides a kind of vehicle mileage calculation method, comprising:
Controller local area network (Controller Area Network, CAN) data of vehicle are obtained, and according to described
CAN data determine the first mileage of the vehicle;
Obtain global positioning system (Global Positioning System, GPS) data of the vehicle, and according to
The GPS data determines the second mileage of the vehicle;
If the absolute value of the difference of first mileage and second mileage is less than preset threshold, will be in described first
The charged mileage of vehicle described in Cheng Zuowei.
In one embodiment, the vehicle mileage calculation method further include:
If the absolute value of the difference of first mileage and second mileage is greater than preset threshold, it is determined that the vehicle
Driving trace, and determine according to the driving trace mileage travelled of the vehicle;
If first mileage is less than the mileage travelled, using first mileage as in the charging of the vehicle
Journey.
In one embodiment, the driving trace of the determination vehicle, comprising:
When the vehicle is passenger carrying status, the real time position of the vehicle is obtained, and determine according to the real time position
The driving trace of the vehicle.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is less than the mileage travelled, the second mileage exception information is sent to monitor terminal.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is greater than the mileage travelled, using second mileage as in the charging of the vehicle
Journey.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is greater than the mileage travelled, the first mileage exception information is sent to monitor terminal.
In one embodiment, the CAN data include the real-time speed of the vehicle;
First mileage that the vehicle is determined according to the CAN data, comprising:
When the vehicle is passenger carrying status, according to the real-time speed and the first prefixed time interval, integrating meter is calculated
Carrying kilometres of the vehicle in the first prefixed time interval;
It regard the sum of the carrying kilometres in carrying time section as the first mileage.
In one embodiment, second mileage that the vehicle is determined according to the GPS data, comprising:
When the vehicle is passenger carrying status, the real time position in the GPS data is obtained, it is true according to the real time position
Fixed distance change value of the vehicle in the second prefixed time interval;
It regard the sum of the distance change value in carrying time section as the second mileage.
In one embodiment, the vehicle mileage calculation method further include:
The expense of riding is calculated according to the charged mileage, and the expense by bus is sent to the vehicle.
The second aspect of the embodiment of the present invention provides a kind of vehicle mileage computing system, comprising:
First obtains module, determines the of the vehicle for obtaining the CAN data of vehicle, and according to the CAN data
One mileage;
Second obtains module, determines the vehicle for obtaining the GPS data of the vehicle, and according to the GPS data
The second mileage;
First charged mileage determining module, if small for first mileage and the absolute value of the difference of second mileage
In preset threshold, then using first mileage as the charged mileage of the vehicle.
In one embodiment, the vehicle mileage computing system further include:
Mileage travelled determining module, if being greater than for first mileage and the absolute value of the difference of second mileage pre-
If threshold value, it is determined that the driving trace of the vehicle, and determine according to the driving trace mileage travelled of the vehicle;
Second charged mileage determining module, if being less than the mileage travelled for first mileage, by described first
Charged mileage of the mileage as the vehicle.
In one embodiment, the mileage travelled determining module includes:
Driving trace determining module, for obtaining the real time position of the vehicle when the vehicle is passenger carrying status, and
The driving trace of the vehicle is determined according to the real time position.
In one embodiment, the vehicle mileage computing system further include:
First exception information sending module, if being less than the mileage travelled for first mileage, by the second mileage
Exception information is sent to monitor terminal.
In one embodiment, the vehicle mileage computing system further include:
Third charged mileage determining module, if being greater than the mileage travelled for first mileage, by described second
Charged mileage of the mileage as the vehicle.
In one embodiment, the vehicle mileage computing system further include:
Second exception information sending module, if being greater than the mileage travelled for first mileage, by the first mileage
Exception information is sent to monitor terminal.
In one embodiment, the CAN data include the real-time speed of the vehicle;
Described first, which obtains module, includes:
Carrying kilometres computing module is used for when the vehicle is passenger carrying status, pre- according to the real-time speed and first
If time interval, integrating meter calculates carrying kilometres of the vehicle in the first prefixed time interval;
First mileage determining module, for regarding the sum of the carrying kilometres in carrying time section as the first mileage.
In one embodiment, the second acquisition module includes:
Distance change value computing module, for obtaining real-time in the GPS data when the vehicle is passenger carrying status
Position determines distance change value of the vehicle in the second prefixed time interval according to the real time position;
Second mileage determining module, for regarding the sum of the distance change value in carrying time section as the second mileage.
In one embodiment, the vehicle mileage computing system further include:
Riding fee computing module, for calculating the expense of riding according to the charged mileage, and will the expense hair by bus
It send to the vehicle.
The third aspect of the embodiment of the present invention provides a kind of vehicle mileage computing terminal equipment, including memory, processing
Device and storage in the memory and the computer program that can run on the processor, described in the processor execution
The vehicle mileage calculation method of above-described embodiment first aspect is realized when computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the vehicle of above-described embodiment first aspect when being executed by processor
Method for Calculate Mileage.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the CAN data by obtaining vehicle itself
The first mileage of vehicle is calculated, and calculates the second mileage of vehicle using GPS data, can whether quasi- with the first mileage of auxiliary judgment
Really, when the difference of the first mileage and the second mileage meets the requirements, determine that the first mileage is accurate, using the first mileage as in charging
Journey considerably increases the difficulty of driver's mileage cheating, can effectively avoid bringing economic loss to passenger.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of schematic flow diagram of vehicle mileage calculation method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic block diagram of vehicle mileage computing system provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of vehicle mileage computing terminal equipment provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Referring to Fig.1, the embodiment of the invention provides a kind of vehicle mileage calculation methods, comprising:
Step S101 obtains the CAN data of vehicle, and the first mileage of the vehicle is determined according to the CAN data.
In embodiments of the present invention, car-mounted terminal, the CAN bus company of car-mounted terminal and vehicle itself are provided on vehicle
It connects.
As a kind of embodiment of the embodiment of the present invention, driver triggers car-mounted terminal by key or other modes, refers to
Show that vehicle is in passenger carrying status, car-mounted terminal is connected by CAN bus obtains CAN data, and CAN data are sent to backstage eventually
End, i.e. background terminal remotely obtain CAN data when vehicle is passenger carrying status, similarly, when vehicle arrives at the destination, Si Jitong
Crossing key or other modes triggering car-mounted terminal, instruction vehicle carrying process terminates, and car-mounted terminal stops sending to background terminal
CAN data, background terminal can recorde the carrying running time of this carrying.
It include the real-time speed of vehicle, background terminal setting time interval, when being in passenger carrying status from vehicle in CAN data
It rises, background terminal carries out integral operation according to real-time speed, calculates the distance of vehicle driving in each time interval, will calculate
Distance out is cumulative, so that it may carrying kilometres of vehicle during this carrying is calculated in real time, when vehicle carrying process knot
Shu Shi, the carrying kilometres being calculated are the first mileage.
As the another embodiment of the embodiment of the present invention, car-mounted terminal saves the CAN data during carrying, works as vehicle
After carrying process, the CAN data during carrying are sent to background terminal by car-mounted terminal, and background terminal is according to acquisition
CAN data calculate the first mileage.
Step S102 obtains the GPS data of the vehicle, and is determined according to the GPS data in the second of the vehicle
Journey.
In embodiments of the present invention, it is provided in above-mentioned car-mounted terminal on GPS positioning device or car-mounted terminal and vehicle
GPS positioning device connection.
As a kind of embodiment of the embodiment of the present invention, when vehicle is in passenger carrying status, car-mounted terminal obtains vehicle
GPS data and be sent to background terminal, i.e., background terminal remotely obtain vehicle be passenger carrying status when GPS data, work as vehicle
When arriving at the destination, car-mounted terminal stops sending GPS data to background terminal.
It include the real time position of vehicle, background terminal setting time interval, when being in passenger carrying status from vehicle in GPS data
It rises, background terminal calculates in each time interval according to the initial time position and final moment position of each time interval
The distance change value of vehicle adds up each distance change value, so that it may calculate vehicle in real time and carry during this carrying
Objective mileage, at the end of vehicle carrying process, the carrying kilometres being calculated are the second mileage.
As another middle embodiment of the embodiment of the present invention, car-mounted terminal saves the GPS data during carrying, works as vehicle
After carrying process, the GPS data during carrying is sent to background terminal by car-mounted terminal, and background terminal is according to acquisition
GPS data calculate the second mileage.
Step S103 will if the absolute value of the difference of first mileage and second mileage is less than preset threshold
Charged mileage of first mileage as the vehicle.
In embodiments of the present invention, calculated first mileage and the second mileage are compared by background terminal, when first
When the absolute value of the difference of mileage and the second mileage is less than the threshold value of background terminal setting, the first mileage and the second mileage number are assert
According to accurate, while also indicating that CAN data and GPS data are normal.And CAN data are not easy artificially to change, therefore, background terminal will
Charged mileage of first mileage as vehicle.
Charged mileage can also be sent to car-mounted terminal by background terminal, so that car-mounted terminal shows charged mileage
Show, or car-mounted terminal is made to calculate the expense of riding according to charged mileage.
Here the difference that can be the first mileage and the second mileage, is also possible to the ratio between above-mentioned difference and the first mileage,
Using different difference calculations, the threshold value of setting is not also identical.
From the above, it can be seen that the embodiment of the present invention calculates the of vehicle by obtaining the CAN data of vehicle itself
One mileage, and using the second mileage of GPS data calculating vehicle, can whether accurate with the first mileage of auxiliary judgment, when first li
When journey and the difference of the second mileage meet the requirements, determines that the first mileage is accurate, using the first mileage as charged mileage, greatly increase
The difficulty of driver's mileage cheating, can effectively avoid bringing economic loss to passenger.
In one embodiment, the vehicle mileage calculation method further include:
If the absolute value of the difference of first mileage and second mileage is greater than preset threshold, it is determined that the vehicle
Driving trace, and determine according to the driving trace mileage travelled of the vehicle;
If first mileage is less than the mileage travelled, using first mileage as in the charging of the vehicle
Journey.
In embodiments of the present invention, if the absolute value of the difference of the first mileage and the second mileage is greater than background terminal setting
Threshold value shows there is one group of data inaccuracy in the first mileage and the second mileage.
Background terminal obtains the driving trace of vehicle by car-mounted terminal again, and the traveling of vehicle is estimated according to driving trace
Mileage compares the first mileage with mileage travelled.Root should be less than according to the first mileage that CAN data determine under normal circumstances
Assert that the data of the first mileage are accurate if the first mileage is less than mileage travelled according to the mileage travelled that driving trace determines, by the
Charged mileage of one mileage as vehicle.
In one embodiment, the driving trace of the determination vehicle, comprising:
When the vehicle is passenger carrying status, the real time position of the vehicle is obtained, and determine according to the real time position
The driving trace of the vehicle.
In embodiments of the present invention, in carrying time section, background terminal obtains vehicle each pre- by car-mounted terminal
If travelling the position at moment, for example, every the location point at 15 seconds acquisition vehicle current times, while identifying that the turn of vehicle is dynamic
Make, obtains the location point at vehicle current time at once when vehicle carries out turning outer, after vehicle arrives at the destination, background terminal is held
The software program of row setting, the driving trace of vehicle is simulated according to discrete location point, determines the corresponding reality of driving trace
Distance, and as mileage travelled, whether the data for judging the first mileage are accurate.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is less than the mileage travelled, the second mileage exception information is sent to monitor terminal.
In embodiments of the present invention, if the first mileage is less than mileage travelled, show that the first mileage is accurate, and second
Mileage inaccuracy, also indicates that CAN data are normal accordingly, and GPS data is abnormal.Background terminal is by the second mileage abnormal
Information is sent to monitor terminal, reminds backstage personnel to the GPS positioning device on car-mounted terminal or the GPS positioning device on vehicle
Carry out trouble shooting.Here monitor terminal refers to the terminal device manipulated by backstage personnel, specifically can be computer or hand
The terminal devices such as machine.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is greater than the mileage travelled, using second mileage as in the charging of the vehicle
Journey.
In embodiments of the present invention, if the first mileage is greater than mileage travelled, show that the first mileage is inaccurate, second
Mileage is accurate, therefore using the second mileage as the charged mileage of vehicle, avoids bringing economic loss to passenger.
In one embodiment, the vehicle mileage calculation method further include:
If first mileage is greater than the mileage travelled, the first mileage exception information is sent to monitor terminal.
In embodiments of the present invention, if the first mileage is greater than mileage travelled, show that the first mileage is inaccurate, and the
Two mileages are accurate, also indicate that CAN data exception accordingly, and GPS data is normal.Background terminal is by the first mileage abnormal
Information is sent to monitor terminal, reminds backstage personnel to carry out trouble shooting to the CAN bus of car-mounted terminal and vehicle, and then determine
It is equipment fault or driver's cheating.
In one embodiment, the CAN data include the real-time speed of the vehicle;
First mileage that the vehicle is determined according to the CAN data, comprising:
When the vehicle is passenger carrying status, according to the real-time speed and the first prefixed time interval, integrating meter is calculated
Carrying kilometres of the vehicle in the first prefixed time interval;
It regard the sum of the carrying kilometres in carrying time section as the first mileage.
In embodiments of the present invention, background terminal setting time interval, from vehicle is in passenger carrying status, background terminal
Integral operation is carried out according to real-time speed, the distance of vehicle driving in each time interval is calculated, for example, according to real-time speed
Every 20 milliseconds calculate primary distance, calculated distance are added up, so that it may calculate vehicle during this carrying in real time
Carrying kilometres, at the end of vehicle carrying process, the carrying kilometres being calculated are the first mileage.
In one embodiment, second mileage that the vehicle is determined according to the GPS data, comprising:
When the vehicle is passenger carrying status, the real time position in the GPS data is obtained, it is true according to the real time position
Fixed distance change value of the vehicle in the second prefixed time interval;
It regard the sum of the distance change value in carrying time section as the second mileage.
In embodiments of the present invention, background terminal setting time interval, from vehicle is in passenger carrying status, background terminal
According to the initial time position of each time interval and final moment position, the distance for calculating vehicle in each time interval becomes
Change value adds up each distance change value, so that it may calculate vehicle carrying kilometres during this carrying in real time, work as vehicle
At the end of carrying process, the carrying kilometres being calculated are the second mileage.
In one embodiment, the vehicle mileage calculation method further include:
The expense of riding is calculated according to the charged mileage, and the expense by bus is sent to the vehicle.
In embodiments of the present invention, background terminal is provided with riding fee calculation formula, after determining charged mileage, will count
Expense mileage substitutes into formula and expense by bus is calculated, and expense will be sent to vehicle by bus, reduces the processed of car-mounted terminal
Journey can effectively increase the difficulty of driver's cheating.
Referring to Fig. 2, the embodiment of the invention provides a kind of vehicle mileage computing systems 20, comprising:
First obtains module 201, determines the vehicle for obtaining the CAN data of vehicle, and according to the CAN data
First mileage;
Second obtains module 202, determines the vehicle for obtaining the GPS data of the vehicle, and according to the GPS data
The second mileage;
First charged mileage determining module 203, if for the absolute of first mileage and the difference of second mileage
Value is less than preset threshold, then using first mileage as the charged mileage of the vehicle.
In one embodiment, the vehicle mileage computing system 20 further include:
Mileage travelled determining module, if being greater than for first mileage and the absolute value of the difference of second mileage pre-
If threshold value, it is determined that the driving trace of the vehicle, and determine according to the driving trace mileage travelled of the vehicle;
Second charged mileage determining module, if being less than the mileage travelled for first mileage, by described first
Charged mileage of the mileage as the vehicle.
In one embodiment, the mileage travelled determining module includes:
Driving trace determining module, for obtaining the real time position of the vehicle when the vehicle is passenger carrying status, and
The driving trace of the vehicle is determined according to the real time position.
In one embodiment, the vehicle mileage computing system 20 further include:
First exception information sending module, if being less than the mileage travelled for first mileage, by the second mileage
Exception information is sent to monitor terminal.
In one embodiment, the vehicle mileage computing system 20 further include:
Third charged mileage determining module, if being greater than the mileage travelled for first mileage, by described second
Charged mileage of the mileage as the vehicle.
In one embodiment, the vehicle mileage computing system 20 further include:
Second exception information sending module, if being greater than the mileage travelled for first mileage, by the first mileage
Exception information is sent to monitor terminal.
In one embodiment, the CAN data include the real-time speed of the vehicle;
Described first, which obtains module 201, includes:
Carrying kilometres computing module is used for when the vehicle is passenger carrying status, pre- according to the real-time speed and first
If time interval, integrating meter calculates carrying kilometres of the vehicle in the first prefixed time interval;
First mileage determining module, for regarding the sum of the carrying kilometres in carrying time section as the first mileage.
In one embodiment, the second acquisition module 202 includes:
Distance change value computing module, for obtaining real-time in the GPS data when the vehicle is passenger carrying status
Position determines distance change value of the vehicle in the second prefixed time interval according to the real time position;
Second mileage determining module, for regarding the sum of the distance change value in carrying time section as the second mileage.
In one embodiment, the vehicle mileage computing system 20 further include:
Riding fee computing module, for calculating the expense of riding according to the charged mileage, and will the expense hair by bus
It send to the vehicle.
Referring to Fig. 3, the embodiment of the invention provides a kind of vehicle mileage computing terminal equipment, as shown in figure 3, the embodiment
Vehicle mileage computing terminal equipment 3 include: processor 30, memory 31 and be stored in the memory 31 and can be in institute
State the computer program 32 run on processor 30, such as vehicle mileage calculation procedure.The processor 30 executes the calculating
The step in above-mentioned each vehicle mileage calculation method embodiment is realized when machine program 32, such as step S101 shown in FIG. 1 is extremely
S103.Alternatively, the processor 30 realizes each module/unit in above-mentioned each Installation practice when executing the computer program 32
Function, such as the function of module 201 to 203 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the vehicle mileage computing terminal equipment 3 is described.For example, the computer journey
Sequence 32 can be divided into the first acquisition module, second obtain module and the first charged mileage determining module, each module it is specific
Function is as follows:
First obtains module, determines the of the vehicle for obtaining the CAN data of vehicle, and according to the CAN data
One mileage;
Second obtains module, determines the vehicle for obtaining the GPS data of the vehicle, and according to the GPS data
The second mileage;
First charged mileage determining module, if small for first mileage and the absolute value of the difference of second mileage
In preset threshold, then using first mileage as the charged mileage of the vehicle.
In one embodiment, the computer program 32 further include:
Mileage travelled determining module, if being greater than for first mileage and the absolute value of the difference of second mileage pre-
If threshold value, it is determined that the driving trace of the vehicle, and determine according to the driving trace mileage travelled of the vehicle;
Second charged mileage determining module, if being less than the mileage travelled for first mileage, by described first
Charged mileage of the mileage as the vehicle.
In one embodiment, the mileage travelled determining module includes:
Driving trace determining module, for obtaining the real time position of the vehicle when the vehicle is passenger carrying status, and
The driving trace of the vehicle is determined according to the real time position.
In one embodiment, the computer program 32 further include:
First exception information sending module, if being less than the mileage travelled for first mileage, by the second mileage
Exception information is sent to monitor terminal.
In one embodiment, the computer program 32 further include:
Third charged mileage determining module, if being greater than the mileage travelled for first mileage, by described second
Charged mileage of the mileage as the vehicle.
In one embodiment, the computer program 32 further include:
Second exception information sending module, if being greater than the mileage travelled for first mileage, by the first mileage
Exception information is sent to monitor terminal.
In one embodiment, the CAN data include the real-time speed of the vehicle;
Described first, which obtains module, includes:
Carrying kilometres computing module is used for when the vehicle is passenger carrying status, pre- according to the real-time speed and first
If time interval, integrating meter calculates carrying kilometres of the vehicle in the first prefixed time interval;
First mileage determining module, for regarding the sum of the carrying kilometres in carrying time section as the first mileage.
In one embodiment, the second acquisition module includes:
Distance change value computing module, for obtaining real-time in the GPS data when the vehicle is passenger carrying status
Position determines distance change value of the vehicle in the second prefixed time interval according to the real time position;
Second mileage determining module, for regarding the sum of the distance change value in carrying time section as the second mileage.
In one embodiment, the computer program 32 further include:
Riding fee computing module, for calculating the expense of riding according to the charged mileage, and will the expense hair by bus
It send to the vehicle.
The vehicle mileage computing terminal equipment 3 can be desktop PC, notebook, palm PC and cloud service
Device etc. calculates equipment.The vehicle mileage computing terminal equipment may include, but be not limited only to, processor 30, memory 31.Ability
Field technique personnel are appreciated that Fig. 3 is only the example of vehicle mileage computing terminal equipment 3, do not constitute to vehicle mileage meter
The restriction for calculating terminal device 3 may include perhaps combining certain components or different than illustrating more or fewer components
Component, such as the vehicle mileage computing terminal equipment can also include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the vehicle mileage computing terminal equipment 3, such as in vehicle
The hard disk or memory of journey computing terminal equipment 3.The memory 31 is also possible to the outer of the vehicle mileage computing terminal equipment 3
The plug-in type hard disk being equipped in portion's storage equipment, such as the vehicle mileage computing terminal equipment 3, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further,
The memory 31 can also both including the vehicle mileage computing terminal equipment 3 internal storage unit and also including external storage
Equipment.The memory 31 is for storing needed for the computer program and the vehicle mileage computing terminal equipment 3 it
His program and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice,
Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (20)
1. a kind of vehicle mileage calculation method characterized by comprising
Controller local area network's CAN data of vehicle are obtained, and determine the first mileage of the vehicle according to the CAN data;
The global position system GPS data of the vehicle are obtained, and are determined according to the GPS data in the second of the vehicle
Journey;
If the absolute value of the difference of first mileage and second mileage is less than preset threshold, first mileage is made
For the charged mileage of the vehicle.
2. vehicle mileage calculation method according to claim 1, which is characterized in that further include:
If the absolute value of the difference of first mileage and second mileage is greater than preset threshold, it is determined that the row of the vehicle
Track is sailed, and determines the mileage travelled of the vehicle according to the driving trace;
If first mileage is less than the mileage travelled, using first mileage as the charged mileage of the vehicle.
3. vehicle mileage calculation method according to claim 2, which is characterized in that the traveling rail of the determination vehicle
Mark, comprising:
When the vehicle is passenger carrying status, the real time position of the vehicle is obtained, and according to real time position determination
The driving trace of vehicle.
4. vehicle mileage calculation method according to claim 2, which is characterized in that further include:
If first mileage is less than the mileage travelled, the second mileage exception information is sent to monitor terminal.
5. vehicle mileage calculation method according to claim 2, which is characterized in that further include:
If first mileage is greater than the mileage travelled, using second mileage as the charged mileage of the vehicle.
6. vehicle mileage calculation method according to claim 2, which is characterized in that further include:
If first mileage is greater than the mileage travelled, the first mileage exception information is sent to monitor terminal.
7. vehicle mileage calculation method according to claim 1, which is characterized in that the CAN data include the vehicle
Real-time speed;
First mileage that the vehicle is determined according to the CAN data, comprising: when the vehicle is passenger carrying status, root
According to the real-time speed and the first prefixed time interval, integrating meter calculates carrying of the vehicle in the first prefixed time interval
Mileage;
It regard the sum of the carrying kilometres in carrying time section as the first mileage.
8. vehicle mileage calculation method according to claim 1, which is characterized in that described to be determined according to the GPS data
Second mileage of the vehicle, comprising:
When the vehicle is passenger carrying status, the real time position in the GPS data is obtained, institute is determined according to the real time position
State distance change value of the vehicle in the second prefixed time interval;
It regard the sum of the distance change value in carrying time section as the second mileage.
9. vehicle mileage calculation method according to claim 1, which is characterized in that further include:
The expense of riding is calculated according to the charged mileage, and the expense by bus is sent to the vehicle.
10. a kind of vehicle mileage computing system characterized by comprising
First obtains module, for obtaining the CAN data of vehicle, and is determined according to the CAN data in the first of the vehicle
Journey;
Second obtains module, determines the of the vehicle for obtaining the GPS data of the vehicle, and according to the GPS data
Two mileages;
First charged mileage determining module, if being less than for first mileage and the absolute value of the difference of second mileage pre-
If threshold value, then using first mileage as the charged mileage of the vehicle.
11. vehicle mileage computing system according to claim 10, which is characterized in that further include:
Mileage travelled determining module, if being greater than default threshold for first mileage and the absolute value of the difference of second mileage
Value, it is determined that the driving trace of the vehicle, and determine according to the driving trace mileage travelled of the vehicle;
Second charged mileage determining module, if being less than the mileage travelled for first mileage, by first mileage
Charged mileage as the vehicle.
12. vehicle mileage computing system according to claim 11, which is characterized in that the mileage travelled determining module packet
It includes:
Driving trace determining module, for obtaining the real time position of the vehicle when the vehicle is passenger carrying status, and according to
The real time position determines the driving trace of the vehicle.
13. vehicle mileage computing system according to claim 11, which is characterized in that further include:
First exception information sending module, if being less than the mileage travelled for first mileage, by the second mileage exception
Information is sent to monitor terminal.
14. vehicle mileage computing system according to claim 11, which is characterized in that further include:
Third charged mileage determining module, if being greater than the mileage travelled for first mileage, by second mileage
Charged mileage as the vehicle.
15. vehicle mileage computing system according to claim 11, which is characterized in that further include:
Second exception information sending module, if being greater than the mileage travelled for first mileage, by the first mileage exception
Information is sent to monitor terminal.
16. vehicle mileage computing system according to claim 10, which is characterized in that the CAN data include the vehicle
Real-time speed;
Described first, which obtains module, includes:
Carrying kilometres computing module is used for when the vehicle is passenger carrying status, when default according to the real-time speed and first
Between be spaced, integrating meter calculates carrying kilometres of the vehicle in the first prefixed time interval;
First mileage determining module, for regarding the sum of the carrying kilometres in carrying time section as the first mileage.
17. vehicle mileage computing system according to claim 10, which is characterized in that described second, which obtains module, includes:
Distance change value computing module, for obtaining the real-time position in the GPS data when the vehicle is passenger carrying status
It sets, distance change value of the vehicle in the second prefixed time interval is determined according to the real time position;
Second mileage determining module, for regarding the sum of the distance change value in carrying time section as the second mileage.
18. vehicle mileage computing system according to claim 10, which is characterized in that further include:
Riding fee computing module for calculating the expense of riding according to the charged mileage, and the expense by bus is sent to
The vehicle.
19. a kind of vehicle mileage computing terminal equipment, including memory, processor and storage are in the memory and can be
The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program
The step of any one of claim 1 to 9 vehicle mileage calculation method.
20. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realizing the vehicle mileage calculation method as described in any one of claim 1 to 9 when the computer program is executed by processor
Step.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/102491 WO2020041929A1 (en) | 2018-08-27 | 2018-08-27 | Vehicle mileage calculation method, system and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109313825A true CN109313825A (en) | 2019-02-05 |
Family
ID=65221697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880001158.7A Pending CN109313825A (en) | 2018-08-27 | 2018-08-27 | Vehicle mileage calculation method, system and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109313825A (en) |
WO (1) | WO2020041929A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902869A (en) * | 2019-02-26 | 2019-06-18 | 广州恒众车联网智能电子技术有限公司 | Method, apparatus, computer equipment and the storage medium that vehicle is predicted up to mileage |
CN110474909A (en) * | 2019-08-17 | 2019-11-19 | 贵州云尚物联科技股份有限公司 | Driver supervises method for early warning and its system |
CN110770799A (en) * | 2019-08-21 | 2020-02-07 | 深圳市锐明技术股份有限公司 | Taxi odometering method and system based on vehicle-mounted terminal |
CN111343582A (en) * | 2020-02-27 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Method and device for preventing mileage cheating |
CN112291748A (en) * | 2020-10-30 | 2021-01-29 | 深圳市发掘科技有限公司 | Driving training cheating result judgment method, device and system |
CN112729330A (en) * | 2020-12-17 | 2021-04-30 | 广东天琴信息技术有限公司 | Method and device for calculating mileage of motor vehicle |
CN114692082A (en) * | 2020-12-31 | 2022-07-01 | 奥动新能源汽车科技有限公司 | Method, system, device and medium for identifying battery swapping user |
CN115143990A (en) * | 2022-07-29 | 2022-10-04 | 南斗六星***集成有限公司 | Vehicle accurate mileage calculation method based on GPS and electronic equipment |
CN116481560A (en) * | 2023-06-21 | 2023-07-25 | 天津所托瑞安汽车科技有限公司 | Vehicle driving mileage calculation method, device, terminal and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581654B (en) * | 2020-12-29 | 2022-09-30 | 华人运通(江苏)技术有限公司 | System and method for evaluating use frequency of vehicle functions |
FR3120970B1 (en) * | 2021-03-18 | 2024-01-05 | Nicolas Bierinx | Metrological device for calculating a cost associated with the use of a vehicle |
CN113254434B (en) * | 2021-06-18 | 2021-10-15 | 智己汽车科技有限公司 | Method, device, equipment and storage medium for cleaning vehicle driving data |
CN116061962B (en) * | 2022-12-30 | 2024-03-08 | 瑞修得信息科技(无锡)有限公司 | Method and device for reminding fuel consumption reduction of vehicle tire slip |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6087965A (en) * | 1995-06-15 | 2000-07-11 | Trimble Navigation Limited | Vehicle mileage meter and a GPS position tracking system |
CN101783030A (en) * | 2009-10-29 | 2010-07-21 | 北京拓盛电子科技有限公司 | Anti-cheating pricing system and method for taxi |
CN201540596U (en) * | 2009-11-19 | 2010-08-04 | 埃泰克汽车电子(芜湖)有限公司 | Automobile mileage pricing system |
CN102622779A (en) * | 2012-04-09 | 2012-08-01 | 山东省计量科学研究院 | Taximeter with intelligent diagnosis and anti-cheating functions |
CN103035036A (en) * | 2012-12-05 | 2013-04-10 | 福建省计量科学研究院 | Method capable of achieving remote monitoring of taxi meter based on wireless network and satellite positioning |
CN103578270A (en) * | 2013-11-14 | 2014-02-12 | 韩亚鹏 | Taxi credit rating system and method |
CN103810758A (en) * | 2013-12-19 | 2014-05-21 | 山东大学 | Working method and working device for credibly judging TAXI taximeter accuracy by combining GPS (global positioning system) and Beidou positioning system |
CN203940868U (en) * | 2014-06-24 | 2014-11-12 | 广州八通电子实业有限公司 | Taxi driving range metering sensing device |
CN104658042A (en) * | 2013-11-19 | 2015-05-27 | 上海博泰悦臻电子设备制造有限公司 | Calculation method, payment method, calculation system and payment system of fares |
CN107403482A (en) * | 2017-06-28 | 2017-11-28 | 北汽福田汽车股份有限公司 | A kind of method, apparatus and system for determining VMT Vehicle-Miles of Travel number |
CN107862750A (en) * | 2017-12-13 | 2018-03-30 | 青岛华睿互联科技有限责任公司 | A kind of intelligent pricing device for being exclusively used in new energy taxi |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149273B (en) * | 2006-09-19 | 2011-07-06 | 厦门雅迅网络股份有限公司 | Method for calculating vehicle travel mileage |
CN102359792A (en) * | 2011-08-23 | 2012-02-22 | 奇瑞汽车股份有限公司 | Mileage correcting system with automobile combination instrument |
CN202757625U (en) * | 2012-08-28 | 2013-02-27 | 深圳市翰盛通讯设备有限公司 | Vehicle mile feedback device with vehicular satellite receiving terminal |
CN103047996B (en) * | 2012-12-20 | 2016-03-09 | 埃泰克汽车电子(芜湖)有限公司 | A kind of vehicle mileage computing system and computing method thereof |
CN203012795U (en) * | 2012-12-27 | 2013-06-19 | 张宝橦 | Taxi pricing system based on GPS |
CN105959409B (en) * | 2016-06-28 | 2020-08-14 | 驾道科技有限公司 | Vehicle mileage capturing and transmitting device and method |
-
2018
- 2018-08-27 CN CN201880001158.7A patent/CN109313825A/en active Pending
- 2018-08-27 WO PCT/CN2018/102491 patent/WO2020041929A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6087965A (en) * | 1995-06-15 | 2000-07-11 | Trimble Navigation Limited | Vehicle mileage meter and a GPS position tracking system |
CN101783030A (en) * | 2009-10-29 | 2010-07-21 | 北京拓盛电子科技有限公司 | Anti-cheating pricing system and method for taxi |
CN201540596U (en) * | 2009-11-19 | 2010-08-04 | 埃泰克汽车电子(芜湖)有限公司 | Automobile mileage pricing system |
CN102622779A (en) * | 2012-04-09 | 2012-08-01 | 山东省计量科学研究院 | Taximeter with intelligent diagnosis and anti-cheating functions |
CN103035036A (en) * | 2012-12-05 | 2013-04-10 | 福建省计量科学研究院 | Method capable of achieving remote monitoring of taxi meter based on wireless network and satellite positioning |
CN103578270A (en) * | 2013-11-14 | 2014-02-12 | 韩亚鹏 | Taxi credit rating system and method |
CN104658042A (en) * | 2013-11-19 | 2015-05-27 | 上海博泰悦臻电子设备制造有限公司 | Calculation method, payment method, calculation system and payment system of fares |
CN103810758A (en) * | 2013-12-19 | 2014-05-21 | 山东大学 | Working method and working device for credibly judging TAXI taximeter accuracy by combining GPS (global positioning system) and Beidou positioning system |
CN203940868U (en) * | 2014-06-24 | 2014-11-12 | 广州八通电子实业有限公司 | Taxi driving range metering sensing device |
CN107403482A (en) * | 2017-06-28 | 2017-11-28 | 北汽福田汽车股份有限公司 | A kind of method, apparatus and system for determining VMT Vehicle-Miles of Travel number |
CN107862750A (en) * | 2017-12-13 | 2018-03-30 | 青岛华睿互联科技有限责任公司 | A kind of intelligent pricing device for being exclusively used in new energy taxi |
Non-Patent Citations (1)
Title |
---|
唐智慧,牟瑞芳,左廷亮: "《交通运输安全技术》", 30 November 2017, 西南交通大学出版社 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902869A (en) * | 2019-02-26 | 2019-06-18 | 广州恒众车联网智能电子技术有限公司 | Method, apparatus, computer equipment and the storage medium that vehicle is predicted up to mileage |
CN110474909A (en) * | 2019-08-17 | 2019-11-19 | 贵州云尚物联科技股份有限公司 | Driver supervises method for early warning and its system |
CN110770799A (en) * | 2019-08-21 | 2020-02-07 | 深圳市锐明技术股份有限公司 | Taxi odometering method and system based on vehicle-mounted terminal |
WO2019238146A3 (en) * | 2019-08-21 | 2020-04-16 | 深圳市锐明技术股份有限公司 | Onboard terminal-based taxi metered pricing method and system |
CN111343582A (en) * | 2020-02-27 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Method and device for preventing mileage cheating |
CN112291748A (en) * | 2020-10-30 | 2021-01-29 | 深圳市发掘科技有限公司 | Driving training cheating result judgment method, device and system |
CN112729330A (en) * | 2020-12-17 | 2021-04-30 | 广东天琴信息技术有限公司 | Method and device for calculating mileage of motor vehicle |
CN114692082A (en) * | 2020-12-31 | 2022-07-01 | 奥动新能源汽车科技有限公司 | Method, system, device and medium for identifying battery swapping user |
CN115143990A (en) * | 2022-07-29 | 2022-10-04 | 南斗六星***集成有限公司 | Vehicle accurate mileage calculation method based on GPS and electronic equipment |
CN116481560A (en) * | 2023-06-21 | 2023-07-25 | 天津所托瑞安汽车科技有限公司 | Vehicle driving mileage calculation method, device, terminal and storage medium |
CN116481560B (en) * | 2023-06-21 | 2023-10-03 | 天津所托瑞安汽车科技有限公司 | Vehicle driving mileage calculation method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020041929A1 (en) | 2020-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109313825A (en) | Vehicle mileage calculation method, system and terminal device | |
US9519875B2 (en) | Method for determining an expected consumption value of a motor vehicle | |
US9126493B2 (en) | Power supply control device and information provision device | |
CN106596135B (en) | A kind of pure electric automobile actual travel energy consumption testing, evaluation and Forecasting Methodology | |
CN107571864B (en) | The collecting method and device of automatic driving vehicle | |
CN102136190B (en) | Dispatching management system and method for event emergency response of urban bus passenger transport | |
CN108422881A (en) | Method and system for calculating endurance mileage of pure electric vehicle | |
CN105636850B (en) | Mobile holding equipment, mobile support method and driving support system | |
CN108177528B (en) | Pure electric automobile continual mileage evaluation method, system, equipment and storage medium | |
CN107846659A (en) | Car networking data transmission method, system, mobile terminal and storage medium | |
CN109931856A (en) | Acquisition method/system of road evenness, evaluation system, medium and server-side | |
CN101644584A (en) | Safe driving evaluation system and safe driving evaluation method | |
US20220291004A1 (en) | Electricity consumption rate predicting device | |
CN108806018A (en) | A kind of data processing method, data processing equipment and intelligent automobile | |
CN105241472A (en) | Vehicle running mileage counting method and device based on OBD vehicle speed | |
WO2021059950A1 (en) | In-vehicle notification device, notification program, and calculation device | |
CN104700630A (en) | Method and system for monitoring vehicle flow of highway | |
CN110012069A (en) | A kind of vehicle data processing unit, method and vehicle monitoring platform | |
CN106956680A (en) | A kind of electric automobile driving behavior identifying and analyzing method | |
CN103838952A (en) | Vehicle range projection for multiple drivers of a shared vehicle | |
CN110264741A (en) | Road conditions detection method, device, equipment and medium based on motion sensor | |
CN108644374A (en) | Transmission control method and device | |
CN117818625A (en) | Method and related device for predicting energy consumption of vehicle power system | |
CN112215481A (en) | Method for determining business capability of ride-on test and driving test and business capability display system | |
RU2308385C2 (en) | Device for estimating quality of automobile driving |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190205 |