CN107490380B - Navigation method, navigation device, storage medium and mobile terminal - Google Patents

Navigation method, navigation device, storage medium and mobile terminal Download PDF

Info

Publication number
CN107490380B
CN107490380B CN201710935088.XA CN201710935088A CN107490380B CN 107490380 B CN107490380 B CN 107490380B CN 201710935088 A CN201710935088 A CN 201710935088A CN 107490380 B CN107490380 B CN 107490380B
Authority
CN
China
Prior art keywords
navigation
mobile terminal
information
application
navigation application
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
CN201710935088.XA
Other languages
Chinese (zh)
Other versions
CN107490380A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710935088.XA priority Critical patent/CN107490380B/en
Publication of CN107490380A publication Critical patent/CN107490380A/en
Application granted granted Critical
Publication of CN107490380B publication Critical patent/CN107490380B/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
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments

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 application discloses a navigation method, a navigation device, a storage medium and a mobile terminal. The method comprises the following steps: detecting that the mobile terminal is in the vehicle; judging whether the navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal; if the navigation information cannot be obtained, restarting the first navigation application and obtaining the navigation information through the first navigation application; or if the navigation information cannot be acquired, switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal; and carrying out corresponding navigation operation according to the acquired navigation information. By adopting the technical scheme, the embodiment of the application can improve the reliability of the navigation function and the navigation efficiency of the mobile terminal.

Description

Navigation method, navigation device, storage medium and mobile terminal
Technical Field
The embodiment of the application relates to the technical field of navigation, in particular to a navigation method, a navigation device, a storage medium and a mobile terminal.
Background
With the development of communication technology, the use of various mobile terminals is becoming more and more popular, and mobile terminals have become indispensable tools in people's lives.
Currently, a mobile terminal is generally provided with a positioning module, such as a Global Positioning System (GPS) chip, so that a user of the mobile terminal can implement a navigation function through a navigation application (such as a hundred-degree map) loaded in the mobile terminal at any time in daily life. People use the navigation function most when driving, and many people like to use the mobile terminal to navigate when driving because some vehicles do not have the navigation function or the navigation map is not updated in time, and the like, and the navigation scheme of the mobile terminal still needs to be improved at present.
Disclosure of Invention
The embodiment of the application provides a navigation method, a navigation device, a storage medium and a mobile terminal, and can optimize a navigation scheme of the mobile terminal.
In a first aspect, an embodiment of the present application provides a navigation method, including:
detecting that the mobile terminal is in the vehicle;
judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal;
if the first navigation application is not started, the first navigation application is restarted and navigation information is obtained through the first navigation application; or if the navigation information cannot be acquired, switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal;
and carrying out corresponding navigation operation according to the acquired navigation information.
In a second aspect, an embodiment of the present application provides a navigation device, including:
the position detection module is used for detecting whether the mobile terminal is positioned in the vehicle;
the information acquisition and judgment module is used for judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal when the mobile terminal is detected to be positioned in a vehicle;
the information acquisition control module is used for restarting the first navigation application and acquiring the navigation information through the first navigation application when the navigation information cannot be acquired successfully through the first navigation application loaded in the mobile terminal, or switching to acquire the navigation information through the second navigation application loaded in the mobile terminal;
and the navigation operation module is used for carrying out corresponding navigation operation according to the acquired navigation information.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a navigation method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a positioning module, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the navigation method according to the embodiment of the present application.
According to the navigation scheme provided by the embodiment of the application, the mobile terminal is detected to be in the vehicle, which indicates that a user uses a navigation function in the vehicle and is in a driving state, at this time, whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal is judged, if the navigation information cannot be successfully acquired through the first navigation application, the first navigation application is restarted, the navigation information is acquired through the first navigation application, or the navigation information is acquired through a second navigation application loaded in the mobile terminal, and finally corresponding navigation operation is carried out according to the acquired navigation information. By adopting the technical scheme, when a user uses the mobile terminal to navigate in the driving process, if the navigation function is abnormal and the navigation information cannot be successfully acquired, the navigation application is restarted or switched to other navigation applications to continuously acquire the navigation information, so that the active operation of the user can be reduced, and the reliability of the navigation function and the navigation efficiency of the mobile terminal are improved.
Drawings
Fig. 1 is a schematic flowchart of a navigation method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a navigation method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of another navigation method provided in the embodiments of the present application;
FIG. 4 is a schematic flow chart illustrating another navigation method according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a navigation device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a navigation method provided in an embodiment of the present application, where the method may be performed by a navigation device, where the navigation device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, detecting that the mobile terminal is in the vehicle.
For example, the mobile terminal in the embodiment of the present application may include a mobile device provided with a positioning module, such as a mobile phone, a tablet computer, and a media player. The embodiment of the present application does not limit the type of the positioning module, and the positioning module may be a GPS, a beidou satellite navigation system, a GALILEO satellite navigation system (GALILEO), or the like.
For example, the mobile terminal may independently detect whether the mobile terminal is inside the vehicle, for example, determine whether the mobile terminal is in an in-vehicle navigation mode (which may be manually set and turned on by a user), and if so, detect that the mobile terminal is inside the vehicle. In addition, the mobile terminal and the vehicle can cooperate to complete the detection of whether the mobile terminal is in the vehicle, for example, whether the mobile terminal is in a communication connection state with the vehicle can be judged, and if the mobile terminal is in the communication connection state, the mobile terminal is detected to be in the vehicle; for another example, whether the mobile terminal receives a radio frequency signal sent by a vehicle may be determined, and if the radio frequency signal is received, it indicates that the user is close to the vehicle, the mobile terminal is determined to be located inside the vehicle. The detection mode may be other modes, and the embodiment of the present application is not limited.
And 102, judging whether the navigation information can be successfully acquired through the first navigation application loaded in the mobile terminal.
Illustratively, the navigation application may include navigation-like applications with navigation functions, such as Baidu maps, Google maps, and Gade maps, among others. The first navigation application may be any navigation-class application program loaded in the mobile terminal.
Optionally, before performing step 101, detecting whether the mobile terminal is inside the vehicle after detecting that the first navigation application is started; optionally, the method may also include: and when the first navigation application is detected to be started, receiving destination information input by a user, generating navigation route information, and detecting whether the mobile terminal is in the vehicle.
In the embodiment of the present application, the navigation information may include at least one of current geographic location information (e.g., longitude and latitude information), location information of a location identifier (e.g., an icon representing the current geographic location of the user) in a map (which may be represented by horizontal and vertical coordinates in the map), and indication information indicating that the user drives (e.g., "go straight" and "turn left 100 ahead", etc.).
For example, a variety of factors may cause the navigation information to be unsuccessfully acquired by the first navigation application, and therefore, the specific manner of determining whether the navigation information is successfully acquired by the first navigation application may be various, and several manners are given as illustrative descriptions below.
Firstly, whether a first navigation application can acquire current geographical position information from a positioning module in a mobile terminal is judged, if yes, the navigation information can be successfully acquired, and if not, the navigation information cannot be successfully acquired. In this way, it may be that the current location information cannot be acquired due to a problem in the call of the first navigation application to the positioning module, for example, the call of the positioning module is prohibited or interrupted, or an exception occurs in the call logic or code of the first navigation application itself.
And secondly, judging whether the navigation interface of the first navigation application is updated within a preset time length, and if not, determining that the navigation information cannot be successfully acquired. The preset time period may be set according to actual requirements, and may be 5 seconds, for example. In this way, the first navigation application may have a problem, for example, if a card machine is applied or a mobile terminal card screen occurs, the screen content of the mobile terminal may be stuck, and at this time, the navigation function cannot be provided, so that it may be determined that the navigation information cannot be successfully acquired; it is also possible that the navigation interface is unchanged due to the reasons in the first approach. The method has the advantages that various factors which are possibly abnormal in navigation can be considered more comprehensively, whether the navigation function can be realized through the first navigation application or not is judged accurately, and the navigation requirement of a user is met.
And thirdly, judging whether the navigation interface of the first navigation application is updated within a preset time length, if not, judging whether the mobile terminal is in a motion state within the preset time length, and if so, determining that the navigation information cannot be successfully acquired. For example, whether the mobile terminal is in a motion state may be detected by a sensor such as an acceleration sensor or a gyroscope. The advantage of this optimization is that it avoids the situation where the vehicle is parked due to traffic congestion or waiting for a red light being misjudged as not being able to successfully acquire the navigation information.
It should be understood that the above three modes are only illustrative and are not intended to limit the embodiments of the present application.
Step 103, if the navigation information cannot be obtained, restarting the first navigation application and obtaining the navigation information through the first navigation application; or if the navigation information cannot be acquired, switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal.
It can be understood that, when the navigation information cannot be obtained through the first navigation application, the navigation function is affected, the navigation service cannot be normally provided for the user, and the driving of the user is affected. In the embodiment of the application, when the mobile terminal automatically detects the situation, a solution can be automatically provided, the user does not need to manually operate the mobile terminal to recover the navigation function, and the distraction of the user in the driving process is avoided.
For example, if the navigation information cannot be acquired by the first navigation application, the first navigation application may be restarted and the acquisition of the navigation information by the first navigation application may be attempted again. The restart process may be triggered automatically by the mobile terminal or after the user is queried. For example, the user is reminded through words or voice that the current navigation application is abnormal and whether to restart, and when the user selects 'yes' through voice or other modes, the first navigation application is restarted.
Optionally, restarting the first navigation application and acquiring navigation information through the first navigation application may include: and acquiring destination information in the first navigation application, closing and then starting the first navigation application, and acquiring navigation information according to the destination information through the first navigation application. The advantage of setting up like this does not need the user to manually re-input the destination, improves navigation efficiency, and is more intelligent, avoids causing the interference to user's driving.
For example, if the navigation information cannot be obtained through the first navigation application, the method may switch to obtaining the navigation information through a second navigation application loaded in the mobile terminal. The switching process can be automatically triggered by the mobile terminal or triggered after the user is inquired. Optionally, prompting a user whether to switch to obtain navigation information through a second navigation application loaded in the mobile terminal; and when receiving a switching confirmation instruction input by a user, switching to obtain navigation information through a second navigation application loaded in the mobile terminal. For example, the user is reminded through words or voice that the current navigation application is abnormal and whether to switch to other navigation applications, and when the user selects 'yes' through voice or other modes, the second navigation application is entered. The mode of inquiring the user has the advantages that the user can make a selection in a voice mode without leaving the steering wheel or viewing screen options, and the driving of the user is prevented from being interfered, wherein the will of the user is respected.
Optionally, switching to obtain navigation information through a second navigation application loaded in the mobile terminal may include: obtaining destination information in the first navigation application; transmitting the destination information to a second navigation application loaded in the mobile terminal; and controlling the second navigation application to acquire navigation information according to the destination information. The advantage of setting up like this does not need the user to manually input the destination again in the second navigation is used, improves navigation efficiency, and is more intelligent, avoids causing the interference to user's driving.
And step 104, performing corresponding navigation operation according to the acquired navigation information.
Illustratively, the navigation interface can be updated according to the acquired navigation information, and voice navigation prompts can be played; when the mobile terminal is in a communication connection state with the vehicle, the image corresponding to the navigation interface can be mapped to the display screen of the vehicle.
According to the navigation method provided by the embodiment of the application, whether the navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal or not is judged when the mobile terminal is detected to be in the vehicle, which indicates that a user uses the navigation function in the vehicle and is in a driving state, if the navigation information cannot be successfully acquired through the first navigation application loaded in the mobile terminal, the first navigation application is restarted and the navigation information is acquired through the first navigation application or the navigation information is acquired through a second navigation application loaded in the mobile terminal, and finally corresponding navigation operation is carried out according to the acquired navigation information. By adopting the technical scheme, when a user uses the mobile terminal to navigate in the driving process, if the navigation function is abnormal and the navigation information cannot be successfully acquired, the navigation application is restarted or switched to other navigation applications to continuously acquire the navigation information, so that the active operation of the user can be reduced, and the reliability of the navigation function and the navigation efficiency of the mobile terminal are improved.
In some embodiments, because the screen of a mobile terminal such as a mobile phone is usually small and inconvenient to view, and the vehicle is generally provided with a display screen, and the size of the display screen is usually larger than that of the mobile terminal, the communication connection between the mobile terminal and the vehicle can be established in a wired or wireless manner, and the navigation interface in the mobile terminal is displayed on the display screen of the vehicle. The wired mode may include a Universal Serial Bus (USB) connection, and the Wireless mode may include a bluetooth connection, an infrared connection, and a Wireless Fidelity (WiFi) hotspot connection. Correspondingly, the detecting that the mobile terminal is in the vehicle interior includes: detecting that the mobile terminal and the vehicle are in a communication connection state; the corresponding navigation operation is performed according to the acquired navigation information, and the method comprises the following steps: and sending the acquired navigation information to the vehicle, wherein the navigation information is used for instructing the vehicle to provide the navigation information for a user. Illustratively, an image corresponding to a navigation interface containing navigation information or an image corresponding to a navigation interface generated by the navigation information is sent to the vehicle, and the image is used for instructing the vehicle to display the navigation interface on a display screen, so that synchronous display of the navigation interface between the vehicle and the mobile terminal is realized.
In some embodiments, the switching to acquire navigation information through a second navigation application loaded in the mobile terminal includes: detecting whether other navigation application programs except the first navigation application program are loaded in the mobile terminal or not; if the navigation application is loaded, determining a second navigation application from the other navigation application programs; and switching to acquiring navigation information through the second navigation application. This has the advantage that the switching speed can be increased by preferentially selecting the navigation application already loaded in the mobile terminal as a substitute navigation application for the second navigation application. For example, when the other navigation applications include a plurality of applications, the second navigation application may be selected according to the factors such as the historical usage times and/or the historical usage duration of each application. Switching to acquiring navigation information by the second navigation application may include: judging whether the second navigation application is in a background running state, if so, switching the second navigation application to foreground running, and acquiring navigation information through the second navigation application; and if the position is not in the preset position, starting a second navigation application, and acquiring navigation information through the second navigation application.
Further, if it is detected that other navigation application programs except the first navigation application program are not loaded in the mobile terminal, acquiring an installation file of a second navigation application program; and installing the second navigation application in the mobile terminal by using the installation file. Illustratively, a browser or an application store may be accessed, a new navigation application may be downloaded and installed as a second navigation application, and the second navigation application may be launched to obtain navigation information via the second navigation application. Illustratively, the step of accessing the browser or application store may be triggered automatically by the mobile terminal, or may be triggered upon querying the user. For example, the user is reminded by words or voice that "the current navigation application is abnormal, no alternative navigation application is found, whether an alternative navigation application is downloaded online", when the user selects "yes" by voice or other means, the browser or application store is accessed, and a new navigation application is downloaded and installed as the second navigation application. Optionally, after accessing the browser or the application store, the navigation application with the highest score may be selected according to the score of each navigation application for downloading and installing.
In some embodiments, the step involving querying the user may prompt the user for a selection when the corresponding condition first occurs, and may automatically perform the corresponding step based on the user's last selection when the corresponding same condition occurs again.
Fig. 2 is a schematic view of an application scenario of a navigation method according to an embodiment of the present application. As shown in fig. 2, the mobile terminal and the vehicle are in a communication connection state, and the following description will be given by taking a mode of connection through a USB connection line as an example. Fig. 3 is a schematic flow chart of another navigation method according to an embodiment of the present application, where the method includes the following steps:
step 301, detecting that the mobile terminal is connected with the automobile through a USB line, and performing online navigation by using a navigation application A in the mobile terminal.
Optionally, the system is connected with an automobile-mounted video player system through a USB cable.
For example, in the process of performing online navigation, an image corresponding to a navigation interface of a navigation application a in the mobile terminal may be obtained in real time, and the image is sent to the automobile, where the image is used to instruct the automobile to display the navigation interface on a display screen of the vehicle-mounted video player system.
Step 302, judging whether the navigation application A is jammed, if so, executing step 303; otherwise, step 302 is repeated.
When the navigation application A is stuck, the screen picture can be stuck, the point touch does not respond, and the navigation signal is interrupted (namely, no signal exists suddenly), so that the navigation does not respond.
Step 303, detecting whether other navigation application programs except the navigation application A are loaded in the mobile terminal, if so, executing step 304; otherwise, step 306 is performed.
Step 304, prompting the user whether to switch to the alternative navigation application, and judging whether the user agrees to switch, if so, executing step 305; otherwise, step 309 is performed.
Illustratively, a text prompt pops up or a voice prompt plays: "is the current navigation software abnormal and the system has found an alternative navigation application for you, and is switching? ". The user can inform the mobile terminal of the selection result in a voice mode and the like.
And 305, acquiring the destination information in the navigation application A, starting the navigation application B, transmitting the destination information to the navigation application B, controlling the navigation application B to acquire the navigation information according to the destination information, and executing 308.
Step 306, prompting the user whether to download the alternative navigation application, and judging whether the user agrees to download, if yes, executing step 307; otherwise, step 309 is performed.
Illustratively, a text prompt pops up or a voice prompt plays: "is the current navigation software abnormal, does the system find no alternative navigation application in your installed directory, does it download an alternative navigation application online using a browser? ". The user can inform the mobile terminal of the selection result in a voice mode and the like.
307, acquiring destination information in the navigation application A, starting a browser to download the navigation application C on line, automatically installing and starting the navigation application C, transmitting the destination information to the navigation application C, controlling the navigation application C to acquire navigation information according to the destination information, and executing 308.
And 308, generating a navigation interface according to the acquired navigation information, and sending an image corresponding to the navigation interface to the automobile, wherein the image is used for indicating the automobile to display the corresponding navigation interface on a display screen.
Step 309, retry to obtain navigation information through the navigation application a.
According to the navigation method provided by the embodiment of the application, when the current navigation application is abnormal and cannot continue navigation, a cruising scheme can be automatically provided for a user to select, relevant cruising operation can be automatically completed according to the user selection, distracted driving for the user is avoided, manual recovery after special parking is avoided, and a fussy processing process is omitted.
Fig. 4 is a schematic flowchart of another navigation method provided in an embodiment of the present application, where the method includes:
step 401, detecting that the mobile terminal is connected with the automobile through bluetooth, and performing online navigation by using a navigation application D in the mobile terminal.
For example, in the process of performing online navigation, an image corresponding to a navigation interface of a navigation application D in the mobile terminal may be obtained in real time, and the image is sent to the automobile, where the image is used to instruct the automobile to display the navigation interface on a display screen of the vehicle-mounted video player system.
Step 402, judging whether the navigation application D is stuck or not, if so, executing step 403; otherwise, step 402 is repeated.
Step 403, detecting whether other navigation application programs except the navigation application D are loaded in the mobile terminal, if so, executing step 404; otherwise, step 405 is performed.
And step 404, acquiring destination information in the navigation application D, starting the navigation application E, transmitting the destination information to the navigation application E, controlling the navigation application E to acquire navigation information according to the destination information, and executing step 406.
And 405, acquiring destination information in the navigation application D, downloading the navigation application F from an application store on line, automatically installing and starting the navigation application F, transmitting the destination information to the navigation application F, controlling the navigation application F to acquire the navigation information according to the destination information, and executing 406.
And 406, generating a navigation interface according to the acquired navigation information, and sending an image corresponding to the navigation interface to the automobile, wherein the image is used for indicating the automobile to display the corresponding navigation interface on a display screen.
According to the navigation method provided by the embodiment of the application, when the current navigation application is abnormal and cannot continue navigation, the navigation method can be automatically switched to other navigation applications for continuation of the journey, thereby avoiding distracted driving for users, avoiding manual recovery after special parking, and omitting a fussy processing process.
Fig. 5 is a block diagram of a navigation device according to an embodiment of the present disclosure, which may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform navigation by executing a navigation method. As shown in fig. 5, the apparatus includes:
a position detection module 501, configured to detect whether the mobile terminal is located inside a vehicle;
an information obtaining and determining module 502, configured to determine whether navigation information can be successfully obtained through a first navigation application loaded in the mobile terminal when it is detected that the mobile terminal is located inside a vehicle;
an information obtaining control module 503, configured to restart a first navigation application loaded in the mobile terminal and obtain navigation information through the first navigation application when the navigation information cannot be successfully obtained through the first navigation application, or switch to obtain navigation information through a second navigation application loaded in the mobile terminal;
and a navigation operation module 504, configured to perform corresponding navigation operations according to the acquired navigation information.
The navigation device provided by the embodiment of the application detects that the mobile terminal is in the vehicle, which indicates that a user uses a navigation function in the vehicle and is in a driving state, at this time, whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal is judged, if not, the first navigation application is restarted and navigation information is acquired through the first navigation application, or the navigation device is switched to acquire navigation information through a second navigation application loaded in the mobile terminal, and finally corresponding navigation operation is performed according to the acquired navigation information. By adopting the technical scheme, when a user uses the mobile terminal to navigate in the driving process, if the navigation function is abnormal and the navigation information cannot be successfully acquired, the navigation application is restarted or switched to other navigation applications to continuously acquire the navigation information, so that the active operation of the user can be reduced, and the reliability of the navigation function and the navigation efficiency of the mobile terminal are improved.
Optionally, the position detection module is configured to: detecting that the mobile terminal and the vehicle are in a communication connection state;
the navigation operation module is used for: and sending the acquired navigation information to the vehicle, wherein the navigation information is used for instructing the vehicle to provide the navigation information for a user.
Optionally, the switching to acquire navigation information through a second navigation application loaded in the mobile terminal includes:
detecting whether other navigation application programs except the first navigation application program are loaded in the mobile terminal or not;
if the navigation application is loaded, determining a second navigation application from the other navigation application programs;
and switching to acquiring navigation information through the second navigation application.
Optionally, the apparatus further comprises:
the installation module is used for acquiring an installation file of a second navigation application if the navigation application is not loaded after detecting whether other navigation application programs except the first navigation application are loaded in the mobile terminal; and installing the second navigation application in the mobile terminal by using the installation file.
Optionally, the determining whether the navigation information can be successfully acquired through the first navigation application loaded in the mobile terminal includes:
and judging whether the navigation interface of the first navigation application loaded in the mobile terminal is updated within a preset time length, and if not, determining that the navigation information cannot be successfully acquired.
Optionally, the switching to acquire navigation information through a second navigation application loaded in the mobile terminal includes:
obtaining destination information in the first navigation application;
transmitting the destination information to a second navigation application loaded in the mobile terminal;
and controlling the second navigation application to acquire navigation information according to the destination information.
Optionally, the switching to acquire navigation information through a second navigation application loaded in the mobile terminal includes:
prompting a user whether to switch to obtain navigation information through a second navigation application loaded in the mobile terminal;
and when receiving a switching confirmation instruction input by a user, switching to obtain navigation information through a second navigation application loaded in the mobile terminal.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a navigation method, the method comprising:
detecting that the mobile terminal is in the vehicle;
judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal;
if the first navigation application is not started, the first navigation application is restarted and navigation information is obtained through the first navigation application; or if the navigation information cannot be acquired, switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal;
and carrying out corresponding navigation operation according to the acquired navigation information.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the navigation operations described above, and may also perform related operations in the navigation method provided in any embodiments of the present application.
The embodiment of the application provides a mobile terminal, and the navigation device provided by the embodiment of the application can be integrated in the mobile terminal. Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 6, the mobile terminal 600 may include: the navigation system comprises a memory 601, a positioning module 602, a processor 603 and a computer program stored on the memory 601 and executable by the processor 603, wherein the processor 603 implements the navigation method according to the embodiment of the present application when executing the computer program.
According to the mobile terminal provided by the embodiment of the application, when a user uses the mobile terminal to navigate in a driving process, if the navigation function is abnormal and the navigation information cannot be successfully acquired, the navigation application is restarted or switched to other navigation applications to continuously acquire the navigation information, so that the active operation of the user can be reduced, and the reliability of the navigation function and the navigation efficiency of the mobile terminal are improved.
Fig. 7 is a schematic structural diagram of another mobile terminal provided in the embodiment of the present application, and as shown in fig. 7, the mobile terminal may include: a housing (not shown), a memory 701, a Central Processing Unit (CPU) 702 (also called a processor, hereinafter referred to as CPU), a GPS chip 713, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU702 and the memory 701 are provided on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 701 is used for storing executable program codes; the CPU702 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 701 to implement the steps of:
detecting that the mobile terminal is in the vehicle;
judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal;
if the first navigation application is not started, the first navigation application is restarted and navigation information is obtained through the first navigation application; or if the navigation information cannot be acquired, switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal;
and carrying out corresponding navigation operation according to the acquired navigation information.
The mobile terminal further includes: peripheral interfaces 703, RF (Radio Frequency) circuitry 705, audio circuitry 706, speakers 711, power management chip 708, input/output (I/O) subsystems 709, other input/control devices 170, touch screen 712, other input/control devices 170, and external port 704, which communicate via one or more communication buses or signal lines 707.
It should be understood that the illustrated mobile terminal 700 is merely one example of a mobile terminal and that the mobile terminal 700 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes the mobile terminal for navigation provided in this embodiment in detail, and the mobile terminal is a mobile phone as an example.
A memory 701, the memory 701 being accessible by the CPU702, the peripheral interface 703, and the like, the memory 701 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 703, said peripheral interface 703 may connect input and output peripherals of the device to the CPU702 and the memory 701.
An I/O subsystem 709, which I/O subsystem 709 may connect input and output peripherals on the device, such as the touch screen 712 and other input/control devices 170, to the peripheral interface 703. The I/O subsystem 709 may include a display controller 7071 and one or more input controllers 7092 for controlling other input/control devices 170. Among other things, one or more input controllers 7092 receive electrical signals from or transmit electrical signals to other input/control devices 170, and other input/control devices 170 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 7092 may be connected to any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 712, the touch screen 712 being an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 7071 in the I/O subsystem 709 receives electrical signals from the touch screen 712 or transmits electrical signals to the touch screen 712. The touch screen 712 detects a contact on the touch screen, and the display controller 7071 converts the detected contact into an interaction with a user interface object displayed on the touch screen 712, i.e., implements a human-computer interaction, and the user interface object displayed on the touch screen 712 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 705 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 705 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 705 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electric signal, and transmit the electric signal to the speaker 711.
The speaker 711 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 705 into sound and play the sound to the user.
And a power management chip 708 for supplying power and managing power to the hardware connected to the CPU702, the I/O subsystem, and the peripheral interface.
The GPS chip 713 is used to acquire satellite signals and calculate position information.
The navigation device, the storage medium and the mobile terminal provided in the above embodiments can execute the navigation method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to the navigation method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A navigation method, comprising:
detecting that the mobile terminal is in the vehicle;
judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal;
if the navigation information cannot be acquired, automatically switching to acquiring the navigation information through a second navigation application loaded in the mobile terminal;
performing corresponding navigation operation according to the acquired navigation information;
wherein the determining whether the navigation information can be successfully acquired through the first navigation application loaded in the mobile terminal includes: judging whether a navigation interface of the first navigation application is updated within a preset time length; if not, judging whether the mobile terminal is in a motion state within the preset time length; if so, determining that the navigation information cannot be successfully acquired.
2. The method of claim 1, wherein the detecting that the mobile terminal is inside the vehicle comprises:
detecting that the mobile terminal and the vehicle are in a communication connection state;
the corresponding navigation operation is performed according to the acquired navigation information, and the method comprises the following steps:
and sending the acquired navigation information to the vehicle, wherein the navigation information is used for instructing the vehicle to provide the navigation information for a user.
3. The method according to claim 1, wherein the switching to acquiring navigation information through a second navigation application loaded in the mobile terminal comprises:
detecting whether other navigation application programs except the first navigation application program are loaded in the mobile terminal or not;
if the navigation application is loaded, determining a second navigation application from the other navigation application programs;
and switching to acquiring navigation information through the second navigation application.
4. The method according to claim 3, wherein after detecting whether other navigation applications than the first navigation application are loaded in the mobile terminal, the method further comprises:
if not, acquiring an installation file of the second navigation application;
and installing the second navigation application in the mobile terminal by using the installation file.
5. The method of claim 1, wherein determining whether navigation information can be successfully obtained through a first navigation application loaded in the mobile terminal comprises:
and judging whether the navigation interface of the first navigation application loaded in the mobile terminal is updated within a preset time length, and if not, determining that the navigation information cannot be successfully acquired.
6. The method according to claim 1, wherein the switching to acquiring navigation information through a second navigation application loaded in the mobile terminal comprises:
obtaining destination information in the first navigation application;
transmitting the destination information to a second navigation application loaded in the mobile terminal;
and controlling the second navigation application to acquire navigation information according to the destination information.
7. The method according to claim 1, wherein the switching to acquiring navigation information through a second navigation application loaded in the mobile terminal comprises:
prompting a user whether to switch to obtain navigation information through a second navigation application loaded in the mobile terminal;
and when receiving a switching confirmation instruction input by a user, switching to obtain navigation information through a second navigation application loaded in the mobile terminal.
8. A navigation device, comprising:
the position detection module is used for detecting whether the mobile terminal is positioned in the vehicle;
the information acquisition and judgment module is used for judging whether navigation information can be successfully acquired through a first navigation application loaded in the mobile terminal when the mobile terminal is detected to be positioned in a vehicle;
the information acquisition control module is used for automatically switching to acquire navigation information through a second navigation application loaded in the mobile terminal when the navigation information cannot be acquired successfully through a first navigation application loaded in the mobile terminal;
the navigation operation module is used for carrying out corresponding navigation operation according to the acquired navigation information;
wherein the determining whether the navigation information can be successfully acquired through the first navigation application loaded in the mobile terminal includes: judging whether a navigation interface of the first navigation application is updated within a preset time length; if not, judging whether the mobile terminal is in a motion state within the preset time length; if so, determining that the navigation information cannot be successfully acquired.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the navigation method according to any one of claims 1 to 7.
10. A mobile terminal, characterized in that it comprises a memory, a positioning module, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the navigation method according to any one of claims 1 to 7 when executing the computer program.
CN201710935088.XA 2017-10-10 2017-10-10 Navigation method, navigation device, storage medium and mobile terminal Active CN107490380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710935088.XA CN107490380B (en) 2017-10-10 2017-10-10 Navigation method, navigation device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710935088.XA CN107490380B (en) 2017-10-10 2017-10-10 Navigation method, navigation device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107490380A CN107490380A (en) 2017-12-19
CN107490380B true CN107490380B (en) 2020-03-10

