With the continuous advancement and improvement of electronic technology and communication techniques, compact or portable electronic devices such as smart phones, tabular computer are also evolving rapidly. Those electronic devices in the current market are integrated with multiple functions so as to enhance their competence. Besides functions of photograph, telephone communication and internet surfing, currently, Global Positioning System (GPS) and electronic map are integrated in the portable apparatus, such that a user can know the location of himself anytime and anywhere through the positioning function provided by the portable apparatus.
Although the positioning function of current portable apparatus can display a current location of a user, the situations occurred most in actual usage are that the user may leave for multiple places and even go there and back among those places. For example, the user may leave for a work place from his home, then go to a fitness center or a supermarket, and finally come back home. Meanwhile, the user usually has to search for and reset the place to be leave for, so as to find the corresponding route. Beside, since a traffic jam may happen in the route, the way to fast reach the destination is not easily estimated.
Accordingly, the application provides a method, an electronic apparatus, and a recording medium for estimating and displaying a destination, through which the destination where the user intends to go can be estimated, and real-time traffic information about the route to the destination can be provided, so as to assist the user in fast reaching the destination.
The application provides a method for estimating and displaying a destination, adapted for an electronic apparatus to estimate the destination the user intends to leave for. In the method, a plurality of first places frequently visited by a user are set. Then, a current location of the electronic apparatus is continuously detected by a positioning module. A distance between the current location and each of the first places is calculated and determined whether being increased. When the distance increases, a scale of an electronic map is adjusted so as to remove the corresponding first places and display the remaining first places.
In one example of the application, in the step of determining whether the distance between the current location and each of the first places increases, it is determined whether the distance between the current location and each of the first places increases within a preset period of time, and the scale of the electronic map is adjusted to remove corresponding first places when the distance increases within the preset period of time.
In one example of the application, in the step of setting the first places frequently visited by the user, a history of positioning executed by the electronic apparatus is first retrieved, a plurality of second places appeared in the history are searched, and an appearance number of times of each of the second places is accumulated, so as to set the second places having the appearance number of times sorted ahead as the first places frequently visited by the user.
In one example of the application, in the step of setting the first places frequently visited by the user, a calendar stored in the electronic apparatus is first accessed, a plurality of third places appeared in the events recorded in the calendar are searched, and an appearance number of times of each of the third places is accumulated, so as to set the third places having the appearance number of times sorted ahead as the first places frequently visited by the user.
In one example of the application, in the step of determining whether the distance between the current location and each of the first places increases, an increment in the distance between the current location and each of the first places is determined whether to be over a threshold. When the increment is over the threshold, the scale of the electronic map is adjusted to remove the corresponding first places.
In one example of the application, the aforesaid method further calculates a moving speed of the electronic apparatus, estimates a time required to travel from the current location to each of the first places according to the moving speed, and displays the distance between the current location and each of the first places and the time required to leaver for each of the first places.
In one example of the application, the aforesaid method further adjust the scale of the electronic map to adapt a display range of the electronic map to a minimum range covering the current location and the destination.
In one example of the application, the aforesaid method further retrieves real-time traffic information of a plurality of roads passed by in traveling from the current location to each of the first places, and accordingly marks traffic condition on the roads in the electronic map.
The application provides an apparatus for estimating and displaying a destination, adapted to estimating the destination the user intends to leave for. The apparatus comprises a setting module, a calculation module, a determination module, and an estimation module. The setting module is used to set a plurality of first places frequently visited by a user. The calculation module continuously detects a current location of the electronic apparatus by using a positioning module, and calculates a distance between the current location and each of the first places. The determination module determines whether the distance between the current location and each of the first places increases. When the distance is increased, the estimation module adjusts a scale of the electronic map to remove corresponding first places, and displays each of remaining first places as the estimated destination.
In one example of the application, the determination module determines whether the distance between the current location and each of the first places increases within a preset time.
In one example of the application, the aforesaid apparatus further comprises a history recording module, which is configured to record a history of positioning executed by the electronic apparatus, such that the setting module searches for a plurality of second places appeared in the history, and accumulates an appearance number of times of each of the second places, so as to set the second places having the appearance number of times sorted ahead as the first places frequently visited by the user.
In one example of the application, the aforesaid apparatus further comprises a calendar module, which is configured to store a calendar, such that the setting module searches for a plurality of third places appeared in a plurality of events recorded in the calendar, and sets the same as the first places frequently visited by the user.
In one example of the application, the aforesaid apparatus further comprises an input module, which is configured to receive at least one fourth place manually input by a user, such that the setting module sets the at least one fourth place as the first places frequently visited by the user.
In one example of the application, the determination module determines whether an increment of the distance between the current location and each of the first places is over a threshold, and accordingly the estimation module removes corresponding first places when the increment is over the threshold.
In one example of the application, the aforesaid calculation module calculates a moving speed of the electronic apparatus, estimates a time required to travel from the current location to each of the first places according to the moving speed, and accordingly the estimation module further displays the distance between the current location and each of the first places and the time required to leaver for each of the first places.
In one example of the application, the estimation module further adjusts the scale of the electronic map to adapt a display range of the electronic map to a minimum range covering the current location and the destination.
In one example of the application, the aforesaid apparatus further comprises a traffic information retrieving module, which is configured to retrieve real-time traffic information of a plurality of roads passed by in traveling from the current location to each of the first places, and accordingly mark traffic condition on the roads in the electronic map.
In one example of the application, when only one first place is left after removal, the estimation module confirms the first place as the destination, and accordingly plans and displays a route from the current location to the destination.
The application provides a recording medium, used for storing a computer program, which comprises a plurality of program codes for being loaded into an electronic apparatus to enable the electronic apparatus to execute a method for estimate and display a destination. The method comprises following steps. First, a plurality of places frequently visited by a user are set. Then, a current location of the electronic apparatus is continuously detected by a positioning module. A distance between the current location and each of the places is calculated and determined whether being increased. When the distance is increased, a scale of an electronic map is adjusted so as to remove corresponding places and display remaining places.
Based on the above, in the method, the apparatus, and the recording medium for estimate and display the destination, the distance between a current location of the electronic apparatus and each of a plurality of places is continuously detected, so as to estimate the destination the user intends to leave for. Besides, the application visualizes the procedure of the destination estimation by combining the electronic map and the real-time traffic information, and provides a better route for the user according to the real-time traffic condition, so as to improve the usage experience of the user.
To make the above features and advantages of the application more comprehensible, several examples accompanied with drawings are described in detail as follows.
First, the setting module 110 sets a plurality of places frequently visited by a user (step S201). In detail, when the user activates the apparatus 100, the places frequently visited by the user such as user's home, work place, school, fitness center, or supermarket may be set as the frequently visited places by the setting module 110.
Then, the calculation module 120 continuously detects a current location of the electronic apparatus by using a positioning module (not shown), and calculates a distance between the current location and each of the places (step S203). The positioning module may be a global positioning system (GPS), which can process satellite positioning signals so as to obtain longitude and latitude coordinates of the current location, or a positioning system that calculates the current location by using base stations or wireless network hotspots, which is not limited herein. The calculation module 120 may calculate the distance between the current location and each of the places by using the longitude and latitude coordinates thereof.
Then, the positioning module continuously detects the current location of the electronic apparatus, the calculation module 120 continuously calculates the distance between the current location and each of the places, and the determination module 130 determines whether the distance between the current location and each of the places increases, for example, determines whether the distance is increased within a preset time (step S205). When the distance is not increased within the preset time, the flow returns to step S203 for continuous detection. When the distance is increased within the preset time, the estimation module 140 adjusts a scale of the electronic map to remove the corresponding places, and displays each of the remaining places as the estimated destination.
For example, if the calculation module 120 calculates a distance between the current location and one of the places (for example, place A) is d1 and sets the preset time as 3 minutes. After the 3 minutes, if the calculation module 120 calculates the distance between the current location and the place A is over d1, it represents that the electronic apparatus gradually moves away from the place A. In other words, the possibility that the electronic apparatus returns back to the place A is relatively low, and therefore the estimation module 140 can remove the place A. The rest places may be deduced by analogy to be determined whether to be removed. Finally, the electronic apparatus displays the remaining places as the estimated destinations for the user to reference.
Through aforesaid destination estimating and display method, the electronic apparatus is able to obtain the destination that the user intends to go without additional operations performed by the user. In another example, the application further provides a plurality of method for setting the places frequently visited by the user, and combining the electronic map, real-time traffic information, and navigation system, so as to improve usage experience.
The differences from the previous example lie in that the history recording module 312 may record a history of positioning executed by the electronic apparatus, such that the setting module 310 is able to search for a plurality of places appeared in the history, and performs relative statistics calculation for those places. The calendar module 314 stores a calendar, such that the setting module is able to search for a plurality of places appeared in the events recorded in the calendar and set as the places frequently visited by the user. The input module 316 may receive at least one place manually input by a user. The traffic information retrieving module 350 may retrieve real-time traffic information of the roads.
First, referring to
In another example, the aforesaid places may be the places appeared in the calendar stored by the calendar module 314. The setting module 310 may search for a plurality of places appeared in the events recorded in the calendar through the calendar module 314, and accumulate an appearance number of times of each place, so as to set the places having the appearance number of times sorted ahead as the places frequently visited by the user. For example, the locations of the events recorded by the calendar module 314 may be the places regularly visited by the user, such as an inspection or a return diagnosis in the hospital, or a weekly yoga class. The setting module 310 may accumulate an appearance number of times of each place, and accordingly determine the places frequently visited by the user. In another example, the setting module 310 may execute the statistics day by day. In yet another example, the setting module 310 may add the places of to-do tasks within a preset time period, such as the places of to-do tasks in the present day, to the estimated places. In addition, the setting module 310 may obtain the places from the tasks, messages, or e-mails stored in the electronic apparatus, or from a social network or other data resources. According to the date of the recorded places, the setting module 310 may add the places in the day that the user uses the electronic apparatus to the estimated places.
Besides the aforesaid method for setting places through the history or the calendar, in another example, the aforesaid places may be the places manually input by the user. In detail, when the input 316 receives the places from the input operation of the user, the setting module 310 sets the input places as the places frequently visited by the user.
Then, the calculation module 320 detects a current location of the electronic apparatus by using a positioning module (not shown), and calculates a distance between the current location and each of the places (step S403). Similar to step S203, the positioning module may be GPS, which can process satellite positioning signals so as to obtain longitude and latitude coordinates of the current location. The calculation module 320 may calculate the distance between the current location and each of the places by using the longitude and latitude coordinates thereof.
After the distance between the current location and each of the places is obtained, the calculation module 320 may calculate a moving speed of the electronic apparatus and estimate the time required in traveling from the current location to each of the places according to the moving speed. The moving speed may be obtained according to a vehicle speed, and then used to calculate the time required to reach the corresponding place. In addition, the estimated time may be obtained according to a maximum speed limit or an average vehicle moving speed by existing algorithms.
After the distance between the current location and each of the places and the required time are obtained, the estimation module 340 may display a frame as shown in
It is noted herein that the destination estimating and display apparatus 300 may further integrate with an electronic map to display the current location and each of the places on the electronic map, and adjust a scale of the electronic map, so as to adapt an display range of the electronic map to cover the current location and the places (step S405), for example, a minimum range that can covers the current location and the places. For example, referring to
In addition, the destination estimating and display apparatus 300 may communicate with a traffic control center so as to obtain real-time traffic information. In detail, the traffic information retrieving module 350 may retrieve real-time traffic information of a plurality of roads passed by in traveling from the current location to each of the places, and accordingly marks traffic condition on the roads in the electronic map (step S407). For example, referring to
As the electronic apparatus moves, the positioning module continuously detects the current location, the calculation module 320 continuously calculates the distance between the current location and each of the places, and the determination module 330 determines whether the distance between the current location and each of the places increases within a preset time (step S409), so as to remove the place. The determination module 330 may determine whether an amount of distance increased before and after a preset time period is over a threshold, so as to remove the place. The technical detail may refer to the description of step S205 and is not repeated herein.
When the distance is not increased within the preset time, or the increment of distance is smaller than the threshold, the flow returns to step S403 for continuous detection. When the distance is increased in the preset time and the increment of distance is over the threshold, the estimation module 340 removes corresponding places from the electronic map (step S411). For example, the estimation module 340 may dynamically enlarge the scale of the electronic map to reduce the display range of the electronic map, so as to gradually remove the places with increased distance. That is to say the places being removed are the places that the user least visits and therefore are no longer being considered. Meanwhile, the increase of the scale of the electronic map may make the information displayed on the electronic map larger and clearer, so as to make the user easily view the desired information.
Regarding the remaining places, the estimation module 340 determines whether a number of the remaining places is equal to one (step S413). In the present example, if the number of remaining places is not equal to one, the flow returns to steps S403 for continuous location detection, so as to dynamically adjust the scale of the electronic map to remove the place according to the remaining places. In an example, when only one place is left on the electronic map, the estimation module 340 may confirm the place as the destination where the user intends to go, and accordingly plans and displays a route from the current location to the destination (step S415). For instance,
The application further provides a recording medium (i.e., a compact disc, a disc, and a removable disc, etc.) that records a computer-readable program so as to execute the aforementioned method for estimating and displaying the destination. Here, the program stored in the recording medium is generally composed of a plurality of code segments (i.e., an organization chart establishing program segment, an approval form program segment, a setting program segment, and a deployment program segment). Furthermore, a function of the code segments corresponds to the steps of the aforementioned method and the function block diagram of the apparatus described above.
In summary, in the method, the apparatus, and the recording medium for estimate and display the destination of the present application, the distance between a current location of the electronic apparatus and a plurality of places is continuously detected, so as to automatically estimate the destination the user intends to leave for. Besides, by combining the electronic map, the real-time traffic information, and the navigation system, the application may display an electronic map in traveling from the current location to each of the estimated destinations, and mark the real-time traffic information on the roads between the current location and the places. Accordingly, the application may assist the user in fast and efficiently reach the destination. In the overall flow, the user does not have to perform miscellaneous operations, and the electronic apparatus may know the destination that the user intends to go, and accordingly usage experience can be improved.
Although the application has been described with reference to the above examples, it will be apparent to one of ordinary skill in the art that modifications to the described examples may be made without departing from the spirit of the application. Accordingly, the scope of the application will be defined by the attached claims and not by the above detailed descriptions.
This application claims the priority benefit of U.S. provisional application Ser. No. 61/599,427, filed on Feb. 16, 2012. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
Number | Date | Country | |
---|---|---|---|
61599427 | Feb 2012 | US |