CN104596538A - Method for calculating mileage, vehicle monitoring system and mileage calculation device - Google Patents

Method for calculating mileage, vehicle monitoring system and mileage calculation device Download PDF

Info

Publication number
CN104596538A
CN104596538A CN201510063824.8A CN201510063824A CN104596538A CN 104596538 A CN104596538 A CN 104596538A CN 201510063824 A CN201510063824 A CN 201510063824A CN 104596538 A CN104596538 A CN 104596538A
Authority
CN
China
Prior art keywords
mileage
decimal
integer
accumulate
integral part
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
Application number
CN201510063824.8A
Other languages
Chinese (zh)
Inventor
吴根伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen easy flow Polytron Technologies Inc
Original Assignee
Xi'an Yi Liuwulian Science And Technology Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xi'an Yi Liuwulian Science And Technology Ltd filed Critical Xi'an Yi Liuwulian Science And Technology Ltd
Priority to CN201510063824.8A priority Critical patent/CN104596538A/en
Publication of CN104596538A publication Critical patent/CN104596538A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for calculating mileage. The method comprises the following steps: acquiring a vehicle running speed by virtue of a satellite positioning system; converting the speed into miles; performing rounding operation on the converted miles, and accumulating integral miles; and accumulating decimal miles, and accumulating the integral part into the integral miles when the integral bit of the decimal mile accumulated value is not zero, otherwise keeping on accumulating. The invention further provides a vehicle monitoring system, and miles of a monitored vehicle are calculated by using a mileage calculating method in the vehicle monitoring system. The invention provides a mileage calculation device, and miles of the monitored vehicle are calculated by using the mileage calculation method in the mileage calculation device. According to the method, the decimal point participates in mileage calculation by using a special method, and better data display is provided for users more accurately by means of the mileage.

Description