Family

ID=60654218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710935088.XA Active CN107490380B (en) 2017-10-10 2017-10-10 Navigation method, navigation device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107490380B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108458706A (en) * 2017-12-25 2018-08-28 达闼科技(北京)有限公司 A kind of air navigation aid, device, cloud server and computer program product
CN109141457B (en) * 2018-08-28 2021-04-20 百度在线网络技术(北京)有限公司 Navigation evaluation method and device, computer equipment and storage medium
CN113432619A (en) * 2021-06-24 2021-09-24 海信集团控股股份有限公司 Navigation route display method, vehicle and mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169182A (en) * 2010-02-26 2011-08-31 宏达国际电子股份有限公司 Mobile navigation device
CN102695250A (en) * 2011-03-24 2012-09-26 中国电信股份有限公司 Third-party positioning method, system thereof, and mobile terminal
CN103425494A (en) * 2013-08-06 2013-12-04 惠州华阳通用电子有限公司 Information interaction system of vehicle-mounted terminal and smart mobile terminal
CN103678019A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for automatically restoring browser
CN104182167A (en) * 2013-05-27 2014-12-03 阿尔派株式会社 Display device, display device operation method and information display system
CN104333844A (en) * 2014-11-12 2015-02-04 沈阳美行科技有限公司 Interconnection method of vehicle-mounted terminal and smart phone
CN106713446A (en) * 2016-12-20 2017-05-24 北京五八信息技术有限公司 Relocation method and device, server and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169182A (en) * 2010-02-26 2011-08-31 宏达国际电子股份有限公司 Mobile navigation device
CN102695250A (en) * 2011-03-24 2012-09-26 中国电信股份有限公司 Third-party positioning method, system thereof, and mobile terminal
CN103678019A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for automatically restoring browser
CN104182167A (en) * 2013-05-27 2014-12-03 阿尔派株式会社 Display device, display device operation method and information display system
CN103425494A (en) * 2013-08-06 2013-12-04 惠州华阳通用电子有限公司 Information interaction system of vehicle-mounted terminal and smart mobile terminal
CN104333844A (en) * 2014-11-12 2015-02-04 沈阳美行科技有限公司 Interconnection method of vehicle-mounted terminal and smart phone
CN106713446A (en) * 2016-12-20 2017-05-24 北京五八信息技术有限公司 Relocation method and device, server and mobile terminal

Also Published As

Publication number Publication date
CN107490380A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
JP5619626B2 (en) Automatic mode switching device
JP5494573B2 (en) Display device, portable communication terminal, and display system
US8762059B1 (en) Navigation system application for mobile device
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
US9285963B2 (en) In-car information system, information terminal, and application execution method
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN106357714B (en) Mobile terminal, control method, audio/video/navigation terminal, and vehicle management center
US10462276B2 (en) Function selection in a portable device coupled to the head unit of a vehicle
JP5585545B2 (en) Short-range communication system, vehicle equipment, and portable communication terminal
CN107490380B (en) Navigation method, navigation device, storage medium and mobile terminal
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
EP3817349A1 (en) Portable vehicle touch screen device utilizing functions of smart phone
CN108681474B (en) Application preloading method and device, storage medium and terminal
WO2022089310A1 (en) Satellite finding method and device
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108965610B (en) Incoming call control method and device in navigation process and mobile terminal
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
JP4539702B2 (en) In-vehicle device
JP6663824B2 (en) Navigation system and computer program
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment
CN111123338B (en) Positioning method and device, electronic equipment and storage medium
JP2013054027A (en) Course guide device, course guide method, and program
CN108156313B (en) Positioning control method and device, storage medium and terminal equipment
KR20190020940A (en) Method and apparatus for determining location using identification information corresponding external electronic device

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant