CN112070861B - Multi-user real-time synchronous collaborative map editing method and system considering geographic features - Google Patents

Multi-user real-time synchronous collaborative map editing method and system considering geographic features Download PDF

Info

Publication number
CN112070861B
CN112070861B CN202010931376.XA CN202010931376A CN112070861B CN 112070861 B CN112070861 B CN 112070861B CN 202010931376 A CN202010931376 A CN 202010931376A CN 112070861 B CN112070861 B CN 112070861B
Authority
CN
China
Prior art keywords
user
editing
data
server
client
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.)
Expired - Fee Related
Application number
CN202010931376.XA
Other languages
Chinese (zh)
Other versions
CN112070861A (en
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.)
Second Institute Of Surveying And Mapping Of Xinjiang Uygur Autonomous Region
Original Assignee
Second Institute Of Surveying And Mapping Of Xinjiang Uygur Autonomous Region
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 Second Institute Of Surveying And Mapping Of Xinjiang Uygur Autonomous Region filed Critical Second Institute Of Surveying And Mapping Of Xinjiang Uygur Autonomous Region
Publication of CN112070861A publication Critical patent/CN112070861A/en
Application granted granted Critical
Publication of CN112070861B publication Critical patent/CN112070861B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • 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/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
    • G06F16/2343Locking methods, e.g. distributed locking or locking implementation details
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a multi-user real-time synchronous collaborative map editing method and system considering geographic characteristics, which realize multi-user data synchronization and sharing based on local copy as required, realize concurrency control considering geographic characteristic constraint conditions by combining different roles of project division and utilizing dynamic locks and Socket-based message transmission, and provide a concurrency conflict resolution method combining 'prior' intervention with 'after' program automation and manual intervention. The invention has the beneficial effects that: multiple projects are performed simultaneously on the platform; a plurality of operators simultaneously edit map data with large data volume and more map spots on a certain map layer on the data server; meanwhile, the quality inspector carries out quality inspection, technical problem processing and even judgment of parallel conflicts on the editing results of all the operators; project management personnel monitor progress and quality in real time and timely adjust task partitions, production efficiency and product quality can be improved, and particularly the overall benefit of large-scale data production is improved.

Description

Multi-user real-time synchronous collaborative map editing method and system considering geographic features
Technical Field
The invention relates to a real-time synchronous collaborative editing method for map data, in particular to a multi-user real-time synchronous collaborative map editing method and a multi-user real-time synchronous collaborative map editing system considering geographic characteristics, and belongs to the technical field of geographic information data processing.
Background
Map editing (broadly including map design and editing in the process of processing and editing geospatial data and map compiling) is a work which is labor intensive and low in automation degree by taking a map frame as a unit for a long time, especially in the aspect of emergency mapping. In recent years, similar to the production of county-area partitioned data and data updating tasks such as geographic national condition monitoring, third national state and soil survey, annual land utilization updating and other major projects with tight construction period and large workload, the method provides challenges for individual combat or block-by-block or even framing operation modes, and provides higher and more urgent requirements for real-time collaborative editing.
Due to the large scale, the diverse structure, the complex geographic features and the security requirement of map data, many mature collaborative editing researches and applications, especially regarding linear document aspects such as model design, communication mechanism, database access and version management, are not suitable, for example, operation Transformation (OT) method. The research related to the collaborative graphic editing and the collaborative drawing is still in a development stage, and the advantages and the disadvantages of each method are obvious, for example, the multi-version technology and various improved methods thereof cause the manual intervention, especially the large workload of version conflict resolution and the abandonment of part of operations, the perception capability is poor, and the team collaborative efficiency is influenced; the multi-level locking mechanism is difficult to control the locking granularity and automation, so that excessive manual intervention, high system overhead and very complex data synchronization are easily caused; collaborative mapping based on shared map document data may cause memory leaks or delays in network transmission, etc. due to an increase in the amount of data. And less research and application is performed in terms of deployment based on a cloud platform.
In the patent aspect, the efficiency is not high due to the fact that manual data updating, submission and conflict resolution are needed in the collaborative editing method provided by the Wuda Giao company, and network transmission bottleneck and possible delay are caused due to frequent and large-quantity data exchange of the fully copied data from offline to local and the servers for submission and uploading. The collaborative graphic editing method and system provided by Zhongxing company for mobile terminals can only be suitable for graphic files with small data volume and can not be suitable for scenes with large data volume and frequent editing of maps. The real-time collaboration proposed by the university of Shanghai science does not provide a concurrency control mechanism, and conflict resolution adopts the way that a user selects an operation to execute by himself, so that new conflicts, namely, the selections of different users of the same object are inconsistent and even mutually conflict, and finally, the conflicts may not be really resolved.
Currently, the software architecture of the Geographic Information System (GIS) supporting multi-user real-time synchronization collaboration in the market is not mature yet. The main stream GIS system is not perfect for multi-user synchronous (same data source at the same time) collaborative editing support, cannot meet the collaborative production and updating requirements of map data in engineering projects, and is not beneficial to team cooperation. Such as ArcGIS, although supporting distributed, long-transaction, and version-control functions, most have only cooperative processing capabilities that work asynchronously.
Disclosure of Invention
The invention aims to provide a multi-user real-time synchronous collaborative map editing method and system considering geographic characteristics, which realize multi-user data synchronization and sharing based on local copy as required, combine different roles of project division, realize concurrent control considering geographic characteristic constraint conditions by utilizing dynamic locks and Socket-based message transmission, provide a concurrent conflict resolution method combining 'prior' intervention with 'after' program automation and manual intervention, improve the perception capability and smooth experience of users on collaborative operation, and provide beneficial attempts for promoting the research of the current collaborative GIS and the development of a GIS system architecture.
The invention achieves the above purpose through the following technical scheme: a multi-user real-time synchronous collaborative map editing method and system considering geographic features comprises a layered architecture design system and an editing method, and is characterized in that the layered architecture design system packages various application and management function modules as services and provides the services to the outside in the form of service interfaces, and comprises an infrastructure layer, a data layer, a platform service layer, an application layer and an information security standard and support system;
the infrastructure layer constructs the existing software and hardware facilities into a resource pool through a virtualization technology and performs unified management and dynamic allocation to improve the utilization rate of storage and computing capacity;
the data layer provides rule sets, spatial data, user information, message cache information and other data by relying on an established business system and various databases, converts management application development functions and services into various interfaces and provides data service support for an upper layer;
the service layer is a foundation for the cloud platform to provide various services and application docking for the outside, reasonably organizes requests of the client and resources of the server, realizes cooperative work of the server and the client, and provides services such as data, functions, interfaces, infrastructure and the like for various business applications;
the application layer provides related service functions of user cooperative operation and interaction.
The overall design of the platform adopts a Client/Server centralized architecture and is divided into a Server side and a Client side according to functions;
the server side is responsible for maintaining long connection with the client side, classifying, forwarding and storing messages and managing subscription conditions of users, the server side is composed of a plurality of distributed control nodes and provides services and management for the outside in a cluster mode, multiple responsibilities such as load balancing, message communication control, cooperative control, conflict processing and operation databases are borne, and user information and an original map database are managed in a centralized mode at the server side;
the client is responsible for subscribing the message, the client is divided into different groups according to different projects, similar to the fact that a tenant performs a specific cooperative task in a mutually isolated range, different users in the same project group can be uniformly connected to different host nodes in a server cluster through load balancing, and synchronous cooperative data are managed in a local replication mode at the client;
the editing method comprises the following steps:
s1, project management personnel firstly apply for an independent project operation space at a server side and configure appropriate software and hardware resources. Dividing respective task areas for each operator and quality testing personnel according to the conditions of map data, project construction period, personnel and the like;
s2, each user logs in a role, registers data types and task areas interested by the user to the server-side environment sensing service, and subscribes messages of a specific type. According to the distributed task areas and the user view updating requirements of the client, sending data requests to the server end according to requirements, downloading map data in a required range from the server end to a local disk, loading the data to the current user view and updating screen display;
and S3, the users start the collaborative session at the client to carry out respective operation, and the server also starts a current view position tracking and concurrency control mechanism of each user so as to realize perception, and the user position distribution thumbnail of the client is updated in real time. Based on the message communication technology of the Socket, the point-to-point instant communication between the server side and the client side message transmission mechanism and the client side is realized. When the user carries out editing operation at the client, the user can firstly execute the editing operation locally and store a local operation log. In each user client end view, elements are distinguished in different symbol styles, the object identifiers of the same shared object on different terminals are globally unique, and the operation of related users can involve lock management and information prompt when the task area is crossed.
And S4, finishing the user collaborative session.
For project management personnel, operations such as browsing, checking, inquiring, summarizing and counting are only performed because collaborative editing is not involved.
As a still further scheme of the invention: in S3, the concurrency control mechanism at the server side is implemented based on automatic or manual addition of a dynamic lock by the system, and is mainly embodied in that potential concurrency conflicts are caused by editing operations such as add, delete, and change, and include:
1. multiple users can edit the same element, such as element combination, deletion, node editing, etc. If the results of the edits can be combined or are independent of the order of execution (time stamping) of the editing steps, then the operations are not conflicting, and vice versa;
2. editing operations must be executed in an exclusive environment, such as editing operations for controlling element classes, which require participation of the whole layer, such as topological relation editing, cropping, attribute structure adjustment, and the like;
3. the conflict between the user and the message command of 'forcibly refreshing the user view' sent by the server in the process of editing operation may cause the interruption of the user operation and even the error;
4. the "constraint condition" is mainly to ensure the correctness of the positional relationship, the reasonability of the topological relationship, the correlation of the logical relationship, and the like when editing the elements related to the geographic space, such as water systems and contour lines, main canals and water gates, and the like. While non-editing operations such as query, roaming, etc. generally do not cause conflicts, but merely involve spatial data reloading and updating of the user location distribution thumbnail caused by client view refresh.
As a still further scheme of the invention: in the S3, the user of the client comprises an operator and a quality testing person;
aiming at the operators, the specific editing process comprises the following steps:
s310, when the operator successfully edits the operation result, the operation related information is packaged into a message, the message is filtered and then a command message meeting the condition is sent to the server end in real time to show an operation request, and the command message sent to the server end by the operator comprises user information (such as user identification, IP address, view position and the like) and operation information (such as command type, operation object detailed information, operation environment information and the like). Operations that succeed but fail message filtering are ignored. If the result is unsuccessful, the operation "rollback" is executed locally, and the editing operation is cancelled and ignored.
S311, after receiving the command information, the server temporarily stores the command information into a message queue for analysis and filtration, and then stores the command information into a message database in a persistent mode. In the operation, when the range of the request data exceeds the task area to which the user belongs, the server side sends a notification to the relevant user and immediately starts concurrency control and potential conflict detection, and resolves the conflict when the conflict occurs, and then the step S312 is executed, otherwise, the step S313 is executed.
S312, the system can automatically decide which operations to keep, which to discard, which to suspend or sequence according to the operation submitting time according to the predefined resolution rules, and the like to serialize, and when the system can not match the rules, the related users can be triggered to carry out a negotiation concordance program or a third-party forced arbitration program, and a notice and an operation instruction are sent to the related users, so that the conflict resolution efficiency is improved.
S313, through the editing operation of validity verification or conflict resolution and qualified quality inspection of the server, the editing transaction is called to directly act on the original map database stored by the server, the data distribution message is sent to the user client terminal subscribed with the message after the editing result is generated, the downloading-loading-refreshing step of the S2 is forcibly executed, and the data previously stored in the local disk is saved as the staged historical data. The process then proceeds to step S4.
Aiming at quality inspection personnel, the specific editing process comprises the following steps:
s320, checking an editing operation sequence submitted by each user in the task area or an editing conflict list to be arbitrated and pushed by the system;
s321, making reasonable judgment instantly. The unqualified user editing operation is rejected, the user is informed and the operation rollback is executed locally. Coordinating the relevant users to resolve the editing conflict, releasing reasonable editing operation, ignoring unreasonable editing operation, and informing the users to execute operation rollback locally. And (5) after the quality inspection task is finished, the step S4 is carried out.
As a still further scheme of the invention: the lock types are divided into element locks, regional locks, layer locks and associated locks according to the concurrency granularity and the locking time of lock control;
the regional lock is used for ensuring that a system is automatically locked when a user carries out normal editing operation in each task region, and a warning is given when the user is out of range;
when a user needs to cross the task area boundary to enter other people's task areas or the user is in the task area of the user but the element to be edited crosses two task areas, the regional lock is automatically disabled to avoid the conflict between the regional locks, and the element lock is immediately enabled. The object lock can be automatically used for the element system which is being edited, the pointer of the element system is in a pattern with the lock shape when the element system cannot be selected by others and the element system is scratched by a mouse, and the element system can inquire who locks the element system in real time. After the user obtains the element lock authority, the element lock can be automatically released when no operation is performed within a period of time;
the layer lock is only used when the whole layer participates in editing operation;
the association lock is used for manually locking related elements of which the edges of the task area need to be connected by a single user or manually locking the elements which are associated by the geographic space in the same range by multiple users. Therefore, resource overhead caused by locking can be reduced, and smoothness of operation experience of a user and consistency of willingness of the user are guaranteed.
The invention has the beneficial effects that: the multi-user real-time synchronous collaborative map editing method and system considering the geographic characteristics are reasonable in design, and multiple projects are simultaneously carried out on a platform; under a project task group, a plurality of operators simultaneously edit map data with large data volume and more map spots on a certain map layer on a data server; meanwhile, the quality inspector carries out quality inspection, technical problem processing and even judgment of parallel conflicts on the editing results of all the operators; project management personnel monitor the progress and quality in real time and timely adjust task partitions. Therefore, the method is beneficial to team cooperation, can improve the production efficiency and the product quality, especially improves the overall benefit of large-scale data production, and has wide application prospects in space database updating, fast mapping, emergency mapping and the like.
Drawings
FIG. 1 is a message delivery flow diagram of the present invention;
FIG. 2 is a general framework diagram of the platform system of the present invention;
FIG. 3 is a diagram of a network architecture according to the present invention;
FIG. 4 is a functional block diagram of a server side of the system of the present invention;
FIG. 5 is a functional block diagram of a client of the system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.
Referring to fig. 1 to 5, a multi-user real-time synchronous collaborative map editing method and system considering geographic features includes a layered architectural design system and an editing method, and is characterized in that the layered architectural design system packages various application and management function modules as services and provides the services to the outside in the form of service interfaces, and the layered architectural design system includes an infrastructure layer, a data layer, a platform service layer, an application layer and an information security standard and support system;
the infrastructure layer constructs the existing software and hardware facilities into a resource pool through a virtualization technology and performs unified management and dynamic allocation to improve the utilization rate of storage and computing capacity;
the data layer provides rule sets, spatial data, user information, message cache information and other data by relying on the established business system and various databases, converts management application development functions and services into various interfaces, and provides data service support for the upper layer;
the service layer is a foundation for the cloud platform to provide various services and application docking for the outside, reasonably organizes requests of the client and resources of the server, realizes cooperative work of the server and the client, and provides services such as data, functions, interfaces, infrastructure and the like for various business applications;
the application layer provides related service functions of user cooperative operation and interaction.
The overall design of the platform adopts a Client/Server centralized architecture and is divided into a Server side and a Client side according to functions;
the server side is responsible for maintaining long connection with the client side, classifying, forwarding and storing messages and managing subscription conditions of users, is composed of a plurality of distributed control nodes, provides services and management for the outside in a cluster form, bears multiple duties such as load balancing, message communication control, cooperative control, conflict processing and operation databases and the like, and manages user information and an original map database in a centralized mode at the server side;
the client is responsible for subscribing messages, the client is divided into different groups according to different projects, a specific cooperative task is performed in a mutually isolated range similar to a tenant, different users in the same project group can be uniformly connected to different host nodes (such as database management service, message queues, cooperative management and the like) in a server cluster through load balancing, synchronous and cooperative data are managed in a local copy mode at the client, a cloud platform can give full play to the advantages of physical resource virtualization, user on-demand access, low resource cost, flexibility and convenience in deployment, easiness in expansion and the like, a single server is managed through the cluster, the characteristics of complex spatial data, large data volume, distributed storage and the like are adapted, and the bottleneck of a centralized system structure can be overcome;
the editing method comprises the following steps:
s1, project management personnel firstly apply for an independent project operation space at a server side and configure appropriate software and hardware resources. Dividing respective task areas for each operator and quality testing personnel according to the conditions of map data, project construction period, personnel and the like;
s2, each user logs in a role, registers data types and task areas interested by the user to the server-side environment sensing service, and subscribes messages of a specific type. According to the distributed task areas and the user view updating requirements of the client, sending data requests to the server end according to requirements, downloading map data in a required range from the server end to a local disk, loading the data to the current user view and updating screen display;
and S3, the users start the collaborative session at the client to carry out respective operation, and the server also starts a current view position tracking and concurrency control mechanism of each user so as to realize perception, and the user position distribution thumbnail of the client is updated in real time. Based on the message communication technology of the Socket, the point-to-point instant communication between the server side and the client side message transmission mechanism and the client side is realized. When the user carries out editing operation at the client, the user can firstly execute the editing operation locally and store a local operation log. In the end view of each user client, the elements are distinguished in different symbol styles, the object identification of the same shared object on different terminals is globally unique, and the operation of related users can relate to lock management and information prompt when the task crossing area exists;
the users of the client comprise operating personnel and quality control personnel besides project managers;
aiming at the operators, the specific editing process comprises the following steps:
and S310, when the operator successfully edits the operation result, the operator packages the operation related information into a message, and the message is filtered and then a command message meeting the condition is sent to the server end in real time to indicate an operation request. The command message sent by the operator to the server side includes user information (such as user identification, IP address, view location, etc.) and operation information (such as command type, operation object detailed information, operation environment information, etc.). Operations that succeed in their outcome but fail to pass message filtering are ignored. If the result is unsuccessful, the operation "rollback" is executed locally, and the editing operation is cancelled and ignored.
S311, after receiving the command information, the server temporarily stores the command information into a message queue for analysis and filtration, and then stores the command information into a message database in a persistent mode. In the operation, when the range of the request data exceeds the task area to which the user belongs, the server side sends a notification to the relevant user and immediately starts concurrency control and potential conflict detection, and resolves the conflict when the conflict occurs, and then the step S312 is executed, otherwise, the step S313 is executed.
S312, the system can automatically decide which operations to keep, which to discard, which to suspend or sequence according to the operation submitting time according to the predefined resolution rules, and the like to serialize, and when the system can not match the rules, the related users can be triggered to carry out a negotiation concordance program or a third-party forced arbitration program, and a notice and an operation instruction are sent to the related users, so that the conflict resolution efficiency is improved.
S313, through the editing operation of validity verification or conflict resolution and qualified quality inspection of the server, the editing transaction is called to directly act on the original map database stored by the server, the data distribution message is sent to the user client terminal subscribed with the message after the editing result is generated, the downloading-loading-refreshing step of the S2 is forcibly executed, and the data previously stored in the local disk is saved as the staged historical data. Subsequently, the process proceeds to step S4.
Aiming at quality testing personnel, the specific editing process comprises the following steps:
s320, checking an editing operation sequence submitted by each user in a task area or an editing conflict list to be arbitrated pushed by a system;
s321, making reasonable judgment instantly. The unqualified user editing operation is rejected, the user is informed and the operation rollback is executed locally. Coordinating the relevant users to resolve the editing conflict, releasing reasonable editing operation, ignoring unreasonable editing operation, and informing the users to execute operation rollback locally. After the quality inspection task is completed, the method proceeds to step S4
And S4, finishing the user collaborative session.
For project management personnel, operations such as browsing, checking, inquiring, summarizing and counting are only performed because collaborative editing is not involved.
Further, in the embodiment of the present invention, in the S3, a concurrency control mechanism at the server side is implemented based on automatic or manual addition of a dynamic lock by the system, which is mainly embodied that potential concurrency conflicts are caused by editing operations such as add, delete, and change, and includes:
1. multiple users can edit the same element, such as element combination, deletion, node editing, etc. If the results of the edits can be combined or are independent of the order of execution (time stamping) of the editing steps, then the operations are not conflicting, and vice versa;
2. editing operations must be executed in an exclusive environment, such as editing operations for controlling element classes, which require participation of the whole layer, such as topological relation editing, cropping, attribute structure adjustment, and the like;
3. the conflict between the user and the message command of 'forcibly refreshing the user view' sent by the server in the process of editing operation may cause the interruption of the user operation and even the error;
4. editing operation with constraint conditions, wherein the constraint conditions mainly need to ensure the correctness of the position relationship, the rationality of the topological relationship, the correlation of the logical relationship and the like when editing the elements related to the geographic space, such as water systems and contour lines, main canals and water gates and the like. While non-editing operations such as query, roaming, etc. generally do not cause conflicts, but merely involve spatial data reloading and updating of the user location distribution thumbnail caused by client view refresh.
Further, in the embodiment of the present invention, the lock types are divided into an element lock, an area lock, a layer lock, and an associated lock according to the concurrency granularity of lock control and the difference of locking opportunities;
the regional lock is used for ensuring that a system is automatically locked when a user carries out normal editing operation in each task region, and a warning is given when the user is out of range;
when a user needs to cross the boundary of the task area and enter other task areas or the user is in the task area of the user but the element to be edited crosses two task areas, the element lock is started immediately in order to avoid the conflict between the area locks and the automatic failure of the area locks. The object lock can be automatically used for the element system which is being edited, the pointer of the element system is in a pattern with the lock shape when the element system cannot be selected by others and the mouse is used for swiping, and the object lock can be inquired in real time about who locks the element system. After the user obtains the element lock authority, the element lock can be automatically released when no operation is performed within a period of time;
the layer lock is only used when the whole layer participates in editing operation;
the association lock is used for manually locking related elements needing to be connected by a single user to the edge of the task area or manually locking the elements which are associated by the geographic space in the same range by multiple users. Therefore, resource overhead caused by locking can be reduced, and the smoothness and the consistency of will of operation experience of a user are guaranteed.
The working principle is as follows: when the multi-user real-time synchronous collaborative map editing method and system considering the geographic characteristics are used, under a project task group, a plurality of operators simultaneously edit map data with large data volume and more map spots of a certain layer on a data server; meanwhile, the quality inspector carries out quality inspection, technical problem processing and even judgment of parallel conflicts on the editing results of all the operators; project management personnel monitor the progress and the quality in real time and timely adjust task partitions. Therefore, team cooperation is facilitated, and the production efficiency and the product quality can be improved.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (5)

1. A multi-user real-time synchronous collaborative map editing system considering geographic features comprises a layered architecture design system, and is characterized in that the layered architecture design system packages various application and management function modules as services and provides the services to the outside in the form of service interfaces, and comprises an infrastructure layer, a data layer, a platform service layer, an application layer and an information security standard and support system;
the infrastructure layer constructs the existing software and hardware facilities into a resource pool through a virtualization technology and performs unified management and dynamic allocation to improve the utilization rate of storage and computing capacity;
the data layer provides a rule set, spatial data, user information and message cache information by relying on an established business system and various databases, converts a management application development function and service into various interfaces and provides data service support for an upper layer;
the service layer is a foundation for the cloud platform to provide various services and application docking for the outside, reasonably organizes requests of the client and resources of the server, realizes cooperative work of the server and the client, and provides data, functions, interfaces and infrastructure services for various business applications;
the application layer provides related service functions of user cooperative operation and interaction;
the overall design of the platform adopts a Client/Server centralized architecture and is divided into a Server side and a Client side according to functions;
the server side is responsible for maintaining long connection with the client side, classifying, forwarding and storing messages and managing subscription conditions of users, the server side is composed of a plurality of distributed control nodes and provides services and management for the outside in a cluster mode, load balancing, message communication control, cooperative control, conflict processing and operation databases are born, and user information and an original map database are managed in a centralized mode at the server side;
the client is responsible for subscribing the message, the client is divided into different groups according to different projects, similar to the fact that a tenant performs a specific cooperative task in a mutually isolated range, different users in the same project group can be uniformly connected to different host nodes in the server cluster through load balancing, and synchronous cooperative data are managed in a local replication mode at the client.
2. A multi-user real-time synchronous collaborative map editing method considering geographic features is characterized by comprising the following steps:
s1, project management personnel firstly apply for an independent project operation space at a server side, configure appropriate software and hardware resources, and divide respective task areas for each operator and quality inspection personnel according to map data, project construction period and personnel conditions;
s2, each user logs in a role, registers data types and task areas interested by the user to a server-side environment sensing service, subscribes messages of a specific type, sends data requests to the server side according to needs, downloads map data in a required range from the server side to a local disk according to needs of the distributed task areas and user view updating of a client side, loads data to a current user view and updates screen display;
s3, each user starts a collaborative session at a client side to perform respective operation, meanwhile, a server side also starts a current view position tracking and concurrency control mechanism of each user so as to realize perception, a user position distribution sketch map of the client side is updated in real time, point-to-point instant communication between the server side and a client side message transmission mechanism and the client side is realized based on a Socket message communication technology, when the user edits and operates at the client side, the user can execute locally and store a local operation log, in the client end view of each user, elements are distinguished in different symbol styles, the object identification of the same shared object on different terminals is globally unique, and the operation of related users can involve lock management and information prompt when a task-crossing region exists;
s4, the user collaborative session is ended; and for the project management personnel, the collaborative editing is not involved, and only browsing, checking, inquiring and summarizing statistical operations are performed.
3. The multi-user real-time synchronous collaborative map editing method considering geographic features according to claim 2, wherein in S3, the users of the client include an operator and a quality inspector in addition to a project manager;
aiming at the operators, the specific editing process comprises the following steps:
s310, when the operation result is successfully edited by an operator, the operation related information is packaged into a message, the message is filtered and then a command message meeting the condition is sent to the server end in real time to show an operation request, the command message sent to the server end by the operator comprises user information and operation information, the operation that the result is successful but the message is not filtered is ignored, when the result is unsuccessful, the operation rollback is locally executed, and the editing operation is cancelled and ignored;
s311, after receiving the command information, the server temporarily stores the command information in a message queue for facilitating analysis and filtration, and then persistently stores the command information in a message database, when the range of the request data exceeds the task area of the user, the server sends a notification to the related user and immediately starts concurrency control and potential conflict detection, and when a conflict occurs, the resolution is carried out, and the step S312 is carried out, otherwise, the step S313 is carried out;
s312, the system automatically judges which operations are reserved, which operations are discarded, which operations are executed in a suspended mode or serialization processing is carried out in a certain mode according to the operation submitting time according to a predefined resolution rule, when the system cannot match the rule, related users are triggered to carry out a negotiation consistency program or a third-party forced arbitration program, and a notification and an operation instruction are sent to the related users, so that the conflict resolution efficiency is improved;
s313, through the editing operation of validity verification or conflict resolution at the server end and qualified quality inspection, the editing affair is called to directly act on the original map database stored by the server, the data distribution message is sent to the user client end subscribed with the message after the editing result is generated, the step of downloading, loading and refreshing of S2 is forcibly executed, the data previously stored in the local disk is saved as the stage history data, and then the step S4 is executed,
aiming at quality inspection personnel, the specific editing process comprises the following steps:
s320, checking an editing operation sequence submitted by each user in a task area or an editing conflict list to be arbitrated pushed by a system;
s321, making a reasonable judgment immediately, notifying the user and performing operation rollback locally when the unqualified user editing operation is rejected, coordinating related users to solve editing conflicts, releasing reasonable editing operation, ignoring unreasonable editing operation, notifying the user to perform operation rollback locally, and entering step S4 after the quality inspection task is completed.
4. The multi-user real-time synchronous collaborative map editing method considering geographic features according to claim 3, wherein in the step S3, a concurrency control mechanism of the server side is implemented based on automatic or manual dynamic lock addition of a system, and is mainly embodied in editing operations, where addition, deletion, and modification cause potential concurrency conflicts, and the method includes:
1. multiple users simultaneously edit the same element, and the element is merged, deleted and node edited, if the edited result can be merged or is not related to the execution sequence of the editing step, the operation is not conflicted, otherwise, the operation is conflicted;
2. editing operation must be executed in an exclusive environment, and editing operation for controlling element classes, which needs participation of the whole layer, is required for editing and cutting topological relation and adjusting attribute structure;
3. the conflict between the user and the message command of 'forcibly refreshing the user view' sent by the server in the editing operation process may cause the interruption of the user operation and even the error;
4. editing operation with constraint conditions, wherein the constraint conditions mainly aim at ensuring the correctness of the position relationship, the reasonability of the topological relationship and the correlation of the logical relationship when editing elements related to the geographic space, and water systems, contour lines, main canals and water gates are not edited, so that inquiry and roaming generally do not cause conflict, and only relate to the spatial data overload and the updating of the user position distribution sketch caused by the refreshing of a client view.
5. The multi-user real-time synchronous collaborative map editing method considering geographic features according to claim 4, wherein the lock types are divided into element locks, area locks, layer locks and associated locks according to the concurrency granularity of lock control and the difference of locking opportunities;
the regional lock is used for ensuring that a system is automatically locked when a user carries out normal editing operation in each task region, and a warning is given when the user is out of range;
when a user needs to cross a task area boundary to enter a task area of another person or the user is in a task area of the user but an element to be edited crosses two task areas, in order to avoid the conflict between the area locks and the automatic invalidation of the area locks, the element lock is started immediately, an object lock can be automatically used for an element system being edited, the pointer of the object lock is a pattern with a lock shape when the other person cannot select the object lock and the mouse slides over the object lock, the other person can inquire who locks the object lock in real time, and the element lock can be automatically released when the user does not perform any operation within a period of time after obtaining the permission of the element lock;
the layer lock is only used when the whole layer participates in the editing operation;
the association lock is used for manually locking related elements of which the edges of the task areas need to be connected by a single user or manually locking the elements associated with the geographic space in the same range by multiple users, so that the resource overhead caused by locking can be reduced, and the fluency and the consistency of the will of the operation experience of the users are guaranteed.
CN202010931376.XA 2020-08-06 2020-09-07 Multi-user real-time synchronous collaborative map editing method and system considering geographic features Expired - Fee Related CN112070861B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010785154 2020-08-06
CN2020107851541 2020-08-06

Publications (2)

Publication Number Publication Date
CN112070861A CN112070861A (en) 2020-12-11
CN112070861B true CN112070861B (en) 2023-02-24

Family

ID=73664086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010931376.XA Expired - Fee Related CN112070861B (en) 2020-08-06 2020-09-07 Multi-user real-time synchronous collaborative map editing method and system considering geographic features

Country Status (1)

Country Link
CN (1) CN112070861B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596923A (en) * 2020-12-22 2021-04-02 北京山海经纬信息技术有限公司 Map editing method, device and system
CN113239049B (en) * 2021-06-15 2023-11-24 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN113742800A (en) * 2021-08-23 2021-12-03 上海互盾信息科技有限公司 Online editing and alternating-current DWG drawing system
CN114648302B (en) * 2022-03-21 2022-09-23 北京华如科技股份有限公司 Data processing method and device for collaborative scenario editing
CN114757649A (en) * 2022-04-26 2022-07-15 城乡院(广州)有限公司 Collaborative quality control method, device and equipment for right-of-way investigation
CN115170097B (en) * 2022-09-08 2022-11-29 吉奥时空信息技术股份有限公司 Spatial data distributed quality inspection method and system
CN117354075B (en) * 2023-12-05 2024-03-15 广州炫视智能科技有限公司 Multi-user interaction method and interaction system
CN117649101B (en) * 2024-01-30 2024-05-14 航天宏图信息技术股份有限公司 Automatic and collaborative combined satellite image production method, device and equipment
CN118586349B (en) * 2024-08-05 2024-10-29 电子科技大学成都学院 Integrated circuit design diagram management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075434A (en) * 2011-01-28 2011-05-25 华中科技大学 Communication method in virtual cluster
CN110572360A (en) * 2019-08-02 2019-12-13 武大吉奥信息技术有限公司 method for collaborative editing of GIS spatial data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049345A1 (en) * 2001-06-18 2004-03-11 Mcdonough James G Distributed, collaborative workflow management software
US20060165040A1 (en) * 2004-11-30 2006-07-27 Rathod Yogesh C System, method, computer program products, standards, SOA infrastructure, search algorithm and a business method thereof for AI enabled information communication and computation (ICC) framework (NetAlter) operated by NetAlter Operating System (NOS) in terms of NetAlter Service Browser (NSB) to device alternative to internet and enterprise & social communication framework engrossing universally distributed grid supercomputing and peer to peer framework
CN100568184C (en) * 2007-12-27 2009-12-09 电子科技大学 The locking method of data collision module in the collaborative editing
US20170053244A1 (en) * 2015-08-22 2017-02-23 Salim B. KHALIL Automated, integrated and complete computer program/project management solutions standardizes and optimizes management processes and procedures utilizing customizable and flexible systems and methods
CN107911294B (en) * 2017-11-22 2020-09-29 武汉兆格信息技术有限公司 Cooperative plotting message routing forwarding and processing method based on earth surface block

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075434A (en) * 2011-01-28 2011-05-25 华中科技大学 Communication method in virtual cluster
CN110572360A (en) * 2019-08-02 2019-12-13 武大吉奥信息技术有限公司 method for collaborative editing of GIS spatial data

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Guide to Map Application Components to Support Multi-User Real-Time Collaboration;Mauro C等;《2006 International Conference on Collaborative Computing: Networking》;20070521;1-5 *
基于任务划分和多版本技术的GIS空间数据协同处理研究;李伟等;《浙江大学学报(理学版)》;20050825(第04期);475-480 *
基于锁定机制的电网GIS多用户协同编辑研究;胡秋翔等;《计算机系统应用》;20180415;第27卷(第04期);237-242 *
空间数据协同编辑平台协同机制的研究;郭朝珍等;《计算机集成制造系统》;20060525(第05期);777-781 *

Also Published As

Publication number Publication date
CN112070861A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN112070861B (en) Multi-user real-time synchronous collaborative map editing method and system considering geographic features
CN109144994B (en) Index updating method, system and related device
CN103400246B (en) A kind of nuclear power plant's risk monitoring system based on cloud framework and monitoring method
CN112396404A (en) Data center system
US20090012932A1 (en) Method and System For Data Storage And Management
CN107787490A (en) Function is directly connected in distributed data base grid
US11528194B2 (en) Enterprise control plane for data streaming service
CN103533023B (en) Cloud service application cluster based on cloud service feature synchronizes system and synchronous method
CN110572360A (en) method for collaborative editing of GIS spatial data
CN111930768A (en) Incremental data acquisition method, incremental data transmission method, incremental data acquisition device, incremental data transmission device and computer storage medium
CN111639114A (en) Distributed data fusion management system based on Internet of things platform
CN103607418B (en) Large-scale data segmenting system based on cloud service data characteristics and dividing method
CN112801607A (en) Management service platform and construction method
CA2598021A1 (en) Method and mechanism of handling reporting transactions in database systems
CN102207978A (en) Database access method and system
CN108848132A (en) A kind of distribution scheduling station system based on cloud
CN108268614A (en) A kind of distribution management method of forest reserves spatial data
CN112383878B (en) Collaborative computing method and electronic device
CN108228725A (en) GIS application systems based on distributed data base
CN113535846A (en) Big data platform and construction method thereof
CN111274004A (en) Process instance management method and device and computer storage medium
CN115878378B (en) Cloud-protogenesis-based two-place three-center database disaster recovery system deployment method and device
CN111178911A (en) Customer service work order processing method and system based on double-activity technology
CN110826993A (en) Project management processing method, device, storage medium and processor
Paul Pro SQL server 2005 replication

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230224