Online real-time interactive ad-hoc map engine method and system

Through online real -time interactive map engine methods, the problem of complicated online visualization process and insufficient interactive editing capabilities of spatial data, real -time online visualization and interactive editing of spatial data meet the needs of multi -scenario integrated applications.

CN119377479AInactive Publication Date: 2025-01-28BEIJING GEOWAY INFORMATION TECH +1

Patent Information

Application Number
CN202411447033.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the online visualization process of spatial data is cumbersome and the interactive editing capabilities are insufficient, which cannot meet the integrated application scenarios of spatial data and what you see is what you get.

Method used

Provide an iconic map engine method for online real -time interaction. By obtaining space data, load it to the map, detect changes in visual content for rendering, generate map frame flow, and push it to the map frame flow server through the streaming media protocol to display real -time display For user instructions for map rendering and real -time interactive editing processing.

Benefits of technology

The real -time online visualization and interactive editing of spatial data has been realized, the effectiveness of the application of space data is improved, the needs of multi -scenario -integrated applications of space data, and avoiding the huge occupation of slices and publishing the tedious processes and storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119377479A_ABST
    Figure CN119377479A_ABST
Patent Text Reader

Abstract

The invention discloses an on-line real-time interactive ad-hoc map engine method and system, and relates to the technical field of map services, and the method comprises the steps: obtaining spatial data; loading the spatial data into a map to obtain a loaded map; when it is detected that the visual content of the loaded map changes, the map is rendered, and a map frame stream is obtained; map frame streams are pushed to a map frame stream server through a streaming media protocol so as to carry out real-time online display on a map, and real-time interactive editing is carried out on map data through instruction processing, so that real-time interactive editing and visualization capabilities close to a desktop scene are possessed in an online application scene of spatial data; spatial data multi-scene integrated application is met, and meanwhile, tedious procedures of slicing and publishing required by spatial data online visualization and huge occupation of storage resources are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of map services, and in particular to an online real-time interactive ad hoc map engine method and system. Background Art

[0002] As spatial data becomes increasingly indispensable in government governance, industrial digitalization and smart city construction, spatial data is used more and more frequently in various online application scenarios such as access, conversion, processing, editing, analysis and visualization.

[0003] The Internet map service based on OGC is an online map service for visualization of spatial data. In the map service mode, the spatial ontology data needs to be sliced ​​to form vector tiles, raster tiles, 3D Tiles and other tile cache data before being published as map services. It is the background data of the base map features. The data ontology tiling process requires a certain amount of time and storage space. Especially when the amount of spatial data ontology data is large, the slicing process is no less than a production process, and it occupies a large storage space, which seriously affects the application efficiency of spatial data. When spatial data needs to be edited, it is often necessary to push the spatial data to the desktop geographic information processing software for editing. After editing, it needs to be re-published through the slicing process. The process is cumbersome and time-consuming. It cannot achieve real-time processing and real-time update and release, and cannot meet the application scenarios of spatial data integration and the WYSIWYG effect. In addition, although WFS (Web Feature Service) can edit spatial data in real time, its data carrying capacity is small, and its interactive editing ability and efficiency are far behind those of desktop geographic information processing software. However, due to the problems of desktop geographic information processing software requiring multi-terminal deployment, cumbersome version installation and upgrade, and frequent data exchange and software form switching required for use with online application systems, it is impossible to truly achieve integration and the user experience is poor.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide an online real-time interactive ad hoc map engine method and system, aiming to solve the technical problems of cumbersome online visualization process of spatial data and insufficient interactive editing capabilities.

[0006] To achieve the above object, the present invention provides an online real-time interactive ad hoc map engine method, which is applied to a map server, and comprises:

[0007] Get spatial data;

[0008] Loading the spatial data into a map to obtain a loaded map;

[0009] When it is detected that the visual content of the loaded map changes, the map is rendered to obtain a map frame stream;

[0010] Pushing the map frame stream to the map frame stream server through a streaming media protocol to display the map online in real time;

[0011] Based on the received user instructions, the map is rendered and interactively edited in real time to obtain an updated map frame stream, and the updated map frame stream is sent to a network client for real-time online display.

[0012] Optionally, the step of pushing the map frame stream to the map frame stream server via a streaming media protocol includes:

[0013] Converting the map frame stream into an image in a preset color space format;

[0014] Encoding the preset color space format image into a preset color space format image of a target format through a hardware accelerated image encoding strategy;

[0015] After encapsulating and packaging the preset color space format image of the target format, a map frame stream conforming to the streaming media protocol format is obtained, and the map frame stream conforming to the streaming media protocol format is pushed to the map frame stream server to display the map in real time.

[0016] Optionally, the step of performing map rendering and real-time interactive editing processing on the map based on the received user instruction to obtain an updated map frame stream includes:

[0017] Receive user instructions transmitted by the map display control;

[0018] When the user instruction is an interactive pan, zoom and roam instruction, the map is rendered to obtain an updated map frame stream;

[0019] When the user instruction is an interactive editing instruction, the map is subjected to real-time interactive editing processing to obtain an updated map frame stream.

[0020] Optionally, when the user instruction is an interactive pan, zoom and roam instruction, the step of rendering the map to obtain an updated map frame stream includes:

[0021] When the user instruction is an interactive pan, zoom and roam instruction, an interactive pan and roam function is executed based on the interactive pan, zoom and roam instruction, and a mouse instruction combination transmitted by a map display control is received;

[0022] Based on the mouse command combination, the map is translated and zoomed to obtain an updated map range;

[0023] The map is rendered in real time based on the updated map range to obtain an updated map frame stream.

[0024] Optionally, when the user instruction is an interactive editing instruction, the step of performing real-time interactive editing processing on the map to obtain an updated map frame stream includes:

[0025] When the user instruction is an interactive editing instruction, a topology merging processing function is executed based on the interactive editing instruction, and a mouse instruction combination transmitted by a map display control is received;

[0026] Based on the mouse command combination, data is selected on the map by dragging a frame guide line to obtain target data, and topological merging is performed according to the selected data to obtain topologically merged map data;

[0027] The map is rendered in real time based on the topologically merged map data to obtain an updated map frame stream.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also proposes an online real-time interactive ad hoc map engine method, which is applied to a map frame stream server, and comprises:

[0029] Get the compressed frame stream pushed by the map server;

[0030] The compressed frame stream is distributed and pushed to a map display control, so that the map display control pulls the compressed frame stream and displays the map online in real time.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also proposes an online real-time interactive ad hoc map engine method, which is applied to a map display control end, and the method includes:

[0032] Pull compressed frame stream;

[0033] Decoding the compressed frame stream to obtain original map data;

[0034] Each frame of data in the original map data is rendered onto a canvas through a rendering engine to display the map online in real time.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes an online real-time interactive ad hoc map engine method, which is applied to a map service management terminal, and the method includes:

[0036] Create a map service instance;

[0037] The identifier and the network protocol connection address of the map service instance are returned to the network client to control the map service instance and create a map.

[0038] Optionally, the method further comprises:

[0039] When receiving a closing map service signal, closing the map service instance;

[0040] Add the map service instance to the map service instance cache pool.

[0041] In addition, to achieve the above objectives, the present invention also proposes an online real-time interactive impromptu map engine system, which includes the map server, map frame stream server, map display control and map service management mentioned above.

[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes an online real-time interactive impromptu map engine device, the device comprising: a memory, a processor, and an online real-time interactive impromptu map engine program stored in the memory and executable on the processor, the online real-time interactive impromptu map engine program being configured to implement the steps of the online real-time interactive impromptu map engine method applied to a map service end, or the online real-time interactive impromptu map engine method applied to a map frame stream service end, or the online real-time interactive impromptu map engine method applied to a map display control end, or the online real-time interactive impromptu map engine method applied to a map service management end as described above.

[0043] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which an online real-time interactive impromptu map engine program is stored. When the online real-time interactive impromptu map engine program is executed by a processor, the steps of the online real-time interactive impromptu map engine method applied to the map service end or the online real-time interactive impromptu map engine method applied to the map frame stream service end or the online real-time interactive impromptu map engine method applied to the map display control end or the online real-time interactive impromptu map engine method applied to the map service management end as described above are implemented.

[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the ad hoc map engine method for online real-time interaction applied to the map service end, or the ad hoc map engine method for online real-time interaction applied to the map frame stream service end, or the ad hoc map engine method for online real-time interaction applied to the map display control end, or the ad hoc map engine method for online real-time interaction applied to the map service management end as described above.

[0045] One or more technical solutions proposed in this application have at least the following technical effects:

[0046] Acquire spatial data; load spatial data into a map to obtain a loaded map; when a change in the visual content of the loaded map is detected, render the map to obtain a map frame stream; push the map frame stream to a map frame stream server through a streaming media protocol to display the map online in real time, and perform real-time interactive editing of map data through instruction processing, so that the online application scenarios of spatial data have real-time interactive editing and visualization capabilities close to those of desktop scenarios, meeting the requirements of multi-scenario integrated application of spatial data, while avoiding the cumbersome process of slicing and publishing required for online spatial data and the huge occupation of storage resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0049] Figure 1 A flowchart of the first embodiment of the online real-time interactive ad hoc map engine method applied to a map server of the present application;

[0050] Figure 2 This is the overall system timing diagram of the online real-time interactive ad hoc map engine of this application;

[0051] Figure 3 The overall framework design diagram of the ad hoc map engine method for online real-time interaction applied to the map server in this application;

[0052] Figure 4 A diagram showing the design principles of an ad hoc map engine method for online real-time interaction applied to a map server in this application;

[0053] Figure 5 A flowchart of a second embodiment of the online real-time interactive ad hoc map engine method applied to a map server of the present application;

[0054] Figure 6 This is a flowchart of the push and distribution of map frame flows of the second embodiment of the online real-time interactive ad hoc map engine method applied to the map server of the present application;

[0055] Figure 7The interactive browsing and editing collaboration diagram of the second embodiment of the online real-time interactive ad hoc map engine method applied to the map server of the present application;

[0056] Figure 8 A flowchart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map frame stream server;

[0057] Fig. 9 A flowchart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map display control terminal;

[0058] Fig.10 A flowchart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map service management terminal;

[0059] Fig.11 It is an overall collaboration diagram of the online real-time interactive ad hoc map engine method in the embodiment of the present application;

[0060] Fig.12 This is a schematic diagram of the device structure of the hardware operating environment involved in the online real-time interactive ad hoc map engine method in the embodiment of the present application.

[0061] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0062] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0063] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0064] Based on this, the embodiment of the present application provides an online real-time interactive ad hoc map engine method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the online real-time interactive ad hoc map engine method applied to a map server in the present application.

[0065] In this embodiment, the online real-time interactive ad hoc map engine method includes steps S10 to S50:

[0066] Step S10, acquiring spatial data;

[0067] It should be understood that spatial data includes vector data, image data, terrain data, point cloud data, and three-dimensional data, etc.

[0068] It should be noted that the present invention proposes an online real-time interactive ad hoc map engine technology, which meets the integrated application scenario of online real-time visualization and real-time interactive editing of spatial data, including map service, map service management, map frame stream service, map display control composition, such as Figure 2 As shown, Figure 2 This is the overall system sequence diagram of the online real-time interactive ad hoc map engine. The system of the online real-time interactive ad hoc map engine includes a Web client, a map display control, a map service management, a map service, and a map frame stream service. The Web client requests the map service management end to create a map service instance. After the map service management end responds, it initializes resources to create an instance and returns the map service instance ID and WebSocket address to the Web client. The Web client connects to the map server based on the instance ID and WebSocket address. The Web client requests the map server to create a map. When the map service detects changes in the visual content, it performs map frame rendering. The Web client loads data into the map. The map service The client requests the map frame stream server for streaming resources and receives the streaming address returned by the map frame stream server. The map server then continuously pushes the map frame stream to the map frame stream server for map frame stream distribution. The Web client requests the map server to obtain the streaming address and requests the map display control to create a map control. The map display control connects to the map server based on the instance ID and WebSocket address. The Web client pulls the map frame stream from the map frame stream server. The map display control receives the instruction and calls the map server. The map server returns according to the instruction structure. Users can manage the map service instance created by the map service management end through the Web client. After use, they can request to close the map service instance.

[0069] Its overall framework design is as follows Figure 3 As shown: The Web client uses an ad hoc map engine and is deployed in environments including stand-alone workstations, workstation networks, server clusters, and cloud environments. It accesses spatial data including vector data, image data, terrain data, point cloud data, and three-dimensional data. The ad hoc map engine includes map display controls, map service management, map frame stream services, and map services. The deployment environment includes map frame rendering modules, map frame stream push modules, and command processing modules; map display controls include map frame stream pull modules, map frame stream playback modules, human-computer interaction modules, and command sending and receiving modules; map service management includes creating map service modules, destroying map service modules, and configuring map service modules; map frame stream services include map frame stream access modules and map frame stream distribution modules.

[0070] It is understandable that integrated online interactive editing and visualization capabilities are provided through service-oriented interfaces. The map frame rendering module renders a frame of map data into the map canvas. The map data frame is the visualization content of the map data, and continuously triggers map rendering according to changes in the map data status to form a map rendering frame stream. The map frame push module pushes the map frame stream formed by the map frame rendering module to the map frame stream service through the streaming protocol, so that the subsequent map frame stream service can distribute the map frame stream. The Web client pulls the map frame stream from the map frame stream service, thereby displaying the map visualization content in the Web front-end browser. The instruction processing module establishes a connection with the Web client through WebSocket, receives mouse and keyboard system event instructions and function instructions sent by the Web client, and after receiving the specific instruction, the instruction module parses the content of the instruction and performs response processing, and returns the execution result to the Web client.

[0071] Step S20, loading the spatial data into the map to obtain the loaded map;

[0072] It should be noted that the loaded map is a map that can display spatial data.

[0073] In a specific implementation, the Web client sends a data loading instruction, and the map service instance loads the spatial data into the map so that the spatial data can be displayed on the map interface.

[0074] Step S30, when it is detected that the visual content of the loaded map changes, the map is rendered to obtain a map frame stream;

[0075] It should be noted that changes in visualization content may be caused by user interaction (such as zooming, panning, and rotating) or data updates (such as vector element graphic acquisition and editing).

[0076] Rendering processing can be achieved by using a rendering engine through a map service to convert the updated data model into a graphical representation. This process includes scheduling map data, applying symbol styles, dynamic labeling, etc.

[0077] It should be understood that the rendering engine converts each updated map into a series of image frames, which are combined to form a map frame stream, wherein each frame represents a static image of the map.

[0078] In the specific implementation, when the map visualization content changes, the map frame rendering will be triggered to form a map frame stream.

[0079] It should be noted that the continuous change of the map visualization content may be generated by the continuous panning of the mouse to roam the map.

[0080] Step S40, pushing the map frame stream to the map frame stream server through the streaming media protocol to display the map online in real time;

[0081] It should be noted that the RTMP streaming protocol is a network protocol specifically used for real-time data transmission. It achieves fast and reliable data transmission by establishing and maintaining a communication path between the client and the server, dividing the multimedia stream into small slices, and multiplexing them for transmission on a single connection.

[0082] In the specific implementation, the Web client sends a request to the map service to push the map frame stream. The map frame stream push module of the map service requests the map frame stream service for the push stream resource and obtains the push stream address. The map service returns the requested push stream address to the Web client and waits for the Web client to pull the stream.

[0083] like Figure 4 As shown, Figure 4 The design principle diagram is combined with the integrated application scenario requirements of spatial data in online real-time interactive editing such as data governance. Based on the three design principles of "service-oriented", "component-oriented" and "scalable", the technology can meet various scenarios of online applications of spatial data in data governance, among which, service-oriented includes independent backend service functions and high reuse, which are suitable for the use requirements of different scenarios; a single service can choose the number of deployment nodes according to performance requirements and deploy dynamically; component-oriented includes the use of fine-grained component mode on the Web front end with high reuse; components have high cohesion and low coupling, and meet changes in requirements through the combination of components; scalable deployment includes support for stand-alone deployment, distributed deployment and hybrid architecture deployment.

[0084] Step S50, based on the received user instructions, the map is rendered and interactively edited in real time to obtain an updated map frame stream, and the updated map frame stream is sent to the network client for real-time online display.

[0085] It should be noted that real-time interactive editing means that users can modify the map immediately, and these modifications will be reflected on the map. Users can see the latest status of the map on the web client. All edits and updates are visible immediately. Users do not need to refresh the page or reload the application. All changes will be automatically updated to the web client for display.

[0086] Map rendering means sending a combination of mouse press, mouse move, and mouse lift commands in panning and roaming mode. The map service changes the map range according to the command combination and renders in real time to generate a map frame stream.

[0087] It should be understood that the real-time interactive editing method adopted by this strategy includes but is not limited to real-time rendering processing and real-time editing processing, point collection, line collection, polygon collection, annotation collection, node editing, local concatenation, attribute editing and other functions.

[0088] It is understandable that the updated map frame stream refers to the latest state of the map after the user edits it. Each time the user performs an editing operation, the system generates a new map state and processes it as a "frame".

[0089] This embodiment provides an online real-time interactive ad hoc map engine method, which obtains spatial data; loads the spatial data into a map to obtain a loaded map; when a change in the visual content of the loaded map is detected, renders the map to obtain a map frame stream; pushes the map frame stream to a map frame stream server through a streaming media protocol to display the map in real time online, ensuring that the dynamic content of the map can be reflected in the user interface in real time, providing users with a smooth map rendering experience.

[0090] Based on the first embodiment of the ad hoc map engine method for online real-time interaction applied to the map server of the present application, in the second embodiment of the ad hoc map engine method for online real-time interaction applied to the map server of the present application, the same or similar contents as the above embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 5 , step S40 includes steps S401 to S403:

[0091] Step S401, converting the map frame stream into an image in a preset color space format;

[0092] It should be noted that while the map service returns the requested streaming address to the Web client and waits for the Web client to pull the stream, the map service continues to stream to the map frame stream service through the RTMP streaming protocol at a certain FPS (streaming frequency). The data format in the map frame stream is RGB image.

[0093] It should be understood that the preset color space format image, namely the YUV image, is a color encoding method used for video and image processing, which stores the brightness information (Y) and chrominance information (U, V) of the image separately. This separation makes the YUV format excellent in bandwidth and storage optimization, and is suitable for video compression, real-time communication and image analysis.

[0094] In the specific implementation, the RGB image needs to be converted into a YUV image that can be transmitted and recognized by RTMP (streaming media protocol) during the streaming process.

[0095] Step S402, encoding the preset color space format image into a preset color space format image of a target format through a hardware accelerated image encoding strategy;

[0096] It should be noted that the hardware-accelerated image encoding strategy, namely GPU hardware acceleration, is a technology that uses the parallel processing capabilities of the graphics processing unit (GPU) to improve computing performance. It can significantly improve the efficiency of map rendering and data processing. The target format, namely the H.264 format, is a standard widely used in video compression. It significantly improves the compression rate of video data through efficient encoding technology while maintaining a high image quality.

[0097] In the specific implementation, GPU hardware acceleration is used to encode YUV images into H.264 format.

[0098] Step S403, after encapsulating and packaging the preset color space format image of the target format, a map frame stream conforming to the streaming media protocol format is obtained, and the map frame stream conforming to the streaming media protocol format is pushed to the map frame stream server for real-time display of the map.

[0099] It should be noted that the encapsulation and packaging process, namely FLV encapsulation and packaging, refers to the process of organizing and packaging audio and video data according to the FLV (Flash Video) format standard, in order to make the audio and video data more suitable for network transmission while ensuring the integrity and playability of the data.

[0100] The specific method of pushing is to use the streaming media protocol. The RTMP streaming media protocol is a network protocol specifically used for real-time data transmission. It achieves fast and reliable data transmission by establishing and maintaining a communication path between the client and the server, dividing the multimedia stream into small slices and multiplexing them for transmission on a single connection.

[0101] It should be understood that the core parameters in the process of pushing map streams include PFS and BitRate: FPS is how many map frames are pushed to the map frame streaming service per second, and BitRate is how many bits of data are transmitted per second. BitRate is proportional to image quality and data transmission volume. The map frame streaming service can automatically adjust according to factors such as network bandwidth and computing performance to ensure the quality and smoothness of the map frame stream. After receiving the map frame stream pushed by the map service, the map frame streaming service converts the map frame stream in the RTMP streaming protocol format into the WebRTC protocol for distribution, and waits for the Web client to pull the map frame stream.

[0102] In the specific implementation, FLV is encapsulated and packaged through the RTMP streaming protocol and then continuously pushed to the map frame streaming service.

[0103] like Figure 6 As shown, Figure 6 In order to push and distribute the map frame stream flowchart, after the map frame stream is rendered on the map server, the map frame stream is converted from RGB format to YUV format, and then the map frame stream in H.264 format is obtained through GPU hardware accelerated image encoding. After being packaged through FLV encapsulation, it is pushed to the map frame stream server through the RTMP protocol for distribution through the WebRTC protocol.

[0104] In a feasible implementation manner, step S50 includes steps A21 to A22:

[0105] Step A21: receiving a user instruction transmitted by the map display control;

[0106] It should be noted that the map display control sends the mouse and keyboard events to the command processing module of the map service in the form of instructions. The command processing module of the map service starts to respond after receiving the mouse and keyboard instructions.

[0107] It should be understood that user instructions are instructions conveyed by the user through mouse and keyboard events.

[0108] Step A22: When the user instruction is an interactive pan, zoom and roam instruction, the map is rendered to obtain an updated map frame stream;

[0109] In a specific implementation, a combination of mouse press, mouse move, and mouse lift commands is sent in the panning roaming mode, and the map service changes the map range according to the command combination and generates a map frame stream through real-time rendering.

[0110] Step A23: When the user instruction is an interactive editing instruction, the map is subjected to real-time interactive editing processing to obtain an updated map frame stream.

[0111] It should be noted that the Web client sends interactive editing instructions to perform interactive map editing, and the map service starts the topology merge editing processing logic after receiving the interactive editing instructions.

[0112] It should be understood that in addition to these two processing methods, this strategy can also adopt other processing methods and technologies to enhance the interactivity and real-time performance of the map, such as point collection, line collection, polygon collection, annotation collection, node editing, local concatenation, attribute editing, etc.

[0113] After the Web client displays the map visualization content in the map display control, the map display control starts interactive operations and sends mouse and keyboard commands and function classes to the map service for corresponding processing. The interactive browsing and editing process is as follows: Figure 7 As shown, Figure 7To interactively browse and edit the collaborative map, the Web client requests the map display control to perform interactive panning and roaming. The map display control receives the left mouse button command and requests the map service to record the mouse pressing position. The map display control continues to transmit the mouse movement command. After receiving the command, the map service calculates the offset position to update the map range and renders the map frame stream. The map display control transmits the left mouse button lift command, and the map service completes the panning and roaming and stops rendering. At this time, the Web client completes the panning and roaming interaction. The Web client requests the map display control to perform interactive topology merging and editing. The map display control transmits the topology merging and editing function command. After receiving the command, the map service starts the topology merging and editing function. The map display control starts the box selection and transmits the mouse movement command. The map service records the mouse pressing position. The map display control continues to transmit the mouse movement command. The map service calculates the offset position to draw the box guide line and renders the map frame stream. When the map display control transmits the left mouse button lift command, the map service selects vector data. When the right mouse button is pressed, the map service topologically merges the selected data and renders the map frame stream. The Web client completes the topology merging and editing interaction.

[0114] In a feasible implementation manner, step A22 may include steps A221 to A223:

[0115] Step A221: When the user instruction is an interactive pan, zoom and roam instruction, an interactive pan and roam function is executed based on the interactive pan, zoom and roam instruction, and a mouse instruction combination transmitted by the map display control is received;

[0116] It should be noted that the map display control captures the user's mouse operations, such as mouse press, move and release events, and converts these events into a series of mouse command combinations;

[0117] After receiving the mouse command combination, the command processing module of the map server parses these commands to determine the user's intention, such as panning the map or zooming. The interactive panning and roaming function means that the user pans and roams on the map through interactive operations (such as mouse dragging, touch sliding, etc.) to view the map content of different areas.

[0118] Step A222: panning and zooming the map based on a combination of mouse commands to obtain an updated map range;

[0119] It should be noted that after performing a pan or zoom operation, the map server updates the state of the map, including the center point of the map, zoom level, etc., to reflect the user's interactive operation.

[0120] In the specific implementation, according to the mouse command, the map server calculates the new map view range. If it is a pan command, the map server pans the map view in the specified direction and distance. If it is a zoom command, the map server zooms the map view in the specified level.

[0121] Step A223: Perform real-time rendering processing on the map based on the updated map range to obtain an updated map frame stream.

[0122] In the specific implementation, the map server re-renders the map according to the updated map range and generates a new map frame. This step involves re-querying, symbolizing and drawing the map data;

[0123] The result of real-time rendering generates a series of new map frames, which constitute an updated map frame stream. Each frame in the frame stream is a static image of the map, and continuous frames form a dynamic roaming effect.

[0124] It should be understood that after executing the above steps, the Web client can see the real-time map visualization content of the map panning and roaming. Similarly, map rendering functions such as panning and zooming can be achieved through various interactive operations of the mouse and keyboard.

[0125] In a feasible implementation manner, step A23 may include steps A224 to A226:

[0126] Step A224: when the user instruction is an interactive editing instruction, a topology merging processing function is executed based on the interactive editing instruction, and a mouse instruction combination transmitted by the map display control is received;

[0127] It should be noted that the map service instance parses the mouse command combination transmitted from the map display control, which includes events such as mouse pressing, moving and releasing.

[0128] Based on the interpreted mouse commands, the map service instance performs topology merging processing functions, which involves identifying intersecting or adjacent geographic features and merging them to resolve topology errors or optimize the map data structure.

[0129] Step A225: selecting data on the map by dragging a frame guide line based on a combination of mouse commands to obtain target data, and performing topological merging processing on the selected data to obtain topologically merged map data;

[0130] In the specific implementation, the user performs a drag-box operation through the map display control, and the map service instance displays the range of the drag-box through a guide line and selects the target data in the box;

[0131] The map service instance performs topological merging processing based on the selected data, including operations such as merging adjacent polygons and connecting disconnected line features.

[0132] It should be understood that after the topology merge is completed, the map service instance updates the map data and generates new map elements and topological relationships.

[0133] Step A226: Based on the topologically merged map data, the map is rendered in real time to obtain an updated map frame stream.

[0134] It should be noted that the result of real-time rendering generates a series of new map frames to form an updated map frame stream, which will be pushed to the client through the streaming protocol.

[0135] In the specific implementation, the Web client sends an interactive editing command to perform interactive map editing. After receiving the interactive editing command, the map service starts the topology merge editing processing logic, processes the left mouse button event to drag the box to select data, and renders the guide line in real time during the drag box process. The Web client sends a right mouse button event to perform topology merging processing, and the map frame stream is updated after the processing is completed.

[0136] It should be understood that the Web client can see the real-time visualization of the topology merge edit in real time.

[0137] This embodiment provides an online real-time interactive ad hoc map engine method. Through these steps, users can experience smooth map interactive panning and roaming functions. At the same time, the map service system can respond to user operations in real time, provide dynamic map view updates, and update map data and frame streams in real time to ensure the immediacy of user operations and the accuracy of map data. This interactive method provides users with powerful map editing capabilities, making map maintenance and updates more efficient and intuitive. This interactive method is very important for improving user experience and realizing complex map operations.

[0138] like Figure 8 As shown, Figure 8 The present invention is a flowchart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map frame stream server.

[0139] In this embodiment, the online real-time interactive ad hoc map engine method includes steps S50 to S60:

[0140] Step S50, obtaining the compressed frame stream pushed by the map server;

[0141] It should be noted that the map frame streaming service provides real-time, stable and efficient access and distribution capabilities for map frame streaming. The map frame streaming service accesses the map frame stream of the RTMP protocol pushed by the map service, converts the map frame stream of the RTMP protocol into the WebRTC format for distribution, so that the Web client can use the map display control to pull the map frame stream from the map frame streaming service for playback, thereby realizing the real-time display of the visualization content of the map data on the Web client. The map frame streaming service is scalable through configuration, and can be deployed in a single machine, distributed, or hybrid architecture to meet the needs of concurrent access by people of different sizes.

[0142] Step S60: distribute and push the compressed frame stream to the map display control, so that the map display control pulls the compressed frame stream and displays the map online in real time.

[0143] It should be noted that the map display control is the core carrier of map visualization and interactive editing functions. It is embedded in the Web client browser page in the form of a window to display map visualization content and human-computer interaction.

[0144] The map display control pulls the map frame stream from the map frame stream service through the WebRTC protocol, and renders each frame of data in the map frame stream into the map display control canvas, thereby realizing the visualization of map data.

[0145] In the specific implementation, after receiving the map frame stream pushed by the map service, the map frame stream service converts the map frame stream in the RTMP streaming protocol format into the WebRTC protocol for distribution, and waits for the Web client to create a map display control to pull the map frame stream.

[0146] This embodiment provides an online real-time interactive impromptu map engine method, which obtains the compressed frame stream pushed by the map server, distributes and pushes the compressed frame stream to the map display control, so that the map display control pulls the compressed frame stream and displays the map in real time online. The map frame stream service is scalable through configuration, and can be deployed in a single machine, distributed, or in a hybrid architecture to meet the needs of concurrent access by people of different sizes.

[0147] like Fig. 9 As shown, Fig. 9 The present invention is a flow chart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map display control terminal.

[0148] In this embodiment, the online real-time interactive ad hoc map engine method includes steps S70 to S90:

[0149] Step S70, pulling the compressed frame stream;

[0150] It should be noted that the map display control is the core carrier of functions such as map visualization and interactive editing. It is embedded in the web client browser page in the form of a window to display map visualization content and human-computer interaction. The map display control pulls the map frame stream from the map frame stream service through the WebRTC protocol, and renders each frame of data in the map frame stream into the map display control canvas, thereby realizing the visualization of map data. The map display control sends mouse events and keyboard events to the command processing module in the map service in the form of instructions. The command processing module receives the instructions and adds the instructions to the command queue to respond in turn, thereby realizing the human-computer interaction of mouse and keyboard messages. In addition, the map display control can be used in conjunction with common controls for online applications such as map content tables, attribute tables, and toolbars. Functional instructions such as display / hide layer function instructions are sent to the command processing module in the map service. The command processing module receives the instructions and adds the instructions to the command queue to respond in turn, and feeds back the execution results of the functional instructions to the web client, thereby realizing the execution of functions and human-computer interaction.

[0151] In the specific implementation, the Web client creates a map display control and embeds it into the browser page in the form of a window. The map display control pulls the map frame stream from the map frame stream push address returned by the map service through the WebRTC streaming protocol.

[0152] Step S80, decoding the compressed frame stream to obtain original map data;

[0153] In a specific implementation, a corresponding decoder (for H.264 compressed data, an H.264 decoder is used) is used to convert the compressed data back to the original image format.

[0154] It should be noted that the original map data obtained after decoding usually contains a series of image frames, each of which represents the state of the map at a certain moment. These data can be further processed, such as color space conversion, resolution adjustment, etc., to adapt to different display devices.

[0155] Step S90, rendering each frame of the original map data onto a canvas through a rendering engine, so as to display the map online in real time.

[0156] It should be noted that the rendered image data is drawn onto a virtual canvas, which can be a graphical interface element, such as an element in a web page or a canvas object provided by other graphics libraries. The canvas acts as an intermediate layer that captures the rendered output and presents it on the user's screen.

[0157] In the specific implementation, each frame of data in the frame stream is rendered into the map display control, realizing the real-time visualization of the map data on the Web client.

[0158] This embodiment provides an online real-time interactive impromptu map engine method, which pulls a compressed frame stream; decodes the compressed frame stream to obtain original map data; renders each frame of the original map data onto a canvas through a rendering engine to display the map in real time online, thereby realizing real-time visualization of map data on a Web client.

[0159] like Fig.10 As shown, Fig.10 The present invention is a flowchart of a first embodiment of an online real-time interactive ad hoc map engine method applied to a map service management terminal.

[0160] In this embodiment, the online real-time interactive ad hoc map engine method includes steps S100 to S110:

[0161] Step S100, creating a map service instance;

[0162] In a specific implementation, the Web client requests the map service management to create a map service instance, and the map service management creates the map service instance after receiving the request.

[0163] It should be noted that map service management is mainly used to manage map service instances, including functions such as creating, closing, destroying, managing, and configuring map service instances. Web clients request map service instances through map service management and establish point-to-point connections with map services, that is, one web client connects to one map service instance. When the web client has finished using the map service, it closes or destroys the map service instance. Map service management monitors and manages the status of map services, destroys abnormal map service instances and recreates and allocates them, and adds closed map service instances to the map service instance cache pool to improve creation efficiency. Map service management configuration is scalable and can be deployed on a single machine, distributedly, or in a hybrid architecture to meet the needs of concurrent access by people of different sizes.

[0164] Step S110, returning the identifier of the map service instance and the network protocol connection address to the network client to control the map service instance and create a map.

[0165] It should be noted that the identifier is the map service instance ID, which is a unique identifier used to distinguish different map service instances; the network protocol connection address is the map service instance WebSocket connection address, which refers to the URL for establishing WebSocket communication between the map service instance and the client. WebSocket is a network communication protocol that provides full-duplex communication capabilities over a single TCP connection. It allows both the client and the server to send data at any time without waiting for the other party's request or response.

[0166] In the specific implementation, the created map service instance ID and map service instance WebSocket connection address are returned to the Web client. After the Web client receives the WebSocket connection address, it connects to the map service instance. After the connection is completed, the command processing module of the map service can be called to execute the corresponding function.

[0167] In a feasible implementation manner, after step S110, steps A11 to A13 are further included:

[0168] Step A11: upon receiving a signal for closing the map service, closing the map service instance;

[0169] In the specific implementation, after the Web client finishes using the map service, it requests the map service manager to close the map service instance, and the map service manager sets the map service instance status to closed.

[0170] Step A12: Add the map service instance to the map service instance buffer pool.

[0171] It should be noted that map service instance pooling is a resource management strategy used to improve the efficiency and response speed of map services. In this strategy, map service instances are created and kept in a pool so that they can be quickly allocated and responded to when new service requests are received, without having to create service instances from scratch every time.

[0172] In a specific implementation, the map service instance is added to the map service instance buffer pool to improve the efficiency of the next request for the map service instance.

[0173] This embodiment provides an online real-time interactive ad hoc map engine method to create a map service instance; return the identifier and network protocol connection address of the map service instance to the network client to control the map service instance and create a map. The map service instance can provide richer map functions, such as layer control, marker display, path planning, etc.

[0174] like Fig.11 As shown, Fig.11 This is the overall collaboration diagram of this solution. The Web client is connected to the map service management end and the map display control respectively. The map service end and the map frame stream service end are connected respectively. The Web client creates a map control to the map display control. The Web client applies for and releases resources to the map service management. The map service management is used to manage the map service instance to regulate the map service. The map service pushes the map frame stream to the map frame stream service. The map service is used to execute the instructions conveyed by the map display control and feedback the execution results. The map frame stream service is used to distribute the map frame stream to the map display control. The map display control can pull the map frame stream from the map frame stream service.

[0175] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the online real-time interactive ad hoc map engine method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0176] In addition, to achieve the above objectives, the present invention also proposes an online real-time interactive impromptu map engine system, which includes the map server, map frame stream server, map display control and map service management mentioned above.

[0177] The present application provides an online real-time interactive impromptu map engine device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the online real-time interactive impromptu map engine method in the above-mentioned embodiment one.

[0178] Reference below Fig.12 , which shows a schematic diagram of the structure of an ad hoc map engine device suitable for implementing online real-time interaction in the embodiment of the present application. The online real-time interactive ad hoc map engine device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.12 The online real-time interactive ad hoc map engine device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0179] like Fig.12 As shown, the online real-time interactive ad hoc map engine device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the online real-time interactive ad hoc map engine device are also stored in RAM1004. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the online real-time interactive ad hoc map engine device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows an online real-time interactive ad hoc map engine device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0180] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0181] The online real-time interactive impromptu map engine device provided by the present application adopts the online real-time interactive impromptu map engine method in the above embodiment, which can solve the technical problems of cumbersome online visualization process of spatial data and insufficient interactive editing capabilities. Compared with the prior art, the beneficial effects of the online real-time interactive impromptu map engine device provided by the present application are the same as the beneficial effects of the online real-time interactive impromptu map engine method provided by the above embodiment, and the other technical features in the online real-time interactive impromptu map engine device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0182] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0183] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0184] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the online real-time interactive ad hoc map engine method in the above-mentioned embodiment.

[0185] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0186] The computer-readable storage medium may be included in the online real-time interactive ad hoc map engine device; or may exist independently without being assembled into the online real-time interactive ad hoc map engine device.

[0187] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an online real-time interactive ad hoc map engine device, the online real-time interactive ad hoc map engine device: obtains spatial data; loads the spatial data into a map to obtain a loaded map; when a change in the visual content of the loaded map is detected, renders the map to obtain a map frame stream; pushes the map frame stream to a map frame stream server through a streaming media protocol to display the map online in real time; renders and performs real-time interactive editing on the map based on received user instructions to obtain an updated map frame stream, and sends the updated map frame stream to a network client for real-time online display.

[0188] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0189] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0190] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0191] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned online real-time interactive ad hoc map engine method, which can solve the technical problems of cumbersome online visualization process of spatial data and insufficient interactive editing capabilities. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the online real-time interactive ad hoc map engine method provided in the above-mentioned embodiment, and will not be repeated here.

[0192] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the online real-time interactive ad hoc map engine method as described above.

[0193] The computer program product provided by this application can solve the technical problems of cumbersome online visualization process of spatial data and insufficient interactive editing capabilities. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the online real-time interactive ad hoc map engine method provided by the above embodiment, which will not be repeated here.

[0194] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An online real-time interactive ad hoc map engine method, characterized in that: The online real-time interactive ad hoc map engine method is applied to a map server, and the method comprises: Get spatial data; Loading the spatial data into a map to obtain a loaded map; When it is detected that the visual content of the loaded map changes, the map is rendered to obtain a map frame stream; Pushing the map frame stream to the map frame stream server through a streaming media protocol to display the map online in real time; Based on the received user instructions, the map is rendered and interactively edited in real time to obtain an updated map frame stream, and the updated map frame stream is sent to a network client for real-time online display.

2. The online real-time interactive ad hoc map engine method according to claim 1, characterized in that: The step of pushing the map frame stream to the map frame stream server via a streaming media protocol includes: Converting the map frame stream into an image in a preset color space format; Encoding the preset color space format image into a preset color space format image of a target format through a hardware accelerated image encoding strategy; After encapsulating and packaging the preset color space format image of the target format, a map frame stream conforming to the streaming media protocol format is obtained, and the map frame stream conforming to the streaming media protocol format is pushed to the map frame stream server to display the map in real time.

3. The online real-time interactive ad hoc map engine method according to claim 1, characterized in that: The step of performing map rendering and real-time interactive editing processing on the map based on the received user instruction to obtain an updated map frame stream includes: Receive user instructions transmitted by the map display control; When the user instruction is an interactive pan, zoom and roam instruction, the map is rendered to obtain an updated map frame stream; When the user instruction is an interactive editing instruction, real-time interactive editing is performed on the map to obtain an updated map frame stream.

4. The online real-time interactive ad hoc map engine method according to claim 3, characterized in that: When the user instruction is an interactive pan, zoom and roam instruction, the map is rendered to obtain an updated map frame stream, comprising: When the user instruction is an interactive pan, zoom and roam instruction, an interactive pan and roam function is executed based on the interactive pan, zoom and roam instruction, and a mouse instruction combination transmitted by a map display control is received; Perform translation and zoom processing on the map based on the mouse command combination to obtain an updated map range; The map is rendered in real time based on the updated map range to obtain an updated map frame stream.

5. The online real-time interactive ad hoc map engine method according to claim 3, characterized in that: When the user instruction is an interactive editing instruction, the step of performing real-time interactive editing processing on the map to obtain an updated map frame stream includes: When the user instruction is an interactive editing instruction, a topology merging processing function is executed based on the interactive editing instruction, and a mouse instruction combination transmitted by a map display control is received; Based on the mouse command combination, data is selected on the map by dragging a frame guide line to obtain target data, and topological merging is performed according to the selected data to obtain topologically merged map data; The map is rendered in real time based on the topologically merged map data to obtain an updated map frame stream.

6. An online real-time interactive ad hoc map engine method, characterized in that: The online real-time interactive ad hoc map engine method is applied to a map frame stream server, and the method comprises: Get the compressed frame stream pushed by the map server; The compressed frame stream is distributed and pushed to a map display control, so that the map display control pulls the compressed frame stream and displays the map online in real time.

7. An online real-time interactive ad hoc map engine method, characterized in that: The online real-time interactive ad hoc map engine method is applied to a map display control end, and the method includes: Pull compressed frame stream; Decoding the compressed frame stream to obtain original map data; Each frame of data in the original map data is rendered onto a canvas through a rendering engine to display the map online in real time.

8. An online real-time interactive ad hoc map engine method, characterized in that: The online real-time interactive ad hoc map engine method is applied to a map service management terminal, and the method comprises: Create a map service instance; The identifier and the network protocol connection address of the map service instance are returned to the network client to control the map service instance and create a map.

9. The online real-time interactive ad hoc map engine method according to claim 8, characterized in that: The method further comprises: When receiving a closing map service signal, closing the map service instance; Add the map service instance to the map service instance cache pool.

10. An online real-time interactive ad hoc map engine system, characterized in that: The online real-time interactive ad hoc map engine system includes the map service end described in any one of claims 1 to 5, the map frame stream service end described in claim 6, the map display control end described in claim 7, and the map service management end described in claim 8 or 9.

Citation Information

Patent Citations

  • Method for editing GIS (geographic information system) topological data set interactively

    CN102306156A

  • Resource allocation method and device of map engine and electronic equipment

    CN111930464A

  • Vehicle map display control method, vehicle and storage medium

    CN115222903A

  • Interactive cloud rendering three-dimensional visual development platform implementation method and system

    CN116382667A

  • Three-dimensional map system service method based on cloud rendering

    CN117078874A

Cited By

  • Method and device for real-time interaction between map and front-end Web page based on virtual engine

    CN120803580A