High-precision map rendering method and device, electronic equipment and medium
By prestoring serialized triangle surface data in the browser database and querying and rendering high-precision maps according to the rendering instructions, the problem of high CPU resource occupancy during high-precision map rendering is solved, and more efficient rendering and display effects are achieved.
Patent Information
- Application Number
- CN202411101631.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, the front-end engine needs to triangulate the polygons in real time every time during high-precision map rendering, resulting in high CPU resource usage, long time, and affecting the display effect. Especially when loading multiple layers, the page is severely stuttered.
By pre-storing serialized triangle face data in the browser database, receiving the rendering instructions, querying and rendering the corresponding serialized triangle face data according to the identifier, avoiding every real-time polygon triangulation, and directly using the serialized data for rendering.
Save CPU resources, improve rendering efficiency, reduce rendering time, and improve the initialization speed and display effect of high-precision maps.
Smart Images

Figure CN119091020A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving map technology, and in particular to high-precision map rendering methods, devices, equipment and media. Background Art
[0002] High-precision maps include rich road attribute information such as road geometry, number of lanes, and driving direction, and can be rendered as three-dimensional images based on the browser.
[0003] In the related technology, the front-end engine is required to perform polygon triangulation in real time every time it renders, which causes the CPU resources to be too high in a short period of time. If multiple layers need to be loaded, it takes a long time and the page will freeze, seriously affecting the display effect. Summary of the invention
[0004] In order to solve or partially solve the problems existing in the related technology, the present application provides a method, device, equipment and medium for rendering high-precision maps, which can save CPU resources and improve rendering efficiency.
[0005] The first aspect of the present application provides a high-precision map rendering method, which is applied to a browser of a terminal, and the method comprises:
[0006] Receive rendering instructions;
[0007] Determine an identifier corresponding to a target to be rendered based on the rendering instruction;
[0008] querying whether the identifier is stored in a browser database of the browser;
[0009] If the identifier is stored, obtaining the serialized triangular surface data corresponding to the identifier;
[0010] The target to be rendered is rendered based on the serialized triangular surface data.
[0011] In some embodiments, rendering the target to be rendered based on the serialized triangular surface data includes:
[0012] Deserialize the serialized triangular surface data to obtain a triangular surface data array;
[0013] Traversing the triangular face data array to construct the primitives corresponding to the target to be rendered;
[0014] The target to be rendered is rendered in a display interface of the browser based on the graphic element.
[0015] In some embodiments, the process of storing the identifier and the serialized triangular surface data in the browser database includes:
[0016] Obtaining triangular surface data corresponding to the target to be rendered;
[0017] Serializing the triangular surface data to obtain target serialized triangular surface data;
[0018] The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
[0019] In some embodiments, after obtaining the target serialized triangular surface data, the method further includes:
[0020] Obtaining version data corresponding to the target to be rendered;
[0021] The version data is stored in the browser database as version data corresponding to the key-value pair.
[0022] In some embodiments, after determining that the browser database stores the identifier and before obtaining the serialized triangular surface data corresponding to the identifier, the method further includes:
[0023] Obtaining the current version data of the target to be rendered;
[0024] Determining whether the current version data is consistent with the version data corresponding to the identifier stored in the browser database;
[0025] If they are consistent, the serialized triangle surface data corresponding to the identifier is obtained.
[0026] In some embodiments, it also includes:
[0027] If the current version data is inconsistent with the version data corresponding to the identifier stored in the browser database, obtaining the triangular surface data corresponding to the target to be rendered;
[0028] Serializing the triangular surface data to obtain target serialized triangular surface data;
[0029] The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
[0030] In some embodiments, it also includes:
[0031] The current version data is stored in the browser database as version data corresponding to the key-value pair.
[0032] A second aspect of the present application provides a high-precision map rendering device, which is applied to a browser of a terminal, and the method includes:
[0033] A receiving module, used for receiving rendering instructions;
[0034] An identifier determination module, used to determine an identifier corresponding to a to-be-rendered target based on the rendering instruction;
[0035] A query module, used for querying whether the identifier is stored in the browser data of the browser;
[0036] An acquisition module, configured to obtain serialized triangular surface data corresponding to the identifier if the identifier is stored;
[0037] A rendering module is used to render the target to be rendered based on the serialized triangular surface data.
[0038] A third aspect of the present application provides an electronic device, including:
[0039] Processor; and
[0040] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0041] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.
[0042] The technical solution provided by the present application may include the following beneficial effects: after receiving a rendering instruction, an identifier corresponding to the target to be rendered is determined based on the rendering instruction, and serialized triangular surface data corresponding to the identifier is obtained in the browser database, and then the target to be rendered is rendered based on the serialized triangular surface data, thereby eliminating the need to perform real-time polygon triangulation for each rendering. Instead, the target to be rendered can be rendered using serialized triangular surface data, thereby improving the rendering efficiency of displaying high-precision maps on the web.
[0043] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0045] Figure 1 It is a flowchart of a high-precision map rendering method shown in an embodiment of the present application;
[0046] Figure 2 It is another flowchart of a high-precision map rendering method shown in an embodiment of the present application;
[0047] Figure 3 It is a structural schematic diagram of a high-precision map rendering device shown in an embodiment of the present application;
[0048] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0050] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0051] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0052] In the related art, self-driving vehicles can display high-precision maps on the in-car display screen based on the web. However, each time the front-end engine renders, it frequently performs polygon triangulation and creates geometric bodies. If there are too many layers to be rendered, the browser uses webgl (Web Graphics Library) technology for rendering, and the processor resources are too high in a short period of time, causing the page to freeze. Based on this, the embodiment of the present application provides a high-precision map rendering method to improve rendering efficiency and increase the initialization speed of high-precision maps.
[0053] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0054] See also Figure 1 , Figure 1It is a flow chart of a high-precision map rendering method shown in an embodiment of the present application.
[0055] A high-precision map rendering method shown in an embodiment of the present application is applied to a browser of a terminal.
[0056] It is understandable that in the embodiment of the present application, the terminal may be an on-board terminal of an autonomous driving vehicle, and the browser may be a browser capable of rendering a 3D high-precision map, such as realizing the display of a high-precision map in a browser based on webgl. It may be possible to display the high-precision map in the browser of the terminal while using the relevant data of the high-precision map during the autonomous driving process, so as to be able to show the three-dimensional image of the current environment of the vehicle to the passengers in the vehicle. The terminal may also be a computer for display or debugging.
[0057] The method in the embodiment of the present application may include the following steps.
[0058] S100, receiving a rendering instruction;
[0059] S200, determining an identifier corresponding to a target to be rendered based on the rendering instruction;
[0060] S300, querying whether the browser database of the browser has the identifier stored therein;
[0061] S400, if the identifier is stored, obtaining serialized triangular surface data corresponding to the identifier;
[0062] S500: Rendering the target to be rendered based on the serialized triangular surface data.
[0063] In an embodiment of the present application, the browser can receive a rendering instruction sent by the cloud, wherein the rendering instruction can include an identifier of a target to be rendered. The target to be rendered can be, for example, a building layer, an area surface layer, etc. The identifier can be a string corresponding to the URL of the layer, or a specified field that can uniquely represent the target to be rendered. The URL can represent the specific location of the layer in the cloud. It can be understood that since each layer can have a version data, when the data in the layer is updated, the version data is also updated.
[0064] In an embodiment of the present application, serialized triangular surface data may be pre-stored in the browser database of the browser, such as indexedDB. The serialized triangular surface data is the serialized triangular surface data obtained by serializing the triangular surface data corresponding to the rendering target when the browser performs rendering for the first time.
[0065] It is understandable that in the embodiment of the present application, serialized triangular surface data can be stored in advance, for example, the triangular surface data is obtained after the polygons in the building layer are triangulated, and then the triangular surface data is serialized to obtain the serialized triangular surface data corresponding to the building layer. In addition, the identifier corresponding to the triangular surface data and the serialized triangular surface data are stored in the browser database in the form of a key-value pair.
[0066] Since the serialized triangular surface data is stored in the browser database, after the identifier corresponding to the target to be rendered is determined, the browser database can be searched based on the identifier to find the serialized triangular surface data corresponding to the identifier.
[0067] For example, if the identifier of the target to be rendered is https: / / 1.2.3, then based on the identifier, the serialized triangular surface data corresponding to the identifier is searched in the browser database. The serialized triangular surface data corresponding to the identifier in the browser database is, for example, {x, y, z}. Therefore, the serialized triangular surface data can be obtained as {x, y, z}.
[0068] It is understood that serialization can also be to convert the triangular surface data into a string such as a json format, or other formats that can be stored in a browser database. It is understood that deserialization can be a reverse algorithm or a restoration algorithm of serialization, and the algorithm used for serialization can be set according to actual needs. Serialized triangular surface data is easy to save, and compared with real-time triangulation and rendering, it reduces the pressure on the processor and can improve rendering efficiency.
[0069] In the embodiment of the present application, the rendering operation is not directly performed on the rendering target, but the rendering operation is performed on the rendering target based on the serialized triangle surface data stored in the browser database. It can better present map details and geometric shapes, improve high-precision map Figure 3 The 3D visualization and realism can provide a data basis for user interactions such as zooming and panning.
[0070] In the embodiment of the present application, rendering the target to be rendered based on the serialized triangular surface data includes:
[0071] Deserialize the serialized triangular surface data to obtain a triangular surface data array;
[0072] Traversing the triangular face data array to construct the primitives corresponding to the target to be rendered;
[0073] The target to be rendered is rendered in a display interface of the browser based on the graphic element.
[0074] In an embodiment of the present application, a deserialization operation is performed on the serialized triangular surface data to obtain a triangular surface data array, which can include rendering data corresponding to the graphics primitives that need to be rendered in the target to be rendered, such as color, position, elements, etc., and then the graphics primitives corresponding to the target to be rendered can be constructed based on the triangular surface data array, and the graphics primitives can be rendered to the display interface of the browser to complete the rendering of the target to be rendered.
[0075] For example, when a high-precision map road layer of a certain place needs to be rendered in a web map, the serialized triangle surface data can be obtained in the browser database. After deserialization, the triangle surface data array corresponding to the layer can be obtained. Based on the triangle surface data array, the primitives can be constructed and then rendered into the web map.
[0076] In the embodiment of the present application, since serialized triangular surface data will be stored in the browser database, there is no need for the front end to destroy the related triangulation data each time the polygon is triangulated. When it is used next time, it needs to be triangulated again. This not only saves the time and hardware resources required to destroy the polygon triangulation, but also speeds up the rendering speed.
[0077] It can be seen that in the embodiment of the present application, after receiving the rendering instruction, the identifier corresponding to the target to be rendered is determined based on the rendering instruction, and the serialized triangular surface data corresponding to the identifier is obtained in the browser database, and then the target to be rendered is rendered based on the serialized triangular surface data. Therefore, there is no need to perform polygon triangulation in real time every time rendering is performed. Instead, the target to be rendered can be rendered using the serialized triangular surface data, thereby improving the rendering efficiency of displaying high-precision maps on the web of autonomous driving vehicles.
[0078] In the application, after obtaining the target serialized triangle surface data, it also includes:
[0079] Obtaining version data corresponding to the target to be rendered;
[0080] The version data is stored in the browser database as version data corresponding to the key-value pair.
[0081] In an embodiment of the present application, while the browser stores serialized triangle surface data, it can also obtain version data corresponding to the target to be rendered. The version data can be stored in the database as the corresponding version data in the key-value pair, so that it is possible to determine whether the version of the target to be rendered has been updated based on the version data, thereby avoiding the situation of rendering erroneous data.
[0082] See also Figure 2 , Figure 2 It is another flow chart of a high-precision map rendering method shown in an embodiment of the present application.
[0083] S100, receiving a rendering instruction;
[0084] S200, determining an identifier corresponding to a target to be rendered based on the rendering instruction;
[0085] S300, querying whether the browser database of the browser has the identifier stored therein;
[0086] S400, if the identifier is stored, obtaining the current version data of the target to be rendered;
[0087] S401, determining whether the current version data is consistent with the version data corresponding to the identifier stored in the browser database;
[0088] S402, if they are consistent, obtaining the serialized triangular surface data corresponding to the identifier;
[0089] S500: Rendering the target to be rendered based on the serialized triangular surface data.
[0090] In the embodiment of the present application, after determining that the browser database stores the identifier and before obtaining the serialized triangular surface data corresponding to the identifier, the method further includes:
[0091] Obtaining the current version data of the target to be rendered;
[0092] Determining whether the current version data is consistent with the version data corresponding to the identifier stored in the browser database;
[0093] If they are consistent, the serialized triangle surface data corresponding to the identifier is obtained.
[0094] In an embodiment of the present application, version data can also be stored in the browser database. If the version data corresponding to the target to be rendered is different from the version data corresponding to the target to be rendered stored in the browser database, it means that the serialized triangular surface data corresponding to the target to be rendered stored in the browser database may have been updated. Therefore, the serialized triangular surface data can be obtained only when the current version data is consistent with the version data corresponding to the identifier stored in the browser.
[0095] It is understandable that the above embodiment can render a high-precision map without judging the version data. It is just that the version data is outdated and has not been updated. The present embodiment can further judge the version data to ensure the real-time nature of the data. After the data is updated, the latest updated data can be obtained in time.
[0096] In the embodiment of the present application, if the current version data is inconsistent with the version data corresponding to the identifier stored in the browser database, then obtaining the triangular surface data corresponding to the target to be rendered;
[0097] Serializing the triangular surface data to obtain target serialized triangular surface data;
[0098] The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair;
[0099] Also includes:
[0100] The current version data is stored in the browser database as version data corresponding to the key-value pair.
[0101] It is understandable that if the current version data is inconsistent with the version data corresponding to the identifier stored in the browser database, the latest version of the target to be rendered can be obtained in the cloud, and then the latest version of the target to be rendered is triangulated to obtain triangular surface data, and then the triangular surface data is serialized to obtain target serialized triangular surface data, and then the key-value pair of the target to be rendered stored in the browser database is updated, and the original serialized triangular surface data is updated to the target serialized triangular surface data. Of course, the version data in the browser database can be further updated to the latest version data. At the same time, S500 renders the target to be rendered based on the target serialized triangular surface data.
[0102] In the application, when the web map needs to render a high-precision map road data of a certain place, the size of the entire road layer is about 60M. It takes 2 seconds to load the data through the browser for the first time, and store the data in indexedDB, including version data. When the browser opens the map again and needs to display the high-precision map road of the place, it takes 100ms to get the data from indexedDB, and render based on the data obtained in indexedDB. There is no need for real-time triangulation operation, and there is no need to destroy the triangulated data every time, which saves processor resources and improves rendering efficiency. It can increase the rendering speed by more than 50%.
[0103] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a user interface editing device, an electronic device and corresponding embodiments.
[0104] Figure 3 It is a structural schematic diagram of a high-precision map rendering device shown in an embodiment of the present application.
[0105] A high-precision map rendering device in an embodiment of the present application is applied to a browser of a terminal, and the method includes:
[0106] Receiving module 1, used for receiving rendering instructions;
[0107] An identifier determination module 2, used to determine an identifier corresponding to a target to be rendered based on the rendering instruction;
[0108] Query module 3, used for querying whether the identifier is stored in the browser data of the browser;
[0109] An acquisition module 4 is used to obtain the serialized triangular surface data corresponding to the identifier if the identifier is stored;
[0110] The rendering module 5 is used to render the target to be rendered based on the serialized triangular surface data.
[0111] In some embodiments, rendering the target to be rendered based on the serialized triangular surface data includes:
[0112] Deserialize the serialized triangular surface data to obtain a triangular surface data array;
[0113] Traversing the triangular face data array to construct the primitives corresponding to the target to be rendered;
[0114] The target to be rendered is rendered in a display interface of the browser based on the graphic element.
[0115] In some embodiments, the process of storing the identifier and the serialized triangular surface data in the browser database includes:
[0116] Obtaining triangular surface data corresponding to the target to be rendered;
[0117] Serializing the triangular surface data to obtain target serialized triangular surface data;
[0118] The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
[0119] In some embodiments, after obtaining the target serialized triangular surface data, the method further includes:
[0120] Obtaining version data corresponding to the target to be rendered;
[0121] The version data is stored in the browser database as version data corresponding to the key-value pair.
[0122] In some embodiments, after determining that the browser database stores the identifier and before obtaining the serialized triangular surface data corresponding to the identifier, the method further includes:
[0123] Obtaining the current version data of the target to be rendered;
[0124] Determining whether the current version data is consistent with the version data corresponding to the identifier stored in the browser database;
[0125] If they are consistent, the serialized triangle surface data corresponding to the identifier is obtained.
[0126] In some embodiments, a version comparison module is further included, which is used to:
[0127] If the current version data is inconsistent with the version data corresponding to the identifier stored in the browser database, obtaining the triangular surface data corresponding to the target to be rendered;
[0128] Serializing the triangular surface data to obtain target serialized triangular surface data;
[0129] The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
[0130] In some embodiments, it also includes:
[0131] The current version data is stored in the browser database as version data corresponding to the key-value pair.
[0132] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0133] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.
[0134] See also Figure 4 , the electronic device 1000 includes a memory 1010 and a processor 1020 .
[0135] The processor 1020 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0136] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0137] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.
[0138] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0139] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0140] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A high-precision map rendering method, characterized in that: The method is applied to a browser of a terminal, and comprises: Receive rendering instructions; Determine an identifier corresponding to a target to be rendered based on the rendering instruction; querying whether the identifier is stored in a browser database of the browser; If the identifier is stored, obtaining the serialized triangular surface data corresponding to the identifier; The target to be rendered is rendered based on the serialized triangular surface data.
2. The method according to claim 1, characterized in that: The rendering of the target to be rendered based on the serialized triangular surface data includes: Deserialize the serialized triangular surface data to obtain a triangular surface data array; Traversing the triangular face data array to construct the primitives corresponding to the target to be rendered; The target to be rendered is rendered in a display interface of the browser based on the graphic element.
3. The method according to claim 1 or 2, characterized in that: The process of storing the identifier and the serialized triangular surface data in the browser database includes: Obtaining triangular surface data corresponding to the target to be rendered; Serializing the triangular surface data to obtain target serialized triangular surface data; The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
4. The method according to claim 3, characterized in that After obtaining the target serialized triangle data, it also includes: Obtaining version data corresponding to the target to be rendered; The version data is stored in the browser database as version data corresponding to the key-value pair.
5. The method according to claim 1, characterized in that After determining that the browser database stores the identifier and before obtaining the serialized triangular surface data corresponding to the identifier, the method further includes: Obtaining the current version data of the target to be rendered; Determining whether the current version data is consistent with the version data corresponding to the identifier stored in the browser database; If they are consistent, the serialized triangle surface data corresponding to the identifier is obtained.
6. The method according to claim 5, characterized in that Also includes: If the current version data is inconsistent with the version data corresponding to the identifier stored in the browser database, obtaining the triangular surface data corresponding to the target to be rendered; Serializing the triangular surface data to obtain target serialized triangular surface data; The identifier corresponding to the triangular surface data and the target serialized triangular surface data are stored in the browser database as a key-value pair.
7. The method according to claim 6, characterized in that Also includes: The current version data is stored in the browser database as version data corresponding to the key-value pair.
8. A high-precision map rendering device, characterized in that: A browser applied to a terminal, the device comprising: A receiving module, used for receiving rendering instructions; An identifier determination module, used to determine an identifier corresponding to a to-be-rendered target based on the rendering instruction; A query module, used for querying whether the identifier is stored in the browser data of the browser; An acquisition module, configured to obtain serialized triangular surface data corresponding to the identifier if the identifier is stored; A rendering module is used to render the target to be rendered based on the serialized triangular surface data.
9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 7.
