CN113868356A - Rendering method, device, storage medium and computer program - Google Patents
Rendering method, device, storage medium and computer program Download PDFInfo
- Publication number
- CN113868356A CN113868356A CN202111146749.3A CN202111146749A CN113868356A CN 113868356 A CN113868356 A CN 113868356A CN 202111146749 A CN202111146749 A CN 202111146749A CN 113868356 A CN113868356 A CN 113868356A
- Authority
- CN
- China
- Prior art keywords
- rendering
- target lane
- target
- navigation
- lane
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3407—Route searching; Route guidance specially adapted for specific applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3667—Display of a road map
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
Landscapes
- Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Navigation (AREA)
Abstract
本申请实施例提供一种渲染方法、设备、存储介质及计算机程序,其中,渲染方法包括:获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。因为根据前方的目标道路,动态调整渲染参数,使得目标道路的车道级渲染元素在屏幕视野范围内,满足用户浏览电子地图的视野需求,提高导航效果。
Embodiments of the present application provide a rendering method, device, storage medium, and computer program, wherein the rendering method includes: obtaining a positioning position and a navigation route of a navigated object; The target lane included in the target road that the navigation object will drive into; according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, the rendering parameters of the electronic map to be rendered are determined, and the rendering parameters are at least Lane-level rendering elements in the electronic map to be rendered are displayed within the field of view of the screen; the electronic map to be rendered is rendered according to the rendering parameters. Because the rendering parameters are dynamically adjusted according to the target road ahead, the lane-level rendering elements of the target road are within the field of view of the screen, which satisfies the user's visual field requirements for browsing the electronic map and improves the navigation effect.
Description
技术领域technical field
本申请实施例涉及渲染技术领域,尤其涉及一种渲染方法、设备、存储介质及计算机程序。Embodiments of the present application relate to the field of rendering technologies, and in particular, to a rendering method, device, storage medium, and computer program.
背景技术Background technique
随着导航技术的发展和普及,许多用户习惯在出行时使用具备地图导航功能的应用软件。具备地图导航功能的应用软件根据用户输入的起点和目的地为用户规划导航路线,并在用户出行过程中,根据用户的实时位置以及规划的导航路线对用户进行导航引导。但是,随着电子地图从普通电子地图向高精电子地图演进,电子地图对道路的表达更加丰富,如何使高精电子地图的渲染效果能够满足用户浏览电子地图的视野需求,或,提高驾驶安全性的要求,是本领域技术人员需要解决的问题。With the development and popularization of navigation technology, many users are used to using application software with map navigation function when traveling. 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 location of the user and the planned navigation route during the user's travel process. 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 needs of users browsing electronic maps, or improve driving safety? The requirement of sexuality is a problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供一种渲染方法、设备、存储介质及计算机程序,以至少部分解决上述问题。In view of this, embodiments of the present application provide a rendering method, device, storage medium, and computer program to at least partially solve the above problems.
根据本申请实施例的第一方面,提供了一种渲染方法,包括:获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。According to a first aspect of the embodiments of the present application, a rendering method is provided, including: acquiring a positioning position and a navigation route of a navigated object; The target lane included in the entered target road; according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, the rendering parameters of the electronic map to be rendered are determined, and the rendering parameters at least make the electronic map to be rendered. The lane-level rendering elements are displayed in the field of view of the screen; according to the rendering parameters, the electronic map to be rendered is rendered.
根据本申请实施例的第二方面,提供了一种渲染设备,包括:获取模块,用于获取被导航对象的定位位置以及导航路线;道路模块,用于根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;参数模块,用于根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;渲染模块,用于根据渲染参数,渲染待渲染电子地图。According to a second aspect of the embodiments of the present application, a rendering device is provided, including: an acquisition module for acquiring a positioning position and a navigation route of an object to be navigated; a road module for acquiring, according to the positioning position and the navigation route The target lane included in the target road that the navigation object will enter in front of the positioning position of the navigation object; the parameter module is used to determine the to-be-rendered according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane The rendering parameters of the electronic map, the rendering parameters enable at least the lane-level rendering elements in the electronic map to be rendered to be displayed in the field of view of the screen; the rendering module is used for rendering the electronic map to be rendered according to the rendering parameters.
根据本申请实施例的第三方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;存储器用于存放至少一可执行指令,可执行指令使处理器执行如第一方面的渲染方法对应的操作。According to a third aspect of the embodiments of the present application, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used for storing At least one executable instruction, the executable instruction enables the processor to perform operations corresponding to the rendering method of the first aspect.
根据本申请实施例的第四方面,提供了一种存储介质,其上存储有计算机程序,该程序被处理器执行时,实现如第一方面的渲染方法。According to a fourth aspect of the embodiments of the present application, there is provided a storage medium on which a computer program is stored, and when the program is executed by a processor, implements the rendering method of the first aspect.
根据本申请实施例的第五方面,提供了一种计算机程序产品,该计算机程序产品被处理器执行时,实现如第一方面的渲染方法。According to a fifth aspect of the embodiments of the present application, there is provided a computer program product that, when executed by a processor, implements the rendering method of the first aspect.
本申请实施例提供的渲染方法、设备、存储介质及计算机程序,获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。因为根据前方的目标道路,动态调整渲染参数,使得目标道路的车道级渲染元素在屏幕视野范围内,满足用户浏览电子地图的视野需求,提高导航效果。The rendering method, device, storage medium and computer program provided by the embodiments of the present application acquire the positioning position and navigation route of the object to be navigated; The target lane included in the target road; according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, the rendering parameters of the electronic map to be rendered are determined, and the rendering parameters are at least the lanes in the electronic map to be rendered. The high-level rendering elements are displayed in the field of view of the screen; according to the rendering parameters, the electronic map to be rendered is rendered. Because the rendering parameters are dynamically adjusted according to the target road ahead, the lane-level rendering elements of the target road are within the field of view of the screen, which satisfies the user's visual field requirements for browsing the electronic map and improves the navigation effect.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in the embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings.
图1为本申请实施例一提供的一种渲染方法的场景示意图;FIG. 1 is a schematic scene diagram of a rendering method according to Embodiment 1 of the present application;
图2为本申请实施例一提供的一种渲染方法的流程图;FIG. 2 is a flowchart of a rendering method according to Embodiment 1 of the present application;
图3为本申请实施例一提供的一种电子地图的显示效果示意图;3 is a schematic diagram of a display effect of an electronic map according to Embodiment 1 of the present application;
图4为本申请实施例一提供的一种电子地图的显示效果示意图;4 is a schematic diagram of a display effect of an electronic map according to Embodiment 1 of the present application;
图5为本申请实施例一提供的一种电子地图的显示效果示意图;FIG. 5 is a schematic diagram of a display effect of an electronic map according to Embodiment 1 of the present application;
图6为本申请实施例一提供的一种电子地图的显示效果示意图;6 is a schematic diagram of a display effect of an electronic map according to Embodiment 1 of the present application;
图7为本申请实施例二提供的一种渲染设备的结构图;FIG. 7 is a structural diagram of a rendering device according to Embodiment 2 of the present application;
图8为本申请实施例三提供的一种电子设备的结构图。FIG. 8 is a structural diagram of an electronic device according to Embodiment 3 of the present application.
具体实施方式Detailed ways
为了使本领域的人员更好地理解本申请实施例中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请实施例保护的范围。In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. The embodiments described above are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the embodiments of the present application should fall within the protection scope of the embodiments of the present application.
下面结合本申请实施例附图进一步说明本申请实施例具体实现。The specific implementation of the embodiments of the present application is further described below with reference to the accompanying drawings of the embodiments of the present application.
实施例一Example 1
本申请实施例一提供一种渲染方法,应用于渲染设备,为了便于理解,对本申请实施例一所提供的渲染方法的应用场景进行说明,参照图1所示,图1为本申请实施例一提供的一种渲染方法的场景示意图。图1所示的场景中包括电子设备101,电子设备101可以是执行本申请实施例一提供的渲染方法的设备,即渲染设备。Embodiment 1 of the present application provides a rendering method, which is applied to a rendering device. For ease of understanding, an application scenario of the rendering method provided by Embodiment 1 of the present application is described. Referring to FIG. 1 , FIG. 1 is Embodiment 1 of the present application. Provides a scene diagram of a rendering method. The scene shown in FIG. 1 includes an
电子设备101可以是车载终端、智能手机、平板电脑、笔记本电脑等终端设备。电子设备101可以接入网络,通过网络与云端连接,并进行数据交互,本申请中,网络包括局域网(英文:Local Area Network,LAN)、广域网(英文:Wide Area Network,WAN)、移动通信网络;如万维网(英文:World Wide Web,WWW)、长期演进(英文:Long Term Evolution,LTE)网络、2G网络(英文:2th Generation Mobile Network)、3G网络(英文:3th GenerationMobile Network),5G网络(英文:5th Generation Mobile Network)等。云端可以包括通过网络连接的各种设备,例如,服务器、中继设备、端到端(英文:Device-to-Device,D2D)设备等。当然,此处只是示例性说明,并不代表本申请局限于此。The
结合图1所示的场景,详细说明本申请实施例一提供的渲染方法,需要说明的是,图1只是本申请实施例一提供的渲染方法的一种应用场景,并不代表该渲染方法必须应用于图1所示的场景,具体可以应用于电子设备,参照图2所示,图2为本申请实施例一提供的一种渲染方法的流程图,该方法包括以下步骤:The rendering method provided by Embodiment 1 of the present application is described in detail with reference to the scene shown in FIG. 1 . It should be noted that FIG. 1 is only an application scenario of the rendering method provided by Embodiment 1 of the present application, which does not mean that the rendering method must be It is applied to the scene shown in FIG. 1, and can be specifically applied to electronic equipment. Referring to FIG. 2, FIG. 2 is a flowchart of a rendering method provided in Embodiment 1 of the present application, and the method includes the following steps:
步骤201、获取被导航对象的定位位置以及导航路线。Step 201: Obtain the positioning position and navigation route of the object to be navigated.
被导航对象可以是用户驾驶或搭乘的车辆,或者用户手持的终端设备等,可选地,被导航对象的定位位置可以通过车载终端或者终端设备上的全球导航卫星系统(英文:Global Navigation Satellite System,GNSS)定位模块,或,结合网络定位服务确定。例如,通过车载终端确定车辆的定位位置。导航路线用于指示为用户规划的从出发点到终点之间的行驶路线,出发点和终点可以是用户自行设定的。The object to be navigated can be a vehicle driven or taken by the user, or a terminal device held by the user. , GNSS) positioning module, or, determined in conjunction with network positioning services. For example, the positioning position of the vehicle is determined by the vehicle-mounted terminal. The navigation route is used to indicate the travel route planned for the user from the starting point to the ending point, and the starting point and the ending point can be set by the user.
步骤202、根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道。
被导航对象的前方的目标道路可以指示从定位位置按照导航路线沿行驶方向向前预设长度的道路。目标道路可以包含一个或多个目标车道,可选地,在一种实现方式中,目标车道可以包含目标道路内与被导航对象所在车道通行方向相同的所有车道。例如,以定位位置所在的车道为例,定位位置所在的目标道路包含8个车道,车道ABCD为同向车道,车道EFGH为同向车道段,如果定位位置所在的车道为车道A,则车道ABCD均属于目标车道。或者,在另一种实现方式中,目标车道段包含按照行驶方向,在定位位置前方设定距离内,被导航对象沿着导航路线将驶入的车道。需要说明的是,预设距离可以根据实际情况设定,例如,预设长度可以是10m、20m、100m、500m等,本申请对此不作限制。The target road ahead of the object being navigated may indicate a road that is forward by a preset length in the driving direction from the positioning position according to the navigation route. The target road may include one or more target lanes. Optionally, in an implementation manner, the target lane may include all lanes in the target road that have the same direction of travel as the lane where the navigation 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 contains 8 lanes, lane ABCD is the same-direction lane, and lane EFGH is the same-direction lane segment. If the lane where the positioning position is located is lane A, then lane ABCD belong to the target lane. Or, in another implementation manner, the target lane segment includes a lane that the navigated object will enter along the navigation route within a set distance ahead of the positioning position according to the driving direction. It should be noted that the preset distance may be set according to actual conditions, for example, the preset length may be 10m, 20m, 100m, 500m, etc., which is not limited in this application.
步骤203、根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数。Step 203: Determine the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane.
渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内。目标车道的属性可以指示目标车道的形状、类型、曲率、是否连接路口、路口的位置等,其中,车道的形状可以包括连续弯道、匝道、盘桥等。导航路线在目标车道上的导航引导动作可以包括沿主路直行、转弯、急转弯、掉头等。The rendering parameter enables at least lane-level rendering elements in the electronic map to be rendered to be displayed within the field of view of the screen. The attributes of the target lane may indicate the shape, type, curvature, whether to connect the intersection, the location of the intersection, etc., where the shape of the lane may include continuous curves, ramps, winding bridges, and the like. The navigation guidance actions of the navigation route on the target lane may include going straight along the main road, turning, sharp turning, U-turn, and the like.
在本申请中,渲染参数可以包括比例尺、方向角和俯视角中的至少一项。需要说明的是,比例尺指的是图上距离与实际距离的比值,比例尺越大,电子地图显示的范围越小,细节越清晰,比例尺越小,电子地图显示的范围越大,细节越模糊,在本申请中,渲染参数的比例尺与普通地图的比例尺的取值范围不同,普通地图的比例尺需要更宽范围的调整,通常,普通地图的比例尺的最大取值通常在1/200000到1/2500000,即地图上1厘米代表实际距离2公里,到地图上1厘米代表实际距离25公里这个区间范围,而本申请中,渲染参数的比例尺取值范围在1/2500到1/500之间,这个取值范围可以包括端点,即渲染参数的比例尺取值可以是1/2500或1/500;方向角指的是屏幕显示前方与被导航对象行驶方向之间的夹角,屏幕显示前方可以是屏幕下边沿到上边沿延伸的方向;俯视角指的是用户观看电子地图的方向与电子地图中的水平面之间的夹角,例如,如果用户观看电子地图的方向可以是垂直俯视电子地图的地面的视角,则俯视角为90度。In the present application, the rendering parameters may include at least one of a scale, an orientation angle, and a top-down angle. It should be noted that the scale bar refers to the ratio of the distance on the map to the actual distance. The larger the scale bar, the smaller the range displayed on the electronic map and the clearer the details. In this application, the value range of the scale of the rendering parameter is different from that of the ordinary map, and 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 1/200000 to 1/2500000 , that is, 1 cm on the map represents the actual distance of 2 kilometers, and 1 cm on the map represents the actual distance of 25 kilometers. In this application, the scale of the rendering parameter ranges from 1/2500 to 1/500. This The value range can include endpoints, that is, the scale value of the rendering parameter can be 1/2500 or 1/500; the direction angle refers to the angle between the front of the screen and the driving direction of the navigated object, and the front of the screen can be the screen. The direction extending from the lower edge to the upper edge; the overlooking angle refers to the angle between the direction in which the user views the electronic map and the horizontal plane in the electronic map. The viewing angle is 90 degrees.
可选地,在一种实现方式中,调整渲染参数是为了给予驾驶员更好的观察视野,更好地显示车道级渲染元素,本申请中,观察视野可以包括观察方向和视野范围。示例性地,根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,包括:根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,预测驾驶员对电子地图的目标观察视野,目标视野信息用于指示预测得到的驾驶员的视野范围和视野方向;基于目标观察视野调整电子地图的渲染参数,使得实际观察视野以接近目标观察视野的趋势变化。需要说明的是,预测得到的目标观察视野,是和前方目标道路地路况相匹配的适合驾驶员的视野,因为目标道路的路况和当前所行驶的道路的路况是不同的,当前观察视野未必能够适应前方的目标道路,因此,基于目标道路进行预测得到目标观察视野,并且调整渲染参数,使得实际观察视野朝着目标观察视野变化。Optionally, in an implementation manner, the adjustment of the rendering parameters is to give the driver a better observation field and better display the lane-level rendering elements. In this application, the observation field may include the observation direction and the field of view. Exemplarily, determining the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, including: according to the attributes of the target lane included in the target road and/or The navigation guidance action of the navigation route on the target lane, predicts the driver's target observation field of view of the electronic map, and the target field of view information is used to indicate the predicted driver's field of view and field of view direction; adjust the rendering parameters of the electronic map based on the target observation field of view , so that the actual observation field is close to the trend of the target observation field. It should be noted that the predicted target observation field of view is a field of vision suitable for the driver that matches the road conditions of the target road ahead. It adapts to the target road ahead. Therefore, the target observation field of view is obtained by prediction based on the target road, and the rendering parameters are adjusted so that the actual observation field of view changes toward the target observation field of view.
可选地,此处列举四种具体的应用场景对如何调整渲染参数进行详细说明。Optionally, four specific application scenarios are listed here to describe in detail how to adjust the rendering parameters.
可选地,在第一种应用场景中,如图3所示,图3为本申请实施例一提供的一种电子地图的显示效果示意图,导航路线在目标车道上的导航引导动作指示在目标车道直行,也可以称为顺行,或在目标车道沿主路行驶,在这种应用场景中,因为直行,不需要观察电子地图的细节,可以保证较大的观察视野。Optionally, in the first application scenario, as shown in FIG. 3 , FIG. 3 is a schematic diagram of the display effect of an electronic map provided by Embodiment 1 of the present application, and the navigation guidance action of the navigation route on the target lane indicates that the target Driving straight in the lane can also be called forward driving, or driving along the main road in the target lane. In this application scenario, because of the straight driving, there is no need to observe the details of the electronic map, which can ensure a large observation field.
示例性地,如图3所示,渲染参数包括比例尺,根据导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,包括:当导航路线在目标车道上的导航引导动作是沿目标车道直行,则减小比例尺,以使得目标车道显示在屏幕视野范围内的长度达到预设的距离值。减小电子地图的比例尺后,实际观察视野的视野范围变大,驾驶员能够看到更远的道路,便于驾驶。需要说明的是,此处,预设的距离值可以根据实际情况进行设定,例如预设的距离值可以是1km、2km、5km、10km等。Exemplarily, as shown in FIG. 3 , the rendering parameters include a scale, and the rendering parameters of the electronic map to be rendered are determined according to the navigation guidance action of the navigation route on the target lane, including: when the navigation guidance action of the navigation route on the target lane is: If you drive straight along the target lane, reduce the scale, so that the length of the target lane displayed in the field of view of the screen reaches the preset distance value. After reducing the scale of the electronic map, the field of view of the actual observation field becomes larger, and the driver can see the road farther, which is convenient for driving. It should be noted that, here, the preset distance value may be set according to the actual situation, for example, the preset distance value may be 1km, 2km, 5km, 10km and so on.
示例性地,如图3所示,渲染参数包括方向角和俯视角,根据目标道路包含的目标车道的属性和导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,包括:根据目标车道的属性确定目标车道的曲率大于预设的曲率阈值,且导航路线在目标车道上的导航引导动作是沿目标车道直行,则按照目标道路的曲率调整渲染参数中的方向角,并增大渲染参数中的俯视角,以使得目标车道显示在屏幕视野范围内。需要说明的是,目标车道的曲率表示目标车道的弯曲程度,可以利用目标车道起点的切线与终点切线之间的夹角来表示目标车道的曲率。可以将方向设置为按照目标车道弯曲的方向偏转预设角度,相当于将屏幕显示的前方相对于被导航对象行驶方向的前方按照道路弯曲的方向偏转预设角度,也可以说是将电子地图按照与目标车道弯曲的方向相反的方向旋转预设角度,预设角度可以根据具体情况设定,本申请对预设角度的具体取值不作限制。Exemplarily, as shown in FIG. 3 , the rendering parameters include a direction angle and a top-down angle, and the rendering parameters of the electronic map to be rendered are determined according to the attributes of the target lane included in the target road and the navigation guidance action of the navigation route on the target lane, including: : According to the attributes of the target lane, it is determined that the curvature of the target lane is greater than the preset curvature threshold, and the navigation guidance action of the navigation route on the target lane is to go straight along the target lane, then adjust the direction angle in the rendering parameters according to the curvature of the target road, and Increase the top view angle in the rendering parameters so that the target lane is displayed within the field of view of the screen. It should be noted that the curvature of the target lane represents the degree of curvature of the target lane, and the angle between the tangent of the starting point of the target lane and the tangent of the end point can be used to represent the curvature of the target lane. The direction can be set to be deflected by a preset angle according to the direction of the target lane, which is equivalent to deflecting the front of the screen display relative to the direction of the navigation object’s driving direction according to the direction of the road curve. The preset angle is rotated in a direction opposite to the direction in which the target lane is curved. The preset angle can be set according to specific conditions, and the specific value of the preset angle is not limited in this application.
例如,如果根据目标车道的属性确定目标车道为曲率大于预设的曲率阈值的盘桥/匝道,则减小电子地图的比例尺,并增大俯视角,使得渲染元素中包含的盘桥/匝道尽可能多的在屏幕的显示区域显示。需要说明的是,此处的偏转是在与地面平行的平面内偏转,目标车道曲率较大,增大俯视角,更离于驾驶员观察道路形状,做出准确判断。For example, if it is determined according to the attributes of the target lane that the target lane is a winding bridge/ramp with a curvature greater than a preset curvature threshold, the scale of the electronic map is reduced and the top-down angle is increased, so that the winding bridge/ramp included in the rendering element is fully More may be displayed in the display area of the screen. It should be noted that the deflection here is in a plane parallel to the ground, and the target lane has a large curvature, increasing the bird's-eye view angle, and making accurate judgments away from the driver's observation of the road shape.
还需要说明的是,第一种应用场景中的示例,可以单独执行,也可以结合起来形成新的方案,本申请对此不作限制。It should also be noted that the examples in the first application scenario can be executed independently or combined to form a new solution, which is not limited in this application.
可选地,在第二种应用场景中,如图4所示,图4为本申请实施例一提供的一种电子地图的显示效果示意图,导航路线在目标车道上的导航引导动作指示在目标车道前方路口转弯,因为转弯需要展示更多的道路细节,便于驾驶员判断前方路口与定位位置之间的位置关系,可以增大比例尺。示例性地,渲染参数包括比例尺和俯视角,根据导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,包括:当导航路线在目标车道上的导航引导动作指示在目标车道前方路口转弯,则增大电子地图的比例尺,并增大渲染参数中的俯视角,以使得渲染元素中前方路口显示在屏幕视野范围内。还需要说明的是,在一种实现方式中,在被导航对象接近前方路口的过程中,可以逐渐增大电子地图的比例尺,并逐渐增大导航视角中的俯视角。Optionally, in the second application scenario, as shown in FIG. 4 , which is a schematic diagram of the display effect of an electronic map provided in Embodiment 1 of the present application, the navigation guidance action of the navigation route on the target lane indicates that the target Turning at the intersection in front of the lane, because turning needs to show more road details, it is convenient for the driver to judge the positional relationship between the intersection ahead and the positioning position, and the scale can be increased. Exemplarily, the rendering parameters include a scale and a top-down angle, and the rendering parameters of the electronic map to be rendered are determined according to the navigation guidance action of the navigation route on the target lane, including: when the navigation guidance action of the navigation route on the target lane indicates that the navigation route is in the target lane When turning at the intersection ahead, increase the scale of the electronic map, and increase the top-down angle in the rendering parameters, so that the intersection ahead in the rendering element is displayed within the field of view of the screen. It should also be noted that, in an implementation manner, the scale of the electronic map may be gradually increased, and the top-down angle in the navigation viewing angle may be gradually increased during the process of the navigation object approaching the intersection ahead.
进一步地,在一种示例中,渲染参数还包括方向角,确定待渲染电子地图的渲染参数,包括:按照导航路线在目标车道上的导航引导动作指示的转弯方向,调整渲染参数中的方向角,以使得渲染元素中前方路口显示在屏幕视野范围的中间区域内。可选地,屏幕视野范围的中间区域可以是屏幕视野范围中,按照从左到右的方向,位于中间的区域,如图3所示,屏幕视野范围的中间70%的区域为中间区域,将渲染元素中前方路口调整到中间区域显示,更利于驾驶员判断定位位置和路口之间的相对位置关系。Further, in an example, the rendering parameters also include a direction angle, and determining the rendering parameters of the electronic map to be rendered includes: adjusting the direction angle in the rendering parameters according to the turning direction indicated by the navigation guidance action of the navigation route on the target lane. , so that the front intersection in the rendering element is displayed in the middle area of the screen's field of view. Optionally, the middle area of the field of view of the screen may be the area located in the middle of the field of view of the screen in the direction from left to right. As shown in FIG. 3 , the middle 70% area of the field of view of the screen is the middle area. The front intersection in the rendering element is adjusted to be displayed in the middle area, which is more helpful for the driver to judge the relative positional relationship between the positioning position and the intersection.
需要说明的是,结合第一种应用场景中,如果目标车道的曲率大于预设的曲率阈值,则在调整方向角的过程中,需保证前方路口显示在屏幕视野范围的中间区域内。It should be noted that, in combination with the first application scenario, if the curvature of the target lane is greater than the preset curvature threshold, in the process of adjusting the direction angle, it is necessary to ensure that the front intersection is displayed in the middle area of the screen field of view.
可选地,在第三种应用场景中,如图5所示,图5为本申请实施例一提供的一种电子地图的显示效果示意图,渲染参数包括比例尺,根据目标道路包含的目标车道的属性,确定待渲染电子地图的渲染参数,包括:根据目标道路包含的目标车道的属性,确定目标车道为禁止行驶的专用车道时,增大比例尺以在屏幕视野范围内展示专用车道的详情。进一步可选地,如果根据导航路线和在目标车道上的导航引导动作确定定位位置已经偏离导航路线,且根据目标道路包含的目标车道的属性确定目标道路为禁止行驶的专用车道,则增大渲染参数中的比例尺,并进行违规提示。因为导航路线是预先规划的,不会经过禁止行驶的专用车道,如果被导航对象偏离导航路线时,需要确定目标车道是否为禁止行驶的专用车道。此处以禁止行驶的专用车道为例,可选地,还可以判断定位位置是否位于禁止行驶区域,如果定位位置位于禁止行驶区域,增大渲染参数中的比例尺,可以展示禁止行驶区域的细节,还可以向用户进行提示。禁止行驶区域可以包括禁止行驶的专用车道、也可以包括禁止行驶的路边区域,此处不一一列举。示例性地,如果被导航对象是普通汽车,则非机动车道、公交车专用道、应急车道属于禁止行驶的专用车道;如果被导航对象是自行车,则机动车道属于禁止行驶的专用车道。此处只是示例性说明,并不代表本申请局限于此。Optionally, in a third application scenario, as shown in FIG. 5 , which is a schematic diagram of a display effect of an electronic map provided in Embodiment 1 of the present application, the rendering parameters include a scale, according to the size of the target lane included in the target road. attribute to determine the rendering parameters of the electronic map to be rendered, including: according to the attributes of the target lane included in the target road, when it is determined that the target lane is a dedicated lane for which driving is prohibited, increasing the scale to display the details of the dedicated lane within the field of view of the screen. Further optionally, if it is determined that the positioning position has deviated from the navigation route according to the navigation route and the navigation guidance action on the target lane, and the target road is determined to be a dedicated lane for which driving is prohibited according to the attributes of the target lane included in the target road, the rendering is increased. The scale bar in the parameters, and the violation prompts. Because the navigation route is pre-planned and does not pass through the special lane where driving is prohibited, if the object being guided deviates from the navigation route, it is necessary to determine whether the target lane is the special lane where driving is prohibited. Here, take the special lane where driving is prohibited as an example. Optionally, it can also be determined whether the positioning position is in the prohibited driving area. If the positioning position is in the prohibited driving area, increase the scale in the rendering parameters to display the details of the prohibited driving area. The user can be prompted. The prohibited driving area may include a dedicated lane where driving is prohibited, and may also include a roadside area where driving is prohibited, which are not listed here. Exemplarily, if the object to be navigated is an ordinary car, the non-motor vehicle lane, the bus-only lane, and the emergency lane belong to the exclusive lanes for which driving is prohibited; if the object to be navigated is a bicycle, the motor vehicle lane belongs to the exclusive lanes for which driving is prohibited. This is just an exemplary illustration, which does not mean that the present application is limited thereto.
可选地,在第四种应用场景中,如图6所示,图6为本申请实施例一提供的一种电子地图的显示效果示意图,渲染参数包括比例尺,根据目标道路包含的目标车道的属性和导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,包括:根据目标道路包含的目标车道的属性和导航路线在目标车道上的导航引导动作,确定目标车道上存在至少两个连续的路口且导航路线在目标车道上的导航引导动作为转弯时,则动态调整比例尺,使得至少两个连续的路口的转弯动作显示在屏幕视野范围内。例如,以屏幕视野范围保持两个转弯处为例,如果屏幕视野范围内的转弯处大于两个,则增大比例尺,展示道路细节,如果屏幕视野范围内的路口小于两个,则减小比例尺,增大观察视野,这样既保证了道路细节得到展示,又保证了较为宽阔的视野,提高了驾驶安全。还需要说明的是,此处,以至少两个连续的路口为例,如果不是路口,而是连续弯道,也可以动态调整比例尺,使得屏幕视野范围内保持两个转弯处。Optionally, in the fourth application scenario, as shown in FIG. 6 , which is a schematic diagram of a display effect of an electronic map provided in Embodiment 1 of the present application, the rendering parameters include a scale, and according to the size of the target lane included in the target road Navigation and guidance actions of attributes and navigation routes on the target lane, and determining the rendering parameters of the electronic map to be rendered, including: according to the attributes of the target lane contained in the target road and the navigation and guidance actions of the navigation routes on the target lane, determining that there is a presence on the target lane When there are at least two consecutive intersections and the navigation guidance 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 consecutive intersections are displayed within the field of view of the screen. For example, take the screen field of view to keep two turns as an example, if there are more than two turns within the screen field of view, increase the scale to display road details, and if the screen field of view has less than two intersections, reduce the scale , to increase the observation field, which not only ensures the display of road details, but also ensures a wider field of vision and improves driving safety. It should also be noted that here, taking at least two consecutive intersections as an example, if it is not an intersection but a continuous curve, the scale can also be dynamically adjusted to keep two corners within the field of view of the screen.
还需要说明的是,以上四个应用场景,可以单独实施,也可以任意结合,本申请对此不作限制。It should also be noted that, the above four application scenarios may be implemented independently, or may be arbitrarily combined, which is not limited in this application.
步骤204、根据渲染参数,渲染待渲染电子地图。Step 204: Render the electronic map to be rendered according to the rendering parameters.
结合上述步骤201-204描述的渲染方法,需要说明的是,在一种示例中,用户可以手动调整电子地图的渲染参数,例如,以智能手机上显示的电子地图为例,用户可以对电子地图进行缩小(减小比例尺)以及放大(增大比例尺),还可以对电子地图滑动(调整视野范围)、对电子地图旋转(调整方向角和俯视角)。在渲染设备检测到用户调整渲染参数的操作时,响应于用户调整渲染参数的操作,生成渲染参数的调整信息,并退出根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,基于调整信息调整渲染参数,并基于调整后的渲染参数渲染电子地图。在用户手动调整渲染参数时(即调整对于电子地图的观察视野),以用户操作为主。在用户操作之后,如果预设时间长度内没有再检测到用户调整渲染参数的操作,则继续根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数。With reference to the rendering method described in the above steps 201-204, it should be noted that, in an example, the user can manually adjust the rendering parameters of the electronic map. Zoom out (decrease the scale) and zoom in (increase the scale), you can also slide the electronic map (adjust the field of view), and rotate the electronic map (adjust the direction angle and top-down angle). When the rendering device detects the user's operation of adjusting the rendering parameters, in response to the user's operation of adjusting the rendering parameters, it generates adjustment information of the rendering parameters, and exits the target lane according to the attributes of the target lane included in the target road and/or the navigation route on the target lane. The navigation guide action determines the rendering parameters of the electronic map to be rendered, adjusts the rendering parameters based on the adjustment information, and renders the electronic map based on the adjusted rendering parameters. When the user manually adjusts the rendering parameters (ie, adjusts the viewing field of view of the electronic map), the user's operation is the main thing. After the user's operation, if the user's operation of adjusting the rendering parameters is not detected within the preset time period, continue to determine the to-be-rendered according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane The rendering parameters of the electronic map.
本申请实施例提供的渲染方法,获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。因为根据前方的目标道路,动态调整渲染参数,使得目标道路的车道级渲染元素在屏幕视野范围内,满足用户浏览电子地图的视野需求,提高导航效果。The rendering method provided by the embodiment of the present application obtains the positioning position and the navigation route of the object to be navigated; according to the positioning position and the navigation route, obtains the target lane included in the target road that the navigation object will enter ahead of the positioning position of the object to be navigated; The attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, determine the rendering parameters of the electronic map to be rendered, and the rendering parameters at least make the lane-level rendering elements in the electronic map to be rendered displayed in the screen field of view inside; according to the rendering parameters, render the electronic map to be rendered. Because the rendering parameters are dynamically adjusted according to the target road ahead, the lane-level rendering elements of the target road are within the field of view of the screen, which satisfies the user's visual field requirements for browsing the electronic map and improves the navigation effect.
实施例二Embodiment 2
基于上述实施例一所描述的方法,本申请实施例二提供一种渲染设备,用于执行上述实施例一所描述的方法,参照图7所示,渲染设备70,包括:Based on the method described in Embodiment 1 above, Embodiment 2 of the present application provides a rendering device for executing the method described in Embodiment 1 above. Referring to FIG. 7 , a rendering device 70 includes:
获取模块701,用于获取被导航对象的定位位置以及导航路线。The obtaining module 701 is used for obtaining the positioning position and the navigation route of the object being navigated.
道路模块702,用于根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道。The road module 702 is configured to acquire, according to the positioning position and the navigation route, a target lane included in the target road that the navigation object will enter ahead of the positioning position of the navigation object.
参数模块703,用于根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内。The parameter module 703 is used to determine the rendering parameters of the electronic map to be rendered according to the attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, and the rendering parameters make at least the lane level in the electronic map to be rendered. Rendered elements are displayed within the field of view of the screen.
渲染模块704,用于根据渲染参数,渲染待渲染电子地图。The rendering module 704 is configured to render the electronic map to be rendered according to the rendering parameters.
可选地,在一种具体示例中,渲染参数包括比例尺,参数模块703,根据目标道路包含的目标车道的属性,确定目标车道为禁止行驶的专用车道时,增大比例尺以在屏幕视野范围内展示专用车道的详情。Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703, according to the attributes of the target lane included in the target road, when determining that the target lane is a dedicated lane for which driving is prohibited, increase the scale to be within the field of view of the screen. Displays details of dedicated lanes.
可选地,在一种具体示例中,渲染参数包括比例尺,参数模块703,用于根据目标道路包含的目标车道的属性和导航路线在目标车道上的导航引导动作,确定目标车道上存在至少两个连续的路口且导航路线在目标车道上的导航引导动作为转弯时,则动态调整比例尺,使得至少两个连续的路口的转弯动作显示在屏幕视野范围内。Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703 is configured to determine that there are at least two elements on the target lane according to the attributes of the target lane included in the target road and the navigation guidance action of the navigation route on the target lane. When there are consecutive intersections and the navigation guidance action of the navigation route on the target lane is turning, the scale is dynamically adjusted so that the turning actions of at least two consecutive intersections are displayed within the screen field of view.
可选地,在一种具体示例中,渲染参数包括比例尺,参数模块703,用于当导航路线在目标车道上的导航引导动作是沿目标车道直行,则减小比例尺,以使得目标车道显示在屏幕视野范围内的长度达到预设的距离值。Optionally, in a specific example, the rendering parameter includes a scale, and the parameter module 703 is configured to reduce the scale when the navigation guidance action of the navigation route on the target lane is to go straight along the target lane, so that the target lane is displayed on the target lane. The length within the field of view of the screen reaches the preset distance value.
可选地,在一种具体示例中,渲染参数包括方向角和俯视角,参数模块703,用于根据目标车道的属性确定目标车道的曲率大于预设的曲率阈值,且导航路线在目标车道上的导航引导动作是沿目标车道直行,则按照目标道路的曲率调整渲染参数中的方向角,并增大渲染参数中的俯视角,以使得目标车道显示在屏幕视野范围内。Optionally, in a specific example, the rendering parameters include a direction angle and a top-down angle, and the parameter module 703 is configured to determine, according to the attribute of the target lane, that the curvature of the target lane is greater than a preset curvature threshold, and the navigation route is on the target lane. If the navigation guidance action is to go straight along the target lane, adjust the direction angle in the rendering parameters according to the curvature of the target road, and increase the top view angle in the rendering parameters, so that the target lane is displayed within the screen field of view.
可选地,在一种具体示例中,渲染参数包括比例尺和俯视角,参数模块703,用于当导航路线在目标车道上的导航引导动作指示在目标车道前方路口转弯,则增大电子地图的比例尺,并增大渲染参数中的俯视角,以使得渲染元素中前方路口显示在屏幕视野范围内。Optionally, in a specific example, the rendering parameters include a scale and a top-down angle. The parameter module 703 is configured to increase the size of the electronic map when the navigation guidance action of the navigation route on the target lane indicates a turn at the intersection ahead of the target lane. Scale, and increase the top view angle in the rendering parameters, so that the front intersection in the rendering element is displayed in the screen field of view.
可选地,在一种具体示例中,渲染参数还包括方向角,参数模块703,用于按照导航路线在目标车道上的导航引导动作指示的转弯方向,调整渲染参数中的方向角,以使得渲染元素中前方路口显示在屏幕视野范围的中间区域内。Optionally, in a specific example, the rendering parameters further include a direction angle, and the parameter module 703 is configured to adjust the direction angle in the rendering parameters according to the turning direction indicated by the navigation guidance action of the navigation route on the target lane, so that The intersection ahead in the rendered element is displayed in the middle area of the screen's field of view.
本申请实施例提供的渲染设备,获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。因为根据前方的目标道路,动态调整渲染参数,使得目标道路的车道级渲染元素在屏幕视野范围内,满足用户浏览电子地图的视野需求,提高导航效果。The rendering device provided by the embodiment of the present application obtains the positioning position and the navigation route of the object to be navigated; according to the positioning position and the navigation route, obtains the target lane included in the target road that the navigation object will enter ahead of the positioning position of the object to be navigated; The attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, determine the rendering parameters of the electronic map to be rendered, and the rendering parameters at least make the lane-level rendering elements in the electronic map to be rendered displayed in the screen field of view inside; according to the rendering parameters, render the electronic map to be rendered. Because the rendering parameters are dynamically adjusted according to the target road ahead, the lane-level rendering elements of the target road are within the field of view of the screen, which satisfies the user's visual field requirements for browsing the electronic map and improves the navigation effect.
实施例三Embodiment 3
基于上述实施例一所描述的方法,本申请实施例三提供一种电子设备,用于执行上述实施例一所描述的方法,参照图8,示出了根据本申请实施例三的一种电子设备的结构示意图,本申请具体实施例并不对电子设备的具体实现做限定。Based on the method described in Embodiment 1 above, Embodiment 3 of the present application provides an electronic device for executing the method described in Embodiment 1 above. Referring to FIG. 8 , an electronic device according to Embodiment 3 of the present application is shown. A schematic structural diagram of the device, the specific embodiments of the present application do not limit the specific implementation of the electronic device.
如图8所示,该电子设备80可以包括:处理器(processor)802、通信接口(Communications Interface)804、存储器(memory)806、以及通信总线808。As shown in FIG. 8 , the
其中:in:
处理器802、通信接口804、以及存储器806通过通信总线808完成相互间的通信。The
通信接口804,用于与其它电子设备或服务器进行通信。The
处理器802,用于执行程序810,具体可以执行上述渲染方法实施例中的相关步骤。The
具体地,程序810可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the
处理器802可能是CPU(英文:Central Processing Unit)处理单元,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。智能设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The
存储器806,用于存放程序810。存储器806可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The
程序810具体可以用于使得处理器802执行以实现实施例一中所描述的渲染方法。程序810中各步骤的具体实现可以参见上述渲染方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。The
本申请实施例提供的电子设备,获取被导航对象的定位位置以及导航路线;根据定位位置以及导航路线,获取位于被导航对象定位位置前方被导航对象将驶入的目标道路包含的目标车道;根据目标道路包含的目标车道的属性和/或导航路线在目标车道上的导航引导动作,确定待渲染电子地图的渲染参数,渲染参数至少使待渲染电子地图中的车道级渲染元素显示在屏幕视野范围内;根据渲染参数,渲染待渲染电子地图。因为根据前方的目标道路,动态调整渲染参数,使得目标道路的车道级渲染元素在屏幕视野范围内,满足用户浏览电子地图的视野需求,提高导航效果。The electronic device provided by the embodiment of the present application obtains the positioning position and the navigation route of the object to be navigated; according to the positioning position and the navigation route, obtains the target lane included in the target road that the navigation object will enter ahead of the positioning position of the object to be navigated; The attributes of the target lane included in the target road and/or the navigation guidance action of the navigation route on the target lane, determine the rendering parameters of the electronic map to be rendered, and the rendering parameters at least make the lane-level rendering elements in the electronic map to be rendered displayed in the screen field of view inside; according to the rendering parameters, render the electronic map to be rendered. Because the rendering parameters are dynamically adjusted according to the target road ahead, the lane-level rendering elements of the target road are within the field of view of the screen, which satisfies the user's visual field requirements for browsing the electronic map and improves the navigation effect.
实施例四Embodiment 4
基于上述实施例一所描述的方法,本申请实施例四提供一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如实施例一所描述的方法。Based on the method described in Embodiment 1 above, Embodiment 4 of the present application provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in Embodiment 1 is implemented.
实施例五Embodiment 5
基于上述实施例一所描述的方法,本申请实施例四提供一种计算机程序产品,该计算机程序产品被处理器执行时实现如实施例一所描述的方法。Based on the method described in Embodiment 1 above, Embodiment 4 of the present application provides a computer program product, which implements the method described in Embodiment 1 when the computer program product is executed by a processor.
需要指出,根据实施的需要,可将本申请实施例中描述的各个部件/步骤拆分为更多部件/步骤,也可将两个或多个部件/步骤或者部件/步骤的部分操作组合成新的部件/步骤,以实现本申请实施例的目的。It should be pointed out that, according to the needs of implementation, each component/step described in the embodiments of the present application may be split into more components/steps, or two or more components/steps or part of operations of components/steps may be combined into New components/steps to achieve the purpose of the embodiments of the present application.
上述根据本申请实施例的方法可在硬件、固件中实现,或者被实现为可存储在记录介质(诸如CD ROM、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码,或者被实现通过网络下载的原始存储在远程记录介质或非暂时机器可读介质中并将被存储在本地记录介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件(诸如ASIC或FPGA)的记录介质上的这样的软件处理。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件(例如,RAM、ROM、闪存等),当软件或计算机代码被计算机、处理器或硬件访问且执行时,实现在此描述的导航方法。此外,当通用计算机访问用于实现在此示出的导航方法的代码时,代码的执行将通用计算机转换为用于执行在此示出的导航方法的专用计算机。The above-described methods according to the embodiments of the present application may be implemented in hardware, firmware, or as software or computer codes that may be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented by Network downloaded computer code originally stored in a remote recording medium or non-transitory machine-readable medium and will be stored in a local recording medium so that the methods described herein can be stored on a computer using a general purpose computer, special purpose processor or programmable or such software processing on a recording medium of dedicated hardware such as ASIC or FPGA. It is understood that a computer, processor, microprocessor controller or programmable hardware includes storage components (eg, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is executed by a computer, processor or hardware access and execution, implements the navigation methods described herein. Furthermore, when a general-purpose computer accesses code for implementing the navigation methods shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the navigation methods shown herein.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。Those of ordinary skill in the art can realize that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Experts may use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present application.
以上实施方式仅用于说明本申请实施例,而并非对本申请实施例的限制,有关技术领域的普通技术人员,在不脱离本申请实施例的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本申请实施例的范畴,本申请实施例的专利保护范围应由权利要求限定。The above embodiments are only used to illustrate the embodiments of the present application, but are not intended to limit the embodiments of the present application. Those of ordinary skill in the relevant technical field can also make various Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111146749.3A CN113868356B (en) | 2021-09-28 | 2021-09-28 | Rendering methods, devices, storage media, and computer programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111146749.3A CN113868356B (en) | 2021-09-28 | 2021-09-28 | Rendering methods, devices, storage media, and computer programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113868356A true CN113868356A (en) | 2021-12-31 |
| CN113868356B CN113868356B (en) | 2025-12-05 |
Family
ID=78992367
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111146749.3A Active CN113868356B (en) | 2021-09-28 | 2021-09-28 | Rendering methods, devices, storage media, and computer programs |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113868356B (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114067120A (en) * | 2022-01-17 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Augmented reality-based navigation paving method, device and computer readable medium |
| CN114461742A (en) * | 2022-02-11 | 2022-05-10 | 阿里巴巴(中国)有限公司 | Electronic map scale determining method and device, electronic equipment and storage medium |
| CN114509087A (en) * | 2022-02-21 | 2022-05-17 | 高德软件有限公司 | Positioning method, electronic device and computer storage medium |
| CN114518123A (en) * | 2022-02-24 | 2022-05-20 | 高德软件有限公司 | Information processing method |
| CN114705212A (en) * | 2022-03-30 | 2022-07-05 | 高德软件有限公司 | Navigation information display method, navigation information display apparatus, navigation information storage medium, and program product |
| CN114812598A (en) * | 2022-03-21 | 2022-07-29 | 高德软件有限公司 | Navigation interface display method and computer program product of target road section |
| CN114812599A (en) * | 2022-03-31 | 2022-07-29 | 阿里巴巴(中国)有限公司 | Navigation method, corresponding device, electronic equipment and computer program product |
| CN114863672A (en) * | 2022-03-22 | 2022-08-05 | 阿里巴巴(中国)有限公司 | Dynamic traffic display method and device |
| CN114964289A (en) * | 2022-05-20 | 2022-08-30 | 阿里巴巴(中国)有限公司 | Navigation method, device, electronic equipment and program product combining traffic early warning |
| CN115112145A (en) * | 2022-05-19 | 2022-09-27 | 腾讯科技(深圳)有限公司 | Navigation method, navigation device, computer equipment, storage medium and computer program product |
| CN115355921A (en) * | 2022-08-16 | 2022-11-18 | 阿里巴巴(中国)有限公司 | Navigation action acquisition method, navigation device, navigation equipment, navigation medium and product |
| CN115937479A (en) * | 2022-12-30 | 2023-04-07 | 阿里巴巴(中国)有限公司 | Navigation guide surface processing method, device, electronic device and computer program product |
| CN116051763A (en) * | 2022-12-30 | 2023-05-02 | 广州文远知行科技有限公司 | Map road rendering method, device, equipment and storage medium |
| CN116105747A (en) * | 2023-04-07 | 2023-05-12 | 江苏泽景汽车电子股份有限公司 | Dynamic display method, storage medium and electronic equipment of flight track |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070229513A1 (en) * | 2006-03-31 | 2007-10-04 | Research In Motion Limited | Method of labelling a highly curved path on a map rendered on a wireless communications device |
| CN103616032A (en) * | 2013-11-29 | 2014-03-05 | 北京掌行通信息技术有限公司 | Method and device for automatically controlling display scale and three-dimensional view angle of navigation map |
| CN104075729A (en) * | 2013-03-29 | 2014-10-01 | 高德软件有限公司 | Method, device and terminal device for displaying electronic map |
| CN111344535A (en) * | 2017-09-12 | 2020-06-26 | 通腾科技股份有限公司 | Method and system for providing lane information using a navigation device |
| CN111457936A (en) * | 2019-01-22 | 2020-07-28 | 阿里巴巴集团控股有限公司 | Assisted driving method, assisted driving system, computing device and storage medium |
| CN112710321A (en) * | 2020-12-21 | 2021-04-27 | 戴姆勒股份公司 | Intersection guiding method and intersection guiding device |
| CN112988927A (en) * | 2021-02-03 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Map data processing method and device, computer equipment and storage medium |
| CN113029165A (en) * | 2021-02-24 | 2021-06-25 | 腾讯科技(深圳)有限公司 | Navigation data processing method and device, electronic equipment and storage medium |
| CN113232661A (en) * | 2021-05-28 | 2021-08-10 | 广州小鹏汽车科技有限公司 | Control method, vehicle-mounted terminal and vehicle |
-
2021
- 2021-09-28 CN CN202111146749.3A patent/CN113868356B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070229513A1 (en) * | 2006-03-31 | 2007-10-04 | Research In Motion Limited | Method of labelling a highly curved path on a map rendered on a wireless communications device |
| CN104075729A (en) * | 2013-03-29 | 2014-10-01 | 高德软件有限公司 | Method, device and terminal device for displaying electronic map |
| CN103616032A (en) * | 2013-11-29 | 2014-03-05 | 北京掌行通信息技术有限公司 | Method and device for automatically controlling display scale and three-dimensional view angle of navigation map |
| CN111344535A (en) * | 2017-09-12 | 2020-06-26 | 通腾科技股份有限公司 | Method and system for providing lane information using a navigation device |
| CN111457936A (en) * | 2019-01-22 | 2020-07-28 | 阿里巴巴集团控股有限公司 | Assisted driving method, assisted driving system, computing device and storage medium |
| CN112710321A (en) * | 2020-12-21 | 2021-04-27 | 戴姆勒股份公司 | Intersection guiding method and intersection guiding device |
| CN112988927A (en) * | 2021-02-03 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Map data processing method and device, computer equipment and storage medium |
| CN113029165A (en) * | 2021-02-24 | 2021-06-25 | 腾讯科技(深圳)有限公司 | Navigation data processing method and device, electronic equipment and storage medium |
| CN113232661A (en) * | 2021-05-28 | 2021-08-10 | 广州小鹏汽车科技有限公司 | Control method, vehicle-mounted terminal and vehicle |
Non-Patent Citations (2)
| Title |
|---|
| LING ZHENG等: "Lane-Level Road Network Generation Techniques for Lane-Level Maps of Autonomous Vehicles: A Survey", 《SUSTAINABILITY 2019》, 20 August 2019 (2019-08-20), pages 1 - 19 * |
| 揭建英等: "基于ArcGIS的导航电子地图道路层次融合显示解决方案研究", 《测绘与空间地理信息》, 25 April 2013 (2013-04-25), pages 52 - 54 * |
Cited By (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114067120A (en) * | 2022-01-17 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Augmented reality-based navigation paving method, device and computer readable medium |
| CN114067120B (en) * | 2022-01-17 | 2022-09-20 | 腾讯科技(深圳)有限公司 | Augmented reality-based navigation paving method, device and computer readable medium |
| CN114461742A (en) * | 2022-02-11 | 2022-05-10 | 阿里巴巴(中国)有限公司 | Electronic map scale determining method and device, electronic equipment and storage medium |
| CN114509087A (en) * | 2022-02-21 | 2022-05-17 | 高德软件有限公司 | Positioning method, electronic device and computer storage medium |
| CN114509087B (en) * | 2022-02-21 | 2024-06-04 | 高德软件有限公司 | Positioning method, electronic device and computer storage medium |
| CN114518123A (en) * | 2022-02-24 | 2022-05-20 | 高德软件有限公司 | Information processing method |
| CN114518123B (en) * | 2022-02-24 | 2024-06-11 | 高德软件有限公司 | Information processing method |
| CN114812598A (en) * | 2022-03-21 | 2022-07-29 | 高德软件有限公司 | Navigation interface display method and computer program product of target road section |
| CN114863672A (en) * | 2022-03-22 | 2022-08-05 | 阿里巴巴(中国)有限公司 | Dynamic traffic display method and device |
| CN114863672B (en) * | 2022-03-22 | 2023-09-15 | 阿里巴巴(中国)有限公司 | Dynamic traffic display method and device |
| CN114705212A (en) * | 2022-03-30 | 2022-07-05 | 高德软件有限公司 | Navigation information display method, navigation information display apparatus, navigation information storage medium, and program product |
| CN114812599A (en) * | 2022-03-31 | 2022-07-29 | 阿里巴巴(中国)有限公司 | Navigation method, corresponding device, electronic equipment and computer program product |
| CN114812599B (en) * | 2022-03-31 | 2025-12-05 | 阿里巴巴(中国)有限公司 | Navigation methods and related devices, electronic equipment, and computer program products |
| CN115112145A (en) * | 2022-05-19 | 2022-09-27 | 腾讯科技(深圳)有限公司 | Navigation method, navigation device, computer equipment, storage medium and computer program product |
| CN114964289A (en) * | 2022-05-20 | 2022-08-30 | 阿里巴巴(中国)有限公司 | Navigation method, device, electronic equipment and program product combining traffic early warning |
| CN115355921A (en) * | 2022-08-16 | 2022-11-18 | 阿里巴巴(中国)有限公司 | Navigation action acquisition method, navigation device, navigation equipment, navigation medium and product |
| CN116051763A (en) * | 2022-12-30 | 2023-05-02 | 广州文远知行科技有限公司 | Map road rendering method, device, equipment and storage medium |
| CN115937479A (en) * | 2022-12-30 | 2023-04-07 | 阿里巴巴(中国)有限公司 | Navigation guide surface processing method, device, electronic device and computer program product |
| CN116105747A (en) * | 2023-04-07 | 2023-05-12 | 江苏泽景汽车电子股份有限公司 | Dynamic display method, storage medium and electronic equipment of flight track |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113868356B (en) | 2025-12-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113868356A (en) | Rendering method, device, storage medium and computer program | |
| JP5935636B2 (en) | Intersection guidance system, method and program | |
| CN111665845B (en) | Methods, devices, equipment and storage media for planning paths | |
| US10399571B2 (en) | Autonomous driving assistance system, autonomous driving assistance method, and computer program | |
| EP3869157A1 (en) | Method and device for constructing high-resolution map | |
| EP2881710B1 (en) | Camera parameter computation device, navigation system, and camera parameter computation method | |
| US20170343374A1 (en) | Vehicle navigation method and apparatus | |
| CN113401141B (en) | Route processing method and device | |
| CN115265564A (en) | Lane line marking method and device | |
| CN113868355A (en) | Rendering method and device and electronic equipment | |
| CN110867131A (en) | Method, apparatus, device and storage medium for updating a map | |
| CN115662171A (en) | Lane change prompting method and device, electronic equipment and vehicle | |
| CN113566836A (en) | Road guiding method, device, electronic equipment and storage medium | |
| JP2014089138A (en) | Location guide system, method and program | |
| CN114852079A (en) | Behavior decision information generation method, device, electronic device and storage medium | |
| EP4134628A2 (en) | Method and apparatus for determining driving direction, device, and storage medium | |
| JP2022502311A (en) | Feature point extraction method and equipment for environmental targets | |
| CN114485711B (en) | Driving information generation method, automatic driving method, device and electronic device | |
| CN116022172A (en) | Method and device for generating vehicle U-turn path and automatic driving vehicle | |
| CN114689061B (en) | Navigation route processing method and device of automatic driving equipment and electronic equipment | |
| KR20130069519A (en) | Apparatus and method for displaying map by guide condition in navigation | |
| CN114132344A (en) | Decision-making method, device, equipment and storage medium for automatically driving vehicle | |
| CN114840626B (en) | High-precision map data processing method, driving navigation method and related devices | |
| JP5983498B2 (en) | Intersection guidance system, method and program | |
| CN115285146A (en) | Vehicle interaction method and device, electronic equipment and automatic driving vehicle |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20240308 Address after: # 03-06, Lai Zan Da Building 1, 51 Belarusian Road, Singapore Applicant after: Alibaba Innovation Co. Country or region after: Singapore Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road, Singapore Applicant before: Alibaba Singapore Holdings Ltd. Country or region before: Singapore |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |
