CN112307724A - Multi-person collaborative editing method and system based on three-dimensional WebGis - Google Patents

Multi-person collaborative editing method and system based on three-dimensional WebGis Download PDF

Info

Publication number
CN112307724A
CN112307724A CN202011112801.9A CN202011112801A CN112307724A CN 112307724 A CN112307724 A CN 112307724A CN 202011112801 A CN202011112801 A CN 202011112801A CN 112307724 A CN112307724 A CN 112307724A
Authority
CN
China
Prior art keywords
collaborative
layer
collaborative editing
editing
planning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011112801.9A
Other languages
Chinese (zh)
Inventor
李佳俊
胡文娜
石亚男
李晓霞
丁鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy Of Urban Planning & Design
Original Assignee
China Academy Of Urban Planning & Design
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy Of Urban Planning & Design filed Critical China Academy Of Urban Planning & Design
Priority to CN202011112801.9A priority Critical patent/CN112307724A/en
Publication of CN112307724A publication Critical patent/CN112307724A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a multi-person collaborative editing method and a multi-person collaborative editing system based on three-dimensional WebGis, wherein the method comprises the following steps: and the server loads the planning drawing in the three-dimensional WebGis and receives an editing instruction of the planning drawing, judges whether the planning drawing exists in a prestored collaborative recording table and generates a judgment result, and then selects a layer for collaborative editing based on the judgment result and adds a collaborated person. The method comprises the steps that a client receives collaborative editing information of layers in a planning graph, displays corresponding collaborative editing layers based on the collaborative editing information of the layers, switches the collaborative editing layers into collaborative editing states, receives collaborative editing instructions, carries out collaborative editing on the collaborative editing layers according to the collaborative editing instructions to generate layers after collaborative editing, receives instructions for storing the layers after collaborative editing, judges the collaborative states of the planning graph to generate judgment results, and stores the planning graph after collaborative editing based on the judgment results. Therefore, by adopting the embodiment of the application, layers in the planning chart can be free from influencing each other during editing, and the working efficiency is improved.

Description

Multi-person collaborative editing method and system based on three-dimensional WebGis
Technical Field
The invention relates to the technical field of geographic information, in particular to a multi-user collaborative editing method and system based on three-dimensional WebGis.
Background
When a planning scheme is designed by using a three-dimensional online WebGIS platform, a planning staff needs to continuously adjust the planning scheme. In the scheme adjustment process, people in multiple professional departments such as landscape, building, traffic, municipal administration and the like are required to complete the scheme adjustment process in a coordinated mode.
In the current solution, the plan planner typically edits the plan by using a stand-alone modeling software (e.g., SketChup drawing software), and such an offline editing mode often causes misalignment and overlapping between models in the plan. In addition, the planning mode cannot perform a multitask parallel online editing mode, and only can perform flow operation among different departments, so that the working efficiency is reduced.
Disclosure of Invention
The embodiment of the application provides a multi-person collaborative editing method and system based on three-dimensional WebGis. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present application provides a multi-user collaborative editing method based on three-dimensional WebGis, which is applied to a server, and the method includes:
loading a planning graph in three-dimensional WebGis;
receiving an editing instruction of a planning map, judging whether the planning map exists in a prestored collaborative recording table or not and generating a judgment result;
and selecting a layer for collaborative editing based on the judgment result, and adding a collaborated object.
Optionally, the determining whether the planning map exists in a pre-stored collaborative recording table and generating a determination result includes:
when the judgment result shows that the planning drawing does not exist in the collaborative recording table, starting collaborative editing, and adding the planning drawing to the collaborative recording table; and when the planning graph exists in the collaborative recording table, directly selecting a layer of collaborative editing.
Optionally, the method further includes determining whether to switch the corresponding graph layer to an editable state according to whether the collaborator accepts the received information.
Optionally, the method further comprises the step of,
receiving an instruction for selecting a plurality of layers of the planning map, and selecting the plurality of layers of the planning map;
receiving an instruction of selecting a collaborated person corresponding to the plurality of image layers, and selecting the corresponding collaborated person;
and sending the collaborative editing information of each layer in the plurality of layers to the collaborated person.
In a second aspect, an embodiment of the present application provides a multi-user collaborative editing method based on three-dimensional WebGis, which is applied to a collaborated party, and the method includes:
receiving collaborative editing information of layers in a planning graph;
displaying a corresponding collaborative editing layer based on the collaborative editing information of the layer;
switching the collaborative editing layer to a collaborative editing state;
receiving a collaborative editing instruction, and performing collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a collaboratively edited layer;
receiving an instruction for storing the layer after collaborative editing, and judging the collaborative state of the planning map to generate a judgment result;
and saving the layout after the collaborative editing based on the judgment result.
Optionally, the storing the collaborative edited layout drawing based on the judgment result includes:
and when the judgment result is that the collaborative state is closed, forbidding to store the collaborative edited planning drawing.
Optionally, the storing the collaborative edited layout drawing based on the judgment result includes:
when the judgment result is that the collaborative state is started, acquiring all layer data of the planning map after collaborative editing;
checking the planning graph and generating a checking result based on all the graph layer data;
modifying the layer data of the planning graph according to the checking result to generate a modified planning graph;
saving the modified layout drawing.
Optionally, the modifying the layer data of the planning map according to the checking result to generate a modified planning map includes:
obtaining non-editable layer data from all layer data;
covering the non-editable layer data on the current non-editable layer to generate a modified non-editable layer;
acquiring entity data in the edited layer;
acquiring entity data in an editable layer in a database;
when the entity data in the edited layer is inconsistent with the entity data in the editable layer in the database, replacing the entity data in the editable layer in the database with the entity data in the edited layer;
and determining the edited layer and the modified non-editable layer as a modified planning map.
In a third aspect, an embodiment of the present application provides a multi-user collaborative editing method based on three-dimensional WebGis, where the method includes:
the server loads a planning diagram in the three-dimensional WebGis;
the server receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table and generates a judgment result;
the server side selects the layer of collaborative editing based on the judgment result and adds the collaborated person;
the client receives the collaborative editing information of the layer in the planning map;
the client displays the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the client switches the collaborative editing layer into a collaborative editing state;
the client receives a collaborative editing instruction, and carries out collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a collaborative edited layer;
the client receives an instruction for storing the layer after collaborative editing, judges the collaborative state of the planning map and generates a judgment result;
and the client saves the planning map after the collaborative editing based on the judgment result.
In a fourth aspect, an embodiment of the present application provides a multi-user collaborative editing system based on three-dimensional WebGis, where the system includes:
the planning map loading module is used for loading a planning map in three-dimensional WebGis;
the first judgment module is used for receiving an editing instruction of the planning map, judging whether the planning map exists in a prestored collaborative recording table and generating a judgment result;
the layer and collaborator association module is used for selecting a layer for collaborative editing based on the judgment result and adding a collaborator;
the information receiving module is used for receiving the collaborative editing information of the layers in the planning map;
the layer display module is used for displaying the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the state switching module is used for switching the collaborative editing layer into a collaborative editing state;
the layer generation module is used for receiving a collaborative editing instruction, carrying out collaborative editing on the collaborative editing layer according to the collaborative editing instruction and generating a layer after the collaborative editing;
the second judgment module is used for receiving an instruction for storing the layer after collaborative editing and judging the collaborative state of the planning map to generate a judgment result;
and the planning map storage module is used for storing the planning map after collaborative editing based on the judgment result.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, a server of a multi-user collaborative editing system of three-dimensional WebGis loads a planning map in the three-dimensional WebGis and receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table or not and generates a judgment result, and then selects a layer for collaborative editing based on the judgment result and adds a collaborated person. The collaborated person receives the collaborative editing information of the layers in the planning map and displays the corresponding collaborative editing layers based on the collaborative editing information of the layers, then switches the collaborative editing layers to be in a collaborative editing state, receives a collaborative editing instruction and carries out collaborative editing on the collaborative editing layers according to the collaborative editing instruction to generate layers after collaborative editing, receives an instruction for storing the layers after collaborative editing and judges the collaborative state of the planning map to generate a judgment result, and finally stores the planning map after collaborative editing based on the judgment result. Therefore, by adopting the embodiment of the application, the collaborator controls each layer in the editing graph to be associated with the collaborated person, and the collaborated person only needs to complete the respective editing layer, so that the layers in the planning graph can be edited without influencing each other, and the layers of the collaborated persons are edited together on line, thereby reducing the editing time and improving the working efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flowchart of a multi-user collaborative editing method based on three-dimensional WebGis according to an embodiment of the present application;
FIG. 2 is a schematic diagram of layout overlay and misalignment when editing by SketChup mapping software provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a layout drawing after multi-person collaborative editing based on three-dimensional WebGis provided by an embodiment of the present application;
fig. 4 is a flowchart of a collaborative state and layer setting logic of multi-user collaborative editing based on three-dimensional WebGis according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating saving and updating of collaborative scheme data after multi-user collaborative editing based on three-dimensional WebGis according to an embodiment of the present application;
FIG. 6 is a system diagram of a multi-user collaborative editing system based on three-dimensional WebGis according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
So far, in planning scheme design, a scheme planner typically edits a planning scheme by using a stand-alone modeling software (such as SketChup drawing software), and such an offline editing mode often causes misalignment and overlapping between models in the planning scheme, such as shown in fig. 2. In addition, the planning mode cannot perform a multitask parallel online editing mode, and only can perform flow operation among different departments, so that the working efficiency is reduced. Therefore, the application provides a multi-user collaborative editing method and system based on three-dimensional WebGis, so as to solve the problems in the related technical problems. In the technical scheme provided by the application, because the collaborator controls each layer in the editing graph to be associated with the collaborated person, the collaborated person only needs to complete each editing layer, so that each layer in the planning graph is not affected when being edited, for example, as shown in fig. 3, a plurality of collaborated persons edit each layer together on line, so that the editing time is reduced, the working efficiency is improved, and the following adopts an exemplary embodiment for detailed description.
The multi-user collaborative editing method based on three-dimensional WebGis provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 5. The method can be realized by relying on a computer program and can run on a von Neumann system-based multi-person collaborative editing system based on three-dimensional WebGis. The computer program may be integrated into the application or may run as a separate tool-like application. The multi-user collaborative editing system based on the three-dimensional WebGis in the embodiment of the application is applied to the terminal.
Referring to fig. 1, a schematic flow chart of a multi-user collaborative editing method based on three-dimensional WebGis is provided for an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the following steps:
s101, loading a planning drawing in the three-dimensional WebGis by a server;
wherein the server may be a coordinator (i.e., administrator backend). WebGIS (network geographic information system) refers to GIS (geographic information system) working on a Web network, is extension and development of the traditional GIS on the network, has the characteristics of the traditional GIS, and can realize retrieval, query, drawing output, editing and the like of spatial data. The planning diagram is a planning design scheme which needs to be completed by cooperation of multiple department personnel at the same time.
In a possible implementation mode, a collaborator opens a user terminal, logs in a system through a collaborator account and a password, when logging in the system, the system firstly verifies the account password, after the account password is successfully verified, the system analyzes and renders a browser page after successfully obtaining a layout drawing in three-dimensional WebGis, and finally displays the layout drawing in the three-dimensional WebGis to the collaborator.
Further, when obtaining the planning map in the three-dimensional WebGis, the browser jumps to another url address through a preset url address, the browser checks the domain name and queries a dns (domain name system) server to obtain an IP address, the browser sends an HTTP request to the web server, when the server receives the request, the server analyzes an action contained in the request to obtain HTML (hypertext markup language) data corresponding to the planning map in the three-dimensional WebGis responded by the web server through a service logic code corresponding to the action, and finally returns the HTML data of the planning map in the three-dimensional WebGis responded to the browser.
When the browser obtains data returned by the server, the browser constructs a DOM Tree according to HTML of a front-end page, generates a CSSOM (CSS object model) according to a pre-designed CSS (cascading style sheet) page style, integrates the DOM (document object model) and the CSSOM into a render Tree, finally fills HTML data of a layout drawing in the returned three-dimensional WebGis into the page, renders and displays the HTML data according to the render Tree, and finishes loading the layout drawing in the three-dimensional WebGis.
S102, the server receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table and generates a judgment result;
the editing instruction is a command that a user clicks a button in the system to enable the planning chart to be in an editing state. The collaborative recording table is a recording table for storing a planning diagram edited by multiple persons in a collaborative manner. The judgment result is a result generated after the system judges whether the current planning chart has the collaborative recording table or not when receiving the editing instruction, and the judgment result comprises two conditions that the current planning chart has the collaborative recording table and the current planning chart does not have the collaborative recording table.
In general, whether to switch the corresponding graph layer to an editable state is determined according to whether the collaborator accepts the information.
In a possible implementation manner, after the planning map in the three-dimensional WebGis is loaded, when the judgment result shows that the planning map does not exist in the collaborative recording table, the system starts collaborative editing first, then adds the planning map to the collaborative recording table, then receives selection instructions for a plurality of editing layers of the planning map and selects the plurality of editing layers of the planning map based on the selection instructions of the layers, then receives selection instructions for editing users corresponding to each of the plurality of editing layers and selects editing users corresponding to each of the plurality of editing layers based on the selection instructions of the users, and finally sends the editing information of each of the plurality of editing layers to the editing users.
In a possible implementation manner, after the planning map in the three-dimensional WebGis is loaded, when the planning map exists in the collaborative recording table, the system first receives a selection instruction for a plurality of editing layers of the planning map and selects the plurality of editing layers of the planning map based on the selection instruction of the layers, then receives a selection instruction for an editing user corresponding to each of the plurality of editing layers and selects an editing user corresponding to each of the plurality of editing layers based on the selection instruction of the user, and finally sends the editing information of each of the plurality of editing layers to the editing user.
S103, the server selects the layers of the collaborative editing based on the judgment result, and adds the collaborated person;
for example, as shown in fig. 4, first, the creator of the planning scheme starts to perform settings of the collaborative state and the collaborative layer. The creator selects a scenario to be coordinated and switches the scenario to the editing state. At this time, the system will query the collaborative record table to see if the current solution is in the collaborative state. If so, the creator can perform operations such as adding or removing on the layer of the collaborative editing in the collaborative setting panel; if not, the collaborative edit needs to be opened in the collaborative settings panel, and the solution is added to the collaborative record table. Then, the creator sets the layers of the collaborative editing and has the authority to arrange a certain layer setting to be edited by the collaborator. Finally, after the cooperation setup is completed, the cooperator receives a message notification to prompt the user that the cooperation scheme can be edited and ask whether the user accepts. If the scheme is accepted, the setting of the collaboration state and the collaboration layer of the system is completed, and then a creator and all collaborators of the scheme can view and edit the scheme in a collaboration scheme interface in the platform.
S104, the client receives the collaborative editing information of the layer in the planning map;
the client is one end of a coordinated party (namely, an editing user end), the coordinated editing information is information generated when an administrator end (namely, the coordinating party) binds an editing task of a certain layer in a planning graph to a certain editing user, and the information is sent to a terminal system of the editing user in a wireless or wired mode.
In a possible implementation mode, an editing user opens a terminal and enters an editing user login page of the system through a URL address, the editing user logs in through an account password, and after the system verifies that the account password is correct, the editing user enters a preset home page of the system through a URL link. After entering the home page, the planning chart editing information sent by the collaborating party can be automatically popped up. After seeing the editing information, the user can receive the layers editable by the current planning graph by clicking a selection receiving button.
S105, the client displays the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the collaborative editing layer is an editable layer which is formed by dividing one layer in the planning map to the cooperated party by the cooperative party.
In a possible implementation mode, a user selects to accept an editable layer, and after the user terminal receives the layer which is selected by the user to accept the editable layer, the user terminal loads the editable layer and displays a current interface of the editable layer to the user terminal.
S106, the client switches the collaborative editing layer into a collaborative editing state;
in a possible implementation manner, after an editable layer is displayed on a user terminal page, a system firstly obtains information of the editable layer, then inquires each node attribute of the editable layer in a planning graph through the information of the editable layer, after obtaining each node attribute in the editable layer, each node attribute in the editable layer is converted into a node attribute in an editable state, and after the conversion is finished, a client switches a collaborative editing layer into a collaborative editing state.
S107, the client receives the collaborative editing instruction, and carries out collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a layer after collaborative editing;
in a possible implementation manner, when a client switches a collaborative editing layer to a collaborative editing state, an editing user can add, delete, modify and check the layer of a planning map according to specific design requirements, when adding, deleting, modifying and checking the layer, the layer is modified by inputting different editing instructions, after the editing user inputs a plurality of different modifying instructions, the client receives the input editing instructions, then edits the edited layer according to the editing instructions, and generates the layer after the editing is finished.
S108, the client receives and stores the command of the layer after collaborative editing, and judges the collaborative state of the planning map to generate a judgment result;
and judging whether the planning graph is a result generated by the collaborative state or not after the system of the client receives the storage instruction according to the judgment result, wherein the result comprises the collaborative state closing and the collaborative state opening.
In a possible implementation manner, when the judgment result is that the collaborative state is closed, the layout after collaborative editing is prohibited from being saved.
In another possible implementation manner, when the judgment result is that the collaborative state is started, the client system first obtains all layer data of the planning map after collaborative editing, then checks the planning map based on all layer data and generates a checking result, then modifies the layer data of the planning map according to the checking result, generates a modified planning map, and finally stores the modified planning map.
Further, the client system firstly acquires non-editable layer data from all layer data, then covers the non-editable layer data on the current non-editable layer to generate a modified non-editable layer, then acquires entity data in the edited layer, then acquires entity data in the editable layer in the database, when the entity data in the edited layer is inconsistent with the entity data in the editable layer in the database, replaces the entity data in the editable layer in the database with the entity data in the edited layer, and finally determines the edited layer and the modified non-editable layer as modified planning drawings.
And S109, the client saves the planning graph after collaborative editing based on the judgment result.
For example, as shown in fig. 5, when a collaborate finishes editing and saving a project, the system determines the collaboration state of the current project in the collaboration record table. If the data is closed, any data cannot be stored; if the system is started, the system will pull all the layer data stored in the database for the last time in the scheme to the local, and then check layer by layer. First, the system checks layers that are not collaboratively edited, which are modified by other collaborators, and which are not editable by the user. The local data cached before the layer is old data, and the latest data in the database is automatically replaced. Meanwhile, such layers are updated to the latest data in the three-dimensional scene of the user. Secondly, the system checks the layers cooperatively edited by the user, when checking layer by layer, each layer checks all entities contained in the layers and compares the entities with all entities of the current layer in the database, and if the data are inconsistent, the data in the database can be replaced by the local data. And finally, after all the layers are checked, uniformly submitting data to a database for data updating.
In the embodiment of the application, a server of a multi-user collaborative editing system of three-dimensional WebGis loads a planning map in the three-dimensional WebGis and receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table or not and generates a judgment result, and then selects a layer for collaborative editing based on the judgment result and adds a collaborated person. The collaborated person receives the collaborative editing information of the layers in the planning map and displays the corresponding collaborative editing layers based on the collaborative editing information of the layers, then switches the collaborative editing layers to be in a collaborative editing state, receives a collaborative editing instruction and carries out collaborative editing on the collaborative editing layers according to the collaborative editing instruction to generate layers after collaborative editing, receives an instruction for storing the layers after collaborative editing and judges the collaborative state of the planning map to generate a judgment result, and finally stores the planning map after collaborative editing based on the judgment result. Therefore, by adopting the embodiment of the application, the collaborator controls each layer in the editing graph to be associated with the collaborated person, and the collaborated person only needs to complete the respective editing layer, so that the layers in the planning graph can be edited without influencing each other, and the layers of the collaborated persons are edited together on line, thereby reducing the editing time and improving the working efficiency.
The following are embodiments of systems of the present invention that may be used to perform embodiments of methods of the present invention. For details which are not disclosed in the embodiments of the system of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 6, a schematic structural diagram of a three-dimensional WebGis-based multi-person collaborative editing system according to an exemplary embodiment of the present invention is shown. The multi-person collaborative editing system based on the three-dimensional WebGis can be realized by software, hardware or a combination of the software and the hardware to be all or part of a terminal. The system 1 comprises a planning map loading module 10, a first judging module 20, a layer and collaborator correlation module 30, an information receiving module 40, a layer display module 50, a state switching module 60, a layer generating module 70, a second judging module 80 and a planning map saving module 90.
The planning map loading module 10 is used for loading a planning map in three-dimensional WebGis;
the first judging module 20 is configured to receive an editing instruction of the planning map, judge whether the planning map exists in a pre-stored collaborative recording table, and generate a judgment result;
the layer and collaborator association module 30 is configured to select a layer for collaborative editing based on the determination result, and add a collaborator;
the information receiving module 40 is configured to receive collaborative editing information of layers in the planning map;
the layer display module 50 is configured to display a corresponding collaborative editing layer based on the collaborative editing information of the layer;
a state switching module 60, configured to switch the collaborative editing layer to a collaborative editing state;
the layer generating module 70 is configured to receive a collaborative editing instruction, perform collaborative editing on a collaborative editing layer according to the collaborative editing instruction, and generate a layer after the collaborative editing;
a second judging module 80, configured to receive an instruction for storing the layer after collaborative editing, and judge a collaborative state of the planning map to generate a judgment result;
and the planning map storage module 90 is used for storing the planning map after collaborative editing based on the judgment result.
It should be noted that, when the multi-user collaborative editing system based on the three-dimensional WebGis provided in the foregoing embodiment executes the multi-user collaborative editing method based on the three-dimensional WebGis, the division of the functional modules is merely used as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the multi-user collaborative editing system based on the three-dimensional WebGis provided by the above embodiment and the multi-user collaborative editing method embodiment based on the three-dimensional WebGis belong to the same concept, and details of the implementation process are shown in the method embodiment and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a server of a multi-user collaborative editing system of three-dimensional WebGis loads a planning map in the three-dimensional WebGis and receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table or not and generates a judgment result, and then selects a layer for collaborative editing based on the judgment result and adds a collaborated person. The collaborated person receives the collaborative editing information of the layers in the planning map and displays the corresponding collaborative editing layers based on the collaborative editing information of the layers, then switches the collaborative editing layers to be in a collaborative editing state, receives a collaborative editing instruction and carries out collaborative editing on the collaborative editing layers according to the collaborative editing instruction to generate layers after collaborative editing, receives an instruction for storing the layers after collaborative editing and judges the collaborative state of the planning map to generate a judgment result, and finally stores the planning map after collaborative editing based on the judgment result. Therefore, by adopting the embodiment of the application, the collaborator controls each layer in the editing graph to be associated with the collaborated person, and the collaborated person only needs to complete the respective editing layer, so that the layers in the planning graph can be edited without influencing each other, and the layers of the collaborated persons are edited together on line, thereby reducing the editing time and improving the working efficiency.
The invention also provides a computer readable medium, on which program instructions are stored, and the program instructions, when executed by a processor, implement the three-dimensional WebGis-based multi-person collaborative editing method provided by the above-mentioned method embodiments.
The invention also provides a computer program product containing instructions, which when run on a computer causes the computer to execute the multi-person collaborative editing method based on three-dimensional WebGis of the above method embodiments.
Please refer to fig. 7, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 7, terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 interfaces various components throughout the electronic device 1000 using various interfaces and lines to perform various functions of the electronic device 1000 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and invoking data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory system located remotely from the processor 1001. As shown in fig. 7, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a three-dimensional WebGis-based multi-person collaborative editing application.
In the terminal 1000 shown in fig. 7, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke the three-dimensional WebGis-based multi-person collaborative editing application stored in the memory 1005, and specifically perform the following operations:
the server loads a planning diagram in the three-dimensional WebGis;
the server receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table and generates a judgment result;
the server selects the layer of collaborative editing based on the judgment result, and adds the collaborated person;
the client receives the collaborative editing information of the layer in the planning map;
the client displays the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the client switches the collaborative editing layer into a collaborative editing state;
the client receives the collaborative editing instruction, and carries out collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a collaboratively edited layer;
the client receives an instruction of storing the layers after collaborative editing, judges the collaborative state of the planning map and generates a judgment result;
and the client saves the planning map after collaborative editing based on the judgment result.
In one embodiment, when the execution server determines whether the planning map exists in the pre-stored collaborative recording table and generates a determination result, the processor 1001 further performs the following operations:
when the judgment result shows that the planning drawing does not exist in the collaborative recording table, the server starts collaborative editing and adds the planning drawing to the collaborative recording table; and when the planning graph exists in the collaborative recording table, the server side directly selects the layer of the collaborative editing.
In one embodiment, when the processor 1001 stores the layout drawing after the collaborative editing based on the determination result, the following operation is specifically performed:
and when the judgment result is that the collaborative state is closed, the client prohibits storing the collaborative edited planning drawing.
In one embodiment, when the execution client saves the collaborative edited layout drawing based on the determination result, the processor 1001 specifically performs the following operations:
when the judgment result is that the collaborative state is started, the client acquires all layer data of the planning map after collaborative editing;
the client checks the planning drawing and generates a checking result based on all the drawing layer data;
the client modifies the layer data of the planning graph according to the checking result to generate a modified planning graph;
the client saves the modified planning map.
In one embodiment, when the execution client saves the collaborative edited layout drawing based on the determination result, the processor 1001 specifically performs the following operations:
the client side obtains non-editable layer data from all layer data;
the client covers the non-editable layer data on the current non-editable layer to generate a modified non-editable layer;
the client side obtains entity data in the edited layer;
the client side obtains entity data in an editable layer in the database;
when the entity data in the edited layer is inconsistent with the entity data in the editable layer in the database, the client replaces the entity data in the editable layer in the database with the entity data in the edited layer;
and the client determines the edited layer and the modified non-editable layer as the modified planning map.
In the embodiment of the application, a server of a multi-user collaborative editing system of three-dimensional WebGis loads a planning map in the three-dimensional WebGis and receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table or not and generates a judgment result, and then selects a layer for collaborative editing based on the judgment result and adds a collaborated person. The collaborated person receives the collaborative editing information of the layers in the planning map and displays the corresponding collaborative editing layers based on the collaborative editing information of the layers, then switches the collaborative editing layers to be in a collaborative editing state, receives a collaborative editing instruction and carries out collaborative editing on the collaborative editing layers according to the collaborative editing instruction to generate layers after collaborative editing, receives an instruction for storing the layers after collaborative editing and judges the collaborative state of the planning map to generate a judgment result, and finally stores the planning map after collaborative editing based on the judgment result. Therefore, by adopting the embodiment of the application, the collaborator controls each layer in the editing graph to be associated with the collaborated person, and the collaborated person only needs to complete the respective editing layer, so that the layers in the planning graph can be edited without influencing each other, and the layers of the collaborated persons are edited together on line, thereby reducing the editing time and improving the working efficiency.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A multi-user collaborative editing method based on three-dimensional WebGis is applied to a server and is characterized by comprising the following steps:
loading a planning graph in three-dimensional WebGis;
receiving an editing instruction of a planning map, judging whether the planning map exists in a prestored collaborative recording table or not and generating a judgment result;
and selecting a layer for collaborative editing based on the judgment result, and adding a collaborated object.
2. The method according to claim 1, wherein the judging whether the planning map exists in a pre-stored collaborative recording table and generating a judgment result comprises:
when the judgment result shows that the planning drawing does not exist in the collaborative recording table, starting collaborative editing, and adding the planning drawing to the collaborative recording table; and when the planning graph exists in the collaborative recording table, directly selecting a layer of collaborative editing.
3. The method of claim 1, further comprising,
and judging whether the corresponding graph layer is switched into an editable state or not according to whether the collaborated person accepts or not.
4. The method of claim 3, further comprising,
receiving an instruction for selecting a plurality of layers of the planning map, and selecting the plurality of layers of the planning map;
receiving an instruction of selecting a collaborated person corresponding to the plurality of image layers, and selecting the corresponding collaborated person;
and sending the collaborative editing information of each layer in the plurality of layers to the collaborated person.
5. A planning map cooperation method based on three-dimensional WebGis is applied to a cooperated party, and is characterized in that the method comprises the following steps:
receiving collaborative editing information of layers in a planning graph;
displaying a corresponding collaborative editing layer based on the collaborative editing information of the layer;
switching the collaborative editing layer to a collaborative editing state;
receiving a collaborative editing instruction, and performing collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a collaboratively edited layer;
receiving an instruction for storing the layer after collaborative editing, and judging the collaborative state of the planning map to generate a judgment result;
and saving the layout after the collaborative editing based on the judgment result.
6. The method according to claim 5, wherein the saving the collaborative edited layout drawing based on the determination result comprises:
and when the judgment result is that the collaborative state is closed, forbidding to store the collaborative edited planning drawing.
7. The method according to claim 5, wherein the saving the collaborative edited layout drawing based on the determination result comprises:
when the judgment result is that the collaborative state is started, acquiring all layer data of the planning map after collaborative editing;
checking the planning graph and generating a checking result based on all the graph layer data;
modifying the layer data of the planning graph according to the checking result to generate a modified planning graph;
saving the modified layout drawing.
8. The method according to claim 7, wherein the modifying the layer data of the layout drawing according to the checking result to generate a modified layout drawing comprises:
obtaining non-editable layer data from all layer data;
covering the non-editable layer data on the current non-editable layer to generate a modified non-editable layer;
acquiring entity data in the edited layer;
acquiring entity data in an editable layer in a database;
when the entity data in the edited layer is inconsistent with the entity data in the editable layer in the database, replacing the entity data in the editable layer in the database with the entity data in the edited layer;
and determining the edited layer and the modified non-editable layer as a modified planning map.
9. A multi-person collaborative editing method based on three-dimensional WebGis is characterized by comprising the following steps:
the server loads a planning diagram in the three-dimensional WebGis;
the server receives an editing instruction of the planning map, judges whether the planning map exists in a prestored collaborative recording table and generates a judgment result;
the server side selects the layer of collaborative editing based on the judgment result and adds the collaborated person;
the client receives the collaborative editing information of the layer in the planning map;
the client displays the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the client switches the collaborative editing layer into a collaborative editing state;
the client receives a collaborative editing instruction, and carries out collaborative editing on the collaborative editing layer according to the collaborative editing instruction to generate a collaborative edited layer;
the client receives an instruction for storing the layer after collaborative editing, judges the collaborative state of the planning map and generates a judgment result;
and the client saves the planning map after the collaborative editing based on the judgment result.
10. A multi-person collaborative editing system based on three-dimensional WebGis, the system comprising:
the planning map loading module is used for loading a planning map in three-dimensional WebGis;
the first judgment module is used for receiving an editing instruction of the planning map, judging whether the planning map exists in a prestored collaborative recording table and generating a judgment result;
the layer and collaborator association module is used for selecting a layer for collaborative editing based on the judgment result and adding a collaborator;
the information receiving module is used for receiving the collaborative editing information of the layers in the planning map;
the layer display module is used for displaying the corresponding collaborative editing layer based on the collaborative editing information of the layer;
the state switching module is used for switching the collaborative editing layer into a collaborative editing state;
the layer generation module is used for receiving a collaborative editing instruction, carrying out collaborative editing on the collaborative editing layer according to the collaborative editing instruction and generating a layer after the collaborative editing;
the second judgment module is used for receiving an instruction for storing the layer after collaborative editing and judging the collaborative state of the planning map to generate a judgment result;
and the planning map storage module is used for storing the planning map after collaborative editing based on the judgment result.
CN202011112801.9A 2020-10-16 2020-10-16 Multi-person collaborative editing method and system based on three-dimensional WebGis Pending CN112307724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112801.9A CN112307724A (en) 2020-10-16 2020-10-16 Multi-person collaborative editing method and system based on three-dimensional WebGis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112801.9A CN112307724A (en) 2020-10-16 2020-10-16 Multi-person collaborative editing method and system based on three-dimensional WebGis

Publications (1)

Publication Number Publication Date
CN112307724A true CN112307724A (en) 2021-02-02

Family

ID=74328157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112801.9A Pending CN112307724A (en) 2020-10-16 2020-10-16 Multi-person collaborative editing method and system based on three-dimensional WebGis

Country Status (1)

Country Link
CN (1) CN112307724A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181552A1 (en) * 2016-12-23 2018-06-28 Documill Oy Generation of notifications in a collaborative document editing environment
CN110888845A (en) * 2019-11-22 2020-03-17 上海亦存网络科技有限公司 Method and system for collaboratively editing file and monitoring file operation
US20200090287A1 (en) * 2018-09-14 2020-03-19 Appraisers Now Ltd. Systems and methods for collaborative real-time generation of electronic real estate reports

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181552A1 (en) * 2016-12-23 2018-06-28 Documill Oy Generation of notifications in a collaborative document editing environment
US20200090287A1 (en) * 2018-09-14 2020-03-19 Appraisers Now Ltd. Systems and methods for collaborative real-time generation of electronic real estate reports
CN110888845A (en) * 2019-11-22 2020-03-17 上海亦存网络科技有限公司 Method and system for collaboratively editing file and monitoring file operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李佳俊 等: "WebGIS三维平台在街区微更新中的应用", 《北京测绘》 *

Similar Documents

Publication Publication Date Title
US11023834B2 (en) Collaborative design systems, apparatuses, and methods
US8819538B2 (en) Method and apparatus for generating a link to a presented web page
US8719325B2 (en) Method to initiate server based collaboration on e-mail attachments
US7152207B1 (en) Method and apparatus for providing conditional customization for generating a web site
US6697825B1 (en) Method and apparatus for generating and modifying multiple instances of element of a web site
CN110807015A (en) Big data asset value delivery management method and system
CN112632919B (en) Document editing method and device, computer equipment and storage medium
US11681423B2 (en) System and method for implementing design system to provide preview of constraint conflicts
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN113971191A (en) Data import method and device and computer readable storage medium
US6868297B1 (en) Method and system for designing objects using functional modeling
CN112307724A (en) Multi-person collaborative editing method and system based on three-dimensional WebGis
CN116048517A (en) API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN113407598A (en) Method and device for generating demand document, storage medium and electronic equipment
JP6732358B1 (en) How to make an automatic conversation application
KR101663470B1 (en) Method and system for providing contents service based dynamic data base
US20240143869A1 (en) System and method for using section grouping to generate simulations
JP2021072094A (en) Automatic conversation application creation method
CN117556795A (en) Method for putting business travel service on shelf and business travel service system
KR20030020213A (en) web project product and management system based on community in on-line network and method therefore
CN116339581A (en) Service request processing method and device, electronic equipment and storage medium
CN117251425A (en) Document editing method, device, storage medium and equipment
CN117931186A (en) Data binding method and device, electronic equipment and computer storage medium
CN109597820A (en) Customer information synchronous method, device and computer readable storage medium
KR20140142792A (en) Method of creating home pages for mobile communication device and apparatus thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202

RJ01 Rejection of invention patent application after publication