CN112596923A - Map editing method, device and system - Google Patents

Map editing method, device and system Download PDF

Info

Publication number
CN112596923A
CN112596923A CN202011528122.XA CN202011528122A CN112596923A CN 112596923 A CN112596923 A CN 112596923A CN 202011528122 A CN202011528122 A CN 202011528122A CN 112596923 A CN112596923 A CN 112596923A
Authority
CN
China
Prior art keywords
information
packet
initial
event
information packet
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
CN202011528122.XA
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.)
Beijing Shanhai Jingwei Information Technology Co ltd
Original Assignee
Beijing Shanhai Jingwei Information Technology Co ltd
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 Beijing Shanhai Jingwei Information Technology Co ltd filed Critical Beijing Shanhai Jingwei Information Technology Co ltd
Priority to CN202011528122.XA priority Critical patent/CN112596923A/en
Publication of CN112596923A publication Critical patent/CN112596923A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Abstract

The invention provides a map editing method, a map editing device and a map editing system, wherein the method comprises the following steps: receiving an initial information packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end; filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end; and acquiring the operation information of the associated information packet and executing the operation content corresponding to the operation information. Based on the method, the corresponding operations of other information producers on the map editing task can be accurately received in real time to rapidly solve the conflict, and the problems that the detection and the solution of the conflict are delayed to the final stage to influence the working efficiency and the accuracy is low in the prior art are solved.

Description

