NAVIGATION METHOD AND RELATED PRODUCTS

Information

  • Patent Application
  • 20210341296
  • Publication Number
    20210341296
  • Date Filed
    July 13, 2021
    3 years ago
  • Date Published
    November 04, 2021
    3 years ago
Abstract
A navigation method and related products are provided. The method is applicable to an electronic device and includes the following. A navigation route of the electronic device is determined. A target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold. Connect to a preset wireless network corresponding to the target road section while the electronic device is at the target road section. Navigation information corresponding to the target road section is played through the preset wireless network.
Description
TECHNICAL FIELD

This disclosure relates to the technical field of electronic devices, and particularly to a navigation method and related products.


BACKGROUND

With the rapid popularization of electronic devices such as mobile phones and tablet computers, people can visit a network through the electronic device to obtain various information such as navigation information. However, navigation has a high demand for a real-time performance of the network. Therefore, improving a network quality during navigation has become a technical problem to be solved in the field.


SUMMARY

In a first aspect of implementations of the disclosure, a navigation method is provided. The navigation method is for an electronic device. The navigation method includes the following. A navigation route of the electronic device is determined. A target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold. Connect to a preset wireless network corresponding to the target road section while the electronic device is at the target road section. Navigation information corresponding to the target road section is played through the preset wireless network.


In a second aspect of implementations of the disclosure, an electronic device is provided. The electronic device includes at least one processor and a memory. The memory is coupled to the at least one processor and stores at least one computer executable instruction thereon which, when executed by the at least one processor, causes the at least one processor to execute all or part of the operations of the method described in the first aspect.


In a third aspect of implementations of the disclosure, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores computer programs which, when executed by a processor of an electronic device, cause the processor to execute all or part of the operations of the method described in the first aspect.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe technical solutions of implementations or the related art more clearly, the following will give a brief description of accompanying drawings used for describing the implementations or the related art. Apparently, accompanying drawings described below are merely some implementations. Those of ordinary skill in the art can also obtain other accompanying drawings based on the accompanying drawings described below without creative efforts.



FIG. 1 is a schematic flowchart illustrating a navigation method according to implementations.



FIG. 2 is a network architecture diagram illustrating a navigation system according to implementations.



FIG. 3 is a schematic flowchart illustrating a navigation method according to other implementations.



FIG. 4 is a schematic structural diagram illustrating an electronic device according to implementations.



FIG. 5 is a schematic structural diagram illustrating a navigation device according to implementations.





DETAILED DESCRIPTION

In order for those skilled in the art to better understand technical solutions of the disclosure, technical solutions of implementations will be described clearly and completely with reference to accompanying drawings in the implementations. Apparently, implementations described below are merely some implementations, rather than all implementations of the disclosure. All other implementations obtained by those of ordinary skill in the art based on the implementations without creative efforts shall fall within the protection scope of the disclosure.


The terms “first”, “second”, and the like used in the specification, the claims, and the accompany drawings of the disclosure are used to distinguish different objects rather than describe a particular order. The terms “include”, “comprise”, and “have” as well as variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device including a series of operations or units is not limited to the listed operations or units, on the contrary, it can optionally include other operations or units that are not listed; alternatively, other operations or units inherent to the process, method, product, or device can be included either.


The term “implementation” referred to herein means that particular features, structures, or properties described in conjunction with the implementations may be defined in at least one implementation of the disclosure. The phrase “implementation” appearing in various places in the specification does not necessarily refer to the same implementation or an independent/alternative implementation that is mutually exclusive with other implementations. Those skilled in the art will understand expressly and implicitly that an implementation described herein may be combined with other implementations.


“Electronic device” in implementations of the disclosure may include various handheld devices with wireless communication functions, on-board devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices. Hereinafter, implementations of the disclosure will be described in detail.



FIG. 1 is a schematic flowchart illustrating a navigation method according to implementations. The navigation method is applicable to an electronic device. The electronic device can adopt link aggregation. Link aggregation allows a device to use two or more network ports to access a network at the same time. For example, a mobile phone can access a wireless-fidelity (Wi-Fi) network and a mobile data network simultaneously by enabling the link aggregation. The Wi-Fi network is also known as wireless network.


Multiple networks to which the electronic device is connected are not limited in the disclosure. FIG. 2 illustrates a network architecture. As illustrated in FIG. 2, an electronic device 200 may be connected to a mobile data network provided by a first base station 202. The mobile data network can provide networks of different frequency bands, for example, the 2nd-Generation (2G) wireless telephone technology network, the 3rd-Generation (3G) mobile communication technology network, the 4th-Generation (4G) mobile communication technology network, the 5th-Generation (5G) mobile communication technology network. The electronic device 200 may also be connected to wireless networks provided by different devices. For example, a Wi-Fi network and a Bluetooth network provided by a first hotspot device 204, and a 2.4 GHz Wi-Fi network and a 5 GHz Wi-Fi network provided by a first router 206.


For security considerations, authentication is required for the wireless network. In some implementations, when the electronic device accesses a wireless network, the wireless network needs to verify identity information of the electronic device. When the verification passes, a network connection with the electronic device is established. For example, a network name of the wireless network is sanhuan, and an authentication password is 65498231, a connection between the wireless network and the electronic device is established only when the electronic device submits 65498231.


As illustrated in FIG. 1, a navigation method includes the following.


At block S101, a navigation route of an electronic device is determined.


In the disclosure, the navigation route may be a route for driving or a route for pedestrians, which is not limited herein. If the electronic device is connected to an on-board device or located in a garage, the route for driving can be determined first. The navigation route herein may be a navigation route automatically recommended by the electronic device according to multiple reference routes searched by the electronic device, or a navigation route selected by a user according to multiple reference routes displayed on the electronic device.


In some implementations, the navigation route of the electronic device is determined as follows. An origin and a destination of the electronic device are determined. Search for multiple reference routes between the origin and the destination. Multiple evaluation values are obtained by determining an evaluation value of each of the multiple reference routes. A reference route corresponding to the maximum value in the multiple evaluation values is selected as the navigation route.


The origin herein refers to a start position of a navigation operation, which may be a current position of the electronic device or a position inputted by the user on the electronic device. The destination herein refers to an end position of the navigation operation, which may be a position inputted by the user on the electronic device, or a position in a shared route, which is not limited in the disclosure. The current position may be determined by a positioning module of the electronic device, or determined according to a signal direction of a network device and a distance between the electronic device and the network device, where the distance is determined according to a network rate of the network device searched.


The positioning module may be a global positioning system (GPS) module or a wireless local area network (WLAN) module. The GPS module can perform real-time positioning and navigation on a global scale by means of GPS positioning satellites. The WLAN module can communicate in the air through a radio frequency technology and electromagnetic waves. A positioning method of the WLAN module can be implemented based on a connected hotspot device, such as a wireless router or a hotspot-enabled electronic device.


In the disclosure, the multiple reference routes are each correspond to the origin and the destination of the electronic device. The manner of determining the evaluation value of each of the multiple reference routes is not limited in the disclosure. The evaluation value of each of the multiple reference routes can be determined according to multiple pieces of information of the reference route, such as a route length, a speed limit, a traffic congestion state, a network state, tolls, and a user's familiarity with the reference route, so as to determine the advantages and disadvantages of each reference route.


According to implementations of the disclosure, an origin and a destination of the electronic device are determined. Search for multiple reference routes according to the origin and the destination. An evaluation value of each of the multiple reference routes is determined. A reference route corresponding to the maximum value in multiple evaluation values is selected as the navigation route. As such, user experience for navigation can be improved.


In some implementations, the multiple evaluation values are obtained by determining the evaluation value of each of the multiple reference routes as follows. A current time of the electronic device is determined. For each target reference road section of a target reference route, a traffic speed corresponding to the target reference road section is determined according to the current time. For each target reference road section of the target reference route, a route length of the target reference road section is determined. Estimated duration of the target reference route is determined according to the route length and the traffic speed corresponding to each target reference road section of the target reference route. The evaluation value of the target reference route is determined according to the estimated duration.


The current time herein may be determined according to a time manager of the electronic device.


The target reference route herein is any of the multiple reference routes, and the target reference route includes multiple target reference road sections.


The traffic speed herein represents a traffic congestion state of the target reference road section. The higher the traffic speed, the less congested the target reference road section. On the contrary, the lower the traffic speed, the more congested the target reference road section. In practice, the traffic speed should be less than or equal to a speed limit corresponding to the target reference road section.


In the disclosure, the manner of determining the evaluation value is described by taking a target reference route as an example. For other reference routes among the multiple reference routes, the evaluation value can be determined in a similar manner as described above, which will not be repeated herein. In some implementations, a traffic congestion state of each target reference road section is determined according to the current time, because the traffic congestion state of each road section varies with time, especially during rush hours, weekends, or holidays, and so on. That is, a traffic speed of the electronic device at each target reference road section is determined. Then travel duration corresponding to the target reference road section is estimated based on the traffic speed and the route length of the target reference road section, to obtain the estimated duration corresponding to the target reference route. The greater the evaluation value of the target reference route, the shorter the estimated duration of the target reference route. In the disclosure, a route for navigation (“navigation route” for short) is one of the multiple reference routes which has the maximum evaluation value among the multiple evaluation values, which is conducive to shortening travel duration of the navigation route, thereby improving user experience for navigation.


At block S102, a target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold.


The preset threshold herein is not limited in the disclosure. The preset threshold may be determined according to the minimum network rate currently required by the electronic device. The navigation route includes multiple navigation road sections. If the first network rate of the electronic device at one of the multiple navigation road sections is less than the preset threshold, the navigation road section is determined as the target road section. The target road section herein may include one or more target road sections, which is not limited in the disclosure.


In some implementations, the navigation route includes multiple navigation road sections. The target road section in the navigation route is determined as follows. Multiple historical usage record sets are obtained by obtaining a historical usage record set of a mobile data network used by the electronic device at each of the multiple navigation road sections. Multiple first network rates of the electronic device are obtained by determining a network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets. The target road section is determined, where the target road section corresponds to the first network rate being less than the preset threshold among the multiple first network rates.


The historical usage record set herein includes multiple historical usage records of the mobile data network used by the electronic device at the road section. Each of the multiple historical usage record may include at least one of usage duration, a network rate, the number of used networks, a drop rate of the used network, etc.


According to implementations of the disclosure, a historical usage record set of a mobile data network used by the electronic device at each navigation road section is obtained. A network rate corresponding to each navigation road section is determined according to multiple historical usage record sets, to obtain multiple first network rates. A navigation road section, which corresponds to a first network rate that is less than the preset threshold among the multiple first network rates, is determined as the target road section. As such, the first network rate corresponding to each navigation road section can be determined based on the multiple historical usage record sets, which is beneficial to improving accuracy of determining of the first network rate, and accordingly, accuracy of determining of the target road section can be improved.


The manner of determining the first network rate according to the historical usage record sets is not limited in the disclosure. In some implementations, the multiple first network rates are obtained by determining the network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets as follows. A network rate and a usage frequency (i.e., the number of times of usage) of each of multiple antennas of the electronic device are determined according to the historical usage record set of the mobile data network used by the electronic device at a reference navigation road section, to obtain multiple reference network rates and multiple usage frequencies, where the reference navigation road section is any of the multiple navigation road sections. The usage frequency of each of the multiple antennas is counted according to the historical usage record set corresponding to the reference navigation road section, to obtain the multiple usage frequencies. A weight of each of the multiple antennas is determined according to the multiple usage frequencies, to obtain multiple weights. A first network rate of the electronic device corresponding to the reference navigation road section is determined according to the multiple reference network rates and the multiple weights.


The reference navigation road section herein is any of the multiple navigation road sections.


The multiple antennas may be patch antennas, flexible printed circuit (FPC) antennas, laser direct structuring (LDS) antennas, print direct structuring (PDS) antennas, and so on. The multiple antennas include antennas that support mobile data networks of 2G, 3G, 4G, or 5G frequency bands, and so on.


In the disclosure, the manner of determining the first network rate is described by taking a reference navigation road section as an example. For other navigation road sections among the multiple navigation road sections, the first network rate can be determined in a similar manner as described above, which will not be repeated herein. In some implementations, for each of multiple antennas of the electronic device, a usage frequency and a reference network rate of the antenna are determined according to a historical usage record set of a mobile wireless network used by the electronic device at a reference navigation road section. Then, a weight of each of the multiple antennas is determined according to multiple usage frequencies, to obtain multiple weights. The first network rate corresponding to the reference navigation road section is determined according to multiple reference network rates and the multiple weights. As such, the first network rate corresponding to the reference navigation road section can be determined based on the multiple reference network rates and the multiple usage frequencies corresponding to the reference navigation road section, which is beneficial to improving accuracy of determining of the first network rate.


In some implementations, the navigation method further includes the following.


Multiple speed limits are obtained by determining a speed limit of each of the multiple navigation road sections. The preset threshold is determined according to the multiple speed limits.


The speed limit herein represents the lowest or highest speed at a navigation road section. In these implementations, the minimum value of the multiple speed limits may be obtained to determine the preset threshold, the average of the multiple speed limits may be obtained to determine the preset threshold, a proportional value of the average may be obtained to determine the preset threshold, or the like, which is not limited herein. For example, a correspondence between minimum values and preset thresholds, a correspondence between proportional values and preset thresholds, or the like may be set in advance.


According to implementations of the disclosure, the preset threshold can be determined according to the speed limit of each navigation road section of the navigation route, which is beneficial to improving accuracy of selecting of the target road section according to the preset threshold.


At block S103, while the electronic device is at the target road section, connect to a preset wireless network corresponding to the target road section, and navigation information corresponding to the target road section is played through the preset wireless network.


In the disclosure, the preset wireless network may be a candidate wireless network at the target road section, and the manner of determining the preset wireless network is not limited herein. In some implementations, the navigation method further includes the following. Search for multiple reference wireless networks corresponding to the target road section. Multiple performance parameters are obtained by obtaining a performance parameter of each of the multiple reference wireless networks. Multiple network-quality values are obtained by obtaining a network-quality value of each of the multiple reference wireless networks according to the multiple performance parameters. A reference wireless network corresponding to the maximum value in the multiple network-quality values is determined as the preset wireless network.


The reference wireless network herein is a safety network at the target road section that has been successfully verified or that does not need to be verified, where the safety network may be a network that has not been registered in a preset database.


The performance parameter herein may include multiple pieces of network information, for example, including at least one of a network drop rate, a network rate, a received signal strength, and a transmit power, which is not limited in the disclosure.


The network-quality value herein represents a network quality of each of the multiple reference wireless networks at the target road section. The network-quality value may be obtained by performing weighted calculation on evaluation values of the multiple pieces of network information according to weights corresponding to the multiple pieces of network information stored by the electronic device in advance. As such, the evaluation value of each piece of network information and the weight of the network information can be taken into consideration, thereby improving accuracy of determining of the network-quality value.


According to implementations of the disclosure, multiple reference wireless networks capable of connecting with the electronic device at the target road section are searched. A performance parameter of each of the multiple reference wireless networks is determined to obtain multiple performance parameters. A network-quality value of each of the multiple reference wireless networks is obtained according to the multiple performance parameters, to obtain multiple network-quality values. A reference wireless network corresponding to the maximum value in the multiple network-quality values is determined as the preset wireless network. As such, a network quality of navigation based on the preset wireless network can be improved.


According to the navigation method described with reference to FIG. 1, a navigation route of the electronic device is determined. A target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold. Connect to a preset wireless network corresponding to the target road section while the electronic device is at the target road section. Navigation information corresponding to the target road section is played through the preset wireless network. As such, the electronic device can perform navigation based on the preset wireless network, which is beneficial to improving a network quality of the electronic device at the target road section, and accordingly, a network quality for navigation can be improved.


In some implementations, the navigation method further includes the following. A second network rate of the preset wireless network is determined. In response to the second network rate being less than the preset threshold, driving information corresponding to the target road section is obtained according to the historical usage record set of the mobile wireless network used by the electronic device at the target road section. The navigation information is generated according to the driving information. In response to the electronic device arriving at an origin of the target road section, the navigation information is played.


The driving information herein may include a driving direction, a speed limit, and a driving speed at the target road section, and so on.


According to implementations of the disclosure, a second network rate of the preset wireless network is determined. If the second network rate is less than the preset threshold, driving information corresponding to the target road section is obtained according to the historical usage record set of the mobile data network used by the electronic device at the target road section. The navigation information corresponding to the target road section is generated according to the driving information. The navigation information is played when the electronic device arrives at an origin of the target road section. As such, offline navigation information of the target road section can be generated based on the previously stored driving information, thereby improving a network fault handling capability.


In the disclosure, the second network rate may be obtained by means of a network-rate detection module of the electronic device, or may be obtained based on a network parameter corresponding to the target road section and a relative distance between a network device of the preset wireless network and the electronic device, which is not limited herein.


In some implementations, the second network rate of the preset wireless network is determined as follows. A performance parameter of a network device corresponding to the preset wireless network is determined. A third network rate of the network device is determined according to the performance parameter of the network device. A relative distance between the network device and the electronic device is determined. A driving speed of the electronic device at the target road section is determined. A network-rate influence value is determined according to the relative distance and the driving speed. A product between the network-rate influence value and the third network rate is determined as the second network rate.


The performance parameter of the network device corresponding to the preset wireless network may include multiple pieces of network information, such as a network drop rate, a network rate, a received signal strength, and a transmit power, which is not limited in the disclosure.


How to determine the relative distance between the network device and the electronic device is not limited in the disclosure. In some implementations, a neighborhood aware networking (NAN) connection is established with the network device. The relative distance between the network device and the electronic device is detected through NAN-based ranging.


The neighborhood aware networking, also known as wireless-fidelity alliance (Wi-Fi alliance), is described as NAN in implementations of the disclosure. NAN function is mainly used to implement a real-time and efficient discovery mechanism, thereby extending Wi-Fi functions and improving application experience in real time.


The NAN-based ranging is used to detect a distance between devices that establish an NAN connection. The distance may be obtained by the electronic device or the network device, which is not limited in the disclosure.


If an NAN connection between the network device corresponding to the preset wireless network and the electronic device is established, the relative distance between the network device and the electronic device can be obtained by the electronic device through the NAN-based ranging, or the relative distance between the network device and the electronic device can be obtained by the network device through the NAN-based ranging, and then sent to the electronic device.


In the disclosure, the driving speed may be determined according to the driving information corresponding to the target road section, or the traffic speed corresponding to the target road section is determined as the driving speed with the help of the manner of determining the multiple evaluation values described above, which is not limited herein.


According to implementations of the disclosure, a performance parameter of a network device corresponding to the preset wireless network is determined. An estimated third network rate of the preset wireless network capable of being used by the electronic device is determined according to the performance parameter. A driving speed of the electronic device at the target road section and a relative distance between the electronic device and the network device are determined. The movement of the electronic device (i.e., a mobile speed) may affect a network rate of the wireless network. For example, for an electronic device on a high-speed train, a network signal will be relatively unstable, and the longer a distance from the network device, the weaker the network signal will be. To this end, in the disclosure, the network-rate influence value is determined according to the driving speed of the electronic device at the target road section and the relative distance between the network device corresponding to the preset wireless network and the electronic device. The second network rate is determined according to a product of the third network rate and the network-rate influence value. In the disclosure, influences of the driving speed and the relative distance on the network rate are taken into consideration, which is beneficial to improving accuracy of determining of the second network rate.


Similar to the above implementations described with reference to FIG. 1, FIG. 3 is a schematic flowchart illustrating a navigation method according to other implementations. As illustrated in FIG. 3, the navigation method includes the following.


At block S301, a navigation route of an electronic device is determined.


At block S302, a target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold.


At block S303, a second network rate of a preset wireless network corresponding to the target road section is determined.


At block S304, whether the second network rate is less than the preset threshold is determined.


If the second network rate is less than the preset threshold, proceed to operations at block S305. Otherwise, proceed to operations at block S308.


At block S305, driving information corresponding to the target road section is obtained according to a historical usage record set of a mobile wireless network used by the electronic device at the target road section.


At block S306, navigation information corresponding to the target road section is generated according to the driving information.


At block S307, when the electronic device arrives at an origin of the target road section, the navigation information is played.


At block S308, connect to the preset wireless network at the target road section, and navigation information is played through the preset wireless network.


According to the navigation method described with reference to FIG. 3, a navigation route of the electronic device is determined. A target road section in the navigation route is determined, where a first network rate of the electronic device at the target road section is less than a preset threshold. A second network rate of a preset wireless network is determined. If the second network rate is less than the preset threshold, driving information corresponding to the target road section is obtained according to a historical usage record set of a mobile data network used by the electronic device at the target road section, navigation information corresponding to the target road section is generated according to the driving information, and the navigation information is played when the electronic device arrives at an origin of the target road section. If the second network rate is greater than or equal to the preset threshold, connect to the preset wireless network at the target road section, and the navigation information is played through the preset wireless network. As such, the electronic device can perform navigation in different network states, thereby improving a network fault handling capability of the electronic device at the target road section.


Similar to the above implementations described with reference to FIG. 1, FIG. 4 is a schematic structural diagram illustrating an electronic device according to implementations. As illustrated in FIG. 4, the electronic device 400 includes at least one processor 410, a memory 420, a communication interface 430, and one or more programs 440. The one or more programs 440 are stored in the memory 420 and configured to be executed by the processor 410. The programs 440 include instructions which are operable with the processor 410 to execute the following operations. A navigation route of the electronic device 400 is determined. A target road section in the navigation route is determined, where a first network rate of the electronic device 400 at the target road section is less than a preset threshold. Connect to a preset wireless network corresponding to the target road section while the electronic device is at the target road section. Navigation information corresponding to the target road section is played through the preset wireless network.


According to implementations of the disclosure, navigation is performed based on the preset wireless network, which is beneficial to improving a network quality of the electronic device 400 at the target road section, and accordingly, a network quality for navigation can be improved.


In some implementations, the instructions of the programs 440 operable with the processor to determine the navigation route of the electronic device 400 are operable with the processor to: determine an origin and a destination of the electronic device 400; search for multiple reference routes between the origin and the destination; obtain multiple evaluation values by determining an evaluation value of each of the multiple reference routes; and select a reference route corresponding to the maximum value in the multiple evaluation values as the navigation route.


In some implementations, the instructions of the programs 440 operable with the processor to obtain the multiple evaluation values by determining the evaluation value of each of the multiple reference routes are operable with the processor to: determine a current time of the electronic device 400; for each target reference road section of a target reference route, determine a traffic speed corresponding to the target reference road section according to the current time, where the target reference route is any of the multiple reference routes; for each target reference road section of the target reference route, determine a route length of the target reference road section; determine estimated duration of the target reference route according to the route length and the traffic speed corresponding to each target reference road section of the target reference route; and determine the evaluation value of the target reference route according to the estimated duration.


In some implementations, the navigation route includes multiple navigation road sections. The instructions of the programs 440 operable with the processor to determine the target road section in the navigation route are operable with the processor to: obtain multiple historical usage record sets by obtaining a historical usage record set of a mobile data network used by the electronic device 400 at each of the multiple navigation road sections; obtain multiple first network rates of the electronic device by determining a network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets; and determine the target road section, where the target road section corresponds to the first network rate being less than the preset threshold among the multiple first network rates.


In some implementations, the instructions of the programs 440 operable with the processor to obtain the multiple first network rates of the electronic device by determining the network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets are operable with the processor to: obtain multiple reference network rates and multiple usage frequencies by determining a network rate and a usage frequency of each of multiple antennas of the electronic device 400 according to the multiple historical usage record sets; obtain multiple weights by determining a weight of each of the multiple antennas according to the multiple usage frequencies; and determine a first network rate of the electronic device corresponding to a reference navigation road section according to the multiple reference network rates and the multiple weights, where the reference navigation road section is any of the multiple navigation road sections.


In some implementations, the instructions of the programs 440 are further operable with the processor to: determine a second network rate of the preset wireless network; obtain, according to the historical usage record set of the mobile wireless network used by the electronic device 400 at the target road section, driving information corresponding to the target road section in response to the second network rate being less than the preset threshold; generate the navigation information according to the driving information; and play offline navigation information in response to the electronic device 400 arriving at an origin of the target road section.


In some implementations, the instructions of the programs 440 operable with the processor to determine the second network rate of the preset wireless network are operable with the processor to: determine a performance parameter of a network device corresponding to the preset wireless network; determine a third network rate of the network device according to the performance parameter of the network device; determine a relative distance between the network device and the electronic device 400; determine a driving speed of the electronic device 400 at the target road section; determine a network-rate influence value according to the relative distance and the driving speed; and determine a product between the network-rate influence value and the third network rate as the second network rate.


In some implementations, the instructions of the programs 440 are further operable with the processor to: obtain multiple speed limits by determining a speed limit of each of the multiple navigation road sections; and determine the preset threshold according to the multiple speed limits.


In some implementations, the instructions of the programs 440 are further operable with the processor to: search for multiple reference wireless networks corresponding to the target road section; obtain multiple performance parameters by obtaining a performance parameter of each of the multiple reference wireless networks; obtain multiple network-quality values by obtaining a network-quality value of each of the multiple reference wireless networks according to the multiple performance parameters; and determine a reference wireless network corresponding to the maximum value in the multiple network-quality values as the preset wireless network.


The foregoing technical solutions of the implementations of the disclosure are mainly described from the viewpoint of execution of the method. It can be understood that, in order to implement the above functions, the electronic device includes hardware structures and/or software modules corresponding to the respective functions. Those skilled in the art should readily recognize that, in combination with the exemplary units and scheme steps or operations described in the implementations disclosed herein, the disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented by way of hardware or computer software driving hardware depends on the particular application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each particular application, but such implementation should not be considered as beyond the scope of the disclosure.


According to the implementations of the disclosure, functional units (or modules) may be divided for the electronic device in accordance with the foregoing method implementations. For example, functional units may be divided according to corresponding functions, and two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional units. It should be noted that the division of units in implementations of the disclosure is schematic and is merely a logical function division; there may be other division manners in actual implementation.



FIG. 5 is a schematic structural diagram illustrating a navigation device according to implementations. The navigation device is applicable to the electronic device described with reference to FIG. 2. As illustrated in FIG. 5, a navigation device 500 includes a determining unit 501, a connecting unit 502, and a playing unit 503. The determining unit 501 is configured to determine a navigation route of the electronic device; determine a target road section in the navigation route, and the first network rate of the electronic device on the target road section is less than a preset threshold. The connecting unit 502 is configured to connect to the preset wireless network corresponding to the target road section while the electronic device is at the target road section. The playing unit 503 is configured to play the navigation information corresponding to the target road section based on the preset wireless network.


According to implementations of the disclosure, navigation is performed based on the preset wireless network, which is beneficial to improving a network quality of the electronic device at the target road section, and accordingly, a network quality for navigation can be improved.


In some implementations, the determining unit 501 configured to determine the navigation route of the electronic device is configured to: determine an origin and a destination of the electronic device; search for multiple reference routes between the origin and the destination; obtain multiple evaluation values by determining an evaluation value of each of the multiple reference routes; and select a reference route corresponding to the maximum value in the multiple evaluation values as the navigation route.


In some implementations, the determining unit 501 configured to obtain the multiple evaluation values by determining the evaluation value of each of the multiple reference routes is configured to: determine a current time of the electronic device; for each target reference road section of a target reference route, determine a traffic speed corresponding to the target reference road section according to the current time, where the target reference route is any of the multiple reference routes; for each target reference road section of the target reference route, determine a route length of the target reference road section; determine estimated duration of the target reference route according to the route length and the traffic speed corresponding to each target reference road section of the target reference route; and determine the evaluation value of the target reference route according to the estimated duration.


In some implementations, the navigation route includes multiple navigation road sections. The determining unit 501 configured to determine the target road section in the navigation route is configured to: obtain multiple historical usage record sets by obtaining a historical usage record set of a mobile data network used by the electronic device at each of the multiple navigation road sections; obtain multiple first network rates of the electronic device by determining a network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets; and determine the target road section, where the target road section corresponds to the first network rate being less than the preset threshold among the multiple first network rates.


In some implementations, the determining unit 501 configured to obtain the multiple first network rates of the electronic device by determining the network rate corresponding to each of the multiple navigation road sections according to the multiple historical usage record sets is configured to: obtain multiple reference network rates and multiple usage frequencies by determining a network rate and a usage frequency of each of multiple antennas of the electronic device according to the multiple historical usage record sets; obtain multiple weights by determining a weight of each of the multiple antennas according to the multiple usage frequencies; and determine a first network rate of the electronic device corresponding to a reference navigation road section according to the multiple reference network rates and the multiple weights, where the reference navigation road section is any of the multiple navigation road sections.


In some implementations, the determining unit 501 is further configured to: determine a second network rate of the preset wireless network; obtain, according to the historical usage record set of the mobile wireless network used by the electronic device at the target road section, driving information corresponding to the target road section in response to the second network rate being less than the preset threshold; and generate the navigation information according to the driving information. The playing unit 503 is further configured to play offline navigation information in response to the electronic device arriving at an origin of the target road section.


In some implementations, the determining unit 501 configured to determine the second network rate of the preset wireless network is configured to: determine a performance parameter of a network device corresponding to the preset wireless network; determine a third network rate of the network device according to the performance parameter of the network device; determine a relative distance between the network device and the electronic device; determine a driving speed of the electronic device at the target road section; determine a network-rate influence value according to the relative distance and the driving speed; and determine a product between the network-rate influence value and the third network rate as the second network rate.


In some implementations, the determining unit 501 is further configured to: obtain multiple speed limits by determining a speed limit of each of the multiple navigation road sections; and determine the preset threshold according to the multiple speed limits.


In some implementations, the determining unit 501 is further configured to: search for multiple reference wireless networks corresponding to the target road section; obtain multiple performance parameters by obtaining a performance parameter of each of the multiple reference wireless networks; obtain multiple network-quality values by obtaining a network-quality value of each of the multiple reference wireless networks according to the multiple performance parameters; and determine a reference wireless network corresponding to the maximum value in the multiple network-quality values as the preset wireless network.


According to implementations of the disclosure, a non-transitory computer-readable storage medium is further provided. The non-transitory computer-readable storage medium is configured to store computer programs. The computer programs which, when executed by a processor, cause the processor to execute all or part of the operations of the method described in the foregoing method implementations. “Computer” referred to herein includes an electronic device.


According to implementations of the disclosure, a computer program product is further provided. The computer program product includes a non-transitory computer-readable storage medium configured to store computer programs. The computer programs are operable with a computer to execute all or part of the operations of the method described in the foregoing method implementations. The computer program product may be a software installation package. “Computer” referred to herein includes an electronic device.


It is to be noted that, for the sake of simplicity, the foregoing method implementations are described as a series of action combinations, however, it will be appreciated by those skilled in the art that the disclosure is not limited by the sequence of actions described. That is because that, according to the disclosure, certain steps or operations may be performed in other order or simultaneously. Besides, it will be appreciated by those skilled in the art that the implementations described in the specification are exemplary implementations and the actions and modules involved are not necessarily essential to the disclosure.


In the foregoing implementations, the description of each implementation has its own emphasis. For the parts not described in detail in one implementation, reference may be made to related descriptions in other implementations.


In implementations of the disclosure, it should be understood that, the device/apparatus disclosed in implementations provided herein may be implemented in other manners. For example, the device/apparatus implementations described above are merely illustrative; for instance, the division of the unit is only a logical function division and there can be other manners of division during actual implementations, for example, multiple units or assemblies may be combined or may be integrated into another system, or some features may be ignored, omitted, or not performed. In addition, coupling or communication connection between each illustrated or discussed component may be direct coupling or communication connection, or may be indirect coupling or communication among devices or units through some interfaces, and may be electrical connection or other forms of connection.


The units described as separate components may or may not be physically separated, the components illustrated as units may or may not be physical units, that is, they may be in the same place or may be distributed to multiple network elements. All or part of the units may be selected according to actual needs to achieve the purpose of the technical solutions of the implementations.


In addition, the functional units in various implementations of the disclosure may be integrated into one processing unit, or each unit may be physically present, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or a software function unit.


The integrated unit may be stored in a computer-readable memory when it is implemented in the form of a software functional unit and is sold or used as a separate product. Based on such understanding, the technical solutions of the disclosure essentially, or the part of the technical solutions that contributes to the related art, or all or part of the technical solutions, may be embodied in the form of a software product which is stored in a memory and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device and so on) to execute all or part of the operations described in the various implementations of the disclosure. The memory includes various medium capable of storing program codes, such as a universal serial bus (USB), a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, Disk, compact disc (CD), or other medium that can store program codes.


It will be understood by those of ordinary skill in the art that all or part of the various methods of the implementations described above may be accomplished by means of a program to instruct associated hardware, the program may be stored in a computer-readable memory, which may include a flash memory, a ROM, a RAM, Disk or CD, and so on.


While the principles and implementations of the disclosure have been described in connection with illustrative implementations, it is to be understood that foregoing implementations are merely used to help understand the method and the core idea of the disclosure. As will occur to those skilled in the art, the disclosure is susceptible to various modifications and changes without departing from the spirit and principle of the disclosure. Therefore, the disclosure is not to be limited to the disclosed implementations.

Claims
  • 1. A navigation method, for an electronic device, comprising: determining a navigation route of the electronic device;determining a target road section in the navigation route, a first network rate of the electronic device at the target road section being less than a preset threshold; andconnecting to a preset wireless network corresponding to the target road section while the electronic device is at the target road section, and playing navigation information corresponding to the target road section through the preset wireless network.
  • 2. The method of claim 1, wherein determining the navigation route of the electronic device comprises: determining an origin and a destination of the electronic device;searching for a plurality of reference routes between the origin and the destination;obtaining a plurality of evaluation values by determining an evaluation value of each of the plurality of reference routes; andselecting a reference route corresponding to a maximum value in the plurality of evaluation values as the navigation route.
  • 3. The method of claim 2, wherein obtaining the plurality of evaluation values by determining the evaluation value of each of the plurality of reference routes comprises: determining a current time of the electronic device;for each target reference road section of a target reference route, determining a traffic speed corresponding to the target reference road section according to the current time, wherein the target reference route is any of the plurality of reference routes;for each target reference road section of the target reference route, determining a route length of the target reference road section;determining estimated duration of the target reference route according to the route length and the traffic speed corresponding to each target reference road section of the target reference route; anddetermining the evaluation value of the target reference route according to the estimated duration.
  • 4. The method of claim 1, wherein the navigation route comprises a plurality of navigation road sections, and determining the target road section in the navigation route comprises: obtaining a plurality of historical usage record sets by obtaining a historical usage record set of a mobile data network used by the electronic device at each of the plurality of navigation road sections;obtaining a plurality of first network rates of the electronic device by determining a network rate corresponding to each of the plurality of navigation road sections according to the plurality of historical usage record sets; anddetermining the target road section, wherein the target road section corresponds to the first network rate being less than the preset threshold among the plurality of first network rates.
  • 5. The method of claim 4, wherein obtaining the plurality of first network rates of the electronic device by determining the network rate corresponding to each of the plurality of navigation road sections according to the plurality of historical usage record sets comprises: obtaining a plurality of reference network rates and a plurality of usage frequencies by determining a network rate and a usage frequency of each of a plurality of antennas of the electronic device according to the plurality of historical usage record sets;obtaining a plurality of weights by determining a weight of each of the plurality of antennas according to the plurality of usage frequencies; anddetermining a first network rate of the electronic device corresponding to a reference navigation road section according to the plurality of reference network rates and the plurality of weights, wherein the reference navigation road section is any of the plurality of navigation road sections.
  • 6. The method of claim 1, further comprising: determining a second network rate of the preset wireless network;obtaining, according to a historical usage record set of a mobile wireless network used by the electronic device at the target road section, driving information corresponding to the target road section in response to the second network rate being less than the preset threshold;generating the navigation information according to the driving information; andplaying the navigation information in response to the electronic device arriving at an origin of the target road section.
  • 7. The method of claim 6, wherein determining the second network rate of the preset wireless network comprises: determining a performance parameter of a network device corresponding to the preset wireless network;determining a third network rate of the network device according to the performance parameter of the network device;determining a relative distance between the network device and the electronic device;determining a driving speed of the electronic device at the target road section;determining a network-rate influence value according to the relative distance and the driving speed; anddetermining a product between the network-rate influence value and the third network rate as the second network rate.
  • 8. The method of claim 1, further comprising: obtaining a plurality of speed limits by determining a speed limit of each of a plurality of navigation road sections of the navigation route; anddetermining the preset threshold according to the plurality of speed limits.
  • 9. The method of claim 1, further comprising: searching for a plurality of reference wireless networks corresponding to the target road section;obtaining a plurality of performance parameters by obtaining a performance parameter of each of the plurality of reference wireless networks;obtaining a plurality of network-quality values by obtaining a network-quality value of each of the plurality of reference wireless networks according to the plurality of performance parameters; anddetermining a reference wireless network corresponding to a maximum value in the plurality of network-quality values as the preset wireless network.
  • 10. An electronic device, comprising: at least one processor; anda memory, coupled to the at least one processor and storing at least one computer executable instruction thereon which, when executed by the at least one processor, causes the at least one processor to: determine a navigation route of the electronic device;determine a target road section in the navigation route, a first network rate of the electronic device at the target road section being less than a preset threshold; andconnect to a preset wireless network corresponding to the target road section while the electronic device is at the target road section, and play navigation information corresponding to the target road section through the preset wireless network.
  • 11. The electronic device of claim 10, wherein the at least one processor configured to determine the navigation route of the electronic device is configured to: determine an origin and a destination of the electronic device;search for a plurality of reference routes between the origin and the destination;obtain a plurality of evaluation values by determining an evaluation value of each of the plurality of reference routes; andselect a reference route corresponding to a maximum value in the plurality of evaluation values as the navigation route.
  • 12. The electronic device of claim 11, wherein the at least one processor configured to obtain the plurality of evaluation values by determining the evaluation value of each of the plurality of reference routes is configured to: determine a current time of the electronic device;for each target reference road section of a target reference route, determine a traffic speed corresponding to the target reference road section according to the current time, wherein the target reference route is any of the plurality of reference routes;for each target reference road section of the target reference route, determine a route length of the target reference road section;determine estimated duration of the target reference route according to the route length and the traffic speed corresponding to each target reference road section of the target reference route; anddetermine the evaluation value of the target reference route according to the estimated duration.
  • 13. The electronic device of claim 10, wherein the navigation route comprises a plurality of navigation road sections, and the at least one processor configured to determine the target road section in the navigation route is configured to: obtain a plurality of historical usage record sets by obtaining a historical usage record set of a mobile data network used by the electronic device at each of the plurality of navigation road sections;obtain a plurality of first network rates of the electronic device by determining a network rate corresponding to each of the plurality of navigation road sections according to the plurality of historical usage record sets; anddetermine the target road section, wherein the target road section corresponds to the first network rate being less than the preset threshold among the plurality of first network rates.
  • 14. The electronic device of claim 13, wherein the at least one processor configured to obtain the plurality of first network rates of the electronic device by determining the network rate corresponding to each of the plurality of navigation road sections according to the plurality of historical usage record sets is configured to: obtain a plurality of reference network rates and a plurality of usage frequencies by determining a network rate and a usage frequency of each of a plurality of antennas of the electronic device according to the plurality of historical usage record sets;obtain a plurality of weights by determining a weight of each of the plurality of antennas according to the plurality of usage frequencies; anddetermine a first network rate of the electronic device corresponding to a reference navigation road section according to the plurality of reference network rates and the plurality of weights, wherein the reference navigation road section is any of the plurality of navigation road sections.
  • 15. The electronic device of claim 10, wherein the at least one processor is further configured to: determine a second network rate of the preset wireless network;obtain, according to a historical usage record set of a mobile wireless network used by the electronic device at the target road section, driving information corresponding to the target road section in response to the second network rate being less than the preset threshold;generate the navigation information according to the driving information; andplay the navigation information in response to the electronic device arriving at an origin of the target road section.
  • 16. The electronic device of claim 15, wherein the at least one processor configured to determine the second network rate of the preset wireless network is configured to: determine a performance parameter of a network device corresponding to the preset wireless network;determine a third network rate of the network device according to the performance parameter of the network device;determine a relative distance between the network device and the electronic device;determine a driving speed of the electronic device at the target road section;determine a network-rate influence value according to the relative distance and the driving speed; anddetermine a product between the network-rate influence value and the third network rate as the second network rate.
  • 17. The electronic device of claim 10, wherein the at least one processor is further configured to: obtain a plurality of speed limits by determining a speed limit of each of a plurality of navigation road sections of the navigation route; anddetermine the preset threshold according to the plurality of speed limits.
  • 18. The electronic device of claim 10, wherein the at least one processor is further configured to: search for a plurality of reference wireless networks corresponding to the target road section;obtain a plurality of performance parameters by obtaining a performance parameter of each of the plurality of reference wireless networks;obtain a plurality of network-quality values by obtaining a network-quality value of each of the plurality of reference wireless networks according to the plurality of performance parameters; anddetermine a reference wireless network corresponding to a maximum value in the plurality of network-quality values as the preset wireless network.
  • 19. A non-transitory computer-readable storage medium, storing computer programs which, when executed by a processor of an electronic device, cause the processor to carry out actions, comprising: determining a navigation route of the electronic device;determining a target road section in the navigation route, a first network rate of the electronic device at the target road section being less than a preset threshold; andconnecting to a preset wireless network corresponding to the target road section while the electronic device is at the target road section, and playing navigation information corresponding to the target road section through the preset wireless network.
  • 20. The non-transitory computer-readable storage medium of claim 19, wherein the navigation route comprises a plurality of navigation road sections, and the computer programs executed by the processor to carry out the action of determining the target road section in the navigation route are executed by the processor to carry out actions, comprising: obtaining a plurality of historical usage record sets by obtaining a historical usage record set of a mobile data network used by the electronic device at each of the plurality of navigation road sections;obtaining a plurality of first network rates of the electronic device by determining a network rate corresponding to each of the plurality of navigation road sections according to the plurality of historical usage record sets; anddetermining the target road section, wherein the target road section corresponds to the first network rate being less than the preset threshold among the plurality of first network rates.
Priority Claims (1)
Number Date Country Kind
201910035116.1 Jan 2019 CN national
CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of International Application No. PCT/CN2020/071253, filed on Jan. 9, 2020, which claims priority to Chinese Patent Application No. 201910035116.1, filed on Jan. 14, 2019, the entire disclosures of which are incorporated herein by reference.

Continuations (1)
Number Date Country
Parent PCT/CN2020/071253 Jan 2020 US
Child 17374719 US