A three-dimensional map point data rapid publishing method, a terminal device and a medium

The WebGL-based 3D map display solution solves the problem of low efficiency in traditional 3D map production and publishing, enabling rapid publishing and real-time rendering of large-scale data. It is suitable for multiple data source access and dynamic control, and is applicable to non-professional users.

CN117312425BActive Publication Date: 2025-12-26ROPEOK TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311059263.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-22
Publication Date
2025-12-26
Estimated Expiration
2043-08-22

AI Technical Summary

Technical Problem

Traditional 3D map creation and publishing processes are cumbersome, inefficient, computationally intensive, and slow in rendering, making it difficult to meet real-time publishing needs. Furthermore, existing software is not suitable for non-professionals or large-scale data publishing.

Method used

A 3D map display solution based on WebGL technology is adopted. By configuring data source connection information, building a data sharing API, generating a point layer, and optimizing data access through caching, it supports multiple data source access and dynamic control, and achieves fast rendering in combination with the WebGL rendering engine.

Benefits of technology

It enables rapid publishing of 3D map data points, supports multiple data source access, allows dynamic control of layers, and has real-time rendering and large-scale data publishing capabilities, shortening the production cycle and making it suitable for non-professional users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117312425B_ABST
    Figure CN117312425B_ABST
Patent Text Reader

Abstract

The application relates to a three-dimensional map point-sprinkling data quick publishing method, a terminal device and a medium, which comprises the following steps: based on a data source of point-sprinkling data, connection related information of the data source is configured; based on the data source, different data sharing APIs corresponding to different data types contained in the data source are constructed, the type names of shared parameters are configured, and a calling interface is generated; when newly creating point-sprinkling layer data, the calling interface address of the data sharing API and the mapping relationship between the type name of the corresponding parameter and the type name of the shared parameter of the data sharing API are configured; the generated point-sprinkling layer is read, and the point-sprinkling data in the data source corresponding to the data sharing API is called based on the configuration information to render the point-sprinkling layer. The application realizes multi-data source access of the point-sprinkling layer and can quickly publish the point-sprinkling layer.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of three-dimensional maps, in particular to a three-dimensional map point scattering data rapid publishing method, a terminal device and a medium. BACKGROUND

[0002] With the development of information technology, three-dimensional maps have become an important tool in modern urban planning, traffic management, environmental protection and other fields. Different business departments need to display different data layers on three-dimensional maps. However, the traditional three-dimensional map point scattering production and publishing process is cumbersome, inefficient, computationally intensive, slow in rendering, prone to errors, and difficult to meet the needs of real-time publishing.

[0003] Currently, there are some three-dimensional map production software and tools, such as Cesium, ArcGIS, etc., but they usually need professional technical personnel to operate, and cannot flexibly control the layers and data of the map. For non-professionals, it is difficult to use. In addition, the data formats of these software and tools are mostly two-dimensional or three-dimensional point cloud data, which are not suitable for point scattering publishing functions and cannot meet the publishing needs of large-scale map data. SUMMARY

[0004] In order to solve the above problems, the present application provides a three-dimensional map point scattering data rapid publishing method, a terminal device and a medium.

[0005] The specific scheme is as follows:

[0006] A three-dimensional map point scattering data rapid publishing method, comprising the following steps:

[0007] S1: Based on the data source of the point scattering data, configure the connection related information of the data source;

[0008] S2: Based on the data source, construct different data sharing APIs corresponding to different data types contained in the data source, and configure the type name of the sharing parameter corresponding to each data sharing API, generate the calling interface of each data sharing API;

[0009] S3: When a new point scattering layer data is created, configure the calling interface address of the data sharing API corresponding to the point scattering data required by the point scattering layer and the mapping relationship between the type name of the corresponding parameter and the type name of the sharing parameter of the data sharing API, and generate the point scattering layer;

[0010] S4: Read the generated point scattering layer, call the data sharing API based on the calling interface address of the data sharing API configured in the point scattering layer, and based on the mapping relationship between the type name and the type name of the sharing parameter of the data sharing API, call the point scattering data in the data source corresponding to the data sharing API to render the point scattering layer.

[0011] Further, a connection unique identifier is generated for each data source, and when a connection with the data source is created, the connection unique identifier is saved to the cache; when the data source is accessed, first check from the cache whether the connection unique identifier exists, if it exists, directly access the data source; otherwise, create a connection with the data source, and save the connection unique identifier to the cache.

