CN113029165A - Navigation data processing method and device, electronic equipment and storage medium - Google Patents

Navigation data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113029165A
CN113029165A CN202110207168.XA CN202110207168A CN113029165A CN 113029165 A CN113029165 A CN 113029165A CN 202110207168 A CN202110207168 A CN 202110207168A CN 113029165 A CN113029165 A CN 113029165A
Authority
CN
China
Prior art keywords
curve
map
navigation
section
road section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110207168.XA
Other languages
Chinese (zh)
Other versions
CN113029165B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110207168.XA priority Critical patent/CN113029165B/en
Publication of CN113029165A publication Critical patent/CN113029165A/en
Application granted granted Critical
Publication of CN113029165B publication Critical patent/CN113029165B/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

Landscapes

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

Abstract

The embodiment of the application discloses a navigation data processing method and device, electronic equipment and a storage medium, which can be applied to the field of navigation. The method comprises the following steps: acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data; determining a zoom ratio of the navigation map according to curve attribute information associated with the curve section when it is detected that the object position of the travel object is at a target section indicated by the curve section; zooming the navigation map based on the zooming proportion to obtain a zoomed map; the zoom map includes link critical locations of the visualization of the curve segment. Therefore, by adopting the embodiment of the application, the curve road section of the navigation map can be zoomed, and the navigation accuracy of the curve road section in the navigation map is improved.

Description

Navigation data processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of navigation, and in particular, to a navigation data processing method and apparatus, an electronic device, and a storage medium.
Background
Currently, with the rapid development of navigation technology, navigation maps have become an indispensable part of people's lives. In the prior art, when a curved road section with a relatively large turning angle, such as a mountain road, a ramp, and the like, is encountered, a general navigation mode only considers road steering information, for example, at the curved road section, a navigation map is directionally rotated through the steering information of the curved road section to realize navigation of the curved road section, but such a navigation mode may cause a user to be unable to intuitively judge a specific road condition of the curved road section where the user is located, resulting in low navigation accuracy of the curved road section.
Disclosure of Invention
The embodiment of the application provides a navigation data processing method, a navigation data processing device, electronic equipment and a storage medium, which can perform adaptive zooming on a curve road section of a navigation map, and improve navigation accuracy on the curve road section in the navigation map.
In one aspect, an embodiment of the present application provides a navigation data processing method, where the method includes:
acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data;
determining a zoom ratio of the navigation map according to curve attribute information associated with the curve section when it is detected that an object position of the travel object is at a target section indicated by the curve section;
zooming the navigation map based on the zooming proportion to obtain a zooming map; the zoom map includes segment key locations of the visualization of the curve segment.
In one aspect, an embodiment of the present application provides a navigation data processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring navigation data of a driving object and determining a curve road section in a navigation map according to the navigation data;
a processing module for determining a scaling of the navigation map according to curve attribute information associated with the curve section when it is detected that an object position of the travel object is at a target section indicated by the curve section;
the processing module is further configured to zoom the navigation map based on the zoom scale to obtain a zoom map; the zoom map includes segment key locations of the visualization of the curve segment. In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a storage device, where the processor is connected to the storage device, where the storage device is configured to store computer program instructions, and the processor is configured to perform the following steps:
acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data;
determining a zoom ratio of the navigation map according to curve attribute information associated with the curve section when it is detected that an object position of the travel object is at a target section indicated by the curve section;
zooming the navigation map based on the zooming proportion to obtain a zooming map; the zoom map includes segment key locations of the visualization of the curve segment.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored, and when executed by a processor, the computer program instructions are configured to perform the following steps:
acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data;
determining a zoom ratio of the navigation map according to curve attribute information associated with the curve section when it is detected that an object position of the travel object is at a target section indicated by the curve section;
zooming the navigation map based on the zooming proportion to obtain a zooming map; the zoom map includes segment key locations of the visualization of the curve segment.
An aspect of the application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device can perform the method provided in various alternatives of the above-mentioned aspect and the like.
According to the method and the device, the navigation data of the driving object can be acquired, the curve road section in the navigation map is determined according to the navigation data, when the object position of the driving object is detected to be in the target road section indicated by the curve road section, the zoom scale of the navigation map is determined according to the curve attribute information associated with the curve road section, then the navigation map is zoomed based on the zoom scale, the zoom map is obtained, the zoom map comprises the visual road section key position of the curve road section, and the road section key position of the curve road section can be clearly displayed. Therefore, the method and the device can zoom in and out aiming at the curve road section of the navigation map, and the navigation accuracy aiming at the curve road section in the navigation map is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic structural diagram of a navigation system provided in an embodiment of the present application;
FIG. 1b is a schematic view of a navigation process provided by an embodiment of the present application;
FIG. 1c is a schematic diagram illustrating a pre-zoom and post-zoom comparison result of a navigation map according to an embodiment of the present disclosure;
FIG. 1d is a schematic diagram illustrating a pre-zoom and post-zoom comparison result of a navigation map according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a navigation data processing method according to an embodiment of the present application;
FIG. 3a is a schematic diagram illustrating an effect of a curved road section according to an embodiment of the present application;
FIG. 3b is a schematic diagram illustrating an effect of a curved road section according to an embodiment of the present application;
FIG. 3c is a schematic diagram illustrating an effect of a non-curved road segment according to an embodiment of the present application;
FIG. 3d is a schematic diagram illustrating an effect of a non-curved road segment according to an embodiment of the present application;
FIG. 4a is a schematic diagram illustrating an effect of a target road segment provided by an embodiment of the present application;
FIG. 4b is a schematic diagram illustrating an effect of a target road segment provided by an embodiment of the present application;
fig. 4c is a schematic diagram illustrating an effect of a target road segment provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an effect of a target road segment provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a relationship between a scaling ratio and a radius of a curve according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating an effect of a client navigation interface according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of a navigation data processing method according to an embodiment of the present application;
FIG. 9a is a schematic view of a navigation process provided by an embodiment of the present application;
FIG. 9b is a schematic diagram illustrating an effect of a navigation interface provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a navigation data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The embodiment of the application provides a navigation data processing scheme, which can determine a curve road section in a navigation map from navigation data, determine a scaling of the navigation map when detecting that an object position of a driving object is in a target road section indicated by the curve road section, and then scale the navigation map based on the scaling to obtain the scaling map, so that the key position of the road section of the curve road section can be clearly displayed, and the navigation accuracy of the curve road section in the navigation map is improved.
The technical scheme of the application can be applied to electronic equipment, the electronic equipment can be a terminal or a server, and the terminal can be a smart phone, a tablet computer, a notebook computer, a smart watch, a vehicle-mounted navigation and the like, but is not limited thereto. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like, or a node on a block chain network.
Furthermore, the technical scheme of the application can be applied to navigation software and navigation systems of electronic equipment, such as various navigation applications, vehicle-mounted navigation systems, various navigation webpages and the like, the navigation map can also be called a digital map, an electronic map and the like, the map is stored and consulted in a digital mode by utilizing a computer technology, and the map can be enlarged, reduced or rotated.
In order to assist the user to better understand the application of the present solution, the navigation data processing scheme provided in the embodiment of the present invention is described below by taking the application of the navigation data processing scheme in the navigation system shown in fig. 1a as an example. Fig. 1a is a schematic structural diagram of a navigation system according to an embodiment of the present application, where the navigation system includes a consumer electronic device and a backend server, and the consumer electronic device and the backend server may be directly or indirectly connected through wired or wireless communication. The consumer electronic device may include a client of a navigation application for receiving navigation data, drawing a navigation route, and displaying a navigation map and the navigation route, reporting a prompt, and the like, a navigation engine of the consumer electronic device for identifying a curve segment in the navigation map and sending a message to the client to enter or exit the curve segment, and the like. The background server is used for planning a navigation route according to a departure place position and a destination position set by a user, determining a curve road section through which the route passes, and returning navigation data to the user electronic equipment, and is used for acquiring the navigation data and determining the curve road section from the navigation data.
In order to facilitate understanding of the application of the present solution, the whole navigation process is described herein by taking the application of the present solution to a navigation scene as an example. Referring to fig. 1b, fig. 1b is a schematic view of a navigation process provided in an embodiment of the present application, in an actual scene, a scene application that may be implemented in the present solution generally includes a user case device and a route planning background, and the user electronic device includes a client of a navigation application and a navigation engine. Specifically, when a user navigates through a navigation application of user electronic equipment, the user can set a starting place position and a destination position of navigation through a navigation application client, then obtain navigation data through a route planning background, determine a curve road section of a navigation map according to the navigation data, then return the navigation data to the navigation application client, draw and display a navigation route through the client, so as to navigate, start a navigation engine, when the navigation engine detects that a vehicle of the user runs to a target road section indicated by the curve road section, zoom the navigation map so that the user can more clearly see the road condition of the current curve road section, and then when a running object is detected to run out of the curve road section, do not zoom the navigation map any more. Please refer to fig. 1c, fig. 1c is a schematic diagram of an effect of a pre-zoom and post-zoom comparison of a navigation map provided by an embodiment of the present application, when a road section of a curve is passed, the navigation map including the road section of the curve is zoomed by the present solution, it is obvious that a section of the road section with a small degree of curvature which a driving object is to pass through is displayed before zooming, and the zoomed navigation map can clearly display the road section of the curve, please refer to fig. 1d, fig. 1d is a schematic diagram of an effect of a pre-zoom and post-zoom comparison of a navigation map provided by an embodiment of the present application, when a driving object is driven on a continuous curve, the navigation map including the road section of the curve is zoomed by the present solution, a trend of a very long continuous curve which the driving object is to pass through is displayed before zooming, and a curve section closest to.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
Based on the above description, an embodiment of the present application provides a navigation data processing method. Referring to fig. 2, fig. 2 is a schematic flow chart of a navigation data processing method according to an embodiment of the present disclosure. The execution main body in the embodiment of the present application may be an electronic device, and the electronic device may be a terminal device, a server, or a server and a terminal device. As shown in fig. 2, the navigation data processing method may include steps S201 to S203.
Step S201, acquiring navigation data of a driving object, and determining a curve road section in a navigation map according to the navigation data.
In this application, the navigation data may refer to related route data of a navigation route between a departure location and a destination location, and the navigation route may have a plurality of location points, for example, one location point every 10 meters. The navigation map is used to present a navigation route for navigation to a user, the navigation route being generated from navigation data. In other words, the navigation route set by the user can be visualized through the navigation map to show the navigation route to the user for viewing.
The departure location and the destination location may be set by a user through a navigation client, or the location of the driving object may be determined as the departure location, and then the destination location is set through the navigation client, which is not limited herein. Optionally, the navigation data may further include related information near the navigation route between the departure location and the destination location, such as store information, road name information, traffic identification information, speed measurement camera information, violation snapshot camera information, and the like, which is convenient for the traveling object to travel, and this is not limited herein. The traveling object may be any type of vehicle, such as an unmanned vehicle, a battery car, a bicycle, a car, a bicycle, etc., or may be a pedestrian, which is not limited herein. The curve road section is a road section which meets the conditions of curve radius, curve steering angle and curve arc length in a navigation route.
In one possible embodiment, determining a curve section in the navigation map from the navigation data may comprise the following steps: detecting a road section starting position and a road section ending position of a road section of a curve to be determined in navigation data; according to the road section data between the road section starting position and the road section ending position of the road section of the curve to be determined in the navigation data, determining the radius of the curve to which the road section of the curve to be determined belongs, the steering angle of the curve and the arc length of the curve; and when the radius of the curve to which the curve section to be determined belongs is less than or equal to a first curve radius threshold value, the steering angle of the curve to which the curve section to be determined belongs is greater than a steering angle threshold value, and the arc length of the curve to which the curve section to be determined belongs is greater than an arc length threshold value, determining the curve section to be determined as the curve section. The road section data comprises a navigation route between a road section starting position and a road section ending position of a road section of the curve to be determined, and data such as the radius of the curve at each position point in the road section, the arc length of the curve in the road section, the steering angle of the curve in the road section and the like. The curve radius of the curve section to be determined corresponds to the curvature radius of the mathematical curve, which curve section to be determined can be regarded as a mathematical curve. As can be seen from the mathematical law, the radius of curvature is the inverse of the curvature, and the curvature is used to indicate the degree of curvature of the curve, and the smaller the radius of curvature, the larger the degree of curvature of the curve. The curve turning angle refers to an angle between a tangent direction of a road section starting position of a curve section to be determined and a tangent direction of a road section ending position, the tangent direction refers to a direction along a navigation route on a tangent line corresponding to a position in the curve section to be determined, the tangent line is equivalent to a tangent line of a certain point on a curve of a mathematical angle, the curve section to be determined can be regarded as a mathematical curve, the unit of the curve turning angle can be an angle unit such as degree, minute or second, and the like, and the limitation is not made here. The curve arc length refers to a total length of the road section between the starting position and the ending position of the road section of the curve road section to be determined (for example, the curve road section to be determined can be regarded as a curve, and the total length of the curve road section to be determined is also the total length of the curve), and the unit of the curve arc length can be a unit with equal distance of m, km or kilometer, which is not limited herein. The first curve radius threshold value may also be referred to as a maximum curve radius required for determining the curve section to be determined as the curve section. The steering angle threshold value may also be referred to as a minimum value of the steering angle required for determining the curve section to be determined as the curve section. The arc length threshold may also be the minimum value of the arc length required to determine the curve section to be determined as the curve section. Optionally, the first curve radius threshold, the steering angle threshold, and the arc length threshold may all be set via a cloud server.
In one possible embodiment, the segment start position and the segment end position for detecting the curve segment to be determined may be determined based on a steering angle between each position point in the segment data between the origin position and the destination position indicated by the navigation data. Specifically, a plurality of positions are sampled on a navigation route in sequence according to sampling distances, so that a plurality of sampling positions are obtained, wherein the sampling distances refer to the lengths of road sections between adjacent sampling positions; acquiring a tangential direction of each sampling position, then traversing each sampling position, and calculating a steering angle between each sampling position and each sampling position after the sampling position, for example, detecting a steering angle between a target sampling position and each position after the target sampling position, where the steering angle may include a first steering angle between a first sampling position and the target sampling position, and a second steering angle between a second sampling position and the target sampling position, where the first sampling position is before the second sampling position, and if the first steering angle is the same as the second steering angle, taking the target sampling position as a section start position of a section of a curve to be determined, and determining a section end position of the section of the curve using the first steering position. Then, the next sampling position of the target sampling position is operated as above, so that one or more curve sections to be determined can be obtained.
In one possible embodiment, the section start position and the section end position of the detected curve section to be determined can also be determined as a function of the curve radius between each position in the section data between the origin position and the destination position indicated by the navigation data. Specifically, a plurality of positions are sequentially sampled on the navigation route according to a sampling distance, so as to obtain a plurality of sampling positions, wherein the sampling distance refers to the length of a road section between adjacent sampling positions, and for example, a position is obtained by sampling every 10 meters. More, the curve radius of each sampling position may also be obtained, a sampling position where the curve radius is less than or equal to the first curve radius threshold is determined from the curve radius, and the navigation route corresponding to the sampling positions where the successive curve radii are less than or equal to the first curve radius threshold is used as a curve segment to be confirmed, then in the curve segment to be confirmed, the most front sampling position (for example, the first sampling position) is the segment start position of the curve segment to be confirmed, the most rear sampling position (for example, the last sampling position) is the segment start position of the curve segment to be confirmed, and the front sampling position and the rear sampling position are described with respect to the direction of the navigation route.
For ease of understanding the determination of the curve section, different navigation routes are explained here as examples. Referring to fig. 3a, fig. 3a is a schematic diagram illustrating an effect of a curve section according to an embodiment of the present application, in the curve section, a length of the section between a section start position a and a section end position b is a curve arc length, a radius of the curve is less than or equal to a first curve radius threshold, a steering angle of the curve is greater than a steering angle threshold, and the curve arc length is greater than an arc length threshold. Referring to fig. 3b, fig. 3a is a schematic diagram of an effect of a curve segment according to an embodiment of the present disclosure, where a position point d is both a segment start position of one curve segment and a segment end position of another curve segment, a segment length between a segment start position c and the position point d is a curve arc length 1, a segment length between the position point d and the segment end position e is a curve arc length 2, and segment start positions of the two curve segments are connected to the segment end position, but both of the two curve segments satisfy a condition that a curve radius of the curve segment is smaller than or equal to a first curve radius threshold, a steering angle of the curve segment is greater than a steering angle threshold, and a curve arc length of the curve segment is greater than an arc length threshold. Referring to fig. 3c, fig. 3c is a schematic diagram illustrating an effect of a non-curved road segment according to an embodiment of the present application, where the non-curved road segment is a road segment similar to a quarter turn, and a curve arc length of the non-curved road segment is a road segment length between a road segment start position f and a road segment end position g, but the non-curved road segment is not a curved road segment, because only a curve radius of the quarter turn of the non-curved road segment satisfies a condition, that is, is smaller than a first curve radius threshold, but the curve arc length does not satisfy the condition, that is, is smaller than a curve arc length threshold, the non-curved road segment is not a curved road segment. Referring to fig. 3d, fig. 3d is a schematic diagram illustrating an effect of a non-curved road segment according to an embodiment of the present application, the non-curved road segment is a non-curved road segment similar to a quarter turn, the distance between the two non-curved road segments is a certain road segment length d, for the reason described with reference to fig. 3c, the arc length of the two quarter turn road segments of the non-curved road segment does not satisfy the condition, that is, is less than the arc length threshold, and the non-curved road segment is not a curved road segment.
In step S202, when it is detected that the object position of the traveling object is in a target section indicated by a curve section, a scaling of the navigation map is determined according to curve attribute information associated with the curve section.
The target road section of the object position may refer to the road section of the driving object in the curve, the road section of the driving object in the curve road section before the road section start position, or the road section of the driving object in the curve road section after the road section end position. The curve-in mileage threshold value is a maximum value of the mileage of a road segment before the start position of the road segment of the curve road segment when the road segment is a part of the target road segment, and the curve-out mileage threshold value is a maximum value of the mileage of a road segment after the end position of the road segment of the curve road segment when the road segment is a part of the target road segment. In other words, the target road segment may include a curve road segment, or the target road segment may include a road segment indicated by a mileage-in-curve threshold and a curve road segment, or the target road segment may include a road segment indicated by a mileage-in-curve threshold, a road segment indicated by a mileage-out-of-curve threshold and a curve road segment.
For example, referring to fig. 4a, fig. 4a is a schematic diagram illustrating an effect of a target road segment according to an embodiment of the present application, where the target road segment indicated by the curve road segment includes a curve road segment, and the target road segment indicated by the curve road segment is a road segment between a road segment start position l of the curve road segment and a road segment end position m of the curve road segment. Referring to fig. 4b, fig. 4b is a schematic diagram illustrating an effect of a target road segment according to an embodiment of the present application, where the target road segment indicated by the curve road segment includes a road segment indicated by a mileage-in-curve threshold and a curve road segment, and then the road segment indicated by the mileage-in-curve threshold is a road segment between a position n and a start position p of the curve road segment, where the position n may be referred to as a mileage-in-curve position, and then the target road segment indicated by the curve road segment is a road segment between the mileage-in-curve position n and a start position q of the curve road segment. Referring to fig. 4c, fig. 4c is a schematic diagram illustrating an effect of a target road segment according to an embodiment of the present application, where the target road segment indicated by the curve road segment includes a road segment indicated by a mileage-in threshold, a road segment indicated by a mileage-out threshold, and a curve road segment, the road segment indicated by the mileage-in threshold is a road segment between a position r and a start position s of the curve road segment, the road segment indicated by the mileage-out threshold is a road segment between a road segment end position t and a position u of the curve road segment, the position may be referred to as a curve-in position, the position u may be referred to as a curve-out position, and the road segment indicated by the curve-in position r and the curve-out position u are located between the curve-in position t and the curve-.
The curve attribute information may include information such as a curve radius, a curve steering angle, a curve arc length, etc. of the curve section. The scaling ratio can be expressed as a ratio of 1 pixel of the display screen of the electronic device to the actual distance, for example, if the scaling ratio is 20m, then 1 pixel of the display screen of the electronic device corresponds to 20m of the actual distance, and the scaling ratio can also be expressed as a ratio of 1mm on the display screen of the electronic device to the actual distance, for example, if the scaling ratio is 5m, then 1mm on the display screen of the display terminal corresponds to 5m of the actual distance, and the representation manner for the scaling ratio is not limited herein.
In one possible embodiment, when the object position is in the target road segment and the traveling object is in the curve road segment, it may be determined whether the object position is in the target road segment by detecting whether the object position is in the road segment between the road segment start position and the road segment end position of the curve road segment, that is, when the object position is in the road segment between the road segment start position and the road segment end position of the curve road segment, it indicates that the object position is in the target road segment, and when the object position is not in the road segment between the road segment start position and the road segment end position of the curve road segment, it indicates that the object position is not in the target road segment. Alternatively, in an actual navigation scenario, the object position of the traveling object may generally go from far to near to the starting position of the road section of the curve road section, so as to enter the curve road section, and then the scaling of the navigation map may be determined according to the curve attribute information associated with the curve road section when it is detected that the object position enters the curve road section through the starting position of the road section.
In one possible embodiment, detecting that the object position is on the target road segment indicated by the curved road segment when the object position is on the target road segment indication and the object position is on a road segment indicated by the curved road segment trip mileage threshold before the road segment start position may include the steps of: determining the driving mileage between the position of the object and the initial position of the road section of the curve road section to obtain the curve-entering driving mileage; and when the bend-in driving mileage is detected to be smaller than the bend-in driving mileage threshold value, determining that the position of the object is in the target road section. The bend-in driving range refers to the length of the road section between the position of the object and the starting position of the road section before the starting position of the road section of the curve road section. Referring to fig. 5, fig. 5 is a schematic diagram illustrating an effect of a target road segment provided in an embodiment of the present application, where the curved-in driving range is a length of the road segment between an object position Z and a starting position p of the road segment of the driving object, and the curved-in driving range threshold is a length of the road segment between a curved-in position n and the starting position p of the road segment, and the curved-in driving range is smaller than the curved-in driving range threshold, then the driving object is located on the target road segment. Alternatively, in an actual navigation scenario, the object position of the traveling object may generally be driven from far to near to the starting position of the road section of the curve road section, so as to enter the curve road section, and then the scaling of the navigation map may be determined according to the curve attribute information associated with the curve road section when the object position is detected to pass through the curve entering position.
In one possible implementation, determining the scale of the navigation map based on the curve attribute information associated with the curve segment may include: when the curve radius of the curve road section is smaller than or equal to a second curve radius threshold, determining the scaling as a first scaling; and when the curve radius of the curve road section is larger than the second curve radius threshold and is smaller than or equal to the first curve radius threshold, determining a scaling ratio from the scaling interval according to the numerical value of the curve radius of the curve road section. The second curve radius threshold is smaller than the first curve radius threshold, the zooming interval is composed of a first zooming proportion and a second zooming proportion, and the second zooming proportion is larger than the first zooming proportion. Specifically, reference may be made to fig. 6, where fig. 6 is a schematic diagram of a relationship between a scaling ratio and a radius of a curve provided in an embodiment of the present application, and is expressed by a rectangular coordinate system, where an abscissa represents the radius of the curve and an ordinate represents the scaling ratio. For example, the first curve radius threshold is 150m, the second curve radius threshold is 50m, the first scaling is 10m, the second scaling is 20m, the scaling interval is 10m-20m, the scaling is 20m when the curve radius of the curve section is 150m, the scaling is 10m when the curve radius of the curve section is 50m or less, the scaling varies linearly with the curve radius of the curve section when the curve radius of the curve section is 50 m-150 m, in other words, the scaling varies linearly with the curve radius of the curve section between 10m-20m scaling intervals, such as 15m when the curve radius is 100m, and the scaling is 16m when the curve radius is 120 m.
And S203, zooming the navigation map based on the zooming scale to obtain a zooming map.
The zoom map always keeps the zoom scale when the object position is in a target road section indicated by the curve road section, the zoom map comprises road section key positions of the curve road section visualization, and the road section key positions comprise key positions of a road section starting position, a road section ending position, an arc length vertex position of the curve and the like. The visualized key position of the road section refers to a key position of the road section of the curve road section which can be displayed in a visualized area of the navigation interface, in other words, the visualized area can completely display the key position of the road section of the curve road section. Alternatively, boundary points of the curve segment may be determined, and the segment key locations may be visualized by enabling the boundary points to be visualized in the navigation interface, where the boundary points may include an upper boundary point, a lower boundary point, a left boundary point, and a right boundary point, respectively for representing the uppermost, lowermost, leftmost, and rightmost locations of the curve segment in the visualization area.
In one possible embodiment, a zoom map is displayed on the navigation interface when the object position of the driving object is detected to be in the target road section. The navigation interface can be used for displaying a navigation map and/or a zoom map and the like. The zooming map displayed by the navigation interface comprises the road section key positions of the curve road section visualization, and the zooming map always keeps the same zooming scale until the driving object drives out of the target road section indicated by the curve road section. For example, referring to fig. 7, fig. 7 is a schematic effect diagram of a client navigation interface provided in an embodiment of the present application, where the client navigation interface may include a visualization area, and the visualization area is used to display a navigation map and/or a zoom map, where before zooming the navigation map, the visualization area of the navigation interface is used to display the navigation map, and the navigation interface is shown in the schematic effect diagram in fig. 7 before zooming. After the navigation map is zoomed, the visualized area of the navigation interface is used for displaying the zoomed map, as shown in the zoomed effect schematic diagram in fig. 7, the position of each road section key and each boundary point of the curve road section can be completely displayed in the navigation interface for displaying the zoomed map, the leftmost position of the curve road section corresponds to the left boundary point, the rightmost position of the curve road section corresponds to the right boundary point, and the uppermost position of the curve road section corresponds to the upper boundary point, so that the left boundary point, the right boundary point and the upper boundary point can be visualized in the navigation interface for displaying the zoomed map. Optionally, the navigation interface displaying the zoom map may completely display the key position of the target road segment indicated by the curved road segment and each boundary point of the target road segment, that is, the zoom map includes the key position of the road segment visualized by the target road segment indicated by the curved road segment, and the key position of the road segment includes key positions such as the bend-in position of the target road segment, the bend-out position of the target road segment, and the arc length vertex position of the curved road segment. Obviously, navigating through the zoomed navigation interface can enable a user to judge the road condition of the current curve road section more clearly, and the user does not exit the navigation interface for displaying the zoomed map until the user exits that the driving object completely passes through the curve road section.
In a possible implementation, zooming the navigation map based on the zoom scale to obtain the zoom map may include the following steps: zooming the navigation map based on the zooming scale to obtain a transitional zooming map; and determining a target map view in the transitional zoom map according to the key position of the road section of the curve road section, and determining the transitional zoom map containing the visual target map view as the zoom map. The target map view field comprises visualized key positions of the road section, and the key positions of the road section can comprise key positions of a road section starting position, a road section ending position, an arc length vertex position of the curve, a bend-in position of the target road section, a bend-out position of the target road section and the like. The transitional zoom map is a map only zoomed on the navigation map, but in the transitional zoom map, the key position of the road section of the target map may not be completely displayed, and the view field of the target map is determined according to the key position of the road section, and the transitional zoom map is adjusted, so that the view field of the target map in the transitional zoom map can be completely displayed on the visual area of the navigation interface of the electronic device, namely the visual view field of the target map.
In one possible implementation, before the large-scale map is zoomed based on the zoom scale, the curve prompt information can be obtained and is broadcasted in voice, so that the user can know the information of the curve ahead. Specifically, the arc length of the curve is determined as the curve driving mileage of the curve road section, the curve distortion degree of the curve road section is determined according to the curve steering angle, curve prompt information is generated according to the curve driving mileage, the curve distortion degree and the curve entering driving mileage, and voice broadcasting prompt is carried out on the curve prompt information. The curve mileage refers to a mileage value required for the traveling object to completely pass through the curve section. This bend distortion journey can describe through the distortion grade, if slight distortion, moderate distortion or severe distortion etc. bend steering angle usually, bend steering angle is big more, and then bend distortion degree is high more to probably the bend is dangerous more, so through voice broadcast, the distortion degree of suggestion driving object preceding bend, thereby makes driving object improve vigilance, safe driving. The curve-entering driving range refers to a range value between the position of the object and the starting position of the road section before the starting position of the road section of the curve road section, and when the driving object is at the road section indicated by the curve-entering driving range threshold value, the driving object is prompted to see how many ranges are about to be carried out on the curve road section, so that a user knows that the front is the curve road section in advance and pays attention to safe driving.
According to the method and the device, the navigation data of the driving object can be acquired, the curve road section in the navigation map is determined according to the navigation data, when the object position of the driving object is detected to be in the target road section indicated by the curve road section, the zoom scale of the navigation map is determined according to the curve attribute information associated with the curve road section, then the navigation map is zoomed based on the zoom scale, the zoom map is obtained, the zoom map comprises the visual road section key position of the curve road section, and the road section key position of the curve road section can be clearly displayed. Therefore, the method and the device can zoom in and out aiming at the curve road section of the navigation map, and the navigation accuracy aiming at the curve road section in the navigation map is improved.
Fig. 8 is a schematic flow chart illustrating a navigation data processing method according to an embodiment of the present invention. The navigation data processing method may be performed by an electronic device. As shown in fig. 8, the navigation data processing method may include the following steps S801 to S805.
And step S801, acquiring navigation data of the driving object, and determining a curve road section in the navigation map according to the navigation data.
Step S802, when it is detected that the object position of the traveling object is in a target section indicated by a curve section, determines a scaling of the navigation map according to curve attribute information associated with the curve section.
And S803, zooming the navigation map based on the zooming scale to obtain the zooming map.
For a specific implementation manner of the steps S801 to S803, reference may be made to the specific description of the steps S201 to S203 in the embodiment corresponding to fig. 2, and details are not repeated here.
Step S804 acquires the travel position of the travel object.
The time of the travel position is later than the time of the object position, that is, when the travel object indicates the navigation route to travel according to the navigation data, the travel object passes through the object position and then passes through the travel position. Obviously, the driving position and the object position do not specifically refer to a certain position point in the navigation route, but are used for representing the precedence relationship of the time of the two positions, and in an actual scene, the object position and the driving position may refer to any position in the navigation route, but the time of the driving position is always later than the time of the object position.
And step S805, when the driving position is detected to be at the road section end position of the curve road section, restoring the zoom map according to the zoom ratio to obtain a restored map.
And the map display scale of the reduction map is equal to the map display scale of the navigation map. The display scale may be represented as a ratio of 1 pixel of a display screen of the electronic device to an actual distance, for example, if the display scale is 20m, then 1 pixel of the display screen of the electronic device is equivalent to 20m of the actual distance, and the display scale may also be represented as a ratio of 1mm of the display screen of the electronic device to the actual distance, for example, if the scaling scale is 5m, then 1mm of the display screen of the display end is equivalent to 5m of the actual distance, and the representation manner of the scaling is not limited herein. The mm and m are both distance units. It is detected that the driving position is at a link end position of the curve link, in other words, the link end position where the driving object passes through the curve link while the driving object is traveling in accordance with the navigation data. Optionally, when the driving position is detected to be at the curve exit position after the road section end position of the curve road section, the zoom map may be restored according to the zoom ratio to obtain the restored map.
In one possible implementation, the zoom map may be restored according to a ratio of a zoom scale of the zoom map to a display scale of the navigation map. For example, if the zoom scale of the zoom map is 20m and the display scale of the navigation map is 50m, and the ratio between the zoom scale of the zoom map and the display scale of the navigation map is 2/5, when it is detected that the travel position is at the link end position of the curved link, the display scale of the restored map is 50m according to the ratio between the zoom scale of the zoom map and the display scale of the navigation map.
In one possible embodiment, when it is detected that the driving position is at the section end position of the curve section, curve exit prompt information can also be acquired, and the curve exit prompt information is subjected to voice broadcast. Specifically, when it is detected that the traveling object is at the section end position of the curve section, it may be prompted that the traveling object has exited the current curve section, so as to prompt the user that the current navigation map is not the zoom map.
In one possible embodiment, when the object position of the driving object is detected to be in the target road section, a zoom map is displayed on the navigation interface; and when the driving position is detected to be at the road section end position of the curve road section, switching and displaying the zoom map displayed on the navigation interface into a reduction map. The navigation interface is used for displaying a navigation map, a zoom map and/or a reduction map. Optionally, the navigation interface may further include a visualization area, and the visualization area is used for displaying a navigation map, a zoom map and/or a reduction map. Referring to fig. 9a, fig. 9a is a schematic view of a navigation process provided in an embodiment of the present application, before entering a curve segment, when it is detected that a distance from a driving object to a starting position of the segment is a threshold of a driving mileage for bending, that is, when the driving object passes through a position for bending, a navigation map is zoomed, the driving object drives on the curve segment according to the zoomed navigation map, when it is detected that the driving object passes through a segment ending position of the curve segment, zooming of the navigation map is stopped, a display scale of the navigation map is restored, then it is detected whether to enter a next curve segment, and when it is detected that the driving object is about to enter the next curve segment, the above steps are repeated until the driving object completely passes through the navigation route. In the navigation process shown in fig. 9a, please refer to fig. 9b for an effect display interface of the navigation interface, and fig. 9b is a schematic view of an effect of the navigation interface provided in the embodiment of the present application. Before the driving object enters the target road section indicated by the curved road section, the navigation is performed according to the navigation interface of the navigation map before zooming shown in fig. 9b, and in the navigation interface, the map display scale of the navigation route is large, so that the road condition of the curved road section to which the driving object is about to enter cannot be clearly displayed. When the driving object is detected to pass through the bend-entering position, zooming the navigation map to obtain a zoom map, and navigating according to the navigation interface for displaying the zoom map shown in fig. 9b, namely when the driving object is located at the target road section indicated by the bend road section, navigating according to the navigation interface for displaying the zoom map shown in fig. 9b, wherein in the navigation interface, the navigation interface can clearly display the road condition of the bend road section which the driving object is about to enter. When it is detected that the driving position of the driving object moves out of the section end position of the curved road section, the zoomed map is restored to obtain a restored map, navigation is performed according to the navigation interface which is shown in fig. 9b and displays the restored map, in the navigation interface, the display scale of the map is consistent with the display scale of the navigation map before zooming, and when a target section indicated by the next curved road section is detected, the steps are repeated until the driving object completely passes through the navigation route.
In a possible embodiment, if there is a portion of overlap between the target links indicated by the consecutive curved road segments, and the driving object is detected to be at the curve-out position of the previous target link, the next target link is directly switched to the zoom map corresponding to the next target link, and the zoom ratio of the next zoom map and the previous zoom map may be the same or different, and this is determined according to the actual situation. For example, if there is an overlap between the target link 1 and the target link 2, in other words, the bend-in position of the target link 2 is located before the bend-out position of the target link 1, when it is detected that the driving position of the driving object is at the bend-out position of the target link 1, the zoom scale of the zoom map is switched to the zoom scale corresponding to the target link 2, and the zoom map corresponding to the target link 1 displayed on the navigation interface is switched to the zoom map corresponding to the target link 2.
According to the method and the device, the navigation data of the driving object can be acquired, the curve road section in the navigation map is determined according to the navigation data, when the object position of the driving object is detected to be in the target road section indicated by the curve road section, the zoom scale of the navigation map is determined according to the curve attribute information associated with the curve road section, then the navigation map is zoomed based on the zoom scale, the zoom map is obtained, the zoom map comprises the visual road section key position of the curve road section, and the road section key position of the curve road section can be clearly displayed. Therefore, the method and the device can zoom in and out aiming at the curve road section of the navigation map, and the navigation accuracy aiming at the curve road section in the navigation map is improved.
Based on the description of the above navigation data processing method embodiment, the present application also discloses a navigation data processing apparatus, which may be configured in the above electronic device, for example, the apparatus may be a computer program (including program code) running in the electronic device. The navigation data processing apparatus may perform the method shown in fig. 10. Referring to fig. 10, the apparatus may operate as follows:
an obtaining module 1001 configured to obtain navigation data of a driving object, and determine a curve section in a navigation map according to the navigation data;
a processing module 1002 for determining a scaling of a navigation map according to curve attribute information associated with a curve section when it is detected that an object position of a travel object is at a target section indicated by the curve section;
the processing module 1002 is further configured to zoom the navigation map based on the zoom scale to obtain a zoom map; the zoom map includes segment key locations for visualization of the curve segment.
In one embodiment, the processing module 1002 is configured to, when determining a curve segment in a navigation map according to navigation data, specifically:
detecting a road section starting position and a road section ending position of a road section of a curve to be determined in navigation data;
determining a curve radius, a curve steering angle and a curve arc length of a curve section to be determined according to section data between a section starting position and a section ending position of the curve section to be determined in the navigation data;
and when the radius of the curve to be determined is less than or equal to a first curve radius threshold, the steering angle of the curve to be determined is greater than a steering angle threshold, and the arc length of the curve to be determined is greater than an arc length threshold, determining the curve to be determined as the curve section.
In one embodiment, the curve attribute information includes a curve radius of the curve segment; the processing module 1002 is configured to, when determining a scaling of the navigation map according to the curve attribute information associated with the curve segment, specifically:
when the curve radius of the curve road section is smaller than or equal to the second curve radius threshold value, determining the scaling as a first scaling; the second curve radius threshold is less than the first curve radius threshold;
when the radius of the curve road section is larger than the second curve radius threshold and is smaller than or equal to the first curve radius threshold, determining a scaling ratio from a scaling interval according to the numerical value of the radius of the curve road section; the zooming interval consists of a first zooming proportion and a second zooming proportion; the second scale is greater than the first scale.
In one embodiment, the processing module 1002 is specifically configured to, when determining a scaling of the navigation map according to the curve attribute information associated with the curve segment when detecting that the object position of the driving object is in the target segment indicated by the curve segment:
determining the driving mileage between the position of the object and the starting position of the road section of the curve road section as the bending driving mileage of the driving object aiming at the curve road section;
when the bend-in mileage is detected to be less than the bend-in mileage threshold, the object position is determined to be at the target road segment, and the scaling is determined according to the curve attribute information associated with the curve road segment.
In one embodiment, the curve attribute information includes a curve steering angle and a curve arc length for the curve segment; the processing module 1002 is further configured to:
determining the arc length of the curve as the curve driving mileage of the curve road section;
determining the curve distortion degree of a curve road section according to the curve steering angle;
and generating curve prompt information according to the curve driving mileage, the curve distortion degree and the curve entering driving mileage, and carrying out voice broadcasting prompt on the curve prompt information.
In an embodiment, the processing module 1002 is configured to zoom the navigation map based on a zoom scale, and when obtaining the zoom map, specifically, to:
zooming the navigation map based on the zooming scale to obtain a transitional zooming map;
determining a target map view in a transitional zoom map according to the key position of the road section of the curve road section; the target map view comprises visualized key positions of the road sections;
and determining a transition zoom map containing the visual target map view as a zoom map.
In one embodiment, the processing module 1002 is further configured to:
acquiring a driving position of a driving object; the time of the travel position is later than the time of the object position;
when the driving position is detected to be at the road section end position of the curve road section, restoring the zoom map according to the zoom scale to obtain a restored map; the map display scale of the restored map is equal to the map display scale of the navigation map.
In one embodiment, the processing module 1002 is further configured to:
when the object position of the driving object is detected to be in the target road section, displaying a zoom map on a navigation interface;
and when the driving position is detected to be at the road section end position of the curve road section, switching and displaying the zoom map displayed on the navigation interface into a reduction map.
According to the method and the device, the navigation data of the driving object can be acquired, the curve road section in the navigation map is determined according to the navigation data, when the object position of the driving object is detected to be in the target road section indicated by the curve road section, the zoom scale of the navigation map is determined according to the curve attribute information associated with the curve road section, then the navigation map is zoomed based on the zoom scale, the zoom map is obtained, the zoom map comprises the visual road section key position of the curve road section, and the road section key position of the curve road section can be clearly displayed. Therefore, the method and the device can zoom in and out aiming at the curve road section of the navigation map, and the navigation accuracy aiming at the curve road section in the navigation map is improved.
The functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of software functional module, which is not limited in this application.
Referring to fig. 11 again, the electronic device in the embodiment of the present application is a schematic structural diagram, and the electronic device in the embodiment of the present application includes a power supply module and the like, and includes a processor 1101 and a storage device 1102. Optionally, the electronic device may also include a network interface 1103. Data can be interacted among the processor 1101, the storage device 1102 and the network interface 1103, the network interface 1103 is controlled by the processor to transmit and receive messages, the memory 1102 is used for storing computer programs, the computer programs comprise program instructions, and the processor 1101 is used for executing the program instructions stored in the memory 1102. Wherein the processor 1101 is configured to invoke program instructions to perform the above-described method.
The storage 1102 may include volatile memory (volatile memory), such as random-access memory (RAM); the storage device 1102 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the storage 1102 may also comprise a combination of memories of the kind described above.
The processor 1101 may be a Central Processing Unit (CPU) 1101. In one embodiment, processor 1101 may also be a Graphics Processing Unit (GPU) 1101. The processor 1101 may also be a combination of a CPU and a GPU.
In one embodiment, the storage device 1102 is used to store program instructions. The processor 1101 may call program instructions to perform the following steps:
acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data;
determining a scaling of the navigation map according to curve attribute information associated with a curve section when it is detected that an object position of the traveling object is at a target section indicated by the curve section;
zooming the navigation map based on the zooming scale to obtain a zoomed map; the zoom map includes segment key locations for visualization of the curve segment.
In one embodiment, the processor 1001 is configured to execute, when determining a curve segment in a navigation map according to navigation data, specifically to execute:
detecting a road section starting position and a road section ending position of a road section of a curve to be determined in navigation data;
determining a curve radius, a curve steering angle and a curve arc length of a curve section to be determined according to section data between a section starting position and a section ending position of the curve section to be determined in the navigation data;
and when the radius of the curve to be determined is less than or equal to a first curve radius threshold, the steering angle of the curve to be determined is greater than a steering angle threshold, and the arc length of the curve to be determined is greater than an arc length threshold, determining the curve to be determined as the curve section.
In one embodiment, the curve attribute information includes a curve radius of the curve segment; the processor 1001, when being configured to perform determining a zoom ratio of a navigation map based on curve attribute information associated with a curve segment, is specifically configured to perform:
when the curve radius of the curve road section is smaller than or equal to the second curve radius threshold value, determining the scaling as a first scaling; the second curve radius threshold is less than the first curve radius threshold;
when the radius of the curve road section is larger than the second curve radius threshold and is smaller than or equal to the first curve radius threshold, determining a scaling ratio from a scaling interval according to the numerical value of the radius of the curve road section; the zooming interval consists of a first zooming proportion and a second zooming proportion; the second scale is greater than the first scale.
In one embodiment, the processor 1001 is configured to, when determining a scaling of the navigation map according to the curve attribute information associated with the curve segment when detecting that the object position of the driving object is in the target segment indicated by the curve segment, specifically, to perform:
determining the driving mileage between the position of the object and the starting position of the road section of the curve road section as the bending driving mileage of the driving object aiming at the curve road section;
when the bend-in mileage is detected to be less than the bend-in mileage threshold, the object position is determined to be at the target road segment, and the scaling is determined according to the curve attribute information associated with the curve road segment.
In one embodiment, the curve attribute information includes a curve steering angle and a curve arc length for the curve segment; the processor 1001 may also be used to perform:
determining the arc length of the curve as the curve driving mileage of the curve road section;
determining the curve distortion degree of a curve road section according to the curve steering angle;
and generating curve prompt information according to the curve driving mileage, the curve distortion degree and the curve entering driving mileage, and carrying out voice broadcasting prompt on the curve prompt information.
In an embodiment, the processor 1001 is configured to perform zooming on the navigation map based on a zoom scale, and when obtaining the zoom map, may be specifically configured to perform:
zooming the navigation map based on the zooming scale to obtain a transitional zooming map;
determining a target map view in a transitional zoom map according to the key position of the road section of the curve road section; the target map view comprises visualized key positions of the road sections;
and determining a transition zoom map containing the visual target map view as a zoom map.
In one embodiment, the processor 1001 may further be configured to perform:
acquiring a driving position of a driving object; the time of the travel position is later than the time of the object position;
when the driving position is detected to be at the road section end position of the curve road section, restoring the zoom map according to the zoom scale to obtain a restored map; the map display scale of the restored map is equal to the map display scale of the navigation map.
In one embodiment, the processor 1001 may further be configured to perform:
when the object position of the driving object is detected to be in the target road section, displaying a zoom map on a navigation interface;
and when the driving position is detected to be at the road section end position of the curve road section, switching and displaying the zoom map displayed on the navigation interface into a reduction map.
In a specific implementation, the apparatus, the processor 1001, the storage device 1002, and the like described in this embodiment of the application may perform the implementation described in the above method embodiment, and may also perform the implementation described in this embodiment of the application, which is not described herein again.
According to the method and the device, the navigation data of the driving object can be acquired, the curve road section in the navigation map is determined according to the navigation data, when the object position of the driving object is detected to be in the target road section indicated by the curve road section, the zoom scale of the navigation map is determined according to the curve attribute information associated with the curve road section, then the navigation map is zoomed based on the zoom scale, the zoom map is obtained, the zoom map comprises the visual road section key position of the curve road section, and the road section key position of the curve road section can be clearly displayed. Therefore, the method and the device can zoom in and out aiming at the curve road section of the navigation map, and the navigation accuracy aiming at the curve road section in the navigation map is improved.
Also provided in embodiments of the present application is a computer (readable) storage medium, which stores a computer program, where the computer program includes program instructions, and when the program instructions are executed by a processor, the computer program can perform some or all of the steps performed in the above method embodiments. Alternatively, the computer storage media may be volatile or nonvolatile.
Embodiments of the present application also provide a computer program product or computer program comprising program instructions, which may be stored in a computer-readable storage medium. The processor of the computer device reads the program instructions from the computer-readable storage medium, and the processor executes the program instructions, so that the computer executes part or all of the steps executed in the data presentation method, which is not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer storage medium, and the computer storage medium may be a computer readable storage medium, and when executed, the processes of the embodiments of the methods may be included. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus 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 or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A navigation data processing method, comprising:
acquiring navigation data of a driving object, and determining a curve section in a navigation map according to the navigation data;
determining a zoom ratio of the navigation map according to curve attribute information associated with the curve section when it is detected that an object position of the travel object is at a target section indicated by the curve section;
zooming the navigation map based on the zooming proportion to obtain a zooming map; the zoom map includes segment key locations of the visualization of the curve segment.
2. The method of claim 1, wherein determining the curve segment in the navigation map from the navigation data comprises:
detecting a road section starting position and a road section ending position of a road section of a curve to be determined in the navigation data;
determining a curve radius, a curve steering angle and a curve arc length of the curve section to be determined according to the section data between the section starting position and the section ending position of the curve section to be determined in the navigation data;
and when the radius of the curve to which the curve section to be determined belongs is smaller than or equal to a first curve radius threshold, the steering angle of the curve to which the curve section to be determined belongs is larger than a steering angle threshold, and the arc length of the curve to which the curve section to be determined belongs is larger than an arc length threshold, determining the curve section to be determined as the curve section.
3. The method of claim 2, wherein the curve attribute information includes a curve radius of the curve segment;
the determining a scale of the navigation map based on curve attribute information associated with the curve segment includes:
determining the scaling as a first scaling when the curve radius of the curve section is less than or equal to a second curve radius threshold; the second curve radius threshold is less than the first curve radius threshold;
when the curve radius of the curve road section is larger than the second curve radius threshold and is smaller than or equal to the first curve radius threshold, determining the scaling proportion from a scaling interval according to the numerical value of the curve radius of the curve road section; the scaling interval is composed of the first scaling ratio and the second scaling ratio; the second scaling is greater than the first scaling.
4. The method according to claim 1, wherein the determining a scaling of the navigation map according to curve attribute information associated with the curve segment when the object position of the travel object is detected to be in a target segment indicated by the curve segment comprises:
determining the driving mileage between the object position and the road section starting position of the curve road section as the bending driving mileage of the driving object for the curve road section;
when the bend-in mileage is detected to be less than the bend-in mileage threshold, determining that the object position is at the target road segment, and determining the scaling according to the curve attribute information associated with the curve road segment.
5. The method of claim 4, wherein the curve attribute information includes a curve steering angle and a curve arc length for the curve segment;
the method further comprises the following steps:
determining the curve arc length as the curve mileage of the curve road section;
determining the curve distortion degree of the curve road section according to the curve steering angle;
and generating curve prompt information according to the curve driving mileage, the curve distortion degree and the curve driving mileage, and carrying out voice broadcasting prompt on the curve prompt information.
6. The method of claim 1, wherein zooming the navigation map based on the zoom scale to obtain a zoom map comprises:
zooming the navigation map based on the zooming proportion to obtain a transitional zooming map;
determining a target map view in the transitional zoom map according to the section key position of the curve section; the target map view comprises the link key locations visualized;
determining the transitional zoom map including the visualized target map field of view as the zoom map.
7. The method of claim 1, further comprising:
acquiring a driving position of the driving object; the time of the travel position is later than the time of the object position;
when the driving position is detected to be at the road section end position of the curve road section, restoring the zoom map according to the zoom scale to obtain a restored map; and the map display scale of the reduction map is equal to the map display scale of the navigation map.
8. The method of claim 7, further comprising:
when the object position of the driving object is detected to be in the target road section, displaying the zoom map on a navigation interface;
and when the driving position is detected to be at the road section end position of the curve road section, switching and displaying the zoom map displayed on the navigation interface as the reduction map.
9. An electronic device comprising a processor and a storage device, the processor being interconnected with the storage device, wherein the storage device is configured to store computer program instructions, and the processor is configured to execute the program instructions to implement the method of any one of claims 1-8.
10. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, are adapted to perform the method of any one of claims 1-8.
CN202110207168.XA 2021-02-24 2021-02-24 Navigation data processing method and device, electronic equipment and storage medium Active CN113029165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110207168.XA CN113029165B (en) 2021-02-24 2021-02-24 Navigation data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110207168.XA CN113029165B (en) 2021-02-24 2021-02-24 Navigation data processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113029165A true CN113029165A (en) 2021-06-25
CN113029165B CN113029165B (en) 2022-04-22

Family

ID=76461038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110207168.XA Active CN113029165B (en) 2021-02-24 2021-02-24 Navigation data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113029165B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114013506A (en) * 2021-11-24 2022-02-08 北京汇通天下物联科技有限公司 Bend early warning method and device, electronic equipment and storage medium
CN116793382A (en) * 2023-06-25 2023-09-22 江苏泽景汽车电子股份有限公司 Lane navigation information display method and device, electronic equipment and storage medium
WO2023221632A1 (en) * 2022-05-19 2023-11-23 腾讯科技(深圳)有限公司 Navigation method and apparatus, device, storage medium, and program product

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1837752A (en) * 2005-03-22 2006-09-27 株式会社电装 Vehicular navigation system
US20120271512A1 (en) * 2011-04-19 2012-10-25 Rupp Matt Y Detection of and counter-measures for jackknife enabling conditions during trailer backup assist
CN103154669A (en) * 2010-08-13 2013-06-12 法国大陆汽车公司 Method and device for assisting in driving and anticipating a road profile
CN103162709A (en) * 2013-03-11 2013-06-19 沈阳美行科技有限公司 Navigation unit design method for prompting thumbnail of crossing next to crossing shown in enlarged drawing
CN103562680A (en) * 2011-06-03 2014-02-05 苹果公司 Devices and methods for comparing and selecting alternative navigation routes
CN104613969A (en) * 2013-12-13 2015-05-13 腾讯科技(深圳)有限公司 Method and device of route display
CN105865483A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Control method and apparatus of navigation map
CN107907139A (en) * 2017-11-06 2018-04-13 广东欧珀移动通信有限公司 Air navigation aid, device, storage medium and mobile terminal
CN108344425A (en) * 2017-01-23 2018-07-31 高德信息技术有限公司 The self-adapting regulation method and device of electronic map
CN109752741A (en) * 2017-11-06 2019-05-14 丰田自动车株式会社 Vehicle Positioning Equipment
CN109764890A (en) * 2019-01-31 2019-05-17 北京蓦然认知科技有限公司 A kind of method and device that adjustment navigation map is shown
CN111104076A (en) * 2018-10-26 2020-05-05 北京嘀嘀无限科技发展有限公司 Map display method, map display device and storage medium
CN111220163A (en) * 2018-11-26 2020-06-02 厦门雅迅网络股份有限公司 Curve judgment method based on curvature radius calculation, terminal device and storage medium
CN111651697A (en) * 2020-01-10 2020-09-11 北京嘀嘀无限科技发展有限公司 Information display method and device, electronic equipment and storage medium
CN111780773A (en) * 2019-04-04 2020-10-16 北京嘀嘀无限科技发展有限公司 Method and system for identifying curve

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1837752A (en) * 2005-03-22 2006-09-27 株式会社电装 Vehicular navigation system
CN103154669A (en) * 2010-08-13 2013-06-12 法国大陆汽车公司 Method and device for assisting in driving and anticipating a road profile
US20120271512A1 (en) * 2011-04-19 2012-10-25 Rupp Matt Y Detection of and counter-measures for jackknife enabling conditions during trailer backup assist
CN103562680A (en) * 2011-06-03 2014-02-05 苹果公司 Devices and methods for comparing and selecting alternative navigation routes
CN103162709A (en) * 2013-03-11 2013-06-19 沈阳美行科技有限公司 Navigation unit design method for prompting thumbnail of crossing next to crossing shown in enlarged drawing
CN104613969A (en) * 2013-12-13 2015-05-13 腾讯科技(深圳)有限公司 Method and device of route display
CN105865483A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Control method and apparatus of navigation map
CN108344425A (en) * 2017-01-23 2018-07-31 高德信息技术有限公司 The self-adapting regulation method and device of electronic map
CN107907139A (en) * 2017-11-06 2018-04-13 广东欧珀移动通信有限公司 Air navigation aid, device, storage medium and mobile terminal
CN109752741A (en) * 2017-11-06 2019-05-14 丰田自动车株式会社 Vehicle Positioning Equipment
CN111104076A (en) * 2018-10-26 2020-05-05 北京嘀嘀无限科技发展有限公司 Map display method, map display device and storage medium
CN111220163A (en) * 2018-11-26 2020-06-02 厦门雅迅网络股份有限公司 Curve judgment method based on curvature radius calculation, terminal device and storage medium
CN109764890A (en) * 2019-01-31 2019-05-17 北京蓦然认知科技有限公司 A kind of method and device that adjustment navigation map is shown
CN111780773A (en) * 2019-04-04 2020-10-16 北京嘀嘀无限科技发展有限公司 Method and system for identifying curve
CN111651697A (en) * 2020-01-10 2020-09-11 北京嘀嘀无限科技发展有限公司 Information display method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114013506A (en) * 2021-11-24 2022-02-08 北京汇通天下物联科技有限公司 Bend early warning method and device, electronic equipment and storage medium
CN114013506B (en) * 2021-11-24 2022-08-02 北京汇通天下物联科技有限公司 Bend early warning method and device, electronic equipment and storage medium
WO2023221632A1 (en) * 2022-05-19 2023-11-23 腾讯科技(深圳)有限公司 Navigation method and apparatus, device, storage medium, and program product
CN116793382A (en) * 2023-06-25 2023-09-22 江苏泽景汽车电子股份有限公司 Lane navigation information display method and device, electronic equipment and storage medium
CN116793382B (en) * 2023-06-25 2024-02-02 江苏泽景汽车电子股份有限公司 Lane navigation information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113029165B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN113029165B (en) Navigation data processing method and device, electronic equipment and storage medium
CN109141464B (en) Navigation lane change prompting method and device
EP3227638B1 (en) Method and apparatus for providing point of interest information
JP7314213B2 (en) Vehicle positioning method, apparatus, electronic device, storage medium and program
US9020876B2 (en) On-demand suggestion for vehicle driving
WO2016087550A2 (en) Method and apparatus for providing point of interest information
US11410429B2 (en) Image collection system, image collection method, image collection device, recording medium, and vehicle communication device
CN111401255B (en) Method and device for identifying bifurcation junctions
CN111380546A (en) Vehicle positioning method and device based on parallel road, electronic equipment and medium
CN112885130B (en) Method and device for presenting road information
CN113343128A (en) Method, device, equipment and storage medium for pushing information
CN112798004A (en) Vehicle positioning method, device, equipment and storage medium
CN115761702A (en) Vehicle track generation method and device, electronic equipment and computer readable medium
CN111323035A (en) Detection method and detection device for driving yaw and readable storage medium
CN114116946A (en) Data processing method and device, electronic equipment and storage medium
US10371535B1 (en) Automatic map generation
CN110726414B (en) Method and apparatus for outputting information
US20220219699A1 (en) On-board apparatus, driving assistance method, and driving assistance system
JP2005091304A (en) Method of estimating traveling route, and center device and program in traveling route estimation system
CN115839721A (en) Method and device for predicting driving route, vehicle-mounted terminal and medium
US20220341747A1 (en) Uncontrolled intersection detection and warning system
JP2019095388A (en) Vehicle display controller, vehicle display system, method for controlling display for vehicle, and program
CN113008246B (en) Map matching method and device
CN115372020A (en) Automatic driving vehicle test method, device, electronic equipment and medium
CN114862491A (en) Vehicle position determining method, order dispatching method, device, server and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40047248

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant