Navigation interface display method for target road section and computer program product

By obtaining shape points on the ramp and dynamically adjusting the scale, the problem of insufficient scale determination of the navigation system in the ramp scenario is solved, accurate navigation and full-view display are achieved for users on the ramp, and the navigation performance of the navigation system is improved.

CN114812598BActive Publication Date: 2025-09-19AUTONAVI SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210283879.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2025-09-19
Estimated Expiration
2042-03-21

AI Technical Summary

Technical Problem

In ramp scenarios, existing navigation systems find it difficult to accurately guide vehicles into or out of ramps while ensuring users have a full view, especially when the ramps are short and curved, and the scale determination scheme is insufficient.

Method used

By obtaining the shape points on the target road section, pre-calculating the display scale when the navigated object travels to the shape points, and dynamically adjusting the scale on the navigation interface, the user can always see the full picture of the target road section on the ramp. The curvature and deflection angle are used to determine whether the current road section is a ramp, and the dynamically changing scale is displayed on the navigation interface.

Benefits of technology

It enables accurate navigation for users on ramps, ensuring that users always see the overall shape and curvature of the target road section, improving navigation accuracy and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114812598B_ABST
    Figure CN114812598B_ABST
Patent Text Reader

Abstract

The disclosed embodiment discloses a method and computer program product for displaying a navigation interface for a target road section. The method comprises: obtaining at least one shape point on the target road section; precalculating the display scale of the navigated object when it reaches the last shape point of the target road section, provided that the last shape point of the target road section is visible on the navigation interface; and displaying the target road section on the navigation interface at the display scale corresponding to the shape point passed by the navigated object during its travel on the target road section. This technical solution enables the navigated object to see information such as the overall shape, curvature, and remaining length of the target road section in front of it from the navigation interface when it reaches any position on the target road section, thereby better guiding the navigated object to travel on the target road section and improving the navigation performance of the navigation terminal at the target road section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of location-based services, and in particular to a method for displaying a navigation interface of a target road segment and a computer program product. Background Art

[0002] With the development of internet technology, people's travel is increasingly dependent on location-based service systems. Location-based services include navigation, route planning, map rendering, etc. Navigation services are used to guide users during vehicle travel.

[0003] Ramps are often found in winding bridges and connecting high-level roads. Ramps are typically short, so the navigation page needs to show the entire ramp as much as possible. Ramps are also often curved, so the display scale needs to be limited to better guide vehicles entering or exiting.

[0004] Therefore, it is necessary to propose a solution for determining the display scale in ramp scenarios to improve the navigation accuracy for users in ramp scenarios. Summary of the Invention

[0005] Embodiments of the present disclosure provide a method for displaying a navigation interface of a target road segment and a computer program product.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for displaying a navigation interface of a target road segment, comprising:

[0007] Obtain at least one shape point on the target road segment;

[0008] On the premise that the last shape point of the target road segment is visible on the navigation interface, pre-calculating the display scale when the guided object travels to the shape point;

[0009] During the driving process of the guided object on the target road section, the target road section is displayed on the navigation interface at the display scale corresponding to the shape points passed by.

[0010] Furthermore, the method further comprises:

[0011] When the type of the current road section that the navigated object enters meets the requirements of the target road section type, calculating the curvature and / or deflection angle of the current road section;

[0012] When either the curvature or the deflection angle meets a preset road section condition, the current road section is determined to be a target road section.

[0013] Furthermore, calculating the curvature and / or deflection angle of the current road segment includes at least one of the following:

[0014] Calculating the curvature of the current road segment based on the number of shape points on the current road segment and the length of the current road segment;

[0015] A shape point connection line between two adjacent shape points on the current road section is determined, and a deflection angle of the current road section is determined based on an angle between the two adjacent shape point connection lines.

[0016] Furthermore, on the premise that the last shape point of the target road segment is visible in the navigation interface, the display scale of the navigated object when traveling to the shape point is pre-calculated, including:

[0017] On the premise that the last shape point is visible in the navigation interface, a first display scale corresponding to when the navigated object travels to the first shape point of the target road segment and a second display scale corresponding to when the navigated object travels to the second shape point are calculated; the first shape point and the second shape point are any two shape points on the target road segment;

[0018] When the first display scale and the second display scale are different and there are other shape points between the first shape point and the second shape point, the display scales corresponding to the other shape points between the first shape point and the second shape point are calculated based on the number of shape points between the first shape point and the second shape point and the difference between the first display scale and the second display scale.

[0019] Furthermore, the method further comprises:

[0020] During the driving process of the guided object, calculating the remaining distance between the current position of the guided object and the last shape point of the target road segment;

[0021] The display scale corresponding to the shape point is adjusted based on a preset range of the scale corresponding to the remaining distance.

[0022] Furthermore, the method further comprises:

[0023] When the display scale changes, determining a scale change range between the scale before the change and the scale after the change;

[0024] The scale is gradually changed from the scale before the change to the scale after the change based on a preset change rate corresponding to the scale change range.

[0025] Furthermore, the method further comprises:

[0026] In response to an event in which a large image is popped up on the navigation interface to display the target road segment, the display scale currently used by the navigation interface is reduced based on a preset strategy.

[0027] Furthermore, after precalculating the display scale of the navigated object when it travels to the shape point, the method further includes:

[0028] Traversing the display scales corresponding to two adjacent shape points on the target road segment;

[0029] When the display scale of the shape point located in front of the target road section among the two shape points is greater than the display scale of the shape point located behind the target road section, the display scale of the shape point located in front of the target road section is set to be equal to the display scale of the shape point located behind the target road section.

[0030] In the second aspect, a location-based service provision method is provided in an embodiment of the present disclosure, which includes: using the method described in the first aspect to display the navigation interface of the target road section to provide location-based services to the service object, and the location-based services include: navigation, map rendering, route planning or one or more.

[0031] In a third aspect, an embodiment of the present invention provides a navigation interface display device for a target road segment, comprising:

[0032] A first acquisition module is configured to acquire at least one shape point on the target road segment;

[0033] A pre-calculation module is configured to pre-calculate the display scale of the navigated object when it travels to the last shape point of the target road segment, provided that the last shape point of the target road segment is visible on the navigation interface;

[0034] The display module is configured to display the target road section on the navigation interface at the display scale corresponding to the shape points passed by the guided object during the driving process of the target road section.

[0035] The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions.

[0036] In one possible design, the apparatus includes a memory and a processor. The memory is configured to store one or more computer instructions that enable the apparatus to perform the corresponding method, and the processor is configured to execute the computer instructions stored in the memory. The apparatus may also include a communication interface for communicating with other devices or a communication network.

[0037] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in any one of the above aspects.

[0038] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by any of the above-mentioned devices, and when the computer instructions are executed by a processor, they are used to implement the method described in any of the above-mentioned aspects.

[0039] In a sixth aspect, an embodiment of the present disclosure provides a computer program product, which includes computer instructions, and when the computer instructions are executed by a processor, they are used to implement the method described in any of the above aspects.

[0040] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0041] In the embodiment of the present disclosure, during the navigation process of a navigated object, after the navigated object enters a target road section, at least one shape point on the target road section is obtained, and the last shape point of the target road section is ensured to be visible on the navigation interface. The display scale of each shape point when the navigated object travels to the navigated object is pre-calculated. Then, during the actual travel of the navigated object, the target road section is displayed on the navigation interface based on the display scale of the shape point passed by the navigated object. The above technical solution of the embodiment of the present disclosure sets different display scales at different shape points of the target road section, and then displays the target road section based on the display scale at the shape point when the navigated object travels to different shape points, so that the display scale is dynamically changed. Moreover, since the display scale at each shape point is calculated while ensuring that the entire view of the target road section or at least the entire view of the remaining road section is visible on the navigation interface, the navigated object can ultimately see the overall shape, curvature, and length of the remaining road section of the target road section from the navigation interface when it travels to any position on the target road section, thereby better guiding the navigated object to travel on the target road section and improving the navigation performance of the navigation terminal at the target road section.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0044] Figure 1 A flowchart showing a method for displaying a navigation interface of a target road segment according to an embodiment of the present disclosure is shown;

[0045] Figure 2(a)-Figure 2(b) A schematic diagram showing a navigation interface when a vehicle is at different positions on a ramp segment in one embodiment of the present disclosure is shown;

[0046] Figure 3 A schematic diagram of the navigation interface display process in a ramp road segment scenario according to an embodiment of the present disclosure is shown;

[0047] Figure 4 A structural block diagram showing a navigation interface display device for a target road segment according to an embodiment of the present disclosure is shown;

[0048] Figure 5 It is a structural diagram of an electronic device suitable for implementing the navigation interface display method of the target road segment and / or the location-based service providing method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0050] In the present disclosure, it should be understood that terms such as "including" or "having" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or combinations thereof disclosed in the present specification, and do not exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof exist or are added.

[0051] It should also be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0052] The details of the embodiments of the present disclosure are described in detail below through specific examples.

[0053] Figure 1 A flowchart showing a method for displaying a navigation interface of a target road segment according to an embodiment of the present disclosure is shown. Figure 1 As shown, the method for displaying the navigation interface of the target road segment includes the following steps:

[0054] In step S101, at least one shape point on the target road segment is obtained;

[0055] In step S102, the last shape point of the target road segment is pre-calculated on the premise that the navigation interface is visible, and the display scale when the guided object travels to the shape point is calculated;

[0056] In step S103 , the guided object displays the target road section on the navigation interface using the display scale corresponding to the shape points passed through during the driving process of the target road section.

[0057] In this embodiment, the method for displaying the navigation interface of the target road section can be executed on the navigation terminal. In the embodiment of the present disclosure, the navigation terminal sends a navigation request to the navigation server in response to the navigation operation of the navigated object. The navigation server receives the navigation request sent by the navigation terminal and the real-time position of the navigated object during its travel. The navigation server can plan a navigation path based on the navigation starting point and navigation end point carried in the navigation request, and return the navigation path to the navigation terminal, which displays the current navigation path on the navigation interface based on the real-time position of the navigated object. The navigation terminal will display on the navigation interface the map image of the road section on which the navigated object is currently traveling and navigation actions based on the real-time position of the navigated object and the road conditions at the real-time position on the navigation path, so as to guide the navigated object to travel along the navigation path.

[0058] In some embodiments, the target road section can be a road section with a large curvature, or it can be one or more sections connecting two roads. Due to the above characteristics, in order to play a better guiding role in the navigation process, this target road section can be guided by showing the full picture of the target road section to the navigated object on the navigation interface, so that the navigated object can always perceive the shape of the target road section, the current position on the target road section, the remaining distance of the target road section, the direction of the remaining sections on the target road section, etc. For example, the target road section can be a ramp road section. A ramp, also known as an approach road, generally refers to a small section of road that provides vehicles with access to and from main highways, elevated roads, bridges, and driving tunnels. It should be noted that the road section in the embodiment of the present disclosure refers to a directed unit divided according to the actual road, and each road section is not connected to other roads except for the starting point and the end point.

[0059] The display scale can be the ratio of the length of the line segment displayed on the navigation interface to the actual length of the corresponding road in the field after horizontal projection. The display scale can indicate the degree of reduction of the map graphics. For example, a display scale of 1:100,000 means that 1 cm on the map is equivalent to 100,000 cm (i.e., 1000 meters) in the field. Alternatively, in some embodiments, the above-mentioned display scale of 1:100,000 can be directly recorded as 1000 meters. Both represent the same meaning, but are expressed in different ways.

[0060] As described in the background art, in order to allow users to see the entirety of the target road section as much as possible, the disclosed embodiments display the target road section in an overview manner. That is, after the navigated object enters the target road section and before exiting the target road section, the last shape point on the target road section is always visible on the navigation interface (that is, at least the road from the navigated object's current location to the last shape point on the target road section is visible on the navigation interface). The display scale of the target road section on the navigation interface can be dynamically changed, that is, the disclosed embodiments use a dynamic display scale to display the target road section on the navigation interface.

[0061] To achieve the aforementioned dynamic display scale and display the entire target road section on the navigation interface, the navigation terminal obtains all shape points on the target road section after confirming that the navigated object has entered the target road section. The shape points on the target road section are pre-determined when the road network data is constructed. A road section can be composed of lines connecting multiple shape points. For example, the shape points on a straight road section may include the starting shape point, intermediate shape points, and ending shape points of the straight road section. For curved road sections, more shape points can be set to indicate the curvature of the road section. The relationship between road sections and shape points can be referred to in existing technology and will not be elaborated here.

[0062] In some embodiments, if no shape points are set on the target road section, multiple shape points can be inserted in a preset manner, for example, starting from the starting position of the target road section, a shape point is inserted every preset distance (the actual distance of the target road section, such as 25 meters).

[0063] After all shape points on the target road segment are determined, the display scale corresponding to each shape point can be calculated while ensuring that the entire target road segment, for example, the last shape point of the target road segment, is at least visible on the navigation interface.

[0064] The following example illustrates a method for calculating the display scale of each shape point in an embodiment of the present disclosure.

[0065] The display positions and display distances of the current shape point and the last shape point on the navigation interface are predetermined each time the navigated object reaches a shape point, and the display scale of the current shape point is calculated based on the display distance and the actual distance between the current shape point and the last shape point. In this way, the display scales of other shape points before the last shape point are calculated.

[0066] It should be noted that the calculation method of the display scale of the shape point is not limited to the above method. As long as it can ensure that when the navigated object travels to any position on the target section, at least the remaining section of the target section is visible on the navigation interface, and the display scale changes dynamically during the driving process of the navigated object, it will be fine.

[0067] After calculating the corresponding display scales for all or part of the shape points of the target section, the target section can be displayed on the navigation interface based on the display scales corresponding to the shape points passed by the navigated object during the driving process on the target section.

[0068] That is, the navigation terminal obtains the current position of the navigated object in real time, and after the navigated object's current position passes the current shape point, the original display scale on the navigation interface is switched to the display scale corresponding to the current shape point. For example, if the navigated object's current position indicates that the navigated object has passed the first shape point of the target road section, the display scale on the navigation interface will be switched to the display scale corresponding to the first shape point. If the navigated object's current position subsequently indicates that the navigated object has passed the second shape point, the display scale on the navigation interface will be switched from the display scale corresponding to the first shape point to the display scale corresponding to the second shape point, and so on.

[0069] It should be noted that, from the time the navigated object enters the target section to the time the navigated object exits the target section, the full view of the target section can be displayed on the navigation interface at all times, or at least the portion of the section between the current position of the navigated object and the last shape point of the target section can be displayed on the navigation interface, that is, while the navigated object is traveling on the target section, the complete full view of the target section or the full view of the remaining portion can be seen on the navigation interface, and the display scale of the map screen corresponding to the target section changes dynamically as the navigated object travels. In some embodiments, while the navigated object is traveling on the target section, the scale of the map screen corresponding to the target section on the navigation interface always keeps the pattern of increasing in size but not decreasing in size.

[0070] In the embodiment of the present disclosure, during the navigation process of a navigated object, after the navigated object enters a target road section, at least one shape point on the target road section is obtained, and the last shape point of the target road section is ensured to be visible on the navigation interface. The display scale of each shape point when the navigated object travels to the navigated object is pre-calculated. Then, during the actual travel of the navigated object, the target road section is displayed on the navigation interface based on the display scale of the shape point passed by the navigated object. The above technical solution of the embodiment of the present disclosure sets different display scales at different shape points of the target road section, and then displays the target road section based on the display scale at the shape point when the navigated object travels to different shape points, so that the display scale is dynamically changed. Moreover, since the display scale at each shape point is calculated while ensuring that the entire view of the target road section or at least the entire view of the remaining road section is visible on the navigation interface, the navigated object can ultimately see the overall shape, curvature, and length of the remaining road section of the target road section from the navigation interface when it travels to any position on the target road section, thereby better guiding the navigated object to travel on the target road section and improving the navigation performance of the navigation terminal at the target road section.

[0071] In an optional implementation of this embodiment, the method further includes the following steps:

[0072] When the type of the current road section that the navigated object enters meets the requirements of the target road section type, calculating the curvature and / or deflection angle of the current road section;

[0073] When either the curvature or the deflection angle meets a preset road section condition, the current road section is determined to be a target road section.

[0074] In this optional implementation, the navigation interface display method of the target road segment in the embodiment of the present disclosure takes effect when navigating the target road segment. Therefore, during the navigation process of the navigated object, each time a road segment is entered, it can be pre-determined whether the current road segment is the target road segment.

[0075] In some embodiments, the type of each road section is usually pre-identified in the road network data, and the type can be predetermined based on road standards. The target road section can be a certain type or a partial road section of certain types. Therefore, it is possible to preliminarily determine whether the current road section is likely to be the target road section based on the type of the current road section. If the current road section type matches the preset target road section type, it can be considered that the current road section is likely to be the target road section. Afterwards, it can be further determined whether the current road section is the target road section by curvature and / or deflection angle. If any one of the curvature and deflection angle of the current road section meets the preset road section condition corresponding to the target road section, it can be considered that the current road section is the target road section, otherwise it is not the target road section. For example, assuming the target road section is a ramp road section, if the type of road section A currently entered by the vehicle is a guide road type, since the type of the ramp road section can be a guide road type, it can be preliminarily determined that road section A may be a ramp road section, and then the curvature and deflection angle of road section A are calculated. If one of the curvature or deflection angle meets the preset road section conditions corresponding to the ramp road section, such as the curvature of road section A is greater than or equal to the curvature threshold, or the deflection angle is greater than or equal to the angle threshold, then it can be determined that road section A is a ramp road section and the vehicle has entered the ramp road section.

[0076] In an optional implementation of this embodiment, the step of calculating the curvature and / or deflection angle of the current road segment further includes at least one of the following:

[0077] Calculating the curvature of the current road segment based on the number of shape points on the current road segment and the length of the current road segment;

[0078] A shape point connection line between two adjacent shape points on the current road section is determined, and a deflection angle of the current road section is determined based on an angle between the two adjacent shape point connection lines.

[0079] In this optional implementation, as described above, the greater the curvature of a road section, the more shape points will be set, and the smaller the curvature of a road section, the fewer shape points will be set. Therefore, the curvature of the current road section can be calculated based on the number of shape points on the current road section and the length of the current road section. In some embodiments, the curvature of the current road section can be calculated by subtracting 2 from the number of shape points (i.e., removing the starting shape point and the ending shape point), and dividing the result by the length of the current road section.

[0080] The deflection angle of the current road section can be calculated as follows: for multiple shape points of the current road section, adjacent two shape points are connected, and the angle between two adjacent lines in the resulting connection is determined. The deflection angle of the current road section is determined based on these angles. For example, the angle obtained by directly adding these angles can be determined as the deflection angle. When the deflection angle is greater than or equal to a deflection angle threshold, the current road section is considered to be the target road section. For example, when the sum of the angles is greater than or equal to 110 degrees, the current road section can be considered to be the target road section, while when the sum of the angles is less than or equal to 110 degrees, the current road section is not the target road section.

[0081] In an optional implementation of this embodiment, the step of precalculating the display scale of the navigated object when it travels to the last shape point of the target road segment, provided that the navigation interface is visible, further includes the following steps:

[0082] On the premise that the last shape point is visible in the navigation interface, a first display scale corresponding to when the navigated object travels to the first shape point of the target road segment and a second display scale corresponding to when the navigated object travels to the second shape point are calculated; the first shape point and the second shape point are any two shape points on the target road segment;

[0083] When the first display scale and the second display scale are different and there are other shape points between the first shape point and the second shape point, the display scales corresponding to the other shape points between the first shape point and the second shape point are calculated based on the number of shape points between the first shape point and the second shape point and the difference between the first display scale and the second display scale.

[0084] In this optional implementation, in order to make the display scale changes between multiple shape points more uniform, so that the map displayed on the navigation interface during the driving of the navigated object will not appear large or small, the display scales corresponding to two of the shape points can be calculated separately first, and then the display scales of other shape points before the two shape points can be calculated based on the display scales corresponding to the two shape points, and the display scales of all shape points can be calculated based on this method.

[0085] For example, you can select any two shape points on the target road segment, namely the first shape point and the second shape point, and calculate the first display scale corresponding to the first shape point and the second display scale corresponding to the second shape point. If there is at least one other shape point between the first display scale and the second display scale, and the first display scale and the second display scale are different, you can first calculate the difference between the first display scale and the second display scale, that is, subtract the smaller display scale from the larger display scale to get the difference. Based on this difference and the number of shape points between the first shape point and the second shape point, you can calculate the display scales of other shape points.

[0086] In some embodiments, the display scales of other shape points between the first shape point and the second shape point can be calculated as follows. Assuming that the first display scale is smaller than the second display scale, the display scale of the nth shape point between the first shape point and the second shape point is calculated as follows:

[0087] Display scale n =(second display scale-first display scale)*n+first display scale.

[0088] In some embodiments, the first shape point can be selected as the starting shape point on the target road segment, and the second shape point can be selected as the last shape point on the target road segment. The display scales of other shape points can be calculated using the above formula. It should be noted that the first shape point and the second shape point are not limited to the starting shape point and the last shape point on the target road segment.

[0089] In an optional implementation of this embodiment, the method further includes the following steps:

[0090] During the driving process of the guided object, calculating the remaining distance between the current position of the guided object and the last shape point of the target road segment;

[0091] The display scale corresponding to the shape point is adjusted based on a preset range of the scale corresponding to the remaining distance.

[0092] In this optional implementation, in order to prevent the calculated display scale from not meeting the actual display requirements, the disclosed embodiment can also pre-set the scale preset range based on the remaining distance from the navigated object to the last shape point of the target road section, and different remaining distances can correspond to different scale preset ranges. For example, when the remaining distance is greater than or equal to 2000 meters, the scale preset range is [60,400], in meters (the display scale is 60 meters, indicating that 1 cm displayed on the navigation interface represents an actual distance of 60 meters). When the remaining distance is greater than or equal to 1500 meters but less than 2000 meters, the scale preset range is [50,350]. When the remaining distance is less than 100 meters, the scale preset range is [10,75].

[0093] Therefore, based on the pre-calculated display scale, during the driving process of the navigated object, the remaining distance between the navigated object and the last shape point of the target road section can be used to determine whether the current display scale (i.e., the display scale changed to after passing a certain shape point) meets the corresponding scale preset range. If it meets the scale preset range, the display scale will not be adjusted. If it does not meet the scale preset range, the display scale needs to be adjusted. For example, if the current display scale exceeds the upper limit of the scale preset range corresponding to the current remaining distance, the current display scale can be adjusted to be less than or equal to the upper limit of the scale preset range corresponding to the current remaining distance.

[0094] In an optional implementation of this embodiment, the method further includes the following steps:

[0095] When the display scale changes, determining a scale change range between the scale before the change and the scale after the change;

[0096] The scale is gradually changed from the scale before the change to the scale after the change based on a preset change rate corresponding to the scale change range.

[0097] In this optional implementation, when the display scale needs to change, for example, if the navigation object has passed shape point A and the navigation interface is already displayed using the display scale corresponding to shape point A, and the navigation object travels to the next shape point B, the display scale on the navigation interface needs to be changed to the display scale corresponding to shape point B. If the display scales of shape points A and B differ significantly, the image displayed on the navigation interface will visually appear larger or smaller. Therefore, to avoid this, the display scale of shape point A can be gradually changed to the display scale of shape point B in advance. For example, after passing shape point A, the current display scale has already been changed to the display scale corresponding to shape point A, and the display scale of the next shape point B is also known in advance. Therefore, the scale change range between shape points A and B can be determined, and then based on this scale change range, the display scale of shape point A can be changed to the display scale corresponding to shape point B at a preset change rate.

[0098] The following example illustrates the corresponding relationship between the scale change range and the change rate.

[0099] Assume that the scale variation range is set to the scale level variation range. First, let's explain the relationship between the scale level and the display scale. The display scale can be understood as the scale used when mapping the fixed distance of the navigation interface to the actual distance on the real road. For example, 1 cm on the navigation interface represents 1000 kilometers on the real road, then the display scale can be expressed as 1000 kilometers. If 1 cm on the navigation interface represents 100 meters on the real road, then the display scale can be expressed as 100 meters. The scale level is divided based on the size range of the display scale. For example, the scale level can be a number between 1-N, and 1000 kilometers can correspond to level 3, and 100 meters can correspond to level 16. The smaller the scale level, the farther the road image can be seen on the same size screen, and the larger the scale level, the closer the road image can be seen on the same size screen.

[0100] In some embodiments, multiple scale ranges may be predefined, such as scale ranges less than 1, greater than or equal to 1 and less than 1.5, and greater than or equal to 1.5. Each scale range corresponds to a preset change rate. For example, if a scale range greater than 1.5 corresponds to a preset change rate of 1 level per second, it means that if the scale level changes within a range greater than or equal to 1.5, it changes by 1 level per second. If a scale range less than 1 corresponds to a preset change rate of 0.1 level per second, it means that if the scale level changes within a range less than 1, it changes by 0.1 level per second.

[0101] If the scale level changes significantly, the scale level range between the pre-change and post-change scales can be determined. For example, if the pre-change scale level is 3 and the post-change scale level is 5, the scale level change is 2. Therefore, the scale range between the pre-change and post-change scales can be determined to be greater than or equal to 1.5. When the scale level changes from level 3 to level 5, it can change at a rate of 1 level per second, meaning it takes 2 seconds to change from level 3 to level 5. If, when traveling quickly from point A to point B, the scale change rate corresponding to the scale change range requires 2 seconds to change from the display scale corresponding to point A to the display scale corresponding to point B, the display scale change can begin 2 seconds before reaching point B. When the navigation interface reaches point B 2 seconds later, the display scale used will have changed to the display scale corresponding to point B. It should be noted that when the display scale changes, it changes every frame. The change in the scale is evenly distributed across the two levels, depending on the number of frames within the 2-second period.

[0102] In an optional implementation of this embodiment, the method further includes the following steps:

[0103] In response to an event in which a large image is popped up on the navigation interface to display the target road segment, the display scale currently used by the navigation interface is reduced based on a preset strategy.

[0104] In this optional implementation, when encountering a more complex road shape such as a ramp or a forked road on the navigation interface, the navigation terminal will pop up a large image based on the pre-set settings to display the navigation action. The large image will usually be displayed in the upper half of the navigation interface, while the lower half of the navigation interface will still display the full view area of ​​the target road section. At this time, since the screen displaying the target road section becomes smaller, in order to still be able to see the full view of the target road section in this mode, the original display scale used by the part of the navigation interface used to display the full view of the target road section can be reduced. The degree of reduction can be determined based on the size of the entire area of ​​the navigation interface and the size of the large image area that pops up. In some embodiments, the original display scale can be reduced by 0.3 levels.

[0105] In an optional implementation of this embodiment, the method further includes the following steps:

[0106] Traversing the display scales corresponding to two adjacent shape points on the target road segment;

[0107] When the display scale of the shape point located in front of the target road section among the two shape points is greater than the display scale of the shape point located behind the target road section, the display scale of the shape point located in front of the target road section is set to be equal to the display scale of the shape point located behind the target road section.

[0108] In this optional implementation, when the navigated object is traveling on the target road section, the display scale on the navigation interface is always increasing during the process from the starting shape point to the ending shape point, that is, the display scale of the entire process only increases and does not decrease, and the picture corresponding to the target road section on the navigation interface also only increases and does not decrease. Therefore, if the display scale corresponding to a certain shape point obtained by calculation is larger than the display scale of the shape point before it, the display scale of the shape point before it can be adjusted so that the display scale of the shape point before it is consistent with the display scale of the current shape point. Therefore, it is possible to traverse from the ending shape point to the starting shape point, compare the sizes of the display scales corresponding to the two adjacent shape points before and after, and when the display scale of the shape point before is larger than the display scale of the shape point after it, increase the display scale of the shape point before it to be consistent with the display scale of the shape point after it.

[0109] Figure 2(a)-Figure 2(b) A schematic diagram of the display of the navigation interface when the vehicle is at different positions on the ramp section in one embodiment of the present disclosure is shown. As shown in FIG2(a), when the vehicle just enters the ramp section, the display screen on the navigation interface shows the overall picture of the entire ramp, including the shape, curvature, current forward direction, etc. FIG2(a) also shows the navigation interface in large image mode. As shown in FIG2(b), when the vehicle enters the ramp with the maximum curvature, the display screen on the navigation interface still shows the overall picture of the entire ramp. The user can see the subsequent direction of travel from FIG2(b). The display scales corresponding to FIG2(a) and FIG2(b) are different. Since no position on the ramp section is fixed when calculating the display scale at different shape points, it can be seen that at different positions on the ramp section, the direction displayed on the navigation interface is no longer a single forward direction, but changes dynamically.

[0110] According to a location-based service providing method according to an embodiment of the present disclosure, the location-based service providing method includes: using the above-mentioned navigation display method of the target road section to display the navigation interface of the target road section, and providing location-based services to the service object, and the location-based services include: one or more of navigation, map rendering, and route planning.

[0111] In this embodiment, the location-based service provision method can be executed on a terminal, such as a mobile phone, iPad, computer, smartwatch, vehicle, etc. In this disclosed embodiment, for a target road segment, such as a ramp road segment, the scale corresponding to each shape point on the target road segment is obtained using the navigation interface display method mentioned above. Then, while the service recipient is driving on the target road segment, location-based services such as navigation services, map rendering, and route planning are provided to the service recipient by dynamically switching to the scale corresponding to each shape point.

[0112] The served object can be a mobile phone, iPad, computer, smart watch, vehicle, robot, etc. During the process of providing navigation guidance for the served object, if the served object enters the target road section, the navigation interface of the target road section can be displayed to the served object at different display scales corresponding to various shape points on the target road section. For specific details, please refer to the above description of the method for displaying the navigation interface of the target road section, which will not be repeated here.

[0113] Figure 3 The following is a schematic diagram showing the navigation interface display process in the ramp road segment scenario according to the embodiment of the present disclosure. Figure 3 As shown, the navigation terminal requests navigation information such as route planning required for navigation from the server. Based on the navigation information and the user's current location, the navigation terminal displays the navigation interface of the current road section on the screen. Each time a new road section is entered, the client determines whether the road section is a ramp based on the road type, curvature and / or deflection angle of the road section. If it is a ramp, the navigation interface display method for the target road section described above in the embodiment of the present disclosure is activated. Based on the navigation interface display method, the display scale of each shape point on the ramp road section is pre-calculated. When the user's vehicle actually drives to the corresponding shape point, the display scale on the navigation interface is changed to the display scale corresponding to the shape point currently passed.

[0114] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein.

[0115] Figure 4 The following is a structural block diagram of a navigation interface display device for a target road segment according to an embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the navigation interface display device of the target road section includes:

[0116] A first acquisition module 401 is configured to acquire at least one shape point on a target road segment;

[0117] The pre-calculation module 402 is configured to pre-calculate the display scale of the navigated object when it reaches the last shape point of the target road segment, provided that the last shape point of the target road segment is visible in the navigation interface;

[0118] The display module 403 is configured to display the target road section on the navigation interface using the display scale corresponding to the shape points passed by the guided object during the driving process of the target road section.

[0119] In an optional implementation of this embodiment, the apparatus further includes:

[0120] a first calculation module, configured to calculate the curvature and / or deflection angle of the current road section when the type of the current road section entered by the navigation object meets the requirements of the target road section type;

[0121] The first determining module is configured to determine that the current road section is a target road section when either the curvature or the deflection angle meets a preset road section condition.

[0122] In an optional implementation of this embodiment, the first calculation module includes at least one of the following:

[0123] a first calculation submodule, configured to calculate the curvature of the current road segment based on the number of shape points on the current road segment and the length of the current road segment;

[0124] The determination submodule is configured to determine a shape point connection line between two adjacent shape points on the current road section, and determine a deflection angle of the current road section based on an angle between the two adjacent shape point connection lines.

[0125] In an optional implementation of this embodiment, the pre-calculation module includes:

[0126] The second calculation submodule is configured to calculate, on the premise that the last shape point is visible in the navigation interface, a first display scale corresponding to when the navigated object travels to a first shape point of the target road segment and a second display scale corresponding to when the navigated object travels to a second shape point; the first shape point and the second shape point being any two shape points on the target road segment;

[0127] The third calculation submodule is configured to calculate the display scales corresponding to other shape points between the first shape point and the second shape point based on the number of shape points between the first shape point and the second shape point and the difference between the first display scale and the second display scale when the first display scale is different from the second display scale and there are other shape points between the first shape point and the second shape point.

[0128] In an optional implementation of this embodiment, the apparatus further includes:

[0129] A second calculation module is configured to calculate the remaining distance between the current position of the navigated object and the last shape point of the target road segment during the driving process of the navigated object;

[0130] The adjustment module is configured to adjust the display scale corresponding to the shape point based on a preset range of the scale corresponding to the remaining distance.

[0131] In an optional implementation of this embodiment, the apparatus further includes:

[0132] a second determining module configured to determine, when the display scale changes, a scale change range between the scale before the change and the scale after the change;

[0133] The changing module is configured to gradually change the scale before the change to the scale after the change based on a preset change rate corresponding to the scale change range.

[0134] In an optional implementation of this embodiment, the apparatus further includes:

[0135] The response module is configured to respond to an event in which a large image is popped up on the navigation interface to display the target road segment, and to reduce the display scale currently used by the navigation interface based on a preset strategy.

[0136] In an optional implementation of this embodiment, after the pre-calculation module, the apparatus further includes:

[0137] a traversal module configured to traverse the display scales corresponding to two adjacent shape points on the target road segment;

[0138] The setting module is configured to set the display scale of the shape point located in front of the target road section to be equal to the display scale of the shape point located behind the target road section when the display scale of the shape point located in front of the target road section among the two shape points is greater than the display scale of the shape point located behind the target road section.

[0139] According to an embodiment of the present disclosure, a location-based service providing device includes: utilizing the above-mentioned navigation display device of the target road section to display the navigation interface of the target road section, thereby providing location-based services to the service object, and the location-based services include: one or more of navigation, map rendering, and route planning.

[0140] In this embodiment, the location-based service providing device can be executed on a terminal, such as a mobile phone, iPad, computer, smartwatch, vehicle, etc. In this disclosed embodiment, for a target road section, such as a ramp road section, the navigation interface display device mentioned above is used to obtain the scale corresponding to each shape point on the target road section. Then, while the service recipient is driving on the target road section, the scale corresponding to each shape point is dynamically switched to provide the service recipient with location-based services, such as navigation services, map rendering, and route planning.

[0141] The served object can be a mobile phone, iPad, computer, smart watch, vehicle, robot, etc. During the process of providing navigation guidance for the served object, if the served object enters the target road section, the navigation interface of the target road section can be displayed to the served object at different display scales corresponding to various shape points on the target road section. For specific details, please refer to the above description of the navigation interface display device for the target road section, which will not be repeated here.

[0142] Figure 5 It is a structural diagram of an electronic device suitable for implementing the navigation interface display method of the target road segment and / or the location-based service providing method according to an embodiment of the present disclosure.

[0143] like Figure 5 As shown, the electronic device 500 includes a processing unit 501, which can be implemented as a processing unit such as a CPU, a GPU, an FPGA, an NPU, etc. The processing unit 501 can perform various processes in the embodiment of any of the above methods of the present disclosure according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage portion 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0144] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output section 507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 508 including a hard disk; and a communication section 509 including a network interface card such as a LAN card or a modem. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510 as needed, so that computer programs read therefrom can be installed into the storage section 508 as needed.

