WO2020041929A1 - 车辆里程计算方法、***及终端设备 - Google Patents
车辆里程计算方法、***及终端设备 Download PDFInfo
- Publication number
- WO2020041929A1 WO2020041929A1 PCT/CN2018/102491 CN2018102491W WO2020041929A1 WO 2020041929 A1 WO2020041929 A1 WO 2020041929A1 CN 2018102491 W CN2018102491 W CN 2018102491W WO 2020041929 A1 WO2020041929 A1 WO 2020041929A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mileage
- vehicle
- passenger
- driving
- real
- Prior art date
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
Definitions
- the present application belongs to the technical field of vehicle mileage calculation, and particularly relates to a method, a system and a terminal device for vehicle mileage calculation.
- a taxi meter is a measuring device that measures the duration of a rental and measures the mileage based on the signals transmitted by the mileage sensor. Based on the measured time and mileage, it calculates and displays the fare payable by the passenger taxi.
- the traditional meter usually uses pulse signals as the information source for mileage calculation. In this way, taxi drivers can easily increase the mileage by simulating the pulse signals to achieve the purpose of overcharging and bring economic losses to passengers. .
- embodiments of the present application provide a vehicle mileage calculation method, system, and terminal device to solve the problem that taxi drivers in the prior art easily cheat to increase mileage and bring economic losses to passengers.
- a first aspect of the embodiments of the present application provides a vehicle mileage calculation method, including:
- CAN controller area network
- GPS global positioning system
- the first mileage is used as the charging mileage of the vehicle.
- the vehicle mileage calculation method further includes:
- the first mileage is used as the charging mileage of the vehicle.
- the determining a driving trajectory of the vehicle includes:
- a real-time position of the vehicle is obtained, and a driving trajectory of the vehicle is determined according to the real-time position.
- the vehicle mileage calculation method further includes:
- the second mileage abnormality information is sent to a monitoring terminal.
- the vehicle mileage calculation method further includes:
- the second mileage is used as the charging mileage of the vehicle.
- the vehicle mileage calculation method further includes:
- the first mileage abnormality information is sent to a monitoring terminal.
- the CAN data includes a real-time speed of the vehicle
- the determining the first mileage of the vehicle according to the CAN data includes:
- the sum of the passenger mileage during the passenger time period is taken as the first mileage.
- determining the second mileage of the vehicle according to the GPS data includes:
- the sum of the distance changes during the passenger carrying time period is used as the second mileage.
- the vehicle mileage calculation method further includes:
- the fare is calculated based on the chargeable mileage, and the fare is transmitted to the vehicle.
- a second aspect of the embodiments of the present application provides a vehicle mileage calculation system, including:
- a first acquisition module configured to acquire CAN data of a vehicle, and determine a first mileage of the vehicle according to the CAN data
- a second acquisition module configured to acquire GPS data of the vehicle, and determine a second mileage of the vehicle according to the GPS data
- the first charging mileage determination module is configured to use the first mileage as the charging mileage of the vehicle if the absolute value of the difference between the first mileage and the second mileage is less than a preset threshold.
- the vehicle mileage calculation system further includes:
- a driving mileage determination module is configured to determine a driving trajectory of the vehicle if an absolute value of a difference between the first mileage and the second mileage is greater than a preset threshold, and determine a vehicle trajectory according to the driving trajectory. driven distance;
- a second charging mileage determination module is configured to use the first mileage as the charging mileage of the vehicle if the first mileage is less than the driving mileage.
- the mileage determination module includes:
- a driving trajectory determination module is configured to obtain a real-time position of the vehicle when the vehicle is in a passenger-carrying state, and determine a driving trajectory of the vehicle according to the real-time position.
- the vehicle mileage calculation system further includes:
- a first abnormality information sending module is configured to send the second mileage abnormality information to a monitoring terminal if the first mileage is less than the driving mileage.
- the vehicle mileage calculation system further includes:
- a third charging mileage determination module is configured to use the second mileage as the charging mileage of the vehicle if the first mileage is greater than the driving mileage.
- the vehicle mileage calculation system further includes:
- a second abnormality information sending module is configured to send the first mileage abnormality information to a monitoring terminal if the first mileage is greater than the driving mileage.
- the CAN data includes a real-time speed of the vehicle
- the first acquisition module includes:
- the passenger mileage calculation module is configured to calculate the passenger mileage of the vehicle within a first preset time interval based on the real-time speed and a first preset time interval when the vehicle is in a passenger-carrying state;
- the first mileage determining module is configured to use the sum of the passenger mileage within the passenger carrying time period as the first mileage.
- the second obtaining module includes:
- a distance change value calculation module configured to obtain a real-time position in the GPS data when the vehicle is in a passenger-carrying state, and determine a distance change value of the vehicle within a second preset time interval according to the real-time position;
- the second mileage determination module is configured to use the sum of the distance change values within the passenger carrying time period as the second mileage.
- the vehicle mileage calculation system further includes:
- the fare calculation module is configured to calculate the fare according to the chargeable mileage, and send the fare to the vehicle.
- a third aspect of the embodiments of the present application provides a vehicle mileage calculation terminal device including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the processor
- the computer program implements the vehicle mileage calculation method of the first aspect of the above embodiment.
- a fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle mileage calculation of the first aspect of the foregoing embodiment is implemented method.
- the embodiment of the present application calculates the first mileage of the vehicle by acquiring the CAN data of the vehicle itself, and calculates the second mileage of the vehicle by using the GPS data, which can help determine whether the first mileage is accurate. When the difference between the first mileage and the second mileage matches When required, confirming that the first mileage is accurate and using the first mileage as the billing mileage greatly increases the difficulty of cheating the driver's mileage, which can effectively avoid bringing economic losses to passengers.
- FIG. 1 is a schematic flowchart of a vehicle mileage calculation method according to an embodiment of the present application
- FIG. 2 is a schematic block diagram of a vehicle mileage calculation system according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a vehicle mileage calculation terminal device according to an embodiment of the present application.
- an embodiment of the present application provides a vehicle mileage calculation method, including:
- Step S101 Obtain CAN data of a vehicle, and determine a first mileage of the vehicle according to the CAN data.
- a vehicle-mounted terminal is provided on the vehicle, and the vehicle-mounted terminal is connected to the CAN bus of the vehicle itself.
- the driver triggers the on-board terminal by pressing a button or other means to indicate that the vehicle is in a passenger-carrying state.
- the on-board terminal acquires CAN data through a CAN bus connection and sends the CAN data to a background terminal, that is, a background terminal. Remotely obtain CAN data when the vehicle is in the passenger-carrying state.
- the driver triggers the vehicle-mounted terminal by pressing a button or other means to indicate the end of the vehicle-carrying process.
- the vehicle-mounted terminal stops sending CAN data to the background terminal.
- the terminal can record the passenger travel time of this passenger.
- the CAN data includes the real-time speed of the vehicle.
- the background terminal sets the time interval. From the time the vehicle is in the passenger-carrying state, the background terminal performs integral calculations based on the real-time speed to calculate the distance traveled by the vehicle in each time interval. When the distance is accumulated, the passenger mileage of the vehicle in the current passenger carrying process can be calculated in real time. When the passenger carrying process of the vehicle ends, the calculated passenger mileage is the first mileage.
- the vehicle-mounted terminal stores CAN data during the passenger-carrying process. After the vehicle-carrying process is completed, the vehicle-mounted terminal sends the CAN data during the passenger-carrying process to the background terminal, and the background terminal acquires CAN data to calculate the first mileage.
- Step S102 Obtain GPS data of the vehicle, and determine a second mileage of the vehicle according to the GPS data.
- a GPS positioning device is provided in the vehicle-mounted terminal, or the vehicle-mounted terminal is connected to a GPS positioning device on a vehicle.
- the in-vehicle terminal acquires GPS data of the vehicle and sends it to the background terminal, that is, the background terminal remotely obtains GPS data when the vehicle is in a passenger-carrying state, and when the vehicle arrives At the destination, the vehicle-mounted terminal stops sending GPS data to the background terminal.
- the GPS data includes the real-time location of the vehicle.
- the background terminal sets the time interval. From the time the vehicle is in the passenger-carrying state, the background terminal calculates the vehicle's The distance change value is calculated by adding up the distance change values in real time to calculate the passenger mileage of the vehicle during the current passenger loading process. When the vehicle passenger loading process ends, the calculated passenger mileage is the second mileage.
- the vehicle-mounted terminal saves GPS data during the passenger-carrying process.
- the vehicle-mounted terminal sends the GPS data during the passenger-carrying process to the background terminal.
- GPS data calculates the second mileage.
- step S103 if the absolute value of the difference between the first mileage and the second mileage is less than a preset threshold, the first mileage is used as the charging mileage of the vehicle.
- the background terminal compares the calculated first mileage and the second mileage.
- the first mileage is determined.
- the second mileage data is accurate, but also indicates that CAN data and GPS data are normal.
- the CAN data is not easy to be artificially changed. Therefore, the background terminal uses the first mileage as the vehicle's charging mileage.
- the background terminal may also send the charging mileage to the vehicle terminal, so that the vehicle terminal displays the charging mileage, or enables the vehicle terminal to calculate the fare based on the charging mileage.
- it can be the difference between the first mileage and the second mileage, or it can be the ratio of the difference to the first mileage.
- Different difference calculation methods are used, and the set thresholds are also different.
- the embodiment of the present application calculates the first mileage of the vehicle by acquiring the CAN data of the vehicle and calculates the second mileage of the vehicle by using the GPS data, which can assist in determining whether the first mileage is accurate.
- the difference of the second mileage meets the requirements, it is determined that the first mileage is accurate, and the first mileage is used as the charging mileage, which greatly increases the difficulty of cheating the driver's mileage, and can effectively avoid bringing economic losses to passengers.
- the vehicle mileage calculation method further includes:
- the first mileage is used as the charging mileage of the vehicle.
- the absolute value of the difference between the first mileage and the second mileage is greater than the threshold set by the background terminal, it indicates that a set of data in the first mileage and the second mileage is inaccurate.
- the background terminal then obtains the driving trajectory of the vehicle through the on-board terminal, estimates the driving mileage of the vehicle based on the driving trajectory, and compares the first mileage with the driving mileage. Under normal circumstances, the first mileage determined based on the CAN data should be less than the driving mileage determined based on the driving trajectory. If the first mileage is less than the driving mileage, the data of the first mileage is deemed accurate, and the first mileage is used as the vehicle's charging mileage.
- the determining a driving trajectory of the vehicle includes:
- a real-time position of the vehicle is obtained, and a driving trajectory of the vehicle is determined according to the real-time position.
- the background terminal obtains the position of the vehicle at each preset driving time through the on-board terminal, for example, the position of the current time of the vehicle is acquired every 15 seconds, and the turning action of the vehicle is recognized When the vehicle turns around, the current position of the vehicle is immediately obtained.
- the back-end terminal executes the set software program to simulate the vehicle's driving trajectory based on the discrete position points to determine the actual distance corresponding to the driving trajectory. , And use it as the driving mileage to determine whether the data of the first mileage is accurate.
- the vehicle mileage calculation method further includes:
- the second mileage abnormality information is sent to a monitoring terminal.
- the background terminal sends the second mileage abnormality information to the monitoring terminal to remind the background personnel to check the GPS positioning device on the vehicle terminal or the GPS positioning device on the vehicle.
- the monitoring terminal here refers to a terminal device controlled by a background staff, and may specifically be a terminal device such as a computer or a mobile phone.
- the vehicle mileage calculation method further includes:
- the second mileage is used as the charging mileage of the vehicle.
- the second mileage is used as the vehicle's charging mileage to avoid causing economic losses to passengers.
- the vehicle mileage calculation method further includes:
- the first mileage abnormality information is sent to a monitoring terminal.
- the background terminal sends the information of the abnormality of the first mileage to the monitoring terminal, reminding the background staff to check the CAN bus of the vehicle terminal and the vehicle, and then determine whether the device is faulty or the driver is cheating.
- the CAN data includes a real-time speed of the vehicle
- the determining the first mileage of the vehicle according to the CAN data includes:
- the sum of the passenger mileage during the passenger time period is taken as the first mileage.
- the back-end terminal sets a time interval.
- the back-end terminal performs an integral operation according to the real-time vehicle speed to calculate the distance traveled by the vehicle in each time interval. For example, Calculate the distance once in 20 milliseconds, and add up the calculated distance to calculate the passenger mileage of the vehicle in the current passenger carrying process. When the passenger carrying process of the vehicle is over, the calculated passenger mileage is the first mileage. .
- determining the second mileage of the vehicle according to the GPS data includes:
- the sum of the distance changes during the passenger carrying time period is used as the second mileage.
- the background terminal sets a time interval. From the time when the vehicle is in the passenger-carrying state, the background terminal calculates the distance change of the vehicle in each time interval according to the initial time position and the final time position of each time interval. By adding up the value of each distance change, the passenger mileage of the vehicle during the current passenger loading process can be calculated in real time. When the vehicle passenger loading process ends, the calculated passenger mileage is the second mileage.
- the vehicle mileage calculation method further includes:
- the fare is calculated based on the chargeable mileage, and the fare is transmitted to the vehicle.
- the back-end terminal is provided with a calculation formula for the fare. After determining the chargeable mileage, the chargeable mileage is substituted into the formula to calculate the fare. The process can effectively increase the difficulty for drivers to cheat.
- an embodiment of the present application provides a vehicle mileage calculation system 20 including:
- a first obtaining module 201 configured to obtain CAN data of a vehicle, and determine a first mileage of the vehicle according to the CAN data;
- a second acquisition module 202 configured to acquire GPS data of the vehicle, and determine a second mileage of the vehicle according to the GPS data
- the first charging mileage determination module 203 is configured to use the first mileage as the charging mileage of the vehicle if the absolute value of the difference between the first mileage and the second mileage is less than a preset threshold.
- the vehicle mileage calculation system 20 further includes:
- a driving mileage determination module is configured to determine a driving trajectory of the vehicle if an absolute value of a difference between the first mileage and the second mileage is greater than a preset threshold, and determine a vehicle trajectory according to the driving trajectory. driven distance;
- a second charging mileage determination module is configured to use the first mileage as the charging mileage of the vehicle if the first mileage is less than the driving mileage.
- the mileage determination module includes:
- a driving trajectory determination module is configured to obtain a real-time position of the vehicle when the vehicle is in a passenger-carrying state, and determine a driving trajectory of the vehicle according to the real-time position.
- the vehicle mileage calculation system 20 further includes:
- a first abnormality information sending module is configured to send the second mileage abnormality information to a monitoring terminal if the first mileage is less than the driving mileage.
- the vehicle mileage calculation system 20 further includes:
- a third charging mileage determination module is configured to use the second mileage as the charging mileage of the vehicle if the first mileage is greater than the driving mileage.
- the vehicle mileage calculation system 20 further includes:
- a second abnormality information sending module is configured to send the first mileage abnormality information to a monitoring terminal if the first mileage is greater than the driving mileage.
- the CAN data includes a real-time speed of the vehicle
- the first obtaining module 201 includes:
- the passenger mileage calculation module is configured to calculate the passenger mileage of the vehicle within a first preset time interval based on the real-time speed and a first preset time interval when the vehicle is in a passenger-carrying state;
- the first mileage determining module is configured to use the sum of the passenger mileage within the passenger carrying time period as the first mileage.
- the second obtaining module 202 includes:
- a distance change value calculation module configured to obtain a real-time position in the GPS data when the vehicle is in a passenger-carrying state, and determine a distance change value of the vehicle within a second preset time interval according to the real-time position;
- the second mileage determination module is configured to use the sum of the distance change values within the passenger carrying time period as the second mileage.
- the vehicle mileage calculation system 20 further includes:
- the fare calculation module is configured to calculate the fare according to the chargeable mileage, and send the fare to the vehicle.
- an embodiment of the present application provides a vehicle mileage calculation terminal device.
- the vehicle mileage calculation terminal device 3 of this embodiment includes a processor 30, a memory 31, and a memory 31
- a computer program 32 such as a vehicle mileage calculation program, may be run on the processor 30.
- the processor 30 executes the computer program 32, the steps in the foregoing embodiments of the vehicle mileage calculation method are implemented, for example, steps S101 to S103 shown in FIG. 1.
- the processor 30 executes the computer program 32
- the functions of the modules / units in the foregoing device embodiments are implemented, for example, the functions of the modules 201 to 203 shown in FIG. 2.
- the computer program 32 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the processor 30 to complete This application.
- the one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe an execution process of the computer program 32 in the vehicle mileage calculation terminal device 3.
- the computer program 32 may be divided into a first acquisition module, a second acquisition module, and a first charging mileage determination module.
- the specific functions of each module are as follows:
- a first acquisition module configured to acquire CAN data of a vehicle, and determine a first mileage of the vehicle according to the CAN data
- a second acquisition module configured to acquire GPS data of the vehicle, and determine a second mileage of the vehicle according to the GPS data
- the first charging mileage determination module is configured to use the first mileage as the charging mileage of the vehicle if the absolute value of the difference between the first mileage and the second mileage is less than a preset threshold.
- the computer program 32 further includes:
- a driving mileage determination module is configured to determine a driving trajectory of the vehicle if an absolute value of a difference between the first mileage and the second mileage is greater than a preset threshold, and determine a vehicle trajectory according to the driving trajectory. driven distance;
- a second charging mileage determination module is configured to use the first mileage as the charging mileage of the vehicle if the first mileage is less than the driving mileage.
- the mileage determination module includes:
- a driving trajectory determination module is configured to obtain a real-time position of the vehicle when the vehicle is in a passenger-carrying state, and determine a driving trajectory of the vehicle according to the real-time position.
- the computer program 32 further includes:
- a first abnormality information sending module is configured to send the second mileage abnormality information to a monitoring terminal if the first mileage is less than the driving mileage.
- the computer program 32 further includes:
- a third charging mileage determination module is configured to use the second mileage as the charging mileage of the vehicle if the first mileage is greater than the driving mileage.
- the computer program 32 further includes:
- a second abnormality information sending module is configured to send the first mileage abnormality information to a monitoring terminal if the first mileage is greater than the driving mileage.
- the CAN data includes a real-time speed of the vehicle
- the first acquisition module includes:
- the passenger mileage calculation module is configured to calculate the passenger mileage of the vehicle within a first preset time interval based on the real-time speed and a first preset time interval when the vehicle is in a passenger-carrying state;
- the first mileage determining module is configured to use the sum of the passenger mileage within the passenger carrying time period as the first mileage.
- the second obtaining module includes:
- a distance change value calculation module configured to obtain a real-time position in the GPS data when the vehicle is in a passenger-carrying state, and determine a distance change value of the vehicle within a second preset time interval according to the real-time position;
- the second mileage determination module is configured to use the sum of the distance change values within the passenger carrying time period as the second mileage.
- the computer program 32 further includes:
- the fare calculation module is configured to calculate the fare according to the chargeable mileage, and send the fare to the vehicle.
- the vehicle mileage calculation terminal device 3 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
- the vehicle mileage calculation terminal device may include, but is not limited to, a processor 30 and a memory 31.
- FIG. 3 is only an example of the vehicle mileage calculation terminal device 3, and does not constitute a limitation on the vehicle mileage calculation terminal device 3. It may include more or fewer components than shown, or a combination of Components, or different components, for example, the vehicle mileage calculation terminal device may further include an input output device, a network access device, a bus, and the like.
- the processor 30 may be a central processing unit (Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), and application-specific integrated circuits (Applications) Specific Integrated Circuit (ASIC), off-the-shelf Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- CPU Central Processing Unit
- DSP digital signal processor
- ASIC application-specific integrated circuits
- FPGA off-the-shelf Programmable Gate Array
- a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the memory 31 may be an internal storage unit of the vehicle mileage calculation terminal device 3, such as a hard disk or a memory of the vehicle mileage calculation terminal device 3.
- the memory 31 may also be an external storage device of the vehicle mileage calculation terminal device 3, such as a plug-in hard disk, a smart media card (SMC), and a secure digital device provided on the vehicle mileage calculation terminal device 3. (Secure Digital, SD) card, flash card (Flash Card), etc.
- the memory 31 may further include both an internal storage unit of the vehicle mileage calculation terminal device 3 and an external storage device.
- the memory 31 is configured to store the computer program and other programs and data required by the vehicle mileage calculation terminal device 3.
- the memory 31 may also be used to temporarily store data that has been output or is to be output.
- the disclosed apparatus and method may be implemented in other ways.
- the system embodiments described above are only schematic.
- the division of the modules or units is only a logical function division.
- multiple units or components may The combination can either be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
- the integrated module / unit When the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, this application implements all or part of the processes in the method of the above embodiment, and can also be completed by a computer program instructing related hardware.
- the computer program can be stored in a computer-readable storage medium.
- the computer When the program is executed by a processor, the steps of the foregoing method embodiments can be implemented.
- the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form.
- the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM) 2. Random Access Memory Memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media.
- ROM read-only memory
- RAM Random Access Memory Memory
- the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdictions.
- the computer-readable medium Excludes electric carrier signals and telecommunication signals.
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
提供了一种车辆里程计算方法、***及终端设备,属于车辆里程核算技术领域。该车辆里程计算方法包括:获取车辆的CAN数据,并根据CAN数据确定车辆的第一里程(S101);获取车辆的GPS数据,并根据GPS数据确定车辆的第二里程(S102);若第一里程与第二里程的差值的绝对值小于预设阈值,则将第一里程作为车辆的计费里程(S103)。该车辆里程计算方法大大增加了司机里程作弊的难度,能够有效避免给乘客带来经济损失。
Description
本申请属于车辆里程核算技术领域,尤其涉及一种车辆里程计算方法、***及终端设备。
出租车计价器是一种计量器具,用于测量出租持续时间及依据里程传感器传送的信号测量里程,并以测得的计时时间及里程为依据,计算并显示乘客出租车应付的费用。传统的计价器通常是采用脉冲信号作为计算里程的信息来源,在这种计算里程的方式中,出租车司机很容易通过模拟脉冲信号来增加里程,达到多收费的目的,给乘客带来经济损失。
有鉴于此,本申请实施例提供了一种车辆里程计算方法、***及终端设备,以解决现有技术中出租车司机容易作弊增加里程,给乘客带来经济损失的问题。
本申请实施例的第一方面提供了一种车辆里程计算方法,包括:
获取车辆的控制器局域网络(Controller Area Network,CAN)数据,并根据所述CAN数据确定所述车辆的第一里程;
获取所述车辆的全球定位***(Global Positioning System,GPS)数据,并根据所述GPS数据确定所述车辆的第二里程;
若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;
若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述确定所述车辆的行驶轨迹,包括:
当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
在一实施例中,所述CAN数据包括所述车辆的实时车速;
所述根据所述CAN数据确定所述车辆的第一里程,包括:
当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;
将载客时间段内的载客里程之和作为第一里程。
在一实施例中,所述根据所述GPS数据确定所述车辆的第二里程,包括:
当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;
将载客时间段内的距离变化值之和作为第二里程。
在一实施例中,所述车辆里程计算方法还包括:
根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
本申请实施例的第二方面提供了一种车辆里程计算***,包括:
第一获取模块,用于获取车辆的CAN数据,并根据所述CAN数据确定所述车辆的第一里程;
第二获取模块,用于获取所述车辆的GPS数据,并根据所述GPS数据确定所述车辆的第二里程;
第一计费里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算***还包括:
行驶里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;
第二计费里程确定模块,用于若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述行驶里程确定模块包括:
行驶轨迹确定模块,用于当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
在一实施例中,所述车辆里程计算***还包括:
第一异常信息发送模块,用于若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
在一实施例中,所述车辆里程计算***还包括:
第三计费里程确定模块,用于若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算***还包括:
第二异常信息发送模块,用于若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
在一实施例中,所述CAN数据包括所述车辆的实时车速;
所述第一获取模块包括:
载客里程计算模块,用于当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;
第一里程确定模块,用于将载客时间段内的载客里程之和作为第一里程。
在一实施例中,所述第二获取模块包括:
距离变化值计算模块,用于当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;
第二里程确定模块,用于将载客时间段内的距离变化值之和作为第二里程。
在一实施例中,所述车辆里程计算***还包括:
乘车费用计算模块,用于根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
本申请实施例的第三方面提供了一种车辆里程计算终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述实施例第一方面的车辆里程计算方法。
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述实施例第一方面的车辆里程计算方法。
本申请实施例通过获取车辆自身的CAN数据计算车辆的第一里程,并利用GPS数据计算车辆的第二里程,可以辅助判断第一里程是否准确,当第一里程和第二里程的差值符合要求时,确定第一里程准确,将第一里程作为计费里程,大大增加了司机里程作弊的难度,能够有效避免给乘客带来经济损失。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种车辆里程计算方法的示意流程图;
图2是本申请实施例提供的一种车辆里程计算***的示意性框图;
图3是本申请实施例提供的一种车辆里程计算终端设备的结构示意图。
以下描述中,为了说明而不是为了限定,提出了诸如特定***结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的***、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
参照图1,本申请实施例提供了一种车辆里程计算方法,包括:
步骤S101,获取车辆的CAN数据,并根据所述CAN数据确定所述车辆的第一里程。
在本申请实施例中,车辆上设置有车载终端,车载终端与车辆自身的CAN总线连接。
作为本申请实施例的一种实施方式,司机通过按键或其他方式触发车载终端,指示车辆处于载客状态,车载终端通过CAN总线连接获取CAN数据,并将CAN数据发送给后台终端,即后台终端远程获取车辆为载客状态时的CAN数据,同理,当车辆到达目的地时,司机通过按键或其他方式触发车载终端,指示车辆载客过程结束,车载终端停止向后台终端发送CAN数据,后台终端可以记录本次载客的载客行驶时间。
CAN数据中包括车辆的实时车速,后台终端设定时间间隔,从车辆处于载客状态时起,后台终端根据实时车速进行积分运算,计算出每个时间间隔内车辆行驶的距离,将计算出的距离累加,就可以实时计算出车辆在本次载客过程中的载客里程,当车辆载客过程结束时,计算得到的载客里程即为第一里程。
作为本申请实施例的另一种实施方式,车载终端保存载客过程中的CAN数据,当车辆载客过程结束后,车载终端将载客过程中的CAN数据发送至后台终端,后台终端根据获取的CAN数据计算第一里程。
步骤S102,获取所述车辆的GPS数据,并根据所述GPS数据确定所述车辆的第二里程。
在本申请实施例中,上述车载终端中设置有GPS定位装置,或者车载终端与车辆上的GPS定位装置连接。
作为本申请实施例的一种实施方式,当车辆处于载客状态时,车载终端获取车辆的GPS数据并发送给后台终端,即后台终端远程获取车辆为载客状态时的GPS数据,当车辆到达目的地时,车载终端停止向后台终端发送GPS数据。
GPS数据中包括车辆的实时位置,后台终端设定时间间隔,从车辆处于载客状态时起,后台终端根据每个时间间隔的初始时刻位置和最终时刻位置,计算出每个时间间隔内车辆的距离变化值,将各个距离变化值累加,就可以实时计算出车辆在本次载客过程中载客里程,当车辆载客过程结束时,计算得到的载客里程即为第二里程。
作为本申请实施例的另一中实施方式,车载终端保存载客过程中的GPS数据,当车辆载客过程结束后,车载终端将载客过程中的GPS数据发送至后台终端,后台终端根据获取的GPS数据计算第二里程。
步骤S103,若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
在本申请实施例中,后台终端将计算出的第一里程和第二里程进行比较,当第一里程和第二里程的差值的绝对值小于后台终端设定的阈值时,认定第一里程和第二里程数据准确,同时也表明CAN数据和GPS数据正常。而CAN数据不容易人为更改,因此,后台终端将第一里程作为车辆的计费里程。
后台终端还可以将计费里程发送给车载终端,以使车载终端对计费里程进行显示,或者使车载终端根据计费里程计算乘车费用。
这里的可以是第一里程与第二里程的差值,也可以是上述差值与第一里程之比,采用不同的差值计算方式,设定的阈值也不相同。
从以上描述可以看出,本申请实施例通过获取车辆自身的CAN数据计算车辆的第一里程,并利用GPS数据计算车辆的第二里程,可以辅助判断第一里程是否准确,当第一里程和第二里程的差值符合要求时,确定第一里程准确,将第一里程作为计费里程,大大增加了司机里程作弊的难度,能够有效避免给乘客带来经济损失。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;
若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
在本申请实施例中,若第一里程与第二里程的差值的绝对值大于后台终端设定的阈值,表明第一里程和第二里程中有一组数据不准确。
后台终端再通过车载终端获取车辆的行驶轨迹,根据行驶轨迹估算出车辆的行驶里程,将第一里程与行驶里程进行对比。正常情况下根据CAN数据确定的第一里程应小于根据行驶轨迹确定的行驶里程,若第一里程小于行驶里程,则认定第一里程的数据准确,将第一里程作为车辆的计费里程。
在一实施例中,所述确定所述车辆的行驶轨迹,包括:
当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
在本申请实施例中,在载客时间段内,后台终端通过车载终端获取车辆在各个预设行驶时刻的位置,例如,每隔15秒获取车辆当前时刻的位置点,同时识别车辆的拐弯动作,当车辆进行拐外时立刻获取车辆当前时刻的位置点,当车辆到达目的地后,后台终端执行设置的软件程序,根据离散的位置点模拟出车辆的行驶轨迹,确定行驶轨迹对应的实际路程,并将其作为行驶里程,用于判断第一里程的数据是否准确。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
在本申请实施例中,若第一里程小于行驶里程,则表明第一里程数据准确,而第二里程数据不准确,相应的也就表明CAN数据正常,GPS数据异常。后台终端将第二里程异常的信息发送至监控终端,提醒后台人员对车载终端上的GPS定位装置或车辆上的GPS定位装置进行故障检查。这里的监控终端是指由后台人员操控的终端设备,具体可以是计算机或手机等终端设备。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
在本申请实施例中,若第一里程大于行驶里程,则表明第一里程数据不准确,第二里程数据准确,因此将第二里程作为车辆的计费里程,避免给乘客带来经济损失。
在一实施例中,所述车辆里程计算方法还包括:
若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
在本申请实施例中,若第一里程大于行驶里程,则表明第一里程数据不准确,而第二里程数据准确,相应的也就表明CAN数据异常,GPS数据正常。后台终端将第一里程异常的信息发送至监控终端,提醒后台人员对车载终端和车辆的CAN总线进行故障检查,进而确定是设备故障还是司机作弊。
在一实施例中,所述CAN数据包括所述车辆的实时车速;
所述根据所述CAN数据确定所述车辆的第一里程,包括:
当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;
将载客时间段内的载客里程之和作为第一里程。
在本申请实施例中,后台终端设定时间间隔,从车辆处于载客状态时起,后台终端根据实时车速进行积分运算,计算出每个时间间隔内车辆行驶的距离,例如,根据实时车速每20毫秒计算一次距离,将计算出的距离累加,就可以实时计算出车辆在本次载客过程中的载客里程,当车辆载客过程结束时,计算得到的载客里程即为第一里程。
在一实施例中,所述根据所述GPS数据确定所述车辆的第二里程,包括:
当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;
将载客时间段内的距离变化值之和作为第二里程。
在本申请实施例中,后台终端设定时间间隔,从车辆处于载客状态时起,后台终端根据每个时间间隔的初始时刻位置和最终时刻位置,计算出每个时间间隔内车辆的距离变化值,将各个距离变化值累加,就可以实时计算出车辆在本次载客过程中载客里程,当车辆载客过程结束时,计算得到的载客里程即为第二里程。
在一实施例中,所述车辆里程计算方法还包括:
根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
在本申请实施例中,后台终端设置有乘车费用计算公式,在确定计费里程后,将计费里程代入公式计算得到乘车费用,并将乘车费用发送至车辆,减少了车载终端的处理过程,能够有效增加司机作弊的难度。
参照图2,本申请实施例提供了一种车辆里程计算***20,包括:
第一获取模块201,用于获取车辆的CAN数据,并根据所述CAN数据确定所述车辆的第一里程;
第二获取模块202,用于获取所述车辆的GPS数据,并根据所述GPS数据确定所述车辆的第二里程;
第一计费里程确定模块203,用于若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算***20还包括:
行驶里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;
第二计费里程确定模块,用于若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述行驶里程确定模块包括:
行驶轨迹确定模块,用于当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
在一实施例中,所述车辆里程计算***20还包括:
第一异常信息发送模块,用于若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
在一实施例中,所述车辆里程计算***20还包括:
第三计费里程确定模块,用于若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
在一实施例中,所述车辆里程计算***20还包括:
第二异常信息发送模块,用于若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
在一实施例中,所述CAN数据包括所述车辆的实时车速;
所述第一获取模块201包括:
载客里程计算模块,用于当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;
第一里程确定模块,用于将载客时间段内的载客里程之和作为第一里程。
在一实施例中,所述第二获取模块202包括:
距离变化值计算模块,用于当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;
第二里程确定模块,用于将载客时间段内的距离变化值之和作为第二里程。
在一实施例中,所述车辆里程计算***20还包括:
乘车费用计算模块,用于根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
参照图3,本申请实施例提供了一种车辆里程计算终端设备,如图3所示,该实施例的车辆里程计算终端设备3包括:处理器30、存储器31以及存储在所述存储器31中并可在所述处理器30上运行的计算机程序32,例如车辆里程计算程序。所述处理器30执行所述计算机程序32时实现上述各个车辆里程计算方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器30执行所述计算机程序32时实现上述各装置实施例中各模块/单元的功能,例如图2所示模块201至203的功能。
示例性的,所述计算机程序32可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器31中,并由所述处理器30执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序32在所述车辆里程计算终端设备3中的执行过程。例如,所述计算机程序32可以被分割成第一获取模块、第二获取模块和第一计费里程确定模块,各模块的具体功能如下:
第一获取模块,用于获取车辆的CAN数据,并根据所述CAN数据确定所述车辆的第一里程;
第二获取模块,用于获取所述车辆的GPS数据,并根据所述GPS数据确定所述车辆的第二里程;
第一计费里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述计算机程序32还包括:
行驶里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;
第二计费里程确定模块,用于若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
在一实施例中,所述行驶里程确定模块包括:
行驶轨迹确定模块,用于当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
在一实施例中,所述计算机程序32还包括:
第一异常信息发送模块,用于若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
在一实施例中,所述计算机程序32还包括:
第三计费里程确定模块,用于若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
在一实施例中,所述计算机程序32还包括:
第二异常信息发送模块,用于若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
在一实施例中,所述CAN数据包括所述车辆的实时车速;
所述第一获取模块包括:
载客里程计算模块,用于当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;
第一里程确定模块,用于将载客时间段内的载客里程之和作为第一里程。
在一实施例中,所述第二获取模块包括:
距离变化值计算模块,用于当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;
第二里程确定模块,用于将载客时间段内的距离变化值之和作为第二里程。
在一实施例中,所述计算机程序32还包括:
乘车费用计算模块,用于根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
所述车辆里程计算终端设备3可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述车辆里程计算终端设备可包括,但不仅限于,处理器30、存储器31。本领域技术人员可以理解,图3仅仅是车辆里程计算终端设备3的示例,并不构成对车辆里程计算终端设备3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述车辆里程计算终端设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器30可以是中央处理单元(Central
Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application
Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器31可以是所述车辆里程计算终端设备3的内部存储单元,例如车辆里程计算终端设备3的硬盘或内存。所述存储器31也可以是所述车辆里程计算终端设备3的外部存储设备,例如所述车辆里程计算终端设备3上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器31还可以既包括所述车辆里程计算终端设备3的内部存储单元也包括外部存储设备。所述存储器31用于存储所述计算机程序以及所述车辆里程计算终端设备3所需的其他程序和数据。所述存储器31还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述***中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的***实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access
Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。
Claims (20)
- 一种车辆里程计算方法,其特征在于,包括:获取车辆的控制器局域网络CAN数据,并根据所述CAN数据确定所述车辆的第一里程;获取所述车辆的全球定位***GPS数据,并根据所述GPS数据确定所述车辆的第二里程;若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
- 根据权利要求1所述的车辆里程计算方法,其特征在于,还包括:若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
- 根据权利要求2所述的车辆里程计算方法,其特征在于,所述确定所述车辆的行驶轨迹,包括:当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
- 根据权利要求2所述的车辆里程计算方法,其特征在于,还包括:若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
- 根据权利要求2所述的车辆里程计算方法,其特征在于,还包括:若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
- 根据权利要求2所述的车辆里程计算方法,其特征在于,还包括:若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
- 根据权利要求1所述的车辆里程计算方法,其特征在于,所述CAN数据包括所述车辆的实时车速;所述根据所述CAN数据确定所述车辆的第一里程,包括:当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;将载客时间段内的载客里程之和作为第一里程。
- 根据权利要求1所述的车辆里程计算方法,其特征在于,所述根据所述GPS数据确定所述车辆的第二里程,包括:当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;将载客时间段内的距离变化值之和作为第二里程。
- 根据权利要求1所述的车辆里程计算方法,其特征在于,还包括:根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
- 一种车辆里程计算***,其特征在于,包括:第一获取模块,用于获取车辆的CAN数据,并根据所述CAN数据确定所述车辆的第一里程;第二获取模块,用于获取所述车辆的GPS数据,并根据所述GPS数据确定所述车辆的第二里程;第一计费里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值小于预设阈值,则将所述第一里程作为所述车辆的计费里程。
- 根据权利要求10所述的车辆里程计算***,其特征在于,还包括:行驶里程确定模块,用于若所述第一里程与所述第二里程的差值的绝对值大于预设阈值,则确定所述车辆的行驶轨迹,并根据所述行驶轨迹确定所述车辆的行驶里程;第二计费里程确定模块,用于若所述第一里程小于所述行驶里程,则将所述第一里程作为所述车辆的计费里程。
- 根据权利要求11所述的车辆里程计算***,其特征在于,所述行驶里程确定模块包括:行驶轨迹确定模块,用于当所述车辆为载客状态时,获取所述车辆的实时位置,并根据所述实时位置确定所述车辆的行驶轨迹。
- 根据权利要求11所述的车辆里程计算***,其特征在于,还包括:第一异常信息发送模块,用于若所述第一里程小于所述行驶里程,则将第二里程异常信息发送至监控终端。
- 根据权利要求11所述的车辆里程计算***,其特征在于,还包括:第三计费里程确定模块,用于若所述第一里程大于所述行驶里程,则将所述第二里程作为所述车辆的计费里程。
- 根据权利要求11所述的车辆里程计算***,其特征在于,还包括:第二异常信息发送模块,用于若所述第一里程大于所述行驶里程,则将第一里程异常信息发送至监控终端。
- 根据权利要求10所述的车辆里程计算***,其特征在于,所述CAN数据包括所述车辆的实时车速;所述第一获取模块包括:载客里程计算模块,用于当所述车辆为载客状态时,根据所述实时车速和第一预设时间间隔,积分计算出所述车辆在第一预设时间间隔内的载客里程;第一里程确定模块,用于将载客时间段内的载客里程之和作为第一里程。
- 根据权利要求10所述的车辆里程计算***,其特征在于,所述第二获取模块包括:距离变化值计算模块,用于当所述车辆为载客状态时,获取所述GPS数据中的实时位置,根据所述实时位置确定所述车辆在第二预设时间间隔内的距离变化值;第二里程确定模块,用于将载客时间段内的距离变化值之和作为第二里程。
- 根据权利要求10所述的车辆里程计算***,其特征在于,还包括:乘车费用计算模块,用于根据所述计费里程计算乘车费用,并将所述乘车费用发送至所述车辆。
- 一种车辆里程计算终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至9任一项所述车辆里程计算方法的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述车辆里程计算方法的步骤。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201880001158.7A CN109313825A (zh) | 2018-08-27 | 2018-08-27 | 车辆里程计算方法、***及终端设备 |
PCT/CN2018/102491 WO2020041929A1 (zh) | 2018-08-27 | 2018-08-27 | 车辆里程计算方法、***及终端设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/102491 WO2020041929A1 (zh) | 2018-08-27 | 2018-08-27 | 车辆里程计算方法、***及终端设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020041929A1 true WO2020041929A1 (zh) | 2020-03-05 |
Family
ID=65221697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/102491 WO2020041929A1 (zh) | 2018-08-27 | 2018-08-27 | 车辆里程计算方法、***及终端设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109313825A (zh) |
WO (1) | WO2020041929A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581654A (zh) * | 2020-12-29 | 2021-03-30 | 华人运通(江苏)技术有限公司 | 一种车辆功能的使用频度评价***及方法 |
FR3120970A1 (fr) * | 2021-03-18 | 2022-09-23 | Nicolas BIERINX | Dispositif métrologique de calcul d’un coût associé à l’utilisation d’un véhicule |
US11505199B1 (en) * | 2021-06-18 | 2022-11-22 | Zhiji Automotive Technology Co., Ltd. | Method, apparatus and device for cleaning up vehicle driving data and storage medium thereof |
CN116061962A (zh) * | 2022-12-30 | 2023-05-05 | 瑞修得信息科技(无锡)有限公司 | 一种关于车辆轮胎打滑的可降油耗提醒方法及装置 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902869B (zh) * | 2019-02-26 | 2021-09-10 | 广州恒众车联网智能电子技术有限公司 | 车辆可达里程预测的方法、装置、计算机设备和存储介质 |
CN110474909A (zh) * | 2019-08-17 | 2019-11-19 | 贵州云尚物联科技股份有限公司 | 驾驶员监管预警方法及其*** |
CN110770799A (zh) * | 2019-08-21 | 2020-02-07 | 深圳市锐明技术股份有限公司 | 基于车载终端的出租车计程计价方法与*** |
CN111343582B (zh) * | 2020-02-27 | 2021-11-12 | 腾讯科技(深圳)有限公司 | 一种防止里程作弊的方法及装置 |
CN112291748A (zh) * | 2020-10-30 | 2021-01-29 | 深圳市发掘科技有限公司 | 一种驾培作弊结果判断方法、装置以及*** |
CN112729330A (zh) * | 2020-12-17 | 2021-04-30 | 广东天琴信息技术有限公司 | 一种机动车行驶里程数计算方法及装置 |
CN114692082A (zh) * | 2020-12-31 | 2022-07-01 | 奥动新能源汽车科技有限公司 | 换电用户的识别方法、***、设备和介质 |
CN115143990A (zh) * | 2022-07-29 | 2022-10-04 | 南斗六星***集成有限公司 | 一种基于gps的车辆精确里程计算方法和电子设备 |
CN116481560B (zh) * | 2023-06-21 | 2023-10-03 | 天津所托瑞安汽车科技有限公司 | 车辆行驶里程的计算方法、装置、终端及存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149273A (zh) * | 2006-09-19 | 2008-03-26 | 厦门雅迅网络股份有限公司 | 一种统计车辆行驶里程的方法 |
CN102359792A (zh) * | 2011-08-23 | 2012-02-22 | 奇瑞汽车股份有限公司 | 一种汽车组合仪表的里程校正*** |
CN202757625U (zh) * | 2012-08-28 | 2013-02-27 | 深圳市翰盛通讯设备有限公司 | 一种具有车载卫星接收终端的车辆里程反馈装置 |
CN103047996A (zh) * | 2012-12-20 | 2013-04-17 | 埃泰克汽车电子(芜湖)有限公司 | 一种车辆里程计算***及其计算方法 |
CN203012795U (zh) * | 2012-12-27 | 2013-06-19 | 张宝橦 | 一种基于gps的出租车计价*** |
CN103578270A (zh) * | 2013-11-14 | 2014-02-12 | 韩亚鹏 | 一种出租车信誉评价***及方法 |
CN105959409A (zh) * | 2016-06-28 | 2016-09-21 | 驾道科技有限公司 | 车辆里程捕捉及传输装置和方法 |
CN107862750A (zh) * | 2017-12-13 | 2018-03-30 | 青岛华睿互联科技有限责任公司 | 一种专用于新能源出租车的智能计价装置 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5917434A (en) * | 1995-06-15 | 1999-06-29 | Trimble Navigation Limited | Integrated taximeter/GPS position tracking system |
CN101783030B (zh) * | 2009-10-29 | 2012-04-25 | 北京拓盛电子科技有限公司 | 出租车防作弊计价***和方法 |
CN201540596U (zh) * | 2009-11-19 | 2010-08-04 | 埃泰克汽车电子(芜湖)有限公司 | 一种汽车里程计价*** |
CN102622779A (zh) * | 2012-04-09 | 2012-08-01 | 山东省计量科学研究院 | 具有智能诊断和反作弊功能的出租汽车计价器 |
CN103035036B (zh) * | 2012-12-05 | 2014-12-31 | 福建省计量科学研究院 | 基于无线网络和卫星定位实现远程监控出租车计价器方法 |
CN104658042B (zh) * | 2013-11-19 | 2017-11-07 | 上海博泰悦臻电子设备制造有限公司 | 一种车费计算方法、支付方法、计算***及支付*** |
CN103810758A (zh) * | 2013-12-19 | 2014-05-21 | 山东大学 | 联合gps/北斗可信判决taxi计价器准确性工作方法及其装置 |
CN203940868U (zh) * | 2014-06-24 | 2014-11-12 | 广州八通电子实业有限公司 | 出租车计程传感装置 |
CN107403482B (zh) * | 2017-06-28 | 2019-11-22 | 北汽福田汽车股份有限公司 | 一种确定车辆行驶里程数的方法、装置及*** |
-
2018
- 2018-08-27 CN CN201880001158.7A patent/CN109313825A/zh active Pending
- 2018-08-27 WO PCT/CN2018/102491 patent/WO2020041929A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149273A (zh) * | 2006-09-19 | 2008-03-26 | 厦门雅迅网络股份有限公司 | 一种统计车辆行驶里程的方法 |
CN102359792A (zh) * | 2011-08-23 | 2012-02-22 | 奇瑞汽车股份有限公司 | 一种汽车组合仪表的里程校正*** |
CN202757625U (zh) * | 2012-08-28 | 2013-02-27 | 深圳市翰盛通讯设备有限公司 | 一种具有车载卫星接收终端的车辆里程反馈装置 |
CN103047996A (zh) * | 2012-12-20 | 2013-04-17 | 埃泰克汽车电子(芜湖)有限公司 | 一种车辆里程计算***及其计算方法 |
CN203012795U (zh) * | 2012-12-27 | 2013-06-19 | 张宝橦 | 一种基于gps的出租车计价*** |
CN103578270A (zh) * | 2013-11-14 | 2014-02-12 | 韩亚鹏 | 一种出租车信誉评价***及方法 |
CN105959409A (zh) * | 2016-06-28 | 2016-09-21 | 驾道科技有限公司 | 车辆里程捕捉及传输装置和方法 |
CN107862750A (zh) * | 2017-12-13 | 2018-03-30 | 青岛华睿互联科技有限责任公司 | 一种专用于新能源出租车的智能计价装置 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112581654A (zh) * | 2020-12-29 | 2021-03-30 | 华人运通(江苏)技术有限公司 | 一种车辆功能的使用频度评价***及方法 |
FR3120970A1 (fr) * | 2021-03-18 | 2022-09-23 | Nicolas BIERINX | Dispositif métrologique de calcul d’un coût associé à l’utilisation d’un véhicule |
WO2022195202A3 (fr) * | 2021-03-18 | 2022-12-08 | Bierinx Nicolas | Dispositif métrologique de calcul d'un coût associé à l'utilisation d'un véhicule |
US11505199B1 (en) * | 2021-06-18 | 2022-11-22 | Zhiji Automotive Technology Co., Ltd. | Method, apparatus and device for cleaning up vehicle driving data and storage medium thereof |
CN116061962A (zh) * | 2022-12-30 | 2023-05-05 | 瑞修得信息科技(无锡)有限公司 | 一种关于车辆轮胎打滑的可降油耗提醒方法及装置 |
CN116061962B (zh) * | 2022-12-30 | 2024-03-08 | 瑞修得信息科技(无锡)有限公司 | 一种关于车辆轮胎打滑的可降油耗提醒方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN109313825A (zh) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020041929A1 (zh) | 车辆里程计算方法、***及终端设备 | |
WO2019238146A2 (zh) | 基于车载终端的出租车计程计价方法与*** | |
CN110148312B (zh) | 一种基于v2x***的碰撞预警方法、装置和存储介质 | |
CN204870848U (zh) | 一种智能行车***控制终端 | |
US9495813B2 (en) | Vehicle data collection system, vehicle data collection method, vehicle-mounted device, program, and recording medium | |
US11231290B2 (en) | Information processing apparatus and information processing method | |
CN109285238A (zh) | 信息处理方法、装置、终端及计算机可读存储介质 | |
CN110751808B (zh) | 一种信息处理方法、装置、电子设备及存储介质 | |
WO2019165617A1 (zh) | 一种车载设备及车辆碰撞分析方法和装置 | |
WO2018090770A1 (zh) | 一种车载支付方法及装置 | |
CN114664086B (zh) | 控制信息发布的方法、装置、电子设备和存储介质 | |
CN109191831B (zh) | 车辆通行的控制方法、装置和服务器 | |
WO2020034136A1 (zh) | 一种车辆载重的测量方法、装置、终端设备及存储介质 | |
JP7146097B2 (ja) | トンネル工事車両の出勤評価方法、コンピューター装置及びコンピューター読み取り可能な記憶媒体 | |
CN112652173A (zh) | 行车安全提示方法、车辆及存储介质 | |
CN111695713B (zh) | 一种历史轨迹数据处理方法及装置 | |
CN108320184B (zh) | 用于车辆计费的方法、装置、设备、***及存储介质 | |
CN110979007A (zh) | 汽车里程防篡改方法及*** | |
US9646351B2 (en) | Estimation of jurisdictional boundary crossings for fuel tax reporting | |
CN108297795A (zh) | 一种电动车的车道识别*** | |
WO2019232676A1 (zh) | 一种设备提醒方法、设备提醒装置及移动终端 | |
CN114812537A (zh) | 车道线地图构建及更新方法、***、介质及设备 | |
CN113052397B (zh) | 上车信息的确定方法、装置、电子设备和存储介质 | |
CN107507294A (zh) | 行车轨迹监控方法及终端设备 | |
CN207931598U (zh) | 一种电动车的车道识别*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18932289 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18932289 Country of ref document: EP Kind code of ref document: A1 |