CN108088436B - Navigation information prompting method, terminal and computer readable storage medium - Google Patents

Navigation information prompting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108088436B
CN108088436B CN201711233996.0A CN201711233996A CN108088436B CN 108088436 B CN108088436 B CN 108088436B CN 201711233996 A CN201711233996 A CN 201711233996A CN 108088436 B CN108088436 B CN 108088436B
Authority
CN
China
Prior art keywords
navigation
route
software
navigation route
navigation software
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
Application number
CN201711233996.0A
Other languages
Chinese (zh)
Other versions
CN108088436A (en
Inventor
赵腾伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711233996.0A priority Critical patent/CN108088436B/en
Publication of CN108088436A publication Critical patent/CN108088436A/en
Application granted granted Critical
Publication of CN108088436B publication Critical patent/CN108088436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a navigation information prompting method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: controlling first navigation software to obtain a first navigation route based on the input first starting point and the first ending point; displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software; after receiving indication information indicating that the second navigation software is operated, controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point; when the ratio of the length of the repeated route of the second navigation route and the first navigation route to the length of the first navigation route is smaller than a set proportion threshold, displaying second prompt information, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not; therefore, when the navigation routes of the two navigation software have large difference, the user can know that one of the navigation routes is possibly wrong by sending the prompt information, and the user is prevented from going out according to the wrong navigation route.

Description

Navigation information prompting method, terminal and computer readable storage medium
Technical Field
The present invention relates to a positioning technology of a terminal, and in particular, to a navigation information prompting method, a terminal, and a computer-readable storage medium.
Background
At present, various navigation software on a terminal such as a mobile phone brings great convenience for people to go out; however, since different navigation software has different data updating speeds and accuracies, when some navigation software performs navigation based on a start point and an end point input by a user, an error may exist in a navigation route obtained, so that the navigation routes obtained by different navigation software have a large difference; it can be seen that if navigation is performed only by using navigation software with wrong navigation route, inconvenience is brought to the trip of the user.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a navigation information prompting method, a terminal, and a computer-readable storage medium, where when there is a large difference between navigation routes of two pieces of navigation software, a user can know that a navigation route of one piece of navigation software is wrong by sending out corresponding prompting information, so as to avoid going out according to the wrong navigation route.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a navigation information prompting method, which comprises the following steps:
when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point;
displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software;
after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
Optionally, after receiving indication information for indicating to run the second navigation software, the method further includes:
detecting whether the first navigation route is feasible by using the second navigation software;
and when the first navigation route is determined to be not feasible, generating prompt information for prompting that the first navigation route is wrong.
Optionally, when it is determined that the first navigation route is not feasible, the method further comprises:
controlling the first navigation software to be switched to a background to run, controlling the second navigation software to run in a foreground, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and displaying the second navigation route.
Optionally, after the second prompt message is displayed, the method further includes:
and displaying third prompt information after receiving the indication information for indicating to display the second navigation route, wherein the third prompt information is used for prompting to select a display mode of the second navigation route.
Optionally, after the third prompt information is displayed, the method further includes:
after receiving indication information for indicating that the second navigation route is displayed by using the second navigation software, controlling the first navigation software to be switched to a background to run, controlling the second navigation software to run in a foreground, and controlling the second navigation software to display the second navigation route.
Optionally, after the third prompt information is displayed, the method further includes:
and after receiving indication information for indicating that the second navigation route is displayed by using the first navigation software, controlling the first navigation software to display the second navigation route.
The embodiment of the invention also provides a terminal, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor; wherein the computer program when executed by the processor implements the steps of:
when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point;
displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software;
after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
Optionally, the computer program further implements the following steps when executed by the processor:
after receiving indication information for indicating to operate the second navigation software, detecting whether the first navigation route is feasible or not by using the second navigation software;
and when the first navigation route is determined to be not feasible, generating prompt information for prompting that the first navigation route is wrong.
Optionally, the computer program further implements the following steps when executed by the processor:
and after the second prompt message is displayed and the indication message for indicating the second navigation route is received, displaying a third prompt message, wherein the third prompt message is used for prompting the selection of the display mode of the second navigation route.
An embodiment of the present invention further provides a computer-readable storage medium, which is applied in a terminal, and the computer-readable storage medium stores a computer program,
the computer program, when executed by at least one processor, causes the at least one processor to perform the steps of any one of the navigation information prompting methods described above.
In the navigation information prompting method, the terminal and the computer readable storage medium provided by the embodiment of the invention, when first navigation software runs, the first navigation software is controlled to obtain a first navigation route based on an input first starting point and an input first ending point; displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software; after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point; and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not. Therefore, when the navigation routes of the two pieces of navigation software are greatly different, the user can know that the navigation route of one piece of navigation software is possibly wrong by sending out corresponding prompt information, and the user can be prevented from going out according to the wrong navigation route.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart of a navigation information prompting method according to an embodiment of the present invention;
fig. 4 is a first schematic interface diagram provided by the terminal according to the embodiment of the present invention;
fig. 5 is a schematic view of a second interface provided by the terminal according to the embodiment of the present invention;
fig. 6 is a third schematic view of an interface provided by the terminal according to the embodiment of the present invention;
fig. 7 is a fourth schematic view of an interface provided by the terminal according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a first memory 109, a first processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the first processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the first memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the first memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts 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 first processor 110, and can receive and execute commands sent by the first processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel may transmit the touch operation to the first processor 110 to determine the type of the touch event, and then the first processor 110 may provide a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The first memory 109 may be used to store software programs as well as various data. The first memory 109 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 first memory 109 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The first processor 110 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 first memory 109 and calling data stored in the first memory 109, thereby performing overall monitoring of the mobile terminal. The first processor 110 may include one or more processing units; preferably, the first processor 110 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 the first processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the first processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE System is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE System, but may be applied to other wireless communication systems, such as GSM (Global System for mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), and future new network systems, and the like.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
The first embodiment of the invention provides a navigation information prompting method which can be applied to a terminal with a navigation function.
Here, a plurality of navigation software may be provided on the terminal, and each navigation software may generate a navigation route based on a start point and an end point input by a user.
Optionally, the terminal described above may be a mobile terminal; the mobile terminal described above may be connected to the internet, where the connection may be performed through a mobile internet network provided by an operator, or through a network connected to a wireless access point.
Here, if the mobile terminal has an operating system, the operating system may be UNIX, Linux, Windows, Android (Android), Windows Phone, or the like.
It should be noted that the type, shape, size, and the like of the display screen on the mobile terminal are not limited, and the display screen on the mobile terminal may be a liquid crystal display screen, for example.
It is understood that when the navigation software is running, an interface for inputting a start point and an end point may be provided, and when the user inputs the start point and the end point, at least one navigation route may be generated; if a plurality of navigation routes are generated, one navigation route may be determined according to the selection of the user.
The following describes in detail the implementation of the embodiments of the present invention.
Fig. 3 is a flowchart of a navigation information prompting method according to an embodiment of the present invention, and as shown in fig. 3, the flowchart may include:
step 301: and when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point.
In actual implementation, after the terminal is determined to be started, the processor of the terminal controls the first navigation software to start running; the first navigation software can also be controlled by the processor of the terminal to start running when the click of the icon of the first navigation software by the user is received.
When the first navigation software is running, the processor of the terminal may control the first navigation software to generate an interface for inputting a first start point and a first end point; fig. 4 is a first schematic view of an interface provided by a terminal according to an embodiment of the present invention, and as shown in fig. 4, two input boxes on the interface displayed by the terminal are respectively used for inputting a first start point and a first end point.
After a user inputs a first starting point and a first ending point to a terminal, a first navigation route can be obtained based on a built-in program of first navigation software; alternatively, after the user inputs the first start point and the first end point to the terminal, a plurality of navigation routes may be derived based on a built-in program of the first navigation software, and then one navigation route is selected by the user as the first navigation route.
In practical implementation, the first start point and the first end point may be obtained by a processor of the terminal, and may also be stored in a memory of the terminal.
Step 302: and displaying first prompt information, wherein the first prompt information is used for prompting whether to start operating the second navigation software.
In actual implementation, a processor of the terminal may control generation of first prompt information, the first prompt information may be displayed in a superimposed manner on a display interface of the first navigation software, or the first prompt information may be controlled to be displayed after the first navigation software is switched to a background for operation.
For example, the first navigation software is denoted as software a, the second navigation software is denoted as software B, and fig. 5 is a second interface schematic diagram provided by the terminal according to the embodiment of the present invention, as shown in fig. 5, after the software a starts to run, information on whether to run the start software B is displayed on the interface of the terminal, and two options of "yes" and "no" are provided, so that the user can select the information.
In the embodiment of the present invention, the types of the first navigation software and the second navigation software are not limited.
Step 303: after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point.
Here, after the first prompt message is presented, the indication messages received by the terminal processor may be divided into two types, which are: indication information for indicating that the second navigation software is operated, and indication information for indicating that the second navigation software is rejected to be operated. And after the processor of the terminal receives the indication information for indicating to run the second navigation software, the second navigation software needs to be controlled to run in the background.
In practical implementation, the processor of the terminal may send the first start point and the first end point to the second navigation software, so that the second navigation software of the terminal derives the second navigation route based on the first start point and the first end point.
Optionally, the second navigation route may be directly obtained based on a built-in program of the second navigation software; alternatively, a plurality of navigation routes may be derived based on a built-in program of the second navigation software, and then one navigation route is selected by the user as the second navigation route.
It should be noted that after the first prompt message is displayed, if the prompt message for refusing to operate the second navigation software is received, it indicates that the user needs to go out based on the first navigation route provided by the first navigation software, and at this time, the process is directly ended.
Step 304: and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
In practical application, the processor may obtain the first navigation route and the second navigation route, and compare the first navigation route and the second navigation route; to facilitate comparing the first navigation route and the second navigation route, the second navigation route may be scaled according to a scale of the first navigation route.
By comparing the first and second navigation routes, the lengths of the repeated routes of the first and second navigation routes and the ratio of the length of the repeated route to the length of the first navigation route can be derived.
The set proportion threshold value may be set as needed, for example, the set proportion threshold value may be 33% or more. In actual implementation, the set proportion threshold value can be input into the terminal through a user input unit of the terminal.
Here, if the ratio of the length of the repeated route to the length of the first navigation route is less than the set ratio threshold, it indicates that there may be an error in the first navigation route, and the user may be prompted at this time.
In actual implementation, a processor of the terminal may control generation of second prompt information, the second prompt information may be displayed in a manner of being superimposed on a display interface of the first navigation software, or the second prompt information may be controlled to be displayed after the first navigation software is switched to a background for operation.
Here, after presenting the second prompting message, the indication message received by the terminal may be: indication information for indicating presentation of the second navigation route, or indication information for indicating refusal of presentation of the second navigation route.
And when the terminal receives indication information for indicating the display of the second navigation route, third prompt information can be generated and used for prompting the selection of the display mode of the second navigation route.
For example, the first navigation software is recorded as software a, the second navigation software is recorded as software B, fig. 6 is a third interface schematic diagram provided by the terminal according to the embodiment of the present invention, as shown in fig. 6, whether the second prompt information is displayed or not is displayed on the interface of the terminal, and two options of "yes" and "no" are provided, so that the user can select the option; after the user selects to display the second prompt information, the third prompt information can be displayed to obtain the interface schematic diagram shown in fig. 7, a display interface of the terminal displays a display mode of "please select the second navigation route", and two options of "software a" and "software B" are provided, so that the user can select conveniently.
Optionally, after the third prompt information is displayed, if instruction information for instructing to display the second navigation route by using the second navigation software is received, the first navigation software is controlled to be switched to a background to run, the second navigation software is controlled to run in a foreground, and the second navigation software is controlled to display the second navigation route;
after the third prompt message is displayed, if the indication message for indicating that the second navigation route is displayed by using the first navigation software is received, the first navigation software is controlled to display the second navigation route.
It should be noted that, after the terminal receives the indication information indicating that the display of the second navigation route is rejected, the process may be directly ended.
When the navigation information prompting method provided by the embodiment of the invention is applied, when first navigation software runs, the first navigation software is controlled to obtain a first navigation route based on an input first starting point and an input first ending point; displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software; after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point; obtaining the length of a repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not; therefore, when the navigation routes of the two pieces of navigation software are greatly different, the user can know that the navigation route of one piece of navigation software is possibly wrong by sending out corresponding prompt information, and the user can be prevented from going out according to the wrong navigation route.
Second embodiment
In order to further embody the object of the present invention, the first embodiment of the present invention is further illustrated.
In a second embodiment of the present invention, a flow of a navigation information prompting method may include:
step A1: the implementation of this step is the same as that of step 301, and is not described herein again.
Step A2: the implementation of this step is the same as that of step 302, and is not described here again.
Step A3: and after receiving indication information for indicating the running of the second navigation software, detecting whether the first navigation route is feasible or not by using the second navigation software.
In practical application, the processor of the terminal can send the first navigation route to the second navigation software; and generating prompt information for prompting that the first navigation route is wrong if the first navigation route is determined to be not feasible.
For example, in the second navigation software, if there is a road construction, a car accident, or a heavily congested road segment in the first navigation route, it is determined that the first navigation route is not feasible; here, the heavily congested link may be a link whose traffic speed is less than a set speed threshold.
For example, if it is determined that the first navigation route is not feasible, the first navigation software may be controlled to switch to a background operation, the second navigation software may be controlled to operate in a foreground, and the second navigation software may be controlled to derive a second navigation route based on the first start point and the first end point; and displaying the second navigation route.
That is to say, when the first navigation route is determined to be not feasible, it is indicated that the first navigation route has an error, and at this time, the second navigation software obtains a new navigation route, so that the user can be prevented from going out according to the wrong navigation route.
It should be noted that if the first navigation route is available, the first navigation software can be continuously utilized to provide navigation for the user.
Third embodiment
Based on the same technical concept as the foregoing embodiments, a third embodiment of the present invention provides a terminal.
Here, a plurality of navigation software may be provided on the terminal, and each navigation software may generate a navigation route based on a start point and an end point input by a user.
Optionally, the terminal described above may be a mobile terminal; the mobile terminal described above may be connected to the internet, where the connection may be performed through a mobile internet network provided by an operator, or through a network connected to a wireless access point.
Here, if the mobile terminal has an operating system, the operating system may be UNIX, Linux, Windows, Android (Android), Windows Phone, or the like.
It should be noted that the type, shape, size, and the like of the display screen on the mobile terminal are not limited, and the display screen on the mobile terminal may be a liquid crystal display screen, for example.
It is understood that when the navigation software is running, an interface for inputting a start point and an end point may be provided, and when the user inputs the start point and the end point, at least one navigation route may be generated; if a plurality of navigation routes are generated, one navigation route may be determined according to the selection of the user.
Referring to fig. 8, a terminal 80 according to an embodiment of the present invention is shown, which may include: a second memory 801, a second processor 802 and a computer program stored on the second memory and executable on the second processor, wherein,
the computer program when executed by the second processor implementing the steps of:
when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point;
displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software;
after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
In practical applications, the second Memory 801 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory) such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the second processor 802.
The second Processor 802 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is to be understood that the electronic device for implementing the second processor function may be other electronic devices, and the embodiment of the present invention is not limited in particular.
In actual implementation, after the terminal is determined to be started, the processor of the terminal controls the first navigation software to start running; the first navigation software can also be controlled by the processor of the terminal to start running when the click of the icon of the first navigation software by the user is received.
When the first navigation software is running, the processor of the terminal may control the first navigation software to generate an interface for inputting a first start point and a first end point; as shown in fig. 4, two input boxes on the interface displayed by the terminal are used for inputting a first start point and a first end point, respectively.
After a user inputs a first starting point and a first ending point to a terminal, a first navigation route can be obtained by utilizing a built-in program of first navigation software; alternatively, after the user inputs the first start point and the first end point to the terminal, a plurality of navigation routes may be obtained using a built-in program of the first navigation software, and then one navigation route is selected by the user as the first navigation route.
In practical implementation, the first start point and the first end point may be obtained by a processor of the terminal, and may also be stored in a memory of the terminal.
In actual implementation, a processor of the terminal may control generation of first prompt information, the first prompt information may be displayed in a superimposed manner on a display interface of the first navigation software, or the first prompt information may be controlled to be displayed after the first navigation software is switched to a background for operation.
For example, when the first navigation software is denoted as software a and the second navigation software is denoted as software B, as shown in fig. 5, after the software a starts to run, information on whether to run the start software B is displayed on an interface of the terminal, and two options of yes and no are provided to facilitate selection by the user.
In the embodiment of the present invention, the types of the first navigation software and the second navigation software are not limited.
Here, after the first prompt message is presented, the indication messages received by the terminal processor may be divided into two types, which are: indication information for indicating that the second navigation software is operated, and indication information for indicating that the second navigation software is rejected to be operated. And after the processor of the terminal receives the indication information for indicating to run the second navigation software, the second navigation software needs to be controlled to run in the background.
In practical implementation, the processor of the terminal may input the first start point and the first end point into the second navigation software, so that the second navigation software of the terminal derives the second navigation route based on the first start point and the first end point.
Optionally, a built-in program of the second navigation software can be used to directly obtain a second navigation route; alternatively, a plurality of navigation routes may be derived using a built-in program of the second navigation software, and then one navigation route may be selected by the user as the second navigation route.
It should be noted that after the first prompt message is displayed, if the prompt message for refusing to operate the second navigation software is received, it indicates that the user needs to go out based on the first navigation route provided by the first navigation software, and at this time, the process is directly ended.
In practical application, the processor may obtain the first navigation route and the second navigation route, and compare the first navigation route and the second navigation route; to facilitate comparing the first navigation route and the second navigation route, the second navigation route may be scaled according to a scale of the first navigation route.
By comparing the first and second navigation routes, the lengths of the repeated routes of the first and second navigation routes and the ratio of the length of the repeated route to the length of the first navigation route can be derived.
The set proportion threshold value may be set as needed, for example, the set proportion threshold value may be 33% or more. In actual implementation, the set proportion threshold value can be input into the terminal through a user input unit of the terminal.
Here, if the ratio of the length of the repeated route to the length of the first navigation route is less than the set ratio threshold, it indicates that there may be an error in the first navigation route, and the user may be prompted at this time.
In actual implementation, a processor of the terminal may control generation of second prompt information, the second prompt information may be displayed in a manner of being superimposed on a display interface of the first navigation software, or the second prompt information may be controlled to be displayed after the first navigation software is switched to a background for operation.
Here, after presenting the second prompting message, the indication message received by the terminal may be: indication information for indicating presentation of the second navigation route, or indication information for indicating refusal of presentation of the second navigation route.
Optionally, the computer program further implements the following steps when executed by the processor:
and after the second prompt message is displayed and the indication message for indicating the second navigation route is received, displaying a third prompt message, wherein the third prompt message is used for prompting the selection of the display mode of the second navigation route.
For example, the first navigation software is recorded as software a, the second navigation software is recorded as software B, and as shown in fig. 6, "whether to display the second prompt information" is displayed on the interface of the terminal, and two options of "yes" and "no" are provided, so that the user can select the options; after the user selects and displays the second prompt information, the third prompt information can be further displayed to obtain the interface diagram shown in fig. 7, a display interface of the terminal displays a display mode of "please select the second navigation route", and two options of "software a" and "software B" are provided, so that the user can conveniently select.
Optionally, the computer program further implements the following steps when executed by the processor:
after the third prompt message is displayed and indication information for indicating that the second navigation route is displayed by using the second navigation software is received, the first navigation software is controlled to be switched to a background to run, the second navigation software is controlled to run in a foreground, and the second navigation software is controlled to display the second navigation route.
Optionally, the computer program further implements the following steps when executed by the processor:
after the third prompt message is displayed and indication information for indicating that the second navigation route is displayed by the first navigation software is received, the first navigation software is controlled to display the second navigation route.
It should be noted that, after the terminal receives the indication information indicating that the second navigation route is rejected to be displayed, the process may be directly ended.
Fourth embodiment
Based on the same technical concept as the foregoing embodiments, a fourth embodiment of the present invention provides a computer-readable medium, which can be applied in a terminal; the technical solutions of the foregoing embodiments substantially or partially contribute to the prior art, or all or part of the technical solutions may be embodied in the form of a software product stored in a computer-readable storage medium, which includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method described in this embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Specifically, the computer program instructions corresponding to a navigation information prompting method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a U-disc, etc., and when the computer program instructions corresponding to a navigation information prompting method in the storage medium are read or executed by an electronic device, the at least one processor is caused to execute the steps of any one of the navigation information prompting methods in the foregoing embodiments of the present invention.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 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 (10)

1. A navigation information prompting method is characterized by comprising the following steps:
when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point;
displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software;
after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
2. The method according to claim 1, wherein after receiving indication information for indicating to run the second navigation software, the method further comprises:
detecting whether the first navigation route is feasible by using the second navigation software;
and when the first navigation route is determined to be not feasible, generating prompt information for prompting that the first navigation route is wrong.
3. The method of claim 2, wherein upon determining that the first navigation route is not feasible, the method further comprises:
controlling the first navigation software to be switched to a background to run, controlling the second navigation software to run in a foreground, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and displaying the second navigation route.
4. The method of claim 1, wherein after presenting the second prompting message, the method further comprises:
and displaying third prompt information after receiving the indication information for indicating to display the second navigation route, wherein the third prompt information is used for prompting to select a display mode of the second navigation route.
5. The method of claim 4, wherein after presenting the third prompting message, the method further comprises:
after receiving indication information for indicating that the second navigation route is displayed by using the second navigation software, controlling the first navigation software to be switched to a background to run, controlling the second navigation software to run in a foreground, and controlling the second navigation software to display the second navigation route.
6. The method of claim 4, wherein after presenting the third prompting message, the method further comprises:
and after receiving indication information for indicating that the second navigation route is displayed by using the first navigation software, controlling the first navigation software to display the second navigation route.
7. A terminal, characterized in that the terminal comprises a memory, a processor and a computer program stored on the memory and executable on the processor; wherein the computer program when executed by the processor implements the steps of:
when the first navigation software runs, controlling the first navigation software to obtain a first navigation route based on the input first starting point and the first ending point;
displaying first prompt information, wherein the first prompt information is used for prompting whether to start running second navigation software;
after receiving indication information for indicating to run the second navigation software, controlling the second navigation software to run in a background, and controlling the second navigation software to obtain a second navigation route based on the first starting point and the first ending point;
and obtaining the length of the repeated route of the second navigation route and the first navigation route, and displaying second prompt information when the ratio of the length of the repeated route to the length of the first navigation route is smaller than a set proportion threshold, wherein the second prompt information is used for prompting whether the second navigation route is displayed or not.
8. The terminal according to claim 7, wherein the computer program, when executed by the processor, further performs the steps of:
after receiving indication information for indicating to operate the second navigation software, detecting whether the first navigation route is feasible or not by using the second navigation software;
and when the first navigation route is determined to be not feasible, generating prompt information for prompting that the first navigation route is wrong.
9. The terminal according to claim 7, wherein the computer program, when executed by the processor, further performs the steps of:
and after the second prompt message is displayed and the indication message for indicating the second navigation route is received, displaying a third prompt message, wherein the third prompt message is used for prompting the selection of the display mode of the second navigation route.
10. A computer-readable storage medium, for use in a terminal, the computer-readable storage medium storing a computer program,
the computer program, when executed by at least one processor, causes the at least one processor to perform the steps of the method of any one of claims 1 to 6.
CN201711233996.0A 2017-11-30 2017-11-30 Navigation information prompting method, terminal and computer readable storage medium Active CN108088436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711233996.0A CN108088436B (en) 2017-11-30 2017-11-30 Navigation information prompting method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711233996.0A CN108088436B (en) 2017-11-30 2017-11-30 Navigation information prompting method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108088436A CN108088436A (en) 2018-05-29
CN108088436B true CN108088436B (en) 2020-02-18

Family

ID=62172588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711233996.0A Active CN108088436B (en) 2017-11-30 2017-11-30 Navigation information prompting method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108088436B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388471B (en) * 2018-10-18 2022-01-28 维沃移动通信有限公司 Navigation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101595393B1 (en) * 2014-05-22 2016-02-18 엘지전자 주식회사 Information providing system and method thereof
CN106546240A (en) * 2015-09-17 2017-03-29 小米科技有限责任公司 navigation processing method and device
US10169110B2 (en) * 2016-03-25 2019-01-01 Google Llc Navigation application programming interface
CN107404569B (en) * 2017-06-09 2020-10-02 海南飞特同创科技有限公司 System control method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN108088436A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN107222613B (en) Display method and terminal
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN107423238B (en) Screen projection connection method and device and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107979667B (en) Dual-screen display method, mobile terminal and computer-readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN111190559A (en) Screen projection control synchronization method, mobile terminal and computer readable storage medium
CN111324407A (en) Animation display method, terminal and computer readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN107194217B (en) User data access control method, apparatus and computer-readable storage medium
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN110209434B (en) Memory management method and device and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN108650404B (en) Port starting circuit, device and mobile terminal
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN108183833B (en) Response processing method and device and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN108184161B (en) Video playing method, mobile terminal and computer readable storage medium
CN107728789B (en) Starting method of one-hand operation mode, terminal and storage medium
CN108088436B (en) Navigation information prompting method, terminal and computer readable storage medium

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