1. Technical Field
The present disclosure relates to a mobile device with a navigation function and a method thereof.
2. Description of Related Art
In general, mobile devices with Global Position System (GPS) navigation function are useful but expensive, so not everyone can afford one. However, a user with one can share the function manually through message functions with a user who does not have the device with GPS. However, using a manual method is not convenient and is time consuming, and prone to human error.
Therefore, what is needed is a mobile device with an automatic method for sharing navigation functions and a navigation method.
When the requester mobile device 10 wants to acquire information on a route segment, the requester mobile device 10 sends an route inquiry message to the replier mobile device 20. The replier mobile device 20 acquires the information of the inquiry route segment via its GPS function according to the route inquiry message, automatically edits a reply message including the acquired route information, and sends the edited message to the requester mobile device 10.
The route inquiry message has a predetermined message format. That is, the route inquiry message includes a message type flag and an address flag.
The message type flag is configured to indicate the type of the route inquiry message. In the exemplary embodiment, there are two methods to indicate the message type. The first method is for automatically bundling predetermined content into the message heading of the route inquiry message to indicate the message type, such as “route consultation”, “route inquiry”, and so on.
The second method is for setting a predetermined suffix to distinguish the route inquiry message from other type messages, such as, “.Irm”. In other exemplary embodiments, the requester mobile device 10 can also apply other methods to indicate the type of the route inquiry message, for example, setting predetermined keywords in the route inquiry message to indicate the type of the route inquiry message.
The address flag is configured to indicate a departure location and a destination of the route segment in the route inquiry message. In the exemplary embodiment, there are two methods to indicate the departure location and the destination of the route segment. The first method automatically bundles predetermined keywords into the content of the message to indicate the departure location and the destination. For example, when editing the route inquiry message, the predetermined keywords, such as “departure” and “destination”, will are automatically loaded into the content of the message; accordingly, the user can input the departure location behind the predetermined keyword “departure” and the destination behind the predetermined keyword “destination”.
The second method sets an identification sequence to indicate the departure location and the destination. For example, the requester mobile device 10 can define a first location as the departure location, and a second location as the destination. In other exemplary embodiment, the user may input only one location; the requester mobile device 10 will set the input location as the departure location, and set the location of the replier mobile device 20 as the destination. Also, the requester mobile device 10 can apply other methods to indicate the address flag.
The processing unit 200 includes a message type identification module 210, a location determining module 220, a route detection module 230, and a message generating module 240.
The message type identification module 210 is configured to identify whether the received message is a route inquiry message according to the message type flag. For example, the message type identification module 210 obtains the message heading or the suffix of the message to identify the message type.
In the exemplary embodiment, the processing unit 200 deals with the received message in a general manner if the message type identification module 210 identifies that the received message is not a route inquiry message. The general manner includes, but is not limited to, displaying the message, forwarding the message, or replying the message, and so on.
The location determining module 220 is configured to determine a departure location and a destination in the route inquiry message according to the address flag. For example, the location determining module 220 identifies the predetermined keywords or the identification sequence to determine the departure location and the destination.
The route detection module 230 is configured to acquire route information between the departure location and the destination according to the GPS unit 30.
The message generating module 240 is configured to automatically generate a reply message including the acquired route, and send the generated message to the requester mobile device 10 via the sending unit 400. In the exemplary embodiment, the reply message can be generated in two methods. The first method is for editing the determined route in a text form to generate a text reply message including critical route information. The second method is for obtaining a map of the area including the departure location and the destination via the GPS unit 30 to generate a multi-media reply message. The critical route information of the determined route includes, but is not limited to, road names, walking distance, driving distance, orientation, and landmarks, and so on. The critical route information of the determined route has been obtained from the GPS unit 30, which delivers the critical route information by voice and/or text.
In step S610, the receiving unit 100 receives messages sent by the requester mobile device 10 or other mobile devices.
In step S620, the message type identification module 210 identifies whether the received message is a route inquiry message according to according to the message type flag.
In step S630, the processing unit 200 deals with the received message in a general manner if the received message is not a route inquiry message.
In step S640, the location determining module 220 determines a departure location and a destination in the route inquiry message according to the address flag if the received message is a route inquiry message.
In step S650, the route detection module 230 acquires route information between the departure location and the destination via the GPS unit 30.
In step S660, the message generating module 240 automatically generates a reply message including the acquired route information, and sends the generated reply message to the requester mobile device 10 via the sending unit 400.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200910301317.8 | Apr 2009 | CN | national |