CN110132292B - Navigation method, navigation device and electronic equipment - Google Patents

Navigation method, navigation device and electronic equipment Download PDF

Info

Publication number
CN110132292B
CN110132292B CN201810128613.1A CN201810128613A CN110132292B CN 110132292 B CN110132292 B CN 110132292B CN 201810128613 A CN201810128613 A CN 201810128613A CN 110132292 B CN110132292 B CN 110132292B
Authority
CN
China
Prior art keywords
route
road section
positioning
road
sectional
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
CN201810128613.1A
Other languages
Chinese (zh)
Other versions
CN110132292A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201810128613.1A priority Critical patent/CN110132292B/en
Publication of CN110132292A publication Critical patent/CN110132292A/en
Application granted granted Critical
Publication of CN110132292B publication Critical patent/CN110132292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • 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
    • 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/3484Personalized, e.g. from learned user behaviour or user-defined profiles

Landscapes

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

Abstract

The embodiment of the invention provides a navigation method, a navigation device and electronic equipment, wherein the method comprises the following steps: obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; matching a second sectional route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; determining a target navigation route according to the second subsection route and the corresponding first subsection route; and then the newly added road sections can be matched without adding the newly added road sections into the road network to update the road network, so that a pushing matching strategy does not need to be formulated again, and the efficiency of updating the road network is improved.

Description

Navigation method, navigation device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a navigation method, a navigation device, and an electronic device.
Background
With the development of positioning technology, a user often finds a route through a mobile phone, a vehicle-mounted terminal and other navigation equipment, namely, the user inputs a starting place and a destination according to the own requirements, and the navigation equipment pushes a matched route to the user based on a road network according to the starting place and the destination.
Generally, a more comprehensive and accurate navigation service is provided for a user, after a road which is not included in a road network is found, road information of the road, such as a positioning point, can be added into the road network, and then a recommended matching strategy needs to be re-formulated according to the road network added with the road information, so that the updating of the road network is completed; subsequently, the navigation device may then push the matching route to the user based on the updated road network; the process of re-formulating the recommended matching strategy is high in resource cost and low in efficiency, so that the efficiency of updating the road network is low.
Disclosure of Invention
The embodiment of the invention provides a navigation method, which aims to improve the efficiency of updating a road network.
Correspondingly, the embodiment of the invention also provides a navigation device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses a navigation method, which specifically includes: obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; matching a second sectional route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
Optionally, the matching, from the updated set of road segments, the second segment route corresponding to the positioning point in the navigation route includes: and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
Optionally, the matching the pairs of positioning points in the navigation route with the positioning points in the updated set of road segments respectively, and determining a second segment route formed by the pairs of positioning points in the updated set of road segments includes: combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
Optionally, the matching the positioning point pairs in the navigation route with the positioning points in the updated road segment set respectively to determine a second segment route formed by the positioning point pairs in the updated road segment set includes: matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set; when other positioning points in the navigation route exist in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
Optionally, the determining a target navigation route according to the second segment route and the corresponding first segment route includes: determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route; and determining a target navigation route according to the road section information of the second sectional route and the road section information of the corresponding first sectional route.
Optionally, the determining the target navigation route according to the link information of the second segment route and the link information of the corresponding first segment route includes: calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; and determining a target navigation route according to the second sectional route and the corresponding sectional route with small traffic time information in the first sectional route.
Optionally, the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route includes: if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route by the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
Optionally, the method further includes the step of collecting the road segments in the updated road segment set: analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user; the newly-added road sections correspondingly driven by each user are gathered, and the corresponding frequency of each newly-added road section is determined; and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
Optionally, the analyzing the location log of each user to determine a newly-added road section corresponding to the travel of each user includes: selecting each log within a set time length from the positioning logs of the user; calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log; determining the number of positioning points of which the minimum vertical distance exceeds a distance threshold; and if the quantity exceeds the quantity threshold value, determining the section corresponding to the segmented route formed by the positioning points of all the logs as a newly added section.
Optionally, calculating a vertical distance from a positioning point of each log to each road segment in the road network includes: determining the precision corresponding to the positioning point of each log and the user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
Optionally, the method further comprises: and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
The embodiment of the invention also discloses a navigation device, which comprises: the matching module is used for acquiring a route solving request and matching a navigation route from a road network according to the route solving request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; the searching module is used for matching a second segmented route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; and the determining module is used for determining the target navigation route according to the second subsection route and the corresponding first subsection route.
Optionally, the searching module is configured to match the positioning point pairs in the navigation route with the positioning points in the updated road segment set, and determine a second segment route formed by the positioning point pairs in the updated road segment set.
Optionally, the searching module includes: the first route searching submodule is used for combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
Optionally, the search module includes: the second route searching submodule is used for matching the positioning points in the navigation route with the positioning points in the updated road section set and searching the segmented route containing the positioning points in the navigation route from the updated road section set; when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
Optionally, the determining module includes: an information determination submodule for determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route; and the route determining submodule is used for determining a target navigation route according to the road section information of the second subsection route and the road section information of the corresponding first subsection route.
Optionally, the road segment information includes a road segment length and a passing time length, and the route determination submodule includes: the calculating unit is used for calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; and the target determining unit is used for determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route.
Optionally, the target determining unit is specifically configured to, if the segment route with the small transit time information is the second segment route, replace the corresponding first segment route with the second segment route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
Optionally: the collection module is used for analyzing the positioning log of each user and determining a newly-added road section corresponding to the driving of each user; the analysis module is used for clustering the newly added road sections correspondingly driven by each user and determining the frequency corresponding to each newly added road section; and the selecting module is used for selecting a newly added road section with the frequency exceeding a frequency threshold value and adding the newly added road section into the updated road section set.
Optionally, the collection module comprises: the log selection submodule is used for selecting each log in a set duration from the positioning logs of the user; the distance determination submodule is used for calculating the vertical distance from the positioning point of each log to each road section in the road network and determining the minimum vertical distance corresponding to the positioning point of each log; the quantity determining submodule is used for determining the quantity of the positioning points of which the minimum vertical distance exceeds a distance threshold; and the road section determining submodule is used for determining the road section corresponding to the segmented route formed by the positioning points of all the logs as a newly added road section if the number exceeds the number threshold.
Optionally, the distance determining sub-module is configured to determine accuracy corresponding to the location point of each log and a user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
Optionally, the method further comprises: and the rendering module is used for rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
The embodiment of the invention also discloses a readable storage medium, and when the instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the navigation method according to the embodiment of the invention.
An embodiment of the present invention also discloses an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, and the one or more programs include instructions for: acquiring a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; matching a second sectional route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
Optionally, the matching, from the updated set of road segments, the second segment route corresponding to the positioning point in the navigation route includes: and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
Optionally, the matching the pairs of positioning points in the navigation route with the positioning points in the updated set of road segments respectively, and determining a second segment route formed by the pairs of positioning points in the updated set of road segments includes: combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; when the positioning point pairs exist in the updated road section set, searching a segmented route taking the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
Optionally, the matching the positioning point pairs in the navigation route with the positioning points in the updated road segment set respectively to determine a second segment route formed by the positioning point pairs in the updated road segment set includes: matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set; when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
Optionally, the determining a target navigation route according to the second segment route and the corresponding first segment route includes: determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route; and determining a target navigation route according to the road section information of the second sectional route and the road section information of the corresponding first sectional route.
Optionally, the determining the target navigation route according to the link information of the second segment route and the link information of the corresponding first segment route includes: calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; and determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route.
Optionally, the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route includes: if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
Optionally, the method further includes collecting the road segments in the updated set of road segments by: analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user; the method comprises the steps of clustering newly-added road sections driven by users correspondingly, and determining the frequency corresponding to each newly-added road section; and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
Optionally, the analyzing the location log of each user to determine a newly-added road section corresponding to the travel of each user includes: selecting each log within a set time length from the positioning logs of the user; calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log; determining the number of positioning points with the minimum vertical distance exceeding a distance threshold; and if the number exceeds the number threshold, determining the section corresponding to the segmented route formed by the positioning points of the logs as a newly added section.
Optionally, calculating a vertical distance from a positioning point of each log to each road segment in the road network includes: determining the precision corresponding to the positioning point of each log and the user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
Optionally, further comprising instructions for: and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
The embodiment of the invention has the following advantages:
after the route solving request is obtained, the navigation route corresponding to the route solving request can be matched from a road network, then the second sectional route corresponding to the positioning point in the navigation route is matched from an updated road section set formed by newly added road sections within preset time, and then the target navigation route is determined according to the searched second sectional route and the corresponding first sectional route; furthermore, according to the road network and the updated road section set, the target navigation route corresponding to the road finding request can be determined, and the new road sections do not need to be added into the road network, so that a push matching strategy does not need to be formulated again, and the efficiency of updating the road network is improved.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a navigation method of the present invention;
FIG. 2 is a schematic view of a navigation route according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps in an embodiment of a method for collecting road segments in an updated set of road segments in accordance with the present invention;
FIG. 4 is a flow chart of the steps of an alternative embodiment of a navigation method of the present invention;
FIG. 5 is a block diagram of a navigation device according to an embodiment of the present invention;
FIG. 6 is a block diagram of an alternative embodiment of a navigation device of the present invention;
FIG. 7 is a block diagram illustrating an electronic device for navigation in accordance with an exemplary embodiment;
fig. 8 is a schematic structural diagram of an electronic device for navigation according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
The embodiment of the invention is applied to navigation equipment, the navigation equipment has a navigation function, and the navigation equipment can comprise various types, such as a mobile terminal, vehicle-mounted equipment, an independent navigator and the like.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a positioning method according to the present invention is shown, which specifically includes the following steps:
102, obtaining a route solving request, and matching a navigation route from a road network according to the route solving request, wherein the navigation route comprises a plurality of positioning points, and two positioning points form a first subsection route of the navigation route.
In the embodiment of the present invention, the user may search for the navigation route to the destination address by using the navigation device, for example, the user may input the destination address and the start address in the navigation device (of course, the user may not input the start address, and directly use the current position as the start address), and then perform the route query operation. After receiving a route query operation of a user, a navigation device generates a corresponding route request according to the route query operation, wherein the route request can include route information, such as a starting address, a destination address and user demand information, such as low traffic jam probability and less time consumption; and the navigation equipment can further carry out route finding according to the route finding request, namely, a navigation route between the initial address and the destination address in the route finding request is matched from the road network according to a recommended matching strategy corresponding to the road network. The matched routes can include a plurality of routes, the navigation equipment can select one navigation route from the plurality of routes to recommend to the user, and the navigation equipment can specifically set the routes according to requirements, such as recommending the navigation route which consumes the most time, recommending the navigation route which has the shortest route, recommending the navigation route which is the least congested, and the like; of course, the navigation device may also display a plurality of navigation routes to the user, and recommend a navigation route selected by the user to the user. In an embodiment of the present invention, the road network refers to a road system formed by interconnecting and interlacing various roads into a mesh distribution, and is a network formed by a plurality of road segments, each road segment corresponds to two positioning points, the road network may include a plurality of segment routes, and each segment route may include at least one road segment. Therefore, the navigation route may also comprise a plurality of positioning points, and two adjacent positioning points may form a road segment, that is, the navigation route may comprise a plurality of road segments; any two positioning points (which may be adjacent positioning points or non-adjacent positioning points) in the navigation route may form a first segmented route of the navigation route, so that the first segmented route may include at least one route segment, and when the segmented route includes a plurality of route segments, each route segment may form a route. For example, the navigation route: A-B-C-D-E, the navigation route comprises positioning points: A. b, C, D, and E, road segments included: A-B, B-C, C-D and D-E; any two points of these 5 positioning points may constitute a first segment of the navigation route, such as a and C, constituting a first segment: A-B-C, the first segment route comprising road segments: A-B and B-C, as well as B and D, form a first segment route B-C-D, which includes road segments: B-C and C-D.
And 104, matching a second sectional route corresponding to the positioning point in the navigation route from the updated road section set.
In the embodiment of the present invention, newly added road segments within a preset time may be collected in advance, and then the collected road segments are added to an updated road segment set, where the newly added road segments are newly added with respect to road segments in a road network, so that the road segments in the updated road segment set do not coincide with the road segments in the road network. One or more road sections in the updated road section set can form a subsection route, and the subsection route in the updated road section set is a newly added subsection route relative to the subsection route in the road network; wherein, the preset time can be set according to requirements. In the embodiment of the invention, the road network is not updated, and any two positioning points in the navigation route matched with the road finding request based on the road network can be additionally provided with a new sectional route besides a first sectional route in the navigation route; therefore, after the navigation route is matched, the segmented route corresponding to the positioning point of the navigation route can be matched from the updated road section set, and then the searched segmented route is used as a second segmented route corresponding to the positioning point of the navigation route.
And 106, determining a target navigation route according to the second sectional route and the corresponding first sectional route.
After the second sectional route is obtained from the updated road section set, the corresponding first sectional route of the second sectional route in the navigation route can be determined according to the positioning point of the second sectional route; then, a sectional route can be selected from the second sectional route and the corresponding first sectional route, for example, a sectional route which consumes less time is selected, for example, a sectional route which has a short route is selected, for example, a sectional route which does not include a highway is selected, and the like; and then determining a target navigation route according to the selected sectional route and the navigation route.
It should be noted that the above steps 102-106 can be performed by the terminal device, or by the server, and can be set as required.
In an example of the present invention, as shown in fig. 2, a schematic navigation route diagram according to an embodiment of the present invention is shown, where a navigation route from a starting point a to an ending point E is matched from a road network: A-B-C-D-E, wherein the navigation route comprises positioning points: A. b, C, D, and E, road segments included: A-B, B-C, C-D and D-E; and a first segment route: A-B, A-B-C, A-B-C-D, A-B-C-D-E, B-C, B-C-D, B-C-D-E, C-D, C-D-E, D-E. If the positioning points B and D in the navigation route are found from the updated road section set, the corresponding second sectional route B-D is obtained, and the first sectional route corresponding to the second sectional route B-D is B-C-D; therefore, a sectional route is selected from the B-D and the B-C-D to determine the target navigation route. If B-D is selected, the target navigation route is A-B-D-E.
To sum up, after obtaining a route finding request, the embodiment of the present invention may first match a navigation route corresponding to the route finding request from a road network, then search a second segment route corresponding to a positioning point in the navigation route from an updated road segment set formed by newly added road segments within a preset time, and then determine a target navigation route according to the searched second segment route and the corresponding first segment route; furthermore, according to the road network and the updated road section set, the target navigation route corresponding to the road finding request can be determined, and because the road sections of the newly added road network are not added into the updated road section set but the road network, a push matching strategy is not required to be re-formulated, so that the efficiency of updating the road network is improved.
In an optional embodiment of the present invention, newly added road segments may be collected in advance, and the collected road segments may be added to the updated road segment set, without adding the newly added road segments to the road network, and further without re-formulating a recommended matching strategy based on the road network, so as to improve efficiency of updating the road network.
Referring to FIG. 3, a flowchart illustrating the steps of one embodiment of a method of the present invention for collecting road segments in an updated set of road segments is shown; the method specifically comprises the following steps:
and step 302, analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user.
In the embodiment of the invention, the navigation equipment can send the positioning information of each positioning point in the driving road of the user to the server, and then the server can generate the positioning log corresponding to the user according to the positioning information uploaded by the user; for example, each piece of uploaded positioning information is used as one log in the positioning log. The positioning information may include various parameters, such as a positioning point, for example, global positioning system coordinates, the accuracy of the positioning point, the time corresponding to the positioning point, and the speed of the user at the positioning point. Then, the positioning log of the user can be analyzed, and a newly added road section is matched from the road sections correspondingly driven by the user, and the method specifically comprises the following substeps:
and a substep 22 of selecting each log in a set time length from the positioning logs of the user.
And a substep 24, calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log.
Sub-step 26, the number of anchor points for which the minimum vertical distance exceeds a distance threshold is determined.
And a substep 28, if the number exceeds a number threshold, determining the section corresponding to the segmented route formed by the positioning points of the logs as a newly added section.
According to the embodiment of the invention, each log in the set duration can be selected from the positioning logs of the user according to the timestamp of each log, wherein each log can correspond to one positioning point, and the set duration can be set as required. Then, for each log, the vertical distance from the positioning point of the log to each road segment in the road network can be calculated, and then the minimum vertical distance corresponding to the positioning point of the log is searched from each vertical distance. When the minimum vertical distance from the positioning point to a certain road section is greater than the distance threshold, the positioning point is determined not to be the positioning point on the road section; therefore, the number that the minimum vertical distance corresponding to the positioning points of each log exceeds the distance threshold value in the set duration can be counted, so that whether the road section corresponding to the segmented route formed by the positioning points of each log is the road section in the road network or not can be judged according to the number; wherein, the distance threshold and the quantity threshold can be set according to requirements. If the quantity exceeds a quantity threshold value, determining the road section corresponding to the segmented route formed by the positioning points of the logs as a road section not belonging to the road network, namely a newly added road section; and if the quantity does not exceed the quantity threshold value, determining that the road section corresponding to the segmented route formed by the positioning points of the logs is the road section of the road network.
In an optional embodiment of the invention, when the accuracy corresponding to the positioning point is low, it is likely that the current road environment is poor, and when the user driving speed corresponding to the positioning point is low, it is likely that the current road surface environment is poor, such as road construction and the like; therefore, in order to ensure the accuracy and the feasibility of the collected newly-added road sections, the positioning points can be filtered, namely the precision and the user running speed corresponding to the positioning points of each log are determined, and the positioning points with the precision larger than the precision threshold value and the user running speed larger than the speed threshold value are selected from the positioning points of each log; and calculating the vertical distance from each selected positioning point to each road section in the road network.
And step 304, clustering the newly added road sections driven by the users correspondingly, and determining the frequency corresponding to each newly added road section.
And step 306, selecting a newly added road section with the frequency exceeding a frequency threshold value, and adding the newly added road section into the updated road section set.
The newly-added road sections correspondingly driven by different users may be the same, so that the frequency of each newly-added road section can be counted after the newly-added road section correspondingly driven by each user is determined according to the positioning log of each user; and then, the newly added road sections can be selected according to the frequency and added into the updated road section set. Optionally, a newly added road section with a frequency exceeding a frequency threshold value can be selected and added to the updated road section set; the accuracy of determining the newly added road section is improved; wherein, the frequency threshold value can be set according to requirements.
It should be noted that the embodiment of the present invention may periodically collect the newly added road segments, or may collect the newly added road segments in real time, and then add the newly added road segments to the updated road segment set; i.e. the updated set of road segments is continuously updated. In an optional embodiment of the present invention, the road segments in the updated set of road segments may be presented in a map, so that the user can view the newly added road segments in the map; specifically, the road sections can be rendered in the map according to the corresponding positioning points of the road sections in the updated road section set, wherein the road sections which are not rendered in the map in the updated road section set can be periodically rendered, newly added road sections can be rendered in real time, and the rendering method can be specifically set according to requirements.
In another embodiment of the present invention, the second segment route corresponding to the positioning point in the navigation route may be matched according to the positioning point in the navigation route and the positioning point in the updated road segment set, which is specifically as follows:
referring to fig. 4, a flowchart illustrating steps of an alternative embodiment of a navigation method of the present invention specifically includes the following steps:
step 402, obtaining a route request, and matching a navigation route from a road network according to the route request.
In the embodiment of the invention, after a user executes a route query operation, navigation equipment can generate a corresponding route request according to the route query operation, and then obtain an initial address, a destination address and user requirement information from the route request; and then, a navigation route with the starting address as a starting point and the destination address as an end point is matched based on the road network, and the navigation route recommended to the user is determined. Wherein, between some two positioning points in the navigation route, except for the first subsection route in the navigation route, a newly added subsection route is possible; therefore, after the navigation route is matched, the second sectional route corresponding to the positioning point in the navigation route can be matched according to the positioning point in the navigation route and the positioning point in the updated road section set, which is specifically as follows:
and step 404, respectively matching the positioning point pairs in the navigation route with the positioning points in the updated road section set, and determining a second sectional route corresponding to the positioning point pairs in the updated road section set.
The embodiment of the invention can match the positioning point pairs in the navigation route with the positioning points in the updated road section set, and determine the second sectional route corresponding to the positioning point pairs, wherein the method for matching the second sectional route corresponding to the positioning point pairs in the navigation route comprises multiple methods, and one matching method comprises the following substeps:
substep 412, combining the positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route;
substep 414, matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively;
substep 416, searching a segmented route with the positioning point pair as an end point from the updated road section set when the positioning point pair exists in the updated road section set;
the substep 418 is to use the segment route with the location point pair as the end point in the updated road segment set as the second segment route corresponding to the location point pair.
The embodiment of the invention can firstly combine the positioning points in the navigation route in pairs to generate the positioning point pairs of the navigation route, such as: the navigation route comprises positioning points: A. b, C, D and E, any two positioning points of the five positioning points are combined to obtain the positioning point pairs (A, B), (A, C), (A, D), (A, E), (B, C), (B, D), (B, E), (C, D), (C, E) and (D, E) of the navigation route. Then, for each location point pair in the navigation route, the location point pair may be matched with a location point in the updated road segment set, whether the location point pair exists in the updated road segment set is searched, and if it is determined that the location point pair exists in the set, a segment route with the location point pair as an end point may be searched from the updated road segment set, where the segment route with the location point pair as an end point may include at least one road segment. Then, taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs; correspondingly, the second sectional route may also include at least one road segment. If the positioning point pair does not exist in the set, determining that the positioning point pair does not have a newly added segmented route, and searching a second segmented route corresponding to a next positioning point pair in the navigation route.
For example, referring to fig. 2, taking the anchor point pair (B, D) as an example, if the updated road segment set includes anchor points: B. d, F, G and H, if the links formed by the positioning points in the updated link set are: B-D, B-G, G-D, F-G, G-H, the corresponding included segmentation route is: B-D, B-G, G-D, F-G, G-H, B-G-D, F-G-H, B-G-H, B-G-F, F-G-D and H-G-D, and searching corresponding segmented routes B-G-D and B-D from the updated road section set by taking the B and the D as end points; the segmented routes B-G-D and B-D can be used as second segmented routes corresponding to positioning points in the navigation route, wherein the second segmented route B-G-D comprises two road segments: B-G and G-D.
In the embodiment of the present invention, another matching search method may include the following sub-steps:
substep 422, matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a segmented route containing the positioning points in the navigation route from the updated road section set;
substep 424, when determining that other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route;
and a substep 426, taking the selected sectional route as a second sectional route corresponding to a positioning point pair formed by the positioning point and other positioning points in the navigation route.
In the implementation of the invention, a single positioning point of the navigation route can be directly adopted for searching, and the positioning points of the navigation route do not need to be combined into positioning point pairs in advance for searching; specifically, for each positioning point of the navigation route, the positioning point may be matched with a positioning point in the updated road segment set, and a segmented route including the positioning point is searched from the updated road segment set; if the segmented route containing the positioning point is found, whether other positioning points of the navigation route exist in the segmented route containing the positioning point can be judged; if the segmented route containing the positioning point comprises other positioning points of the navigation route, selecting a segmented route taking the positioning point and other corresponding positioning points as end points from the segmented route containing the positioning point; and then, taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route. And if the segmented route containing the positioning point is not found, or the segmented route containing the positioning point does not contain other positioning points of the navigation route, determining that no newly added segmented route exists between the positioning point and other positioning points. Of course, the second sectional route matched and found by the method can also comprise at least one section.
For example, referring to fig. 2, the navigation route includes anchor points: A. b, C, D and E, taking point B as an example, searching a corresponding second sectional route from the updated road section set; if the updated road section set comprises positioning points: B. d, F, G and H, the updated road section set comprises the following road sections: B-D, B-G, F-G, G-H, G-D, comprising the following segmentation routes: B-D, B-G, G-D, F-G, G-H, B-G-D, F-G-H, B-G-H, B-G-F, F-G-D and H-G-D, then the segmented route containing the positioning point B can be found from the updated road section set: B-G, B-G-D, B-G-H, B-G-F and B-D; it may then be determined that other anchor point D of the navigation route is included in the segmented route B-G-D, B-D, and any other anchor point of the navigation route is not included in the segmented routes B-G, B-G-H and B-G-F; thus, B-G-D, B-D may be considered a second block road, where the second block road B-G-D includes road segments B-G and G-D.
In the embodiment of the present invention, the road segments in the updated road segment set may be unidirectional, such as only one-way road segments, so that when the positioning points in the navigation route and the positioning points in the updated road segment set are updated, the directions of the positioning points in the navigation route and the directions of the positioning points in the updated road segment set can be considered. For the first matching search mode, after the location point pairs of the navigation route are generated, the direction of each location point pair can be determined; when the positioning point pairs exist in the updated road section set, searching a segmented route taking the positioning point pairs as end points from the updated road section set, and then judging whether the direction of the segmented route is the same as the direction of the positioning point pairs; and if the two sectional routes are the same, determining the sectional route as a second sectional route corresponding to the positioning point pair. For the second matching search mode, after searching the segment route including the positioning point in the navigation route from the updated road segment set, other positioning points behind the positioning point in the navigation route direction can be determined, and after determining that other positioning points behind the positioning point in the navigation route direction exist in the segment route including the positioning point in the navigation route, the segment route using the positioning point and other positioning points behind the positioning point as end points can be selected; and then judging whether the direction of the sectional route is the same as the direction of the positioning point and other positioning points behind the positioning point in the navigation route, if so, selecting the sectional route taking the positioning point and other positioning points behind the positioning point as end points as a second sectional route corresponding to the positioning point pair formed by the positioning point and other positioning points.
After determining a second sectional route corresponding to the positioning point in the navigation route, a target navigation route can be determined according to the second sectional route and a first sectional route corresponding to the second sectional route, which is specifically as follows:
step 406, determining a first segment route having the same end point as the second segment route.
According to the embodiment of the invention, the first subsection route corresponding to the second subsection route can be determined, namely two end points of the second subsection route can be determined, and then the first subsection route with the same end point as the second subsection route is searched from the first subsection route of the navigation route according to the end points of the second subsection route. For example: navigation route: A-B-C-D-E, comprising the following road sections: A-B, B-C, C-D and D-E; and a first segment route: A-B, A-B-C, A-B-C-D, A-B-C-D-E, B-C, B-C-D, B-C-DE, C-D, C-D-E, D-E; if the corresponding second sectional route found from the updated road section set is B-D, determining that the end points of the second sectional route are B and D, and finding the first sectional route with the end points of B and D from the navigation route by taking B and D as the end points: B-C-D, which comprises two sections B-C and C-D.
And step 408, acquiring the section information of the second sectional route and the section information of the corresponding first sectional route.
And step 410, determining a target navigation route according to the section information of the second sectional route and the section information of the corresponding first sectional route.
In the embodiment of the present invention, the link information of the second segment route and the link information of the corresponding first segment route may be obtained, and then the segment route having advantages may be selected according to the link information of the second segment route and the link information of the corresponding first segment route, for example, a segment route with less time consumption may be selected, and a segment route with a short route may be selected, and may be specifically set as required. And then determining a target navigation route according to the selected sectional route.
In an optional embodiment of the present invention, a short-transit-time segment route may be selected from the second segment route and the corresponding first segment route, and then the target navigation route may be determined according to the short-transit-time segment route, which may specifically include the following sub-steps:
a substep 1012, calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; and
substep 1014, calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route;
and a substep 1016, determining a target navigation route according to the second subsection route and the corresponding subsection route with small transit time information in the first subsection route.
In the embodiment of the present invention, the road section information may include a road section length and a passing time, so that the passing time information of the second sectional route may be calculated according to the road section length, the set speed and the passing time of the second sectional route, and the passing time information of the corresponding first sectional route may be calculated according to the road section length, the set speed and the passing time of the corresponding first sectional route; and then selecting the sectional route with small passing time information from the second sectional route and the corresponding first sectional route, and determining the target navigation route according to the selected sectional route. The length of a link of a certain road and the actual passing time may not be in proportion, for example, a road with the length of 1km is 5 minutes, and a road with the length of 2km is 4 minutes; therefore, when calculating the transit time information of the sectional route, the theoretical transit time length of the sectional route is considered, and the link length of the sectional route can be considered. When the passing time information is calculated, the quotient of the road section length and the set speed can be calculated, then the sum of the quotient and the passing time is calculated, the sum is the second sectional route, and the calculation can be carried out according to the following formula:
VT=len/v+time
wherein, VT is the traffic time information, len is the road section length, time is the time of passing through, v is the speed of settlement, can set up as required such as 60 km/h.
Further, the passing time information of the second sectional route and the corresponding passing time information of the first sectional route can be calculated according to the formula.
Then comparing the passing time information of the second sectional route with the corresponding passing time information of the first sectional route, and selecting the sectional route with small passing time information; if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route. For example: the navigation route is A-B-C-D-E, the second subsection route is B-D, and the corresponding first subsection route is B-C-D; if the second subsection route B-D is selected, the target navigation route is A-B-D-E; and if the first subsection road section B-C-D is selected, taking the matched navigation route in the road network as the target navigation route.
To sum up, after the route finding request is obtained, the navigation route corresponding to the route finding request can be matched from a road network, then the second segmented route corresponding to the positioning point in the navigation route is searched from an updated road section set formed according to newly added road sections within preset time, and then the target navigation route is determined according to the searched second segmented route and the corresponding first segmented route; furthermore, according to the road network and the updated road section set, the target navigation route corresponding to the road finding request can be determined, a push matching strategy does not need to be formulated again, and therefore the efficiency of updating the road network is improved.
Further, when the target navigation route is determined according to the second sectional route and the corresponding first sectional route, the embodiment of the invention can calculate the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route; therefore, the target navigation route with advantages is recommended to the user, and user experience is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a navigation device according to an embodiment of the present invention is shown, which may specifically include the following modules: a matching module 502, a lookup module 504, and a determination module 506, wherein,
the matching module 502 is configured to obtain a route finding request, and match a navigation route from a road network according to the route finding request, where the navigation route includes multiple positioning points, and any two positioning points form a first segment route of the navigation route;
a searching module 504, configured to match a second segment route corresponding to a positioning point in the navigation route from an updated road segment set, where the updated road segment set is formed by newly added road segments within a preset time, and a road segment in the updated road segment set is not overlapped with a road segment in a road network;
a determining module 506, configured to determine the target navigation route according to the second segment route and the corresponding first segment route.
Referring to fig. 6, a block diagram of a navigation device according to an embodiment of the present invention is shown; in an optional embodiment of the present invention, the apparatus further comprises: a collection module 508, an analysis module 510, a selection module 512, and a rendering module 514, wherein,
the collecting module 508 is configured to analyze the location log of each user and determine a new road section corresponding to each user;
the analysis module 510 is configured to aggregate newly added road segments traveled by each user correspondingly, and determine a frequency corresponding to each newly added road segment;
and the selecting module 512 is configured to select a newly added road segment with a frequency exceeding a frequency threshold, and add the newly added road segment to the updated road segment set.
And a rendering module 514, configured to render the road segment in the map according to the corresponding positioning point of the road segment in the updated road segment set.
In an optional embodiment of the present invention, the searching module 504 is configured to match the location point pairs in the navigation route with the location points in the updated road segment set, and determine a second segment route corresponding to the location point pairs in the updated road segment set.
Wherein the searching module 504 comprises: a first route lookup sub-module 5042 and a second route lookup sub-module 5044, wherein,
the first route searching submodule 5042 is configured to combine positioning points in the navigation route two by two to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
The second route searching submodule 5044 is configured to match a positioning point in the navigation route with a positioning point in the updated road section set, and search a segmented route including the positioning point in the navigation route from the updated road section set; when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
In an alternative embodiment of the present invention, the determining module 506 includes: an information determination sub-module 5062 and a route determination sub-module 5064, wherein,
the information determining submodule 5062 is configured to determine, according to an end point of the second segment route, a first segment route corresponding to the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route;
the route determining submodule 5064 is configured to determine a target navigation route according to the link information of the second segment route and the link information of the corresponding first segment route.
In an optional embodiment of the present invention, the road section information includes a road section length and a passing time, and the route determination sub-module 5064 includes: a calculation unit 50642 and a target determination unit 50644, wherein,
a calculating unit 50642, configured to calculate, according to the link length, the set speed, and the passing time of the second sectional route, passing time information of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route;
the target determination unit 50644 is configured to determine a target navigation route according to the second sectional route and the corresponding sectional route with the small transit time information in the first sectional route.
In an optional embodiment of the present invention, the target determining unit 50644 is specifically configured to, if the sectional route with small transit time information is the second sectional route, replace the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
In an alternative embodiment of the present invention, the collecting module 508 includes: a log selection sub-module 5082, a distance determination sub-module 5084, a quantity determination sub-module 5086, and a road segment determination sub-module 5088, wherein,
the log selecting submodule 5082 is used for selecting each log within a set time length from the positioning logs of the user;
the distance determining submodule 5084 is used for calculating the vertical distance from the locating point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the locating point of each log;
a number determination submodule 5086 for determining the number of anchor points for which the minimum vertical distance exceeds a distance threshold;
and the road section determining submodule 5088 is used for determining the road section corresponding to the segmented route formed by the positioning points of the logs as a newly added road section if the number exceeds the number threshold.
In an optional embodiment of the present invention, the distance determining submodule 5084 is configured to determine the accuracy and the user driving speed corresponding to the location point of each log; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
After obtaining a route solving request, the embodiment of the invention can match a navigation route corresponding to the route solving request from a road network, then search a second subsection route corresponding to a positioning point in the navigation route from an updated road section set formed by newly added road sections within preset time, and then determine a target navigation route according to the searched second subsection route and the corresponding first subsection route; furthermore, according to the embodiment of the invention, the target navigation route corresponding to the road-finding request can be determined according to the road network and the updated road section set, and because the newly added road sections do not need to be added into the road network, and a push matching strategy does not need to be re-formulated, the efficiency of updating the road network is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
FIG. 7 illustrates a block diagram of an electronic device 700 for navigation, according to an example embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the electronic device 700. Power components 704 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 700.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 714 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 714 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a navigation method, the method comprising: obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; matching a second sectional route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
Optionally, the matching, from the updated set of road segments, the second segment route corresponding to the positioning point in the navigation route includes: and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
Optionally, the matching, respectively, the locating point pairs in the navigation route with the locating points in the updated road segment set, and determining a second segment route formed by the locating point pairs in the updated road segment set, includes: combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; when the positioning point pairs exist in the updated road section set, searching a segmented route taking the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
Optionally, the matching the positioning point pairs in the navigation route with the positioning points in the updated road segment set respectively to determine a second segment route formed by the positioning point pairs in the updated road segment set includes: matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set; when other positioning points in the navigation route exist in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
Optionally, the determining a target navigation route according to the second segment route and the corresponding first segment route includes: determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route; and determining a target navigation route according to the road section information of the second sectional route and the road section information of the corresponding first sectional route.
Optionally, the determining the target navigation route according to the link information of the second segment route and the link information of the corresponding first segment route includes: calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; and determining a target navigation route according to the second sectional route and the corresponding sectional route with small traffic time information in the first sectional route.
Optionally, the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route includes: if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
Optionally, the method further includes the step of collecting road segments in the updated road segment set: analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user; the method comprises the steps of clustering newly-added road sections driven by users correspondingly, and determining the frequency corresponding to each newly-added road section; and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
Optionally, the analyzing the location log of each user to determine a new road segment correspondingly traveled by each user includes: selecting each log in a set time length from the positioning logs of the user; calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log; determining the number of positioning points with the minimum vertical distance exceeding a distance threshold; and if the number exceeds the number threshold, determining the section corresponding to the segmented route formed by the positioning points of the logs as a newly added section.
Optionally, calculating a vertical distance from a locating point of each log to each road segment in the road network, includes: determining the precision corresponding to the positioning point of each log and the user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
Optionally, the method further comprises: and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
Fig. 8 is a schematic structural diagram of an electronic device 800 for navigation according to another exemplary embodiment of the present invention. The electronic device 800 may be a server, which may vary widely depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and memory 832, one or more storage media 830 (e.g., one or more mass storage devices) that store applications 842 or data 844. Memory 832 and storage medium 830 may be transient or persistent storage, among other things. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 822 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the server.
The server may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input-output interfaces 858, one or more keyboards 856, and/or one or more operating systems 841, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for: obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route; matching a second sectional route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, and the road sections in the updated road section set are not overlapped with the road sections in the road network; and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
Optionally, the matching, from the updated set of road segments, the second segment route corresponding to the positioning point in the navigation route includes: and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
Optionally, the matching, respectively, the locating point pairs in the navigation route with the locating points in the updated road segment set, and determining a second segment route formed by the locating point pairs in the updated road segment set, includes: combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
Optionally, the matching the positioning point pairs in the navigation route with the positioning points in the updated road segment set respectively to determine a second segment route formed by the positioning point pairs in the updated road segment set includes: matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set; when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
Optionally, the determining a target navigation route according to the second segment route and the corresponding first segment route includes: determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route; and determining a target navigation route according to the road section information of the second sectional route and the road section information of the corresponding first sectional route.
Optionally, the determining the target navigation route according to the link information of the second segment route and the link information of the corresponding first segment route includes: calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route; and determining a target navigation route according to the second sectional route and the corresponding sectional route with small traffic time information in the first sectional route.
Optionally, the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route includes: if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
Optionally, the method further includes collecting the road segments in the updated set of road segments by: analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user; the method comprises the steps of clustering newly-added road sections driven by users correspondingly, and determining the frequency corresponding to each newly-added road section; and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
Optionally, the analyzing the location log of each user to determine a newly-added road section corresponding to the travel of each user includes: selecting each log within a set time length from the positioning logs of the user; calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log; determining the number of positioning points of which the minimum vertical distance exceeds a distance threshold; and if the number exceeds the number threshold, determining the section corresponding to the segmented route formed by the positioning points of the logs as a newly added section.
Optionally, calculating a vertical distance from a positioning point of each log to each road segment in the road network includes: determining the precision corresponding to the positioning point of each log and the user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user driving speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
Optionally, further comprising instructions for: and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The navigation method, the navigation device and the electronic device provided by the present invention are described in detail above, and specific examples are applied herein to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (34)

1. A navigation method, comprising:
obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route;
matching a second segmented route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, the segmented route in the updated road section set is the newly added segmented route relative to the segmented route in the road network, and the road sections in the updated road section set are not overlapped with the road sections in the road network;
and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
2. The method of claim 1, wherein matching a second segmented route from the updated set of segments corresponding to a location point in the navigation route comprises:
and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
3. The method of claim 2, wherein the step of matching pairs of anchor points in the navigation route with anchor points in the updated set of road segments respectively, and determining a second segmented route formed by the pairs of anchor points in the updated set of road segments comprises:
combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route;
matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively;
determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set;
and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
4. The method of claim 2, wherein the step of matching the pairs of anchor points in the navigation route with the anchor points in the updated set of road segments respectively to determine a second segmented route formed by the pairs of anchor points in the updated set of road segments comprises:
matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set;
when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route;
and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
5. The method of claim 1, wherein determining a target navigation route from the second segment route and the corresponding first segment route comprises:
determining a first segment route having the same end point as the second segment route;
acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route;
and determining a target navigation route according to the road section information of the second sectional route and the corresponding road section information of the first sectional route.
6. The method according to claim 5, wherein the link information includes a link length and a passing time period,
the determining a target navigation route according to the road section information of the second sectional route and the road section information of the corresponding first sectional route comprises:
calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; and
calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route;
and determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route.
7. The method according to claim 6, wherein the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route comprises:
if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route;
and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
8. The method of claim 1, further comprising the step of collecting road segments in the updated set of road segments:
analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user;
the method comprises the steps of clustering newly-added road sections driven by users correspondingly, and determining the frequency corresponding to each newly-added road section;
and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
9. The method of claim 8, wherein analyzing the location log of each user to determine a new road segment traveled by each user comprises:
selecting each log in a set time length from the positioning logs of the user;
calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log;
determining the number of positioning points of which the minimum vertical distance exceeds a distance threshold;
and if the quantity exceeds the quantity threshold value, determining the section corresponding to the segmented route formed by the positioning points of all the logs as a newly added section.
10. The method of claim 9, wherein calculating the vertical distance from the anchor point of each log to each road segment in the road network comprises:
determining the precision corresponding to the positioning point of each log and the user driving speed;
selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs;
and calculating the vertical distance from each selected positioning point to each road section in the road network.
11. The method of claim 1, further comprising:
and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
12. A navigation device, comprising:
the matching module is used for acquiring a route finding request and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route;
the searching module is used for matching a second segmented route corresponding to the positioning point in the navigation route from an updated road section set, the updated road section set is formed by newly added road sections within preset time, the segmented route in the updated road section set is the newly added segmented route relative to the segmented route in the road network, and the road sections in the updated road section set are not overlapped with the road sections in the road network;
and the determining module is used for determining the target navigation route according to the second subsection route and the corresponding first subsection route.
13. The apparatus of claim 12,
and the searching module is used for respectively matching the positioning point pairs in the navigation route with the positioning points in the updated road section set and determining a second sectional route formed by the positioning point pairs in the updated road section set.
14. The apparatus of claim 13, wherein the lookup module comprises:
the first route searching submodule is used for combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route; matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively; determining that the positioning point pairs exist in the updated road section set, and searching a segmented route with the positioning point pairs as end points from the updated road section set; and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
15. The apparatus of claim 13, wherein the lookup module comprises:
the second route searching submodule is used for matching the positioning points in the navigation route with the positioning points in the updated road section set and searching a segmented route containing the positioning points in the navigation route from the updated road section set; when other positioning points exist in the navigation route in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route; and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
16. The apparatus of claim 12, wherein the determining means comprises:
an information determination submodule for determining a first segment route having the same end point as the second segment route; acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route;
and the route determining submodule is used for determining a target navigation route according to the road section information of the second subsection route and the road section information of the corresponding first subsection route.
17. The apparatus of claim 16, wherein the road segment information includes a road segment length and a transit time, and wherein the route determination submodule comprises:
the calculating unit is used for calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route;
and the target determining unit is used for determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route.
18. The apparatus of claim 17,
the target determining unit is specifically configured to, if the sectional route with the small transit time information is the second sectional route, replace the corresponding first sectional route with the second sectional route to obtain a target navigation route; and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
19. The apparatus of claim 12, further comprising:
the collection module is used for analyzing the positioning log of each user and determining a newly-added road section corresponding to the driving of each user;
the analysis module is used for clustering the newly added road sections correspondingly driven by each user and determining the frequency corresponding to each newly added road section;
and the selecting module is used for selecting a newly added road section with the frequency exceeding a frequency threshold value and adding the newly added road section into the updated road section set.
20. The apparatus of claim 19, wherein the collection module comprises:
the log selection submodule is used for selecting each log in a set duration from the positioning logs of the user;
the distance determination submodule is used for calculating the vertical distance from the positioning point of each log to each road section in the road network and determining the minimum vertical distance corresponding to the positioning point of each log;
the quantity determination submodule is used for determining the quantity of the positioning points of which the minimum vertical distance exceeds the distance threshold;
and the road section determining submodule is used for determining the road section corresponding to the segmented route formed by the positioning points of the logs as a newly added road section if the number exceeds the number threshold.
21. The apparatus of claim 20,
the distance determining submodule is used for determining the precision corresponding to the positioning point of each log and the user driving speed; selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs; and calculating the vertical distance from each selected positioning point to each road section in the road network.
22. The apparatus of claim 12, further comprising:
and the rendering module is used for rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
23. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the navigation method of any of method claims 1-11.
24. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
obtaining a route finding request, and matching a navigation route from a road network according to the route finding request, wherein the navigation route comprises a plurality of positioning points, and any two positioning points form a first subsection route of the navigation route;
matching a second segmented route corresponding to the positioning point in the navigation route from an updated road section set, wherein the updated road section set is formed by newly added road sections within preset time, the segmented route in the updated road section set is the newly added segmented route relative to the segmented route in the road network, and the road sections in the updated road section set are not overlapped with the road sections in the road network;
and determining a target navigation route according to the second subsection route and the corresponding first subsection route.
25. The electronic device of claim 24, wherein the matching of the second segmented route from the updated set of segments corresponding to the location points in the navigation route comprises:
and matching the positioning point pairs in the navigation route with the positioning points in the updated road section set respectively, and determining a second sectional route formed by the positioning point pairs in the updated road section set.
26. The electronic device of claim 25, wherein the matching of pairs of anchor points in the navigation route with anchor points in the updated set of road segments respectively, and the determining of the second segmented route formed by the pairs of anchor points in the updated set of road segments comprises:
combining positioning points in the navigation route in pairs to generate a positioning point pair of the navigation route;
matching the positioning point pairs of the navigation route with the positioning points in the updated road section set respectively;
when the positioning point pairs exist in the updated road section set, searching a segmented route taking the positioning point pairs as end points from the updated road section set;
and taking the subsection route which takes the positioning point pairs as end points in the updated road section set as a second subsection route corresponding to the positioning point pairs.
27. The electronic device of claim 25, wherein the matching of pairs of anchor points in the navigation route with anchor points in the updated set of road segments respectively, and the determining of the second segmented route formed by the pairs of anchor points in the updated set of road segments comprises:
matching the positioning points in the navigation route with the positioning points in the updated road section set, and searching a sectional route containing the positioning points in the navigation route from the updated road section set;
when other positioning points in the navigation route exist in the segmented route containing the positioning points in the navigation route, selecting the segmented route taking the positioning points and other positioning points in the navigation route as end points from the segmented route containing the positioning points in the navigation route;
and taking the selected sectional route as a second sectional route corresponding to a positioning point pair consisting of the positioning point and other positioning points in the navigation route.
28. The electronic device of claim 24, wherein determining a target navigation route from the second segment route and the corresponding first segment route comprises:
determining a first segment route having the same end point as the second segment route;
acquiring the road section information of the second sectional route and the road section information of the corresponding first sectional route;
and determining a target navigation route according to the road section information of the second sectional route and the corresponding road section information of the first sectional route.
29. The electronic device of claim 28, wherein the link information includes a link length and a passing time length,
determining a target navigation route according to the section information of the second section route and the section information of the corresponding first section route, wherein the determining comprises the following steps:
calculating the passing time information of the second sectional route according to the section length, the set speed and the passing time of the second sectional route; and
calculating the passing time information of the corresponding first subsection route according to the section length, the set speed and the passing time length of the corresponding first subsection route;
and determining a target navigation route according to the second sectional route and the sectional route with small transit time information in the corresponding first sectional route.
30. The electronic device of claim 29, wherein the determining a target navigation route according to the second segment route and the segment route with small transit time information in the corresponding first segment route comprises:
if the sectional route with small passing time information is the second sectional route, replacing the corresponding first sectional route with the second sectional route to obtain a target navigation route;
and if the sectional route with small passing time information is the first sectional route, taking the navigation route as a target navigation route.
31. The electronic device of claim 24, further comprising instructions for performing the collection of segments in the updated set of segments by:
analyzing the positioning log of each user, and determining a newly-added road section corresponding to the driving of each user;
the method comprises the steps of clustering newly-added road sections driven by users correspondingly, and determining the frequency corresponding to each newly-added road section;
and selecting a newly added road section with the frequency exceeding the frequency threshold value, and adding the newly added road section into the updated road section set.
32. The electronic device of claim 31, wherein analyzing the location log of each user to determine a new road segment traveled by each user comprises:
selecting each log within a set time length from the positioning logs of the user;
calculating the vertical distance from the positioning point of each log to each road section in the road network, and determining the minimum vertical distance corresponding to the positioning point of each log;
determining the number of positioning points of which the minimum vertical distance exceeds a distance threshold;
and if the number exceeds the number threshold, determining the section corresponding to the segmented route formed by the positioning points of the logs as a newly added section.
33. The electronic device of claim 32, wherein calculating a vertical distance from a location point of each log to each road segment in the road network comprises:
determining the precision corresponding to the positioning point of each log and the user driving speed;
selecting positioning points with the precision greater than the precision threshold value and the user running speed greater than the speed threshold value from the positioning points of all the logs;
and calculating the vertical distance from each selected positioning point to each road section in the road network.
34. The electronic device of claim 24, further comprising instructions to:
and rendering the road section in the map according to the corresponding positioning point of the road section in the updated road section set.
CN201810128613.1A 2018-02-08 2018-02-08 Navigation method, navigation device and electronic equipment Active CN110132292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810128613.1A CN110132292B (en) 2018-02-08 2018-02-08 Navigation method, navigation device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810128613.1A CN110132292B (en) 2018-02-08 2018-02-08 Navigation method, navigation device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110132292A CN110132292A (en) 2019-08-16
CN110132292B true CN110132292B (en) 2022-09-20

