Dynamic rendering method, apparatus, device, and storage medium

By dividing vehicle driving data into two-dimensional and three-dimensional structural data for independent rendering and completing the layer overlay within the vehicle, the dependence of the vehicle system on third-party rendering engines is eliminated, improving resource utilization and reducing costs.

CN115496698BActive Publication Date: 2026-04-21DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
Filing Date
2022-09-26
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing in-vehicle infotainment systems rely too heavily on third-party rendering engines for graphics rendering, resulting in low resource utilization and high development and maintenance costs.

Method used

The vehicle driving data to be rendered is divided into two-dimensional structural data and three-dimensional structural data, and layer rendering and model rendering are performed separately. The two-dimensional rendering layers and the three-dimensional rendering model are then overlaid, and the rendering is completed using the vehicle's built-in rendering engine.

Benefits of technology

It reduces reliance on third-party rendering engines, improves resource utilization and reusability, and lowers development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115496698B_ABST
    Figure CN115496698B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of vehicle display technology and discloses a dynamic rendering method, apparatus, device, and storage medium. The invention divides the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data; performs layer rendering based on the two-dimensional structural data to obtain a two-dimensional rendering layer; performs model rendering based on the three-dimensional structural data to obtain a three-dimensional rendering model; and overlays the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface. Because a rendering engine is installed within the vehicle, rendering can be completed without relying on a third-party rendering engine, eliminating the need for the vehicle's infotainment system to adapt to various different rendering engines. Furthermore, by splitting the data into two-dimensional and three-dimensional structural data for separate rendering, the computing power of different modules can be fully utilized, and the splitting and saving of resources is simpler and more conducive to resource reuse.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle display technology, and in particular to a dynamic rendering method, apparatus, device, and storage medium. Background Technology

[0002] Nowadays, in order to provide users with a good user experience, vehicle infotainment systems generally render the relevant data (vehicle speed, weather, navigation information, etc.) before displaying them to users. However, in this process, the vehicle infotainment system's graphics rendering needs to be deeply tied to the map provider (the vendor that provides graphics rendering services), making it difficult to configure the vehicle flexibly. Furthermore, the graphics rendering process requires calling the rendering engines provided by each map provider separately, which means that the vehicle infotainment system needs to adapt to the rendering engines of different map providers, increasing the development and maintenance costs of the vehicle infotainment system. Moreover, the rendering models obtained after rendering by different map providers' rendering engines are highly coupled with the rendering engines, which is not conducive to the reuse of vehicle infotainment system resources.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a dynamic rendering method, apparatus, device, and storage medium, which aims to solve the technical problem that existing vehicle infotainment systems rely too heavily on third-party rendering engines for graphics rendering, resulting in low resource utilization and high development and maintenance costs.

[0005] To achieve the above objectives, the present invention provides a dynamic rendering method, the method comprising the following steps:

[0006] The vehicle driving data to be rendered is divided into two-dimensional structural data and three-dimensional structural data;

[0007] Based on the two-dimensional structure data, a two-dimensional rendering layer is obtained;

[0008] Based on the three-dimensional structural data, a model is rendered to obtain a three-dimensional rendered model;

[0009] The two-dimensional rendering layer and the three-dimensional rendering model are overlaid to obtain an information display interface.

[0010] Optionally, the step of rendering a layer based on the two-dimensional structure data to obtain a two-dimensional rendering layer includes:

[0011] Extract two-dimensional parameter data and two-dimensional layer data from the two-dimensional structure data;

[0012] Detect whether a reused rendering layer corresponding to the two-dimensional layer data exists in the preset two-dimensional resource library;

[0013] If it exists, the reused rendering layer is rendered based on the two-dimensional parameter data to obtain a two-dimensional rendering layer.

[0014] Optionally, the step of rendering the reused rendering layer based on the two-dimensional parameter data to obtain a two-dimensional rendering layer includes:

[0015] Obtain the rendering parameter data corresponding to the reused rendering layer;

[0016] If the rendering parameter data is inconsistent with the two-dimensional parameter data, then the rendering parameters in the reused rendering layer are replaced according to the two-dimensional parameter data to obtain a two-dimensional rendering layer;

[0017] Set parameter labels and layer labels for the two-dimensional rendering layer based on the two-dimensional parameter data and the two-dimensional layer data;

[0018] The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

[0019] Optionally, after the step of detecting whether a reused rendering layer corresponding to the two-dimensional layer data exists in the preset two-dimensional resource library, the method further includes:

[0020] If it does not exist, then perform layer rendering based on the two-dimensional parameter data and the two-dimensional layer data to obtain a two-dimensional rendering layer;

[0021] Based on the two-dimensional parameter data and the two-dimensional layer data, set corresponding layer labels and parameter labels for the two-dimensional rendering layer;

[0022] The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

[0023] Optionally, the step of rendering a model based on the three-dimensional structural data to obtain a three-dimensional rendered model includes:

[0024] Detect whether a reusable rendering model corresponding to the three-dimensional structure data exists in a preset three-dimensional resource library;

[0025] If it does not exist, then the model is rendered based on the three-dimensional structure data to obtain a three-dimensional rendering model;

[0026] The preset 3D resource library is updated based on the 3D rendering model.

[0027] Optionally, after the step of detecting whether a reusable rendering model corresponding to the 3D structure data exists in the preset 3D resource library, the method further includes:

[0028] If it exists, then obtain the reuse type of the reused rendering model;

[0029] If the reuse type is a fixed line type, then obtain the route comparison information corresponding to the reuse rendering model;

[0030] The vehicle driving data is matched with the route comparison information;

[0031] If a match is found, the reused rendering model will be used as the 3D rendering model.

[0032] Optionally, after the step of obtaining the reuse type of the reused rendering model if it exists, the method further includes:

[0033] If the reuse type is a time period reuse type, then obtain the effective reuse time corresponding to the reuse rendering model;

[0034] When the effective reuse time is greater than the current time, the reused rendering model is used as the 3D rendering model.

[0035] Furthermore, to achieve the above objectives, the present invention also proposes a dynamic rendering apparatus, which includes the following modules:

[0036] The data processing module is used to divide the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data.

[0037] The two-dimensional rendering module is used to perform layer rendering based on the two-dimensional structure data to obtain a two-dimensional rendering layer;

[0038] The 3D rendering module is used to render the model based on the 3D structural data to obtain a 3D rendered model.

[0039] The rendering overlay module is used to overlay the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface.

[0040] In addition, to achieve the above objectives, the present invention also proposes a dynamic rendering device, which includes: a processor, a memory, and a dynamic rendering program stored in the memory and executable on the processor. When the dynamic rendering program is executed by the processor, it implements the steps of the dynamic rendering method as described above.

[0041] Furthermore, to achieve the above objectives, the present invention also proposes a computer-readable storage medium storing a dynamic rendering program, which, when executed, implements the steps of the dynamic rendering method described above.

[0042] This invention divides the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data; performs layer rendering based on the two-dimensional structural data to obtain a two-dimensional rendering layer; performs model rendering based on the three-dimensional structural data to obtain a three-dimensional rendering model; and overlays the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface. Because the rendering engine is installed within the vehicle, rendering can be completed without relying on a third-party rendering engine, eliminating the need for the vehicle's infotainment system to adapt to various different rendering engines. Furthermore, by splitting the data into two-dimensional and three-dimensional structural data for separate rendering, the computing power of different modules can be fully utilized, and the splitting and saving of resources is simpler and more conducive to resource reuse. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of the present invention;

[0044] Figure 2 This is a flowchart illustrating the first embodiment of the dynamic rendering method of the present invention;

[0045] Figure 3 This is a flowchart illustrating the second embodiment of the dynamic rendering method of the present invention;

[0046] Figure 4 This is a schematic diagram of scene classification according to an embodiment of the present invention;

[0047] Figure 5 This is a schematic diagram of a resource reuse process according to an embodiment of the present invention;

[0048] Figure 6 This is a flowchart illustrating the third embodiment of the dynamic rendering method of the present invention;

[0049] Figure 7 This is a structural block diagram of the first embodiment of the dynamic rendering device of the present invention.

[0050] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0051] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0052] Reference Figure 1 , Figure 1 This is a schematic diagram of the dynamic rendering device structure of the hardware operating environment involved in the embodiments of the present invention.

[0053] like Figure 1As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0054] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0055] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a dynamic rendering program.

[0056] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the dynamic rendering device. The electronic device calls the dynamic rendering program stored in the memory 1005 through the processor 1001 and executes the dynamic rendering method provided in the embodiment of the present invention.

[0057] This invention provides a dynamic rendering method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of a dynamic rendering method according to the present invention.

[0058] In this embodiment, the dynamic rendering method includes the following steps:

[0059] Step S10: Divide the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data.

[0060] It should be noted that the execution subject of this embodiment can be the dynamic rendering device, which can be a controller in the vehicle or other devices that can communicate with various in-vehicle devices in the vehicle. This embodiment does not limit this. In this embodiment and the following embodiments, the dynamic rendering device is used as an example to illustrate the dynamic rendering method of the present invention.

[0061] It should be noted that the vehicle driving data to be rendered can be vehicle driving data that needs to be rendered graphically. The vehicle driving data can include at least one of the following: vehicle status data, vehicle navigation data, and vehicle surrounding environment data. Vehicle status data can include vehicle speed information, RPM information, etc.; vehicle navigation data can include road speed limit information, lane line information, route planning information, route start and end point information, road surrounding building information, road sign information, etc.; vehicle surrounding environment data can include vehicle information, pedestrian information, road condition information, etc. around the vehicle.

[0062] In practical use, dynamic rendering devices can be equipped with a data receiving module, a network data receiving module, and a self-driving data acquisition module. The data receiving module is used to acquire data fed back by various in-vehicle devices in the vehicle, thereby obtaining vehicle status data; the network data receiving module is used to connect with navigation software (the navigation software can be provided by a third-party map provider or by the vehicle manufacturer) to read vehicle navigation data from the navigation software; and the self-driving data acquisition module is used to acquire data about the vehicle's surrounding environment.

[0063] In practical implementation, the dynamic rendering device can be pre-set with a standard data interface. This standard data interface is used to standardize the read vehicle driving data and divide the standardized vehicle driving data into two-dimensional structure data and three-dimensional structure data according to the pre-set data division rules. The data division rules can be pre-set by the administrator of the dynamic rendering device. For example, the data division rules can be set as follows: vehicle speed information, rotational speed information, route start and end point information, and speed limit information are divided into two-dimensional structure data, and other data are divided into three-dimensional structure data.

[0064] Step S20: Perform layer rendering based on the two-dimensional structure data to obtain a two-dimensional rendering layer.

[0065] In practical use, dynamic rendering devices can be equipped with a two-dimensional rendering engine to perform layer rendering based on two-dimensional structural data. To obtain a two-dimensional rendering layer, the two-dimensional structural data can be input into the two-dimensional rendering engine, which then performs layer rendering based on the received two-dimensional structural data, thereby generating a two-dimensional rendering layer.

[0066] In practical implementation, there may be multiple two-dimensional structural data, that is, multiple two-dimensional structural data. Each two-dimensional structural data can be processed independently without interfering with each other. For example, depending on the display area, there may be multiple two-dimensional structural data, namely A, B, and C. In this case, A, B, and C can be rendered as layers respectively without affecting each other.

[0067] Step S30: Render the model based on the three-dimensional structure data to obtain a three-dimensional rendering model.

[0068] In practical use, dynamic rendering devices can be equipped with a 3D rendering engine to render models based on 3D structural data. To obtain a 3D rendering model, the 3D structural data can be input into the 3D rendering engine, which then performs 3D modeling based on the received 3D structural data.

[0069] In practical implementation, there may be multiple 3D structural data, that is, multiple 3D structural data. Each 3D structural data can be processed independently without interfering with each other. For example, depending on the corresponding object (such as different buildings or roads), there may be multiple 3D structural data, namely A, B, and C. In this case, A, B, and C can be rendered separately without affecting each other.

[0070] Step S40: Overlay the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface.

[0071] In a practical implementation, the two-dimensional rendering layer and the three-dimensional rendering model are overlaid to obtain the information display interface. This can be achieved by first generating the display interface based on the three-dimensional rendering model, then overlaying the two-dimensional rendering layer onto the three-dimensional rendering model in the display interface, and finally using the overlaid display interface as the information display interface.

[0072] In practical use, after obtaining the information display interface, the information display interface can be displayed on the vehicle's display device for the driver to view. The vehicle's display device can be the central control display screen equipped in the vehicle, or other display devices that can be connected to the vehicle. This embodiment does not limit this.

[0073] This embodiment divides the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data; it performs layer rendering based on the two-dimensional structural data to obtain a two-dimensional rendering layer; it performs model rendering based on the three-dimensional structural data to obtain a three-dimensional rendering model; and it overlays the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface. Since the rendering engine is set up in the vehicle, it can complete the rendering without relying on a third-party rendering engine, eliminating the need for the vehicle's infotainment system to adapt to various different rendering engines. Furthermore, by splitting the data into two-dimensional and three-dimensional structural data and rendering them separately, it can fully utilize the computing power of different modules for rendering, and makes resource splitting and saving simpler and more conducive to resource reuse.

[0074] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of a dynamic rendering method according to the present invention.

[0075] Based on the first embodiment described above, step S20 of the dynamic rendering method in this embodiment includes:

[0076] Step S201: Extract two-dimensional parameter data and two-dimensional layer data from the two-dimensional structure data.

[0077] It should be noted that two-dimensional parameter data can be parameters displayed in the rendered layer, such as vehicle speed and engine speed. Two-dimensional layer data can be the data used to render the layer, such as: layer type (what kind of data corresponds to the layer), layer size, layer background color, and layer display position.

[0078] In practical applications, extracting two-dimensional parameter data and two-dimensional layer data from two-dimensional structural data can be achieved by parsing the two-dimensional structural data according to a preset structure, and then splitting the two-dimensional structural data into two-dimensional parameter data and two-dimensional layer data.

[0079] Step S202: Detect whether a reused rendering layer corresponding to the two-dimensional layer data exists in the preset two-dimensional resource library.

[0080] It should be noted that the preset 2D resource library can be a database that stores reusable 2D rendering layers. Detecting whether a reusable rendering layer corresponding to 2D layer data exists in the preset 2D resource library can be done by checking whether the preset 2D resource library stores a 2D rendering layer whose corresponding 2D layer data matches the extracted 2D layer data. If it exists, then it is determined that a reusable rendering layer corresponding to the 2D layer data exists.

[0081] In the specific implementation, to facilitate searching and matching, when storing the 2D rendering layer in the preset 2D resource library, parameter tags can be generated based on the 2D parameter data used to generate the 2D rendering layer, and layer tags can be generated based on the 2D layer data used. Then, the parameter tags and layer tags are bound to the 2D rendering layer before being stored in the preset 2D resource library. When checking whether there is a reused rendering layer corresponding to the 2D layer data in the preset 2D resource library, the 2D layer data can be matched with the layer tags corresponding to each 2D resource layer in the preset 2D resource library. If a 2D resource layer is successfully matched, it is determined that there is a reused rendering layer corresponding to the 2D layer data.

[0082] In practical use, not all data can reuse previous rendering resources. Therefore, before step S202, the two-dimensional structure data can be matched with preset reuse rules. If the match is successful, step S202 is then executed. If the match fails, the reused rendering layer is rendered directly based on the two-dimensional parameter data to obtain a two-dimensional rendering layer. The preset reuse rules can be pre-set by the administrator of the dynamic rendering device according to the actual operating scenario.

[0083] To facilitate understanding, we will now combine... Figure 4 To explain, Figure 4 This is a schematic diagram of scene classification in this embodiment, as shown in the figure. Figure 4 The portion classified as non-real-world rendering data is data that can be reused during the rendering process. Therefore, the preset reuse rules can be based on... Figure 4 The data is categorized and divided. It's understandable that this method of resource reuse saves rendering resources Psaving = Peliminate (resources rendered for each parameter) * n (number of repetitions).

[0084] Step S203: If it exists, then render the reused rendering layer according to the two-dimensional parameter data to obtain a two-dimensional rendering layer.

[0085] It is understandable that if it exists, it means that the layer has been rendered based on the two-dimensional layer data before. In order to save resources, the two-dimensional rendering layer corresponding to the two-dimensional layer data can be read directly from the preset two-dimensional resource library and used as a reused rendering layer. Then, the reused rendering layer is rendered according to the two-dimensional parameter data, and the display data in the layer is replaced with the two-dimensional parameter data to obtain the two-dimensional rendering layer.

[0086] Furthermore, since rendering the reused rendering layer based on the two-dimensional parameter data still consumes rendering resources, and in some cases, the parameters displayed in the reused rendering layer may be the same as the two-dimensional parameter data, in order to reduce unnecessary performance consumption, the step of rendering the reused rendering layer based on the two-dimensional parameter data to obtain the two-dimensional rendering layer described in this embodiment may include:

[0087] Obtain the rendering parameter data corresponding to the reused rendering layer;

[0088] If the rendering parameter data is inconsistent with the two-dimensional parameter data, then the rendering parameters in the reused rendering layer are replaced according to the two-dimensional parameter data to obtain a two-dimensional rendering layer;

[0089] Set parameter labels and layer labels for the two-dimensional rendering layer based on the two-dimensional parameter data and the two-dimensional layer data;

[0090] The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

[0091] It should be noted that the rendering parameter data can be the parameter data displayed in the reused rendering layer. Obtaining the rendering parameter data corresponding to the reused rendering layer can be done by retrieving the parameter labels of the reused rendering layer and then obtaining the rendering parameter data based on the parameter labels.

[0092] It is understandable that if the rendering parameter data is inconsistent with the 2D parameter data, it means that the parameter data displayed in the reused rendering layer is different from the 2D parameter data that needs to be displayed. Therefore, the rendering parameters in the reused rendering layer can be replaced with the 2D parameter data, and then the reused rendering layer after the replacement can be used as the 2D rendering layer.

[0093] In the specific implementation, in order to reduce the resource consumption of subsequent repeated rendering, after generating the 2D rendering layer, parameter labels can be set for the generated 2D rendering layer according to the 2D parameter data, and layer labels can be set for the generated 2D rendering layer according to the 2D layer data. Then, the parameter labels and layer labels are bound to the generated 2D rendering layer, and the 2D rendering layer is stored in the preset 2D resource library based on the binding relationship.

[0094] The uniqueness of the two-dimensional resource layer in the two-dimensional resource library can be determined based on the corresponding two-dimensional layer data. Of course, it can also be determined based on the corresponding two-dimensional layer data and two-dimensional parameter data. This embodiment does not limit this.

[0095] Furthermore, if there is no reusable rendering layer corresponding to the two-dimensional layer data, it means that layer rendering has not been performed based on the two-dimensional layer data before. In order to ensure that rendering can still be completed in this case and to reduce the resource consumption of subsequent repeated rendering, the following step after step S202 in this embodiment may also include:

[0096] If it does not exist, then perform layer rendering based on the two-dimensional parameter data and the two-dimensional layer data to obtain a two-dimensional rendering layer;

[0097] Based on the two-dimensional parameter data and the two-dimensional layer data, set corresponding layer labels and parameter labels for the two-dimensional rendering layer;

[0098] The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

[0099] It is understandable that if there is no reusable rendering layer corresponding to the two-dimensional layer data, it means that layer rendering has not been performed based on the two-dimensional layer data before. In this case, the two-dimensional rendering engine can be called to perform layer rendering based on the two-dimensional parameter data and the two-dimensional layer data, thereby generating a two-dimensional rendering layer.

[0100] To reduce resource consumption from subsequent repeated rendering, after the layer rendering is completed and a 2D rendering layer is generated, parameter labels can be set for the generated 2D rendering layer based on the 2D parameter data, and layer labels can be set for the generated 2D rendering layer based on the 2D layer data. Then, the parameter labels and layer labels are bound to the generated 2D rendering layer, and the 2D rendering layer is stored in a preset 2D resource library based on this binding relationship to ensure resource reuse.

[0101] To facilitate understanding, we will now combine... Figure 5 To explain, Figure 5 This is a schematic diagram of the resource reuse process in this embodiment. In the diagram, the layer database is a preset two-dimensional resource library. The reusable layer number, label, etc. are the two-dimensional layer data mentioned above. The rendering engine is the two-dimensional rendering engine mentioned above. Here, "complete match" means that the two-dimensional layer data and two-dimensional parameter data corresponding to the reused rendering layer are consistent with those contained in the two-dimensional structure data. "Incomplete match" means that the two-dimensional layer data corresponding to the reused rendering layer are consistent with those contained in the two-dimensional structure data, but the corresponding two-dimensional parameter data is inconsistent with those contained in the two-dimensional structure data.

[0102] This embodiment extracts two-dimensional parameter data and two-dimensional layer data from the two-dimensional structure data; detects whether a reused rendering layer corresponding to the two-dimensional layer data exists in a preset two-dimensional resource library; if it exists, the reused rendering layer is rendered based on the two-dimensional parameter data to obtain a two-dimensional rendering layer. Since the two-dimensional structure data is not directly used to find the corresponding reused rendering layer, but rather split into two-dimensional parameter data and two-dimensional layer data before searching, it ensures that even reused rendering layers that do not completely match can still be used as resources, further improving resource reusability.

[0103] refer to Figure 6 , Figure 6 This is a flowchart illustrating a third embodiment of a dynamic rendering method according to the present invention.

[0104] Based on the first embodiment described above, step S30 of the dynamic rendering method in this embodiment includes:

[0105] Step S301: Detect whether the reusable rendering model corresponding to the three-dimensional structure data exists in the preset three-dimensional resource library.

[0106] It should be noted that the preset 3D resource library can be a database storing a large number of reusable 3D rendering models. Detecting whether a reusable rendering model corresponding to 3D structural data exists in the preset 3D resource library can be done by detecting whether a 3D rendering model with modeling data consistent with the 3D structural data exists in the 3D resource library. If it exists, it is determined that a reusable rendering model corresponding to the 3D structural data exists. The modeling data corresponding to the 3D rendering model can be the data used when performing 3D modeling for that 3D rendering model.

[0107] Step S302: If it does not exist, then perform model rendering based on the three-dimensional structure data to obtain a three-dimensional rendering model.

[0108] It is understandable that if there is no reusable rendering model corresponding to the 3D structural data, it means that no 3D modeling has been performed based on the 3D structural data before. Therefore, the 3D rendering engine can be called to render the model based on the 3D structural data, thereby generating a 3D rendering model.

[0109] Step S303: Update the preset 3D resource library according to the 3D rendering model.

[0110] It should be noted that updating the preset 3D resource library based on the 3D rendering model can be done by adding the 3D rendering model to the preset 3D resource library.

[0111] In practical implementation, since 3D models generally correspond to information such as road and building information, and roads and buildings may change due to construction and other reasons, 3D rendering models cannot be reused for a long time. In order to reuse 3D rendering models reasonably, when updating the preset 3D resource library based on the 3D rendering model, it is necessary to set a reasonable reuse duration. At this time, the duration during which the 3D rendering model will be continuously displayed in the display area can be obtained and used as the reuse duration of the 3D rendering model. When storing the 3D rendering model in the preset 3D resource library, its corresponding reuse duration can also be stored in the preset 3D resource library.

[0112] In practical use, the duration for which a 3D rendered model is continuously displayed in the display area is also related to the vehicle's direction of travel. If the vehicle's direction of travel changes, the duration for which the 3D rendered model is continuously displayed may also change. Therefore, if a change in the vehicle's direction of travel is detected, the amount of change in the display duration of the 3D rendered model can be determined based on this change, and the reuse duration of the 3D rendered model can be adjusted accordingly.

[0113] For example: Suppose that the duration of the currently generated 3D rendering model displayed in the display area is t1. After storing the 3D rendering model in the preset 3D resource library, the corresponding reuse duration can be set to t = t1. If a change in the vehicle's direction of travel is detected, and the change in duration calculated based on the change in direction is t2, then the reuse duration of the 3D rendering model can be modified to t = t1 + t2.

[0114] In the actual implementation process, users may travel on a fixed route for a long time (such as the route to work or home). In this case, the 3D rendering model on the route can be reused for a long time. Before updating the preset 3D resource library based on the 3D rendering model, the route comparison information (including vehicle speed information, route key point information, etc.) corresponding to the fixed route can be obtained. Then, the vehicle driving information is matched with the route comparison information. If the match is successful, it means that the current vehicle is traveling on the fixed route. At this time, the 3D rendering model and the route comparison information can be bound and stored in the preset 3D resource library.

[0115] To differentiate the 3D rendering models corresponding to fixed routes from other 3D rendering models, corresponding reuse type tags can be set for the 3D rendering models in the preset 3D resource library. These reuse type tags can include: fixed route tags and time period reuse tags. It can be understood that by reusing 3D resources in this way, the saved rendering resources Psaving = Pelimination (model rendering resources consumed) * t (model reuse time).

[0116] Furthermore, in order to reasonably reuse the 3D rendering model, after step S301 in this embodiment, the following may also be included:

[0117] If it exists, then obtain the reuse type of the reused rendering model;

[0118] If the reuse type is a fixed line type, then obtain the route comparison information corresponding to the reuse rendering model;

[0119] The vehicle driving data is matched with the route comparison information;

[0120] If a match is found, the reused rendering model will be used as the 3D rendering model.

[0121] It should be noted that obtaining the reuse type of a reused rendering model can be achieved by reading the reuse type label of the reused rendering model and determining the reuse type of the reused rendering model based on the reuse type label. For example, if the reuse type label is a fixed line label, then its corresponding reuse type is fixed line type; if the reuse type label is a time period reuse label, then its corresponding reuse type is time period reuse type.

[0122] Understandably, if the reuse type is fixed route, it is necessary to determine whether the current vehicle is traveling on a fixed route in order to determine whether the 3D rendering model can be reused. Therefore, the route comparison information corresponding to the reused rendering model can be obtained, and then the vehicle driving data can be matched with the route comparison information.

[0123] In the implementation, if a match is successful, it means the vehicle is traveling on a fixed route, and the found reused rendering model can be directly reused. Therefore, this reused rendering model can be used directly as a 3D rendering model. If a match fails, it means the vehicle is not traveling on a fixed route, and the reused rendering model cannot be reused. In this case, the 3D rendering engine can be called based on the 3D structural data to render the model, obtain the 3D rendering model, and then update the preset 3D resource library based on the 3D rendering model.

[0124] In practical use, to ensure that 3D rendering models of time-time reuse types can also be reasonably reused, the step of obtaining the reuse type of the reused rendering model as described in this embodiment may further include:

[0125] If the reuse type is a time period reuse type, then obtain the effective reuse time corresponding to the reuse rendering model;

[0126] When the effective reuse time is greater than the current time, the reused rendering model is used as the 3D rendering model.

[0127] It should be noted that obtaining the effective reuse time corresponding to the reused rendering model can be achieved by obtaining the model generation time and reuse duration corresponding to the reused rendering model, and then determining the effective reuse time based on the model generation time and reuse duration.

[0128] Understandably, if the effective reuse time is greater than the current time, it means that the reused rendering model can still be reused, and therefore, it can be directly used as a 3D rendering model. If the effective reuse time is less than or equal to the current time, then the 3D rendering engine can be called based on the 3D structural data to render the model, obtain the 3D rendering model, and then update the preset 3D resource library based on the 3D rendering model.

[0129] This embodiment detects whether a reusable rendering model corresponding to the 3D structural data exists in a preset 3D resource library. If it does not exist, the model is rendered based on the 3D structural data to obtain a 3D rendering model. The preset 3D resource library is then updated based on the 3D rendering model. Because it first checks whether a reusable rendering model corresponding to the 3D structural data exists, and only re-renders the model if it doesn't exist, and if it does exist, it also obtains the reuse type of the reusable rendering model. Different methods are used for verification and reuse depending on the reuse type. This ensures that model rendering can proceed normally while also reasonably reusing the generated 3D rendering model, improving resource reuse rate and reducing unnecessary resource consumption.

[0130] Furthermore, embodiments of the present invention also propose a storage medium storing a dynamic rendering program, which, when executed by a processor, implements the steps of the dynamic rendering method described above.

[0131] Reference Figure 7 , Figure 7 This is a structural block diagram of the first embodiment of the dynamic rendering device of the present invention.

[0132] like Figure 7 As shown, the dynamic rendering apparatus proposed in this embodiment of the invention includes:

[0133] The data processing module 10 is used to divide the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data.

[0134] The 2D rendering module 20 is used to perform layer rendering based on the 2D structure data to obtain a 2D rendering layer;

[0135] The 3D rendering module 30 is used to render the model based on the 3D structure data to obtain a 3D rendering model.

[0136] The rendering overlay module 40 is used to overlay the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface.

[0137] This embodiment divides the vehicle driving data to be rendered into two-dimensional structural data and three-dimensional structural data; it performs layer rendering based on the two-dimensional structural data to obtain a two-dimensional rendering layer; it performs model rendering based on the three-dimensional structural data to obtain a three-dimensional rendering model; and it overlays the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface. Since the rendering engine is set up in the vehicle, it can complete the rendering without relying on a third-party rendering engine, eliminating the need for the vehicle's infotainment system to adapt to various different rendering engines. Furthermore, by splitting the data into two-dimensional and three-dimensional structural data and rendering them separately, it can fully utilize the computing power of different modules for rendering, and makes resource splitting and saving simpler and more conducive to resource reuse.

[0138] Furthermore, the two-dimensional rendering module 20 is also used to extract two-dimensional parameter data and two-dimensional layer data from the two-dimensional structure data; detect whether there is a reused rendering layer corresponding to the two-dimensional layer data in the preset two-dimensional resource library; if there is, render the reused rendering layer according to the two-dimensional parameter data to obtain a two-dimensional rendering layer.

[0139] Furthermore, the 2D rendering module 20 is also used to obtain rendering parameter data corresponding to the reused rendering layer; if the rendering parameter data is inconsistent with the 2D parameter data, the rendering parameters in the reused rendering layer are replaced according to the 2D parameter data to obtain a 2D rendering layer; parameter labels and layer labels are set for the 2D rendering layer based on the 2D parameter data and the 2D layer data; and the 2D rendering layer is stored in the preset 2D resource library according to the layer labels and the parameter labels.

[0140] Furthermore, the 2D rendering module 20 is also used to, if not present, perform layer rendering based on the 2D parameter data and the 2D layer data to obtain a 2D rendering layer; set corresponding layer labels and parameter labels for the 2D rendering layer based on the 2D parameter data and the 2D layer data; and store the 2D rendering layer in the preset 2D resource library according to the layer labels and the parameter labels.

[0141] Furthermore, the 3D rendering module 30 is also used to detect whether a reusable rendering model corresponding to the 3D structure data exists in the preset 3D resource library; if it does not exist, the model is rendered according to the 3D structure data to obtain a 3D rendering model; and the preset 3D resource library is updated according to the 3D rendering model.

[0142] Furthermore, the 3D rendering module 30 is also used to: if it exists, obtain the reuse type of the reuse rendering model; if the reuse type is a fixed route type, obtain the route comparison information corresponding to the reuse rendering model; match the vehicle driving data with the route comparison information; if the match is successful, use the reuse rendering model as the 3D rendering model.

[0143] Furthermore, the 3D rendering module 30 is also used to obtain the effective reuse time corresponding to the reuse rendering model if the reuse type is a time period reuse type; and to use the reuse rendering model as a 3D rendering model when the effective reuse time is greater than the current time.

[0144] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.

[0145] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0146] In addition, for technical details not described in detail in this embodiment, please refer to the dynamic rendering method provided in any embodiment of the present invention, which will not be repeated here.

[0147] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0148] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0149] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0150] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A dynamic rendering method, characterized in that, The dynamic rendering method includes the following steps: The vehicle driving data to be rendered is divided into two-dimensional structure data and three-dimensional structure data. The vehicle driving data includes at least one of vehicle status data, vehicle navigation data, and vehicle surrounding environment data. Based on the two-dimensional structure data, a two-dimensional rendering layer is obtained; Based on the three-dimensional structural data, a model is rendered to obtain a three-dimensional rendered model; The two-dimensional rendering layer and the three-dimensional rendering model are overlaid to obtain an information display interface; The step of rendering a model based on the three-dimensional structural data to obtain a three-dimensional rendered model includes: Detect whether a reusable rendering model corresponding to the three-dimensional structure data exists in a preset three-dimensional resource library; If it exists, then obtain the reuse type of the reused rendering model; If the reuse type is a fixed line type, then obtain the route comparison information corresponding to the reuse rendering model; The vehicle driving data is matched with the route comparison information; If a match is found, the reused rendering model will be used as the 3D rendering model.

2. The dynamic rendering method as described in claim 1, characterized in that, The step of rendering a layer based on the two-dimensional structure data to obtain a two-dimensional rendering layer includes: Extract two-dimensional parameter data and two-dimensional layer data from the two-dimensional structure data; Detect whether a reused rendering layer corresponding to the two-dimensional layer data exists in the preset two-dimensional resource library; If it exists, the reused rendering layer is rendered based on the two-dimensional parameter data to obtain a two-dimensional rendering layer.

3. The dynamic rendering method as described in claim 2, characterized in that, The step of rendering the reused rendering layer based on the two-dimensional parameter data to obtain a two-dimensional rendering layer includes: Obtain the rendering parameter data corresponding to the reused rendering layer; If the rendering parameter data is inconsistent with the two-dimensional parameter data, then the rendering parameters in the reused rendering layer are replaced according to the two-dimensional parameter data to obtain a two-dimensional rendering layer; Set parameter labels and layer labels for the two-dimensional rendering layer based on the two-dimensional parameter data and the two-dimensional layer data; The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

4. The dynamic rendering method as described in claim 2, characterized in that, After the step of detecting whether the reused rendering layer corresponding to the two-dimensional layer data exists in the preset two-dimensional resource library, the method further includes: If it does not exist, then perform layer rendering based on the two-dimensional parameter data and the two-dimensional layer data to obtain a two-dimensional rendering layer; Based on the two-dimensional parameter data and the two-dimensional layer data, set corresponding layer labels and parameter labels for the two-dimensional rendering layer; The two-dimensional rendering layer is stored in the preset two-dimensional resource library according to the layer label and the parameter label.

5. The dynamic rendering method as described in claim 1, characterized in that, After the step of detecting whether the reusable rendering model corresponding to the 3D structure data exists in the preset 3D resource library, the method further includes: If it does not exist, then the model is rendered based on the three-dimensional structure data to obtain a three-dimensional rendering model; The preset 3D resource library is updated based on the 3D rendering model.

6. The dynamic rendering method as described in claim 1, characterized in that, After the step of obtaining the reuse type of the reused rendering model if it exists, the method further includes: If the reuse type is a time period reuse type, then obtain the effective reuse time corresponding to the reuse rendering model; When the effective reuse time is greater than the current time, the reused rendering model is used as the 3D rendering model.

7. A dynamic rendering device, characterized in that, The dynamic rendering device includes the following modules: The data processing module is used to divide the vehicle driving data to be rendered into two-dimensional structure data and three-dimensional structure data. The vehicle driving data includes at least one of vehicle status data, vehicle navigation data, and vehicle surrounding environment data. The two-dimensional rendering module is used to perform layer rendering based on the two-dimensional structure data to obtain a two-dimensional rendering layer; The 3D rendering module is used to render the model based on the 3D structural data to obtain a 3D rendered model. The rendering overlay module is used to overlay the two-dimensional rendering layer and the three-dimensional rendering model to obtain an information display interface. The 3D rendering module is also used to detect whether there is a reusable rendering model corresponding to the 3D structure data in the preset 3D resource library; if there is, the reuse type of the reusable rendering model is obtained. If the reuse type is a fixed route type, then obtain the route comparison information corresponding to the reused rendering model; match the vehicle driving data with the route comparison information; if the match is successful, then use the reused rendering model as a 3D rendering model.

8. A dynamic rendering device, characterized in that, The dynamic rendering device includes: a processor, a memory, and a dynamic rendering program stored in the memory and executable on the processor. When the dynamic rendering program is executed by the processor, it implements the steps of the dynamic rendering method as described in any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a dynamic rendering program, which, when executed, implements the steps of the dynamic rendering method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Image processing method and image processing device

    CN103294453A

  • Layered rendering method, medium, equipment and layered rendering device

    CN111462292A