A situation map collaborative plotting method and system
By setting host attributes and exclusive control mechanisms for situational drawing symbols, the problems of information confusion and failure in multi-user collaborative drawing are solved, and the success rate of multi-user collaborative operation is improved.
Patent Information
- Application Number
- CN202111396125.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2041-11-23
AI Technical Summary
The existing situational symbol drawing methods cannot meet the needs of multi-user collaborative drawing, especially in complex network environments. Due to broadband and speed, multi-user drawing can easily lead to confusion of collaborative information and failure of drawing.
Use exclusive control to set a host attribute for each plot symbol to record the users who can currently operate on it. When a non-host user needs to operate a plot symbol, he or she needs to apply to the host user. After successful, the plot symbol can be operated.
By forcibly manipulating the plot symbols in sequence, a large number of users are avoided to operate the same plot symbol at the same time, greatly improving the success rate of collaborative operations of multiple users.
Smart Images

Figure CN114077752B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of situation map drawing, and in particular to a situation map collaborative drawing method and system. Background Art
[0002] Situation maps are a common tool for command and deduction in large-scale action plans. They were originally used in the formulation of combat plans in the military field. Situation maps are a dynamic map that reflects the overall situation. Maps are used as base maps, and various symbols, icons, texts, and annotations are used to plot all information related to the action, such as action goals, action plans, action deployment, resource allocation, personnel formations, action execution processes, and corresponding engineering facilities, equipment, weather environment, topography, etc. on the map. Plotting the above situation information on the situation map requires the use of various situation mapping symbols, such as two-dimensional military symbols.
[0003] Multi-user plotting refers to collaborative plotting that allows multiple different users to initiate plotting operations. When multiple collaborative users operate the same military standard, it will cause collaborative information confusion and cause plotting failure. Especially in a complex network environment, due to bandwidth and speed reasons, the probability of such failure will increase.
[0004] At present, most of the research on situation symbol plotting methods focuses on the situation symbol plotting methods of a single user, without considering the actual needs of multiple users for information calling and interactive perception. Therefore, the existing situation symbol plotting methods cannot meet the needs of multi-user collaborative plotting. Summary of the invention
[0005] The object of the present invention is to provide a situation diagram collaborative plotting method and system to allow multiple users to collaboratively perform plotting operations of plotting symbols.
[0006] To achieve the above object, the present invention provides the following solutions:
[0007] A situation map collaborative plotting method, comprising:
[0008] Get the plotting symbol drawn by the user;
[0009] Recording the current operating user of the plotting symbol as the host user;
[0010] Setting that only the host user has the operation authority of the plotting symbol;
[0011] When a non-host user needs to operate the plotting symbol, a host change application is initiated to the host user;
[0012] If the host user agrees to the host change application, the current operating user of the plotting symbol is changed to the user who initiated the host change application, and the process returns to the step of recording the current operating user of the plotting symbol as the host user.
[0013] Optionally, the situation map collaborative plotting method further includes:
[0014] Set different roles and permissions for different users.
[0015] Optionally, the situation map collaborative plotting method further includes:
[0016] Recording the user who draws the plotting symbol as the initiator user;
[0017] The initiator user is set to have the maximum authority.
[0018] Optionally, after obtaining the plotting symbol drawn by the user, the method further includes:
[0019] The plotting symbol is pushed to multiple users of multiple clients.
[0020] A situation map collaborative plotting system, comprising:
[0021] A plotting symbol drawing module, used to obtain the plotting symbols drawn by the user;
[0022] A host user recording module, used for recording the current operating user of the plotting symbol as the host user;
[0023] An operation authority setting module, used to set that only the host user has the operation authority of the plotting symbol;
[0024] A host change application module, used for initiating a host change application to the host user when a non-host user needs to operate the plotting symbol;
[0025] The host change module is used to change the current operating user of the plotting symbol to the user who initiated the host change application if the host user agrees to the host change application, and return to the step of recording the current operating user of the plotting symbol as the host user.
[0026] Optionally, the situation map collaborative plotting system further includes:
[0027] The role and permission setting module is used to set different roles and permissions for different users.
[0028] Optionally, the situation map collaborative plotting system further includes:
[0029] An initiator recording module, used for recording the user who draws the plotting symbol as an initiator user;
[0030] The maximum authority setting module is used to set the initiator user to have the maximum authority.
[0031] Optionally, the situation map collaborative plotting system further includes:
[0032] The drawing symbol pushing module is used to push the drawing symbols drawn by the user to multiple users of multiple clients after acquiring the drawing symbols.
[0033] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0034] The present invention provides a situation map collaborative plotting method and system, the method comprising: obtaining a plotting symbol drawn by a user; recording the current operating user of the plotting symbol as a host user; setting that only the host user has the operating authority of the plotting symbol; when a non-host user needs to operate the plotting symbol, initiating a host change application to the host user; if the host user agrees to the host change application, changing the current operating user of the plotting symbol to the user who initiated the host change application, and returning to the step of recording that the current operating user of the plotting symbol is the host user. The present invention adopts an exclusive control method to solve the concurrent control problem in collaborative plotting, sets a host attribute for each plotting symbol, and records the user who can currently operate it; when a non-host user needs to operate a plotting symbol, an application needs to be made to the host user, and the plotting symbol can be operated after success; if the original host user agrees to change the host and notify other users in the space, the new host user is authorized to perform plotting and editing operations on the plotting symbol. The method of the present invention enables multiple users to operate the plotting symbols in a forced sequence, avoids message conflicts when a large number of users operate the same plotting symbol at the same time, and greatly improves the success rate of multi-user collaborative operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 A flowchart of a situation map collaborative plotting method provided by an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a double-arrow clamp symbol model provided in an embodiment of the present invention;
[0038] Figure 3 A structural diagram of a situation map collaborative plotting system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] The object of the present invention is to provide a situation diagram collaborative plotting method and system to allow multiple users to collaboratively perform plotting operations of plotting symbols.
[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0042] Figure 1 A flowchart of a situation diagram collaborative plotting method provided by an embodiment of the present invention. Figure 1 As shown, a situation diagram collaborative plotting method of the present invention includes:
[0043] Step 101: Obtain the plotting symbol drawn by the user.
[0044] According to the geometric characteristics of marking symbols, marking symbols are roughly divided into four categories: ① point marking, such as combat locations, etc.; ② line marking, indicating that combat information or action information extends along a certain direction, including travel routes, complex route marking, etc.; ③ surface marking, indicating entities with a certain range, including polygons, circles, arrow marking, etc., among which arrow marking has the characteristics of both line marking and surface marking; ④ text marking, mainly text information, used to assist emergency decision-making.
[0045] The user needs to use the situational mapping system to draw the mapping symbols. The situational mapping system can realize the modeling functions of static symbols and dynamic symbols. When realizing the static symbol modeling function, the whole drawing process is divided into two steps. The first step is to create a new mapping class object of the symbol according to the drawing symbol information selected by the user in the mapping tree. This mapping class object is responsible for calculating the graphic data mapped to the screen; the second step is to pass the mapping class object to the mapping algorithm to complete the graphic drawing operation.
[0046] The specific steps of static symbol modeling are as follows:
[0047] (1) Select a static plotting symbol from the plotting tree, read the structural information of the plotting symbol, store it in the plotting class object, and then start plotting;
[0048] (2) Convert the screen coordinates of the map clicked by the user into map coordinates, and calculate the center position of the graphic at the current mouse click position;
[0049] (3) Calculate the coordinates of other points of the static symbol based on the center position and the static symbol class object;
[0050] (4) Combine the point coordinates into a geojson array and draw it on the map.
[0051] The dynamic modeling of two-dimensional military symbols is an important part of the virtual battlefield, which is of great significance to improving the intuitiveness of the battlefield situation and enhancing the auxiliary decision-making ability. The present invention takes the most representative double-arrow clamp symbol modeling as an example to introduce the dynamic symbol modeling process.
[0052] Figure 2 A schematic diagram of a double-arrow clamp symbol model provided in an embodiment of the present invention. Figure 2 As shown in the figure, the double arrow clamp symbol is composed of 2 arrows, 2 arrow bodies and 1 arrow tail. According to the C0, C1, C2, C3 control points input from the outside, all other control points L0-L3, R0-R3, PVL[0]-PVL[3], PVR[0]-PVR[3], Control1, Control2 are calculated to determine the position and shape of the entire double arrow. The construction process of the double arrow clamp symbol model is as follows:
[0053] 1. Determine the plotting symbol type, NPincersSymbol clamp symbol class.
[0054] 2. First, use the two main control points C0 and C1 to find the middle value of the two coordinates, calculate the distance between the middle value and C2, and obtain the azimuth through the three points.
[0055] 3. According to the starting and ending points and the direction of rotation, determine whether it is clockwise or counterclockwise, and determine the direction of the clamp arrow.
[0056] 4. The interpolation function interpolates the arrow head point information.
[0057] 5. Fit a Bezier curve through C0 and L3, fit a Bezier curve through C1 and R3, connect the line segments to form an attack arrow.
[0058] After the arrow is drawn, the user can dynamically adjust the control point, and the attack arrow will change accordingly, and the shape of the attack arrow can be further adjusted.
[0059] When the user completes the drawing of the plotting symbol, the plotting message is pushed to the database PostgreSQL through the network message push mechanism to notify the user of the new plotting information. Multiple users of multiple clients can see the newly drawn plotting symbols at the same time.
[0060] Real-time situation mapping is an important link. The present invention adopts the WebSocket standard protocol for communication. After the user performs symbol modeling and mapping, the base map data of the WebGIS map area is not refreshed, and only the GIS data at the page change location is updated and transmitted, thereby reducing the amount of data transmission, reducing the network load, and improving the real-time synchronization and user experience quality.
[0061] In practical applications, after obtaining the plotting symbol drawn by the user, the method further includes:
[0062] The plotting symbol is pushed to multiple users of multiple clients.
[0063] Step 102: Record the current operating user of the plotting symbol as the host user.
[0064] Multi-user plotting means that collaborative plotting allows multiple users to initiate plotting operations. When multiple collaborative users operate the same plotting symbol (such as a military symbol), it will cause collaborative information confusion and cause plotting failure. Especially in a complex network environment, due to bandwidth and speed reasons, the probability of such failure will increase.
[0065] The present invention solves this concurrent control problem by means of exclusive control. A host attribute is set for each mapping symbol to record the users who can currently operate it. When a non-host user needs to operate a mapping symbol, he needs to apply to the host user, and after success, he can operate the mapping symbol. If the original host user agrees to change the host and notifies other users in the space, the new host user is authorized to perform mapping and editing operations on military symbols. The method of the present invention forces multiple users to operate mapping symbols in sequence, avoiding message conflicts when a large number of users operate the same mapping symbol at the same time, and greatly improving the success rate of multi-user collaborative operations.
[0066] Step 103: Set that only the host user has the operation authority of the plotting symbol.
[0067] In order to prevent the source data from being arbitrarily manipulated, different roles and permissions are set for each participating user. If multiple users operate on a plotting symbol at the same time, the above-mentioned exclusive control method is used to solve the problem.
[0068] Step 104: When the non-host user needs to operate the plotting symbol, a host change application is initiated to the host user.
[0069] When a non-host user needs to operate a drawing symbol, he / she needs to apply to the host user. If successful, he / she can operate the drawing symbol.
[0070] Step 105: If the host user agrees to the host change application, the current operating user of the plotting symbol is changed to the user who initiated the host change application, and the process returns to the step of recording the current operating user of the plotting symbol as the host user.
[0071] If the original host user agrees to change to the new host and notifies other users of the space, the new host user is authorized to perform editing operations on the marking symbols.
[0072] In practical applications, the situation map collaborative plotting method further includes:
[0073] Set different roles and permissions for different users.
[0074] In order to prevent the source data from being arbitrarily manipulated, different roles and permissions are set for each participating user. If multiple users operate on a plotted data at the same time, the above-mentioned exclusive control method is used to solve the problem.
[0075] In practical applications, the situation map collaborative plotting method further includes:
[0076] The user who draws the marking symbol is recorded as the initiator user; and the initiator user is set to have the maximum authority.
[0077] The system sets the highest authority for the initiator, who has the authority to manage the database table of the same group. After each synchronous plotting, the data can be checked, such as checking whether the position, size, shape, and text information of the plotting symbols are correct, etc., to clean up redundant plotting, prevent confusion among members, and release resources for the database. It truly achieves a collaborative plotting system of "plotting in one place, visible everywhere".
[0078] At present, the research on situation symbol plotting methods mostly focuses on the situation symbol plotting methods of single users, without considering the practical needs of multiple users for information calling and interactive perception. Therefore, the present invention studies the expression of situation plotting symbols, combines the collaborative message transmission mechanism, and proposes a collaborative plotting method for command situation diagrams. Based on this method, a situation diagram collaborative plotting system is also provided, which makes collaborative command and decision-making based on emergency scenarios in a Web environment possible.
[0079] Figure 3 A structural diagram of a situation map collaborative plotting system provided by an embodiment of the present invention, such as Figure 3 As shown, the system comprises:
[0080] A plotting symbol drawing module 301 is used to obtain a plotting symbol drawn by a user;
[0081] A host user recording module 302, used to record the current operating user of the plotting symbol as the host user;
[0082] An operation authority setting module 303 is used to set that only the host user has the operation authority of the plotting symbol;
[0083] A host change application module 304 is used to initiate a host change application to the host user when a non-host user needs to operate the plotting symbol;
[0084] The host change module 305 is used to change the current operating user of the plotting symbol to the user who initiated the host change application if the host user agrees to the host change application, and return to the step of recording the current operating user of the plotting symbol as the host user.
[0085] In practical applications, the situation map collaborative plotting system also includes:
[0086] The role and permission setting module is used to set different roles and permissions for different users.
[0087] In practical applications, the situation map collaborative plotting system also includes:
[0088] An initiator recording module, used for recording the user who draws the plotting symbol as an initiator user;
[0089] The maximum authority setting module is used to set the initiator user to have the maximum authority.
[0090] In practical applications, the situation map collaborative plotting system also includes:
[0091] The drawing symbol pushing module is used to push the drawing symbols drawn by the user to multiple users of multiple clients after acquiring the drawing symbols.
[0092] The present invention starts from the expression mode and constituent elements of situation symbols and combines the multi-user collaborative mechanism to realize the collaborative plotting method and system of situation diagrams. The method of the present invention is an important technical tool for collaborative command, which eliminates the time and space constraints of command decision makers to a certain extent and provides the possibility for collaborative office work of multi-user groups.
[0093] The advantages of the present invention are mainly reflected in the following five aspects:
[0094] 1. No limitation on platforms. The method of the present invention can use JavaScript API, and can be supported by a browser regardless of whether it is a computer or a tablet.
[0095] 2. Information sharing. Multi-user collaborative drawing and information sharing enable joint understanding of emergency-related information, coordination of rescue resource dispatch and allocation, and cooperation between emergency rescue departments.
[0096] 3. Data visualization: By changing the color and shape of the plot, users can obtain emergency rescue information more conveniently, intuitively and quickly.
[0097] 4. The method of the present invention can support multiple users to complete the mapping of situation symbols in emergency scenarios in a Web environment, making collaborative decision-making possible.
[0098] 5. The method of the present invention adopts an exclusive control mode, so that multiple users are forced to operate the plotting symbols in sequence, avoiding message conflicts when a large number of users operate the same plotting symbol at the same time, and greatly improving the success rate of multi-user collaborative operations.
[0099] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0100] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A situation map collaborative plotting method, characterized in that: include: Get the plotting symbol drawn by the user; Recording the current operating user of the plotting symbol as the host user; Setting that only the host user has the operation authority of the plotting symbol; When a non-host user needs to operate the plotting symbol, a host change application is initiated to the host user; If the host user agrees to the host change application, the current operating user of the plotting symbol is changed to the user who initiated the host change application, and the process returns to the step of recording the current operating user of the plotting symbol as the host user.
2. The method according to claim 1, characterized in that Also includes: Set different roles and permissions for different users.
3. The method according to claim 2, characterized in that Also includes: Recording the user who draws the plotting symbol as the initiator user; The initiator user is set to have the maximum authority.
4. The method according to claim 1, characterized in that After obtaining the plotting symbol drawn by the user, the method further includes: The plotting symbol is pushed to multiple users of multiple clients.
5. A situation map collaborative plotting system, characterized in that: include: A plotting symbol drawing module, used to obtain the plotting symbols drawn by the user; A host user recording module, used for recording the current operating user of the plotting symbol as the host user; An operation authority setting module, used to set that only the host user has the operation authority of the plotting symbol; A host change application module, used for initiating a host change application to the host user when a non-host user needs to operate the plotting symbol; The host change module is used to change the current operating user of the plotting symbol to the user who initiated the host change application if the host user agrees to the host change application, and return to the step of recording the current operating user of the plotting symbol as the host user.
6. The system according to claim 5, characterized in that Also includes: The role and permission setting module is used to set different roles and permissions for different users.
7. The system according to claim 6, characterized in that Also includes: An initiator recording module, used for recording the user who draws the plotting symbol as an initiator user; The maximum authority setting module is used to set the initiator user to have the maximum authority.
8. The system according to claim 5, characterized in that Also includes: The drawing symbol pushing module is used to push the drawing symbols drawn by the user to multiple users of multiple clients after acquiring the drawing symbols.
Citation Information
Patent Citations
Emergency Response Map-Based Multi-Party Collaborative Consultation System for Public Emergencies
CN102289736A
B / S architecture multi-expert online negotiation plotting system based on WebGIS
CN112698774A