Map editing method, device and system
Technical Field
The invention relates to the field of geographic information editing, in particular to a map editing method, a map editing device and a map editing system.
Background
In the field of Geographic Information, a raw Geographic Information System (GIS) database needs to be collected and updated continuously to ensure the integrity of the content and space of the GIS database. The data in the GIS database comes from the national mapping department, and a considerable part of the data needs to be manually collected and edited, and the collection and editing relate to the collection of spatial information of the ground features (such as the spatial position of a base map-based calibration point object, the position of a recording line object and the like) and the recording of attribute information of the ground features (such as the name, address, telephone, contact information and the like of a recording unit when the recording unit is used); when the number of the ground features is large or the space range of the collection and editing is large, a plurality of map data collection and editing personnel (operators) are often required to participate in the method and are jointly completed through the work division and cooperation. When a plurality of operators collect and edit spatial data together, what work division cooperation mode is adopted often has great influence on the working efficiency.
One of the common solutions is a layer division type, as shown in fig. 1, since spatial data is generally distributed and organized according to layers, and each layer generally stores a certain type of ground object, such as a "unit" layer, a "hospital" layer, a "school" layer, and the like in fig. 1, the simplest solution is that each operator is responsible for data acquisition and editing of one or more layers, which are not repeated, and after the editing work of each layer is completed, the layers are finally combined to form a map, which is the simplest multi-user map editing mode. However, there are two major problems with this implementation:
1. the task division according to the layers is not flexible enough, and is difficult to reasonably distribute according to the number of operators or flexibly adjust according to the actual completion condition. For example, if the number of features in one layer reaches hundreds of thousands, and the number of other layers is only thousands, the workload is difficult to be evenly distributed; or when other operators finish respective work and only one operator is left to edit the last layer, the other operators cannot assist the work.
2. The relative spatial positions of the ground objects in different layers to be edited may be meaningful for editing operation, if an operator a enters a administrative area and another operator B enters a school affiliated with the administrative area, and if the operator B cannot see the administrative area range entered by a, the school position entered by B may appear outside the administrative area range or generate a large error. And the tasks are respectively input according to the layer division, and the final synthetic mode obviously cannot solve the problem and must be discovered and processed by a later data checking mechanism.
In another technical scheme, the concept of source code management in the software development process is used for reference, and the editing of the spatial data is realized through Check out/Check in operations. The scheme is not limited by the layer structure, each operator firstly executes Check out operation on the spatial data to be edited (possibly one or more layers or a part of a feature inside one layer) before editing the data, acquires the part of the data from the spatial database to the client computer, and then can edit the data in an off-line state. After the operator finishes editing, Check in operation is performed, that is, the data is submitted to the spatial database. When Check in, detecting whether the data conflicts with data submitted by others (namely, inconsistency exists), if yes, resolving the conflict, and finally submitting the data after resolving the conflict to a server to obtain final result data.
This concept is illustrated in a typical example below with reference to fig. 2: suppose that two operators A and B edit data of a 'hospital' layer, and execute Check out operation respectively to acquire the existing data of the layer from a spatial database to respective client computers. After the local editing is completed, assuming that the operator A submits the editing result first, the 'hospital' map layer in the spatial-temporal database is not modified by other people, so the direct submission is successful, and no conflict exists. And when the operator B submits the editing result later, the system detects that the operator A modifies and submits the image layer, the system starts to detect the condition of data conflict, if the attribute information input by the operator A to the ' people ' hospital ' is inconsistent with the attribute information input by the operator B, the prompt information of the data attribute conflict is given, the operator B submitted later determines a correct attribute value (namely, the conflict is solved), and the submitted final spatial database is stored, and the operator A does not receive the conflict prompt because the editing result is submitted.
Compare the scheme of dividing according to the layer, this scheme flexibility ratio has obtained obvious promotion when carrying out many people and edit the map task, and many people can edit the map at any time, detects and solve the conflict problem when submitting, still has two main shortcomings:
1. no matter how the editing tasks of a plurality of operators are divided, when different operators operate the same feature and conflict occurs, the scheme actually delays the detection and the resolution of the conflict to the stage of finally submitting data, the time and the sequence of the finally submitted data cannot be determined, the probability that a person who submits the data later is higher in data conflict is higher, and an operator who submits the data earlier does not receive a conflict prompt, so that the operator who finally resolves the conflict may face the problems of difficult communication with the previous operator (who may have completed the editing operation several days ago), low efficiency caused by the processes of repeated confirmation of the conflict and the like.
2. Since the data collision detection is only found when the data is finally submitted, when each operator edits the respective map data, the operator cannot immediately find errors in the position and attribute information of the data, which may cause the operator to collect more error data based on the error data. Namely, the accuracy of the acquisition result is reduced due to the poor interaction real-time performance of the acquisition work of different operators.
It can be seen that the main reason for the above problems is that because the interactivity is poor in the multi-user map editing process, each operator cannot immediately obtain the editing information of the map by other operators, the repeated data collection and conflict conditions cannot be immediately corrected, and these tasks have to be postponed to the final data submission stage, which eventually results in the reduction of the overall work efficiency.
Disclosure of Invention
In view of the above problems of poor interactivity and low efficiency and accuracy of multi-person map editing, the present invention is proposed to provide a map editing method, apparatus and system thereof that overcome the above problems or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a map editing method applied to an information receiving end, including:
receiving an initial information packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end;
filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
and acquiring the operation information of the associated information packet and executing the operation content corresponding to the operation information.
Preferably, the filtering the initial information packet based on the attribute information of the initial information packet specifically includes:
acquiring an identity carried in the attribute information; the identity mark represents the identity information of an information receiving end;
judging whether the identity mark is the same as the user mark of the information receiving end;
and if the initial information packet is the same as the related information packet, confirming that the initial information packet is the related information packet.
Preferably, the filtering the initial information packet based on the attribute information of the initial information packet specifically includes:
judging whether the relevance between the first event and the second event corresponding to the attribute information meets a first preset condition or not; the first preset condition includes: associated surface feature objects and/or associated editing regions;
and when the relevance between the first event and the second event meets the first preset condition, determining the initial information packet as the relevance information packet.
Preferably, when the first preset condition is an associated surface feature object, the method specifically includes:
acquiring a first ground object identifier corresponding to the first event;
judging whether the first landmark identification is the same as a second landmark identification corresponding to the second event or not;
if so, the relevance of the first event and the second event meets the first preset condition.
Preferably, when the first preset condition is an associated editing area, the method specifically includes:
determining a first area according to the first event;
determining a second area according to the second event;
judging whether one or more intersection points exist between the first area and the second area;
if so, the relevance of the first event and the second event meets the first preset condition.
Based on another aspect of the present invention, there is provided a map editing method applied to an information sending end, including:
generating an initial information packet, wherein the initial information packet comprises: attribute information and operation information of a first event of a current operation;
pushing the initial information packet to the message queue to be provided to an information receiving end, wherein the information receiving end is used for filtering the initial information packet based on the attribute information so as to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
Preferably, the method further comprises:
judging whether the information sending end operates a first event within a time threshold value;
if not, generating an end information packet and pushing the end information packet to the message queue to be provided for an information receiving end, wherein the end information packet represents the exit operation of the information sending end.
Based on another method of the present invention, there is provided a map editing apparatus, applied to an information receiving end, including:
a first receiving unit, configured to receive an initial packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end;
the first filtering unit is used for filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
and the first execution unit is used for acquiring the operation information of the associated information packet and executing the operation content corresponding to the operation information.
Based on another aspect of the present invention, there is provided a map editing apparatus, applied to an information sending end, including:
a first generating unit configured to generate an initial packet, the initial packet including: attribute information and operation information of a first event of a current operation;
a first sending unit, configured to push the initial packet to the message queue to be provided to an information receiving end, where the information receiving end filters the initial packet based on the attribute information to determine an associated packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
According to another aspect of the invention, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any one of the above.
Based on the method, the corresponding operations of other information producers on the map editing task can be accurately received in real time to rapidly solve the conflict, and the problems that the detection and the solution of the conflict are delayed to the final stage to influence the working efficiency and the accuracy is low in the prior art are solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating a layer division map editing method in the prior art;
FIG. 2 is a diagram illustrating a method for editing a check-in map according to the prior art;
FIG. 3 is a schematic diagram of an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a map editing method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a map editing method according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a map editing method according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a map editing method according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a map editing apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a map editing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment 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.
Summary of the application
Referring to fig. 3, a schematic diagram of an implementation environment according to various embodiments of the present invention is shown. The implementation environment includes: the system comprises an information receiving end, an information queue and an information sending end.
The information receiving end and the information sending end can be terminals of a mobile phone, a tablet computer, a laptop portable computer, a desktop computer and the like, and can also be clients of the mobile phone, the tablet computer, the laptop portable computer, the desktop computer and the like, and are used for receiving and sending data to realize information transmission. In all embodiments of the present invention, when a terminal or client acts as an information producer, it becomes an information sender; when the terminal or the client acts as an information receiver, it becomes an information receiving end, so in the embodiment of the present invention, all information sending ends may also become information receiving ends. Message Queue (MQ) is a Message communication mechanism commonly used in computer software development, and is a Queue capable of storing packets. The consumer is an operator at the information receiving end and the producer is an operator at the information sending end.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
An embodiment of the present invention provides a map editing method, which is applied to an information receiving end, and as shown in fig. 4, the method includes:
step 100, receiving an initial information packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end; specifically, the information receiving end actively or passively receives an initial information packet from the message queue. If the information receiving end is always in an online state, when the information sending end sends the initial information packet to the information queue, the information queue can directly send the initial information packet to the information receiving end according to the sequence pushed to the information queue. If the information receiving end is always in an off-line state or the information receiving end does not exist when the initial information packet is pushed, the information queue stores part of the initial information packet according to the setting, and the initial information packet stored before is immediately received from the information queue after the information receiving end logs in or registers. Therefore, as long as the information receiving end is on line, the initial information packet can be received and processed in time, and low efficiency caused by untimely information processing is avoided.
In a specific embodiment, the attribute information records an attribute of the first event, including but not limited to: the identity of the information sending end, the identity of the information receiving end, the nature, the category, the region to which the first event belongs, the priority and the like. Wherein the properties of the first event further include: editing events, notifying events or instant messaging events, etc. Based on the nature of the notification event, the category of the first event may in turn include: start editing, end editing, stop editing, etc.; based on the nature of the editing event, the category of the first event may include: adding, deleting or modifying ground features, and the like, the region may include: the priority may include an administrative region, a region divided according to land use functions, a natural region such as a mountain river, and the like: high response level, medium response level, low response level, etc. According to the different attributes of the first event, the initial information packet containing the attribute information can be rapidly screened and filtered to reserve useful information packets, and excessive irrelevant information interference is avoided.
Wherein, the operation information comprises the specific operation content of the first event. For example, for a first event with the property of an instant messaging event, the operation information comprises text information, voice information and/or video information and the like to be exchanged; for the first event with the property of editing event, the operation information may include a Global Unique Identifier (GUID) of the feature to be added, spatial coordinate information of the feature, a panoramic picture of the feature, an address of the feature, a unit name, a phone, surrounding information, and the like. Based on the detailed classification of the information, the information receiver can quickly judge the relevance of the information and quickly react to the corresponding operation content in the subsequent execution operation information.
In another preferred embodiment of the present invention, two message queues may be included, that is, one message queue for sending an edit event and a notification event and the other message queue for sending an instant messaging event, so as to relieve the information transmission pressure of one message queue and better perform differentiated transmission of different information to improve efficiency.
In a preferred embodiment, the method includes a plurality of information receiving terminals and/or a plurality of information sending terminals, each information sending terminal pushes an initial information packet onto a message queue, and the message queue sequentially sends the initial information packet to each information receiving terminal interconnected with the message queue according to a first-in first-out principle in sequence or sequentially sends the initial information packet to each information receiving terminal according to a preset priority sequence, so that congestion caused by that excessive information is stopped in the message queue and pushed is avoided, and the processing efficiency is finally influenced.
200, filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end; in general, a first event of an operation of an information transmitting end and a second event of an operation of an information receiving end are both operations generated based on map editing, and therefore have an association relationship with each other. However, in another case, when one or both of the information receiving side and the information transmitting side operates only based on a part of the tasks for map editing and there is no relation between them, if the information receiving side operates each received initial packet, the processing efficiency of the information receiving side is reduced or an error is generated to affect the ongoing operation. The method described in step 200 is therefore required to filter the initial packets and leave only the associated packets associated therewith.
Step 300, obtaining the operation information of the associated information packet and executing the operation content corresponding to the operation information. After the filtering step, the information receiving end directly operates the associated information packet when the information receiving end confirms that the initial information packet is the associated information packet. Specifically, the operation content corresponding to the operation information in the associated information packet is embodied on the terminal or the client, wherein the operation content can be embodied in a text, voice or video manner, or directly replaced by a corresponding feature.
Specifically, taking the property of the first event included in the associated packet as an example of the notification event, that is, the operation information of the associated packet is any one of the start editing/end editing/termination editing of the information sending end a, after the information receiving end obtains the associated packet, the information receiving end analyzes the operation information and updates the operator list, that is, the operator at the information sending end a starts editing/end editing/termination editing.
Further, the property of the related packet is taken as an example of an editing event, that is, the operation information of the related packet is what map editing operation was performed by the information sending end a. For example, if the feature or the feature information is newly added, the feature is added to a map in a terminal or a client, the feature is marked as 'newly added', and then the identity information and the operation time of an information sending end corresponding to the feature are recorded; if the feature or the feature information is modified, modifying the feature on the corresponding map, and then recording the identity information and the operation time of the information sending end A corresponding to the feature; if the ground object or the ground object information is deleted, the ground object can be directly deleted, and the identity information and the operation time of the information sending end A are recorded so as to realize the effect of synchronous operation, and low efficiency caused by unrelated operation is avoided.
Based on the map editing method described in the above specific embodiment, the corresponding operations performed on the map editing task by other information producers can be received in real time and accurately to solve the conflict quickly, and the problems that the detection and the solution of the conflict are delayed to the final stage in the prior art, so that the working efficiency is affected and the accuracy is low are solved.
In a preferred embodiment, after obtaining the operation information of the association information packet, the method further includes:
judging whether a leading event exists before a first event corresponding to the associated information packet is generated;
and if so, recording the operation state of the preposed event.
Taking a specific embodiment as an example, when it is determined that the currently received initial packet is the related packet, and the related packet is analyzed to obtain that the first event is the contact call of the modified feature B, it is first determined whether there is a previous event that has not been executed before the first event, that is, "add feature B".
If the "adding feature B" of the leading event is not executed, the state of the feature B on the information receiver should be newly added, so the operation state of the "adding feature B" of the leading event needs to be recorded, and the contact phone of the feature B is modified according to the operation information of the first event, that is, the modified contact phone of the feature B is still executed at the corresponding position on the map, but the operation state of the "adding feature B" corresponding to the leading event is recorded at the same time.
In the map editing method according to the specific embodiment of the present invention, preferably, the method for filtering the initial information packet based on the attribute information of the initial information packet, as shown in fig. 5, specifically includes:
step 210, obtaining an identity carried in the attribute information; the identity mark represents the identity information of an information receiving end; that is, the initial packet is generated and already determined to which information receiver, in other words, the initial packet at this time is sent directionally.
Step 220, judging whether the identity mark is the same as the user mark of the information receiving end;
step 230, if the two packets are the same, the initial packet is determined to be a related packet.
Still taking the instant messaging event as an example, if the sender a wants to send the message to the receiver B directionally, the attribute information in the initial packet pushed to the message queue needs to include the ID1 of the receiver B. In step 201, after the information receiving end B obtains the ID1 carried in the attribute information, the information receiving end B determines whether the initial information packet has an association relationship with the initial information packet based on the ID1 in step 220, that is, determines whether the ID1 is the same as the user ID2 carried by itself, where the user ID2 is the only identifier indicating the identity of the information receiving end B. In step 230, if the ID1 is the same as the user ID2, it is determined that the initial information package is an associated information package. Assuming that the information receiving end C determines that the user ID3 carried by the information receiving end C is different from the user ID based on the ID after acquiring the ID, it may be determined that the initial information packet does not have an association relationship with the information receiving end C, that is, the initial information packet is not sent to the information receiving end C, and the information receiving end C discards the information or ignores the initial information packet. Therefore, the information receiving end needs to filter the initial information packet before executing the received related operation information, so as to retain the related information packet associated with the information receiving end.
In another specific embodiment of the present invention, in the map editing method, preferably, the method for filtering the initial information packet based on the attribute information of the initial information packet, as shown in fig. 6, specifically includes:
step 240, determining whether the relevance between the first event and the second event corresponding to the attribute information meets a first preset condition; the first preset condition includes: associated surface feature objects and/or associated editing regions; specifically, in step 240, it is determined whether the first event operated by the information receiving end is related to the second event operated by the information sending end, for example, whether the first event is in the same area or whether the same feature is edited.
Step 250, when the relevance between the first event and the second event meets the first preset condition, determining that the initial information packet is the relevant information packet.
Specifically, in the above embodiment, based on different first preset conditions, the relevance between the first event and the second event can be flexibly determined, and the relevant information packet to be received is extracted and retained according to the determination result, so that the influence of receiving irrelevant information to the processing efficiency is avoided.
In the map editing method according to the embodiment of the present invention, preferably, when the first preset condition is an associated surface feature object, the method specifically includes:
acquiring a first ground object identifier corresponding to the first event; and the first ground object identifier represents the unique identifier of the ground object. The ground object may include: hospitals, schools, parks, etc.
Judging whether the first landmark identification is the same as a second landmark identification corresponding to the second event or not; in this step, it is determined whether the feature in the first event currently operated by the information sending end and the feature in the second event currently operated by the information receiving end are the same feature. The second event may be a feature object currently being operated by the information receiving end, or a feature that has not been operated yet, or a feature that has been operated already. I.e. a feature that is present in the operational task of the information receiving end.
If so, the relevance of the first event and the second event meets the first preset condition. Specifically, when the first event described in the initial packet sent by the information sending end is the same as or partially the same as the operation task of the information receiving end, it may be considered that the association satisfies the first preset condition and perform subsequent operations.
In the map editing method according to the embodiment of the present invention, when the first preset condition is an associated editing area, the method specifically includes:
determining a first area according to the first event;
determining a second area according to the second event;
judging whether one or more intersection points exist between the first area and the second area;
if so, the relevance of the first event and the second event meets the first preset condition.
In a specific embodiment, in the process of determining the first area, the first area may be determined according to an administrative area where the first event is located. For example, when a first event belongs to administrative region D, then the first region is administrative region D; when the first event is that a surface feature object F is added to the administrative area D, the first area is also the administrative area D where the surface feature object F is located. Alternatively, the first area is determined based on the range to which the first event relates. For example, when the first event is to increase the feature object F, the edge of the feature object is edge-extended to obtain a circular extended area with T as a radius and the feature object as a center, so that the distance from any point of the circumference of the extended area to the feature object is T, that is, the radius of the extended area is T, and the extended area is taken as the first area. The expansion area may also be a square, a polygon or other figures, and the expansion manner may also be various, and is not limited to this embodiment. The second region is determined from the second event in the same or similar manner.
Then, whether one or more intersection points exist between the first area and the second area is judged, that is, at least one intersection point should exist, so as to indicate that the first event and the second event have relevance, that is, the first preset condition is met, and thus whether the received initial packet is a relevant packet can be accurately confirmed.
An embodiment of the present invention further provides a map editing method, which is applied to an information sending end, and as shown in fig. 7, the method includes:
step 400, generating an initial information packet, wherein the initial information packet comprises: attribute information and operation information of a first event of a current operation; specifically, the information sending end is the end for operating the first event; the first event can be classified into: editing events, notification events or instant messaging events. The data format of the initial packet may be as shown in table one:
table-initial packet format
Figure BDA0002851256080000121
Specifically, when an operator starts to edit on a map, an information sending end acquires the information of the operator, namely the identity of the information sending end, generates an initial information packet of 'start editing', and then pushes the initial information packet to an operator of a to-be-edited information receiving end in an information queue to acquire the information. When the operator starts to edit at the end of the map or leaves in the middle of the map, the information sending end acquires the information of the operator, generates an initial information packet of 'end or stop editing' and pushes the initial information packet to the message queue. Therefore, the operation state of each operator can be fed back in time through the initial information packet of the notification event so that other operators can master information at any time. When an operator adds a feature to the map (usually by mouse click, continuous click, touch operation, etc.), the information sending end generates a unique GUID identifier for the added feature, and then sends an initial information packet with a first event of "adding the feature" to the message queue. When an operator changes the spatial position of a ground feature on a map or modifies the attribute field value of the ground feature, the information sending terminal firstly obtains the GUID of the edited ground feature and then generates and sends an initial information packet with the type of 'modifying the ground feature'; when the ground features on the map are deleted, the information sending end acquires the GUID of the deleted ground features, and then generates and sends an initial information packet of which the first event is 'delete ground features'.
Step 500, pushing the initial information packet to the message queue to be provided to an information receiving end, where the information receiving end filters the initial information packet based on the attribute information to determine an associated information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
In a preferred embodiment, the method further comprises: and displaying and storing the associated information packet and the operation time, so that when an operator at the information receiving end inquires a certain feature, the operator who edits the feature and the editing operation time can be accurately obtained through the stored information, and then the information is displayed to the operator at the information receiving end.
According to the map editing method of the embodiment of the present invention, preferably, the method further includes:
judging whether the information sending end operates a first event within a time threshold value; specifically, the time threshold may be set according to actual conditions, for example, 1 hour or 4 hours, that is, when any associated information packet sent by the information sending end is received in this step, it represents that the information sending end is performing map editing operation; from this point on, if no operation is performed on the first event within the time threshold, it is assumed that the operator at the information sending end has already quitted the editing operation, so in this step, it is necessary to first determine whether the operation on the first event has been performed within a reasonable time threshold.
If not, generating an end information packet and pushing the end information packet to the message queue to be provided for the information receiving end, wherein the end information packet represents that the information sending end quits the operation, so as to prevent the information sending end from not providing the information for ending the editing task in time and leading an operator of the information receiving end to not receive the information for ending the editing all the time.
An embodiment of the present invention further provides a map editing apparatus, which is applied to an information receiving end, and as shown in fig. 8, the apparatus includes:
a first receiving unit 801, configured to receive an initial packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end;
a first filtering unit 802, configured to filter the initial information packet based on the attribute information of the initial information packet to determine an associated information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
a first executing unit 803, configured to acquire the operation information of the associated packet and execute the operation content corresponding to the operation information.
In a preferred embodiment, the apparatus further comprises:
a first obtaining unit, configured to obtain an identity carried in the attribute information; the identity mark represents the identity information of an information receiving end;
the first judging unit is used for judging whether the identity mark is the same as the user mark of the information receiving end;
and the first confirmation unit is used for confirming that the initial information packet is the related information packet if the initial information packet is the same as the related information packet.
Preferably, the apparatus further comprises:
a second judging unit, configured to judge whether a correlation between the first event and the second event corresponding to the attribute information satisfies a first preset condition; the first preset condition includes: associated surface feature objects and/or associated editing regions;
and the second confirming unit is used for determining the initial information packet as the related information packet when the relevance between the first event and the second event meets the first preset condition.
The device according to the embodiment of the present invention specifically further includes:
the second acquisition unit is used for acquiring a first ground object identifier corresponding to the first event;
a third judging unit, configured to judge whether the first landmark identifier is the same as a second landmark identifier corresponding to the second event;
and if so, the relevance between the first event and the second event meets the first preset condition.
Preferably, the apparatus further comprises:
a first area dividing unit, configured to determine a first area according to the first event;
the second area dividing unit is used for determining a second area according to the second event;
a fourth judging unit, configured to judge whether one or more intersections exist between the first region and the second region;
and if so, the relevance between the first event and the second event meets the first preset condition.
An embodiment of the present invention further provides a map editing apparatus, which is applied to an information sending end, and as shown in fig. 9, the apparatus includes:
a first generating unit 901, configured to generate an initial information packet, where the initial information packet includes: attribute information and operation information of a first event of a current operation;
a first sending unit 902, configured to push the initial packet to the message queue to be provided to an information receiving end, where the information receiving end filters the initial packet based on the attribute information to determine an associated packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
In a preferred embodiment, the apparatus further comprises:
a fifth judging unit, configured to judge whether the information sending end operates the first event within a time threshold;
and the second generating unit is used for generating an ending information packet and pushing the ending information packet to the message queue to be provided for the information receiving end if the information is not the information, wherein the ending information packet represents the exit operation of the information sending end.
It should be noted that the execution sequence of the operation method is only one way, and the protection scope of the present invention is not limited thereto, i.e. it is not completely dependent on the operation sequence disclosed in the embodiment, and all reasonable schemes extended based on the embodiment by those skilled in the art within the inventive concept disclosed in the embodiment of the present invention should be within the protection scope of the present invention.
In an embodiment herein, as shown in fig. 10, there is also provided a computer device, the computer device 1002 may include one or more processors 1004, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 1002 may also include any memory 1006 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, the memory 1006 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information, and the memory 1006 stores a computer program that is executable on the processor 1004, and the processor 1004 when executing the computer program implements the map editing method according to any of the embodiments described above. Further, any memory may represent fixed or removable components of computer device 1002. In one case, when the processor 1004 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 1002 can perform any of the operations of the associated instructions. The computer device 1002 also includes one or more drive mechanisms 1008, such as a hard disk drive mechanism, an optical disk drive mechanism, or the like, for interacting with any memory.
Computer device 1002 may also include an input/output module 1010(I/O) for receiving various inputs (via input device 1012) and for providing various outputs (via output device 1014)). One particular output mechanism may include a presentation device 1016 and an associated Graphical User Interface (GUI) 1018. In other embodiments, input/output module 1010(I/O), input device 1012, and output device 1014 may also be excluded, as only one computer device in a network. Computer device 1002 can also include one or more network interfaces 1020 for exchanging data with other devices via one or more communication links 1022. One or more communication buses 1024 couple the above-described components together.
Communication link 1022 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. Communications link 1022 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
Embodiments herein also provide a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to execute a map editing method according to any one of the above embodiments.
Embodiments herein also provide a computer readable instruction, wherein when the instruction is executed by a processor, the program causes the processor to execute the map editing method of any of the above examples.
In summary, the map editing apparatus and the map editing system according to the embodiments of the present invention have the following technical effects:
1. various map editing operations can be transmitted among all operators in real time, so that the requirement of multiple persons for editing the map in real time on line is met;
2. newly-added, modified and unmodified objects can be obviously distinguished on the map through different information, and an operator can timely know the editing progress of other operators on the map and provide reference for own editing work;
3. and the real-time message interaction capability is provided, and any two operators can communicate with each other so as to solve errors and conflicts existing in the data editing process in time.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should also be understood that, in the embodiment of the present invention, the term "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A map editing method is applied to an information receiving end and is characterized by comprising the following steps:
receiving an initial information packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end;
filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
and acquiring the operation information of the associated information packet and executing the operation content corresponding to the operation information.
2. The map editing method according to claim 1, wherein filtering the initial information packet based on the attribute information of the initial information packet specifically comprises:
acquiring an identity carried in the attribute information; the identity mark represents the identity information of an information receiving end;
judging whether the identity mark is the same as the user mark of the information receiving end;
and if the initial information packet is the same as the related information packet, confirming that the initial information packet is the related information packet.
3. The map editing method according to claim 1, wherein filtering the initial information packet based on the attribute information of the initial information packet specifically comprises:
judging whether the relevance between the first event and the second event corresponding to the attribute information meets a first preset condition or not; the first preset condition includes: associated surface feature objects and/or associated editing regions;
and when the relevance between the first event and the second event meets the first preset condition, determining the initial information packet as the relevance information packet.
4. The map editing method according to claim 3, wherein when the first preset condition is an associated surface feature object, the method specifically comprises:
acquiring a first ground object identifier corresponding to the first event;
judging whether the first landmark identification is the same as a second landmark identification corresponding to the second event or not;
if so, the relevance of the first event and the second event meets the first preset condition.
5. The map editing method according to claim 3, wherein when the first preset condition is an associated editing area, the method specifically comprises:
determining a first area according to the first event;
determining a second area according to the second event;
judging whether one or more intersection points exist between the first area and the second area;
if so, the relevance of the first event and the second event meets the first preset condition.
6. A map editing method is applied to an information sending end and is characterized by comprising the following steps:
generating an initial information packet, wherein the initial information packet comprises: attribute information and operation information of a first event of a current operation;
pushing the initial information packet to a message queue to be provided to an information receiving end, wherein the information receiving end is used for filtering the initial information packet based on the attribute information to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
7. A map editing method according to claim 6, the method further comprising:
judging whether the information sending end operates a first event within a time threshold value;
if not, generating an end information packet and pushing the end information packet to the message queue to be provided for an information receiving end, wherein the end information packet represents the exit operation of the information sending end.
8. A map editing device is applied to an information receiving end and is characterized by comprising:
a first receiving unit, configured to receive an initial packet in a message queue; the initial information packet is an information packet which is pushed to the information queue by an information sending end; the initial information packet includes: attribute information and operation information of a first event currently operated by the information sending end;
the first filtering unit is used for filtering the initial information packet based on the attribute information of the initial information packet to determine a related information packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
and the first execution unit is used for acquiring the operation information of the associated information packet and executing the operation content corresponding to the operation information.
9. A map editing device is applied to an information sending end and is characterized by comprising:
a first generating unit configured to generate an initial packet, the initial packet including: attribute information and operation information of a first event of a current operation;
a first sending unit, configured to push the initial packet to a message queue to be provided to an information receiving end, where the information receiving end filters the initial packet based on the attribute information to determine an associated packet; the related information packet is an initial information packet which has a related relation with a second event operated by the information receiving end;
the associated information packet is used for the information receiving end to execute the operation content corresponding to the operation information according to the operation information of the associated information packet.
10. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any of the preceding claims 1-7.
CN202011528122.XA 2020-12-22 2020-12-22 Map editing method, device and system Pending CN112596923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011528122.XA CN112596923A (en) 2020-12-22 2020-12-22 Map editing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011528122.XA CN112596923A (en) 2020-12-22 2020-12-22 Map editing method, device and system

