Rendering method, device, storage medium and computer program

By obtaining the location and navigation route of the navigation object and dynamically adjusting the rendering parameters, the problem of high-precision electronic map rendering effects not meeting user browsing needs is solved, thus improving the safety and efficiency of navigation.

CN113868356BActive Publication Date: 2025-12-05ALIBABA INNOVATION PRIVATE LIMITED
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111146749.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2025-12-05
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

In existing high-precision electronic map rendering technologies, there are still difficulties in addressing the issue that the rendering effects of high-precision electronic maps cannot meet user browsing needs and improve driving safety.

Method used

By obtaining the location and navigation route of the navigation object, the attributes of the target lane and the navigation guidance actions are determined, and the rendering parameters are dynamically adjusted so that lane-level rendering elements are displayed within the screen's field of view, including adjusting the scale, direction angle and top view.

Benefits of technology

It achieves high-precision electronic map rendering effects to meet user browsing needs and improves navigation safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113868356B_ABST
    Figure CN113868356B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a rendering method, device, storage medium and computer program, wherein the rendering method comprises: obtaining a positioning position of a navigated object and a navigation route; obtaining a target lane contained in a target road in front of the positioning position of the navigated object and to be driven into by the navigated object according to the positioning position and the navigation route; determining a rendering parameter of an electronic map to be rendered according to an attribute of the target lane contained in the target road and / or a navigation guiding action of the navigation route on the target lane, the rendering parameter at least enabling a lane-level rendering element in the electronic map to be rendered to be displayed within a screen visual field range; and rendering the electronic map to be rendered according to the rendering parameter. Because the rendering parameter is dynamically adjusted according to the target road in front, the lane-level rendering element of the target road is within the screen visual field range, the visual field requirement of a user browsing the electronic map is met, and the navigation effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of rendering, and in particular, to a rendering method, device, storage medium and computer program. BACKGROUND

[0002] With the development and popularization of navigation technology, many users are used to using application software with map navigation function when going out. The application software with map navigation function plans a navigation route for the user according to the starting point and destination input by the user, and guides the user according to the real-time position of the user and the planned navigation route during the user's trip. However, with the evolution of electronic maps from ordinary electronic maps to high-precision electronic maps, the expression of roads on electronic maps is more abundant. How to make the rendering effect of high-precision electronic maps meet the visual field requirements of users browsing electronic maps, or improve the requirement of driving safety, is a problem that needs to be solved by those skilled in the art. SUMMARY

[0003] Therefore, embodiments of the present application provide a rendering method, device, storage medium and computer program to at least partially solve the above problems.

[0004] According to a first aspect of embodiments of the present application, a rendering method is provided, comprising: obtaining a positioning position of a navigated object and a navigation route; obtaining a target lane contained by a target road in front of the positioning position of the navigated object and to be driven into by the navigated object according to the positioning position and the navigation route; determining a rendering parameter of a to-be-rendered electronic map according to an attribute of the target lane contained by the target road and / or a navigation guiding action of the navigation route on the target lane, the rendering parameter at least enabling a lane-level rendering element in the to-be-rendered electronic map to be displayed within a screen visual field range; and rendering the to-be-rendered electronic map according to the rendering parameter.

[0005] According to a second aspect of embodiments of the present application, a rendering device is provided, comprising: an obtaining module configured to obtain a positioning position of a navigated object and a navigation route; a road module configured to obtain a target lane contained by a target road in front of the positioning position of the navigated object and to be driven into by the navigated object according to the positioning position and the navigation route; a parameter module configured to determine a rendering parameter of a to-be-rendered electronic map according to an attribute of the target lane contained by the target road and / or a navigation guiding action of the navigation route on the target lane, the rendering parameter at least enabling a lane-level rendering element in the to-be-rendered electronic map to be displayed within a screen visual field range; and a rendering module configured to render the to-be-rendered electronic map according to the rendering parameter.

[0006] According to a third aspect of the embodiments of the present application, an electronic device is provided, comprising a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface complete communication with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the rendering method of the first aspect.

[0007] According to a fourth aspect of the embodiments of the present application, a storage medium is provided, and the storage medium stores a computer program, and the program is executed by a processor to implement the rendering method of the first aspect.

[0008] According to a fifth aspect of the embodiments of the present application, a computer program product is provided, and the computer program product is executed by a processor to implement the rendering method of the first aspect.

[0009] The rendering method, device, storage medium and computer program provided by the embodiments of the present application obtain the positioning position of the navigated object and the navigation route; according to the positioning position and the navigation route, a target lane contained in a target road to be entered by the navigated object in front of the positioning position of the navigated object is obtained; according to the attribute of the target lane contained in the target road and / or the navigation guiding action of the navigation route on the target lane, a rendering parameter of a to-be-rendered electronic map is determined, and the rendering parameter at least causes a lane-level rendering element in the to-be-rendered electronic map to be displayed in a screen visual field range; and the to-be-rendered electronic map is rendered according to the rendering parameter. Because the rendering parameter is dynamically adjusted according to the target road in front, the lane-level rendering element of the target road is in the screen visual field range, the visual field demand of the user for browsing the electronic map is met, and the navigation effect is improved. BRIEF DESCRIPTION OF DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can also be obtained by those skilled in the art according to these drawings.

[0011] Figure 1 A scene schematic diagram of a rendering method provided by the first embodiment of the present application;

[0012] Figure 2 A flowchart of a rendering method provided by the first embodiment of the present application;

[0013] Figure 3 A display effect schematic diagram of an electronic map provided by the first embodiment of the present application;

[0014] Figure 4 A display effect schematic diagram of an electronic map provided by the first embodiment of the present application;

[0015] Figure 5 A display effect schematic diagram of an electronic map provided by the embodiment one of the present application;

[0016] Figure 6 A display effect schematic diagram of an electronic map provided by the embodiment one of the present application;

[0017] Figure 7 A structure diagram of a rendering device provided by the embodiment two of the present application;

[0018] Figure 8 A structure diagram of an electronic device provided by the embodiment three of the present application. DETAILED DESCRIPTION

[0019] In order to make the personnel in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art should belong to the scope of protection of the embodiments of the present application.

[0020] The specific implementation of the embodiments of the present application will be further described below in conjunction with the drawings of the embodiments of the present application.

[0021] Embodiment one

[0022] The embodiment one of the present application provides a rendering method applied to a rendering device. In order to facilitate understanding, the application scenario of the rendering method provided by the embodiment one of the present application is described, referring to the scene shown in FIG. 1. Figure 1 Figure 1 A scene schematic diagram of a rendering method provided by the embodiment one of the present application. Figure 1 The scene shown in FIG. 1 includes an electronic device 101. The electronic device 101 can be a device executing the rendering method provided by the embodiment one of the present application, that is, a rendering device.

[0023] ​The electronic device 101 can be a terminal device such as a vehicle terminal, a smart phone, a tablet computer, a notebook computer, etc. The electronic device 101 can access a network, connect to a cloud through the network, and perform data interaction. In this application, the network includes a local area network (LAN), a wide area network (WAN), a mobile communication network, such as the World Wide Web (WWW), a Long Term Evolution (LTE) network, a 2G network, a 3G network, a 5G network, etc. The cloud can include various devices connected through the network, such as servers, relay devices, device-to-device (D2D) devices, etc. Of course, this is only an example and does not limit the application.

[0024] In combination Figure 1 The rendering method provided by the first embodiment of the application is described in detail in the scenario shown. It should be noted that Figure 1 This is only an application scenario of the rendering method provided by the first embodiment of the application, and does not mean that the rendering method must be applied to Figure 1 The scenario shown can be applied to an electronic device. For details, refer to Figure 2 Figure 2 A flowchart of a rendering method provided by the first embodiment of the application is shown. The method includes the following steps:

[0025] Step 201: Obtain the positioning location of the navigated object and the navigation route.

[0026] The navigated object can be a vehicle driven or taken by a user, or a terminal device held by the user, etc. Optionally, the positioning location of the navigated object can be determined by a global navigation satellite system (GNSS) positioning module on the vehicle terminal or the terminal device, or in combination with a network positioning service. For example, the positioning location of the vehicle is determined by the vehicle terminal. The navigation route is used to indicate a driving route planned for the user from a starting point to an end point, and the starting point and the end point can be set by the user.

[0027] Step 202: Obtain a target lane included in a target road to be entered by the navigated object in front of the positioning location of the navigated object according to the positioning location and the navigation route. ​

[0028] The target road in front of the navigated object can refer to a road in front of the positioning position in the driving direction along the navigation route for a preset length. The target road can include one or more target lanes, and optionally, in an implementation, the target lanes can include all lanes in the target road in the same driving direction as the lane where the navigated object is located. For example, taking the lane where the positioning position is located as an example, the target road where the positioning position is located includes 8 lanes, lanes ABCD are same-direction lanes, and lanes EFGH are same-direction lane segments. If the lane where the positioning position is located is lane A, lanes ABCD all belong to the target lane. Alternatively, in another implementation, the target lane segment includes a lane that the navigated object will drive into in the driving direction within a set distance in front of the positioning position along the navigation route. It should be noted that the preset distance can be set according to actual conditions, for example, the preset length can be 10 m, 20 m, 100 m, 500 m, etc., and the present application does not limit this.

[0029] In step 203, a rendering parameter of the electronic map to be rendered is determined according to an attribute of the target lane included in the target road and / or a navigation guiding action of the navigation route on the target lane.

[0030] The rendering parameter at least causes the lane-level rendering element in the electronic map to be rendered to be displayed in the screen field of view. The attribute of the target lane can indicate a shape, a type, a curvature, whether the target lane is connected to an intersection, a position of the intersection, etc. of the target lane, wherein the shape of the lane can include a continuous curve, a ramp, a roundabout, etc. The navigation guiding action of the navigation route on the target lane can include straight driving along a main road, turning, sharp turning, U-turn, etc.

[0031] In the present application, the rendering parameter can include at least one of a scale, a direction angle, and a perspective angle. It should be noted that the scale refers to the ratio of the distance on the map to the actual distance, the larger the scale, the smaller the range of the electronic map display, the clearer the details, the smaller the scale, the larger the range of the electronic map display, and the more blurred the details. In the present application, the scale of the rendering parameter is different from the scale of the ordinary map. The scale of the ordinary map needs to be adjusted in a wider range. Generally, the maximum value of the scale of the ordinary map is usually in the range of 1 / 200000 to 1 / 2500000, that is, 1 centimeter on the map represents 2 kilometers of actual distance to 1 centimeter on the map representing 25 kilometers of actual distance. In the present application, the scale of the rendering parameter is in the range of 1 / 2500 to 1 / 500, which can include the end points, that is, the scale of the rendering parameter can be 1 / 2500 or 1 / 500. The direction angle refers to the included angle between the front of the screen display and the driving direction of the object being navigated. The front of the screen display can be the direction extending from the lower edge to the upper edge of the screen. The perspective angle refers to the included angle between the direction in which the user views the electronic map and the horizontal plane in the electronic map. For example, if the direction in which the user views the electronic map can be a view angle of vertically viewing the ground of the electronic map, the perspective angle is 90 degrees.

[0032] Optionally, in an implementation manner, the rendering parameter is adjusted to give the driver a better observation field of view and better display of the lane-level rendering element. In the present application, the observation field of view can include an observation direction and a field of view range. Exemplarily, the rendering parameter of the electronic map to be rendered is determined according to the attribute of the target lane included in the target road and / or the navigation guiding action of the navigation route on the target lane, including: predicting a target observation field of view of the electronic map of the driver according to the attribute of the target lane included in the target road and / or the navigation guiding action of the navigation route on the target lane, the target field of view information being used to indicate the predicted field of view range and field of view direction of the driver; and adjusting the rendering parameter of the electronic map based on the target observation field of view, so that the actual observation field of view changes in a trend close to the target observation field of view. It should be noted that the predicted target observation field of view is a field of view suitable for the driver and matched with the road conditions of the target road ahead, because the road conditions of the target road are different from those of the currently traveled road. Therefore, the current observation field of view cannot necessarily adapt to the target road ahead. Therefore, the target observation field of view is predicted based on the target road, and the rendering parameter is adjusted so that the actual observation field of view changes towards the target observation field of view.

[0033] Optionally, four specific application scenarios are listed here to explain in detail how to adjust the rendering parameter.

[0034] Optionally, in the first application scenario, as shown in Figure 3 , the rendering parameter is adjusted according to the attribute of the target lane included in the target road and / or the navigation guiding action of the navigation route on the target lane. For example, the rendering parameter is adjusted according to the attribute of the target lane included in the target road and / or the navigation guiding action of the navigation route on the target lane, so that the actual observation field of view of the driver is close to the target observation field of view of the driver. Figure 3A display effect schematic diagram of an electronic map provided for the embodiment one of the present application, the navigation guiding action of the navigation route on the target lane is straight ahead on the target lane, which can also be called forward, or driving along the main road on the target lane, in this application scenario, because of straight ahead, there is no need to observe the details of the electronic map, which can ensure a larger observation field of view.

[0035] As shown in the example, Figure 3 The rendering parameters include a scale, and the rendering parameters of the electronic map to be rendered are determined according to the navigation guiding action of the navigation route on the target lane, including: when the navigation guiding action of the navigation route on the target lane is straight ahead on the target lane, the scale is reduced to make the length of the target lane displayed in the screen field of view range reach a preset distance value. After reducing the scale of the electronic map, the field of view range of the actual observation field of view becomes larger, and the driver can see farther road, which is convenient for driving. It should be noted that the preset distance value can be set according to the actual situation, for example, the preset distance value can be 1km, 2km, 5km, 10km, etc.

[0036] As shown in the example, Figure 3 The rendering parameters include a direction angle and an overhead angle, and the rendering parameters of the electronic map to be rendered are determined according to the attribute of the target lane contained in the target road and the navigation guiding action of the navigation route on the target lane, including: according to the attribute of the target lane, it is determined that the curvature of the target lane is greater than a preset curvature threshold, and the navigation guiding action of the navigation route on the target lane is straight ahead on the target lane, then the direction angle in the rendering parameters is adjusted according to the curvature of the target road, and the overhead angle in the rendering parameters is increased, so that the target lane is displayed in the screen field of view range. It should be noted that the curvature of the target lane represents the degree of bending of the target lane, which can be represented by the included angle between the tangent line at the starting point and the tangent line at the ending point of the target lane. The direction can be set to deflect a preset angle according to the direction of the bending of the target lane, which is equivalent to deflecting a preset angle of the front of the screen display relative to the front of the navigation object driving direction according to the direction of the road bending, or in other words, rotating the electronic map by a preset angle in the direction opposite to the direction of the target lane bending. The preset angle can be set according to the specific situation, and the present application does not limit the specific value of the preset angle.

[0037] For example, if it is determined according to the attribute of the target lane that the target lane is a bridge / ramp with a curvature greater than a preset curvature threshold, the scale of the electronic map is reduced and the overhead angle is increased, so that as many bridge / ramp as possible in the rendering element are displayed in the display area of the screen. It should be noted that the deflection here is in the plane parallel to the ground, and the target lane has a large curvature, so the overhead angle is increased, which is more away from the driver's observation of the road shape and makes accurate judgment.

[0038] It should be noted that the examples in the first application scenario can be executed alone or combined to form a new scheme, and the present application does not limit this.

[0039] Optionally, in the second application scenario, as shown in Figure 4 Figure 4 A display effect schematic diagram of an electronic map provided by the embodiment one of the present application is shown, the navigation guiding action of the navigation route on the target lane indicates turning at the intersection in front of the target lane, because more road details need to be shown for turning, it is convenient for the driver to judge the positional relationship between the intersection in front and the positioning position, and the scale can be increased. Exemplarily, the rendering parameters include the scale and the perspective angle, the rendering parameters of the electronic map to be rendered are determined according to the navigation guiding action of the navigation route on the target lane, including: when the navigation guiding action of the navigation route on the target lane indicates turning at the intersection in front of the target lane, the scale of the electronic map is increased, and the perspective angle in the rendering parameters is increased, so that the intersection in front is displayed in the screen visual range in the rendering elements. It should be noted that in an implementation manner, the scale of the electronic map can be gradually increased and the perspective angle in the navigation view can be gradually increased during the process that the object being navigated approaches the intersection in front.

[0040] Further, in an example, the rendering parameters further include a direction angle, the rendering parameters of the electronic map to be rendered are determined, including: according to the turning direction indicated by the navigation guiding action of the navigation route on the target lane, the direction angle in the rendering parameters is adjusted, so that the intersection in front is displayed in the middle region of the screen visual range in the rendering elements. Optionally, the middle region of the screen visual range can be a region in the middle according to the direction from left to right in the screen visual range, as shown in Figure 3 The middle 70% region of the screen visual range is the middle region, and the intersection in front in the rendering elements is adjusted to be displayed in the middle region, which is more beneficial for the driver to judge the relative positional relationship between the positioning position and the intersection.

[0041] It should be noted that in combination with the first application scenario, if the curvature of the target lane is greater than a preset curvature threshold, the intersection in front needs to be ensured to be displayed in the middle region of the screen visual range during the adjustment of the direction angle.

[0042] Optionally, in the third application scenario, as shown in Figure 5 Figure 5 ​​A display effect schematic diagram of an electronic map provided by the first embodiment of the present application is shown in the figure. The rendering parameter includes a scale. The rendering parameter of the electronic map to be rendered is determined according to the attribute of the target lane included in the target road. If the target lane is a special lane where driving is prohibited, the scale is increased to display the details of the special lane in the screen field of view. Further optionally, if it is determined that the positioning position has deviated from the navigation route according to the navigation route and the navigation guiding action on the target lane, and it is determined that the target road is a special lane where driving is prohibited according to the attribute of the target lane included in the target road, the scale in the rendering parameter is increased, and a violation prompt is given. Because the navigation route is pre-planned and will not pass through the special lane where driving is prohibited, if the navigation object deviates from the navigation route, it is necessary to determine whether the target lane is a special lane where driving is prohibited. Here, the special lane where driving is prohibited is taken as an example. Optionally, it can also be determined whether the positioning position is located in a prohibited driving area. If the positioning position is located in the prohibited driving area, the scale in the rendering parameter is increased, the details of the prohibited driving area can be displayed, and a prompt can be given to the user. The prohibited driving area can include the special lane where driving is prohibited and the roadside area where driving is prohibited, which are not listed one by one here. Exemplarily, if the navigation object is an ordinary car, the non-motor vehicle lane, the bus lane, and the emergency lane belong to the special lane where driving is prohibited. If the navigation object is a bicycle, the motor vehicle lane belongs to the special lane where driving is prohibited. Here, only exemplary descriptions are given, and the present application is not limited thereto.

[0043] Optionally, in the fourth application scenario, as shown in Figure 6 Figure 6 A display effect schematic diagram of an electronic map provided by the first embodiment of the present application is shown in the figure. The rendering parameter includes a scale. The rendering parameter of the electronic map to be rendered is determined according to the attribute of the target lane included in the target road and the navigation guiding action of the navigation route on the target lane. If there are at least two continuous road junctions on the target lane and the navigation guiding action of the navigation route on the target lane is turning, the scale is dynamically adjusted so that the turning actions of the at least two continuous road junctions are displayed in the screen field of view. For example, taking the case that the screen field of view keeps two turning places as an example, if the turning places in the screen field of view are greater than two, the scale is increased to display the road details. If the road junctions in the screen field of view are less than two, the scale is decreased to increase the observation field of view. In this way, the road details are ensured to be displayed, and a relatively wide field of view is ensured, which improves the driving safety. It should be further noted that, here, taking the at least two continuous road junctions as an example, if it is not a road junction but a continuous curve, the scale can also be dynamically adjusted so that the screen field of view keeps two turning places. ​

[0044] It should be noted that the above four application scenarios can be implemented alone or in any combination, and the present application does not limit this.

[0045] In step 204, the electronic map to be rendered is rendered according to the rendering parameter.

[0046] In combination with the rendering method described in steps 201-204, it should be noted that in an example, the user can manually adjust the rendering parameter of the electronic map, for example, taking the electronic map displayed on a smartphone as an example, the user can zoom out (reduce the scale) and zoom in (increase the scale) of the electronic map, and can also slide (adjust the field of view range) and rotate (adjust the direction angle and the angle of view) the electronic map. When the rendering device detects the user's operation of adjusting the rendering parameter, the rendering device generates adjustment information of the rendering parameter in response to the user's operation of adjusting the rendering parameter, and exits the navigation guiding action according to the attribute of the target lane contained in the target road and / or the navigation route on the target lane, determines the rendering parameter of the electronic map to be rendered, adjusts the rendering parameter based on the adjustment information, and renders the electronic map based on the adjusted rendering parameter. When the user manually adjusts the rendering parameter (i.e., adjusts the observation field of view of the electronic map), the user's operation is given priority. After the user's operation, if no operation of adjusting the rendering parameter by the user is detected again within a preset time length, the navigation guiding action according to the attribute of the target lane contained in the target road and / or the navigation route on the target lane is continued, and the rendering parameter of the electronic map to be rendered is determined.

[0047] The rendering method provided by the embodiments of the present application acquires the positioning position of the object being navigated and the navigation route, acquires the target lane contained in the target road in front of the positioning position of the object being navigated that will be driven into by the object being navigated according to the positioning position and the navigation route, determines the rendering parameter of the electronic map to be rendered according to the attribute of the target lane contained in the target road and / or the navigation guiding action on the target lane, and renders the electronic map to be rendered according to the rendering parameter. Because the rendering parameter is dynamically adjusted according to the target road in front, the lane-level rendering element of the target road is displayed within the screen field of view, which meets the field of view demand of the user browsing the electronic map and improves the navigation effect.

[0048] Embodiment Two

[0049] Based on the method described in the above embodiment one, the second embodiment of the present application provides a rendering device for executing the method described in the above embodiment one, which is described with reference to FIG. 7. Figure 7 As shown in FIG. 7, the rendering device 70 includes:

[0050] The acquisition module 701 is configured to acquire the positioning position of the object being navigated and the navigation route.

[0051] The road module 702 is configured to acquire a target lane included in a target road in front of the positioning position of the navigated object, which will be driven into by the navigated object according to the positioning position and the navigation route.

[0052] The parameter module 703 is configured to determine a rendering parameter of the electronic map to be rendered according to an attribute of the target lane included in the target road and / or a navigation guiding action of the navigation route on the target lane, so that at least a lane-level rendering element in the electronic map to be rendered is displayed within the screen visual field range.

[0053] The rendering module 704 is configured to render the electronic map to be rendered according to the rendering parameter.

[0054] Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703 is configured to increase the scale to display details of the special lane within the screen visual field range when the target lane included in the target road is determined to be a special lane for which driving is prohibited according to the attribute of the target lane included in the target road.

[0055] Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703 is configured to dynamically adjust the scale so that the turning action of the at least two continuous intersections is displayed within the screen visual field range when it is determined that there are at least two continuous intersections on the target lane and the navigation guiding action of the navigation route on the target lane is a turning action according to the attribute of the target lane included in the target road and the navigation guiding action of the navigation route on the target lane.

[0056] Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703 is configured to reduce the scale so that the length of the target lane displayed within the screen visual field range reaches a preset distance value when the navigation guiding action of the navigation route on the target lane is a straight driving action along the target lane.

[0057] Optionally, in a specific example, the rendering parameter includes a direction angle and an overhead angle, and the parameter module 703 is configured to adjust the direction angle in the rendering parameter according to the curvature of the target road and increase the overhead angle in the rendering parameter when it is determined that the curvature of the target lane is greater than a preset curvature threshold and the navigation guiding action of the navigation route on the target lane is a straight driving action along the target lane according to the attribute of the target lane and the navigation guiding action of the navigation route on the target lane.

[0058] Optionally, in a specific example, the rendering parameter includes a scale and an overhead angle, and the parameter module 703 is configured to increase the scale of the electronic map and increase the overhead angle in the rendering parameter so that the intersection in front of the target lane is displayed within the screen visual field range when the navigation guiding action of the navigation route on the target lane indicates a turning action at the intersection in front of the target lane.

[0059] Optionally, in a specific example, the rendering parameter further comprises a direction angle, and the parameter module 703 is configured to adjust the direction angle in the rendering parameter according to a turning direction of the navigation guiding action indication of the navigation route on the target lane, so that the front intersection in the rendering element is displayed in the middle region of the screen visual field range.

[0060] The rendering device provided by the embodiment of the present application acquires the positioning position of the navigated object and the navigation route; acquires the target lane contained in the target road to be driven into by the navigated object in front of the positioning position of the navigated object according to the positioning position and the navigation route; determines the rendering parameter of the to-be-rendered electronic map according to the attribute of the target lane contained in the target road and / or the navigation guiding action of the navigation route on the target lane, so that the lane-level rendering element in the to-be-rendered electronic map is displayed in the screen visual field range; and renders the to-be-rendered electronic map according to the rendering parameter. Because the rendering parameter is dynamically adjusted according to the target road in front, the lane-level rendering element of the target road is in the screen visual field range, the visual field demand of the user for browsing the electronic map is met, and the navigation effect is improved.

[0061] Embodiment three

[0062] Based on the method described in the above embodiment one, the embodiment three of the present application provides an electronic device for executing the method described in the above embodiment one, which refers to Figure 8 The structure schematic diagram of the electronic device according to the embodiment three of the present application is shown, and the specific implementation of the electronic device is not limited in the embodiment of the present application.

[0063] As shown in Figure 8 , the electronic device 80 can include a processor 802, a communications interface 804, a memory 806, and a communications bus 808.

[0064] Among them:

[0065] The processor 802, the communications interface 804, and the memory 806 complete the communication among each other through the communications bus 808.

[0066] The communications interface 804 is configured to communicate with other electronic devices or servers.

[0067] The processor 802 is configured to execute the program 810, and specifically can execute the related steps in the above rendering method embodiment.

[0068] Specifically, the program 810 can include program code, and the program code includes computer operation instructions.

[0069] The processor 802 can be a CPU (Central Processing Unit) processing unit, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement one or more embodiments of the present application. The one or more processors included in the smart device can be the same type of processor, such as one or more CPUs; or different types of processors, such as one or more CPUs and one or more ASICs.

[0070] The memory 806 is configured to store programs 810. The memory 806 can include a high-speed RAM memory, and can further include a non-volatile memory, such as at least one disk memory.

[0071] The programs 810 can be specifically configured to cause the processor 802 to perform the rendering method described in Embodiment One. The specific implementation of each step in the programs 810 can refer to the corresponding description of the corresponding steps and units in the above-described rendering method embodiments, and will not be described here. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding process descriptions in the foregoing method embodiments, and will not be described here.

[0072] The electronic device provided in the embodiments of the present application acquires the positioning position of the navigated object and the navigation route; acquires the target lane included in the target road to be entered by the navigated object in front of the positioning position of the navigated object according to the positioning position and the navigation route; determines the rendering parameter of the to-be-rendered electronic map according to the attribute of the target lane included in the target road and / or the navigation guiding action of the navigation route on the target lane, the rendering parameter at least enabling the lane-level rendering element in the to-be-rendered electronic map to be displayed in the screen visual field range; and renders the to-be-rendered electronic map according to the rendering parameter. Because the rendering parameter is dynamically adjusted according to the target road in front, the lane-level rendering element of the target road is in the screen visual field range, the visual field demand of the user for browsing the electronic map is met, and the navigation effect is improved.

[0073] Embodiment Four

[0074] Based on the method described in Embodiment One, Embodiment Four of the present application provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in Embodiment One.

[0075] Embodiment Five

[0076] Based on the method described in the above embodiment one, the embodiment four of the present application provides a computer program product, which, when executed by a processor, implements the method described in the embodiment one.

[0077] It should be noted that, according to the needs of implementation, each component / step described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or part of the operation of the components / steps can be combined into a new component / step, to achieve the purpose of the embodiments of the present application.

[0078] The above method according to the embodiments of the present application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk or an optical disk, or downloaded through a network and stored in a local recording medium, so that the method described herein can be processed by such software using a general computer, a special processor or programmable or special hardware such as ASIC or FPGA. It can be understood that the computer, processor, microprocessor controller or programmable hardware includes a storage component (for example, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is accessed and executed by the computer, processor or hardware, the navigation method described herein is implemented. In addition, when the general computer accesses the code for implementing the navigation method shown herein, the execution of the code will convert the general computer into a special computer for executing the navigation method shown herein.

[0079] Those skilled in the art can appreciate that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.

[0080] The above embodiments are only used to illustrate the present application, and not to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, therefore all equivalent technical solutions also belong to the scope of the present application, the patent protection scope of the present application should be defined by the claims.

Claims

1. A rendering method, wherein, The method comprises: acquiring a positioning position of a navigated object and a navigation route; acquiring a target lane included in a target road in front of the positioning position of the navigated object and to be driven into by the navigated object according to the positioning position and the navigation route; determining rendering parameters of an electronic map to be rendered according to attributes of the target lane included in the target road and a navigation guiding action indicated by the navigation route on the target lane, the rendering parameters at least causing a lane-level rendering element of the target lane to be displayed within a screen view range of the electronic map to be rendered, wherein the attributes of the target lane include at least one of a shape, a type, a curvature, and whether the target lane is connected to an intersection of the target lane; rendering the electronic map to be rendered according to the rendering parameters.

2. The method of claim 1, wherein, The rendering parameters include a scale, and the determining of the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road comprises: when the target lane included in the target road is a special lane on which driving is prohibited, the scale is increased to display details of the special lane within the screen view range.

3. The method of claim 1, wherein, The rendering parameters include a scale, and the determining of the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road and the navigation guiding action on the target lane comprises: when the target lane included in the target road has at least two continuous intersections and the navigation guiding action on the target lane is a turn, the scale is dynamically adjusted so that the turn actions of the at least two continuous intersections are displayed within the screen view range.

4. The method of claim 1, wherein, The rendering parameters include a scale, and the determining of the rendering parameters of the electronic map to be rendered according to the navigation guiding action on the target lane comprises: when the navigation guiding action on the target lane is a straight driving along the target lane, the scale is reduced so that a length of the target lane displayed within the screen view range reaches a preset distance value.

5. The method of claim 1, wherein, The rendering parameters include a direction angle and an overhead angle, and the determining of the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road and the navigation guiding action on the target lane comprises: when the curvature of the target lane is greater than a preset curvature threshold and the navigation guiding action on the target lane is a straight driving along the target lane, the direction angle in the rendering parameters is adjusted according to the curvature of the target road, and the overhead angle in the rendering parameters is increased, so that the target lane is displayed within the screen view range.

6. The method of claim 1, wherein, The rendering parameters include a scale and an overhead angle, and the determining of the rendering parameters of the electronic map to be rendered according to the navigation guiding action on the target lane comprises: When the navigation guiding action of the navigation route on the target lane indicates a turn at an intersection ahead of the target lane, the scale of the electronic map is increased, and the angle of view in the rendering parameters is increased, so that the intersection ahead is displayed in the screen view range in the rendering element.

7. The method of claim 6, wherein, The rendering parameters further include a direction angle, and the determining the rendering parameters of the electronic map to be rendered comprises: According to the turning direction indicated by the navigation guiding action of the navigation route on the target lane, the direction angle in the rendering parameters is adjusted, so that the intersection ahead is displayed in the middle region of the screen view range in the rendering element.

8. An electronic device comprising: A processor, a memory, a communication interface, and a communication bus, the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the rendering method in any one of claims 1-7.

9. A storage medium, the storage medium storing a computer program, and the computer program is executed by a processor to implement the rendering method in any one of claims 1-7.

10. A computer program, the computer program is executed by a processor to implement the rendering method in any one of claims 1-7.

Citation Information

Patent Citations

  • Method and device for automatically controlling display scale and three-dimensional view angle of navigation map

    CN103616032A

  • Method, device and terminal device for displaying electronic map

    CN104075729A

  • Intersection guiding method and intersection guiding device

    CN112710321A

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

    CN113029165A