[0145] In particular, according to embodiments of the present disclosure, any of the methods described above with reference to the embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for executing any of the methods described in the embodiments of the present disclosure. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 509 and / or installed from a removable medium 511.

[0146] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the diagram or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains 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 box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, as well as the combination of boxes in the block diagram and / or flow chart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0147] The units or modules described in the embodiments of the present disclosure may be implemented in software or hardware. The units or modules described may also be provided in a processor, and the names of these units or modules do not, in certain circumstances, limit the units or modules themselves.

[0148] As another aspect, the present disclosure further provides a computer-readable storage medium. This computer-readable storage medium may be included in the apparatus described in the above embodiments, or may be a standalone computer-readable storage medium not incorporated into the apparatus. The computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the methods described in the present disclosure.

[0149] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention herein is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also encompasses other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the inventive concept. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

Claims

1. A method for displaying a navigation interface of a target road segment, wherein: include: Obtain at least one shape point on the target road segment; On the premise that the last shape point of the target road segment is visible on the navigation interface, pre-calculating the display scale when the guided object travels to the at least one shape point; During the driving process of the navigated object on the target road section, the target road section is displayed on the navigation interface at the display scale corresponding to the shape point passed through, so that at least the road from the current position of the navigated object to the last shape point on the target road section is visible on the navigation interface.

2. The method according to claim 1, wherein The method further comprises: When the type of the current road section that the navigated object enters meets the requirements of the target road section type, calculating the curvature and / or deflection angle of the current road section; When either the curvature or the deflection angle meets a preset road section condition, the current road section is determined to be a target road section.

3. The method according to claim 2, wherein: Calculating the curvature and / or deflection angle of the current road segment includes at least one of the following: Calculating the curvature of the current road segment based on the number of shape points on the current road segment and the length of the current road segment; A shape point connection line between two adjacent shape points on the current road section is determined, and a deflection angle of the current road section is determined based on an angle between the two adjacent shape point connection lines.

4. The method according to claim 1, wherein On the premise that the last shape point of the target road segment is visible on the navigation interface, precalculating the display scale when the navigated object travels to the shape point includes: On the premise that the last shape point is visible in the navigation interface, a first display scale corresponding to when the navigated object travels to the first shape point of the target road segment and a second display scale corresponding to when the navigated object travels to the second shape point are calculated; the first shape point and the second shape point are any two shape points on the target road segment; When the first display scale and the second display scale are different and there are other shape points between the first shape point and the second shape point, the display scales corresponding to the other shape points between the first shape point and the second shape point are calculated based on the number of shape points between the first shape point and the second shape point and the difference between the first display scale and the second display scale.

5. The method according to claim 1, wherein The method further comprises: During the driving process of the guided object, calculating the remaining distance between the current position of the guided object and the last shape point of the target road segment; The display scale corresponding to the shape point is adjusted based on a preset range of the scale corresponding to the remaining distance.

6. The method according to claim 1, wherein The method further comprises: When the display scale changes, determining a scale change range between the scale before the change and the scale after the change; The scale is gradually changed from the scale before the change to the scale after the change based on a preset change rate corresponding to the scale change range.

7. The method according to claim 1, wherein The method further comprises: In response to an event in which a large image is popped up on the navigation interface to display the target road segment, the display scale currently used by the navigation interface is reduced based on a preset strategy.

8. The method according to claim 1, wherein After precalculating the display scale of the navigated object when it travels to the shape point, the method further includes: Traversing the display scales corresponding to two adjacent shape points on the target road segment; When the display scale of the shape point located in front of the target road section among the two shape points is greater than the display scale of the shape point located behind the target road section, the display scale of the shape point located in front of the target road section is set to be equal to the display scale of the shape point located behind the target road section.

9. A method for providing location-based services, wherein: include: The method of displaying the navigation interface of the target road section by the method described in any one of claims 1 to 8 provides location-based services for the service object, and the location-based services include: one or more of navigation, map rendering, and route planning.

10. A computer program product comprising computer instructions, wherein: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Adaptive adjustment method and device for electronic map

    CN108344425A

  • Navigation data processing method and device, electronic equipment and storage medium

    CN113029165A