A method, apparatus, electronic device, and storage medium for displaying high-precision maps.

By displaying a bird's-eye view and a specified roaming height in high-precision map roaming mode, and obtaining a list of target coordinate points associated with the current location point, the heading angle is calculated for map movement, which solves the shortcomings of manually dragging to view road condition information and achieves a better viewing angle and convenience.

CN116244400BActive Publication Date: 2026-07-17ZHIDAO NETWORK TECH (BEIJING) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHIDAO NETWORK TECH (BEIJING) CO LTD
Filing Date
2023-03-07
Publication Date
2026-07-17

Smart Images

  • Figure CN116244400B_ABST
    Figure CN116244400B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, electronic device, and storage medium for displaying high-precision maps. The method includes: switching the high-precision map to roaming mode, controlling the high-precision map to display at a specified roaming height with a bird's-eye view; obtaining a list of target coordinate points that satisfy association conditions with the current positioning point of the high-precision map; calculating the heading angle of the coordinate points in the target coordinate point list; and controlling the high-precision map to perform animated movement display based on the target coordinate point list, using the heading angle as the movement angle and a specified roaming speed as the movement speed. This application improves the display effect of high-precision maps, thereby providing a better viewing angle and improving the convenience of viewing traffic information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, electronic device and storage medium for displaying high-precision maps. Background Technology

[0002] High-definition maps make travel more convenient. For example, when a vehicle uses a high-definition map for road guidance, the map moves and displays as the vehicle travels, allowing users to understand the traffic conditions around their current location.

[0003] However, when users want to view traffic information at more distant locations, they can only see it by manually dragging the map, and the road information they see is limited, failing to provide users with a better viewing perspective, resulting in poor map display quality. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this application provides a method, apparatus, electronic device and storage medium for displaying high-precision maps, so as to improve the display effect of maps and thus provide a better viewing angle.

[0005] The first aspect of this application provides a method for displaying high-precision maps, including:

[0006] When the high-precision map is switched to roaming mode, the high-precision map is controlled to be displayed from a bird's-eye view at a specified roaming height;

[0007] Obtain a list of target coordinate points that satisfy the association conditions with the current positioning point of the high-precision map;

[0008] Calculate the heading angle of the coordinate points in the target coordinate point list;

[0009] Based on the target coordinate point list, the high-precision map is controlled to move and display in animation with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0010] Optionally, it also includes:

[0011] Detect whether the high-precision map uses the trajectory roaming sub-mode;

[0012] The step of obtaining a list of target coordinate points that satisfy the association conditions with the current positioning point of the high-precision map includes:

[0013] In the case where the high-precision map is used in the trajectory roaming sub-mode, a list of trajectory coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained.

[0014] In the list of trajectory coordinate points, determine the first coordinate point closest to the current location point and the second coordinate point that matches the current location point at a specified roaming distance;

[0015] A list of target coordinate points is determined from the list of trajectory coordinate points, with the first coordinate point as the starting point and the second coordinate point as the ending point.

[0016] Optionally, obtaining the list of trajectory coordinate points that satisfy the association condition with the current positioning point of the high-precision map includes:

[0017] A list of trajectory coordinate points that satisfy the distance association condition with the current positioning point of the high-precision map is determined from a pre-constructed list of multiple trajectory coordinate points.

[0018] Optionally, obtaining the list of target coordinate points that satisfy the association condition with the current positioning point of the high-precision map further includes:

[0019] If the high-precision map is not using the trajectory roaming sub-mode, determine the target position on the lane centerline, based on the current positioning point of the high-precision map, and extend the roaming distance in the specified direction.

[0020] Obtain a list of lane centerline coordinate points with the current location as the starting point and the target location as the ending point, and use the list of lane centerline coordinate points as the target coordinate point list.

[0021] Optionally, before controlling the high-precision map to move and display animatedly with the heading angle as the movement angle and the specified roaming speed based on the target coordinate point list, the method further includes:

[0022] Based on the roaming speed and the specified time, the target coordinate point list is interpolated to make the distance between any two adjacent coordinate points in the target coordinate point list equal;

[0023] Smooth the list of target coordinate points after interpolation.

[0024] Optionally, it also includes:

[0025] During the animation display of the high-precision map, starting from the second coordinate point in the target coordinate point list, it is determined in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle. If so, the movement angle of the high-precision map is kept unchanged; otherwise, the movement angle of the high-precision map is replaced with the heading angle corresponding to the current coordinate.

[0026] Optionally, before controlling the high-precision map to move and display animatedly with the heading angle as the movement angle and the specified roaming speed based on the target coordinate point list, the method further includes:

[0027] Starting from the second coordinate point in the target coordinate point list, sequentially determine whether the difference between the heading angle corresponding to the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle. If yes, replace the heading angle of the coordinate point with the heading angle of the previous coordinate point; otherwise, keep the heading angle of the coordinate point unchanged.

[0028] A second aspect of this application provides a display device for high-precision maps, comprising:

[0029] The first control unit is used to control the high-precision map to be displayed from a bird's-eye view at a specified roaming height when the high-precision map is switched to roaming mode;

[0030] The list acquisition unit is used to acquire a list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map;

[0031] The first calculation unit is used to calculate the heading angle of the coordinate points in the target coordinate point list;

[0032] The second control unit is used to control the high-precision map to move and display animation based on the target coordinate point list, with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0033] Optionally, it also includes:

[0034] The first detection unit is used to detect whether the high-precision map uses a trajectory roaming sub-mode.

[0035] The list acquisition unit includes:

[0036] The first acquisition module is used to acquire a list of trajectory coordinate points that satisfy the association conditions with the current positioning point of the high-precision map when the trajectory roaming sub-mode of the high-precision map is determined.

[0037] The first determining module is used to determine, in the list of trajectory coordinate points, a first coordinate point that is closest to the current positioning point and a second coordinate point that matches the current positioning point at a specified roaming distance;

[0038] The second determining module is used to determine a list of target coordinate points that start from the first coordinate point and end at the second coordinate point from the list of trajectory coordinate points.

[0039] Optionally, the first acquisition module is specifically used to determine, from a pre-constructed list of multiple trajectory coordinate points, a list of trajectory coordinate points that satisfy the distance association condition with the current positioning point of the high-precision map.

[0040] Optionally, the list acquisition unit further includes:

[0041] The third determining module is used to determine the target position on the lane centerline, based on the current positioning point of the high-precision map, by extending a specified roaming distance in a specified direction, when the high-precision map is not using the trajectory roaming sub-mode.

[0042] The second acquisition module is used to acquire a list of lane centerline coordinate points starting from the current positioning point and ending at the target position, and to use the list of lane centerline coordinate points as the target coordinate point list.

[0043] Optionally, it also includes:

[0044] The first processing unit is used to perform interpolation processing on the target coordinate point list based on the roaming speed and the specified time, so that the distance between any two adjacent coordinate points in the target coordinate point list is equal.

[0045] The second processing unit is used to smooth the interpolated list of target coordinate points.

[0046] Optionally, it also includes:

[0047] The first judgment unit is used to determine in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle, starting from the second coordinate point in the target coordinate point list during the high-precision map animation movement display process.

[0048] The first maintaining unit is used to maintain the movement angle of the high-precision map unchanged when the difference is determined to be less than the specified angle;

[0049] The first replacement unit is used to replace the movement angle of the high-precision map with the heading angle corresponding to the current coordinates when the difference is determined to be not less than the specified angle.

[0050] Optionally, it also includes:

[0051] The second judgment unit is used to determine, starting from the second coordinate point in the target coordinate point list, whether the difference between the heading angle corresponding to the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle.

[0052] The second replacement unit is used to replace the heading angle of the coordinate point with the heading angle of the previous coordinate point when the difference is less than the specified angle;

[0053] The second maintaining unit is used to maintain the heading angle of the coordinate point unchanged when the difference is not less than the specified angle.

[0054] A third aspect of this application provides an electronic device, comprising:

[0055] Processor; and

[0056] A memory that stores executable code, which, when executed by the processor, causes the processor to perform the method described above.

[0057] A fourth aspect of this application provides a non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described above.

[0058] This application provides a method for displaying high-precision maps. By switching the high-precision map to roaming mode, the method controls the high-precision map to be displayed from a bird's-eye view at a specified roaming height, and obtains a list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map. The method calculates the heading angle of the coordinate points in the target coordinate point list, and then controls the high-precision map to move and display the image based on the heading angle and the specified roaming speed. It can be seen that by controlling the high-precision map to move and display the image from a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby providing a better viewing angle and improving the convenience of viewing road condition information.

[0059] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0060] The above and other objects, features and advantages of this application will become more apparent from the more detailed description of exemplary embodiments thereof in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments thereof.

[0061] Figure 1 This is a flowchart illustrating a method for displaying a high-precision map according to one embodiment of this application;

[0062] Figure 2 This is a partial screenshot illustrating a high-precision map during animated movement display, as shown in one embodiment of this application.

[0063] Figure 3 This is a flowchart illustrating a method for displaying a high-precision map, as shown in another embodiment of this application.

[0064] Figure 4 This is a flowchart illustrating a method for displaying a high-precision map, as shown in another embodiment of this application.

[0065] Figure 5 This is a schematic diagram illustrating the structure of a high-precision map display device according to one embodiment of this application;

[0066] Figure 6 This is a schematic diagram of the structure of a high-precision map display device shown in another embodiment of this application;

[0067] Figure 7 This is a schematic diagram of the structure of a high-precision map display device shown in another embodiment of this application;

[0068] Figure 8 This is a schematic diagram of the structure of an electronic device shown in one embodiment of this application. Detailed Implementation

[0069] Preferred embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0070] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0071] It should be understood that although the terms "first," "second," "third," etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0072] One embodiment of this application provides a method for displaying high-precision maps, such as... Figure 1 As shown, the method includes the following steps:

[0073] Step 101: Switch the high-precision map to roaming mode and control the high-precision map to be displayed from a bird's-eye view at the specified roaming height;

[0074] The high-precision map in this application includes at least two modes: a normal mode and a roaming mode. When the high-precision map meets the switching conditions, the high-precision map is switched from the normal mode to the roaming mode.

[0075] In normal mode, the viewing angle of the high-definition map is preset by the system, and the movement of the high-definition map is achieved by user dragging or by the movement of the device using the high-definition map. This application provides a roaming mode. When the high-definition map is switched to roaming mode, it is controlled to display the high-definition map from a bird's-eye view at a specified roaming height. Furthermore, through subsequent processing steps, the high-definition map can also be controlled to move and display animatedly.

[0076] It should be noted that the switching conditions can be flexibly set based on the actual situation. For example, if a switching icon is displayed on the high-precision map, and the high-precision map is currently in normal mode, it can be switched from normal mode to roaming mode after the switching icon is detected to be triggered; if the high-precision map is currently in roaming mode, it can be switched from roaming mode to normal mode after the switching icon is detected to be triggered.

[0077] Alternatively, the switching condition can be a specified gesture operation. The gesture operation for switching from normal mode to roaming mode can be the same or different from the gesture operation for switching from roaming mode to normal mode.

[0078] The roaming height is used to represent the height at which a high-definition map is viewed from a bird's-eye view, and can be set in advance by the system or the user.

[0079] Step 102: Obtain a list of target coordinate points that satisfy the association conditions with the current positioning point of the high-precision map;

[0080] The target coordinate point list is used to represent a trajectory over a distance on a high-precision map. It contains a series of coordinate points, each represented by at least longitude and latitude. The association conditions will be described later.

[0081] The current location can be a location manually entered or confirmed by the user on a high-precision map, or it can be the current location automatically located by a device using a high-precision map. For example, the current location can be the current location of a vehicle while it is driving based on a high-precision map.

[0082] Step 103: Calculate the heading angle of the coordinate points in the target coordinate point list;

[0083] Specifically, it can calculate the heading angles of multiple coordinate points in the target coordinate point list. For example, it can calculate the heading angle of each coordinate point, or calculate the heading angles of multiple coordinate points at equal intervals.

[0084] Step 104: Based on the target coordinate point list, control the high-precision map to move and display the screen using the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0085] The heading angle is the angle at which the high-definition map moves during display, and the roaming speed is the speed at which the high-definition map moves during display; both can be set in advance by the system or the user. The system controls the high-definition map to move and display at a specified roaming altitude from a bird's-eye view, following the coordinates in the target coordinate point list. During the movement, the heading angle of the coordinates in the target coordinate point list is used as the movement angle, and the specified roaming speed is used as the movement speed.

[0086] like Figure 2 The image shown is a screenshot of a high-precision map displayed while the screen is moving in roaming mode. Figure 2 It can be seen that high-precision maps provide a better viewing angle and make it easier to view road conditions in roaming mode.

[0087] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display from a bird's-eye view at a specified roaming height. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the image at the heading angle and the specified roaming speed. It can be seen that by controlling the high-precision map to move and display the image from a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby providing a better viewing angle and improving the convenience of viewing road condition information.

[0088] In this application, a trajectory roaming sub-mode is also set in the roaming mode. Whether the high-precision map uses the trajectory roaming sub-mode corresponds to different processing procedures, which are specifically described through the following method embodiments.

[0089] Another embodiment of this application provides a method for displaying high-precision maps, such as... Figure 3 As shown, the method includes the following steps:

[0090] Step 301: When the high-precision map is switched to roaming mode, control the high-precision map to be displayed from a bird's-eye view at the specified roaming height;

[0091] Step 302: Detect whether the high-precision map uses the trajectory roaming sub-mode. If yes, proceed to step 303; if no, proceed to step 306.

[0092] The roaming mode also includes a trajectory roaming sub-mode, and whether the high-definition map uses this sub-mode is selectable by the user. This application does not limit the user's selection method. For example, the high-definition map can be pre-set to be in a state where the trajectory roaming sub-mode is not used when switching to roaming mode, and an icon for enabling the trajectory roaming sub-mode can be provided. The system detects whether a user trigger operation is received on the icon to determine whether the high-definition map uses the trajectory roaming sub-mode. If a trigger operation is received on the icon, the high-definition map is confirmed to use the trajectory roaming sub-mode; otherwise, it is confirmed that the high-definition map is not using the trajectory roaming sub-mode. In specific implementation, a timer can be started when the high-definition map switches to roaming mode, and the system can detect whether a trigger operation is received on the icon within a specified time to prevent long waiting periods.

[0093] Conversely, the high-definition map can be pre-set to use a trajectory roaming sub-mode when switched to roaming mode, and a close icon indicating that the trajectory roaming sub-mode is not being used can be provided. The system checks whether a user trigger action is received on the close icon to determine whether the high-definition map is using the trajectory roaming sub-mode. If a user trigger action is received, the high-definition map is determined not to use the trajectory roaming sub-mode; otherwise, it is determined to use the trajectory roaming sub-mode. In real-time, a timer can be started when the high-definition map switches to roaming mode, and the system checks for a close icon trigger action within a specified time to prevent prolonged waiting.

[0094] Alternatively, the high-definition map can provide both an on and off icon in roaming mode. If a trigger operation is received for the on icon, the high-definition map is determined to use the trajectory roaming sub-mode; if a trigger operation is received for the off icon, the high-definition map is determined not to use the trajectory roaming sub-mode. To prevent long waiting times, a timer can be started when the high-definition map switches to roaming mode, checking within a specified time whether a trigger operation for either the on or off icon is received. If neither is received, the high-definition map can default to using the trajectory roaming sub-mode or default not to using the trajectory roaming sub-mode.

[0095] Furthermore, the system has two preset gesture operations. When the high-precision map is switched to roaming mode, if a gesture operation is received indicating that the trajectory roaming sub-mode is used, the high-precision map will be determined to use the trajectory roaming sub-mode. If a gesture operation is received indicating that the trajectory roaming sub-mode is not used, the high-precision map will be determined not to use the trajectory roaming sub-mode.

[0096] Of course, the system can also preset a gesture operation. When the high-precision map switches to roaming mode, it can control whether the high-precision map is directly in a state of using or not using the trajectory roaming sub-mode. Then, when the corresponding gesture operation is detected, it determines whether the high-precision map switches from being in use to being not in use, or from being not in use to being in the trajectory roaming sub-mode. This implementation method is similar to the method of setting to turn the icon on or off mentioned above, and will not be described in detail.

[0097] It is understood that this application is not limited to the above implementation methods, and other implementation methods that can control whether or not the high-precision map uses the trajectory roaming sub-mode are all within the protection scope of this application.

[0098] Step 303: Obtain a list of trajectory coordinate points that satisfy the association conditions with the current positioning point of the high-precision map;

[0099] If the high-precision map is determined to use the trajectory roaming sub-mode, then the trajectory coordinate point list provided by the system needs to be utilized. In this application, the system provides multiple trajectory coordinate point lists, which consist of a starting point, an ending point, and a series of coordinate points located between the starting point and the ending point. Each coordinate point is specifically characterized by at least longitude and latitude.

[0100] Since the system provides multiple lists of trajectory coordinate points, in order to use the list of trajectory coordinate points related to the current positioning point of the high-precision map more accurately, optionally, obtaining the list of trajectory coordinate points that meet the association conditions with the current positioning point of the high-precision map may include: determining the list of trajectory coordinate points that meet the distance association conditions with the current positioning point of the high-precision map from the multiple pre-constructed lists of trajectory coordinate points.

[0101] The distance correlation condition is used to indicate the highest degree of distance correlation between a defined list of trajectory coordinate points and the current location point. Specifically, it determines a list of trajectory coordinate points from a pre-constructed list of multiple trajectory coordinate points that includes the current location point, or whose starting point is less than a preset distance threshold, or whose ending point is less than a preset distance threshold.

[0102] Step 304: Determine the first coordinate point closest to the current location point and the second coordinate point matching the current location point with a specified roaming distance from the current location point in the trajectory coordinate point list;

[0103] In this step, the distance between each coordinate point in the trajectory coordinate point list and the current location point can be calculated, and the coordinate point with the closest distance can be used as the first coordinate point, and the coordinate point with the distance matching the specified roaming distance can be used as the second coordinate point.

[0104] Optionally, the second coordinate point can be a coordinate point that is consistent with the specified direction of the current positioning point, based on distance matching. The specified direction is used to represent the direction the user wants to view; optionally, the specified direction can be consistent with the driving direction.

[0105] The specified roaming distance for distance matching can refer to the distance between the current location point and the second coordinate point being equal to the specified roaming distance, or the difference between the current location point and the specified roaming distance being the smallest, or the difference between the current location point and the specified roaming distance being within a preset difference range. All of these can be achieved.

[0106] It is understood that this application does not limit the specific value of the specified roaming distance, which can be set by the system or the user, for example, setting the roaming distance to 1km.

[0107] Step 305: Determine a list of target coordinate points in the trajectory coordinate point list, with the first coordinate point as the starting point and the second coordinate point as the ending point;

[0108] The target coordinate point list is a part of the trajectory coordinate point list. Specifically, it is a list of coordinate points in the trajectory that starts from the first coordinate point, ends at the second coordinate point, and includes a series of coordinate points between the first and second coordinate points.

[0109] Step 306: Determine the target position on the center line of the lane, based on the current positioning point of the high-precision map, and extend the roaming distance in the specified direction.

[0110] If the high-precision map does not use the trajectory roaming sub-mode, then the lane centerline of the high-precision map can be used to determine the list of target coordinate points. Specifically, the target location is determined by extending the roaming distance in a specified direction from the current positioning point on the lane centerline as a reference.

[0111] The specified direction indicates the direction the user wants to view; optionally, the specified direction can be the same as the driving direction. The specified roaming distance can be set by the system or the user; for example, the specified roaming distance can be set to 1km.

[0112] The center line of a lane is a line that is equidistant from the left and right lane lines and is located in the middle of the road.

[0113] Step 307: Obtain a list of lane centerline coordinate points starting from the current positioning point and ending at the target position, and use the list of lane centerline coordinate points as the target coordinate point list;

[0114] The coordinate points in the list of lane centerline coordinate points are all located on the lane centerline, including the starting point coordinate point with the current location as the starting point, the ending point coordinate point with the target location as the ending point, and a series of coordinate points located between the starting point and the ending point. Each coordinate point is characterized by at least longitude and latitude.

[0115] Step 308: Calculate the heading angle of the coordinate points in the target coordinate point list;

[0116] Step 309: Based on the target coordinate point list, control the high-precision map to move and display the animation with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0117] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display from a bird's-eye view at a specified roaming height. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the screen with the heading angle as the moving angle and the specified roaming speed as the moving speed. It can be seen that by controlling the high-precision map to move and display the screen from a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby improving the viewing angle and the convenience of viewing road condition information.

[0118] Furthermore, this application also provides a trajectory roaming sub-mode in the roaming mode, which uses a list of trajectory coordinate points for animated movement display in the high-precision map when the trajectory roaming sub-mode is used, and uses a list of lane centerline coordinate points for animated movement display in the high-precision map when the trajectory roaming sub-mode is not used, thus enriching the display effect of the high-precision map.

[0119] To further improve the animated movement display effect of high-precision maps, another embodiment of this application provides a method for displaying high-precision maps, such as... Figure 4 As shown, the method may include the following steps:

[0120] Step 401: When the high-precision map is switched to roaming mode, control the high-precision map to be displayed from a bird's-eye view at the specified roaming height;

[0121] Step 402: Obtain a list of target coordinate points that satisfy the association conditions with the current positioning point of the high-precision map;

[0122] Step 403: Perform interpolation processing on the target coordinate point list based on the specified roaming speed and specified time, so that the distance between any two adjacent coordinate points in the target coordinate point list is equal;

[0123] The specified time is preset by the system. A distance can be determined by the roaming speed and the specified time. Then, the target coordinate point list is interpolated based on this distance so that the distance between any two adjacent coordinate points is equal to the determined distance. For example, if the roaming speed is 30 m / s and the specified time is 100 ms, then the distance is 30 m / s * 100 ms = 3 m. Based on this distance, the target coordinate point list is interpolated so that the distance between any two coordinate points is 3 m.

[0124] Interpolation can be used to ensure that high-precision maps are displayed at a constant speed during movement.

[0125] Step 404: Smooth the interpolated list of target coordinate points;

[0126] To ensure a smooth display of the high-precision map, this application can also smooth the interpolated list of target coordinate points.

[0127] Step 405: Calculate the heading angle of the coordinate points in the target coordinate point list;

[0128] In this step, the heading angle of the coordinate points in the list of smoothed target coordinate points is calculated.

[0129] Step 406: Based on the target coordinate point list, control the high-precision map to move and display the animation with the heading angle as the movement angle and the roaming speed as the movement speed.

[0130] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display at a specified roaming height with a bird's-eye view. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the screen with the heading angle as the moving angle and the specified roaming speed as the moving speed. It can be seen that by controlling the high-precision map to move and display the screen with a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby providing a better viewing angle and improving the convenience of viewing road condition information.

[0131] Furthermore, this application enables the high-precision map to be displayed at a constant speed during movement through interpolation processing, thereby smoothing the list of target coordinate points after interpolation processing, making the high-precision map display effect smoother during movement.

[0132] During the animation display of high-precision maps, the different heading angles of coordinate points can cause the moving image to jitter. To solve this problem, another embodiment of this application provides a method for displaying high-precision maps. Based on the above embodiment, a corresponding implementation method may further include the following steps:

[0133] During the animation display of the high-precision map, starting from the second coordinate point in the target coordinate point list, it is determined in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle. If so, the movement angle of the high-precision map is kept unchanged; otherwise, the movement angle of the high-precision map is replaced with the heading angle corresponding to the current coordinate.

[0134] The specified angle can be flexibly set by the system or the user, such as 3.5°.

[0135] The current coordinate point is the coordinate point currently used in the high-precision map movement display. The high-precision map starts moving and displaying from the starting point in the target coordinate point list. Starting from the second coordinate point in the target coordinate point list, the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is compared with a specified angle in real time to determine whether to change the movement angle of the high-precision map, thereby improving the jitter phenomenon.

[0136] In another implementation, before the step of controlling the high-precision map to move and display the animation based on the target coordinate point list, using the heading angle as the movement angle and the specified roaming speed as the movement speed, the method further includes:

[0137] Starting from the second coordinate point in the target coordinate point list, sequentially determine whether the difference between the heading angle of the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle. If yes, replace the heading angle of the coordinate point with the heading angle of the previous coordinate point; otherwise, keep the heading angle of the coordinate point unchanged.

[0138] The second coordinate point in the target coordinate point list is the next coordinate point after the starting point in the target coordinate point list.

[0139] Before displaying animated movement on a high-precision map, it is determined whether the heading angle of each coordinate point needs to be adjusted. This eliminates the need to readjust the heading angle during the animated movement, further improving the jitter phenomenon.

[0140] Corresponding to the aforementioned application function implementation method embodiments, this application also provides a high-precision map display device, electronic device, and corresponding embodiments.

[0141] One embodiment of this application provides a device for displaying high-precision maps, such as... Figure 5 As shown, the device includes: a first control unit 110, a list acquisition unit 120, a first calculation unit 130, and a second control unit 140; wherein:

[0142] The first control unit 110 is used to control the high-precision map to be displayed at a bird's-eye view at a specified roaming height when the high-precision map is switched to roaming mode;

[0143] The list acquisition unit 120 is used to acquire a list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map;

[0144] The first calculation unit 130 is used to calculate the heading angle of the coordinate points in the target coordinate point list;

[0145] The second control unit 140 is used to control the high-precision map to perform animated movement display based on the target coordinate point list, with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0146] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display from a bird's-eye view at a specified roaming height. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the image at the heading angle and the specified roaming speed. It can be seen that by controlling the high-precision map to move and display the image from a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby providing a better viewing angle and improving the convenience of viewing road condition information.

[0147] Another embodiment of this application provides a display device for high-precision maps, such as... Figure 6 As shown, the device includes: a first control unit 110, a first detection unit 150, an acquisition list unit 120, a first calculation unit 130, and a second control unit 140;

[0148] The list acquisition unit 120 includes: a first acquisition module 1201, a first determination module 1202, a second determination module 1203, a third determination module 1204, and a second acquisition module 1205, specifically:

[0149] The first control unit 110 is used to control the high-precision map to be displayed from a bird's-eye view at a specified roaming height when the high-precision map is switched to roaming mode;

[0150] The first detection unit 150 is used to detect whether the high-precision map uses a trajectory roaming sub-mode.

[0151] Among them, obtaining list unit 120 includes:

[0152] The first acquisition module 1201 is used to acquire a list of trajectory coordinate points that satisfy the association conditions with the current positioning point of the high-precision map when the trajectory roaming sub-mode of the high-precision map is determined.

[0153] Optionally, the first acquisition module 1201 can be specifically used to determine, from a pre-built list of multiple trajectory coordinate points, a list of trajectory coordinate points that satisfy the distance association condition with the current positioning point of the high-precision map.

[0154] The first determining module 1202 is used to determine, in the list of trajectory coordinate points, a first coordinate point that is closest to the current positioning point and a second coordinate point that matches the current positioning point with a specified roaming distance;

[0155] The second determining module 1203 is used to determine a list of target coordinate points with the first coordinate point as the starting point and the second coordinate point as the ending point from the list of trajectory coordinate points.

[0156] The third determining module 1204 is used to determine the target position on the lane centerline, based on the current positioning point of the high-precision map, by extending a specified roaming distance in a specified direction when the high-precision map is not using the trajectory roaming sub-mode.

[0157] The second acquisition module 1205 is used to acquire a list of lane centerline coordinate points with the current positioning point as the starting point and the target position as the ending point, and to use the list of lane centerline coordinate points as the target coordinate point list.

[0158] The first calculation unit 130 is used to calculate the heading angle of the coordinate points in the target coordinate point list;

[0159] The second control unit 140 is used to control the high-precision map to perform animated movement display based on the target coordinate point list, with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0160] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display from a bird's-eye view at a specified roaming height. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the screen with the heading angle as the moving angle and the specified roaming speed as the moving speed. It can be seen that by controlling the high-precision map to move and display the screen from a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby improving the viewing angle and the convenience of viewing road condition information.

[0161] Furthermore, this application also provides a trajectory roaming sub-mode in the roaming mode, which uses a list of trajectory coordinate points for animated movement display in the high-precision map when the trajectory roaming sub-mode is used, and uses a list of lane centerline coordinate points for animated movement display in the high-precision map when the trajectory roaming sub-mode is not used, thus enriching the display effect of the high-precision map.

[0162] Another embodiment of this application provides a display device for high-precision maps, such as... Figure 7 As shown, the device may include:

[0163] The system comprises a first control unit 110, a list acquisition unit 120, a first processing unit 160, a second processing unit 170, a first calculation unit 130, and a second control unit 140; wherein:

[0164] The first control unit 110 is used to control the high-precision map to be displayed from a bird's-eye view at a specified roaming height when the high-precision map is switched to roaming mode;

[0165] The list acquisition unit 120 is used to acquire a list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map;

[0166] The first processing unit 160 is used to perform interpolation processing on the target coordinate point list based on the roaming speed and the specified time, so that the distance between any two adjacent coordinate points in the target coordinate point list is equal.

[0167] The second processing unit 170 is used to smooth the interpolated list of target coordinate points.

[0168] The first calculation unit 130 is used to calculate the heading angle of the coordinate points in the target coordinate point list;

[0169] The second control unit 140 is used to control the high-precision map to perform animated movement display based on the target coordinate point list, with the heading angle as the movement angle and the specified roaming speed as the movement speed.

[0170] In this embodiment, by switching the high-precision map to roaming mode, the high-precision map is controlled to display at a specified roaming height with a bird's-eye view. A list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained, and the heading angle of the coordinate points in the target coordinate point list is calculated. Based on the target coordinate point list, the high-precision map is controlled to move and display the screen with the heading angle as the moving angle and the specified roaming speed as the moving speed. It can be seen that by controlling the high-precision map to move and display the screen with a bird's-eye view in roaming mode, the display effect of the high-precision map is improved, thereby providing a better viewing angle and improving the convenience of viewing road condition information.

[0171] Furthermore, this application enables the high-precision map to be displayed at a constant speed during movement through interpolation processing, thereby smoothing the list of target coordinate points after interpolation processing, making the high-precision map display effect smoother during movement.

[0172] During the animation display of high-precision maps, the different heading angles of the coordinate points can cause the moving image to jitter. To solve this problem, this application provides another embodiment of a high-precision map display device. Based on the above embodiment, and corresponding to one implementation, the device further includes:

[0173] The first judgment unit is used to determine in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle, starting from the second coordinate point in the target coordinate point list during the high-precision map animation movement display process.

[0174] The first maintaining unit is used to maintain the movement angle of the high-precision map unchanged when the difference is determined to be less than a specified angle.

[0175] The first replacement unit is used to replace the movement angle of the high-precision map with the heading angle corresponding to the current coordinates when the difference is determined to be not less than a specified angle.

[0176] In another implementation, the device further includes:

[0177] The second judgment unit is used to determine, starting from the second coordinate point in the target coordinate point list, whether the difference between the heading angle corresponding to the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle.

[0178] The second replacement unit is used to replace the heading angle of the coordinate point with the heading angle of the previous coordinate point when the difference is less than a specified angle;

[0179] The second maintaining unit is used to maintain the heading angle of the coordinate point unchanged when the difference is not less than a specified angle.

[0180] Before displaying animated movement on a high-precision map, it is determined whether the heading angle of each coordinate point needs to be adjusted. This eliminates the need to readjust the heading angle during the animated movement, further reducing jitter.

[0181] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated further here.

[0182] Figure 8 This is a schematic diagram of the structure of an electronic device shown in one embodiment of this application.

[0183] See Figure 8 The electronic device 1000 includes a memory 1010 and a processor 1020.

[0184] The processor 1020 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0185] Memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by the processor 1020 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, memory 1010 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-high density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.

[0186] The memory 1010 stores executable code, which, when processed by the processor 1020, can cause the processor 1020 to execute part or all of the methods described above.

[0187] The solution of this application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of each embodiment have different emphases; parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art should also understand that the actions and modules involved in the specification are not necessarily essential to this application. Furthermore, it is understood that the steps in the method of this application embodiment can be adjusted, combined, and deleted according to actual needs, and the modules in the device of this application embodiment can be combined, divided, and deleted according to actual needs.

[0188] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.

[0189] Alternatively, this application may be implemented as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) storing executable code (or computer program, or computer instruction code) that, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform some or all of the steps of the methods described above according to this application.

[0190] Those skilled in the art will also understand that the various exemplary logic blocks, modules, circuits, and algorithm steps described in connection with the present application can be implemented as electronic hardware, computer software, or a combination of both.

[0191] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0192] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for displaying a high-precision map, characterized in that, include: When the high-precision map is switched to roaming mode, the high-precision map is controlled to be displayed from a bird's-eye view at a specified roaming height; Obtain a list of target coordinate points that satisfy the association conditions with the current location point on the high-precision map; wherein, the list of target coordinate points includes several coordinate points, each coordinate point including a start point, an end point, and a series of waypoints located between the start point and the end point, and the list of target coordinate points includes the coordinate point where the current location point is located, the coordinate point whose distance from the current location point is less than a preset distance threshold, or the coordinate point closest to the current location point; taking the coordinate point where the current location point is located, or the coordinate point whose distance from the current location point is less than the preset distance threshold, or the coordinate point closest to the current location point as the start point, and taking the start point as the reference, extending to the coordinate point determined in the direction the user wants to view as the end point, the end point includes the coordinate point whose distance from the current location point is a specified roaming distance, or the coordinate point whose difference between the distance from the current location point and the specified roaming distance is the smallest, or the coordinate point whose difference between the distance from the current location point and the specified roaming distance is within a preset difference range; Calculate the heading angle of the coordinate points in the target coordinate point list; Based on the target coordinate point list, the high-precision map is controlled to move and be displayed in an animated manner with the heading angle as the movement angle and the specified roaming speed as the movement speed. The method further includes: Detect whether the high-precision map uses the trajectory roaming sub-mode; The step of obtaining a list of target coordinate points that satisfy the association condition with the current positioning point of the high-precision map includes: In the case where the high-precision map is used in the trajectory roaming sub-mode, a list of trajectory coordinate points that meet the association conditions with the current positioning point of the high-precision map is obtained. In the list of trajectory coordinate points, determine the first coordinate point closest to the current location point and the second coordinate point that matches the current location point at a specified roaming distance; A list of target coordinate points is determined from the list of trajectory coordinate points, with the first coordinate point as the starting point and the second coordinate point as the ending point.

2. The method according to claim 1, characterized in that, The step of obtaining a list of trajectory coordinate points that satisfy the association condition with the current positioning point of the high-precision map includes: A list of trajectory coordinate points that satisfy the distance association condition with the current positioning point of the high-precision map is determined from a pre-constructed list of multiple trajectory coordinate points.

3. The method according to claim 1, characterized in that, The step of obtaining a list of target coordinate points that satisfy the association condition with the current positioning point of the high-precision map further includes: In the case where the high-precision map does not use the trajectory roaming sub-mode, the target position on the lane centerline is determined by extending the roaming distance in a specified direction from the coordinate point where the current positioning point of the high-precision map is located as a reference. Obtain a list of lane centerline coordinate points with the current location as the starting point and the target location as the ending point, and use the list of lane centerline coordinate points as the target coordinate point list.

4. The method according to any one of claims 1-3, characterized in that, Before controlling the high-precision map to move and display animatedly with the heading angle as the movement angle and the specified roaming speed based on the target coordinate point list, the method further includes: Based on the roaming speed and the specified time, the target coordinate point list is interpolated to make the distance between any two adjacent coordinate points in the target coordinate point list equal; Smooth the list of target coordinate points after interpolation.

5. The method according to claim 1, characterized in that, Also includes: During the animation display of the high-precision map, starting from the second coordinate point in the target coordinate point list, it is determined in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle. If so, the movement angle of the high-precision map is kept unchanged; otherwise, the movement angle of the high-precision map is replaced with the heading angle corresponding to the current coordinate.

6. The method according to claim 1, characterized in that, Before controlling the high-precision map to move and display animatedly with the heading angle as the movement angle and the specified roaming speed based on the target coordinate point list, the method further includes: Starting from the second coordinate point in the target coordinate point list, sequentially determine whether the difference between the heading angle corresponding to the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle. If yes, replace the heading angle of the coordinate point with the heading angle of the previous coordinate point; otherwise, keep the heading angle of the coordinate point unchanged.

7. A display device for a high-precision map, characterized in that, include: The first control unit is used to control the high-precision map to be displayed from a bird's-eye view at a specified roaming height when the high-precision map is switched to roaming mode; The acquisition list unit is used to acquire a list of target coordinate points that meet the association conditions with the current positioning point of the high-precision map. The target coordinate point list includes several coordinate points, each including a start point, an end point, and a series of waypoints between the start point and the end point. The target coordinate point list includes the coordinate point where the current positioning point is located, coordinate points whose distance from the current positioning point is less than a preset distance threshold, or the coordinate point closest to the current positioning point. Taking the coordinate point where the current positioning point is located, or the coordinate point whose distance from the current positioning point is less than the preset distance threshold, or the coordinate point closest to the current positioning point as the start point, and using the start point as a reference, extending the coordinate point in the direction the user wants to view as the end point, the end point includes coordinate points whose distance from the current positioning point is a specified roaming distance, or coordinate points whose difference between the distance from the current positioning point and the specified roaming distance is the smallest, or coordinate points whose difference between the distance from the current positioning point and the specified roaming distance is within a preset difference range. The first calculation unit is used to calculate the heading angle of the coordinate points in the target coordinate point list; The second control unit is used to control the high-precision map to move and display animation based on the target coordinate point list, with the heading angle as the movement angle and the specified roaming speed as the movement speed. The device further includes: The first detection unit is used to detect whether the high-precision map uses a trajectory roaming sub-mode. The list acquisition unit includes: The first acquisition module is used to acquire a list of trajectory coordinate points that satisfy the association conditions with the current positioning point of the high-precision map when the trajectory roaming sub-mode of the high-precision map is determined. The first determining module is used to determine, in the list of trajectory coordinate points, a first coordinate point that is closest to the current positioning point and a second coordinate point that matches the current positioning point at a specified roaming distance; The second determining module is used to determine a list of target coordinate points that start from the first coordinate point and end at the second coordinate point from the list of trajectory coordinate points.

8. The apparatus according to claim 7, characterized in that, The first acquisition module is specifically used to determine, from a pre-constructed list of multiple trajectory coordinate points, a list of trajectory coordinate points that satisfy the distance association condition with the current positioning point of the high-precision map.

9. The apparatus according to claim 7, characterized in that, The list acquisition unit further includes: The third determining module is used to determine the target position on the lane centerline, based on the coordinate point where the current positioning point of the high-precision map is located, and extending the roaming distance in a specified direction, when the high-precision map is determined not to use the trajectory roaming sub-mode. The second acquisition module is used to acquire a list of lane centerline coordinate points starting from the coordinate point where the current positioning point is located and ending at the target position, and to use the list of lane centerline coordinate points as the target coordinate point list.

10. The apparatus according to any one of claims 7-9, characterized in that, Also includes: The first processing unit is used to perform interpolation processing on the target coordinate point list based on the roaming speed and the specified time, so that the distance between any two adjacent coordinate points in the target coordinate point list is equal. The second processing unit is used to smooth the interpolated list of target coordinate points.

11. The apparatus according to claim 7, characterized in that, Also includes: The first judgment unit is used to determine in real time whether the difference between the heading angle corresponding to the current coordinate point and the heading angle corresponding to the previous coordinate point is less than a specified angle, starting from the second coordinate point in the target coordinate point list during the high-precision map animation movement display process. The first maintaining unit is used to maintain the movement angle of the high-precision map unchanged when the difference is determined to be less than the specified angle; The first replacement unit is used to replace the movement angle of the high-precision map with the heading angle corresponding to the current coordinates when the difference is determined to be not less than the specified angle.

12. The apparatus according to claim 7, characterized in that, Also includes: The second judgment unit is used to determine, starting from the second coordinate point in the target coordinate point list, whether the difference between the heading angle corresponding to the coordinate point in the target coordinate point list and the heading angle corresponding to the previous coordinate point is less than a specified angle. The second replacement unit is used to replace the heading angle of the coordinate point with the heading angle of the previous coordinate point when the difference is less than the specified angle; The second maintaining unit is used to maintain the heading angle of the coordinate point unchanged when the difference is not less than the specified angle.

13. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-6.

14. A non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method as described in any one of claims 1-6.