Family

ID=67567440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810128613.1A Active CN110132292B (en) 2018-02-08 2018-02-08 Navigation method, navigation device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110132292B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667925B (en) * 2020-12-30 2022-05-13 腾讯科技(深圳)有限公司 Route recommendation method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676688A (en) * 2008-09-16 2010-03-24 微星科技股份有限公司 Navigating device capable of setting automatically and newly added road sections into navigating plan
CN102840867A (en) * 2011-06-21 2012-12-26 歌乐株式会社 Route searching system and method based on commonly used route
CN106225794A (en) * 2016-06-30 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and device for planning of navigation way

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4881098B2 (en) * 2006-07-31 2012-02-22 パイオニア株式会社 Map information processing apparatus, map information processing apparatus control method, map information processing apparatus control program, and recording medium recording map information processing apparatus control program
JP4903616B2 (en) * 2007-03-29 2012-03-28 アイシン・エィ・ダブリュ株式会社 Map update data supply device, map data update system, and map update data supply method
WO2011160687A1 (en) * 2010-06-23 2011-12-29 Tomtom International B.V. System and method of optimizing and dynamically updating route information
CN101924647B (en) * 2010-07-23 2012-02-15 中国科学院东北地理与农业生态研究所 Local area topology rebuilding method for updating navigation road network increment
JP5599830B2 (en) * 2012-02-03 2014-10-01 クラリオン株式会社 Route guidance system, route guidance server device, and navigation terminal device
CN104613970B (en) * 2014-07-24 2018-01-12 腾讯科技(深圳)有限公司 The data creation method and client of a kind of analogue navigation
US10371536B2 (en) * 2014-10-20 2019-08-06 Tomtom Navigation B.V. Alternative routes
CN104283719A (en) * 2014-10-28 2015-01-14 北京国双科技有限公司 Log processing method and device and server
US9874451B2 (en) * 2015-04-21 2018-01-23 Here Global B.V. Fresh hybrid routing independent of map version and provider
CN105387863B (en) * 2015-12-09 2018-10-26 浙江网新恒天软件有限公司 A method of it is identified and navigates for road unknown in existing navigation map
CN106840176B (en) * 2016-12-28 2020-01-31 济宁中科先进技术研究院有限公司 GPS time-space data increment road network real-time updating and track matching system
CN107192392A (en) * 2017-05-26 2017-09-22 山东浪潮云服务信息科技有限公司 The update method and device of a kind of road net data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676688A (en) * 2008-09-16 2010-03-24 微星科技股份有限公司 Navigating device capable of setting automatically and newly added road sections into navigating plan
CN102840867A (en) * 2011-06-21 2012-12-26 歌乐株式会社 Route searching system and method based on commonly used route
CN106225794A (en) * 2016-06-30 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and device for planning of navigation way

Also Published As

Publication number Publication date
CN110132292A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN107957266B (en) Positioning method, positioning device and storage medium
WO2017049796A1 (en) Navigation method and apparatus, navigation video generation method and apparatus
KR100991669B1 (en) Method for searching routes of potable terminal
CN112683287A (en) Path generation method and device, electronic equipment and storage medium
US20090005964A1 (en) Intelligent Route Guidance
CN111882907A (en) Navigation early warning method, device, equipment and storage medium for vehicle
CN107527512B (en) Violation prompting method and device and electronic equipment
CN104994125A (en) Information sending method and device and information displaying method and device
CN105387868A (en) Method and device for making prompt for road information
TW201814644A (en) Systems, methods and devices for virtual fencing
CN110688576B (en) Content recommendation method and device, electronic equipment and storage medium
CN104537837A (en) Method, device and system for obtaining traffic signs and determining traffic routes
CN111966769B (en) Method, device, equipment and medium for recommending information based on life circle
CN106779174A (en) Route planning method, apparatus and system
CN110619027A (en) House source information recommendation method and device, terminal equipment and medium
CN107403232B (en) Navigation control method and device and electronic equipment
CN110361019B (en) Method, device, electronic equipment and readable medium for predicting navigation time
CN110533948B (en) Path recommendation method and device
CN112153568B (en) Wi-Fi identification and binding method, device and equipment based on service scene
CN110132292B (en) Navigation method, navigation device and electronic equipment
CN108241678B (en) Method and device for mining point of interest data
CN110715672A (en) Navigation path planning method and device
CN110488322B (en) Parking lot entrance and exit recognition method and device
CN112857381A (en) Path recommendation method and device and readable medium
TWI666424B (en) Method, device, storage medium and terminal device for navigation and positioning based on tunnel map

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