[0012] Further, when a new scatter plot layer data is created, first configure the scatter plot layer basic information, and the scatter plot layer basic information includes the scatter plot layer name and icon.

[0013] Further, it also includes creating different business topics according to business needs, and when a new scatter plot layer is created, the scatter plot layer is divided into different business topic modules.

[0014] A three-dimensional map scatter plot data rapid publishing terminal device, comprising a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described above.

[0015] A computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the method described above.

[0016] The technical scheme is adopted, the scatter plot layer multi-data source access is realized, the scatter plot layer can be quickly published, and the data of different layers can be dynamically controlled and displayed. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 The flowchart of the embodiment of the present application is shown.

[0018] Figure 2 The data source configuration information schematic diagram in the embodiment is shown.

[0019] Figure 3 The newly added layer configuration information schematic diagram in the embodiment is shown. DETAILED DESCRIPTION

[0020] To further illustrate the embodiments, the present application provides drawings. These drawings are part of the disclosure of the present application, mainly used to illustrate the embodiments, and can be explained with the related description of the specification to explain the operating principle of the embodiments. With reference to these contents, those skilled in the art should understand other possible embodiments and advantages of the present application.

[0021] The present application will be further described in conjunction with the drawings and specific embodiments.

[0022] Embodiment one:

[0023] The embodiment of the application provides a three-dimensional map point data quick publishing method, as shown in the figure, the method comprises the following steps: Figure 1

[0024] S1: Based on the data source of the point data, configure the connection related information of the data source.

[0025] The data source of the point data can be a certain database, such as a relational database such as MySQL, Oracle, postgresql, and a non-relational database such as elasticsearch, MongoDB, or other types of data sources, which are not limited here.

[0026] Each data source that needs to be used needs to configure its connection related information, so as to connect the data source later to obtain the point data therein. As shown in the figure, Figure 2 When the data source is a certain database, the connection related information includes: connection address, database type, database name, etc.

[0027] In order to facilitate subsequent access to the data source, a connection unique identifier is dynamically generated for each data source in this embodiment, and when a connection with the data source is created, the connection unique identifier is saved to the cache; When accessing the data source, first check from the cache whether the connection unique identifier exists, if it exists, directly access the data source; Otherwise, create a connection with the data source, and save the connection unique identifier to the cache.

[0028] S2: Based on the data source, different data sharing APIs corresponding to different data types contained in the data source are constructed, and the type name of the sharing parameter corresponding to each data sharing API is configured. Generate the calling interface corresponding to each data sharing API.

[0029] The data sharing API is used to extract the type name of the sharing parameter of the point data contained in the data source, such as id, schoolName, longitude, latitude, altitude, etc. A data source may include multiple data types, then corresponding multiple data sharing APIs. The data sharing API provides a three-dimensional map point data generation calling interface.

[0030] S3: When a new point layer data is created, configure the calling interface address of the data sharing API corresponding to the point data required by the point layer, and the mapping relationship between the type name of the corresponding parameter and the type name of the sharing parameter of the data sharing API, and generate the point layer.

[0031] ​The mapping relationship in the embodiment is configured by using a JSON parameter, such as {"id":"id","name":"schoolName","x":"longitude","y":"latitude","z":"altitude"}, wherein the type name of a parameter corresponding to the point data is in front of ":", wherein id represents a unique identifier of the point data, name represents a name displayed by the point, x represents longitude, y represents latitude, and z represents altitude; and the type name of a shared parameter of the data sharing API is behind ":".

[0032] When the point layer data is newly created, the point layer basic information needs to be configured first, and the point layer basic information includes a point layer name, an icon, and the like, as shown in Figure 3

[0033] S4: The generated point layer is read, the data sharing API is called based on the calling interface address of the data sharing API configured in the point layer, and the point data in the data source corresponding to the data sharing API is called based on the mapping relationship between the type name configured in the point layer and the type name of the shared parameter of the data sharing API, so as to render the point layer.

[0034] The rendering operation can be implemented by using a WebGL rendering engine, and has the advantages of simple operation and easy to use, and can be directly run in a browser without installing a plug-in, which is convenient for users to use.

[0035] Further, in order to facilitate the use of different businesses, the embodiment further includes creating different business topics according to business needs, when a point layer is newly created, the point layer is divided into different business topic modules, so that different business topic modules corresponding to the point data can be displayed according to different user permissions.

[0036] The embodiment of the application adopts a three-dimensional map display scheme based on the WebGL technology, can realize real-time rendering and publishing, has the advantages of fast speed and good rendering effect, greatly shortens the production cycle and publishing time, can realize real-time rendering, and does not need to wait for the entire scene to be constructed before displaying the result. Meanwhile, the embodiment can also support publishing and management of large-scale map data.

[0037] The embodiment of the application can conveniently manage and control different layers, and users can adjust and optimize various properties of the map according to actual needs. In addition, the scheme can also support import and export of various types of data sources and formats.

[0038] Embodiment two:

[0039] ​The application further provides a three-dimensional map point-sprinkling data quick release terminal device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the above method embodiments of the first embodiment of the application when executing the computer program.

[0040] Further, as an executable solution, the three-dimensional map point-sprinkling data quick release terminal device can be a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The three-dimensional map point-sprinkling data quick release terminal device can comprise, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above-mentioned components of the three-dimensional map point-sprinkling data quick release terminal device are only examples of the three-dimensional map point-sprinkling data quick release terminal device, and do not constitute a limitation on the three-dimensional map point-sprinkling data quick release terminal device, and can comprise more or fewer components than the above, or combine certain components, or different components, for example, the three-dimensional map point-sprinkling data quick release terminal device can further comprise an input / output device, a network access device, a bus and the like, and the embodiments of the application do not limit this.

[0041] Further, as an executable solution, the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is a control center of the three-dimensional map point-sprinkling data quick release terminal device, and connects all parts of the three-dimensional map point-sprinkling data quick release terminal device through various interfaces and lines.

[0042] The memory can be used to store the computer program and / or modules, and the processor realizes various functions of the three-dimensional map point data quick publishing terminal device by running or executing the computer program and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application program required by a function; and the data storage area can store data created according to the use of the mobile phone and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0043] The application further provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to realize the steps of the method of the embodiments of the application.

[0044] The modules / units of the three-dimensional map point data quick publishing terminal device are realized in the form of software function units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the application realizes all or part of the processes in the above-mentioned embodiment methods, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer readable storage medium. The computer program is executed by a processor to realize the steps of the above-mentioned various method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM) and a software distribution medium, etc.

[0045] Although the application is specifically shown and described in connection with the preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the spirit and scope of the application as defined in the appended claims.

Claims

1. A method for quickly publishing three-dimensional map point data, characterized in that, The method comprises the following steps: S1: configuring connection related information of a data source based on spot data of the data source; S2: constructing different data sharing APIs corresponding to different data types contained in the data source based on the data source, and configuring type names of sharing parameters corresponding to each data sharing API, to generate a calling interface corresponding to each data sharing API; S3: when a new spot layer data is created, generating the spot layer after configuring a calling interface address of a data sharing API corresponding to spot data required by the spot layer and a mapping relationship between type names of corresponding parameters and type names of sharing parameters of the data sharing API; S4: reading the generated spot layer, calling the data sharing API based on a calling interface address of the data sharing API configured in the spot layer, and rendering the spot layer based on a mapping relationship between type names and type names of sharing parameters of the data sharing API.

2. The method of claim 1, wherein: A connection unique identifier is generated for each data source, and when a connection with the data source is created, the connection unique identifier is saved to a cache; when the data source is accessed, the connection unique identifier is first checked from the cache; if the connection unique identifier exists, the data source is directly accessed; otherwise, a connection with the data source is created, and the connection unique identifier is saved to the cache.

3. The method of claim 1, wherein: When a new spot layer data is created, spot layer basic information including a spot layer name and an icon is first configured.

4. The method of claim 1, wherein: The method further comprises creating different business topics according to business requirements, and when a new spot layer is created, the spot layer is divided into different business topic modules.

5. A terminal device for quickly publishing three-dimensional map point data, characterized by: The computer program is executed by the processor to implement the steps of the method of any one of claims 1-4.

6. A computer readable storage medium storing a computer program, the computer program comprising instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 5. The computer program is executed by the processor to implement the steps of the method of any one of claims 1-4.

Citation Information

Patent Citations

  • Inter-process data communication method and device

    CN111367687A

  • Urban operation data visual management system

    CN112149027A