Three-dimensional collaborative GIS message interaction method and device, equipment and medium

By defining the graphic rendering process in the 3D GIS operation message, the initiator sends the operation attributes to the receiver, which solves the problem that 2D GIS cannot be applied to 3D collaborative GIS and improves the collaborative synchronization efficiency of the 3D collaborative GIS system.

CN116756254BActive Publication Date: 2026-01-23AEROSPACE INFORMATION RES INST CAS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310423828.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2026-01-23
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

Existing two-dimensional collaborative GIS methods cannot be effectively applied to three-dimensional collaborative GIS, resulting in low efficiency in the collaborative synchronization of three-dimensional collaborative GIS systems.

Method used

By obtaining the user's operation attributes for 3D GIS operations from the initiator of the collaboration, defining the graphic rendering process, and sending it to the collaborative receiver in the 3D GIS operation message, the collaborative receiver can perform inversion based on the defined rendering process, including determining the impact of geometric attributes and spatial relationship attributes, and judging whether the transformation matrix has changed, etc.

Benefits of technology

It enables efficient operation of 3D collaborative GIS work and improves the efficiency of collaborative synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116756254B_ABST
    Figure CN116756254B_ABST
Patent Text Reader

Abstract

The application provides a three-dimensional collaborative GIS message interaction method, device, equipment and medium, relates to the technical field of geographic information systems, and the method is applied to a collaborative initiator and includes the following steps: acquiring operation attributes of a user performing a three-dimensional GIS operation; defining a graphic rendering process in a three-dimensional GIS operation message based on the operation attributes; and sending the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver performs three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message. Through the collaborative initiator defining the graphic rendering process in the three-dimensional GIS operation message based on the operation attributes of the user performing the three-dimensional GIS operation, and the collaborative receiver performing the three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator, efficient operation of three-dimensional collaborative GIS work can be realized, and the collaborative synchronization efficiency of the three-dimensional collaborative GIS system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of geographic information system, and particularly relates to a three-dimensional collaborative GIS message interaction method, device, equipment and medium. BACKGROUND

[0002] With the rapid development of three-dimensional geographic information system (GIS) and communication technology, collaborative GIS gradually develops from two-dimensional to three-dimensional, and from server-client (C / S) architecture to browser-server (B / S) structure. With the help of browsers, users can directly browse the geographic world expressed more richly and carry out collaborative work anytime and anywhere. Although the object of three-dimensional GIS operation is still geographic object, two-dimensional GIS and three-dimensional GIS have many differences in operation object types and operation methods, and three-dimensional GIS needs to consume more resources when rendering, so that the simple reference of two-dimensional collaborative GIS GIS operation message encapsulation, analysis and inversion method cannot be effectively applied to three-dimensional collaborative GIS.

[0003] Therefore, how to realize efficient operation of three-dimensional collaborative GIS work and improve the collaborative synchronization efficiency of three-dimensional collaborative GIS system has become a problem to be solved in the industry. SUMMARY

[0004] In view of the problems in the prior art, the present application provides a three-dimensional collaborative GIS message interaction method, device, equipment and medium.

[0005] In a first aspect, the present application provides a three-dimensional collaborative GIS message interaction method, comprising:

[0006] obtaining an operation attribute of a three-dimensional GIS operation performed by a user;

[0007] defining a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute;

[0008] sending the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver performs three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message.

[0009] Optionally, according to the three-dimensional collaborative GIS message interaction method provided by the present application, the operation attribute includes a geometric attribute and a spatial relationship attribute, the geometric attribute describes the construction parameter of the operation object of the three-dimensional GIS operation, and the spatial relationship attribute describes the overall transformation parameter of the operation object of the three-dimensional GIS operation.

[0010] define a graphic rendering flow in the three-dimensional GIS operation message based on the operation attribute, including:

[0011] determine an influence condition of the geometric attribute and the spatial relation attribute on the three-dimensional GIS operation, and define the graphic rendering flow in the three-dimensional GIS operation message based on the influence condition.

[0012] Optionally, the three-dimensional collaborative GIS message interaction method provided by the application further includes:

[0013] determine whether the three-dimensional GIS operation changes a transformation matrix of a three-dimensional graphic based on the influence condition;

[0014] define the graphic rendering flow in the three-dimensional GIS operation message in a case where it is determined that the three-dimensional GIS operation only changes the transformation matrix of the three-dimensional graphic, and the graphic rendering flow includes modifying the transformation matrix in an original graphic rendering flow.

[0015] Optionally, the three-dimensional collaborative GIS message interaction method provided by the application further includes, before the step of defining the graphic rendering flow in the three-dimensional GIS operation message based on the operation attribute:

[0016] determine an operation type of the three-dimensional GIS operation;

[0017] determine a structure of the three-dimensional GIS operation message based on the operation type;

[0018] wherein the operation type includes a map basic operation, a query operation, a labeling operation, a spatial analysis operation and a feature editing operation.

