Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of judgment method of trip mode based on mobile terminal,
Include:
Step S100, the movement velocity of monitoring object in the acquisition for mobile terminal travel time section carried by monitoring object
And motion profile;
Step S200 calculates the radius of curvature of each bending part in the motion profile;
Step S300, according to the trip mode for judging the monitoring object in above-mentioned movement velocity and motion profile, comprising:
Step S310, when movement velocity be less than or equal to First Speed threshold value and there are the radius of curvature of bending part be less than etc.
When first curvature radius, judge the trip mode of monitoring object for the first trip mode;
Step S320, it is and all curved when movement velocity is greater than First Speed threshold value and is less than or equal to second speed threshold value
When the radius of curvature of bent portions is all larger than first curvature radius and is less than or equal to second curvature radius, the trip of monitoring object is judged
Mode is the second trip mode;
Step S330, when movement velocity is greater than second speed threshold value, and the radius of curvature of all bending parts is all larger than
When second curvature radius, judge the trip mode of monitoring object for third trip mode.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, it describes by way of example, and not limitation
Specific embodiment consistent with the principles of the present invention, the description of these embodiments be it is detailed enough so that ability
Field technique personnel can practice the present invention, other embodiment party can be used without departing from the scope and spirit of the present invention
Formula and the structure that can change and/or replace each element.Therefore, should not understand from restrictive sense below detailed
Description.
One embodiment of the present of invention provides a kind of judgment method of trip mode based on mobile terminal, comprising:
Step S100, the movement velocity of monitoring object in the acquisition for mobile terminal travel time section carried by monitoring object
And motion profile;In the present embodiment, monitoring object is to carry the mobile terminal registered in the database, the mobile terminal tool
There is positioning device based on GPS or dipper system and can be used with the communication devices such as GPRS, WiFi of the database communication
In monitoring, record and to the database upload monitoring object the exercise data including movement velocity and motion profile, wherein
Method using the logical location data monitoring movement velocity of GPS or the Big Dipper and motion profile be it is any appropriate in the prior art
Known method;Such as movement velocity can be between two monitoring object positions that two neighboring positioning time is measured away from
From the value obtained divided by the time difference between two neighboring positioning time or its any appropriate average value;Motion profile can be out
The set for the monitoring object position that each positioning time is measured in the row period or its any appropriate matched curve;
Step S200 calculates the radius of curvature of each bending part in the motion profile;Wherein, the bending part is
Refer to the portion that adjacent three or more points or matched curve mean curvature in motion profile not point-blank are greater than zero
Point, represent the turning radius turned in monitoring object motion process;The radius of curvature can be by known to any appropriate
Method calculates;For example, when the matched curve of the motion profile of monitoring object is indicated by following parametric equation (1),
Wherein x, y are the coordinate of t moment monitoring object;
The monitoring object t moment movement velocity v by shown in equation (2),
Radius of curvature R of the monitoring object in t momenttBy shown in formula (3),
Step S300 judges the trip mode of the monitoring object according to above-mentioned movement velocity and motion profile, comprising:
Step S310, when movement velocity v is less than or equal to First Speed threshold value and there are the radius of curvature R of bending parttIt is small
When being equal to first curvature radius, judge the trip mode of monitoring object for the first trip mode;
Step S320, it is and all curved when movement velocity v is greater than First Speed threshold value and is less than or equal to second speed threshold value
The radius of curvature R of bent portionstWhen being all larger than first curvature radius and being less than or equal to second curvature radius, going out for monitoring object is judged
Line mode is the second trip mode;
Step S330, when movement velocity v is greater than second speed threshold value, and the radius of curvature R of all bending partstIt is big
When second curvature radius, judge the trip mode of monitoring object for third trip mode.
In some cases, the First Speed threshold value is the walking speed of people, for example, 5-10km/h, first curvature half
Turning radius when diameter is people's property, such as 1m or smaller;Second speed threshold value is riding speed, such as 15-30km/h, second
Radius of curvature is turning radius when riding, such as 3m or smaller;First trip mode is manner of walking;Described second goes out
Line mode is mode of riding;The third trip mode is Vehicle emission mode.
The turning radius of the automobile of current motor vehicle especially four-wheel or more wheel is all larger than 3m, and people turns when riding
Curved radius can be 3m or smaller, and turning radius of people when on foot can be 1m or smaller, therefore combine the fortune of monitoring object
Dynamic speed and turning radius are to be convenient to judge the trip mode of monitoring object.Data needed for the above method are few, and calculation amount is small,
Judgement is simple accurate, therefore can effectively save computing capability, it is convenient, fast, judge in time magnanimity monitoring object out
Line mode is particularly suitable for the even ten million above large size city of population million.
In some cases, the mobile terminal further includes accelerometer or gyroscope for more accurately measurement monitoring pair
The motion profile of elephant, and the more accurate radius of curvature for each bending part being calculated in motion profile accordingly.For example, working as
The matched curve of the motion profile of the monitoring object obtained according to GPS or Beidou positioning device is indicated by following parametric equation (1)
When,
Wherein x, y are the coordinate of t moment monitoring object;
Positioning accuracy although current high-precision GPS and Beidou positioning device can achieve 0.3m hereinafter,
According to environment and appointed condition, the positioning accuracy of GPS and Beidou positioning device is only capable of reaching about 5-10 meters in many cases, phase
Error is declined with speed and is increased, therefore as the t in the travel time sectioniMoment is to ti+1There is movement velocity v in moment
When less than the case where First Speed threshold value, can be measured by accelerometer on mobile terminal or gyroscope monitoring object plus
Velocity amplitude, wherein the parametric equation of acceleration value can be
Wherein, axAnd ayIt is tiMoment is to ti+1Arbitrary t moment monitoring object is in x-axis direction and y-axis direction in moment
Acceleration;
Then tiMoment is to ti+1The motion profile of arbitrary t moment monitoring object is indicated by formula (4) in moment,
Wherein xiAnd yiIt is tiThe position of moment monitoring object, vxiAnd vyiIt is tiMoment, monitoring object was in x-axis direction and y-axis
The speed in direction, these data for example can be by GPS or Beidou positioning device in tiThe motion profile of chronometry determines.
In some cases, the travel time section is the time between the two neighboring halted state of the monitoring object
Length namely travel time section do not include halted state, and monitoring object described in the travel time section continuously moves;Or
Person, the travel time section are first halted state and end halted state in continuous multiple halted states of the monitoring object
Between time span namely travel time section in include continuous multiple halted states and multiple time subsegments, wherein often
The duration of a halted state is no more than 15min, such as no more than 10min or 5min, monitors described in each time subsegment
Object continuously moves.In general, when the halted state duration be no more than 15min when, it can be determined that monitoring object be in etc.
To traffic lights or it is in congestion status, therefore the time subsegment before and after halted state can be included in the travel time section;And
When the halted state is too long, then it may determine that monitoring object has been detached from trip state.By daily each of monitoring object
Travel time section, especially in certain special time periods (such as morning peak or evening peak), is counted by trip mode
The Green Travel time of monitoring object is obtained, to provide basic data for the carbon generalized system of preferences.
In some cases, the movement velocity is the monitoring object in the travel time section maximum speed or
Average speed of the monitoring object described in person between two neighboring halted state.When the travel time section includes continuously multiple stops
Only state and when multiple time subsegments, the movement velocity be the monitoring object in the multiple time subsegment it is each most
The maximum of maximum value or the monitoring object in each average speed in the multiple time subsegment in big speed
Value.Judged using maximum speed, advantageously reduce will take run at a low speed motor vehicle monitoring object be mistaken for walking or
It rides;And the monitoring object that will be run once in a while is advantageously reduced using average speed and is mistaken for non-manner of walking.
In step s310, can also motor vehicle querying motion database, if existing in identical travel time section and institute
Monitoring object is stated when two or more halted states synchronize start-stop and distance is less than the motor vehicle of first distance threshold value, judgement
The trip mode of the monitoring object is third trip mode, and the first distance threshold value is 2-15m.In step s 320, it looks into
Motor vehicle motion database is ask, if existing in identical travel time section same in each halted state with the monitoring object
Walk start-stop and distance be less than first distance threshold value motor vehicle when, judge the trip mode of the monitoring object for third trip side
Formula, the first distance threshold value are 2-15m.Different first distance threshold values can be chosen for different motor vehicles.For example, working as
When monitoring object takes car, the mobile terminal of monitoring object is usually at a distance from the GPS of car or Beidou positioning device
Typically not greater than 2m, and the relative position of the two is basically unchanged;And when monitoring object takes full-sized bus, monitoring object
Mobile terminal may reach 10m at a distance from positioning device for public bus, and relative position may be with monitoring object on bus
Movement and change, however monitoring object will start-stop synchronous with bus.If the motor vehicle is public transit vehicle, it can determine whether
The trip mode of the monitoring object is vehicle trip of taking pubic transport, this can also be used as a kind of Green Travel mode.
According to disclosed specification of the invention, other realizations of the invention are obvious for those skilled in the art
's.The various aspects of embodiment and/or embodiment can be used for system of the invention and side individually or with any combination
In method.Specification and example therein should be only be regarded solely as it is exemplary, the actual scope of the present invention and spirit by appended right
Claim indicates.