Method and system for drawing marching direction military mark in three-dimensional electronic sand table
By acquiring multi-source information in a three-dimensional electronic sandbox, generating a control point management strategy, and using a smooth interpolation algorithm, the problems of flexibility and real-time interactivity are solved, efficient, cross-platform military standard drawing is achieved, and drawing accuracy and response speed are improved.
Patent Information
- Application Number
- CN202510948234.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-10
- Publication Date
- 2025-10-17
AI Technical Summary
The existing three-dimensional electronic sand table has poor flexibility, poor real-time interactive experience, low data switching efficiency, poor cross-platform compatibility, and severe rendering delay when drawing military symbols of the direction of advance, which affects the smoothness of operation.
By acquiring multi-source information, generating control point management strategies, and using smooth interpolation algorithms to draw diverse military standards, a real-time incremental update mechanism is implemented to achieve two-way mapping of three-dimensional geographic coordinates, build a lightweight storage model, and improve rendering frame rate and data processing efficiency.
The accuracy and response speed of the three-dimensional electronic sand table military standard drawing have been improved, meeting the needs of efficient, real-time, and cross-platform military applications, and significantly improving the drawing efficiency and quality.
Smart Images

Figure CN120807851A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a method and system for drawing a forward direction military symbol in a three-dimensional electronic sand table. BACKGROUND
[0002] In military command and combat simulation application scenarios, the use of three-dimensional electronic sand table is crucial, and the forward direction military symbol drawing technology is a core link.
[0003] Currently, the traditional three-dimensional electronic sand table drawing technology has many shortcomings. When drawing military symbols, it relies on static control points and templates, and has poor flexibility. For example, when drawing a forward direction military symbol, if an irregular or dynamic arrow shape needs to be presented, the existing technology cannot meet the requirements. The real-time interactive experience is not good. When the user operates the control point (such as dragging and modifying), the system response is slow. For example, in complex path drawing, the rendering update delay is obvious every time the control point is adjusted, and the frame rate drops significantly, which seriously affects the operation fluency. Moreover, the data switching is not flexible. When converting between different geographic coordinate systems or different data formats, the efficiency is low. When the same military symbol data is used on different platforms (such as mobile and PC), there are often problems such as data incompatibility and slow loading.
[0004] The present application aims to solve the above problems, improve the efficiency, flexibility and interactivity of three-dimensional electronic sand table forward direction military symbol drawing through innovative technical means, and meet the strict requirements of modern military applications for high precision, real-time and cross-platform use.
[0005] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0006] The present application aims to provide a method and system for drawing a forward direction military symbol in a three-dimensional electronic sand table, which at least partially overcomes the problems existing in the prior art. By acquiring multi-source information such as user operation and geographic coordinates, the control point management strategy and shape planning scheme are generated when processing these information, the real-time interaction performance is improved, the efficient coordinate conversion and data storage are realized. Dynamic generation of control points, use of smooth interpolation algorithm to draw various military symbols. Real-time incremental update mechanism reduces the amount of calculation and improves the rendering frame rate. Realize the bidirectional mapping of three-dimensional geographic coordinates, convenient for cross-platform use. Based on the control point topology, a lightweight storage model is constructed to speed up data processing. The drawing precision is high, the response is rapid, which significantly improves the efficiency and quality of three-dimensional electronic sand table military symbol drawing, and meets the diversified military mapping requirements.
[0007] Other features and advantages of the present application will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, which illustrate, by way of example, the principles of the application.
[0008] According to an aspect of the present application, there is provided a method for drawing a forward direction military symbol in a three-dimensional electronic sand table, comprising: obtaining user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information in a process of drawing a military symbol in a three-dimensional electronic sand table; processing the user operation information to generate control point generation and management information; processing the drawing requirement information to generate military symbol drawing shape planning information; processing the military symbol drawing shape planning information based on the system performance information to generate real-time interactive performance optimization features; processing the geographic coordinate information and the data processing information to generate coordinate conversion and data storage management information; processing the coordinate conversion and data storage management information and the control point generation and management information based on the system performance information to generate data processing and drawing efficiency improvement strategy information; processing the real-time interactive performance optimization features and the data processing and drawing efficiency improvement strategy information to generate three-dimensional electronic sand table forward direction military symbol efficient drawing and data management result information.
[0009] According to another aspect of the present application, there is provided a system for drawing a forward direction military symbol in a three-dimensional electronic sand table, comprising: an obtaining module configured to obtain user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information in a process of drawing a military symbol in a three-dimensional electronic sand table; a processing module configured to process the user operation information to generate control point generation and management information; process the drawing requirement information to generate military symbol drawing shape planning information; process the military symbol drawing shape planning information based on the system performance information to generate real-time interactive performance optimization features; process the geographic coordinate information and the data processing information to generate coordinate conversion and data storage management information; process the coordinate conversion and data storage management information and the control point generation and management information based on the system performance information to generate data processing and drawing efficiency improvement strategy information; process the real-time interactive performance optimization features and the data processing and drawing efficiency improvement strategy information to generate three-dimensional electronic sand table forward direction military symbol efficient drawing and data management result information.
[0010] According to still another aspect of the present application, there is provided an electronic device, comprising: a first processor; and a memory configured to store executable instructions of the first processor; wherein the first processor is configured to execute the above-mentioned method for drawing a forward direction military symbol in a three-dimensional electronic sand table via execution of the executable instructions.
[0011] According to still another aspect of the present application, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a second processor to implement the above-mentioned method for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table.
[0012] The present application has the following advantages: The present application provides a method and system for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table. The method and system are directed to the drawing of a direction-of-movement military symbol in a three-dimensional electronic sand table. The server first acquires user operation, geographic coordinates, drawing requirements, system performance, and data processing, and other information. Through processing of these information, multi-dimensional optimization is achieved. For example, a control point management strategy is accurately generated from user operation information; a shape plan is customized according to drawing requirements; real-time interactivity is improved in combination with system performance; and efficient processing and storage of geographic coordinates and data are completed.
[0013] In terms of core technology implementation, various control points are dynamically generated and connected by a smooth interpolation algorithm, so that military symbols of various complex shapes can be drawn. A real-time incremental update mechanism can calculate only the affected curve segments when the user operates, thereby reducing the amount of calculation and improving the rendering frame rate. A three-dimensional geographic coordinate bidirectional mapping technology enables data to be freely switched between different coordinate systems, thereby enhancing cross-platform compatibility. Meanwhile, a lightweight storage model constructed based on the topological relationship of control points improves the serialization and parsing efficiency of data. Actual case verification shows that the technology has high drawing precision and fast response speed, and greatly improves the overall performance of three-dimensional electronic sand table military symbol drawing.
[0014] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 A flowchart of a method for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table according to an embodiment of the present application is shown; Figure 2 A structural schematic diagram of a drawing system for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0016] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings, and it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application.
[0017] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings, and it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. Figure 1A method for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table according to an exemplary embodiment of the present application will be described. It should be noted that the following application scenarios are only shown for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. On the contrary, the embodiments of the present application are applicable to any applicable scenario.
[0018] In one embodiment, the present application provides a method for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table. Figure 1 A flowchart of a method for drawing a direction-of-movement military symbol in a three-dimensional electronic sand table according to an embodiment of the present application is schematically shown. As shown in Figure 1 The method is applied to a server and includes the following steps: S101, obtaining user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information in the process of drawing a military symbol in a three-dimensional electronic sand table.
[0019] In one embodiment, the user operation information is mainly derived from the interactive actions of the user on the electronic sand table. In terms of user click operations, the first click position is used to determine the starting point of the military symbol, and the system generates a first control point accordingly; the second click position determines the end point, and the system automatically connects the starting point and the end point to form an initial straight line path. If the user clicks to add an intermediate point between the starting point and the arrow head, the position information of the intermediate point is used to generate an intermediate path node to enrich the shape of the military symbol path. In addition, the dragging operation and position modification operation of the user on the control point will change the position of the control point, and the system needs to capture these changes to determine the range of the affected spline segment, so as to subsequently perform local recalculation and rendering update.
[0020] The geographic coordinate information includes the geographic coordinates of the reference point, such as the longitude and latitude and altitude corresponding to the origin of the three-dimensional coordinate system (longitude λ0=118.9°, latitude φ0=32.1°, altitude h0=0m), which is a key reference for realizing the bidirectional mapping between the three-dimensional world coordinates and the geographic coordinate system. At the same time, it involves the reference ellipsoid parameters for coordinate conversion, such as the equatorial radius (a=6378137.0m) and the flattening (f=1 / 298.257223563) of the WGS-84 ellipsoid, which are used for complex coordinate conversion calculations. It also includes the correspondence between geographic coordinates and three-dimensional coordinates, such as the correspondence between the world three-dimensional coordinate axes and the local ENU (East-North-Up) in the electronic sand table (East=x, North=z, Up=y), which provides the corresponding rules for coordinate conversion.
[0021] The drawing requirement information reflects the user's specific expectations for military map drawing. The military map shape expectation determines whether the military map is a standard straight arrow, a polyline path arrow, or other irregular shapes, affecting the generation and connection method of control points. The arrow detail requirements include the arrow root position ratio (determining the arrow root control point position according to 1 / 16 of the straight line length), the wing rotation angle (rotating ±15° around the vertical direction to generate left and right wing control points), and the extension length (extending 0.445 kilometers along the rotation direction), etc., which accurately shape the arrow shape. The curve smoothness expectation determines the smooth interpolation algorithm (Catmull-Rom spline) and related parameter settings used when connecting control points, ensuring that the curve is tangent continuous at the nodes and natural in shape. The path complexity requirement affects the number and distribution of intermediate path nodes, and complex path requirements may prompt the user to add more intermediate control points to achieve a specific path shape.
[0022] The system performance information reflects the capabilities and limitations of the electronic sand table drawing system. The calculation speed determines the processing efficiency in operations such as control point generation, coordinate conversion, and curve calculation, and faster calculation speed can ensure that the system responds to user operations in a timely manner and avoids lag. The storage capacity affects the size and efficiency of data storage, and larger storage capacity can support more complex military map data (large amount of control point information, data in different coordinate systems) storage. The graphics processing capability relates to rendering effect and frame rate, and powerful graphics processing capability can quickly update the rendering picture when the control point position changes, maintain high frame rate (the rendering frame rate is always maintained above 60FPS), and provide a smooth interactive experience.
[0023] Data processing information involves the processing method and requirements of data in the system. The data storage format requirement determines how to store control point information, coordinate information, and military map drawing related data, and needs to consider compatibility and storage efficiency, such as building a lightweight storage model based on control point topological relationship to improve data serialization and parsing efficiency. The data parsing efficiency expectation specifies the speed of extracting and processing information from stored data, and efficient data parsing can quickly respond to the system's data needs, such as quickly obtaining control point position information when updating military map shape in real time. The data serialization method affects the transmission and storage form of data between different modules, and reasonable serialization method can optimize the data processing flow and ensure accurate transmission and efficient storage of data.
[0024] S102, process the user operation information to generate control point generation and management information.
[0025] In one implementation, the first click position, the second click position, the subsequent added intermediate point position, the control point drag operation, and the position modification operation are extracted from the user operation information to generate the start point coordinate information, the end point coordinate information, the intermediate path node coordinate information, and the affected spline segment range information. When drawing an arrow with a polyline path, the user first clicks point A (116.40°E, 39.90°N, elevation 100 m) on the three-dimensional electronic sand table, and the system records the position as the start point coordinate information. Then, the user clicks point B (116.45°E, 39.95°N, elevation 100 m), which is the end point coordinate information. After that, the user clicks points C and D between A and the root of the arrow, and the system obtains the positions of points C and D to generate the intermediate path node coordinate information. If the user performs a drag operation on point C, the system determines the range of the start and end points of the curve segment directly connected to point C to obtain the affected spline segment range information.
[0026] The start point coordinate information, the end point coordinate information, the intermediate path node coordinate information, and the affected spline segment range information are processed to generate the control point generation order and quantity information, the control point topology connection relationship information, and the control point real-time update rule information. Taking the above arrow drawing with a polyline path as an example, according to the operation order, the control point generation order is A (start point), B (end point), C (intermediate point), and D (intermediate point), a total of four control points, which is the control point generation order and quantity information. The control point topology connection relationship is that A is connected with B to form an initial straight line path, and after C and D are inserted, A is connected with C, C is connected with D, D is connected with the root of the arrow, and so on. In terms of real-time update rules, when the position of point C changes, the system only recalculates the two adjacent curve segments where point C is located, i.e., the A-C segment and the C-D segment, and other unaffected parts remain unchanged.
[0027] The click time and the operation interval in the user operation information are classified and marked based on the control point generation order and quantity information, the control point topology connection relationship information, and the control point real-time update rule information to generate the control point associated operation record. Assuming that the user clicks point A at time t1, clicks point B at time t2, clicks point C at time t3, and clicks point D at time t4. According to the control point generation order, the click time order is t1, t2, t3, and t4. If the user drags point C at time t5, the operation interval is t5-t3. Combined with the control point topology connection relationship and the real-time update rule, it is recorded that this drag operation of point C affects the update of the A-C segment and the C-D segment to generate a control point associated operation record, which contains information such as the operation time (t5), the operation type (drag), the affected control point (point C), and the affected curve segment (the A-C segment and the C-D segment).
[0028] The control point association operation records are summarized and analyzed to generate a control point generation and management optimization strategy. By summarizing the control point association operation records of multiple military map symbol drawing, it is found that when drawing a complex path, the user frequently adds intermediate control points and then performs a drag operation, which increases the system calculation amount. Based on this, the optimization strategy is generated: when it is detected that the user continuously adds multiple intermediate control points in a short time and has a subsequent drag operation trend, the system automatically adjusts the interpolation algorithm parameters to preferentially ensure the curve smoothness while reducing the calculation complexity; or when storing the control point information, a more efficient data structure is used to optimize the data storage and reading speed, improve the control point management efficiency, and further improve the smoothness and stability of the entire military map drawing process.
[0029] In S103, the drawing requirement information is processed to generate military map drawing shape planning information.
[0030] In an implementation manner, the military map shape expectation, arrow detail requirement, curve smoothness expectation, and path complexity requirement information in the drawing requirement information are extracted and screened to generate arrow shape category factors, arrow detail setting data, curve smoothness indexes, and path complexity information. If the user expects to draw an arrow containing a polyline path, this military map shape expectation indicates that the arrow shape is not a simple straight line, and the generated arrow shape category factor can be set to the "polyline arrow" category. In the arrow detail requirement, if the arrow root is specified to be at a straight line length of 1 / 16, the wings are rotated ±15° around the vertical direction and extended by 0.445 kilometers, these specific values constitute the arrow detail setting data. For the curve smoothness expectation, if the user wants to use the Catmull-Rom spline algorithm to realize smooth connection, the curve smoothness index can be determined according to the characteristics of the algorithm and the parameters set by the user, such as setting the allowed range of tangent deviation at the node. If the user plans to draw a complex path with multiple bends, the path complexity information can be measured by the expected number of intermediate control points, the range of bend angle change, and the like. Assuming that 5 intermediate control points are expected to be added, and the bend angle change range is 30°-120°, this is the generated path complexity information.
[0031] The arrow shape category factor, arrow detail setting data, curve smoothness index and path complexity information are processed to generate military symbol drawing shape difficulty level information and drawing process change information. Taking the polyline arrow just now as an example, the polyline arrow category, complex arrow details (such as specific root position, wing rotation and extension requirements), higher curve smoothness requirements (such as strict tangent deviation range) and more intermediate control points (5) and larger bending angle change range (30°-120°) are combined to determine that the military symbol drawing shape difficulty level is high. In terms of drawing process change, compared with a simple straight line arrow, the polyline arrow needs more intermediate control points, so after the start point and the end point are determined, the intermediate control points are added and the curve is adjusted in real time, and each addition needs to recalculate the spline connection to ensure the curve smoothness, which is the generated drawing process change information.
[0032] The drawing requirement information is classified and marked based on the military symbol drawing shape difficulty level information and the drawing process change information to generate a drawing requirement data screening result. For the polyline arrow drawing requirement determined to have a high difficulty level, its drawing requirement information is classified as a “complex military symbol drawing requirement” category and its key features are marked, such as “polyline arrow, multiple intermediate control points, high smoothness requirement” and the like. In the numerous drawing requirement information, through this classification and marking, all data belonging to complex military symbol drawing requirements are screened to form a drawing requirement data screening result. For example, in a task list containing various military symbol drawing requirements, all requirements with similar complex features are selected to form a screening result set, facilitating subsequent targeted processing.
[0033] The drawing requirement data screening result is summarized and analyzed to generate military symbol drawing shape planning features, wherein the military symbol drawing shape planning features are used to represent the data processing flow and change trend of military symbol shape planning in control point generation, connection mode and overall modeling construction under different drawing requirements. In the control point generation link, it is found that complex military symbols often need more intermediate control points, and the generation order and position are closely related to the path shape, such as to achieve a specific bending angle, the intermediate control points need to be accurately arranged. In terms of connection mode, due to the high curve smoothness requirement, the parameter setting of the Catmull-Rom spline algorithm is more delicate to ensure natural curve transition. In terms of overall modeling construction, from the start point to the end point, complex shapes are shaped by reasonably arranging intermediate control points and adjusting arrow details (such as root and wing). As the complexity of military symbols increases, the number of control points increases, the connection mode becomes more complex, and the overall modeling construction steps become more tedious, which is the data processing flow and change trend reflected by the military symbol drawing shape planning features.
[0034] S104, processing the military standard drawing shape planning information based on the system performance information to generate real-time interactive performance optimization features.
[0035] In an embodiment, the rendering capability, computing resource, data transmission speed information in the system performance information, and the arrow shape complexity, control point number and distribution, curve smoothness requirement information in the military standard drawing shape planning information are extracted and screened to generate rendering pressure factor, computing resource demand data, data transmission demand information, and shape complexity index. Assuming that the rendering capability of the system is the highest supportable frame rate of 100 FPS, the CPU usage rate upper limit is 80% for computing resources, the GPU video memory is 4 GB, and the data transmission speed is 10 MB of data per second. If the military standard drawing shape planning is a complex polyline arrow, it is expected to have 10 control points, the distribution is relatively dense, the curve smoothness requirement adopts Catmull-Rom spline algorithm, and the tangent deviation at the node is less than 1 degree. Based on this information, when drawing this military standard, due to the complex arrow shape and more control points, the rendering pressure is large, and the rendering pressure factor can be set to high. The computing resource demand data can be represented as the expected CPU usage rate reaching 60%, and the GPU video memory occupying 2 GB to meet the control point generation, curve calculation and other operations. The data transmission demand information is expected to transmit 3 MB of data per second according to the control point and graphic data volume. The shape complexity index can be quantitatively represented by the number of control points (10), the number of polyline bends (assuming 5 times), etc.
[0036] The rendering pressure factor, computing resource demand data, data transmission demand information, and shape complexity index are processed to generate real-time interactive performance risk level information and performance optimization direction information. In combination with the above example, the high rendering pressure factor, the higher computing resource demand (CPU usage rate 60% close to the upper limit 80%), certain data transmission demand (3 MB per second close to the system transmission capacity of 10 MB per second), and higher shape complexity index (10 control points, 5 bends) comprehensively judge the real-time interactive performance risk level as medium-high risk. To reduce the rendering pressure, the rendering algorithm can be optimized, such as using a more efficient graphics rendering pipeline; for computing resource demand, the control point calculation logic can be optimized to reduce unnecessary calculation; for data transmission, data compression technology can be used to reduce the amount of data transmission to improve real-time interactive performance.
[0037] The system performance information and the military map drawing shape planning information are classified and identified based on the real-time interaction performance risk level information and the performance optimization direction information, and a performance and drawing information screening result is generated. For the above medium and high risk cases, the rendering capability, computing resource, data transmission speed related parts in the system performance information, and the complex arrow shape, more control points and other related contents in the military map drawing shape planning information are classified as "high risk performance and drawing information" category, and the key risk points such as "high rendering pressure, tight computing resource, complex shape" are identified. Among the numerous system performance and drawing shape planning information, all information with similar risk characteristics is screened out to form the performance and drawing information screening result. For example, among a plurality of different military map drawing tasks, all task related information that may cause high real-time interaction performance risk is screened out.
[0038] The performance and drawing information screening result is summarized and analyzed to generate real-time interaction performance optimization features. After summarizing a plurality of high risk performance and drawing information screening results, it is found that in the high risk case, there are generally problems such as rendering frame rate reduction and computing delay. In view of these problems, the real-time interaction performance optimization features are summarized: in the rendering aspect, the dynamic level of detail (LOD) technology is adopted to adjust the graphic details according to the distance between the control points and the viewing angle, and the rendering pressure is reduced; in the computing resource management, the task scheduling mechanism is introduced to process key computing tasks preferentially, and the computing efficiency is improved; in the data transmission aspect, the asynchronous transmission mode is adopted to avoid data transmission congestion affecting real-time interaction. These optimization features are used to guide the system to take corresponding measures in advance when drawing similar complex military maps in the future, to improve the real-time interaction performance and ensure the smooth and stable drawing process.
[0039] S105, the geographic coordinate information and the data processing information are processed to generate coordinate conversion and data storage management information.
[0040] In an embodiment, the reference point geographic coordinate feature, the coordinate conversion reference ellipsoid parameters, and the geographic coordinate and three-dimensional coordinate correspondence information are extracted from the geographic coordinate information. In a certain scenario, the electronic sand table takes a specific area as a reference, and the longitude and latitude and altitude corresponding to the origin of the three-dimensional coordinate system of the electronic sand table are (longitude , latitude , altitude ), which is the reference point geographic coordinate feature. The coordinate conversion adopts WGS-84 ellipsoid, and the equatorial radius a=6378137.0m, the flattening f=1 / 298.257223563, these parameters are used for subsequent accurate coordinate conversion calculation. The correspondence between the world three-dimensional coordinate axis and the local ENU in the electronic sand table is East=x, North=z, Up=y, which provides a key rule for coordinate conversion.
[0041] The data storage format requirement, data parsing efficiency expectation, and data serialization mode information are extracted from the data processing information. In this military application, the data processing system requires storing military map drawing data in binary format to reduce storage space occupation and improve read-write speed, which is the data storage format requirement. It is expected that data parsing can complete the extraction and processing of new control point coordinates within 50 milliseconds during real-time military map drawing, meeting the real-time interaction requirements, which is the data parsing efficiency expectation. The data serialization mode uses a custom serialization protocol that can quickly transmit data between different modules while ensuring data integrity, such as ensuring data accuracy when transmitting data from the control point generation module to the rendering module.
[0042] The reference point geographic coordinate characteristics, coordinate conversion reference ellipsoid parameters, geographic coordinate and three-dimensional coordinate correspondence information, data storage format requirement, data parsing efficiency expectation, and data serialization mode information are processed to generate coordinate conversion difficulty factor, data storage format associated data, coordinate conversion process information, and data processing requirement information. Due to the complexity of WGS-84 ellipsoid parameter calculation, combined with the correspondence between geographic coordinates and three-dimensional coordinates, the coordinate conversion difficulty factor is determined to be a high level. For data storage format associated data, it is analyzed that binary format can save about 60% of storage space compared with text format when storing a large number of control point coordinates, but specific parsing algorithms are required during parsing, increasing the parsing complexity. The coordinate conversion process information is determined to be converted from three-dimensional local coordinates to Earth-Centered Earth-Fixed coordinates (ECEF) first, and then through rotation and translation calculation to obtain geographic coordinates. According to the data parsing efficiency expectation and storage format characteristics, the data processing requirement information is determined to optimize the parsing algorithm and improve the parsing speed of binary data to meet the 50 millisecond parsing requirement.
[0043] The coordinate conversion difficulty factor, data storage format associated data, coordinate conversion process information, and data processing requirement information are processed to generate coordinate conversion and data storage management level information and operation process change information. Combining the high coordinate conversion difficulty factor, the characteristics of binary storage format, and the strict data parsing efficiency requirement, the coordinate conversion and data storage management level is determined to be high. This indicates that more powerful computing resources and more refined algorithm optimization are required when processing related data. In terms of operation process changes, to cope with high-difficulty coordinate conversion, a verification and standardization step for geographic coordinates is added in the data preprocessing stage; for binary storage format, multi-thread parallel writing technology is used when writing data to improve storage efficiency, and hardware acceleration parsing algorithm is used when reading to reduce parsing time.
[0044] Based on coordinate conversion and data storage management level information and operation process change information, the geographic coordinate information and data processing information are classified, and the screening results for coordinate conversion and data storage management are generated. According to the high-level management requirements, the coordinate data of the geographic coordinate information involving cross-border and complex terrain areas, and the data of the data processing information with extremely high requirements for analysis speed and storage stability are classified as key processing categories. For example, when drawing a military standard path that crosses multiple different terrain areas and has high precision requirements, the related geographic coordinate information belongs to the key processing range; for data containing a large number of high-precision control points and frequent real-time updates, it is also classified as a key in the data processing information. Through this classification and screening, the screening results for coordinate conversion and data storage management are formed, which facilitates the efficient processing of concentrated resources.
[0045] The screening results for coordinate conversion and data storage management are processed to generate coordinate conversion and data storage management information. For the key processing data screened out, in terms of coordinate conversion, a more advanced parallel computing framework is used to accelerate the coordinate conversion process, and a high-precision computing library is used to improve the conversion precision, ensuring that the coordinate conversion error in complex geographic areas is controlled within a very small range. In terms of data storage management, for binary storage format, the data structure is further optimized, and efficient indexing and caching mechanisms are used to improve data storage and reading speed. The finally generated coordinate conversion and data storage management information records in detail the coordinate conversion methods, storage strategies and related performance indicators for different types of data, such as the precision range of coordinate conversion, the speed improvement ratio of data storage, etc., providing reliable data support for three-dimensional electronic sand table military map drawing.
[0046] S106, based on system performance information, processing coordinate conversion and data storage management information and control point generation and management information to generate data processing and drawing efficiency improvement strategy information.
[0047] In one implementation, the computing speed, storage capacity, and graphics processing capability information in the system performance information are processed for feature extraction to generate data processing speed features, data storage capacity features, and graphics rendering performance features. In a specific three-dimensional electronic sand table drawing scene, the system's computing speed is 1000 control point-related calculations per second, the storage capacity is 100,000 control point data, and the graphics processing capability can support a stable frame rate of 60 FPS at 1080p resolution. By extracting this information, the generated data processing speed feature can be represented as 1000 control point calculation processing capabilities per second; the data storage capacity feature is represented as 100,000 control point data; and the graphics rendering performance feature is a stable frame rate of 60 FPS at 1080p resolution. These features intuitively reflect the system's capabilities in data processing speed, storage size, and graphics rendering.
[0048] The coordinate conversion and data storage management information are processed to extract features, including coordinate conversion complexity, data storage format compatibility, and data analysis efficiency information. If the system uses WGS-84 ellipsoid for coordinate conversion, it involves complex trigonometric function calculation and multi-step conversion process, and the coordinate conversion difficulty feature can be defined as high. In terms of data storage format, the system uses a custom binary format to store military standard data, which is compatible with common file systems and can effectively save storage space when storing a large number of control point data, but requires specific parsing algorithms during parsing. Therefore, the storage format adaptation feature is good compatibility with common file systems and specific algorithms for parsing. If the system expects to complete the parsing of key control point data within 50 milliseconds, and the actual test under the current hardware and algorithm conditions takes an average of 40 milliseconds, the data analysis speed feature can be expressed as an average of 40 milliseconds per parsing.
[0049] The control point generation and management information are processed to extract features, including control point generation frequency, control point topology complexity, and real-time update response speed information. In drawing complex military standards, users frequently add control points, with an average of 5 control points added per second, which is the control point generation frequency feature. If the military standard path is complex, the connections between control points form a complex topology, such as multiple branches and cross connections, and the topology complexity feature can be defined as high. When the user drags the control point, the system can complete the update of the affected curve segment within 20 milliseconds and display the changes on the interface, which is the update response performance feature, i.e., completing the update and display within 20 milliseconds.
[0050] The data processing speed feature, data storage capacity feature, graphics rendering performance feature, coordinate conversion difficulty feature, storage format adaptation feature, data analysis speed feature, control point generation efficiency feature, topology complexity feature, and update response performance feature are integrated to generate comprehensive performance impact features. Based on the above examples, the system has high data processing speed (1000 control point calculation processing capabilities per second), but the coordinate conversion difficulty is high (using complex WGS-84 ellipsoid conversion), the control point generation efficiency is high (averaging 5 control points added per second), and the topology is complex. Integrating these features, the comprehensive performance impact feature generated is that when processing complex military standard drawing tasks, although the data processing speed can meet certain needs, the coordinate conversion may become a performance bottleneck, and the complex control point topology will increase the processing burden of the system, requiring high requirements for graphics rendering and data storage management, and the overall performance faces great challenges.
[0051] The comprehensive performance influencing features are analyzed, and the data processing strategy adjustment direction and the flow optimization scheme are generated according to different feature combinations. The comprehensive performance influencing features are composed of data processing speed, data storage capacity, graphics rendering performance, coordinate conversion difficulty, storage format adaptability, data analysis speed, control point generation efficiency, topology complexity, and update response performance. For example, in actual application scenarios, if the system data processing speed is fast, but the coordinate conversion difficulty is high, and the control point topology structure is complex and the generation efficiency is high, it means that when processing complex military map drawing tasks, although there are certain advantages in regular data processing, a large amount of time may be consumed in the coordinate conversion process, and the complex control point topology structure and frequent control point generation will challenge data storage and management, easily causing system resource shortage, and thus affecting graphics rendering and overall drawing efficiency, resulting in problems such as lag.
[0052] The coordinate conversion algorithm is optimized, and parallel computing technology is adopted. As a key link in the system, the complexity of coordinate conversion directly affects the performance. Taking the coordinate conversion using WGS-84 ellipsoid as an example, the traditional sequential calculation method has low efficiency when processing a large number of control point coordinate conversions. By introducing parallel computing technology, the coordinate conversion task can be divided into multiple subtasks, and the parallel computing capability of multi-core processors or GPUs can be used to process these subtasks simultaneously. For example, the coordinate conversion tasks of different control points are allocated to different computing cores, and each core independently performs conversion calculation, thereby greatly shortening the overall conversion time. This not only improves the speed of coordinate conversion, but also enables the system to quickly and accurately complete coordinate conversion when processing military map drawing of complex geographic areas, avoiding the impact of coordinate conversion delay on subsequent drawing operations.
[0053] The data storage structure is optimized, and the hash table is used to manage the control points. The complex control point topology structure and high control point generation efficiency put higher requirements on data storage and reading. Hash table is a high-efficiency data structure, which maps the key information (such as coordinate position) of control points to a hash value through a hash function, and uses it as an index for storage and lookup. In the three-dimensional electronic sand table, when a control point needs to be found or its information needs to be updated, the hash table can complete the operation in almost constant time, greatly improving the lookup efficiency compared with the traditional linear search method. At the same time, the dynamic expansion feature of the hash table can also adapt to the changing number of control points, ensuring that data storage and reading remain efficient and stable during high-frequency control point generation, reducing performance degradation caused by poor data storage and management.
[0054] If the system cannot allocate sufficient computing resources in time when the control point generation frequency is high, it will cause task backlog and then stuttering phenomenon. By monitoring the control point generation frequency in real time, when the frequency reaches a certain threshold (for example, more than 3 control points generated per second), the system automatically starts the resource allocation mechanism. For example, more CPU cores and memory resources are dynamically allocated from the system resource pool to the control point generation and processing module. In this way, when a new control point is generated, the system has enough resources to process it immediately, including calculating the impact of the new control point on the curve shape, updating related data structures, etc. Operations ensure the smoothness of the rendering process and avoid delays and stuttering caused by insufficient resources.
[0055] Graph rendering is an important link that affects user experience. Progressive rendering technology breaks the traditional complete rendering mode at one time, and prioritizes rendering key areas such as the military standard part near the center of the view angle and the current operation area of the user. When rendering complex military standards, first quickly draw the general outline and key parts of the military standard, so that the user can see the basic shape in time, and gradually refine and improve the rendering details over time and with the permission of system resources. This way can quickly provide a basic picture for user interaction within limited computing resources and time, improving the user's real-time interaction experience. At the same time, by reasonably allocating rendering resources and prioritizing processing key areas, it can avoid the frame rate drop caused by excessive resource consumption when rendering the entire complex military standard, ensuring the stability and improvement of rendering efficiency.
[0056] Integrate data processing strategy adjustment direction and rendering process optimization scheme to generate data processing and rendering efficiency improvement strategy information. Integrate data processing strategies such as optimizing coordinate conversion algorithm (using parallel computing technology) and optimizing data storage structure (using hash table to manage control points) with rendering process optimization schemes such as early allocation of computing resources and use of progressive rendering technology. The final data processing and rendering efficiency improvement strategy information is clear: in terms of data processing, use parallel computing to speed up coordinate conversion and optimize data storage structure to improve data read-write efficiency; in terms of rendering process, allocate resources in advance according to the control point generation frequency and use progressive rendering to ensure rendering effect and frame rate. These strategy information provides specific guidance for the system to improve data processing and rendering efficiency, which helps to improve the overall performance of three-dimensional electronic sand table military standard drawing.
[0057] S107, process the real-time interaction performance optimization features, data processing and rendering efficiency improvement strategy information, and generate three-dimensional electronic sand table forward direction military standard efficient drawing and data management result information.
[0058] In one implementation, the real-time interaction performance optimization features are derived based on processing of system performance information and military map plotting shape planning information. For example, through analysis, it is found that using dynamic level of detail (LOD) technology can adjust the graphic details according to the distance of the control point and the perspective, reduce the rendering pressure; introducing a task scheduling mechanism can prioritize processing of key computing tasks, improving computing efficiency; using asynchronous transmission mode can avoid data transmission congestion affecting real-time interaction. These optimization features are proposed to address the problems of rendering frame rate reduction, computing delay, etc. that commonly exist in high-risk situations. Data processing and rendering efficiency improvement strategy information is developed based on a comprehensive analysis of system performance, coordinate conversion, data storage management, control point generation and management, etc. For example, it is determined to use parallel computing to speed up coordinate conversion, and to improve data read / write efficiency by optimizing data storage structure (using hash table to manage control points); in the rendering process, resources are allocated in advance according to the control point generation frequency, and progressive rendering is used to ensure rendering effect and frame rate.
[0059] The real-time interaction performance optimization features and data processing and rendering efficiency improvement strategy information are deeply integrated. For example, when rendering a military map with a large number of control points and complex shape, the dynamic level of detail (LOD) technology, task scheduling mechanism, asynchronous transmission mode, parallel computing coordinate conversion, hash table management of control points, resource allocation according to control point generation frequency, and progressive rendering are combined. In the data processing stage, parallel computing is used to speed up coordinate conversion, and hash table is used to efficiently manage the continuously generated control point data; in the rendering process, computing resources are allocated in advance according to the control point generation frequency to ensure that new control points can be processed in time, while progressive rendering is used to quickly present the general shape of the military map, and dynamic level of detail technology is used to adjust the graphic details according to the perspective to maintain stable frame rate while ensuring rendering effect, and asynchronous transmission mode ensures timely and accurate data transmission, avoiding data processing and transmission from becoming a bottleneck.
[0060] The system performs specific operations according to the integrated strategy. In coordinate conversion, parallel computing program is started, and coordinate conversion tasks of different control points are distributed to different cores of multi-core processors or GPUs for processing. In data storage and management, hash table is used to store and find control point information to improve data read / write speed. When a high control point generation frequency is detected, the system automatically allocates more CPU cores and memory resources from the resource pool to the control point generation and processing module. In the graphic rendering link, the general outline of the military map key area is first quickly rendered, and the rendering details are gradually refined as time and resources permit, and the graphic details are dynamically adjusted according to the perspective distance to ensure a smooth interactive experience in various situations.
[0061] Under the implementation of the above optimization strategy, the military map drawing process becomes efficient and smooth. For example, when drawing complex military maps, the rendering frame rate is always kept at a high level (such as stable at 60 FPS or above), the response time of user operations (such as adding and dragging control points) is extremely short, and the feedback on the sand table is almost real-time. There is no lag phenomenon when drawing complex shapes. The drawing accuracy meets the requirements, such as smooth and natural curves for complex paths, and arrow shapes that meet expectations. Even in the case of a large number of control points, the curve is continuous at the node, the modeling is natural, and the error is less than 1%.
[0062] In terms of data management, efficient data storage and analysis is achieved. The coordinate conversion is accurate and fast, and can freely switch between different coordinate systems, such as converting from three-dimensional local coordinates to geographic coordinates with an error controlled within a small range (such as the error from Unity coordinates (600, 50, 500) to geographic coordinates within an acceptable range). The data storage uses a lightweight model, occupies a small storage space, and the data serialization and analysis efficiency is greatly improved. The storage structure based on the topological relationship of control points enables fast reading and processing of data when storing a large amount of military map data, meeting the real-time drawing and updating requirements. Through effective processing of real-time interaction performance optimization features and data processing and drawing efficiency improvement strategies, efficient drawing and data management of three-dimensional electronic sand table direction military maps are achieved, improving the overall performance and user experience of the system, and overcoming the shortcomings of traditional technology in drawing and data management.
[0063] In this application, various information is obtained by the server for processing. Control point related information is generated from user operation information, and control point generation and management optimization strategies are obtained; shape planning information is generated according to drawing requirements information, and the control points and connection methods of military map drawing under different requirements are determined; real-time interaction performance optimization features are obtained by combining system performance and shape planning information, solving the problem of lag; efficient coordinate conversion and data storage management are achieved by processing geographic coordinates and data processing information; and data processing and drawing efficiency improvement strategies are generated by integrating various information.
[0064] By dynamically generating and managing control points, and combining with the smoothing interpolation algorithm, the drawing requirements of various military map shapes are met; the real-time incremental update mechanism is adopted to recalculate only the affected curve segments, improving the rendering frame rate; two-way mapping of three-dimensional geographic coordinates is realized to ensure cross-platform use; a lightweight storage model is constructed to improve data processing efficiency. As shown in the drawing implementation examples of standard straight-line arrows and arrowheads with polyline paths, the drawing error is small, the frame rate is stable, and the defects of traditional technology such as dependence on templates, poor interaction experience, and inflexible data switching are effectively overcome, providing advanced and efficient technical support for military marking and other application scenarios.
[0065] In one embodiment, as Figure 2As shown, the application also provides a drawing system for drawing a forward direction military symbol in a three-dimensional electronic sand table, comprising: The acquisition module 201 is configured to acquire user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information in the process of drawing a military symbol in a three-dimensional electronic sand table. The processing module 202 is configured to process the user operation information to generate control point generation and management information; process the drawing requirement information to generate military symbol drawing shape planning information; process the military symbol drawing shape planning information based on the system performance information to generate real-time interaction performance optimization features; process the geographic coordinate information and the data processing information to generate coordinate conversion and data storage management information; process the coordinate conversion and data storage management information and the control point generation and management information based on the system performance information to generate data processing and drawing efficiency improvement strategy information; and process the real-time interaction performance optimization features and the data processing and drawing efficiency improvement strategy information to generate three-dimensional electronic sand table forward direction military symbol efficient drawing and data management result information.
[0066] The computer readable storage medium provided by the above embodiments of the application has the same beneficial effects as the drawing method for drawing a forward direction military symbol in a three-dimensional electronic sand table provided by the embodiments of the application.
[0067] Each of the embodiments in the application is described in a related manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment mainly describes the difference from other embodiments. In particular, the evaluation of the drawing method for drawing a forward direction military symbol in a three-dimensional electronic sand table, the electronic system, the electronic device, and the readable storage medium embodiment are basically similar to the above-mentioned embodiments of the drawing method for drawing a forward direction military symbol in a three-dimensional electronic sand table, and the related parts are described in the above-mentioned embodiments of the drawing method for drawing a forward direction military symbol in a three-dimensional electronic sand table.
Claims
1. A method for drawing a military symbol of the advancing direction in a three-dimensional electronic sand table, characterized in that: include: Obtain user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information during the drawing of military standards on a 3D electronic sand table; Process user operation information to generate control point generation and management information; Process the drawing requirement information and generate the military standard drawing shape planning information; Processing the military standard drawing shape planning information based on system performance information to generate real-time interactive performance optimization features; Process geographic coordinate information and data processing information to generate coordinate conversion and data storage management information; Process coordinate conversion and data storage management information and control point generation and management information based on system performance information to generate data processing and drawing efficiency improvement strategy information; The real-time interactive performance optimization features, data processing and drawing efficiency improvement strategy information are processed to generate efficient drawing and data management result information of the three-dimensional electronic sand table forward direction military standard.
2. The method according to claim 1, wherein Process user operation information to generate control point generation and management information, including: Extract and filter the first click position, second click position, subsequent intermediate point positions, control point dragging operations, and position modification operations in the user operation information to generate starting point coordinate information, end point coordinate information, intermediate path node coordinate information, and affected spline segment range information; Process the starting point coordinate information, the end point coordinate information, the intermediate path node coordinate information, and the affected spline segment range information to generate control point generation order and quantity information, control point topological connection relationship information, and control point real-time update rule information; Based on the control point generation order and quantity information, control point topological connection relationship information, and control point real-time update rule information, the click time and operation interval in the user operation information are classified and marked to generate control point associated operation records; Summarize and analyze the control point associated operation records to generate control point generation and management optimization strategies.
3. The method according to claim 1, wherein Process the drawing requirement information to generate military standard drawing shape planning information, including: Extract and filter the military standard shape expectations, arrow detail requirements, curve smoothness expectations, and path complexity requirements in the drawing requirement information to generate arrow shape category factors, arrow detail setting data, curve smoothness indicators, and path complexity information; The arrow shape category factor, arrow detail setting data, curve smoothness index and path complexity information are processed to generate military standard drawing shape difficulty level information and drawing process change information; Based on the difficulty level information of military standard drawing shapes and the drawing process change information, the drawing requirement information is classified and marked to generate the drawing requirement data screening results; The results of the drawing requirement data screening are summarized and analyzed to generate the military standard drawing shape planning characteristics. The military standard drawing shape planning characteristics are used to characterize the data processing flow and change trends of the military standard shape planning in the control point generation, connection method and overall shape construction under different drawing requirements.
4. The method according to claim 3, wherein Based on system performance information, the military standard drawing shape planning information is processed to generate real-time interactive performance optimization features, including: Extract and filter the rendering capability, computing resources, and data transmission speed information in the system performance information, as well as the arrow shape complexity, number and distribution of control points, and curve smoothness requirements in the military standard drawing shape planning information, to generate rendering pressure factors, computing resource requirement data, data transmission requirement information, and shape complexity indicators; Process rendering pressure factors, computing resource demand data, data transmission demand information, and shape complexity indicators to generate real-time interactive performance risk level information and performance optimization direction information; Based on real-time interactive performance risk level information and performance optimization direction information, system performance information and military standard drawing shape planning information are classified and identified to generate performance and drawing information screening results; The performance and drawing information screening results are summarized and analyzed to generate real-time interactive performance optimization features.
5. The method according to claim 1, wherein Process geographic coordinate information and data processing information to generate coordinate conversion and data storage management information, including: Extracting geographic coordinate features of the reference point, coordinate conversion reference ellipsoid parameters, and correspondence information between geographic coordinates and three-dimensional coordinates from geographic coordinate information; Extract data storage format requirements, data parsing efficiency expectations, and data serialization method information from data processing information; Process the geographic coordinate characteristics of the benchmark points, coordinate conversion reference ellipsoid parameters, information on the correspondence between geographic coordinates and three-dimensional coordinates, data storage format requirements, data parsing efficiency expectations, and data serialization methods to generate coordinate conversion difficulty factors, data storage format-related data, coordinate conversion process information, and data processing requirements information; Process the coordinate conversion difficulty factor, data storage format-related data, coordinate conversion process information, and data processing requirement information to generate coordinate conversion and data storage management level information and operation process change information; Based on the coordinate conversion and data storage management level information and operation process change information, the geographic coordinate information and data processing information are classified to generate screening results for coordinate conversion and data storage management; The screening results of the coordinate conversion and data storage management are processed to generate coordinate conversion and data storage management information.
6. The method according to claim 1, wherein Based on system performance information, coordinate conversion and data storage management information and control point generation and management information are processed to generate data processing and drawing efficiency improvement strategy information, including: Perform feature extraction on the computing speed, storage capacity, and graphics processing capability information in the system performance information to generate data processing speed features, data storage capability features, and graphics rendering performance features; Perform feature extraction on the coordinate conversion complexity, data storage format compatibility, and data parsing efficiency information in the coordinate conversion and data storage management information to generate coordinate conversion difficulty features, storage format adaptation features, and data parsing speed features; Perform feature extraction on the control point generation frequency, control point topology complexity, and real-time update response speed information in the control point generation and management information to generate control point generation efficiency features, topology complexity features, and update response performance features; Integrate the data processing speed characteristics, data storage capacity characteristics, graphics rendering performance characteristics, coordinate conversion difficulty characteristics, storage format adaptation characteristics, data parsing speed characteristics, control point generation efficiency characteristics, topological structure complexity characteristics, and update response performance characteristics to generate comprehensive performance impact characteristics; Analyze the characteristics that affect comprehensive performance, generate data processing strategy adjustments and draw process optimization plans based on different feature combinations; Integrate the data processing strategy adjustment direction and drawing process optimization plan to generate data processing and drawing efficiency improvement strategy information.
7. A system for drawing a military symbol of the direction of advance in a three-dimensional electronic sand table, characterized in that: The system comprises: An acquisition module is used to obtain user operation information, geographic coordinate information, drawing requirement information, system performance information and data processing information during the process of drawing military standards on a three-dimensional electronic sand table; The processing module is used to process user operation information and generate control point generation and management information; process drawing demand information and generate military standard drawing shape planning information; process the military standard drawing shape planning information based on system performance information and generate real-time interactive performance optimization features; process geographic coordinate information and data processing information and generate coordinate conversion and data storage management information; process coordinate conversion and data storage management information and control point generation and management information based on system performance information and generate data processing and drawing efficiency improvement strategy information; process real-time interactive performance optimization features and data processing and drawing efficiency improvement strategy information to generate three-dimensional electronic sand table forward direction military standard efficient drawing and data management result information.
8. An electronic device, characterized in that: include: a first processor; and a memory for storing executable instructions of the first processor; The first processor is configured to execute the method for drawing a military symbol of a forward direction in a three-dimensional electronic sandbox according to any one of claims 1 to 6 by executing the executable instructions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the second processor, the method for drawing a military symbol of the advancing direction in a three-dimensional electronic sand table according to any one of claims 1 to 6 is implemented.