[0019] Optionally, the three-dimensional collaborative GIS message interaction method provided by the application further includes that the structure of the three-dimensional GIS operation message includes a user information part and a GIS operation information part;

[0020] the user information part includes a user name and an operation time;

[0021] the GIS operation information part includes at least one or more of the following:

[0022] an operation type, an operation object, a graphic geometric attribute, a transformation matrix and a spatial relation type.

[0023] Optionally, the three-dimensional collaborative GIS message interaction method provided by the application further includes that the step of determining the structure of the three-dimensional GIS operation message based on the operation type includes:

[0024] Determine, based on the operation type, content included in the GIS operation information part in the structure of the three-dimensional GIS operation message.

[0025] In a second aspect, the present application further provides a three-dimensional collaborative GIS message interaction device, applied to a collaborative initiator, comprising:

[0026] An obtaining module, configured to obtain an operation attribute of a three-dimensional GIS operation performed by a user;

[0027] A defining module, configured to define a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute;

[0028] A sending module, configured to send the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver performs three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message.

[0029] In a third aspect, the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the three-dimensional collaborative GIS message interaction method according to the first aspect when executing the program.

[0030] In a fourth aspect, the present application further provides a non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program is executable by a processor to implement the three-dimensional collaborative GIS message interaction method according to the first aspect.

[0031] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, wherein the computer program is executable by a processor to implement the three-dimensional collaborative GIS message interaction method according to any one of the above aspects.

[0032] The three-dimensional collaborative GIS message interaction method, device, equipment and medium provided by the present application define a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute of a three-dimensional GIS operation performed by a user by a collaborative initiator, and send the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator, thereby realizing efficient operation of three-dimensional collaborative GIS work and improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system. BRIEF DESCRIPTION OF DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the present application or prior art, the following will briefly introduce the drawings needed in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0034] Figure 1 is a flowchart of a three-dimensional collaborative GIS message interaction method provided by the present application;

[0035] Figure 2 is a structural diagram of a three-dimensional GIS operation message provided by the present application;

[0036] Figure 3 is a structural diagram of a three-dimensional collaborative GIS message interaction device provided by the present application;

[0037] Figure 4 is a structural diagram of an electronic device provided by the present application. DETAILED DESCRIPTION

[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0039] In order to facilitate a clearer understanding of the embodiments of the present application, some related background knowledge will be introduced as follows.

[0040] Real-time collaborative GIS focuses on realizing real-time GIS operation sharing and realizing online GIS group collaboration. In a real-time collaborative GIS system, synchronous collaboration is an essential feature, and flexible and efficient collaborative synchronization is a key technical problem and a difficult problem of real-time collaborative GIS. The higher the efficiency of collaborative synchronization is, the better the collaborative perception effect of users is.

[0041] In a real-time collaborative GIS system, collaborative synchronization needs to display the executed GIS operation in the systems of other users in real time. However, due to the complexity of GIS data and the diversity of operations, the data amount generated by the execution result of each GIS operation is large. Therefore, in the case of limited network communication transmission speed, taking the GIS operation result as the transmission object of collaborative synchronization, when a large amount of data is transmitted, the time consumption is serious, especially for three-dimensional GIS operation, thereby reducing the efficiency of collaborative synchronization.

[0042] For any GIS operation, it can be described, encapsulated into a GIS operation message according to certain rules, and operation inversion can be realized based on the GIS operation message, therefore, the existing real-time collaborative GIS system encapsulates the GIS operation into a GIS operation message and replaces the GIS operation result, realizes collaborative synchronization through message passing technology, not only small data transmission, but also small collaborative granularity, and deeper GIS collaboration can be realized.

[0043] The three-dimensional collaborative GIS message interaction method, device, equipment and medium provided by the present application will be exemplarily introduced below in combination with the drawings.

[0044] Figure 1 is a flowchart of the three-dimensional collaborative GIS message interaction method provided by the present application, as Figure 1 shown, the method is applied to a collaborative initiator, and includes:

[0045] Step 100, obtaining the operation attribute of the user's three-dimensional GIS operation;

[0046] Step 110, defining a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute;

[0047] Step 120, sending the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver performs three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message.

[0048] It should be noted that the execution subject of the three-dimensional collaborative GIS message interaction method provided by the present application is the collaborative initiator, which can be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. Illustratively, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the present application does not make specific limitation on this.

[0049] The technical scheme of the present application will be described in detail below taking the computer as an example of the collaborative initiator executing the three-dimensional collaborative GIS message interaction method provided by the present application.

[0050] Specifically, in order to overcome the defects that the existing two-dimensional collaborative GIS method cannot be effectively applied to three-dimensional collaborative GIS, the application defines a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute of the user performing three-dimensional GIS operation by a collaborative initiator, and sends the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator, thereby realizing efficient operation of three-dimensional collaborative GIS work and improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system.

[0051] Optionally, when the user performs three-dimensional GIS operation, the collaborative initiator can obtain the operation attribute of the user performing three-dimensional GIS operation, and then define the graphic rendering process in the three-dimensional GIS operation message based on the operation attribute of the user performing three-dimensional GIS operation.

[0052] For example, when the collaborative initiator obtains the operation attribute of the user performing three-dimensional GIS operation, the operation attribute includes three-dimensional object vertex coordinate receiving, coordinate system transformation and viewport transformation, and the focus of the analysis of the rendering mechanism of the three-dimensional graphic is the coordinate calculation of the three-dimensional graphic, then the collaborative initiator can realize rendering efficiency analysis of the three-dimensional GIS operation object based on the coordinate calculation process of the three-dimensional graphic, and then define the graphic rendering process in the three-dimensional GIS operation message.

[0053] Optionally, after the collaborative initiator defines the graphic rendering process in the three-dimensional GIS operation message, the three-dimensional GIS operation message can be sent to the collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message, thereby realizing efficient operation of collaborative work.

[0054] The three-dimensional collaborative GIS message interaction method provided by the application realizes efficient operation of three-dimensional collaborative GIS work by defining a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute of the user performing three-dimensional GIS operation by a collaborative initiator, and sending the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator, thereby realizing efficient operation of three-dimensional collaborative GIS work and improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system.

[0055] Optionally, the operation attribute includes a geometric attribute and a spatial relationship attribute, the geometric attribute describes the construction parameter of the operation object of the three-dimensional GIS operation, and the spatial relationship attribute describes the overall transformation parameter of the operation object of the three-dimensional GIS operation.

[0056] The graphic rendering process is defined in the three-dimensional GIS operation message based on the operation attribute, including:

[0057] determine the influence of the geometry attribute and the spatial relationship attribute on the three-dimensional GIS operation, and define the graphic rendering flow in the three-dimensional GIS operation message based on the influence.

[0058] Specifically, in the embodiment of the present application, the operation attribute of the user's three-dimensional GIS operation can include a geometry attribute and a spatial relationship attribute, wherein the geometry attribute describes the construction parameters of the operation object of the three-dimensional GIS operation, such as the height and ground radius of a cylinder, corresponding to the vertex coordinates of a three-dimensional graphic, and the spatial relationship attribute describes the overall transformation parameters of the operation object of the three-dimensional GIS operation, wherein the transformation includes translation, scaling, rotation, etc., such as the scaling ratio of a three-dimensional model, corresponding to the transformation matrix of a true three-dimensional graphic.

[0059] Specifically, the collaborative initiator can determine the influence of the geometry attribute and the spatial relationship attribute of the user's three-dimensional GIS operation on the three-dimensional GIS operation, and define the graphic rendering flow in the three-dimensional GIS operation message based on the influence.

[0060] Optionally, the execution steps of the three-dimensional GIS operation can be divided into modules in combination with the visualization mechanism of the three-dimensional object and the execution target of the GIS operation, and then the influence of each module on the three-dimensional graphic rendering efficiency is analyzed, and the definition manner of the graphic rendering flow in the collaborative operation inversion is summarized.

[0061] It should be noted that the embodiment of the present application starts from the three-dimensional graphic rendering mechanism and the implementation mechanism of the three-dimensional GIS operation, divides the operation attribute of the three-dimensional GIS operation on the three-dimensional graphic into a geometry attribute and a spatial relationship attribute, analyzes the influence of the two attributes on the three-dimensional GIS operation, and then defines the graphic rendering flow in the three-dimensional GIS operation message, thereby improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system.

[0062] Optionally, the definition of the graphic rendering flow in the three-dimensional GIS operation message based on the influence includes:

[0063] determining whether the three-dimensional GIS operation has changed the transformation matrix of the three-dimensional graphic based on the influence;

[0064] in a case where it is determined that the three-dimensional GIS operation has only changed the transformation matrix of the three-dimensional graphic, defining the graphic rendering flow in the three-dimensional GIS operation message, wherein the graphic rendering flow includes modifying the transformation matrix in the original graphic rendering flow.

[0065] Specifically, in the embodiment of the present application, whether the three-dimensional GIS operation changes the transformation matrix of the three-dimensional graphics can be determined based on the influence of the geometric attribute and the spatial relationship attribute, and the graphic rendering process is defined in the three-dimensional GIS operation message when it is determined that the three-dimensional GIS operation only changes the transformation matrix of the three-dimensional graphics, and the graphic rendering process includes modifying the transformation matrix in the original graphic rendering process.

[0066] It can be understood that in the embodiment of the present application, when the GIS operation only changes the transformation matrix in the collaborative process, the collaborative initiator defines in the GIS operation message that the redrawing process of the collaborative receiver is changed from the graphic rendering from the beginning to the modification of the transformation matrix in the original image rendering process, thereby improving the inversion efficiency of the three-dimensional GIS operation and improving the synchronization efficiency of the collaboration.

