Embodiment
Specific embodiments of the invention will be described in detail below.
Fig. 1 is the flow process Figure 100 embodying the method for relative traffic on map according to the embodiment of the present invention.
According to Fig. 1, in step 101, first the road on map is carried out segmentation.Current electronic chart substantially all can carry out segmentation to the road on map, is used for marking different traffics.Such as, the segmentation of road can based on distance, such as, every 1 kilometer or every 500 meters, 100 meters, 50 meters, 10 meters or arbitrarily other suitable distances as one section; The segmentation of road also can based on the setting of traffic lights, and such as, the road between every two (or more) traffic lights is as one section; The segmentation of road also can based on the planning of block, and such as, the road between each block, each crossroad is as one section.In theory, roadway segment is thinner, and the traffic reflected is also more accurate, but simultaneously for the calculating of electronic chart and the requirement of storage also higher.In addition, it should be noted that on same path or on same route, the segmentation criteria of road can be different, and therefore, some sections are 500 meters, 1 kilometer, some sections.
In step 103, obtain current traffic condition and the history average traffic same period situation of each segmentation road.
The mode obtaining the traffic of road has a variety of.Such as, investigate in certain hour by passing through the number etc. of the end to end automobile in this section in the travel speed of the automobile in this section, certain hour.According to different modes, the physical quantity of reflection traffic can be road speed, also can be congestion index.Such as, the physical quantity using road speed as reflection traffic, speed per hour 40-60 kilometer can be thought unimpeded, and speed per hour 20-40 kilometer can think low running speed, and speed per hour less than 20 kilometers can be thought to block up, and speed per hour less than 5 kilometers can think heavy congestion, etc.In another example, the physical quantity using congestion index as reflection traffic, such as, can use the congestion index of 0-10, congestion index is larger, shows that traffic is more blocked up; Otherwise congestion index is less, then show that traffic is more unobstructed.Congestion index can obtain based on the travel speed of the automobile by this section in certain hour, also can obtain based on the number etc. of the end to end automobile by this section in certain hour.
In step 103, current traffic condition can be obtained, the passage rate in such as this section or congestion index by the open real time data of local transit administration office actual measurement.Meanwhile, according to the large data of history, can find this section in history average traffic situation of the same period, such as this section is in the average passage rate of this period or average congestion index.
Inquire into the concept of " the history same period " below.In general, history can be same month on Gregorian calendar same time on the same day or identical period the same period.Such as, be period of 18:00-18:15 on June 1 equally.History same period also can be in lunar calendar meaning.Such as, the period of 17:00 or 17:00-17:15 in period of the 12:00-12:15 New Year's Eve at of the lunar calendar, the Mid-autumn Festival (lunar calendar August 15).History also can consider the concept in week the same period.Such as, the period of 16:00 or 16:00-16:15 of Friday.Or, consider the period of 16:00 or 16:00-16:15 of the previous day festivals or holidays, the period of 10:00 or 10:00-10:15 on same day festivals or holidays.In addition, there iing the city of tail number restricted driving measure, also can consider the impact that tail number is restricted driving.Such as, the regulation that Beijing's execution machine motor-car tail number is restricted driving: motor vehicle, according to the tail number on licence plate, has weekly a day and can not set out on a journey at the appointed time traveling.Such as, what Thursday restricted driving is the vehicle of tail number 4,9.Due to Beijing's tail number be 4 vehicle little, cause this day less by the vehicle of restricting driving, so be easier to occur blocking up.And Wednesday restricts driving is the vehicle of tail number 3,8.Due to Beijing's tail number be 8 vehicle more, cause this day more by the vehicle of restricting driving, so probably smooth the way.Due to tail number restrict driving rule at set intervals (such as 3 months) can rotation be carried out, the concept in week is considered not enough so simple, also need to consider tail number restrict driving regular rotation situation (such as 4,9 restrict driving with Monday morning peak or the combined meeting of evening peak Friday add heavy traffic bear), the so-called history average traffic same period situation of (tail number restrict driving identical and without other influences factor difference) under adding up equal factor with this.In addition, also can consider the winter and summer vacation time of school, owing to lacking head of a family's shuttle flow, to the positive influences that traffic is brought.
In addition, " same period " also relate to the concept of " same to time " or " same to period ".In the present invention, the time can refer to the concrete moment.Period can refer to period or other suitable periods arbitrarily of 5 minutes, 10 minutes, 15 minutes.Similar to the theory of roadway segment, the period is thinner, and the traffic reflected is also more accurate, but simultaneously for the calculating of electronic chart and the requirement of storage also higher.
Another is worth the concept inquired into be " on average ".The scope of the large data of history can be 1 year, 2 years, 3 years, 5 years or other appropriate times arbitrarily.But because vehicles number constantly increases, longer historical range is then not too practical.Once vehicles number reaches peak value or equilibrium value, then longer historical range is just suitable.Average traffic situation can be the mean value of the traffic numerical value of the same period in historical range.Such as, in certain roadway segment, in nearest 3 years, the speed of a motor vehicle record of annual 18:00-18:15 period June 1 more has 3 (being the speed of a motor vehicle of 1 18:00-18:15 period of June before 1 year, before 2 years, before 3 years respectively), these three speed of a motor vehicle are averaged, just obtains history average traffic same period situation (average passage rate) in this roadway segment.In addition, history average traffic same period situation also can be average congestion index.Such as, in certain roadway segment, in nearest 1 year the congestion index record of each 18:00-18:15 period Friday have 30 can be for reference (although 1 year has 52 weeks, but screen out the Friday of some special circumstances, such as festivals or holidays (not blocking up) or (blocked up especially) before festivals or holidays, approximately can obtain can be for reference significant 30 records), these 30 congestion index are averaged, just obtains history average traffic same period situation (average congestion index) in this roadway segment.
In step 105, based on current traffic condition and history average traffic same period situation, calculate the relative traffic of each segmentation road.In one embodiment, current traffic condition and history average traffic same period situation are compared, to calculate the relative traffic of each segmentation road.Such as, relative traffic can be the ratio of speed, and compare by current passage rate and the history average passage rate same period, the ratio obtained is relative velocity index.Relative velocity index in the scope of 1 ± a time (a can get 20%, 10%, 5% etc. or other suitable numerical value arbitrarily), can think that current traffic condition and history same period are without too big difference.When relative velocity index is less than 1-a, this section blocks up than history the same period more; When relative velocity index is greater than 1+a, this section is more unimpeded for the same period than history.Similarly, relative traffic can be the ratio of congestion index (between 0 to 10, the larger expression of numerical value is more blocked up), and compare by cur-rent congestion index and the history average congestion index same period, the ratio obtained is relative congestion index.Relative congestion index in the scope of 1 ± b time (b can get 20%, 10%, 5% etc. or other suitable numerical value arbitrarily), can think that current traffic condition and history same period are without too big difference.When relative congestion index is less than 1-b, this section is more unimpeded for the same period than history; When relative velocity index is greater than 1+b, this section blocks up than history the same period more.
In step 107, the relative traffic of each segmentation road calculated is presented on map.By above step, each segmentation road on map has calculated respective relative traffic.Need, by these relative traffics, map to present.Wherein, for the segmentation road that relative traffic is different, map carries out different presenting respectively.In one embodiment, the segmentation road on the map with different traffic is relatively presented with different colours.It will be understood by those skilled in the art that presentation mode besides colour, can also be gray scale, texture, shade, flicker, can be even auditory tone cues, voice message, tonal variations, or the differentiation of sense of touch aspect presents.
By the method for flow process Figure 100 of Fig. 1, people are easier to understand traffic by viewing map.Such as, user, when selecting to check traffic, can select the absolute figure checking current traffic condition, also can select to check the relative value (i.e. relative traffic, compared with history same period) of current traffic condition.Like this, people can experience absolute magnitude, also can experience relative quantity.
Such as, relative traffic is occurred extremely (changing large especially, namely the ratio of relative traffic is large especially or little especially) section, likely there is some situations about happening suddenly, be worth other information of related departments' reference to dispose rapidly and make a response.Such as, catch fire, sewer blockage, means of transportation or billboard collapse, gathering of people, traffic hazard etc. all can cause traffic abnormal, the relevant departments such as fire-fighting can in time for site of an accident eliminating accident.
Fig. 2 is flow process Figure 200 of the selection traffic route method according to the embodiment of the present invention.
According to Fig. 2, in step 201, according to departure place and destination, map identifies many candidate's traffic routes.Current many electronic charts all have the function of stroke planning or traffic navigation, and in addition, automatic navigator also all has the function of stroke planning or traffic navigation.According to the departure place that user-selected destination and user's current location (departure place) or user are specified, map identifies several candidate's traffic routes.Such as, three traffic routes such as route 1, route 2, route 3 are identified.
In step 203, obtain current traffic condition and the history average traffic same period situation of every bar candidate traffic route.
In one embodiment, every bar candidate traffic route is carried out segmentation, obtain current traffic condition and the history average traffic same period situation of each segmentation of every bar candidate traffic route.About the current traffic condition of each segmentation and the mode of history average traffic same period situation that obtain every bar candidate traffic route, can with reference to the concrete discussion of step 103 in the process flow diagram of Fig. 1.
In step 205, based on current traffic condition and history average traffic same period situation, calculate the relative traffic of every bar candidate traffic route.
In one embodiment, based on current traffic condition and the history average traffic same period situation of each segmentation of every bar candidate traffic route, the relative traffic of each segmentation of every bar candidate traffic route is calculated.In one embodiment, current traffic condition and history average traffic same period situation are compared, to calculate the relative traffic of each segmentation road.Can with reference to the concrete discussion of step 105 in the process flow diagram of Fig. 1.
In step 207, select traffic route according to the relative traffic of every bar candidate traffic route.
In one embodiment, traffic route is selected according to the relative traffic of each segmentation of every bar candidate traffic route.Such as, the relative traffic of each segmentation of every bar candidate traffic route is presented on map, as described in the step 107 in the process flow diagram of Fig. 1.User, when checking the traffic of every bar candidate traffic route, can select the absolute figure checking current traffic condition, also can select to check the relative value (i.e. relative traffic, compared with history same period) of current traffic condition.Like this, people can experience absolute magnitude, also can experience relative quantity.
In another embodiment, the relative traffic of each segmentation of every bar candidate traffic route is weighted summation according to each point of segment distance respectively, obtains every bar candidate traffic route comprehensive traffic relatively separately.Such as, article one, have three segmentations in candidate's traffic route, the distance of segmentation is respectively 500 meters, 1 kilometer, 500 meters, relative traffic (relative velocity index) is respectively 1.0,1.2,0.9, then the comprehensive traffic (relative velocity index) relatively of this candidate's traffic route obtained after being weighted summation according to each point of segment distance is: 1.0*1/4+1.2*2/4+0.9*1/4=1.075.Four segmentations are had in another candidate's traffic route, segment distance is divided to be all 500 meters, relative traffic (relative velocity index) is 0.9,0.9,0.8,1.2 respectively, then the comprehensive traffic (relative velocity index) relatively of this candidate's traffic route obtained after being weighted summation according to each point of segment distance is: 0.9*1/4+0.9*1/4+0.8*1/4+1.2*1/4=0.95.
Then, traffic route is selected according to the respective comprehensive traffic relatively of every bar candidate traffic route.In the example above, in the meaning of relative traffic, more preferably select last bar route, because its relative velocity index is bigger, mean if select this road, can select than usual to feel more more unobstructed during this road; And if select a rear route, when can select this road than usual, sensation is more blocked up.
The route be generally familiar with for one or several due to user can spend how long substantially have number in the heart, by the numerical value of comprehensive traffic relatively above, if user is easy to estimate a current selection route institute spended time.Even if need not estimate institute's spended time, as long as be aware of relative traffic, the traffic on user just can satisfy the need has had an expection, selects thus.
In the application of some electronic navigations, many candidate's traffic routes can be provided.Generally can follow the option such as " shortest time ", " short line ", " whether walking toll road " to distinguish.But do not consider the contrast situation of current traffic condition and the history traffic same period, ignore the relative situation of change that people can be more responsive.In fact, under congestion, people not necessarily can select " shortest time ", because the difference of time is probably trickle, and driving experience, particularly to the impression of change (compared with at ordinary times) relatively of blocking up, then more can affect the selection of people to traffic route.According to the present invention, in the application of these navigation through electronic, except the option such as " shortest time ", " short line ", also can add the option of relative traffic (such as, " maximum comprehensive relative velocity index ", " minimum comprehensive congestion index relatively "), or, in the explanation of every bar alternative route, directly provide relative traffic (such as, " comprehensive relative velocity index=1.075 ", " comprehensive congestion index=0.95 relatively ").Thus, the user of electronic navigation more can respect the impression of oneself (such as, the requirement for the time, the requirement for path length or the impression for relative traffic, or consider above) and makes a choice.
Be described above embodiments of the invention.But the spirit and scope of the present invention are not limited thereto.Those skilled in the art can make more application according to instruction of the present invention, and all within the scope of the present invention.