Publications (1)

Publication Number Publication Date
CN112596923A true CN112596923A (en) 2021-04-02

Family

ID=75200094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011528122.XA Pending CN112596923A (en) 2020-12-22 2020-12-22 Map editing method, device and system

Country Status (1)

Country Link
CN (1) CN112596923A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110682A (en) * 2005-08-10 2007-04-26 Katsuya Honda Information acquisition apparatus and method, information collection apparatus and method, program, storage medium, and information collection system
CN103530300A (en) * 2012-07-06 2014-01-22 北京四维图新科技股份有限公司 Electronic map editing collision detection method and device
CN108595613A (en) * 2018-04-20 2018-09-28 广州林邦信息科技有限公司 GIS local maps edit methods and device
CN109189304A (en) * 2018-09-10 2019-01-11 宽凳(北京)科技有限公司 A kind of map edit method and device
CN110572360A (en) * 2019-08-02 2019-12-13 武大吉奥信息技术有限公司 method for collaborative editing of GIS spatial data
CN112070861A (en) * 2020-08-06 2020-12-11 新疆维吾尔自治区第二测绘院 Multi-user real-time synchronous collaborative map editing method and system considering geographic features

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110682A (en) * 2005-08-10 2007-04-26 Katsuya Honda Information acquisition apparatus and method, information collection apparatus and method, program, storage medium, and information collection system
CN103530300A (en) * 2012-07-06 2014-01-22 北京四维图新科技股份有限公司 Electronic map editing collision detection method and device
CN108595613A (en) * 2018-04-20 2018-09-28 广州林邦信息科技有限公司 GIS local maps edit methods and device
CN109189304A (en) * 2018-09-10 2019-01-11 宽凳(北京)科技有限公司 A kind of map edit method and device
CN110572360A (en) * 2019-08-02 2019-12-13 武大吉奥信息技术有限公司 method for collaborative editing of GIS spatial data
CN112070861A (en) * 2020-08-06 2020-12-11 新疆维吾尔自治区第二测绘院 Multi-user real-time synchronous collaborative map editing method and system considering geographic features

Similar Documents

Publication Publication Date Title
CN110378593B (en) Communication status for application of compliance policy updates
CN108874558B (en) Message subscription method of distributed transaction, electronic device and readable storage medium
US20080155104A1 (en) Method and system for resource-based synchronization between endpoints in a web-based real time collaboration
EP3537313A1 (en) Private views of data and local calculations during real time collaboration
US20090112937A1 (en) Spreadsheet collaboration between rich and browser clients
CN105900121B (en) Method for generating an activity stream
KR20210005043A (en) Input and output schema mapping
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN111143382B (en) Data processing method, system and computer readable storage medium
EA008675B1 (en) System and method for knowledge retrieval, management, delivery and presentation
JPH06208472A (en) Method for process control and system therefor
WO2021036062A1 (en) Task creation method, apparatus and device, and storage medium
CN110932918B (en) Log data acquisition method and device and storage medium
CN112597249A (en) Synchronous distribution and storage method and system for service data
CN111338893A (en) Process log processing method and device, computer equipment and storage medium
JP6185488B2 (en) Retrieving availability information from public calendars
TWI273791B (en) System having event mechanism for keeping a client notified of changes in the user interface, and method for notifying a client of interesting user interface events
CN106446300A (en) Transaction processing method and system based on shared storage pool
US20160342671A1 (en) Deferred synchronization for work unit-related data
CN111460038A (en) Quasi-real-time data synchronization method and device
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN112596923A (en) Map editing method, device and system
WO2018200167A1 (en) Managing asynchronous analytics operation based on communication exchange
US9356843B2 (en) Flow systems and methods
JP2014175699A (en) Packet replay device and packet replay method

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