A kind of method of mileage calculation and vehicle monitoring system and mileage calculation device
Technical field
The present invention relates to car networking technology field, particularly relate to the method that vehicle mileage calculates.
Background technology
Current locating module use is more and more universal, large to state wife and children to individual, is an indispensable part in the statistics of the universal middle mileage of locating module.But there is very large difference in the result that existing mileage calculation technique computes goes out and actual value.It is generally acknowledged, there is the reason of this situation, for preventing speedometer reading from causing potential safety hazard lower than actual vehicle speed, in GB15082 " automotive speedometer standard " inner regulation: the speedometer instruction speed of a motor vehicle lower than actual vehicle speed, must not should meet following relationship between its instruction speed of a motor vehicle and actual vehicle speed:
0≤V1-V2≤V2/10+4km/h
Wherein: V1 indicates the speed of a motor vehicle, km/h; V2 is actual vehicle speed, km/h.
That is, the error that the speedometer of general automobile allows is very large, and such as, as actual vehicle speed 80km/h, the error of permission is 0≤V≤12km/h, namely can be shown as maximum 92 yards, and corresponding mileage error is exactly+14%.Therefore some manufacturers just to give tacit consent to this error be unavoidable.
But inventor, through rigorous analysis, thinks and produces mileage error, also has a major reason, be exactly because the precision of calculating is inadequate.And this part error should be avoidable.
Summary of the invention
One of them object of the present invention is a kind of method proposing mileage calculation, solves mileage statistics in prior art and there is free from error technical matters.Many technique effects that optimal technical scheme in many technical schemes provided by the invention can produce, refer to and hereafter set forth.
For achieving the above object, the invention provides following technical scheme:
A method for mileage calculation, described method comprises:
Running velocity is obtained by global position system;
Mileage conversion is carried out to described speed;
Rounding operation is carried out to the mileage after conversion, and integer mileage is accumulated;
Decimal mileage is accumulated, when the integer-bit of decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage; Otherwise continue accumulation.
Further, before described global position system obtains running velocity, first obtain joint speed, more described joint speed is converted into running velocity.
Further, described joint speed is multiplied by the n power of 10, and be converted into the n power again divided by 10 after speed, n equals the decimal digits of described joint speed.
Further, decimal mileage is accumulated, monitors in real time, when decimal mileage accumulation numerical value is not less than a certain integer, integral part is accumulate to integer mileage.
Further, when decimal mileage accumulation numerical value is not less than 1-10, integral part is accumulate to integer mileage.
Further, decimal mileage is accumulated, monitor decimal mileage accumulation situation at set intervals, when integer-bit is non-zero, integral part is accumulate to integer mileage.
Further, decimal mileage is accumulated, monitor decimal mileage accumulation situation at set intervals, when decimal mileage accumulation numerical value is not less than a certain integer, integral part is accumulate to integer mileage.
Further, monitor decimal mileage accumulation situation every 3s-10s, when decimal mileage accumulation numerical value is not less than 3, integral part is accumulate to integer mileage.
In addition, present invention also offers a kind of vehicle monitoring system, described vehicle monitoring system uses the method for above-mentioned mileage calculation to carry out mileage calculation for vehicle to be monitored.
In addition, present invention also offers a kind of mileage calculation device, described mileage calculation device uses the method for above-mentioned mileage calculation to carry out mileage calculation for vehicle to be monitored.
The calculating that radix point will to participate in by special method into mileage by the present invention, and then make that mileage is more accurate provides better data display to user.Therefore the statistics that the present invention is directed to mileage has carried out new mileage calculation, the algorithm overcome in the past has also existed the technical matters that result that mileage precision causes calculating not and actual value exist very large difference.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of Method for Calculate Mileage provided by the present invention;
Fig. 2 is the process flow diagram of the Method for Calculate Mileage of embodiment 1 provided by the present invention;
Fig. 3 is the process flow diagram of the Method for Calculate Mileage of embodiment 2 provided by the present invention and embodiment 3;
Fig. 4 is the process flow diagram of the Method for Calculate Mileage of embodiment 4 provided by the present invention and embodiment 5;
The process flow diagram of Fig. 5 another kind of Method for Calculate Mileage provided by the present invention;
Embodiment
Content of the present invention and the distinctive points between the present invention and prior art can be understood below with reference to accompanying drawing Fig. 1 to Fig. 5 and word content.Hereafter by accompanying drawing and the mode enumerating embodiment more of the present invention, technical scheme of the present invention (comprising optimal technical scheme) is described in further detail.It should be noted that: any technical characteristic in the present embodiment, any technical scheme is all one or more in the technical characteristic of plurality of optional or optional technical scheme, cannot exhaustive all alternative technical characteristics of the present invention and alternative technical scheme in order to describe succinct to need in presents, also the embodiment being not easy to each technical characteristic all emphasizes that it is one of optional numerous embodiments, so those skilled in the art should know: arbitrary technological means provided by the invention can be carried out replacing or two or more technological means or technical characteristic arbitrarily provided by the invention being carried out mutually combining and obtain new technical scheme.Any technical characteristic in the present embodiment and any technical scheme all do not limit the scope of the invention, protection scope of the present invention should comprise those skilled in the art do not pay creative work thinkable any alternate embodiments and those skilled in the art new technical scheme that two or more technological means or technical characteristic arbitrarily provided by the invention are carried out mutually combining and obtain.
Embodiments provide a kind of method of mileage calculation, and use the vehicle monitoring system of method and the mileage calculation device of this mileage calculation.
Below in conjunction with the elaboration that Fig. 1 to Fig. 5 carries out specifically to technical scheme provided by the invention.
As shown in Figure 1, the method for a kind of mileage calculation that the embodiment of the present invention provides, first obtains running velocity by global position system; Mileage conversion is carried out to described speed; Rounding operation is carried out to the mileage after conversion, and integer mileage is accumulated; Decimal mileage is accumulated, when the integer-bit of decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage; Otherwise continue accumulation.By radix point being participated in the calculating into mileage, and then make that mileage is more accurate provides better data display to user.
Wherein be converted in the process of mileage by speed, can using following method migration, the unit due to speed is km/h, speed is multiplied by 1000/3600, is m/s by Conversion of measurement unit, the distance of vehicle traveling per second can be calculated thus, the distance of traveling per second is accumulated, can mileage be drawn.Further, in the process that the distance of traveling per second is carried out accumulating, employing be to conversion after mileage carry out rounding operation, and integer mileage to be accumulated, decimal mileage is accumulated, when the integer-bit of decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage, such as, as embodiment 1, the numerical value of mileage is 27.3m/s, now, round numbers 27 counts integer mileage and accumulates, and 0.3m/s is counted fraction part accumulate, if mileage is 27.8m/s next time, then same round numbers 27 counts integer mileage and accumulates, and 0.8m/s is counted fraction part accumulate, 0.3m/s and 0.8m/s sum is 1.1m/s, now the integer-bit of decimal mileage is non-zero integer, accumulate 1 into integer mileage, the then continuation of 0.1m/s adds up as decimal mileage.Embodiment 1 is that setting is accumulated when integer-bit is 1, but according to above-mentioned setting, general vehicle travels once, its decimal mileage will carry out rounding operation many times, particularly for coach, so the numerical value of setting suitably can be amplified, carry out a rounding operation and accumulate when the integer-bit as setting decimal mileage is 10.
What such scheme was set forth is real-time detection, when detecting that the integer-bit of decimal mileage arrives certain numerical value, then round and be accumulated to integer mileage, but Real-Time Monitoring also can increase the computational burden of hardware, timing can be adopted to detect, monitor decimal mileage accumulation situation at set intervals, when decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage.Such as, as embodiment 2, monitor decimal mileage accumulation situation every 3s, when monitoring decimal mileage accumulation numerical value and being non-zero, integral part is accumulate to integer mileage.And for example embodiment 3, monitors decimal mileage accumulation situation every 10s, when decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage.Adopt in this way, the calculated rate of hardware can be reduced well, reduce the burden of hardware.
But, run into the situations such as traffic congestion when vehicle when slowly moving, adopt the method as embodiment 2 and embodiment 3, still can increase the computational burden of hardware.Timing can be adopted to detect, monitor decimal mileage accumulation situation at set intervals, when decimal mileage accumulation numerical value is not less than a certain integer, integral part is accumulate to integer mileage.Such as, as embodiment 4, monitor decimal mileage accumulation situation every 3s, when decimal mileage accumulation numerical value is not less than 3, integral part is accumulate to integer mileage.And for example embodiment 5, monitors decimal mileage accumulation situation every 10s, when decimal mileage accumulation numerical value is not less than 3, integral part is accumulate to integer mileage.Adopt in this way, the calculated rate of hardware can be reduced better, reduce the burden of hardware.
Further, when satellite location data is joint speed, needs to be first speed by joint rate conversion, in transfer process, joint speed is first multiplied by the n power of 10, be converted into the n power again divided by 10 after speed, n equals the decimal digits of described joint speed.Such as, joint speed is 37.23 joints, is 2 after its radix point, be then multiplied by 10 square, be 3723 joints, be then converted to speed, to be multiplied by after 1.852 again divided by 10 square, the speed of calculating is 69.80625km/h.
Further, present invention also offers a kind of vehicle monitoring system, described vehicle monitoring system uses the method for above-mentioned mileage calculation to carry out mileage calculation for vehicle to be monitored.
In addition, present invention also offers a kind of mileage calculation device, described mileage calculation device uses the method for above-mentioned mileage calculation to carry out mileage calculation for vehicle to be monitored.
Arbitrary technical scheme disclosed in the invention described above unless otherwise stated, if the numerical range of it discloses, so disclosed numerical range is preferred numerical range, anyly it should be appreciated by those skilled in the art: preferred numerical range is only the numerical value that in many enforceable numerical value, technique effect is obvious or representative.Because numerical value is more, cannot be exhaustive, so the present invention just discloses component values to illustrate technical scheme of the present invention, and the above-mentioned numerical value enumerated should not form the restriction to the invention protection domain.
If employ the word such as " first ", " second " herein to limit parts, those skilled in the art should know: the use of " first ", " second " is only used to be convenient to describe carry out difference as not having outside Stated otherwise to parts, the implication that above-mentioned word is not special.
Simultaneously, if the invention described above discloses or relate to parts or the structural member of connection fastened to each other, so, unless otherwise stated, be fixedly connected with and can be understood as: can releasably be fixedly connected with (such as using bolt or screw to connect), also can be understood as: to be non-removablely fixedly connected with (such as rivet, weld), certainly, connection fastened to each other also can be replaced by integral type structure (such as use casting technique is integrally formed create) (obviously cannot adopt except integrally formed technique).
In addition, apply in arbitrary technical scheme disclosed in the invention described above for represent position relationship or shape term unless otherwise stated its implication comprise approximate with it, similar or close state or shape.Arbitrary parts provided by the invention both can be assembled by multiple independent ingredient, and also can be one of the forming manufacture technics separate part out.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or carry out equivalent replacement to portion of techniques feature; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request of the present invention protection.

Claims (10)

1. a method for mileage calculation, described method comprises:
Running velocity is obtained by global position system;
Mileage conversion is carried out to described speed;
It is characterized in that, rounding operation is carried out to the mileage after conversion, and integer mileage is accumulated;
Decimal mileage is accumulated, when the integer-bit of decimal mileage accumulation numerical value is non-zero, integral part is accumulate to integer mileage; Otherwise continue accumulation.
2. the method for mileage calculation according to claim 1, is characterized in that, before described global position system obtains running velocity, first obtains joint speed, more described joint speed is converted into running velocity.
3. the method for mileage calculation according to claim 2, is characterized in that, described joint speed is multiplied by the n power of 10, and be converted into the n power again divided by 10 after speed, n equals the decimal digits of described joint speed.
4. the method for the mileage calculation according to any one of claims 1 to 3, is characterized in that, is accumulated by decimal mileage, monitors in real time, when decimal mileage accumulation numerical value is not less than a certain integer, integral part is accumulate to integer mileage.
5. the method for mileage calculation according to claim 4, is characterized in that, when decimal mileage accumulation numerical value is not less than 1-10, integral part is accumulate to integer mileage.
6. the method for the mileage calculation according to any one of claims 1 to 3, is characterized in that, is accumulated by decimal mileage, monitors decimal mileage accumulation situation at set intervals, when integer-bit is non-zero, integral part is accumulate to integer mileage.
7. the method for the mileage calculation according to any one of claims 1 to 3, it is characterized in that, decimal mileage is accumulated, monitor decimal mileage accumulation situation at set intervals, when decimal mileage accumulation numerical value is not less than a certain integer, integral part is accumulate to integer mileage.
8. the method for mileage calculation according to claim 7, is characterized in that, monitors decimal mileage accumulation situation, when decimal mileage accumulation numerical value is not less than 3, integral part is accumulate to integer mileage every 3s-10s.
9. a vehicle monitoring system, is characterized in that, described vehicle monitoring system uses the method for the mileage calculation as described in any one of claim 1 to 8 to carry out mileage calculation for vehicle to be monitored.
10. a mileage calculation device, is characterized in that, described mileage calculation device uses the method for the mileage calculation as described in any one of claim 1 to 8 to carry out mileage calculation for vehicle to be monitored.
CN201510063824.8A 2015-02-06 2015-02-06 Method for calculating mileage, vehicle monitoring system and mileage calculation device Pending CN104596538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510063824.8A CN104596538A (en) 2015-02-06 2015-02-06 Method for calculating mileage, vehicle monitoring system and mileage calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510063824.8A CN104596538A (en) 2015-02-06 2015-02-06 Method for calculating mileage, vehicle monitoring system and mileage calculation device

Publications (1)

Publication Number Publication Date
CN104596538A true CN104596538A (en) 2015-05-06

Family

ID=53122474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510063824.8A Pending CN104596538A (en) 2015-02-06 2015-02-06 Method for calculating mileage, vehicle monitoring system and mileage calculation device

Country Status (1)

Country Link
CN (1) CN104596538A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105547322A (en) * 2016-01-07 2016-05-04 交通运输部公路科学研究所 Method for computing vehicle travel mileage with satellite positioning data
CN116772895A (en) * 2023-08-25 2023-09-19 北京三岭基业科技发展有限公司 Method and system for acquiring current running mileage and speed by rail transit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084669A (en) * 1990-03-08 1992-01-28 Telefonaktiebolaget L M Ericsson Direct phase digitization
CN101118163A (en) * 2006-08-01 2008-02-06 铁道科学研究院基础设施检测研究所 Train GPS mileage self-correcting system and correcting method thereof
CN101470012A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 Method for real-time vehicle driving mileage statistics based on wireless network and GPS position information
CN101509791A (en) * 2009-03-17 2009-08-19 北京长城华冠汽车技术开发有限公司 Automobile digitalization instrument controlling and displaying method and device
CN102200544A (en) * 2010-12-31 2011-09-28 中国电力科学研究院 Method for accumulating aggregate capacitances of smart meter capable of realizing bidirectional metering

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084669A (en) * 1990-03-08 1992-01-28 Telefonaktiebolaget L M Ericsson Direct phase digitization
CN101118163A (en) * 2006-08-01 2008-02-06 铁道科学研究院基础设施检测研究所 Train GPS mileage self-correcting system and correcting method thereof
CN101470012A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 Method for real-time vehicle driving mileage statistics based on wireless network and GPS position information
CN101509791A (en) * 2009-03-17 2009-08-19 北京长城华冠汽车技术开发有限公司 Automobile digitalization instrument controlling and displaying method and device
CN102200544A (en) * 2010-12-31 2011-09-28 中国电力科学研究院 Method for accumulating aggregate capacitances of smart meter capable of realizing bidirectional metering

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105547322A (en) * 2016-01-07 2016-05-04 交通运输部公路科学研究所 Method for computing vehicle travel mileage with satellite positioning data
CN105547322B (en) * 2016-01-07 2018-05-11 交通运输部公路科学研究所 A kind of method that VMT Vehicle-Miles of Travel calculating is carried out using satellite location data
CN116772895A (en) * 2023-08-25 2023-09-19 北京三岭基业科技发展有限公司 Method and system for acquiring current running mileage and speed by rail transit
CN116772895B (en) * 2023-08-25 2023-11-03 北京三岭基业科技发展有限公司 Method and system for acquiring current running mileage and speed by rail transit

