Navigation method and device

By automatically adjusting the navigation destination according to the remaining traffic during navigation, the safety problem caused by insufficient traffic during navigation is solved, and safe and efficient navigation without manual recharge is achieved.

CN114777802BActive Publication Date: 2025-09-23VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210423576.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-21
Publication Date
2025-09-23
Estimated Expiration
2042-04-21

AI Technical Summary

Technical Problem

During the navigation process, when the remaining traffic is insufficient to support it, the existing technology cannot obtain real-time navigation information, which affects driving safety.

Method used

By obtaining the remaining traffic of the electronic device, the navigation destination is changed from the first location to the second location when it is insufficient, ensuring that the traffic required for navigation to the second location is less than the first location, avoiding manual recharge.

Benefits of technology

It improves driving safety and avoids mid-journey recharge operations due to insufficient traffic by automatically adjusting the navigation destination, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114777802B_ABST
    Figure CN114777802B_ABST
Patent Text Reader

Abstract

The present application discloses a navigation method and device, belonging to the field of navigation technology. The navigation method includes: obtaining the remaining traffic of the electronic device during navigation to a first location via an electronic device; determining a second location based on the remaining traffic if the remaining traffic is less than a first traffic, wherein the first traffic is the traffic required to navigate to the first location; and changing the navigation destination from the first location to a second location to navigate to the second location, wherein the traffic required to navigate to the second location is less than the first traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of navigation technology, and specifically relates to a navigation method and device. Background Art

[0002] Navigation is the process of guiding a vehicle to move from one place to another.

[0003] In related technologies, during the navigation process, the traffic often runs out, resulting in the inability to obtain real-time navigation information (for example, road information, traffic information, speed limit information, etc.). At this time, if the user manually recharges the traffic while driving the vehicle, it will affect driving safety. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide a navigation method and device that can solve problems that affect driving safety.

[0005] In a first aspect, an embodiment of the present application provides a navigation method, including:

[0006] During navigation to the first location using the electronic device, obtaining the remaining flow of the electronic device;

[0007] determining a second location according to the remaining flow rate when the remaining flow rate is less than the first flow rate, wherein the first flow rate is the flow rate required for navigating to the first location;

[0008] The navigation destination is changed from the first location to the second location to navigate to the second location, wherein a flow rate required for navigating to the second location is less than the first flow rate.

[0009] In a second aspect, an embodiment of the present application provides a navigation device, comprising:

[0010] an acquisition module, configured to acquire the remaining flow of the electronic device during navigation to the first location via the electronic device;

[0011] a determination module, configured to determine a second location based on the remaining flow rate when the remaining flow rate is less than a first flow rate, wherein the first flow rate is a flow rate required for navigating to the first location;

[0012] The changing module is used to change the navigation destination from the first location to the second location to navigate to the second location, wherein the traffic required for navigating to the second location is less than the first traffic.

[0013] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0017] In an embodiment of the present application, during navigation to a first location via an electronic device, the remaining traffic of the electronic device is obtained; when the remaining traffic is less than the first traffic, the second location is determined based on the remaining traffic, wherein the first traffic is the traffic required for navigation to the first location; the navigation destination is changed from the first location to the second location to navigate to the second location, wherein the traffic required for navigation to the second location is less than the first traffic. Since the traffic required for navigation to the second location is less than the traffic required for navigation to the first location, during navigation to the first location, when the remaining traffic is less than the traffic required for navigation to the first location, that is, when the remaining traffic cannot support navigation to the first location, by changing the navigation destination to the second location, manual traffic recharge is not required during navigation to the second location, thereby improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flowchart of the navigation method provided by the embodiment of the present application;

[0019] Figure 2 This is a schematic diagram of the navigation process provided by an embodiment of the present application;

[0020] Figure 3 is a structural diagram of a navigation device provided in an embodiment of the present application;

[0021] Figure 4 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of the hardware structure of the electronic device implementing the embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0024] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0025] The navigation method and device provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0026] Figure 1 : is a flowchart of the navigation method provided in an embodiment of the present application. The navigation method may include:

[0027] Step 101: Acquire the remaining data of the electronic device during navigation to a first location via the electronic device;

[0028] Step 102: When the remaining flow rate is less than the first flow rate, determining a second location based on the remaining flow rate, wherein the first flow rate is the flow rate required for navigating to the first location;

[0029] Step 103: Changing the navigation destination from the first location to a second location to navigate to the second location, wherein the traffic required for navigating to the second location is less than the first traffic.

[0030] The specific implementation of each of the above steps will be described in detail below.

[0031] In some possible implementations of the embodiment of the present application, the second location in the embodiment of the present application may be a location where the vehicle can be parked safely, such as a parking lot, a highway service area, etc.

[0032] For example, assume that the first location is location A. During navigation to location A using an electronic device, the remaining data usage of the electronic device is 80 megabytes (MB). At this time, the data usage required to navigate to location A is 100 MB. A second location is determined based on the remaining data usage. For example, if the second location is location B and the data usage required to navigate to location B is 20 MB, the navigation destination is changed from location A to location B, and navigation is then performed to location B.

[0033] In an embodiment of the present application, during navigation to a first location via an electronic device, the remaining traffic of the electronic device is obtained; when the remaining traffic is less than the first traffic, the second location is determined based on the remaining traffic, wherein the first traffic is the traffic required for navigation to the first location; the navigation destination is changed from the first location to the second location to navigate to the second location, wherein the traffic required for navigation to the second location is less than the first traffic. Since the traffic required for navigation to the second location is less than the traffic required for navigation to the first location, during navigation to the first location, when the remaining traffic is less than the traffic required for navigation to the first location, that is, when the remaining traffic cannot support navigation to the first location, by changing the navigation destination to the second location, manual traffic recharge is not required during navigation to the second location, thereby improving driving safety.

[0034] In some possible implementations of the embodiments of the present application, step 102 may include: obtaining location information of M candidate locations and traffic information required to navigate to each of the M candidate locations, where M is a positive integer; determining a second location from the M candidate locations based on the location information and traffic information, where the second location meets a preset condition.

[0035] In some possible implementations of the present application embodiment, the M candidate locations are all locations where the car can be safely parked. Specifically, the M candidate locations can be locations where the car can be safely parked within a range of several kilometers (e.g., 1 kilometer) near the current location.

[0036] In some possible implementations of the embodiment of the present application, the second position in the embodiment of the present application satisfies the preset condition that: the second position is the position with the least navigation traffic consumption among the M candidate positions.

[0037] In some possible implementations of the embodiments of the present application, the second position in the embodiments of the present application may also meet the preset conditions: when there are N candidate positions with navigation traffic less than the remaining traffic, the second position is the position closest to the current position, where 2≤N≤M, and N is a positive integer.

[0038] In some possible implementations of the embodiments of the present application, step 103 may include: obtaining a second flow required for navigating to a second location; changing the navigation destination from the first location to the second location, and automatically recharging the target flow when the second flow is greater than the remaining flow.

[0039] In some possible implementations of the embodiment of the present application, the sum of the target flow and the remaining flow is greater than or equal to the second flow.

[0040] It is understood that the embodiments of the present application do not limit the order of the steps of changing the navigation destination and automatically recharging the data flow. That is, the navigation destination may be changed from the first location to the second location first, and then the target data flow may be automatically recharged; or the target data flow may be automatically recharged first, and then the navigation destination may be changed from the first location to the second location.

[0041] In some possible implementations of the embodiments of the present application, the target traffic may be the traffic corresponding to the smallest traffic package among multiple traffic packages provided by the operator, the sum of which with the remaining traffic being greater than or equal to the second traffic.

[0042] Typically, when you recharge your data plan, operators will provide data packages of different sizes, such as 50MB, 100MB, 200MB, 500MB, 1GB, 2GB, etc.

[0043] For example, assuming that the remaining traffic of the electronic device is 80MB and the traffic required to navigate to the second location is 150MB, the traffic corresponding to the smallest traffic package in the above traffic package whose sum is greater than 150MB with 80MB will be automatically recharged, that is, 100MB will be automatically recharged.

[0044] It is understandable that if the acquired second flow rate is less than or equal to the remaining flow rate, the navigation destination can be directly changed from the first location to the second location.

[0045] In some possible implementations of the embodiments of the present application, the navigation method provided by the embodiments of the present application may further include: outputting a prompt message when arriving at the second location; wherein the prompt message is used to prompt the user to recharge the traffic, and the amount of the traffic recharge is associated with the third traffic, and the third traffic is the traffic required to navigate from the second location to the first location.

[0046] The embodiment of the present application does not limit the method used to prompt the user to recharge the data flow, and any available method can be applied to the embodiment of the present application, such as a pop-up prompt, a voice prompt, a vibration prompt, etc.

[0047] In some possible implementations of the embodiments of the present application, the amount of traffic recharge is associated with the third traffic, and the sum of the amount of traffic recharge and the remaining traffic is greater than or equal to the third traffic.

[0048] For example, after arriving at the second location, it is determined that the traffic required to navigate from the second location to the first location is 50MB, and the current remaining traffic is 30MB. The user can be prompted "To navigate from the second location to the first location, you need to recharge at least 20MB."

[0049] In this embodiment of the present application, by prompting the user to top up their data at the second location, after the user tops up their data, the remaining data can be sufficient to meet the data requirements for navigating from the second location to the first location. During the process of driving the vehicle from the second location to the first location, the user does not need to top up their data, which can improve driving safety.

[0050] In some possible implementations of the embodiments of the present application, the navigation method provided by the embodiments of the present application may further include: upon receiving a traffic recharge operation from the user, if it is detected that the remaining traffic is greater than the third traffic, changing the navigation destination to the first location.

[0051] For example, assume that the first location is A and the second location is B. When arriving at B and recharging the data, it is detected that the remaining data is greater than the data required to navigate from the second location to the first location. The navigation destination is changed from B to A, and navigation is then carried out to A.

[0052] In some possible implementations of the embodiments of the present application, by changing the navigation destination to the first location, the user does not need to manually change the navigation destination, which can improve the user experience.

[0053] In some possible implementations of the embodiments of the present application, the navigation method provided by the embodiments of the present application may also include: before navigating to the first location through the electronic device, determining the fourth traffic required to navigate from the current location to the first location; when the fourth traffic is less than the current remaining traffic of the electronic device, prompting the user to recharge the traffic and then trigger navigation to the first location.

[0054] For example, assuming that the first location is place A, when the user enters place A in the navigation software but has not yet triggered navigation to place A, it is determined that the traffic required to navigate from the current location to place A is 100MB, and the remaining traffic of the electronic device is 80MB, the user is prompted to recharge the traffic before triggering navigation to place A.

[0055] In the embodiment of the present application, by prompting the user to recharge the data in advance, it is possible to avoid the situation where the user's data is insufficient to navigate to the destination during driving.

[0056] In some possible implementations of the embodiments of the present application, when a traffic recharge reminder is given in advance, the amount of traffic recharge may be associated with the fourth traffic.

[0057] In some possible implementations of the embodiment of the present application, the amount of traffic recharge is associated with the fourth traffic, and the sum of the amount of traffic recharge and the remaining traffic is greater than or equal to the fourth traffic.

[0058] The present application does not limit the method used to determine the traffic flow required for navigating from one location to another, and any applicable method can be applied to the present application. For example, based on user navigation information and big data judgment, the traffic flow required for navigating from one location to another can be simulated and calculated.

[0059] Figure 2 It is a schematic diagram of the navigation process provided by an embodiment of the present application.

[0060] The user inputs a source destination (ie, the first location) into the navigation software of the electronic device.

[0061] Determine the traffic required to navigate from the user's current location to the source destination and obtain the remaining traffic of the electronic device.

[0062] When the traffic required to navigate from the user's current location to the source destination is greater than the remaining traffic of the electronic device, the user is prompted to recharge the traffic.

[0063] When an input for triggering navigation to the source destination is received, navigation to the source destination is triggered, and navigation to the source destination begins.

[0064] During navigation to the source destination, when it is detected that the remaining traffic is less than the traffic required for navigation from the user's current location to the source destination, a second location is determined from a plurality of candidate locations based on the remaining traffic.

[0065] The navigation destination is changed to a second location, the second location is navigated to, and the target traffic is automatically recharged when the traffic required for navigating from the user's current location to the second location is greater than the remaining traffic of the electronic device.

[0066] When arriving at the second location, the user is prompted to recharge the traffic.

[0067] After the traffic is recharged, the navigation destination is changed from the second location to the source destination, and navigation is performed to the source destination.

[0068] It is understandable that during navigation through an electronic device, the remaining flow of the electronic device may change at any time, and as the vehicle moves, the current location of the user and the current location of the electronic device may also change at any time.

[0069] It should be noted that the navigation method provided in the embodiment of the present application can be executed by a navigation device. In the embodiment of the present application, the navigation method performed by the navigation device is taken as an example to illustrate the navigation device provided in the embodiment of the present application.

[0070] Figure 3 3 is a schematic diagram of the structure of a navigation device provided in an embodiment of the present application. The navigation device 300 may include:

[0071] An acquisition module 301 is configured to acquire the remaining data flow of the electronic device during navigation to the first location via the electronic device;

[0072] a determination module 302 for determining a second location based on the remaining flow rate when the remaining flow rate is less than a first flow rate, wherein the first flow rate is a flow rate required for navigating to the first location;

[0073] The changing module 303 is configured to change the navigation destination from the first location to the second location, so as to navigate to the second location, wherein the traffic flow required for navigating to the second location is less than the first traffic flow.

[0074] In an embodiment of the present application, during navigation to a first location via an electronic device, the remaining traffic of the electronic device is obtained; when the remaining traffic is less than the first traffic, the second location is determined based on the remaining traffic, wherein the first traffic is the traffic required for navigation to the first location; the navigation destination is changed from the first location to the second location to navigate to the second location, wherein the traffic required for navigation to the second location is less than the first traffic. Since the traffic required for navigation to the second location is less than the traffic required for navigation to the first location, during navigation to the first location, when the remaining traffic is less than the traffic required for navigation to the first location, that is, when the remaining traffic cannot support navigation to the first location, by changing the navigation destination to the second location, manual traffic recharge is not required during navigation to the second location, thereby improving driving safety.

[0075] In some possible implementations of the embodiments of the present application, the determining module 302 may include:

[0076] An acquisition submodule is used to obtain location information of M candidate locations and traffic information required for navigating to each of the M candidate locations, where M is a positive integer;

[0077] The first determining submodule is configured to determine a second location from the M candidate locations based on the location information and the traffic information, wherein the second location satisfies a preset condition.

[0078] In some possible implementations of the embodiment of the present application, the changing module 303 may include:

[0079] a second determining submodule, configured to determine a second flow rate required for navigating to a second location;

[0080] a change submodule, configured to change the navigation destination from a first location to a second location;

[0081] The recharging submodule is used to automatically recharge the target flow when the second flow is greater than or equal to the remaining flow.

[0082] In some possible implementations of the embodiments of the present application, the navigation device 300 may further include:

[0083] A prompt module, configured to output a prompt message when the second position is reached;

[0084] The prompt information is used to prompt the user to recharge the traffic, and the amount of the traffic recharge is associated with the third traffic, which is the traffic required to navigate from the second location to the first location.

[0085] In this embodiment of the present application, by prompting the user to top up their data at the second location, after the user tops up their data, the remaining data can be sufficient to meet the data requirements for navigating from the second location to the first location. During the process of driving the vehicle from the second location to the first location, the user does not need to top up their data, which can improve driving safety.

[0086] In some possible implementations of the embodiment of the present application, the changing module 303 may also be used to:

[0087] When receiving a traffic recharge operation from the user, if it is detected that the remaining traffic is greater than the third traffic, the navigation destination is changed to the first location.

[0088] In some possible implementations of the embodiments of the present application, by changing the navigation destination to the first location, the user does not need to manually change the navigation destination, which can improve the user experience.

[0089] The navigation device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0090] The navigation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0091] The navigation device provided in the embodiment of the present application can achieve Figures 1 to 2 To avoid repetition, the various processes in the navigation method embodiment are not described here.

[0092] Optional, such as Figure 4 As shown, an embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores a program or instruction that can be run on the processor 401, and when the program or instruction is executed by the processor 401, the various steps of the above-mentioned navigation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0093] In some possible implementations of the embodiments of the present application, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0094] In some possible implementations of the embodiments of the present application, the memory 402 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory 402 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the navigation method according to the embodiments of the present application.

[0095] Figure 5 It is a schematic diagram of the hardware structure of the electronic device implementing the embodiment of the present application.

[0096] The electronic device 500 includes but is not limited to components such as a radio frequency unit 501 , a network module 502 , an audio output unit 503 , an input unit 504 , a sensor 505 , a display unit 506 , a user input unit 507 , an interface unit 508 , a memory 509 , and a processor 510 .

[0097] Those skilled in the art will understand that the electronic device 500 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0098] Among them, the processor 510 is used to: obtain the remaining traffic of the electronic device during navigation to the first location through the electronic device 500; when the remaining traffic is less than the first traffic, determine the second location based on the remaining traffic, wherein the first traffic is the traffic required for navigation to the first location; change the navigation destination from the first location to the second location to navigate to the second location, wherein the traffic required for navigation to the second location is less than the first traffic.

[0099] In an embodiment of the present application, during navigation to a first location via an electronic device, the remaining traffic of the electronic device is obtained; when the remaining traffic is less than the first traffic, the second location is determined based on the remaining traffic, wherein the first traffic is the traffic required for navigation to the first location; the navigation destination is changed from the first location to the second location to navigate to the second location, wherein the traffic required for navigation to the second location is less than the first traffic. Since the traffic required for navigation to the second location is less than the traffic required for navigation to the first location, during navigation to the first location, when the remaining traffic is less than the traffic required for navigation to the first location, that is, when the remaining traffic cannot support navigation to the first location, by changing the navigation destination to the second location, manual traffic recharge is not required during navigation to the second location, thereby improving driving safety.

[0100] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0101] Obtaining location information of M candidate locations and traffic information required for navigating to each of the M candidate locations, where M is a positive integer;

[0102] A second location is determined from the M candidate locations according to the location information and the traffic information, wherein the second location satisfies a preset condition.

[0103] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0104] determining a second flow rate required to navigate to the second location;

[0105] Changing the navigation destination from a first location to a second location;

[0106] When the second flow rate is greater than or equal to the remaining flow rate, the target flow rate is automatically recharged.

[0107] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0108] When the second position is reached, a prompt message is output;

[0109] The prompt information is used to prompt the user to recharge the traffic, and the amount of the traffic recharge is associated with the third traffic, which is the traffic required to navigate from the second location to the first location.

[0110] In this embodiment of the present application, by prompting the user to top up their data at the second location, after the user tops up their data, the remaining data can be sufficient to meet the data requirements for navigating from the second location to the first location. During the process of driving the vehicle from the second location to the first location, the user does not need to top up their data, which can improve driving safety.

[0111] In some possible implementations of the embodiments of the present application, the processor 510 may also be configured to:

[0112] When receiving a traffic recharge operation from the user, if it is detected that the remaining traffic is greater than the third traffic, the navigation destination is changed to the first location.

[0113] In some possible implementations of the embodiments of the present application, by changing the navigation destination to the first location, the user does not need to manually change the navigation destination, which can improve the user experience.

[0114] It should be understood that in an embodiment of the present application, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.

[0115] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0116] Processor 510 may include one or more processing units. Optionally, processor 510 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 510.

[0117] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned navigation method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0118] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disk or optical disk.

[0119] An embodiment of the present application also provides a chip including a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned navigation method embodiment and achieve the same technical effect. To avoid repetition, they will not be described here.

[0120] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0121] An embodiment of the present application also provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned navigation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0122] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0124] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A navigation method, characterized in that: The method comprises: In the process of navigating to the first location by using the electronic device, obtaining the remaining flow of the electronic device; determining a second location according to the remaining flow rate when the remaining flow rate is less than a first flow rate, wherein the first flow rate is a flow rate required for navigating to the first location; changing the navigation destination from the first location to the second location to navigate to the second location, wherein a flow rate required for navigating to the second location is less than the first flow rate; Changing the navigation destination from the first location to the second location includes: obtaining a second flow required for navigating to the second location; changing the navigation destination from the first location to the second location, and automatically recharging the target traffic flow when the second traffic flow is greater than the remaining traffic flow; or When the second flow rate is greater than the remaining flow rate, the target flow rate is automatically recharged, and the navigation destination is changed from the first location to the second location; The sum of the target flow rate and the remaining flow rate is greater than or equal to the second flow rate; The determining the second position according to the remaining flow comprises: Obtaining location information of M candidate locations and traffic information required for navigating to each of the M candidate locations, where M is a positive integer; Determining the second position from the M candidate positions according to the position information and the traffic information, wherein the second position satisfies a preset condition; The determining the second position from the M candidate positions according to the position information and the traffic information includes: The location with the least navigation traffic consumption among the M candidate locations is determined as the second location.

2. The method according to claim 1, characterized in that The method further comprises: When the second position is reached, outputting a prompt message; The prompt information is used to prompt the user to recharge traffic, and the amount of the traffic recharge is associated with a third traffic, which is the traffic required to navigate from the second location to the first location.

3. The method according to claim 2, characterized in that The method further comprises: When a traffic recharge operation is received from the user, if it is detected that the remaining traffic is greater than the third traffic, the navigation destination is changed to the first location.

4. A navigation device, characterized in that: The device comprises: an acquisition module, configured to acquire the remaining flow of the electronic device during navigation to the first location via the electronic device; a determining module, configured to determine a second location according to the remaining flow rate when the remaining flow rate is less than a first flow rate, wherein the first flow rate is a flow rate required for navigating to the first location; a changing module, configured to change the navigation destination from the first location to the second location, so as to navigate to the second location, wherein a flow rate required for navigating to the second location is less than the first flow rate; The change module includes: a second determining submodule, configured to determine a second flow rate required for navigating to the second location; a changing submodule, configured to change the navigation destination from the first location to the second location; a recharging submodule, configured to automatically recharge a target flow rate when the second flow rate is greater than the remaining flow rate, wherein the sum of the target flow rate and the remaining flow rate is greater than or equal to the second flow rate; The determination module includes: An acquisition submodule, configured to acquire location information of M candidate locations and traffic information required for navigating to each of the M candidate locations, where M is a positive integer; A first determining submodule, configured to determine the second position from the M candidate positions based on the position information and the traffic information, wherein the second position satisfies a preset condition; The first determining submodule is specifically configured to: The location with the least navigation traffic consumption among the M candidate locations is determined as the second location.

5. The device according to claim 4, characterized in that The device further comprises: a prompt module, configured to output a prompt message when the user reaches the second position; The prompt information is used to prompt the user to recharge traffic, and the amount of the traffic recharge is associated with a third traffic, which is the traffic required to navigate from the second location to the first location.

6. The device according to claim 5, characterized in that The change module is also used to: When a traffic recharge operation is received from the user, if it is detected that the remaining traffic is greater than the third traffic, the navigation destination is changed to the first location.

Citation Information

Patent Citations

  • Navigation method, navigation device and mobile terminal integrated with navigation device

    CN105491241A

  • Navigation method and equipment, and mobile terminal

    CN107333000A