CN113639759B - Navigation method and navigation device - Google Patents

Navigation method and navigation device Download PDF

Info

Publication number
CN113639759B
CN113639759B CN202110879581.0A CN202110879581A CN113639759B CN 113639759 B CN113639759 B CN 113639759B CN 202110879581 A CN202110879581 A CN 202110879581A CN 113639759 B CN113639759 B CN 113639759B
Authority
CN
China
Prior art keywords
navigation
path
information
paths
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110879581.0A
Other languages
Chinese (zh)
Other versions
CN113639759A (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

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

Landscapes

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

Abstract

The application discloses a navigation method and a navigation device, and belongs to the technical field of navigation. A navigation method, comprising: 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 operates in the foreground, and N is a positive integer; under the condition that M second paths are not matched with the first paths, determining target paths in the M second paths, wherein M is smaller than or equal to N; and switching the target navigation application corresponding to the target path to the foreground operation, and navigating according to the target path through the target navigation application, wherein N second navigation applications comprise the target navigation application.

Description

Navigation method and navigation device
Technical Field
The application belongs to the technical field of navigation, and particularly relates to a navigation method and a navigation device.
Background
In the related art, the navigation application programs plan more suitable routes for the vehicle owners according to the map data and real-time road condition data, such as shorter time, closer distance or lower cost. The algorithm of different navigation application programs is different, the data source and the data updating frequency are also different, so that different programs can obtain different path results for the same destination.
The user needs to pay attention to driving in the navigation process, and cannot run a plurality of navigation application programs simultaneously for comparison, so that experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a navigation method and a navigation device, which can find a better path in a plurality of navigation application programs 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 operates in the foreground, and 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 smaller than or equal to M;
and switching the target navigation application corresponding to the target path to the foreground operation, and navigating according to the target path through the target navigation application, wherein N second navigation applications comprise the target navigation application.
In a second aspect, embodiments of the present application provide 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 operates in the 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 path, 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 operation and navigating according to the target path through the target navigation application, wherein N second navigation applications comprise the target navigation application.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing the steps of the method as in the first aspect.
According to the method and the device, the multiple navigation applications are operated at the same time, the paths are 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 N auxiliary navigation, the navigation applications are switched in time, and the process does not need to be actively accessed by a driver, so that the vehicles can be automatically switched to a better path under the condition of ensuring the running safety of the vehicles, the vehicles can be ensured to always run on the better navigation path, and the travel efficiency can be effectively improved.
Drawings
FIG. 1 illustrates a flow chart of FIG. 1 illustrating a navigation method according to an embodiment of the present application;
FIG. 2 illustrates one of the interface schematics of a navigation method according to an embodiment of the present application;
FIG. 3 illustrates a second 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 present application;
fig. 6 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The navigation method and the navigation device provided by the embodiments of the present application are described in detail below 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, fig. 1 shows a flowchart of the 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, a first navigation application is run in the foreground, N being 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 path;
in step 106, M is less than or equal to N.
And step 108, switching the target navigation application corresponding to the target path to foreground operation, and navigating according to the target path through the target navigation application.
In the above step, the N second navigation applications include the target navigation application.
In the embodiment of the application, when navigation is needed, first, the current position information of the electronic device, namely, the "start point" position, is determined, and the navigation destination information, namely, the "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 on the foreground of the electronic equipment and interacts with a driver or a passenger. 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 secondary navigation applications may be multiple, such as 1, 2, 3, or more.
Further, navigation is first performed by a main navigation application, i.e. a first navigation application, according to a first path planned by the first navigation according to the current position information and navigation destination information of the electronic device.
In the navigation process, whether the second path is matched with the first path or not is judged 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 respectively, if so, it is indicated that the two paths are matched, otherwise, the two paths are not matched.
It can be understood that if the difference value between the M second paths and the first path is greater than the threshold value in the N second navigation applications, at least M second paths are indicated to be not matched with the current first path (deviation occurs), at this time, the preferred one of the M second paths is taken as the target path, the target navigation application corresponding to the target path is switched to the foreground, and in the next journey, navigation is performed according to the target path by the target navigation application.
The "better" second path may be a shorter path, a closer path, or a less expensive path.
Specifically, fig. 2 shows one of interface 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 path meeting a condition is found, a corresponding prompt box 202 may be popped up in the current navigation interface 200, and the prompt box 202 may include prompt information that a better path is found, "find a better path, near 1km", and may also include a corresponding confirmation identifier 204. If the current driver wishes to alter the navigation, the current navigation application and navigation path may be switched by voice, or by clicking on the confirmation identifier 204.
According to the method and the device, the multiple navigation applications are operated simultaneously, the paths are 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 N auxiliary navigation, the navigation applications are switched in time, and the process does not need a driver to actively screen the paths, so that the vehicle can be automatically switched to a better path under the condition of ensuring the running safety of the vehicle, 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, before determining the target path in the M second paths in the case where the M second paths do not match the first path, the method further includes:
acquiring path information of each second path and path information of the first path in the N second paths;
wherein the path information includes at least one of: road segment information, distance information, time-consuming information, and charging information.
In the embodiment of the application, whether the first path and the second path are consistent 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 path information may include road section information, i.e., a road section through which the vehicle needs to travel, and distance information, i.e., a total distance along which the vehicle needs to travel, for traveling along the path. The path information may also include time consuming information, i.e., the length of time it takes for the vehicle to travel along the path to navigate to the destination information. The path information may also include charging information, specifically, total road charge of a charged road section through which the vehicle travels along the path 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 path is. The user can freely set the weights of different path information, and can also set one path information as main consideration, such as 'distance priority', 'time-consuming priority', and the like.
Further, the difference value between the path information of each of the N second paths and the path information of the first path which is started currently is calculated. Specifically, assuming that the distance information of one second path is "5km" and the distance information of the current first path is "7km", the difference value between the two is 2km.
The user can set a corresponding preset threshold according to the actual demand. For example, if the preset threshold of the difference value is set to 2km, when the distance difference between the second path and the first path is greater than 2km, it is determined that there is a larger deviation between the second path and the first path, 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 consumption of traveling on the second path and the estimated time consumption of traveling on 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 yuan, if the difference between the road cost of the second path and the road cost of the first path is greater than 5 yuan, it is determined that there is a larger deviation between the second path and the first path, and at this time, the second path does not coincide with the first path.
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 the method and the device are favorable for quickly selecting a better navigation path.
In some embodiments of the present application, determining a target path of the M second paths includes:
respectively determining weight values of M second paths according to the difference value between the path information of the second paths and the path information of the first paths and the preset weight ratio corresponding to the path information;
and determining the second path with the highest weight value as a target path in the M second paths.
It can be appreciated that the target path of the plurality of second paths is an optimal navigation path.
In this embodiment of the present application, each of the M second path information is provided with a corresponding preset weight ratio, where the path information includes road segment information, distance information, time consuming information and charging information, and the preset weights are the importance of each of the road segment information, distance information, time consuming information and charging information in the path information. For example, when the user is more aware of the time required to travel according to the route information, the weight ratio of the time-consuming information is set to be higher among the plurality of pieces of information.
Specifically, the difference value between the path information of the second path and the path information of the first path, such as the difference between the road section traversed while traveling along the second path and the road section traversed while traveling along the first path, may be determined according to the path information of the second path; for example, the distance between the distance to be travelled when travelling along the second path and the distance to be travelled when travelling along the first path; for example, a time difference between a time estimated to be consumed when traveling along the second path and a time estimated to be consumed when traveling along the first path; such as the difference between the road tolls expected to be paid when traveling along the second path and the road tolls expected to be paid when traveling along the first path.
And determining an optimal path among the M second paths according to the difference value between the path information of the second paths and the path information of the first paths. For example, first, calculating a difference between a distance value required to travel 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, and removing unit information to obtain a difference 1; then calculating the difference between the estimated time consumed when the vehicle runs along the second path and the estimated time consumed when the vehicle runs along the first path, and removing the unit information to obtain a difference value 2; then calculating the difference between the predicted road charge amount when the road vehicle runs along the second path and the predicted road charge amount when the road vehicle runs along the first path, and removing the unit information to obtain a difference value 3; and finally calculating the difference 4 between the road section information which is passed when the vehicle runs along the second path and the road section information which is passed when the vehicle runs along the first path.
For the road section information, the information is not a number, so that different road sections can be assigned through a preset assignment table of the road sections, and the better the road section, the higher the assignment of the road section. It can be understood that the higher the speed limit of the road section and the lower the traffic jam rate, 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.
Further, as a weight value of one second path, according to the sum of the difference 1, the difference 2, the difference 3 and the difference 4, which second path is "better" among the M second paths is determined according to the magnitude of the weight value.
Specifically, in the calculation, different weight ratios may be set for the above-mentioned difference 1, difference 2, difference 3 and difference 4, for example, the weight ratio of the road section information is 0.2 (20%), the weight ratio of the distance information is 0.3 (30%), the weight ratio of the time-consuming 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 the different path information can be set according to the actual demands of the users.
Thus, in 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 road section information corresponding to the second path, M1 is road section information corresponding to the first path, and Q4 is a weight ratio corresponding to the road section information.
Since there are alternative paths that are "better than" the first paths in determining the M second paths, it can be understood that the distance value that the vehicle needs to travel when traveling along the second paths is smaller than the distance value that the vehicle needs to travel when traveling along the first paths in the M second paths; and/or the estimated time consumption is shorter when traveling along the second path than when traveling 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, one second path with the highest weight value is selected as the optimal target path, and the navigation application is switched to the target navigation application corresponding to the target path, so that the vehicle can be ensured to always run on the optimal 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 includes:
respectively acquiring update 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 conditions of construction, accidents, major activities and the like, a part of roads are "closed", namely in an impassable state. If the navigation application does not update the closure information in time, the road in non-passable may be planned into the navigation path, resulting in additional distance and time wasted by the vehicle.
Since the update frequency and update time point of the map data may be different for different navigation applications, the target navigation application and the target path may be selected according to the update time of the M second navigation applications corresponding to the M second paths.
Specifically, it may be first determined whether there is a road segment passing through a construction road segment, an accident road segment, or a road segment with a special situation such as a major activity registered in the navigation path, if there is a road segment passing through the construction road segment, the accident road segment, or the road segment with a special situation such as a major activity registered in the navigation path, then update times of the M second navigation applications are respectively obtained, and the more reliable the update times indicate that the navigation applications are to the information of the special situation such as the construction, the accident, the major activity, etc., so that among the M second navigation applications, a second path planned by the second navigation application with the latest update times is selected as a target path, and navigation is performed according to the target path, thereby effectively avoiding the road segment occupied by the construction, the accident, or the major activity, and improving the navigation efficiency and reliability.
In some embodiments of the present application, before determining the N second paths by the N second navigation applications, respectively, the method further includes:
under the condition that the first path meets the preset condition, starting N second navigation applications in the background;
position information and navigation destination information are input in N second navigation applications.
In the embodiment of the present 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 main navigation application. Specifically, the user may perform text input in an 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 may be that the vehicle travels to the destination along the first path, the consumed time exceeds the average time consumption of the history, or the vehicle travels to the destination along the first path, the number of signal lamps of the path exceeds the set number, or the first path passes through school sections, village sections or congestion sections, etc.
And under the condition that the first path meets the preset condition, automatically starting N second navigation applications in the background. 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, in a navigation interface 300 corresponding to the first navigation application, an input box 302 is included, and the user inputs text of navigation destination information in the input box 302. The first navigation application determines navigation destination information according to user input and plans a path.
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, which collects corresponding image information from the text image in the input box 302 of the first navigation application and performs image recognition, in particular optical character recognition (Optical Character Recognition, OCR). Text data of characters of navigation destination information input by a user in an input box 302 of the first navigation application is extracted by an OCR technology, and the text data is input as input to 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, the character recognition based on the OCR technology is adopted, so that the same navigation destination information is synchronously determined in 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 the navigation destination information in the N second navigation applications, user operation is saved, and navigation efficiency is improved.
In some embodiments of the present application, a navigation device is provided, 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 a first path through a 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 N is a positive integer, and the first navigation application operates in the foreground; determining a target path in the 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;
the navigation module 406 is configured to switch a target navigation application corresponding to the target path to foreground operation, and navigate according to the target path through the target navigation application; the N second navigation applications comprise target navigation applications.
According to the method and the device, the multiple navigation applications are operated simultaneously, the paths are 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 N auxiliary navigation, the navigation applications are switched in time, and the process does not need a driver to actively screen the paths, so that the vehicle can be automatically switched to a better path under the condition of ensuring the running safety of the vehicle, 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 acquisition 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 includes at least one of: road segment information, distance information, time-consuming information, and charging information.
In the embodiment of the application, whether the first path and the second path are consistent 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 the 'better' navigation path can be selected quickly.
In some embodiments of the present application, the determining module 404 is further configured to:
respectively determining weight values of M second paths according to the difference value between the path information of the second paths and the path information of the first paths and the preset weight ratio corresponding to the path information;
and determining the second path with the highest weight value as a target path in the M second paths.
It can be appreciated 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, and the navigation application is switched to the target navigation application corresponding to the target path, so that the navigation is performed according to the target path, 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 acquisition module 402 is further configured to:
respectively acquiring update 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 navigation path has a construction road section, an accident road section or a road section registered with special conditions such as major activities or the like can be judged first, if so, the update time of M second navigation applications is acquired respectively, and the more the update time is, the more reliable the information of the navigation applications to the special conditions such as construction, accidents and major activities is indicated, so that the second path planned by the second navigation application with the latest update time is selected as a target path in the M second navigation applications, navigation is carried out according to the target path, the road section occupied by the construction, accidents or major activities can be avoided effectively, and the navigation efficiency and reliability are improved.
In some embodiments of the present application, the navigation device 400 further comprises:
a starting module 408, configured to start N second navigation applications in the background if the first path meets a preset condition; position information and navigation destination information are input in N second navigation applications.
In the embodiment of the present 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 main navigation application. Specifically, the user may perform text input in an input box of the first navigation application, thereby spelling the navigation destination information in the text box.
According to 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 the navigation destination information in the N second navigation applications, user operation is saved, and navigation efficiency is improved.
The navigation device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The navigation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The navigation device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, an electronic device is further provided in the embodiments of the present application, fig. 5 shows a block diagram of a structure of an electronic device according to an embodiment of the present application, as shown in fig. 5, an electronic device 500 includes a processor 502, a memory 504, and a program or an instruction stored in the memory 504 and capable of running on the processor 502, where the program or the instruction implements each process of the foregoing method embodiment when executed by the processor 502, and the same technical effects are achieved, and are not repeated herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 6 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: radio frequency unit 2001, network module 2002, audio output unit 2003, input unit 2004, sensor 2005, display unit 2006, user input unit 2007, interface unit 2008, memory 2009, and processor 2010.
Those skilled in the art will appreciate that the electronic device 2000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 2010 through a power management system so as to perform functions such as managing charging, discharging, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The sensor 2005 is used for acquiring current position 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 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 the foreground and N is a positive integer; under the condition that M second paths are not matched with the first paths, determining target paths in the M second paths, wherein M is smaller than or equal to N; and switching the target navigation application corresponding to the target path to the foreground operation, and navigating according to the target path through the target navigation application, wherein 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 includes at least one of: road segment information, distance information, time-consuming 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 paths and the path information of the first paths and a preset weight ratio corresponding to the path information, respectively; and determining the second path with the highest weight value as a 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 a target path navigation application.
Optionally, the processor 2010 is further configured to launch N second navigation applications in the background if the first path meets a preset condition; position information and navigation destination information are input in N second navigation applications.
According to the method and the device, the multiple navigation applications are operated at the same time, the paths are 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 N auxiliary navigation, the navigation applications are switched in time, and the process does not need to be actively accessed by a driver, so that the vehicles can be automatically switched to a better path under the condition of ensuring the running safety of the vehicles, the vehicles can be ensured to always run on the better navigation path, and the travel efficiency can be effectively improved.
It should be appreciated that in embodiments of the present application, the input unit 2004 may include a graphics processor (Graphics Processing Unit, GPU) 20041 and a microphone 20042, the graphics processor 20041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode.
The 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. The touch panel 20071 is also referred to as a touch screen. The touch panel 20071 can 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, a joystick, and so forth, which are not described in detail herein. Memory 2009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 2010 may integrate an application processor with a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor 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 application further provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, the processes of the above method embodiment are realized, the same technical effects can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A navigation method, comprising:
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 operates 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 smaller than or equal to N;
switching a target navigation application corresponding to the target path to foreground operation, and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application;
before the determining N second paths by the N second navigation applications respectively, the method further includes:
starting the N second navigation applications in the background under the condition that the first path meets the preset condition;
and simultaneously determining the same navigation destination information in the N second navigation applications and inputting the position information and the navigation destination information in the N second navigation applications while determining the navigation destination information in the first navigation application based on character recognition of OCR technology.
2. The navigation method according to claim 1, wherein, in the case where M second paths do not match the first path, before determining a target path of the M second paths, 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 includes at least one of: road segment information, distance information, time-consuming information, and charging information.
3. The navigation method of claim 2, wherein the determining a target path of the M second paths comprises:
respectively determining the weight values of the M second paths according to the difference value between the path information of the second paths and the path information of the first paths and the 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.
4. The navigation method of claim 1, wherein the determining a target path of the M second paths comprises:
respectively acquiring update 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. A navigation device, comprising:
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 operates in a foreground, and N is a positive integer;
the determining module is further configured to determine a target path in the M second paths if the M second paths are not matched with the first path, where M is less than or equal to N;
the navigation module is used for switching the target navigation application corresponding to the target path to a foreground operation and navigating according to the target path through the target navigation application, wherein the N second navigation applications comprise the target navigation application;
the starting module is used for starting the N second navigation applications in the background under the condition that the first path meets the preset condition;
and simultaneously determining the same navigation destination information in the N second navigation applications and inputting the position information and the navigation destination information in the N second navigation applications while determining the navigation destination information in the first navigation application based on character recognition of OCR technology.
6. The navigation device of claim 5, 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 includes at least one of:
road segment information, distance information, time-consuming information, and charging information.
7. The navigation device of claim 6, wherein the determination module is further configured to:
respectively determining weight values of M second paths according to the difference value between the path information of the second paths and the path information of the first paths and the preset weight 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.
8. The navigation device of claim 5, wherein the acquisition module is further configured to:
respectively acquiring update 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.
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 CN113639759A (en) 2021-11-12
CN113639759B true 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 (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10289260B2 (en) * 2014-08-27 2019-05-14 Honda Motor Co., Ltd. Systems and techniques for application multi-tasking

Patent Citations (5)

* 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
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
CN113639759A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US11506507B2 (en) Multimodal vehicle routing system and method with vehicle parking
US9689693B2 (en) Systems and methods for learning and displaying customized geographical navigational options
US8768569B2 (en) Information providing method for mobile terminal and apparatus thereof
CN102243811B (en) Vehicular navigation system and recommendation paths search method
US8996295B2 (en) Vehicle range projection
EP3190385B1 (en) Route searching system, route searching method, and computer program
CN112683287A (en) Path generation method and device, electronic equipment and storage medium
CN104583722A (en) Apparatus and method for route searching
US20150176996A1 (en) Systems and Methods for Unified Directions
CN107204124B (en) bus recommendation method and device
KR102026913B1 (en) Method and system for selecting a stop for traffic demand service
CN111256720B (en) Navigation method and device
CN113218406A (en) Navigation method, device, equipment and medium of electronic map
JP2020056739A (en) Route search device and computer program
JP2009204481A (en) Navigation device and program
CN109489674B (en) Method, device and storage medium for determining road section based on position
CN112129304A (en) Electronic navigation method, electronic navigation device, electronic equipment and storage medium
JP2019158413A (en) Electronic device, electronic system, method for searching for route, and route guidance program
WO2014024604A1 (en) Drivable route calculating device, computer program, and display data generating device
CN114005283A (en) Navigation method and device of vehicle, electronic equipment and storage medium
CN113959458A (en) Navigation method, navigation device, terminal equipment and computer readable storage medium
CN111951583A (en) Prompting method and electronic equipment
CN106468556A (en) A kind of running information is shared, methods of exhibiting and device
CN113639759B (en) Navigation method and navigation device
CN109916420B (en) Vehicle navigation method and related device

Legal Events

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