Embodiment
Specific embodiments of the invention will be described in detail below.
Fig. 1 is the flow process Figure 100 embodying the method for traffic variation tendency 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, the traffic of the current traffic condition obtaining each segmentation road and time before.
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, can according to the large data of history, find the traffic of this section in time before, such as this section is in passage rate at that time or congestion index.
In the present invention, a period of time can refer to 5 minutes, 10 minutes, 15 minutes or arbitrarily before other appropriate time sections.
In step 105, based on the traffic of current traffic condition with time before, calculate the traffic variation tendency of each segmentation road.In one embodiment, the traffic of current traffic condition with time is before compared, to calculate the traffic variation tendency of each segmentation road.
Such as, traffic variation tendency can be the variation tendency of speed, compares by the passage rate of current passage rate with time before.Specifically, by the difference of current passage rate and the passage rate of time before compared with the passage rate of time before, the ratio obtained is velocity variations Trend index.Such as, the current passage rate in a certain section is 50 kilometers/hour, and the passage rate before 5 minutes is 40 kilometers/hour, then velocity variations Trend index is: (50-40)/40=+0.25.In another example, the current passage rate in a certain section is 40 kilometers/hour, and the passage rate before 5 minutes is 50 kilometers/hour, then velocity variations Trend index is: (40-50)/50=-0.20.That is, the symbol of velocity variations Trend index (+or-) expression speed is in raising or reduces, and concrete numerical value is then the degree of change.
Similarly, traffic variation tendency can be the variation tendency of congestion index (such as, between 0 to 10, the larger expression of numerical value is more blocked up), compares by the congestion index of cur-rent congestion index with time before.Specifically, by the difference of cur-rent congestion index and the congestion index of time before compared with the congestion index of time before, the ratio obtained is the variation tendency index that blocks up.Such as, the cur-rent congestion index in a certain section is the congestion index before 5.0,5 minutes is 4.0, then variation tendency of blocking up index is: (5.0-4.0)/4.0=+0.25.In another example, the cur-rent congestion index in a certain section is the congestion index before 4.0,5 minutes is 5.0, then variation tendency of blocking up index is: (4.0-5.0)/5.0=-0.20.That is, the symbol of variation tendency of blocking up index (+or-) represent and block up in aggravation or alleviate, concrete numerical value is then the degree of change.
Above-mentioned velocity variations Trend index and the variation tendency index that blocks up are all the examples of traffic variation tendency.
In addition, the traffic of time may be the traffic of multiple time before before.Therefore, the curve of traffic variation tendency can be obtained by the traffic of several time point.
In step 107, the traffic variation tendency of each segmentation road calculated is presented on map.By above step, each segmentation road on map has calculated respective traffic variation tendency.Need, by these traffic variation tendencies, map to present.Wherein, for the segmentation road that traffic variation tendency is different, map carries out different presenting respectively.In one embodiment, the segmentation road on the map with opposing traffic changed condition trend (variation tendency index is for plus or minus) is presented with different colours (such as red and green).Meanwhile, the numerical value (such as, the green of green than+0.5 of+1.0 is darker, represents that traffic behavior takes a turn for the better fast) of concrete variation tendency index is presented by the depth (the such as red depth and the green depth) of color.It will be understood by those skilled in the art that presentation mode besides colour, can also be gray scale, texture, shade, flicker, arrow, can be even auditory tone cues, voice message, tonal variations, or the differentiation of sense of touch aspect presents.
And traffic variation tendency can be presented on map together with current traffic condition.Such as, represent current traffic condition by red, yellow, green, use simultaneously or under arrow to represent that traffic variation tendency is better or poorer, the length of arrow can represent concrete numerical value, i.e. amplitude of variation.
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 the variation tendency of checking traffic, can also the two watch together.Like this, people can experience absolute magnitude, also can experience relative quantity and trend.
Such as, traffic variation tendency be there is to the section of abnormal (change is large especially, and namely the numerical value of variation tendency is large especially), likely occur some situations about happening suddenly, be worth other information of related departments' reference to be disposed 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, the traffic of the current traffic condition obtaining every bar candidate traffic route and time before.
In one embodiment, every bar candidate traffic route is carried out segmentation, the traffic of the current traffic condition obtaining each segmentation of every bar candidate traffic route and time before.About obtaining the current traffic condition of each segmentation of every bar candidate traffic route and the mode of the traffic of time before, can with reference to the concrete discussion of step 103 in the process flow diagram of Fig. 1.
In step 205, based on the traffic of current traffic condition with time before, calculate the traffic variation tendency of every bar candidate traffic route.
In one embodiment, based on the current traffic condition of each segmentation of every bar candidate traffic route and the traffic of time before, the traffic variation tendency of each segmentation of every bar candidate traffic route is calculated.In one embodiment, the traffic of current traffic condition with time is before compared, to calculate the traffic variation tendency of each segmentation road.Can with reference to the concrete discussion of step 105 in the process flow diagram of Fig. 1.In addition, the traffic of time may be the traffic of multiple time before before.Therefore, the curve of traffic variation tendency can be obtained by the traffic of several time point.
In step 207, select traffic route according to the traffic variation tendency of every bar candidate traffic route.
In one embodiment, traffic route is selected according to the traffic variation tendency of each segmentation of every bar candidate traffic route.Such as, the traffic variation tendency 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 the variation tendency of checking traffic.Like this, people can experience absolute magnitude, also can experience relative quantity (i.e. variation tendency).
In another embodiment, the traffic variation tendency 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 changed condition trend 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, traffic variation tendency index (velocity variations Trend index) is respectively 0.0 ,+0.2 ,-0.1, then the comprehensive traffic changed condition Trend index (velocity variations Trend index) of this candidate's traffic route obtained after being weighted summation according to each point of segment distance is: 0.0*1/4+0.2*2/4-0.1*1/4=+0.075.Four segmentations are had in another candidate's traffic route, segment distance is divided to be all 500 meters, traffic variation tendency index (velocity variations Trend index) is-0.1 ,-0.1 ,-0.2 ,+0.2 respectively, then the comprehensive traffic changed condition Trend index (velocity variations Trend index) of this candidate's traffic route obtained after being weighted summation according to each point of segment distance is :-0.1*1/4-0.1*1/4-0.2*1/4+0.2*1/4=-0.05.
Then, traffic route is selected according to the respective comprehensive traffic changed condition trend of every bar candidate traffic route.In the example above, in the meaning of traffic variation tendency, more preferably select last bar route, because its velocity variations Trend index is not just only, and there is certain numerical value, mean if select this road, can feel more more unobstructed; And if select a rear route, can feel to become to block 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 changed condition trend 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 traffic variation tendency, 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 current traffic condition and the contrast situation of the traffic of time before, ignore the variation tendency situation 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 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 traffic variation tendency (such as, " maximum comprehensive speed variation tendency index ", " the minimum variation tendency index that comprehensively blocks up "), or, directly in the explanation of every bar alternative route, provide traffic variation tendency (such as, " comprehensive speed variation tendency index=+ 0.075 ", " variation tendency of comprehensively blocking up index=-0.05 ").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 traffic change, 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.