[0067] Optionally, before the graphic rendering process is defined in the three-dimensional GIS operation message based on the operation attribute, the method further comprises:

[0068] determining the operation type of the three-dimensional GIS operation;

[0069] determining the structure of the three-dimensional GIS operation message based on the operation type;

[0070] The operation type includes a map basic operation, a query operation, a labeling operation, a spatial analysis operation and a feature editing operation.

[0071] Specifically, in the embodiment of the present application, before the graphic rendering process is defined in the three-dimensional GIS operation message, the operation type of the three-dimensional GIS operation performed by the user can be determined, and then the structure of the three-dimensional GIS operation message is determined based on the operation type of the three-dimensional GIS operation, wherein the operation type of the three-dimensional GIS operation can include a map basic operation, a query operation, a labeling operation, a spatial analysis operation and a feature editing operation.

[0072] It should be noted that the query operation and the labeling operation have different operation objects, but only one execution is needed to complete the operation, all operation objects in the map basic operation are globally unique map cameras, and each operation can only change the spatial relationship attribute of the map camera, the operation objects of the spatial analysis operation and the feature editing operation can be user-defined three-dimensional graphics, and the corresponding GIS operation can modify the geometric attribute and the spatial relationship attribute, or can be an externally introduced three-dimensional model with a fixed structure, and the corresponding GIS operation can only modify the spatial relationship attribute.

[0073] Optionally, the structure of the three-dimensional GIS operation message includes a user information part and a GIS operation information part.

[0074] The user information part includes a user name and an operation time;

[0075] The GIS operation information part includes at least one or more of the following:

[0076] Operation type, operation object, graphic geometry attribute, transformation matrix and spatial relationship type.

[0077] Specifically, in the embodiments of the present application, the structure of the three-dimensional GIS operation message can include a user information part and a GIS operation information part, wherein the user information part can include a user name and an operation time, and the GIS operation information part can include but is not limited to operation type, operation object, graphic geometry attribute, transformation matrix and spatial relationship type.

[0078] Optionally, Figure 2 is a structural diagram of a three-dimensional GIS operation message provided by the present application, as Figure 2 shown, the structure of the three-dimensional GIS operation message includes a user information part (User) and a GIS operation information part (Operator), wherein the user information part (User) includes a user name (UserID) and an operation time (Time), and the GIS operation information part (Operator) includes operation type (GOpID), operation object (GObjID), graphic geometry attribute (Geometry), transformation matrix (Matrix) and spatial relationship type (SpatialType), SpatialType indicates that the current three-dimensional map engine should select a rendering process, when SpatialType is true, it means that only the transformation matrix of the original rendering process needs to be changed, otherwise, the rendering graphics is performed from the beginning.

[0079] Optionally, based on the operation type, the structure of the three-dimensional GIS operation message is determined, including:

[0080] Based on the operation type, the content included in the GIS operation information part in the structure of the three-dimensional GIS operation message is determined.

[0081] Specifically, in the embodiment of the present application, the content included in the GIS operation information part of the structure of the three-dimensional GIS operation message can be determined based on the operation type of the three-dimensional GIS operation, for example, when the operation type of the three-dimensional GIS operation is a map base operation, that is, the three-dimensional GIS expresses the map view range through a map camera, so that the view collaboration can be accurately realized by sending the map camera parameters, but the map camera in the three-dimensional map is unique, and once established, its shape and size are fixed and unchangeable, and the map base operation is realized by changing the spatial relationship attribute of the map camera, so the map base operation collaboration message only needs to transmit the transformation matrix (Matrix), therefore, the content included in the GIS operation information part of the structure of the three-dimensional GIS operation message includes the transformation matrix (Matrix).

[0082] It should be noted that, from the perspective of control inversion, the rendering process selection control authority of the graphics is transferred from the three-dimensional map engine control to the GIS operation control in the embodiment of the present application, at the same time, the collaborative initiator defines the graphics rendering process in the GIS operation message according to the GIS operation attribute, the collaborative receiver performs GIS operation inversion according to the graphics rendering process defined in the GIS operation message, and the operation message basic structure for three-dimensional GIS is given based on the characteristics of the three-dimensional GIS operation. By analyzing the encapsulation and inversion process of the GIS operation in the collaboration process, the mapping relationship between the geographic objects of the three-dimensional GIS operation and the matrix-based three-dimensional collaborative GIS message interaction method is constructed, the GIS operation message structures of different types are optimized, the collaboration complexity caused by the characteristics of the three-dimensional geographic objects is reduced, and efficient operation of the collaborative work is realized.

[0083] Optionally, in the embodiment of the present application, the matrix-based three-dimensional collaborative GIS message interaction method can include:

[0084] (1) three-dimensional graphics rendering mechanism analysis, from the perspective of computer graphics, the rendering process of three-dimensional graphics is analyzed, including three-dimensional object vertex coordinate receiving, coordinate system transformation and viewport transformation process, combined with user interaction, the rendering mechanism analysis of three-dimensional graphics focuses on the coordinate calculation of three-dimensional graphics, and the rendering efficiency analysis of the three-dimensional GIS operation object is realized based on the coordinate calculation process of three-dimensional graphics.

[0085] Optionally, the three-dimensional graphics rendering mechanism analysis includes three-dimensional graphics coordinate calculation analysis, graphics redrawing process analysis based on vertex coordinates, graphics redrawing process analysis based on transformation matrix, and three-dimensional GIS operation inversion efficiency analysis.

[0086] The three-dimensional graphics coordinate calculation analysis refers to that the coordinate information of the three-dimensional graphics is determined by the vertex coordinates of the three-dimensional graphics and the transformation matrix of the three-dimensional graphics, the vertex shader is used to complete the coordinate calculation, and no matter any three-dimensional GIS operation, drawing or editing the three-dimensional graphics can only be realized by changing the vertex coordinates or the transformation matrix, the vertex coordinates are the internal attribute of the three-dimensional graphics and change with the change of the construction parameters of the three-dimensional graphics, and the transformation matrix is the external attribute of the three-dimensional graphics and changes with the change of the spatial relationship between the three-dimensional graphics and the map.

[0087] The graphic redrawing flow analysis based on the vertex coordinates refers to that when the GIS operation changes the construction parameters of the three-dimensional graphics, the original graphic object needs to be deleted and the three-dimensional graphics is initialized again, then the vertex coordinates of the three-dimensional graphics are calculated, and finally the three-dimensional graphics is rendered and displayed.

[0088] The three-dimensional GIS operation inversion efficiency analysis refers to that according to the three-dimensional graphics rendering mechanism analysis, when the GIS operation only changes the transformation matrix of the three-dimensional graphics, the rendering efficiency of the redrawing can be accelerated by modifying the transformation matrix in the rendering flow, therefore, when the GIS operation only changes the transformation matrix in the collaborative process, the redrawing flow of the collaborative receiver is defined by the collaborative initiator in the GIS operation message to change from the graphic rendering from the beginning to the modification of the transformation matrix in the original rendering flow, so as to improve the three-dimensional GIS operation inversion efficiency and the collaborative synchronization efficiency.

[0089] (2) The three-dimensional GIS operation execution flow analysis, in combination with the visualization mechanism of the three-dimensional object and the execution target of the GIS operation, performs the module division on the execution steps of the three-dimensional GIS operation, analyzes the influence of each module on the rendering efficiency of the three-dimensional graphics, and summarizes the graphic rendering flow definition mode in the collaborative operation inversion.

[0090] Optionally, the three-dimensional GIS operation execution flow analysis comprises graphic attribute classification of the three-dimensional graphics, drawing module analysis, transformation module analysis, rendering module analysis, spatial analysis module analysis and collaborative operation inversion graphic rendering flow definition, wherein:

[0091] The graphic attribute classification of the three-dimensional graphics refers to that based on the coordinate calculation elements of the three-dimensional graphics, the transformation matrix and the vertex coordinates, the graphic attribute of the three-dimensional graphics is divided into the geometric attribute and the spatial relationship attribute, the geometric attribute describes the construction parameters of the three-dimensional operation object, for example, the height of the cylinder and the ground radius, which correspond to the vertex coordinates of the three-dimensional graphics, and the spatial relationship attribute describes the overall transformation (translation, scaling and rotation) parameters of the three-dimensional operation object, for example, the scaling ratio of the three-dimensional model, which corresponds to the transformation matrix of the three-dimensional graphics.

[0092] The rendering module analysis refers to that the rendering module displays the three-dimensional graphics in the three-dimensional scene, belongs to the automatic operation, is generally automatically realized by the rendering engine, and basically does not need external intervention.

[0093] The transformation module analysis refers to that the transformation module calculates the transformation matrix according to the spatial transformation of the three-dimensional graphics on the map, and is a necessary module for GIS operation execution.

[0094] The rendering module analysis refers to that the rendering module displays the three-dimensional graphics in the three-dimensional scene, belongs to the automatic operation, is generally automatically realized by the rendering engine, and basically does not need external intervention.

[0095] The spatial analysis module analysis refers to that the spatial analysis module performs spatial analysis based on the three-dimensional graphic object, and is only for spatial analysis operation, and is not a necessary module for GIS operation execution.

[0096] The collaborative operation reverse graphic rendering flow definition refers to that the three-dimensional collaborative GIS uses the matrix to realize the GIS operation message, and needs to consider the drawing module and the transformation module, and determines the reverse operation mode of the collaborative operation by listening to the drawing module and the transformation module. For the drawing module, it is determined whether to start operation reverse from the drawing module by listening to the geometric attribute of the three-dimensional GIS operation object. For the transformation module, it is determined whether to start operation reverse from the transformation module by listening to the spatial relationship attribute of the three-dimensional GIS operation object.

[0097] (3) The GIS operation structure definition based on the matrix can divide the GIS operation into the editing type and the non-editing type according to whether the original data is modified, and determines the message structure according to whether the operation object changes in the geometric attribute and the spatial relationship attribute.

[0098] Optionally, the GIS operation structure definition based on the matrix comprises three-dimensional GIS operation classification, three-dimensional GIS operation feature analysis and three-dimensional collaborative GIS operation message structure, wherein:

[0099] The three-dimensional GIS operation classification firstly divides the GIS operation into the editing type and the non-editing type according to whether the original data is modified, and then classifies the GIS operation according to the operation object, the geometric attribute and the spatial relationship attribute, as shown in Table 1.

[0100] Table 1 Three-dimensional GIS operation classification

[0101]

[0102] The three-dimensional GIS operation feature analysis, namely the query operation and the labeling operation, although the objects of operation are different, only one execution can complete the operation, all the objects of operation in the map basic operation are globally unique map cameras, each operation can only change the spatial relationship attribute of the map camera, the operation object of the spatial analysis operation and the element editing operation can be a user-defined three-dimensional graph, the corresponding GIS operation can modify the geometric attribute and the spatial relationship attribute, or it can be an externally introduced three-dimensional model with fixed structure, and the corresponding GIS operation can only modify the spatial relationship attribute.

[0103] The three-dimensional collaborative GIS operation message structure, namely the feature analysis based on the three-dimensional GIS operation, the structure of the three-dimensional GIS operation message based on the matrix is divided into two parts: one part is user information (User), including user name (UserId) and operation time (Time), and the other part is GIS operation specific information (Operator), including operation type (GOpID), operation object (GObjID), graph geometric attribute (Geometry), transformation matrix (Matrix) and spatial relationship type (SpatialType), wherein SpatialType represents the rendering process that the current three-dimensional map engine should select, when SpatialType is true, it means that only the transformation matrix of the original rendering process needs to be changed, otherwise, the graph is rendered from the beginning.

[0104] (4) The mapping relationship between the geographic object and the message structure is constructed, according to the difference of GIS operation in application scene and operation object, the attribute operation of different GIS operation on geographic object is analyzed, the corresponding message model content is optimized, and the collaborative process is simplified.

[0105] Optionally, the mapping relationship between the geographic object and the message structure includes a map basic operation collaborative message structure, a query operation collaborative message structure, a labeling operation collaborative message structure, a spatial analysis collaborative message structure and a feature editing operation collaborative message structure.

[0106] The map basic operation collaborative message structure, namely the three-dimensional GIS expresses the map viewable range through the map camera, so by sending the map camera parameters, the view collaboration can be accurately realized, but the map camera in the three-dimensional map is unique, once established, its shape and size are fixed and unchangeable, the map basic operation is realized by changing the spatial relationship attribute of the map camera, so the map basic operation collaborative message only needs to transmit the transformation matrix (Matrix).

[0107] The query operation cooperative message structure, namely the query operation, can be divided into attribute query and spatial query, but no matter which query, the timeliness of each query is low, and the multiple queries do not necessarily have a certain relationship, therefore, it is more suitable to use only geometry attribute (Geometry) for the query operation cooperative message.

[0108] The annotation operation cooperative message structure, namely the annotation operation, only needs to annotate the text attribute information on the map according to certain annotation rules after the annotation object is determined, therefore, the annotation object information only needs to be described by using Geometry.

[0109] The spatial analysis cooperative message structure, namely the geographical object category according to the spatial analysis, the message structure of different spatial analysis operations has difference, when the geographical object type is a simple graph of point, the geometry attribute can only be modified under any editing operation, therefore, this type of spatial analysis is suitable for constructing the message model by using Geometry alone, such as path analysis; when the geographical object is a graph of line, face and body, according to the user intention, each operation can change the geometry attribute of the geographical object and the spatial relationship attribute of the geographical object, therefore, this type of spatial analysis is suitable for the combination of Geometry and Matrix, such as buffer analysis and visual range analysis.

[0110] The element editing operation cooperative message structure, namely when the operation object is a three-dimensional model introduced from outside, the combination of Geometry and Matrix is needed in the cooperation; when the operation object is a custom graph drawn on the map by the user using the mouse, the cooperation process is consistent with the spatial analysis operation cooperation process, therefore, the construction process of the message structure is consistent with the spatial analysis.

[0111] It can be understood that, by defining the three-dimensional GIS operation message encapsulation, analysis and inversion rules, the efficiency of three-dimensional GIS operation inversion and the efficiency of cooperation and synchronization are accelerated, and the user cooperation work efficiency is improved.

[0112] The three-dimensional cooperative GIS message interaction method provided by the application defines a graph rendering process in the three-dimensional GIS operation message based on the operation attribute of the user performing the three-dimensional GIS operation by the cooperation initiator, and sends the three-dimensional GIS operation message to the cooperation receiver, so that the cooperation receiver can perform three-dimensional GIS operation inversion based on the graph rendering process defined in the three-dimensional GIS operation message by the cooperation initiator, and the efficient operation of three-dimensional cooperative GIS work is realized, and the cooperation and synchronization efficiency of the three-dimensional cooperative GIS system is improved.

[0113] The three-dimensional collaborative GIS message interaction device provided by the application is described below, and the three-dimensional collaborative GIS message interaction device described below can be correspondingly referred to the three-dimensional collaborative GIS message interaction method described above.

[0114] Figure 3 is a structural schematic diagram of the three-dimensional collaborative GIS message interaction device provided by the application, as Figure 3 indicated, the device is applied to a collaborative initiator and includes an acquisition module 310, a definition module 320, and a sending module 330.

[0115] The acquisition module 310 is configured to acquire an operation attribute of a three-dimensional GIS operation performed by a user.

[0116] The definition module 320 is configured to define a graphic rendering process in a three-dimensional GIS operation message based on the operation attribute.

[0117] The sending module 330 is configured to send the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator.

[0118] The three-dimensional collaborative GIS message interaction device provided by the application defines a graphic rendering process in a three-dimensional GIS operation message based on an operation attribute of a three-dimensional GIS operation performed by a user by a collaborative initiator, and sends the three-dimensional GIS operation message to a collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering process defined in the three-dimensional GIS operation message by the collaborative initiator, thereby realizing efficient operation of three-dimensional collaborative GIS work and improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system.

[0119] Optionally, the operation attribute includes a geometric attribute and a spatial relationship attribute, the geometric attribute describes a construction parameter of an operation object of the three-dimensional GIS operation, and the spatial relationship attribute describes an overall transformation parameter of the operation object of the three-dimensional GIS operation.

[0120] The definition module 320 is specifically configured to:

[0121] determine an influence of the geometric attribute and the spatial relationship attribute on the three-dimensional GIS operation, and define the graphic rendering process in the three-dimensional GIS operation message based on the influence.

[0122] Optionally, the definition module 320 is further specifically configured to:

[0123] determine whether the three-dimensional GIS operation changes a transformation matrix of a three-dimensional graphic based on the influence.

[0124] In a case that it is determined that the three-dimensional GIS operation only changes the transformation matrix of the three-dimensional graphics, the graphic rendering flow is defined in the three-dimensional GIS operation message, and the graphic rendering flow includes modification of the transformation matrix in the original graphic rendering flow.

[0125] Optionally, the apparatus further comprises a determining module configured to:

[0126] determine the operation type of the three-dimensional GIS operation;

[0127] determine the structure of the three-dimensional GIS operation message based on the operation type;

[0128] The operation type includes a map base operation, a query operation, a label operation, a spatial analysis operation, and a feature editing operation.

[0129] Optionally, the structure of the three-dimensional GIS operation message comprises a user information part and a GIS operation information part.

[0130] The user information part comprises a user name and an operation time.

[0131] The GIS operation information part comprises at least one or more of the following:

[0132] The operation type, the operation object, the graphic geometry attribute, the transformation matrix, and the spatial relationship type.

[0133] Optionally, the determining module is specifically configured to:

[0134] determine the content included in the GIS operation information part in the structure of the three-dimensional GIS operation message based on the operation type.

[0135] The three-dimensional collaborative GIS message interaction apparatus provided by the application defines the graphic rendering flow in the three-dimensional GIS operation message based on the operation attribute of the user performing the three-dimensional GIS operation by the collaborative initiator, and sends the three-dimensional GIS operation message to the collaborative receiver, so that the collaborative receiver can perform three-dimensional GIS operation inversion based on the graphic rendering flow defined in the three-dimensional GIS operation message by the collaborative initiator, thereby realizing efficient operation of the three-dimensional collaborative GIS work and improving the collaborative synchronization efficiency of the three-dimensional collaborative GIS system.

[0136] It should be noted that the three-dimensional collaborative GIS message interaction apparatus provided by the embodiment of the application can realize all the method steps realized by the three-dimensional collaborative GIS message interaction method embodiment and achieve the same technical effects, and thus the same parts and beneficial effects of the method embodiment will not be described in detail.

[0137] Figure 4This is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as... Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute the three-dimensional collaborative GIS message interaction method provided by the above methods, which includes:

[0138] Obtain the operation attributes of the user's 3D GIS operations;

[0139] Based on the aforementioned operation attributes, a graphic rendering process is defined in the 3D GIS operation message;

[0140] The 3D GIS operation message is sent to the collaborative receiver so that the collaborative receiver can perform 3D GIS operation inversion based on the graphics rendering process defined in the 3D GIS operation message.

[0141] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0142] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the three-dimensional collaborative GIS message interaction method provided by the above methods, the method comprising:

[0143] Obtain the operation attributes of the user's 3D GIS operations;

[0144] Based on the aforementioned operation attributes, a graphic rendering process is defined in the 3D GIS operation message;

[0145] sending the three-dimensional GIS operation message to a collaborative receiver, for the collaborative receiver to perform three-dimensional GIS operation inversion based on the graphic rendering flow defined in the three-dimensional GIS operation message.

[0146] In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the above-mentioned three-dimensional collaborative GIS message interaction method, which comprises:

[0147] obtaining an operation attribute of a three-dimensional GIS operation performed by a user;

[0148] defining a graphic rendering flow in a three-dimensional GIS operation message based on the operation attribute;

[0149] sending the three-dimensional GIS operation message to a collaborative receiver, for the collaborative receiver to perform three-dimensional GIS operation inversion based on the graphic rendering flow defined in the three-dimensional GIS operation message.

[0150] The above-mentioned device embodiments are only illustrative, wherein the units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e., they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present embodiment according to actual needs. Those skilled in the art can understand and implement it without creative labor.

[0151] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software plus necessary general hardware platforms, and of course, can also be realized by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0152] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; and although the present application has been described in detail with reference to the foregoing embodiments, it should be appreciated by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A three-dimensional collaborative GIS message interaction method, characterized in that, Applicable to the initiator of collaboration, including: Obtain the operation attributes of the user's 3D GIS operations; Based on the aforementioned operation attributes, a graphic rendering process is defined in the 3D GIS operation message; The 3D GIS operation message is sent to the collaborative receiver so that the collaborative receiver can perform 3D GIS operation inversion based on the graphic rendering process defined in the 3D GIS operation message; The operation attributes include geometric attributes and spatial relationship attributes. The geometric attributes describe the construction parameters of the operation object of the 3D GIS operation, and the spatial relationship attributes describe the overall transformation parameters of the operation object of the 3D GIS operation. The step of defining a graphics rendering process in a 3D GIS operation message based on the operation attributes includes: Determine the impact of the geometric attributes and spatial relationship attributes on the 3D GIS operation, and define the graphics rendering process in the 3D GIS operation message based on the impact. Based on the aforementioned impact, the graphic rendering process is defined in the 3D GIS operation message, including: Based on the aforementioned impact, determine whether the 3D GIS operation altered the transformation matrix of the 3D graphic; If it is determined that the 3D GIS operation only changes the transformation matrix of the 3D graphic, the graphic rendering process is defined in the 3D GIS operation message, and the graphic rendering process includes modifying the transformation matrix in the original graphic rendering process.

2. The three-dimensional collaborative GIS message interaction method according to claim 1, characterized in that, Before defining the graphics rendering process in the 3D GIS operation message based on the operation attributes, the method further includes: Determine the operation type of the 3D GIS operation; Based on the operation type, determine the structure of the 3D GIS operation message; The operation types include basic map operations, query operations, annotation operations, spatial analysis operations, and feature editing operations.

3. The three-dimensional collaborative GIS message interaction method according to claim 2, characterized in that, The structure of the 3D GIS operation message includes a user information section and a GIS operation information section; The user information section includes the user name and the operation time; The GIS operation information section includes at least one or more of the following: Operation type, operation object, geometric attributes of the graphic, transformation matrix, and spatial relationship type.

4. The three-dimensional collaborative GIS message interaction method according to claim 3, characterized in that, Determining the structure of the 3D GIS operation message based on the operation type includes: Based on the operation type, determine the content included in the GIS operation information section of the structure of the 3D GIS operation message.

5. A three-dimensional collaborative GIS message interaction device, characterized in that, Applicable to the initiator of collaboration, including: The acquisition module is used to acquire the operation attributes of users performing 3D GIS operations; A definition module is used to define the graphics rendering process in the 3D GIS operation message based on the operation attributes; The sending module is used to send the 3D GIS operation message to the collaborative receiver so that the collaborative receiver can perform 3D GIS operation inversion based on the graphic rendering process defined in the 3D GIS operation message; The operation attributes include geometric attributes and spatial relationship attributes. The geometric attributes describe the construction parameters of the operation object of the 3D GIS operation, and the spatial relationship attributes describe the overall transformation parameters of the operation object of the 3D GIS operation. The definition module is specifically used for: Determine the impact of the geometric attributes and spatial relationship attributes on the 3D GIS operation, and define the graphics rendering process in the 3D GIS operation message based on the impact. The definition module is specifically used for: Based on the aforementioned impact, determine whether the 3D GIS operation altered the transformation matrix of the 3D graphic; If it is determined that the 3D GIS operation only changes the transformation matrix of the 3D graphic, the graphic rendering process is defined in the 3D GIS operation message, and the graphic rendering process includes modifying the transformation matrix in the original graphic rendering process.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the three-dimensional collaborative GIS message interaction method as described in any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the three-dimensional collaborative GIS message interaction method as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the three-dimensional collaborative GIS message interaction method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Visualization system based on live-action three-dimensional geographic information system

    CN111080782A

  • Three-dimensional GIS real-time cloud rendering display method, terminal, cloud server and storage medium

    CN111770325A