Similar Documents

Publication Publication Date Title
CN101739824B (en) Data fusion technology-based traffic condition estimation method
CN110784825B (en) Method and device for generating vehicle running track
CN103794061B (en) The method that road merges travel speed is calculated based on multiple location data
CN106599561A (en) Trajectory data cleaning method and device
CN105241472B (en) Vehicle driving mileage statistical method and device based on OBD vehicle speed
CN104851311A (en) Real-time lane congestion display system and display method thereof
US8725397B2 (en) Traffic signal cycle estimation device and traffic signal cycle estimation method
KR20170012300A (en) Real-time road conditions monitoring method and real-time road conditions monitoring device
CN112748421B (en) Laser radar calibration method based on automatic driving of straight road section
US20190080593A1 (en) Abnormal travel detecting device, abnormal travel detecting method, storage medium storing program for same, and abnormal travel detecting system
CN107792117B (en) Locomotive wheel diameter self-checking device and method based on radar
CN104596538A (en) Method for calculating mileage, vehicle monitoring system and mileage calculation device
WO2016145887A1 (en) Obu positioning, subdividing and calculating method and system
US10131274B1 (en) Distance sensing method, distance sensing system, and warning device using the distance sensing system
CN105606120A (en) Pedometer controlling method and device
JP4865922B1 (en) Driving information calculation device, navigation system, and driving information calculation method
CN104835321A (en) Lane vehicle flow statistical system and lane vehicle flow statistical method
CN106638242B (en) A kind of flatness detecting device and method adapting to low speed and speed change measurement
CN110617824A (en) Method, apparatus, device and medium for determining whether vehicle is on or off elevated road
CN102436742A (en) Method and device for evaluating traffic information service level of floating vehicle system
CN204537458U (en) A kind of track jam situation display system in real time
CN105448088A (en) Traffic condition monitoring method and system based big data
JP2012048444A (en) Traffic information processing device, traffic information processing system, program, and traffic information processing method
JP2015046186A (en) Traffic information processing device, traffic information processing system, program, and traffic information processing method
CN106528553A (en) A running signal processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161017

Address after: 518000 Shenzhen science and Technology Park, Guangdong Province, R1-A modern building, floor, floor, 6

Applicant after: Shenzhen easy flow Polytron Technologies Inc

Address before: 710065 building, H building, block two, Xi'an Software Zone, Kam 2 Road, Kam Yip Industrial Zone, Xi'an, Shaanxi

Applicant before: Xi'an Yi Liuwulian Science and Technology Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506