CN108362303B - Navigation method and mobile terminal - Google Patents
Navigation method and mobile terminal Download PDFInfo
- Publication number
- CN108362303B CN108362303B CN201810141271.7A CN201810141271A CN108362303B CN 108362303 B CN108362303 B CN 108362303B CN 201810141271 A CN201810141271 A CN 201810141271A CN 108362303 B CN108362303 B CN 108362303B
- Authority
- CN
- China
- Prior art keywords
- navigation
- mobile terminal
- route
- information
- driving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3667—Display of a road map
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to the technical field of communication, and provides a navigation method and a mobile terminal, which aim to solve the problem of high traffic consumption in the conventional navigation mode. The method comprises the following steps: acquiring a navigation route currently navigated by the mobile terminal; determining whether the navigation route meets a preset condition; if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving. Therefore, when the navigation route meets the preset condition, the mobile terminal displays the key navigation information related to driving, but does not display information unrelated to driving, so that the trip of a user is not influenced, and the consumption of flow can be reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a navigation method and a mobile terminal.
Background
With the rapid development of mobile terminals, navigating and driving a trip using the mobile terminals has become a life style of people. Navigation is carried out through GPS (Global Positioning System), the mobile terminal can indicate the driving direction of the automobile in real time according to the starting point and the end point of the navigation, and the mobile terminal is convenient to operate by a user and high in Positioning accuracy. However, during navigation using the mobile terminal, data traffic needs to be turned on. If the route to be navigated is long, for example, when the user needs to drive a long distance on a highway, the navigation using the mobile terminal consumes a lot of traffic.
Therefore, the existing navigation mode has the problem of large flow consumption.
Disclosure of Invention
The embodiment of the invention provides a navigation method and a mobile terminal, aiming at solving the problem of high traffic consumption in the existing navigation mode.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a navigation method, including:
acquiring a navigation route currently navigated by the mobile terminal;
determining whether the navigation route meets a preset condition;
if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the acquisition module is used for acquiring a navigation route currently navigated by the mobile terminal;
the determining module is used for determining whether the navigation route acquired by the acquiring module meets a preset condition;
a first navigation module, configured to navigate in a first navigation manner if the determination module determines that the navigation route meets the preset condition, where the first navigation manner is a navigation manner in which key navigation information of the navigation route is displayed, and the key navigation information includes: information associated with driving.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the navigation method as described above when executing the computer program.
In the embodiment of the invention, a navigation route of the current navigation of the mobile terminal is obtained; determining whether the navigation route meets a preset condition; if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving. Therefore, when the navigation route meets the preset condition, the mobile terminal displays the key navigation information related to driving, but does not display information unrelated to driving, so that the trip of a user is not influenced, and the consumption of flow can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a navigation method provided by an embodiment of the invention;
FIG. 2 is a second flowchart of a navigation method according to an embodiment of the present invention;
fig. 3 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a determination module in a mobile terminal according to an embodiment of the present invention;
fig. 5 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a third block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a fourth structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a fifth structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a navigation method provided by an embodiment of the present invention, as shown in fig. 1, including the following steps:
In this step, when the mobile terminal starts the navigation function, the mobile terminal determines the navigation route according to the positions of the navigation starting point and the navigation ending point, and acquires the navigation route.
The navigation route may also be a navigation route re-planned by the mobile terminal during driving. For example, when the mobile terminal deviates from the original navigation route, the mobile terminal replans the route; and when the original navigation route is blocked, the user reselects the navigation route.
And 102, determining whether the navigation route meets a preset condition.
The preset condition may be a condition preset by the mobile terminal, or a condition set by the mobile terminal to receive a user operation in advance. The condition may specifically be a simple road condition of the navigation route, where the simple road condition may be no road change, and the distance and time of driving are long. For example, the preset condition is that the length of the route without the transformed road in the navigation route is more than 30 km.
The mobile terminal can acquire the characteristics of the navigation route in real time and determine whether the navigation route meets the preset conditions according to the characteristics of the navigation route.
The information related to driving may be information that needs to be focused by the driver during driving, such as road driving distance, time to exit the current road, and intersection information, congestion of the current road, speed limit, service station, and gas station. Since such information can guide the driver to drive, or the driver needs to use during driving, it can be understood as information associated with driving.
However, some information that is not related to driving, which is not usually paid attention to by the driver, such as a building near the navigation route, a mountain, and a branch that does not need to be driven in, may not be displayed.
When the navigation route meets the preset conditions, navigation is carried out according to a first navigation mode, namely, only the key navigation information of navigation is displayed, and information irrelevant to driving is not displayed, so that the consumption of flow can be reduced, and the travel requirements of the user can be met.
In addition, if the navigation route does not satisfy the preset condition, navigation may be performed according to other navigation manners, and the ending process shown in fig. 1 is only an example.
In the embodiment of the present invention, the navigation method may be applied to a mobile terminal, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The navigation method of the embodiment of the invention obtains the current navigation route of the mobile terminal; determining whether the navigation route meets a preset condition; if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving. Therefore, when the navigation route meets the preset condition, the mobile terminal displays the key navigation information related to driving, but does not display information unrelated to driving, so that the trip of a user is not influenced, and the consumption of flow can be reduced.
Referring to fig. 2, the main difference between the present embodiment and the above-mentioned embodiment is that if the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance, and/or if the estimated travel time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset time, it is determined that the navigation route meets the preset condition.
Fig. 2 is a flowchart of a navigation method according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
The implementation manner of this step may refer to the description in step 101, and is not described herein again to avoid repetition.
The current position of the mobile terminal in the navigation route can be understood as the position of the mobile terminal in the navigation route, and the route switching position can be understood as the first route switching position through which the mobile terminal exits from the current position along the navigation route. The estimated driving time of the mobile terminal from the current position to the route switching position can be determined according to the current moving speed of the mobile terminal, the speed limit of the road where the mobile terminal is located, the road condition and the like.
The first preset distance and the preset running time may both be preset and stored by the mobile terminal, for example, the first preset distance is set to 30km, and the preset running time is set to 1 hour. The first preset distance and the preset running time length can also be set and stored by the mobile terminal receiving the user operation in advance, so that the user can set according to the travel habits and the actual road conditions, and the travel requirements of the user are met.
In this step, the mobile terminal may only determine whether the distance between the current position of the mobile terminal and the route switching position is greater than a first preset distance, or only determine whether the estimated travel time from the current position of the mobile terminal to the route switching position is greater than a preset travel time, or may also determine the distance and time between the current position of the mobile terminal and the route switching position at the same time.
Optionally, after the step of determining whether the navigation route meets a preset condition, the method further includes: and if the navigation route does not meet the preset condition, navigating through a second navigation mode, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route.
In this embodiment, if the navigation route does not satisfy the preset condition, it is indicated that the road condition of the navigation route is relatively complex. The complex road conditions can include the situations that the number of times of lane changing is needed is large, traffic lights are large, or the driving distance of the navigation route is short, and the like.
The navigation information may include information related to driving, such as road condition information, driving time information, speed limit information, and the like, or may include information unrelated to driving, such as buildings, branches, parks, and the like around the navigation route.
Therefore, the mobile terminal can select and start the navigation mode according to the actual situation, the navigation mode is flexible, and the method is more suitable for the requirements of users.
It is to be noted that this embodiment can also be applied to the embodiment corresponding to fig. 1, and the same advantageous effects are achieved. To avoid repetition, further description is omitted here.
When only the distance between the current position of the mobile terminal and the route switching position is determined in step 202, in this step, if the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance, it is determined that the navigation route satisfies the preset condition.
When only the estimated travel time of the mobile terminal from the current position to the route switching position is determined in step 202, in this step, if the estimated travel time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset travel time, it is determined that the navigation route meets the preset condition.
When the distance between the current position of the mobile terminal and the route switching position and the estimated travel time are determined at the same time in step 202, in this step, if the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance and the estimated travel time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset travel time, it is determined that the navigation route meets the preset condition.
It should be noted that the flowchart shown in fig. 2 is merely an example.
The implementation manner of this step may refer to the description in step 103, and is not described herein again to avoid repetition.
Optionally, after the step of navigating in the first navigation manner if the navigation route meets the preset condition, the method further includes: if the distance from the current position of the mobile terminal to the route switching position is detected to be smaller than a second preset distance, or if the current position of the mobile terminal deviates from the navigation route, the first navigation mode is switched to a second navigation mode, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route.
During the navigation process, the mobile terminal can detect the position of the mobile terminal in the navigation route in real time. The current location of the mobile terminal may be understood as the location in the route the mobile terminal is navigating.
If the distance from the current position of the mobile terminal to the route switching position is smaller than the second preset distance, namely the mobile terminal is close to the route switching position, the fact that the mobile terminal needs to enter a turnout or turn is indicated, at the moment, the road condition possibly changes, the mobile terminal can switch the first navigation mode into the second navigation mode, and due to the fact that the mobile terminal can display all navigation information of the navigation route during navigation in the second navigation mode, a user can conveniently check the surrounding environment, and a needed place can be conveniently found.
For example, when the mobile terminal is driving at a high speed, the mobile terminal navigates through the first navigation mode; when the mobile terminal drives out at a high speed, the mobile terminal switches the first navigation mode into the second navigation mode due to the relatively complex road condition, so that a user can conveniently find a place to be parked, and the navigation mode is flexible.
In addition, if the current position of the mobile terminal is detected to deviate from the navigation route, the first navigation mode can be switched to the second navigation mode, and the navigation route can be planned again. At this time, the mobile terminal may re-execute the step of obtaining the navigation route currently navigated by the mobile terminal and determining whether the navigation route meets the preset condition. And if the preset condition is met, the navigation can be performed again through the first navigation mode.
Optionally, the key navigation information includes dynamic information that changes with the position of the mobile terminal; after the step of navigating in the first navigation mode if the navigation route meets the preset condition, the method further comprises: and updating the dynamic information of the navigation route according to a preset period.
In this embodiment, the key navigation information may include static information that does not change in a short time, for example, information such as an existing road, mountain, building, traffic light position, road speed limit, and the like; dynamic information that changes with the location of the mobile terminal and the passage of time may also be included, such as road congestion information, relative location information with respect to roads, relative location information with respect to traffic lights, and so forth.
After planning a navigation route, the mobile terminal displays key navigation information, wherein the key navigation information comprises static information and dynamic information. Along with the position change of the mobile terminal, the mobile terminal updates the dynamic information of the navigation route according to a preset period without updating the static information. Thus, the consumption of the flow rate can be reduced.
According to the navigation method provided by the embodiment of the invention, when the distance between the current position of the mobile terminal and the route switching position is longer and the estimated driving time is longer, the time required by the mobile terminal for navigation is longer, the consumed flow is more, the navigation can be carried out through the first navigation mode, the trip of a user is not influenced, and the flow consumption can be reduced.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal 300 includes: an acquisition module 301, a determination module 302, and a first navigation module 303.
An obtaining module 301, configured to obtain a navigation route currently navigated by the mobile terminal;
a determining module 302, configured to determine whether the navigation route acquired by the acquiring module 301 meets a preset condition;
a first navigation module 303, configured to navigate in a first navigation manner if the determining module 302 determines that the navigation route meets the preset condition, where the first navigation manner is a navigation manner in which key navigation information of the navigation route is displayed, and the key navigation information includes: information associated with driving.
Optionally, as shown in fig. 4, the determining module 302 includes:
a first determining submodule 3021, configured to determine whether a distance between a current position of the mobile terminal in the navigation route and a route switching position is greater than or equal to a first preset distance, and determine whether an estimated driving time of the mobile terminal from the current position to the route switching position is greater than or equal to a preset driving time;
a second determining submodule 3022, configured to determine that the navigation route meets the preset condition if the first determining submodule 3021 determines that the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance, and/or the first determining submodule 3021 determines that the estimated travel time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset travel time;
wherein the route switching position includes: and switching the position of the route closest to the current position of the mobile terminal.
Optionally, as shown in fig. 5, the mobile terminal further includes:
the switching module 304 is configured to switch the first navigation mode to a second navigation mode if it is detected that the distance from the current position of the mobile terminal to the route switching position is smaller than a second preset distance, or if it is detected that the current position of the mobile terminal deviates from the navigation route, where the second navigation mode is a navigation mode in which all navigation information of the navigation route is displayed.
Optionally, as shown in fig. 6, the key navigation information includes dynamic information that changes with the position of the mobile terminal; the mobile terminal further includes:
an updating module 305, configured to update the dynamic information of the navigation route according to a preset period.
Optionally, as shown in fig. 7, the mobile terminal further includes:
the second navigation module 306 is configured to navigate in a second navigation manner if the navigation route does not meet the preset condition, where the second navigation manner is a navigation manner in which all navigation information of the navigation route is displayed.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments corresponding to fig. 1 to fig. 2, and is not described herein again to avoid repetition.
According to the mobile terminal 300 of the embodiment of the invention, when the navigation route meets the preset condition, the mobile terminal displays the key navigation information related to driving, but does not display the information unrelated to driving, so that the trip of a user is not influenced, and the consumption of flow can be reduced.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to obtain a navigation route currently navigated by the mobile terminal; determining whether the navigation route meets a preset condition; if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving.
Therefore, when the navigation route meets the preset condition, the mobile terminal displays the key navigation information related to driving, but does not display information unrelated to driving, so that the trip of a user is not influenced, and the consumption of flow can be reduced.
Optionally, the processor 810 performs the step of determining whether the navigation route meets a preset condition, including: determining whether the distance between the current position of the mobile terminal in the navigation route and the route switching position is greater than or equal to a first preset distance or not, and determining whether the estimated driving time of the mobile terminal from the current position to the route switching position is greater than or equal to a preset driving time or not; if the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance, and/or the estimated driving time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset driving time, determining that the navigation route meets the preset condition; wherein the route switching position includes: and switching the position of the route closest to the current position of the mobile terminal.
Optionally, the processor 810 is further configured to switch the first navigation mode to a second navigation mode if it is detected that the distance from the current position of the mobile terminal to the route switching position is smaller than a second preset distance, or if it is detected that the current position of the mobile terminal deviates from the navigation route, where the second navigation mode is a navigation mode in which all navigation information of the navigation route is displayed.
Optionally, the key navigation information includes dynamic information that changes with the position of the mobile terminal; the processor 810 is further configured to update the dynamic information of the navigation route according to a preset period.
Optionally, the processor 810 is further configured to, if the navigation route does not meet the preset condition, perform navigation in a second navigation manner, where the second navigation manner is a navigation manner in which all navigation information of the navigation route is displayed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process in the above navigation method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the navigation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (7)
1. A navigation method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring a navigation route currently navigated by the mobile terminal;
determining whether the navigation route meets a preset condition;
if the navigation route meets the preset condition, navigating through a first navigation mode, wherein the first navigation mode is a navigation mode for displaying key navigation information of the navigation route, and the key navigation information comprises: information associated with driving;
the first navigation mode is a navigation mode which does not display information which is not related to driving; wherein the information unrelated to driving comprises buildings, mountain bodies and branches which do not need to be driven in the vicinity of the navigation route;
the information related to driving comprises road running distance, time for driving out of the current road and turnout information, congestion condition of the current road, speed limit condition, service station and gas station;
the step of determining whether the navigation route satisfies a preset condition includes:
determining whether the distance between the current position of the mobile terminal in the navigation route and the route switching position is greater than or equal to a first preset distance or not, and determining whether the estimated driving time of the mobile terminal from the current position to the route switching position is greater than or equal to a preset driving time or not;
if the distance between the current position of the mobile terminal and the route switching position is greater than or equal to the first preset distance, and/or the estimated driving time of the mobile terminal from the current position to the route switching position is greater than or equal to the preset driving time, determining that the navigation route meets the preset condition;
wherein the route switching position includes: a route switching position closest to the current position of the mobile terminal;
after the step of navigating in the first navigation mode if the navigation route meets the preset condition, the method further comprises:
if the distance from the current position of the mobile terminal to the route switching position is detected to be smaller than a second preset distance, or if the current position of the mobile terminal deviates from the navigation route, switching the first navigation mode into a second navigation mode, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route;
the information associated with driving and the information not associated with driving are set by a user at the mobile terminal according to travel habits.
2. The method of claim 1, wherein the key navigation information comprises dynamic information that varies with the location of the mobile terminal;
after the step of navigating in the first navigation mode if the navigation route meets the preset condition, the method further comprises:
and updating the dynamic information of the navigation route according to a preset period.
3. The method of claim 1, wherein after the step of determining whether the navigation route satisfies a preset condition, the method further comprises:
and if the navigation route does not meet the preset condition, navigating through a second navigation mode, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route.
4. A mobile terminal, comprising:
the acquisition module is used for acquiring a navigation route currently navigated by the mobile terminal;
the determining module is used for determining whether the navigation route acquired by the acquiring module meets a preset condition;
a first navigation module, configured to navigate in a first navigation manner if the determination module determines that the navigation route meets the preset condition, where the first navigation manner is a navigation manner in which key navigation information of the navigation route is displayed, and the key navigation information includes: information associated with driving;
the first navigation mode is a navigation mode which does not display information which is not related to driving; wherein the information unrelated to driving comprises buildings, mountain bodies and branches which do not need to be driven in the vicinity of the navigation route;
the information related to driving comprises road running distance, time for driving out of the current road and turnout information, congestion condition of the current road, speed limit condition, service station and gas station;
the determining module comprises:
the first determining submodule is used for determining whether the distance between the current position of the mobile terminal in the navigation route and the route switching position is larger than or equal to a first preset distance or not and determining whether the estimated driving time of the mobile terminal from the current position to the route switching position is larger than or equal to a preset driving time or not;
the second determining submodule is used for determining that the navigation route meets the preset condition if the first determining submodule determines that the distance between the current position of the mobile terminal and the route switching position is larger than or equal to the first preset distance and/or determines that the estimated driving time of the mobile terminal from the current position to the route switching position is larger than or equal to the preset driving time;
wherein the route switching position includes: a route switching position closest to the current position of the mobile terminal;
the switching module is used for switching the first navigation mode into a second navigation mode if the distance from the current position of the mobile terminal to the route switching position is detected to be smaller than a second preset distance, or if the current position of the mobile terminal deviates from the navigation route, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route;
the information associated with driving and the information not associated with driving are set by a user at the mobile terminal according to travel habits.
5. The mobile terminal of claim 4, wherein the key navigation information comprises dynamic information that varies with the location of the mobile terminal; the mobile terminal further includes:
and the updating module is used for updating the dynamic information of the navigation route according to a preset period.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the second navigation module is used for navigating in a second navigation mode if the navigation route does not meet the preset condition, wherein the second navigation mode is a navigation mode for displaying all navigation information of the navigation route.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the navigation method according to any one of claims 1 to 3 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810141271.7A CN108362303B (en) | 2018-02-11 | 2018-02-11 | Navigation method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810141271.7A CN108362303B (en) | 2018-02-11 | 2018-02-11 | Navigation method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108362303A CN108362303A (en) | 2018-08-03 |
CN108362303B true CN108362303B (en) | 2021-03-12 |
Family
ID=63005793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810141271.7A Active CN108362303B (en) | 2018-02-11 | 2018-02-11 | Navigation method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108362303B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110243383B (en) * | 2019-06-03 | 2024-03-01 | 平安科技(深圳)有限公司 | User home navigation method, device, computer equipment and storage medium |
CN111578962B (en) * | 2020-05-29 | 2022-05-20 | 阿波罗智联(北京)科技有限公司 | Data processing method and device, vehicle-end equipment and navigation system |
CN113085865A (en) * | 2021-03-31 | 2021-07-09 | 上海仙塔智能科技有限公司 | Driving mode control method, device, vehicle and computer storage medium |
CN113566838A (en) * | 2021-06-29 | 2021-10-29 | 中国联合网络通信集团有限公司 | Navigation method and system based on route complexity and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN200983004Y (en) * | 2006-10-30 | 2007-11-28 | 深圳Tcl新技术有限公司 | An energy saving device for navigation instrument |
CN104374399A (en) * | 2014-10-31 | 2015-02-25 | 北京搜狗科技发展有限公司 | Method and device for display of navigation information |
CN104777986B (en) * | 2015-03-20 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of navigation processing method and mobile terminal |
CN105865481B (en) * | 2016-03-31 | 2019-05-07 | 百度在线网络技术(北京)有限公司 | A kind of air navigation aid and device based on map |
-
2018
- 2018-02-11 CN CN201810141271.7A patent/CN108362303B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108362303A (en) | 2018-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9547435B2 (en) | Rendering across terminals | |
CN109041148B (en) | Mobile terminal operation method and mobile terminal | |
CN108519080B (en) | Navigation route planning method and terminal | |
CN108362303B (en) | Navigation method and mobile terminal | |
CN107846518B (en) | Navigation state switching method, mobile terminal and computer readable storage medium | |
CN110221737B (en) | Icon display method and terminal equipment | |
CN108051010B (en) | Method for determining time of arrival at destination and mobile terminal | |
CN108986528B (en) | Driving guide method, information indication method, terminal device and server | |
CN109040968B (en) | Road condition reminding method, mobile terminal and computer readable storage medium | |
WO2020063165A1 (en) | Navigation method and terminal device | |
CN111126995A (en) | Payment method and electronic equipment | |
CN111078088B (en) | Interface control method, electronic device, and computer-readable storage medium | |
CN111107219B (en) | Control method and electronic equipment | |
CN110456395B (en) | Positioning method and terminal equipment | |
CN109708657B (en) | Reminding method and mobile terminal | |
CN108917766B (en) | Navigation method and mobile terminal | |
CN111078819A (en) | Application sharing method and electronic equipment | |
CN110940339A (en) | Navigation method and electronic equipment | |
CN109005297B (en) | Display method of navigation application and mobile terminal | |
CN111158556B (en) | Display control method and electronic equipment | |
CN110470293B (en) | Navigation method and mobile terminal | |
CN109246305B (en) | Navigation processing method of navigation equipment, navigation equipment and mobile terminal | |
CN110035379B (en) | Positioning method and terminal equipment | |
CN111256678A (en) | Navigation method and electronic equipment | |
CN111256705A (en) | Navigation prompting method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |