CN113639759A - Navigation method and navigation device - Google Patents

Navigation method and navigation device Download PDF

Info

Publication number
CN113639759A
CN113639759A CN202110879581.0A CN202110879581A CN113639759A CN 113639759 A CN113639759 A CN 113639759A CN 202110879581 A CN202110879581 A CN 202110879581A CN 113639759 A CN113639759 A CN 113639759A
Authority
CN
China
Prior art keywords
path
navigation
information
paths
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110879581.0A
Other languages
Chinese (zh)
Other versions
CN113639759B (en
Inventor
向必应
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110879581.0A priority Critical patent/CN113639759B/en
Publication of CN113639759A publication Critical patent/CN113639759A/en
Application granted granted Critical
Publication of CN113639759B publication Critical patent/CN113639759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • G01C21/3461Preferred or disfavoured areas, e.g. dangerous zones, toll or emission zones, intersections, manoeuvre types, segments such as motorways, toll roads, ferries

Abstract

The application discloses a navigation method and a navigation device, and belongs to the technical field of navigation. The navigation method comprises the following steps: acquiring current position information and navigation destination information of the electronic equipment; determining a first path through a first navigation application according to the position information and the navigation destination information, and determining N second paths through N second navigation applications respectively, wherein the first navigation application runs in a foreground, and N is a positive integer; under the condition that the M second paths are not matched with the first path, determining a target path in the M second paths, wherein M is less than or equal to N; and switching the target navigation application corresponding to the target path to a foreground for operation, and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.

Description

Navigation method and navigation device
Technical Field
The present application belongs to the field of navigation technologies, and in particular, relates to a navigation method and a navigation apparatus.
Background
In the related art, the navigation application programs may plan a more suitable route for the vehicle owner according to the map data and the real-time traffic data, such as shorter time, closer distance, or lower cost. Different navigation applications have different algorithms, and the data sources and data update frequencies are different, so that different programs may obtain different path results for the same destination.
And the user needs to drive with concentration in the navigation process, and can not run a plurality of navigation application programs simultaneously for comparison, so that the experience is not good.
Disclosure of Invention
An object of the embodiments of the present application is to provide a navigation method and a navigation apparatus, which can search for a better path in multiple navigation applications and automatically switch to the better path.
In a first aspect, an embodiment of the present application provides a navigation method, including:
acquiring current position information and navigation destination information of the electronic equipment;
determining a first path through a first navigation application according to the position information and the navigation destination information, and determining N second paths through N second navigation applications respectively, wherein the first navigation application runs in a foreground, and N is a positive integer;
under the condition that the M second paths are not matched with the first paths, determining a target path in the M second paths, wherein M is less than or equal to M;
and switching the target navigation application corresponding to the target path to a foreground for operation, and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.
In a second aspect, an embodiment of the present application provides a navigation device, including:
the acquisition module is used for acquiring the current position information and navigation destination information of the electronic equipment;
the determining module is used for determining a first path through a first navigation application according to the position information and the navigation destination information, and determining N second paths through N second navigation applications respectively, wherein the first navigation application runs in a foreground, and N is a positive integer;
the determining module is further used for determining a target path in the M second paths under the condition that the M second paths are not matched with the first paths, wherein M is smaller than or equal to N;
and the navigation module is used for switching the target navigation application corresponding to the target path to the foreground for operation and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
According to the navigation application, the multiple navigation applications are operated at the same time, the path is planned jointly through different algorithms and different data sources of the multiple navigation applications, when the path planning superior to the current main navigation exists in the N auxiliary navigations, the navigation applications are switched in time, the process does not need active access of a driver, the vehicle can be automatically switched to a more optimal path under the condition that the driving safety of the vehicle is guaranteed, the vehicle can be guaranteed to always run on the more optimal navigation path, and the travel efficiency can be effectively improved.
Drawings
FIG. 1 shows a flow chart of a navigation method according to an embodiment of the application shown in FIG. 1;
FIG. 2 shows one of the interface diagrams of a navigation method according to an embodiment of the application;
FIG. 3 is a second schematic interface diagram of a navigation method according to an embodiment of the present application;
fig. 4 shows a block diagram of a navigation device according to an embodiment of the present application;
FIG. 5 shows a block diagram of an electronic device according to an embodiment of the application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the navigation method and the navigation apparatus provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In some embodiments of the present application, a navigation method is provided, and fig. 1 shows a flowchart of a navigation method according to an embodiment of the present application, and as shown in fig. 1, the navigation method includes:
102, acquiring current position information and navigation destination information of the electronic equipment;
104, determining a first path through a first navigation application according to the position information and the navigation destination information, and determining N second paths through N second navigation applications respectively;
in step 104, the first navigation application runs in the foreground, and N is a positive integer;
step 106, determining a target path in the M second paths under the condition that the M second paths are not matched with the first paths;
in step 106, M is less than or equal to N.
And 108, switching the target navigation application corresponding to the target path to the foreground for operation, and navigating according to the target path through the target navigation application.
In the above step, the target navigation application is included in the N second navigation applications.
In the embodiment of the application, when navigation is needed, current position information of the electronic device, namely a 'starting point' position, is determined first, and navigation destination information, namely an 'end point position', is determined.
After the start point and the end point are determined, paths from the start point to the end point, i.e. a first path and a second path, are determined by the first navigation application and the N second navigation applications, respectively. The first navigation application is a main navigation program, and the main navigation application runs in the foreground of the electronic equipment and interacts with a driver or a passenger along with the driver. The second navigation application is a "secondary navigation" program, the secondary navigation application runs in the background of the electronic device, and the number of the secondary navigation applications may be multiple, such as 1, 2, 3 or more.
Further, navigation is performed through a main navigation application, namely a first navigation application, according to a first path planned by the first navigation according to the current position information and the navigation destination information of the electronic device.
And in the navigation process, judging whether the second path is matched with the first path in real time. Specifically, the second path of each of the N second navigation applications may be compared with the first path of the current first navigation application to determine whether the second path is consistent, and if so, the two paths are matched, otherwise, the two paths are not matched.
It can be understood that, if in the N second navigation applications, a difference value between the M second paths and the first path is greater than a threshold value, it indicates that there are at least M second paths, and the M second paths are not matched with the current first path (a deviation occurs), at this time, a better second path of the M second paths is taken as a target path, and the target navigation application corresponding to the target path is switched to the foreground, and in the next trip, navigation is performed according to the target path through the target navigation application.
The "better" second path may be a shorter path in time, a closer path, or a less expensive path.
Specifically, fig. 2 shows one of the interface schematic diagrams of the navigation method according to the embodiment of the present application, as shown in fig. 2, after the navigation is started, if a target route meeting the condition is found, a corresponding prompt box 202 may pop up in the current navigation interface 200, where the prompt box 202 may include prompt information that a better route is found, "find a better route, near 1km," and may also include a corresponding confirmation identifier 204. If the current driver wishes to change the navigation, the current navigation application and navigation path can be switched by voice or by clicking on the confirmation mark 204.
According to the embodiment of the application, the multiple navigation applications are simultaneously operated, the path is jointly planned through different algorithms and different data sources of the multiple navigation applications, when the path planning superior to the current main navigation exists in the N auxiliary navigations, the navigation applications are timely switched, and the process does not need a driver to actively discriminate the path quality, so that the vehicle can be automatically switched to a more optimal path under the condition of ensuring the driving safety of the vehicle, the vehicle can be ensured to always run on the more optimal navigation path, and the travel efficiency can be effectively improved.
In some embodiments of the present application, in a case that the M second paths do not match the first path, before determining the target path in the M second paths, the method further includes:
acquiring path information of each second path in the N second paths and path information of the first path;
wherein the path information comprises at least one of: road section information, distance information, time consumption information and charging information.
In the embodiment of the application, whether the first path and the second path are consistent or not is judged according to the path information of the second path and the path information of the first path, and the target path is determined in the M second paths according to the path information.
Specifically, the route information may include road segment information, i.e., a road segment that the vehicle needs to travel through, and distance information, i.e., a total distance that the vehicle needs to travel along the route. The route information may also include time-consuming information, i.e., the length of time it takes for the vehicle to travel along the route to the navigation destination information. The route information may also include charging information, specifically, total road fees for the charged road segments through which the vehicle travels along the route to the navigation destination information.
It will be appreciated that in general, the shorter the distance, the less time consuming, or the lower the charge, the more excellent the route is. The user can freely set the weights of different route information, and also can set one of the route information as the main consideration, such as "distance priority" and "time-consuming priority".
Further, a difference value between the path information of each second path in the N second paths and the path information of the currently started first path is calculated respectively. Specifically, if the distance information of one second path is "5 km" and the distance information of the current first path is "7 km", the difference between the two is 2 km.
The user can set a corresponding preset threshold value according to actual requirements. For example, if the preset threshold of the difference value is set to 2km, it is determined that the deviation between the second path and the first path is large when the distance difference between the second path and the first path is greater than 2km, and at this time, the second path is not matched with the first path. For another example, if the preset threshold is set to 2 minutes, when the difference between the estimated time taken to travel the second path and the estimated time taken to travel the first path is greater than 2 minutes, it is determined that there is a large deviation between the second path and the first path, and it is determined that the second path is not matched with the first path. For another example, if the preset threshold is set to 5 bins, it is determined that there is a large deviation between the second path and the first path when the difference between the road cost of the second path and the road cost of the first path is greater than 5 bins, and the second path is not matched with the first path.
According to the method and the device, the difference between different navigation paths is determined by comparing the difference of the path information between the alternative path and the main path, and the 'better' navigation path can be selected quickly.
In some embodiments of the present application, determining a target path of the M second paths comprises:
respectively determining weighted values of M second paths according to a difference value between the path information of the second paths and the path information of the first paths and a preset weight ratio corresponding to the path information;
and determining the second path with the highest weight value as the target path in the M second paths.
It can be understood that the target path of the plurality of second paths is an optimal navigation path.
In the embodiment of the application, each piece of second path information in the M pieces of second path information is provided with a corresponding preset weight ratio, where the path information includes road section information, distance information, time consumption information, and charging information, and the preset weight is also an importance degree of each piece of road section information, distance information, time consumption information, and charging information in the path information. For example, if the user pays more attention to the time required to be consumed when traveling according to the route information, the weight ratio of the time consumption information set in the plurality of pieces of information is higher.
Specifically, a difference value between the path information of the second path and the path information of the first path, such as a difference between a road segment traveled along the second path and a road segment traveled along the first path, may be determined; for example, a distance difference between a distance to be traveled when traveling along the second path and a distance to be traveled when traveling along the first path; for example, the time difference between the time expected to be consumed when traveling along the second route and the time expected to be consumed when traveling along the first route; for example, the amount of the road toll expected to be paid when traveling along the second route is different from the amount of the road toll expected to be paid when traveling along the first route.
And determining an optimal path in the M second paths according to the difference value between the path information of the second path and the path information of the first path. For example, first, a difference between a distance value required to be traveled by the vehicle when traveling along the second path and a distance value in a form required by the vehicle when traveling along the first path is calculated, and unit information is removed to obtain a difference value 1; then calculating the difference value between the time expected to be consumed when the vehicle runs along the second path and the time expected to be consumed when the vehicle runs along the first path, and removing unit information to obtain a difference value 2; then calculating the difference value between the expected road charge amount when the vehicle travels along the second path and the expected road charge amount when the vehicle travels along the first path, and removing unit information to obtain a difference value 3; and finally, calculating a difference value 4 between the information of the road sections which can be passed by the vehicle when the vehicle travels along the second path and the information of the road sections which can be passed by the vehicle when the vehicle travels along the first path.
For the road section information, because the information is not a number, different road sections can be assigned through the assignment table of the preset road sections, and the better the road section is, the higher the assignment is. It can be understood that the higher the speed limit of the road section is, the lower the traffic jam rate is, the better the road section is, and the higher the assignment is. The difference 4 is obtained by querying the assignment of the second road section and the assignment of the first road section and calculating the difference between the two assignments.
Further, the sum of the difference value 1, the difference value 2, the difference value 3 and the difference value 4 is used as a weight value of one second path, and which second path is "better" in the M second paths is judged according to the magnitude of the weight value.
Specifically, in the calculation, different weight ratios may be set for the difference 1, the difference 2, the difference 3, and the difference 4, for example, the weight ratio of the link information is 0.2 (20%), the weight ratio of the distance information is 0.3 (30%), the weight ratio of the time consumption information is 0.4 (40%), and the weight ratio of the charging information is 0.1 (10%). It can be understood that the weight ratio of different path information can be set according to the actual requirement of the user.
Therefore, when determining the weight value of the second path, it can be calculated by the following equation:
Q=|D2-D1|×Q1+|T2-T1|×Q2+|P2-P1|×Q3+|M2-M1|×Q4;
wherein Q is a weight value, D2 is distance information corresponding to the second path, D1 is distance information corresponding to the first path, Q1 is a weight ratio corresponding to the distance information, T2 is time-consuming information corresponding to the second path, T1 is time-consuming information corresponding to the first path, Q2 is a weight ratio corresponding to the time-consuming information, P2 is charging information corresponding to the second path, P1 is charging information corresponding to the first path, Q3 is a weight ratio corresponding to the charging information, M2 is link information corresponding to the second path, M1 is link information corresponding to the first path, and Q4 is a weight ratio corresponding to the link information.
Since it is determined that there is an alternative path "better" than the first path in the M second paths, it can be understood that the distance value that the vehicle needs to travel when traveling along the second path is smaller than the distance value that the vehicle needs to travel when traveling along the first path in the M second paths; and/or the estimated elapsed time is shorter when travelling along the second path than when travelling along the first path; and/or the estimated cost of passing along the second path is less than the estimated cost of passing along the first path.
Therefore, after the weight of each second path is calculated, the second path with the highest weight value is selected as the optimal target path, the navigation application is switched to the target navigation application corresponding to the target path, and navigation is performed according to the target path, so that the vehicle can be guaranteed to always run on a better navigation path, and the travel efficiency can be effectively improved.
In some embodiments of the present application, determining a target path of the M second paths comprises:
respectively acquiring the updating time of M second navigation applications corresponding to the M second paths;
and determining a second path corresponding to the second navigation application with the latest updating time as a target path.
In the embodiment of the application, due to the situations of construction, accidents or major activities, the partial roads are in a 'closed road' state, namely in an impassable state. If the navigation application does not update the closing information in time, the road that is in an impassable state may be planned into the navigation path, resulting in additional distance and time wasted by the vehicle.
Since different navigation applications may have different update frequencies and update time points of the map data, the target navigation application and the target route may be selected according to the update times of M second navigation applications corresponding to the M second routes.
Specifically, whether a road section passing through a construction road section, an accident road section or a road section registered with special conditions such as major activities exists in the navigation paths can be judged firstly, if yes, the updating time of M second navigation applications is respectively obtained, and since the updating time is more recent, the more reliable the navigation applications are on the information of the special conditions such as construction, accidents and major activities, the second path planned by the second navigation application with the latest updating time is selected from the M second navigation applications to be used as a target path, and navigation is performed according to the target path, so that the road section occupied by construction, accidents or major activities can be effectively avoided, and the navigation efficiency and reliability are improved.
In some embodiments of the present application, before determining the N second paths by the N second navigation applications, respectively, further includes:
starting N second navigation applications in the background under the condition that the first path meets a preset condition;
the position information and the navigation destination information are input in the N second navigation applications.
In this embodiment of the application, the first navigation application is a navigation application running in the foreground, that is, a main navigation application. The user sets navigation destination information by interacting with the primary navigation application. Specifically, the user may perform text input in the input box of the first navigation application, thereby spelling the navigation destination information in the text box.
In the navigation process, if the first path meets the preset condition, starting N second navigation applications in the background. The preset condition can be that the vehicle travels to the destination along the first path, the consumed time exceeds the historical average consumed time, or the vehicle travels to the destination along the first path, the number of signal lamps of the path exceeds the set number, or a school section, a village section or a congested section of the first path.
And automatically starting N second navigation applications in the background under the condition that the first path meets the preset condition. Specifically, fig. 3 shows a second interface schematic diagram of the navigation method according to the embodiment of the present application, as shown in fig. 3, a navigation interface 300 corresponding to the first navigation application includes an input box 302, and the user inputs characters of navigation destination information in the input box 302. The first navigation application determines navigation destination information and plans a path according to the user input.
Since the second navigation application is running in the background, no user input can be received. At this time, an image Recognition program may be started in the system, and the image Recognition program collects corresponding image information according to the text image in the input box 302 of the first navigation application, and performs image Recognition, specifically Optical Character Recognition (OCR). Text data of characters of the navigation destination information input by the user in the input box 302 of the first navigation application is extracted by the OCR technology, and the text data is input as input to the N second navigation applications, respectively, so that the same navigation destination information is determined in the N second navigation applications.
According to the method and the device, through character recognition based on the OCR technology, the same navigation destination information is synchronously determined in the N second navigation applications while the user determines the navigation destination information in the first navigation application, the user does not need to manually input in the N second navigation applications, the user operation is saved, and the navigation efficiency is improved.
In some embodiments of the present application, a navigation device is provided, and fig. 4 shows a block diagram of a navigation device according to an embodiment of the present application, and as shown in fig. 4, a navigation device 400 includes:
an obtaining module 402, configured to obtain current location information and navigation destination information of an electronic device;
a determining module 404, configured to determine, according to the position information and the navigation destination information, a first path through a first navigation application, and determine N second paths through N second navigation applications, respectively, where the first navigation application runs in a foreground, where N is a positive integer; under the condition that the M second paths are not matched with the first paths, determining target paths in the M second paths; wherein M is less than or equal to N;
the navigation module 406 is configured to switch a target navigation application corresponding to the target path to a foreground for operation, and perform navigation according to the target path through the target navigation application; and the N second navigation applications comprise target navigation applications.
According to the embodiment of the application, the multiple navigation applications are simultaneously operated, the path is jointly planned through different algorithms and different data sources of the multiple navigation applications, when the path planning superior to the current main navigation exists in the N auxiliary navigations, the navigation applications are timely switched, and the process does not need a driver to actively discriminate the path quality, so that the vehicle can be automatically switched to a more optimal path under the condition of ensuring the driving safety of the vehicle, the vehicle can be ensured to always run on the more optimal navigation path, and the travel efficiency can be effectively improved.
In some embodiments of the present application, the obtaining module 402 is further configured to:
acquiring path information corresponding to each second path in the N second paths and path information of the first path; wherein the path information comprises at least one of: road section information, distance information, time consumption information and charging information.
In the embodiment of the application, whether the first path and the second path are consistent or not is judged according to the path information of the second path and the path information of the first path, and the target path is determined in the M second paths according to the path information.
In the embodiment of the application, the difference between different navigation paths is determined by comparing the difference of the path information between the alternative path and the main path, so that a 'better' navigation path can be selected quickly.
In some embodiments of the present application, the determining module 404 is further configured to:
respectively determining weighted values of M second paths according to a difference value between the path information of the second paths and the path information of the first paths and a preset weight ratio corresponding to the path information;
and determining the second path with the highest weight value as the target path in the M second paths.
It can be understood that the target path of the plurality of second paths is an optimal navigation path.
In the embodiment of the application, after the weight of each second path is calculated, one second path with the highest weight value is selected as a better target path, the navigation application is switched to the target navigation application corresponding to the target path, and navigation is performed according to the target path, so that the vehicle can be ensured to always run on the better navigation path, and the travel efficiency can be effectively improved.
In some embodiments of the present application, the obtaining module 402 is further configured to:
respectively acquiring the updating time of M second navigation applications corresponding to the M second paths;
and determining a second path corresponding to the second navigation application with the latest updating time as a target path.
In the embodiment of the application, whether a road section passing through a construction road section, an accident road section or a road section registered with special conditions such as major activities exists in the navigation paths can be judged firstly, if so, the updating time of M second navigation applications is respectively obtained, and since the updating time is more recent, the more reliable the navigation applications are on the information of the special conditions such as construction, accidents and major activities, the second path planned by the second navigation application with the latest updating time is selected from the M second navigation applications to be used as a target path, and navigation is performed according to the target path, so that the road section occupied by construction, accidents or major activities can be effectively avoided, and the navigation efficiency and reliability are improved.
In some embodiments of the present application, the navigation device 400 further comprises:
the starting module 408 is configured to start the N second navigation applications in the background when the first path meets the preset condition; the position information and the navigation destination information are input in the N second navigation applications.
In this embodiment of the application, the first navigation application is a navigation application running in the foreground, that is, a main navigation application. The user sets navigation destination information by interacting with the primary navigation application. Specifically, the user may perform text input in the input box of the first navigation application, thereby spelling the navigation destination information in the text box.
In the embodiment of the application, through character recognition based on the OCR technology, the same navigation destination information is synchronously determined in the N second navigation applications while the user determines the navigation destination information in the first navigation application, the user does not need to manually input in the N second navigation applications, the user operation is saved, and the navigation efficiency is improved.
The navigation device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The navigation device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, fig. 5 shows a block diagram of a structure of the electronic device according to the embodiment of the present application, and as shown in fig. 5, the electronic device 500 includes a processor 502, a memory 504, and a program or an instruction stored in the memory 504 and executable on the processor 502, and when the program or the instruction is executed by the processor 502, the processes of the foregoing method embodiments are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 2005 is configured to acquire current location information and navigation destination information of the electronic device;
the processor 2010 is configured to determine a first path through a first navigation application according to the position information and the navigation destination information, and determine N second paths through N second navigation applications, respectively, where the first navigation application runs in a foreground, and N is a positive integer; under the condition that the M second paths are not matched with the first path, determining a target path in the M second paths, wherein M is less than or equal to N; and switching the target navigation application corresponding to the target path to a foreground for operation, and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.
Optionally, the processor 2010 is further configured to obtain path information of each of the N second paths and path information of the first path; wherein the path information comprises at least one of: road section information, distance information, time consumption information and charging information.
Optionally, the processor 2010 is further configured to determine weight values of the M second paths according to a difference value between the path information of the second path and the path information of the first path and a preset weight ratio corresponding to the path information; and determining the second path with the highest weight value as the target path in the M second paths.
Optionally, the processor 2010 is further configured to obtain update times of M second navigation applications corresponding to the M second paths, respectively; and determining a second path corresponding to the second navigation application with the latest updating time as the target path navigation application.
Optionally, the processor 2010 is further configured to, in a case that the first path meets a preset condition, start N second navigation applications in the background; the position information and the navigation destination information are input in the N second navigation applications.
According to the navigation application, the multiple navigation applications are operated at the same time, the path is planned jointly through different algorithms and different data sources of the multiple navigation applications, when the path planning superior to the current main navigation exists in the N auxiliary navigations, the navigation applications are switched in time, the process does not need active access of a driver, the vehicle can be automatically switched to a more optimal path under the condition that the driving safety of the vehicle is guaranteed, the vehicle can be guaranteed to always run on the more optimal navigation path, and the travel efficiency can be effectively improved.
It should be understood that, in the embodiment of the present application, the input Unit 2004 may include a Graphics Processing Unit (GPU) 20041 and a microphone 20042, and the Graphics processor 20041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
The display unit 2006 may include a display panel 20061, and the display panel 20061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 2007 includes a touch panel 20071 and other input devices 20072. A touch panel 20071, also referred to as a touch screen. The touch panel 20071 may include two parts, a touch detection device and a touch controller. Other input devices 20072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 2009 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 2010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc. and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 2010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may 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 instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A navigation method, comprising:
acquiring current position information and navigation destination information of the electronic equipment;
determining a first path through the first navigation application according to the position information and the navigation destination information, and determining N second paths through N second navigation applications respectively, wherein the first navigation application runs in a foreground, and N is a positive integer;
determining a target path in M second paths under the condition that the M second paths are not matched with the first path, wherein M is less than or equal to N;
and switching the target navigation application corresponding to the target path to a foreground for operation, and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.
2. The navigation method according to claim 1, wherein before determining the target path of the M second paths in the case that the M second paths do not match the first path, further comprising:
acquiring path information of each second path in the N second paths and path information of the first path;
wherein the path information comprises at least one of: road section information, distance information, time consumption information and charging information.
3. The navigation method according to claim 2, wherein said determining a target path of said M second paths comprises:
respectively determining the weighted values of the M second paths according to the difference value between the path information of the second path and the path information of the first path and the preset weighted ratio corresponding to the path information;
and determining a second path with the highest weight value as the target path in the M second paths.
4. The navigation method according to claim 1, wherein said determining a target path of said M second paths comprises:
respectively acquiring the updating time of M second navigation applications corresponding to the M second paths;
and determining a second path corresponding to the second navigation application with the latest updating time as a target path.
5. The navigation method according to any one of claims 1 to 4, wherein before determining the N second paths by the N second navigation applications, respectively, further comprising:
starting the N second navigation applications in a background under the condition that the first path meets a preset condition;
inputting the location information and the navigation destination information in the N second navigation applications.
6. A navigation device, comprising:
the acquisition module is used for acquiring the current position information and navigation destination information of the electronic equipment;
a determining module, configured to determine a first path through the first navigation application according to the location information and the navigation destination information, and determine N second paths through N second navigation applications, respectively, where the first navigation application runs in a foreground, and N is a positive integer;
the determining module is further configured to determine a target path in M second paths when the M second paths do not match the first path, where M is less than or equal to N;
and the navigation module is used for switching the target navigation application corresponding to the target path to a foreground for operation and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application.
7. The navigation device of claim 6, wherein the acquisition module is further configured to:
acquiring path information corresponding to each second path in the N second paths and path information of the first path;
wherein the path information comprises at least one of:
road section information, distance information, time consumption information and charging information.
8. The navigation device of claim 7, wherein the determination module is further configured to:
respectively determining the weighted values of M second paths according to the difference value between the path information of the second path and the path information of the first path and a preset weighted ratio corresponding to the path information;
and determining a second path with the highest weight value as the target path in the M second paths.
9. The navigation device of claim 6, wherein the acquisition module is further configured to:
respectively acquiring the updating time of M second navigation applications corresponding to the M second paths;
and determining a second path corresponding to the second navigation application with the latest updating time as a target path.
10. The navigation device according to any one of claims 6 to 8, further comprising:
the starting module is used for starting the N second navigation applications in a background under the condition that the first path meets a preset condition;
inputting the location information and the navigation destination information in the N second navigation applications.
CN202110879581.0A 2021-08-02 2021-08-02 Navigation method and navigation device Active CN113639759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110879581.0A CN113639759B (en) 2021-08-02 2021-08-02 Navigation method and navigation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110879581.0A CN113639759B (en) 2021-08-02 2021-08-02 Navigation method and navigation device

Publications (2)

Publication Number Publication Date
CN113639759A true CN113639759A (en) 2021-11-12
CN113639759B CN113639759B (en) 2024-04-02

Family

ID=78419356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110879581.0A Active CN113639759B (en) 2021-08-02 2021-08-02 Navigation method and navigation device

Country Status (1)

Country Link
CN (1) CN113639759B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104567907A (en) * 2015-01-22 2015-04-29 四川汇源吉迅数码科技有限公司 Method for real-time path planning based on dynamic feedback
US20160062635A1 (en) * 2014-08-27 2016-03-03 Honda Motor Co., Ltd. Application management
CN107621953A (en) * 2017-09-19 2018-01-23 维沃移动通信有限公司 The display methods and mobile terminal of a kind of application message
CN109005297A (en) * 2018-08-30 2018-12-14 维沃移动通信有限公司 A kind of display methods and mobile terminal of navigation application
CN109388471A (en) * 2018-10-18 2019-02-26 维沃移动通信有限公司 A kind of air navigation aid and device
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160062635A1 (en) * 2014-08-27 2016-03-03 Honda Motor Co., Ltd. Application management
CN104567907A (en) * 2015-01-22 2015-04-29 四川汇源吉迅数码科技有限公司 Method for real-time path planning based on dynamic feedback
CN107621953A (en) * 2017-09-19 2018-01-23 维沃移动通信有限公司 The display methods and mobile terminal of a kind of application message
CN109005297A (en) * 2018-08-30 2018-12-14 维沃移动通信有限公司 A kind of display methods and mobile terminal of navigation application
CN109388471A (en) * 2018-10-18 2019-02-26 维沃移动通信有限公司 A kind of air navigation aid and device
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal

Also Published As

Publication number Publication date
CN113639759B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
US11506507B2 (en) Multimodal vehicle routing system and method with vehicle parking
JP6467773B2 (en) Route search system, route search method and computer program
CN102243811B (en) Vehicular navigation system and recommendation paths search method
CN113218406B (en) Navigation method, device, equipment and medium of electronic map
CN112683287A (en) Path generation method and device, electronic equipment and storage medium
EP3009798B1 (en) Providing alternative road navigation instructions for drivers on unfamiliar roads
CN112050824A (en) Route planning method, device and system for vehicle navigation and electronic equipment
WO2011119358A1 (en) Navigation system with image assisted navigation mechanism and method of operation thereof
JP2009204481A (en) Navigation device and program
CN106097748B (en) The method for pushing and supplying system of traffic information
US10679390B1 (en) Confidence threshold determination for machine-learned labeling
CN107204124B (en) bus recommendation method and device
US20150177014A1 (en) Route calculation system, route calculation device, route calculation method, and computer program
JP2016053495A (en) Route search system, route search method, and computer program
US10460185B2 (en) Roadside image tracking system
KR102026913B1 (en) Method and system for selecting a stop for traffic demand service
US20160123747A1 (en) Drive assist system, method, and program
CN114005283B (en) Navigation method and device of vehicle, electronic equipment and storage medium
JP2019158413A (en) Electronic device, electronic system, method for searching for route, and route guidance program
JPWO2016113890A1 (en) Travel plan creation device and travel plan change method
JP2009104415A (en) Vehicle travel history information provision system
US20070239354A1 (en) Method of searching route in navigation system
JP5538252B2 (en) Navigation system, center server, in-vehicle device
JP2016057088A (en) Map display system, method, and program
CN111951583A (en) Prompting method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant