A method and system for processing and applying task execution environment simulation data
Through the task execution environment simulation data connection processing method and system, the problems of data diversity and information islands are solved, the standardization and efficient management of data are realized, and the use value of data and the efficiency of joint training simulation activities are improved.
Patent Information
- Application Number
- CN202410923333.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Task execution environment data has various data formats, multiple versions, large quantities, and scattered storage, resulting in high data error rates, difficulty in retrieval, and information islands, which reduces the validity and use value of the data and affects joint training simulation activities.
Provide a task execution environment simulation data connection processing method and system to achieve unified cataloging and management of data through data access inspection, format conversion, projection conversion, quality inspection, standardization processing, metadata generation and multi-scale processing.
It improves data processing efficiency, realizes data standardization, processization, and semi-automation, breaks data information barriers, and supports the efficient operation of complex tasks and the sharing and reuse of data resources.
Smart Images

Figure CN118467620B
Abstract
Description
Technical Field
[0001] The present application relates to the field of simulation technology, and in particular to a method and system for processing and applying task execution environment simulation data. Background Art
[0002] With the popularization, diversification and expansion of the application of simulation systems in the field of mission execution, the training simulation platform presents the characteristics of large data resource demand, intensive computing, and enhanced multi-professional collaboration. The mission execution environment has a large spatial range and is a multi-dimensional structure composed of land, sea, air, and space. The mission execution environment is complex and diverse, and the mission execution environment data comes from various heterogeneous information sources, resulting in diverse data formats, numerous versions, large quantities, and decentralized storage. In the absence of unified management, the mission execution environment data has a high error rate, is difficult to retrieve, and is even lost. In addition, the existing data resources cannot be shared and reused, and the problem of information islands is prominent, which reduces the effectiveness and use value of the mission execution environment data and has a negative impact on the entire joint training simulation activities.
[0003] The importance of task execution environment data for training simulation is self-evident. Following unified standards and specifications to aggregate and process task execution environment data, breaking down data information barriers, achieving broader, deeper, and faster data organization and integration, and supporting the efficient operation of complex training simulation tasks are important issues that need to be addressed in the current construction of joint training simulation platforms. Summary of the invention
[0004] Based on this, it is necessary to provide a method and system for task execution environment simulation data connection processing application to address the above technical issues.
[0005] A method for processing an application of task execution environment simulation data, the method comprising:
[0006] The raw data of several types of environmental domains related to the execution of tasks are connected to the system and checked;
[0007] After the access check is completed, the format of the original data that does not meet the storage conditions is converted; specifically, it includes: realizing the conversion between vector / raster data formats through data import / export operations, and realizing the national military standard batch conversion through national military standard conversion plan management and conversion template management;
[0008] After completing the format conversion, perform projection conversion on data that does not conform to the data standard geographic reference specifications;
[0009] After completing the projection conversion, perform a quality check on the data;
[0010] After completing the quality check, the data is standardized;
[0011] After completing the standardization process, extract the multivariate attributes of various environmental domain data, and build an environmental metadata set based on a unified organizational model based on a unified time benchmark and multivariate spatial benchmark;
[0012] Based on the various environmental domain data that have been standardized and the metadata in the environmental metadata set, multi-scale processing is performed;
[0013] All kinds of environmental domain data that have completed standardization processing and the results of multi-scale processing are stored in the database and cataloged in a unified manner.
[0014] A system for task execution environment simulation data connection processing application, the system comprising:
[0015] A data access check module is used to access the original data of several types of environment domains related to the execution of tasks into the system and perform checks;
[0016] The format conversion module is used to convert the format of the original data that does not meet the storage conditions after the access inspection is completed; specifically, it includes: realizing the conversion between vector and raster data formats through data import / export operations, and realizing the national military standard batch conversion through the national military standard conversion plan management and conversion template management;
[0017] The projection conversion module is used to perform projection conversion on data that does not conform to the data standard geographic reference specification after completing the format conversion;
[0018] The quality check module is used to check the quality of the data after completing the projection conversion;
[0019] The standardization processing module is used to standardize the data after completing the quality inspection;
[0020] The metadata generation module is used to extract the multivariate attributes of various environmental domain data after completing the standardization process, and to construct an environmental metadata set based on a unified organizational model based on a unified time reference and multivariate spatial reference;
[0021] A multi-scale processing module, used for performing multi-scale processing based on various environmental domain data that have completed the standardization processing and metadata in the environmental metadata set;
[0022] The data unified cataloging module is used to store and uniformly catalog various environmental domain data that have completed standardized processing and the results of multi-scale processing.
[0023] The above-mentioned method and system for the application of task execution environment simulation data connection and processing, the present invention integrates the process of environment simulation data connection and processing, performs data access inspection, format conversion, projection transformation, quality inspection, standardization processing, metadata generation, and multi-scale processing in accordance with the requirements of national military standard data, forms a unified data catalog, realizes standardized, streamlined, and semi-automated processing of environment simulation data, improves data processing efficiency, and realizes the management of task execution environment information. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flowchart of a method for processing application of task execution environment simulation data in one embodiment;
[0025] Figure 2 A data resource directory structure in one embodiment;
[0026] Figure 3 Schematic diagram of the “tile clipping” function in one embodiment. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] In one embodiment, Figure 1 As shown, a method for processing an application of task execution environment simulation data is provided, comprising the following steps:
[0029] Step 102: raw data of several types of environment domains related to the execution of the task are connected to the system and checked.
[0030] The data of the task execution environment has the characteristics of diverse formats and huge data. It is necessary to connect the original data of different environmental domains to the system in an offline copy mode to check the integrity and availability of the original data. Taking six types of environmental domains (geographic space, meteorological ocean, space environment, near space, electromagnetic environment, and nuclear, biological and chemical) as an example: the specific steps include:
[0031] (1) Check the access to geospatial environment data: offline access to DLG (military exchange format), DEM (tiff, egc, etc.), DOM (tiff, etc.), DSM (tiff, etc.), and 3D model data (*.obj, *.dae, *.osgb, etc.), and perform integrity and availability checks on the data.
[0032] (2) Check the access to meteorological and marine environmental data: offline access to meteorological data from ground observation stations (.txt format), meteorological data from high-altitude detection stations (.txt format), meteorological background field data (.grd), ocean station data (.dat format), and training field data (.nc format), and perform data integrity and availability checks.
[0033] (3) Check on the access to space environment data: offline access to ionospheric GNSS observation data, GNSS navigation data, solar F10.7 observations, geomagnetic AP index observations, interplanetary solar wind speed monitoring data, interplanetary southward magnetic field component monitoring data, station foF2 historical observations, historical event database, solar X-ray flux monitoring data, orbital high-energy proton flux monitoring data, geomagnetic Kp index monitoring data, high-energy electron flux monitoring data, solar X-ray flux monitoring data, orbital high-energy proton flux monitoring data, orbital high-energy electron flux monitoring data, station geomagnetic three-component monitoring data, solar F10.7 historical observations, geomagnetic Ap index historical observations and other space environment data, and check the integrity and availability of the data.
[0034] (4) Near-space environment data access check: offline access to near-space data such as atmospheric temperature, total density, nitrogen density, oxygen density, argon density, and air pressure, and check the integrity and availability of the data.
[0035] (5) Check the access to electromagnetic environment data: offline access to electromagnetic spectrum data, geographic data related to the electromagnetic environment (static DEM, DSM) and other electromagnetic environment data, and perform integrity and availability checks on the data.
[0036] (6) Check on access to nuclear, biological and chemical environmental data: offline access to meteorological background fields, ground observations and high-altitude observation data required for nuclear, biological and chemical model calculations, and check on the integrity and availability of the data.
[0037] Step 104: After the access check is completed, the format of the original data that does not meet the storage conditions is converted.
[0038] After the access check is completed, for data that meets the storage conditions, you can directly execute the step "Metadata Generation".
[0039] Format conversion specifically includes: realizing vector / raster data format conversion through data import / export operations, and realizing national military standard batch conversion through national military standard conversion plan management and conversion template management.
[0040] Step 106, after the format conversion is completed, projection conversion is performed on the data that does not conform to the data standard geographic reference specification.
[0041] Step 108, after completing the projection conversion, perform a quality check on the data.
[0042] Step 110, after completing the quality check, the data is standardized.
[0043] Standardize the raw data of several types of environmental domains in the task execution environment, such as: standardization of geospatial data and standardization of data in other environmental domains such as meteorology and oceanography.
[0044] The standardized processing of geospatial data includes map splicing and engineering clipping, which integrates data production and data application to form a standardized and streamlined processing process, and realizes semi-automatic and visual efficient processing.
[0045] Step 112, after completing the standardization process, extract the multivariate attributes of various environmental domain data, and construct an environmental metadata set based on a unified organizational model based on a unified time reference and a multivariate spatial reference.
[0046] Unified time base: Time is based on the time of a certain place. For example, the data production time in metadata information is based on Beijing time.
[0047] Multivariate spatial datum: Data from various spatial reference systems are ultimately converted to Gaussian 2000 geodetic or other coordinate systems for storage.
[0048] Step 114, performing multi-scale processing based on the various types of environmental domain data that have completed the standardization processing and the metadata in the environmental metadata set.
[0049] Step 116, data storage and unified cataloging of various environmental domain data that have completed the standardized processing and the results of multi-scale processing.
[0050] The library refers to the task execution environment database, which includes the processed data of several environment domains, the generated metadata, and the data corresponding to the multi-scale processing results, that is, it contains data entities and metadata. The data entities are stored in the corresponding environment domains in the environment database, and the metadata are stored in the metadata domain in the environment database.
[0051] Take the data storage and unified cataloging of the original data of six environmental domains to form a data resource directory covering geographic space environment, meteorological and marine environment, space environment, near-space environment, electromagnetic environment, and nuclear, biological and chemical environment as an example. Figure 2 Shown is the data resource directory structure.
[0052] (1) Generate a first-level catalog according to the environmental domain type, including geographic environment, meteorological ocean, space environment, near-space environment, electromagnetic environment, and nuclear, biological and chemical environment data;
[0053] (2) Geographic environment data: divided into secondary catalogs according to scale, including 1:50,000, 1:100,000, and 1:250,000; divided into tertiary catalogs according to product classification, including DLG, DOM, DEM, DSM, and TILE;
[0054] (3) Meteorological and marine environmental data, divided into two levels according to business types, including meteorological environment, underwater three-dimensional environment, etc.;
[0055] (4) Space environment data, divided into two sub-directories according to business types, including proton event-high-energy electron burst data, geomagnetic storm data, X-ray flare data, Ap data, and F10.7 data;
[0056] (5) Near-space environment data, divided into two sub-directories according to business types, including TIMED\SABER observation data, SSWC_MERRA2, etc.;
[0057] (6) Electromagnetic environment data, divided into secondary directories according to business types, including electromagnetic map data, etc.;
[0058] (7) Nuclear, biological and chemical data: divided into secondary directories according to business types, including meteorological driven field data, etc.
[0059] In one embodiment, vector / raster data format conversion is achieved through data import / export operations, including:
[0060] Select the data to be imported, such as MapGIS 6x data / MapGIS GDB data / tabular data / external data / military standard data (version 04), select the target library, call the format conversion algorithm API, and perform the conversion import; select the data to be exported, such as MapGIS 6x data / MapGIS GDB data / tabular data / external data / military standard data (version 04) / Excel data, set the export format and export location, call the format conversion processing algorithm API, and perform the conversion export. Among them, the vector / raster data format conversion includes: vector data format conversion and raster data format conversion; vector data format conversion refers to the conversion between different formats of vector data, and raster data format conversion refers to the conversion between different formats of raster data. It can be understood that after format A is converted to format B, the original format A still exists, so after the format conversion, the scale of both data is expanded.
[0061] In one embodiment, batch conversion of national military standards is achieved through national military standard conversion scheme management and conversion template management, including:
[0062] 1) The management of the national military standard conversion scheme includes: customizing several scales; each scale corresponds to a set of national military standard conversion schemes; each scale includes a national standard data preprocessing module, a national military standard conversion module, and a military standard data processing module; the national military standard data conversion relies on the national military standard conversion scheme to achieve, and the scheme settings can be set in the function window during conversion, or they can be set before the conversion function is used. The conversion scheme system already has a set of default configuration schemes, classified by scale, including 1:10,000, 1:50,000, 1:250,000, 1:500,000, 1:1 million, etc., and supports custom scales.
[0063] Among them, the national standard data preprocessing module is used to configure whether to process basic data errors in batches;
[0064] The National Military Standard Conversion Module is used to configure whether to process the basic errors of the National Military Standard conversion in batches;
[0065] The above basic errors refer to the correctness and completeness of data attributes, fields, etc.
[0066] The military standard data processing module is used to configure whether to perform coded attribute field maintenance (such as distinguishing parking lots and service areas, judging waterfalls, distinguishing agriculture, forestry, animal husbandry and fishery farms, distinguishing underground river entrances, distinguishing narrow forest belts with trees, converting vacant land to feature background surfaces, and converting urban branch roads to streets), name attribute field maintenance (such as adding a reservoir suffix to the reservoir name, removing the street office suffix, ensuring that the railway station name is "station", ensuring that the last word of the railway name is "line", and standardizing the name of highway bridges), feature generation (generating feature background surfaces, automatically generating annotations, and generating the logical center of circular residential areas), feature deletion (such as deleting elevation points that overlap with independent features, deleting cave dwellings that overlap with chimneys, deleting independent houses that overlap with temples and gas stations, deleting water turbines that overlap with water towers, deleting trees in blocks, deleting downspout houses, deleting redundant annotations, deleting annotations with the same name, attaching annotations, deleting road feature annotations, and deleting pipeline feature annotations), geometry maintenance (such as : Correction of geometric position of road cutting, processing of proximity between nature reserve and boundary area, clipping of county roads at county boundary, clipping of provincial roads at provincial boundary, clipping of residential areas at boundary, processing of discontinuity of pipelines passing through blocks), attribute maintenance (such as maintenance of administrative code of nature reserve, maintenance of administrative code of residential area, maintenance of road number, maintenance of road attachment number, maintenance of road type, other, maintenance of contour graphic features, modification of steep slope elevation), topology maintenance (such as line and surface topology maintenance, generation of forced closed lines of map edges, forced closed lines of land class boundaries to map classes, river topology maintenance, overlapping processing of nature reserve boundaries and boundary lines, connection of roads with the same attributes), standardization (such as correction of online attachments, synchronization of annotation text content according to the name field, symbolization, adjustment of annotation size). It can be understood that standardization here is the data processing in the conversion process, and the standardization processing of step 110 in the technical solution is splicing and clipping processing; after the parameter settings are complete and confirmed to be correct, start importing and converting.
[0067] The setting items in each of the above modules can be configured by checking whether the item is processed. The execution functions of the above three modules can be understood as progressive, or as three types of processing that need to be done during the conversion process. First, basic error processing of national standard data is performed, then basic error processing of national and military standard conversion is performed, and finally the converted military standard data is processed.
[0068] 2) Conversion template management specifically includes: obtaining the pre-built national military standard template library; the national military standard template library is divided according to scale; each scale includes military standard templates and public templates. Specifically including military standard templates (military standard metadata information table, military standard element layer information table, military standard topology information table, military standard attribute information table), public templates (geometry type information table, annotation deletion mark type information table, directed point direction type information table, field type information table, data security description table).
[0069] Manage conversion templates for converting national standard data into military standard data, and support browsing and editing of templates.
[0070] Under the "National Military Standard Conversion (Current Military Standard Version 04)" menu, click "National Military Standard Conversion Template Management" to pop up the "National Military Standard Conversion Template Management" interface, where you can directly perform editing operations under each template.
[0071] The national military standard template library is divided according to scale, including 1:10,000, 1:50,000, 1:250,000, 1:500,000, and 1:1,000,000. Each scale includes military standard templates and public templates, and the templates can be browsed and edited.
[0072] 3) The batch conversion of national and military standards specifically includes: adding national standard projects to be converted, setting the path of military standard projects, selecting national and military standard conversion templates, and automatically converting national standard projects into military standard projects in batches.
[0073] The specific operations are: click "National and Military Standard Project Conversion", add the national standard project to be converted, set the military standard project path, select the conversion template, click "Convert", and the system will automatically convert the national standard project into military standard projects in batches.
[0074] It is worth noting that the conversion scheme is the processing scheme in the conversion process, and the conversion template is the result template after the conversion. The conversion scheme can be configured by checking according to the specific data situation; the conversion template can also be configured, but in actual use, it is usually set up in the early stage and does not need to be configured again. The "national military standard" of the Chinese military standard conversion in the present invention can be understood as the conversion of the national standard to the military standard, and does not refer to a certain data type.
[0075] In summary, this embodiment performs the step "data format conversion" for environmental domain data that does not meet the conditions. Through data import / export operations, more than 10 types of vector grating data formats can be converted to each other; the batch conversion of national military standard data improves the problem that the previous data conversion requires multiple operations and low conversion efficiency. By configuring the national military standard conversion plan and setting the conversion template to perform batch conversion, the customized and batch operation of national military standard data conversion can be realized.
[0076] In one embodiment, projection conversion is performed on data that does not conform to the data standard geographic reference specification, including:
[0077] For vector / raster data that does not conform to the data standard georeference specifications, projection conversion is performed, including:
[0078] Select the data to be converted and read the projection coordinate system information, including: projection type, projection easting, projection northing, central meridian, and projection origin latitude;
[0079] Set the destination reference system, choose a save location, and define geographic transformation parameters;
[0080] The projection transformation algorithm API is called based on the target reference system and geographic transformation parameters to perform projection transformation processing.
[0081] The system can use dynamic projection to support the application of data in different spatial reference systems in the same data set. Without changing the original data projection, by setting the spatial reference system, data stored in different spatial reference systems (different coordinate systems) can be displayed in the same reference system view, and can support query, browsing, analysis, output and other operations between different spatial reference systems. Among them, "the set target reference system" and "the same reference system view" both refer to the reference system that is finally displayed.
[0082] For map engineering data that does not conform to the data standard geographic reference specifications, projection conversion is performed, including:
[0083] If a map project contains multiple data that do not conform to the data standard geographic reference specifications, batch processing can be performed through project projection processing, setting the destination reference system and conversion parameters, such as: converting the data under the project to the 2000 geodetic coordinate system.
[0084] 1) There are multiple data under a map project. When performing project projection processing, the system selects all data under the project by default, and no manual selection is required. This function is for map projects;
[0085] 2) Vector / raster projection can be used for single point projection or batch projection, targeting single or multiple data, rather than map engineering.
[0086] In one embodiment, the data is subjected to a quality check, including:
[0087] According to the data access standards, the quality of simulation basic environment data provided by the third party is checked. The system provides a check rule library, supports configuration of check methods, and flexibly customizes check rules and types. The check content covers attribute checks and spatial checks of vector data and raster data.
[0088] Perform a quality check on routine data. The specific steps are as follows:
[0089] Configure the quality inspection plan, configure the reference system, attribute structure, attribute value, point space, line space, area space, and Obj model in the inspection rule library; load the configured quality inspection plan for viewing; view the inspection results for specific inspection items and display them in the form of a notepad;
[0090] Attribute check: Select the layer to be checked and check whether the attribute structure and attribute value of the elements in it are consistent;
[0091] Spatial topology check: select two layers to be checked, set topology check rules and tolerance parameters, and perform topology check;
[0092] The specific steps for quality inspection of military standard data are as follows:
[0093] Attribute check: perform attribute check on a certain layer and view the check result of a certain field under the layer;
[0094] Space Check:
[0095] 1) Set tolerance parameters to perform basic error checks on face edges;
[0096] 2) Set tolerance parameters and perform line and surface topology checks;
[0097] 3) Configure the data inspection plan to check the reference system, attribute structure, attribute value, point space, line space, area space, and Obj model of the military standard data.
[0098] The quality of military standard data is checked, mainly including data and structure correctness check, integrity check, attribute accuracy check, element accuracy check and logical consistency check.
[0099] The specific steps are as follows:
[0100] (1)Configure the inspection plan
[0101] You can customize the inspection plan according to your needs. You can create a new inspection plan, add groups, add inspection items, set inspection rules, and save after the configuration is completed.
[0102] (2) Loading inspection plan
[0103] Add the inspection scheme file in XML format.
[0104] (3) Check the checkbox / Check all
[0105] In the Quality Check window, click the Check Tick Items button or click the Check All button, the system will perform a quality check on the tick items and pop up a quality check result table.
[0106] (4) Check the inspection results
[0107] Double-click any data in the table, the system will jump to the data location in the view and highlight the data in the center.
[0108] Military standard special inspection targets military exchange format data and conducts detailed special inspections in accordance with national military standards. The inspection content and inspection items are more detailed. Routine inspection targets all formats of data and conducts routine inspections. The data types and inspection items are different, but the inspection sequence and process are basically the same. According to the specific data quality inspection requirements, the absolute or relative differences between the data are calculated by comparing the differences between the data.
[0109] In one embodiment, the data is standardized, including:
[0110] Standardized processing of geospatial data includes map splicing and engineering clipping; among them:
[0111] Image stitching includes:
[0112] 1) Add a splicing task to splice the military standard exchange format data of the standard map; click the splicing task management node, select "Add splicing task (map)", select the exchange format data and add it, and you can open the splicing view for preview.
[0113] 2) Edge check: Perform edge check on the military standard exchange format data to check whether the line data of adjacent drawings meet the edge requirements; in the edge result table, automatic edge, manual edge, and line point editing operations are supported.
[0114] 3) Data stitching: After the edge inspection is passed, the data (map / operation project) is extracted through the edge stitching, and the military map data is stitched into non-framing complete data for data stitching preparation in the mission execution area.
[0115] Project clipping is used for clipping military standard data (military standard data imported by creating a new operation project). The clipping box is interactively input on the map, including: 1) creating a new operation project, importing military standard data, and determining the clipping range by dragging the box or interactively drawing a polygon; 2) setting the clipping type, tolerance radius, attributes, and polygon coordinate parameters, and executing clipping; 3) after clipping is completed, perform a quality check on the data until the data quality meets the requirements.
[0116] The standardized processing steps for meteorological ocean, space environment, near space, electromagnetic environment and nuclear, biological and chemical environment domain data are as follows: copy offline data to the database server, extract data content through the front-end BS mode and back-end analysis to generate metadata and store it in the database. Here are the processing steps designed for meteorological ocean and other environmental domain data, which have the characteristics of real-time and large data volume.
[0117] There are two types of metadata for task execution environment data: (1) Professional metadata, which is the metadata of the military exchange format data itself. Professional metadata is the data description data that comes with the military exchange format data. In the military exchange format data, the file suffix is SMS. When the data is imported, a professional metadata file will be generated. The content of professional metadata mainly includes product production unit, product generation date, product update date, reference drawing number, reference element classification code number, drawing number, drawing name, map height interval, scale denominator, map outline corner point, map reference information, data source, original map information, map quality, map combination type, political area description, total number of layers, layer information, and will be generated according to these contents when exporting. (2) General metadata, some descriptive information defined for the data, which needs to be recorded and saved. Metadata needs to be set when importing military standard engineering data. The metadata content mainly includes product name, subject classification, subject classification, keywords, generation time, owner, minimum longitude, maximum longitude, minimum latitude, maximum latitude, version number, year, scale, whether to divide into layers, map number, summary description field content, etc. By default, these fields obtain the minimum and maximum longitude and latitude, scale, map sheet number, etc. The original military exchange data directory is imported, and the metadata content is extracted and edited. The algorithm supports automatic reading of the minimum and maximum longitude and latitude, scale, map sheet number and other metadata.
[0118] In one embodiment, the multivariate attributes of various environmental domain data are extracted, and based on the unified time reference and multivariate spatial reference, an environmental metadata set based on a unified organizational model is constructed, including:
[0119] Metadata template design: By analyzing the original data of various task execution environments, the original data is collected and analyzed, and metadata templates that meet the general requirements of geographic environment data products and data formats are designed to enter and store metadata in the corresponding format according to the template.
[0120] 1) Open the template management module, and the program automatically loads and parses the metadata template configuration file;
[0121] 2) Read the metadata template configuration file content and display the metadata template information in the form of a directory tree;
[0122] 3) Design the structure of each item in the metadata template with reference to relevant data specifications (such as national standard data specifications, 04 version military standard data specifications), and classify and enter the data specification content in the list in the metadata template in a visual way and save it in the metadata template file; among them, the items refer to the military standard template, international template and public template; the list refers to the list in each type of metadata template, such as resource name information, English name information, subject classification information, keyword information, generation time information, etc. It is worth noting that the military standard template and public template in the metadata template are only for metadata information, which is different from the military standard template and public template in the national military standard conversion template.
[0123] In addition, a metadata template information reading and writing interface can be developed to read and write professional metadata, layer feature information, topology information, attribute information, geometry information, field type information, etc. according to scale and template type, and realize metadata template design configuration. The general metadata template is determined according to the engineering standard. The template is not edited and configured, and the template information is not read and updated. After the xml is updated, the professional metadata template is updated through the interface. This is for the metadata template, not the metadata content itself.
[0124] Metadata information extraction, based on the classification of various environmental domain metadata and the analysis of metadata information sources, extracts the necessary information data that can automatically save and generate metadata:
[0125] 1) For data in the geographic space environment domain, including 04 military standard data and raster data of geographic data:
[0126] Read and parse the professional metadata files (including drawing name, drawing number, scale, corner points of drawing outline, layer information, etc.) in the military standard data directory, extract metadata values according to the rules based on the metadata template content, and fill them in the metadata interface to be stored for display;
[0127] Read and parse the common metadata of raster data (including resolution, range, product name, etc.), automatically extract it in the raster data storage module, and fill it in the metadata interface to be stored for display;
[0128] 2) Analyze and extract data in meteorological ocean, nuclear, biological and chemical, electromagnetic environment, near space and space environment domains;
[0129] Metadata Population:
[0130] Fill the values of each domain or field of the extracted metadata into the corresponding metadata domain.
[0131] 1) Obtain metadata field information of the associated data or manually filled metadata or automatically extracted metadata from the metadata extraction module; the associated data refers to the currently opened data. The purpose of step 1) is to obtain metadata for inserting into the metadata domain in step 2).
[0132] 2) Insert the public metadata information of the original data product into the metadata domain.
[0133] 3) For 04 military standard data, the professional metadata extracted by parsing is updated to the metadata object class table of the military standard operation project. The military standard operation project is data under the geographical environment domain; the metadata object class table is a temporary storage state in the early stage, storing professional metadata information; after a series of processing, the professional metadata extracted by parsing is updated to the original metadata object class table, that is, stored in the current metadata domain. "Metadata object class table" and "metadata domain" are two storage states before and after data processing.
[0134] 4) The metadata update successfully inserts the feedback into the status.
[0135] After the metadata of the task execution environment is stored in the database, a metadata editing tool is provided to edit the metadata information and ensure the correctness of the metadata. The metadata structure is intuitively displayed through the element tree to assist data producers in generating standardized metadata documents, and users are guided to complete structural editing operations such as adding, deleting, and replacing elements according to the specified metadata standards, and prompt whether the element content meets the value range restrictions. a) Select the metadata of the task execution environment data to be edited; b) Modify the metadata information, save and update it in the database; c) Feedback the editing results.
[0136] In one embodiment, multi-scale processing is performed based on various types of environmental domain data that have completed standardization processing and metadata in the environmental metadata set, including:
[0137] Produce various vector maps, raster slice maps, multi-resolution image pyramid data and elevation maps suitable for application needs. The data used for multi-scale processing is geospatial environment domain data. Each type of environment domain data contains data entities (that is, data that meets the requirements for storage) + metadata. The specific steps are as follows:
[0138] 1. Create two-dimensional vector tile data (two-dimensional vector tile data is a type of data that constitutes a vector map) based on the geographic space environment domain data in the task execution environment database, and enhance the front-end drawing effect based on the vector product direction theory; in addition to supporting Mercator projection and geographic coordinates, it also expands the Gaussian local projection coordinate system; establish an adaptive index for vector tiles, use the Douglas Peucker algorithm to thin and simplify vector data, and perform distributed parallel clipping of vector tile data. Vector tiles are stored in the form of VTDF (tdf), Mongo DB, and file directories to achieve high compression and small space usage, reduce network bandwidth consumption, and achieve efficient transmission; provide vector tile data production functions with scales of 1:50,000, 1:250,000, 1:500,000, and 1:1 million.
[0139] Vector tile production process:
[0140] (1) Data preprocessing
[0141] 1) Vector product direction
[0142] The OGC standard is used to unify the different scripts of mapbox, openlayers, and leaflet to ensure that the vector product direction is not missing, identify the vector geometric model of the OGC standard, and achieve better front-end drawing effects.
[0143] 2) Projection transformation
[0144] The projection transformation transforms the original coordinate system of the vector tile. The original data coordinate system of the vector tile is the 2000 Chinese Geodetic Coordinate System, which supports Mercator projection, geographic coordinates, and Gaussian local projection.
[0145] (2) Create an index
[0146] Create an index to generate vector tiles, and count the point density of the original data in the form of a grid. The index of vector tiles is divided into full-map index and smart index. It supports the overlay of layers such as MapGIS, MapBox, and ArcGIS Online.
[0147] 1) Full-graph index
[0148] The full-map index is a traditional raster tile index architecture that divides the range of all vector tile data into grids from top to bottom according to the tile pyramid structure.
[0149] 2) Smart Indexing
[0150] Intelligent indexing will generate corresponding index grids based on the data form. The grid divisions will be finer in areas with dense data and larger in areas with sparse data.
[0151] (3) Data simplification
[0152] The corresponding data simplification is performed for the primitives whose data display is less than one pixel. The Douglas Peucker algorithm is used to control the threshold value, retain the key points while ensuring the outline of the graphics, and remove some invalid points to simplify the graphics.
[0153] The Douglas Peucker algorithm is used for data simplification. Through threshold control, key points are retained while ensuring the outline of the graphic, and some invalid points are eliminated to simplify the graphic.
[0154] (4) Data trimming
[0155] In order to meet the mapping needs of users in different environments, two cropping methods are provided: single-machine cropping and distributed cropping, supporting vector tile data cropping of the 2000 Chinese geodetic coordinate system and Mercator projection.
[0156] Provides vector tile data clipping of 2000 China Geodetic Coordinate System and Mercator projection.
[0157] The cutting settings are made by configuring various advanced parameters as needed, including: parameter templates (all over China, provinces, cities, land type patches), thinning parameters (line thinning threshold, line thinning weight, district thinning threshold, district thinning weight), filtering parameters (number of point filters, line filter length, district filter perimeter, district filter area), number of slicing threads, etc.
[0158] (5) Data compression
[0159] The key to vector tile compression is to simplify the attribute key-value pairs and compress the bit operations of spatial geometric information. Vector tiles are compressed twice: the first is the data precision compression of the MVT format, and the second is the data compression of the PBF format. The size of vector tiles has a higher compression ratio than the traditional vector format, which facilitates data transmission.
[0160] 1) MVT specifies a space-saving vector tile data encoding format. This format is used for efficient rendering or query of feature information on the client or server.
[0161] 2) PBF: Vector tile files are encoded using Google Protocol Buffers, a data serialization format that is compatible with multiple languages, multiple platforms, and is easily extensible.
[0162] (6) Data storage
[0163] Vector tile files are stored in the following forms: VTDF (tdf), Mongo DB, and file directories. VTDF (tdf) and MongoDB are stored in the form of "metadata + pyramid", and file directories are stored in the form of "GeoJSON + pyramid" structure.
[0164] Vector tile clipping steps:
[0165] 1. Electronic map illustration
[0166] When MapGIS vector tiles are cropped, the map document's illustration information can be directly retained, including the organizational structure of the data layer, visible display scale range, display style and other information.
[0167] Users can configure the display effect of the map on the MapGIS desktop. After clipping to vector tiles, the vector tiles contain the map effect. At the same time, after clipping to vector tiles, users can configure the map display effect when displaying vector tiles on the Web.
[0168] (II) Creating an index
[0169] MapGIS vector tile clipping supports two modes: "full clipping mode" and "index clipping mode".
[0170] (1) Full crop mode
[0171] In full clipping mode, all grids within the coverage of the electronic map should generate a vector tile file, and the grids should be evenly distributed.
[0172] (2) Index cropping mode
[0173] When dividing the index grid, the amount of data in the source electronic map in each grid is counted. When the amount of data is less than the threshold, the grid will no longer be divided by four forks at the next level. Therefore, the construction of the index grid is related to the amount of map data. The denser the data volume, the denser the index grid.
[0174] Instructions
[0175] 1. Start the vector tile cropping function and a dialog box for creating vector tiles will pop up.
[0176] [Select Map]: You can use the drop-down box to select the electronic map in the current document. The name of this map is the name of the folder where the vector tile storage results are stored.
[0177] [Output tile index area feature class]: Select the storage directory of the result tile index area. If the user already has an index area, this can be left blank.
[0178] [Support overlay of MapGIS IGServer|MapBox|ArcGIS Online]: When checked, "Web Mercator" is used.
[0179] [Crop Mode]: Supports full crop mode and smart crop mode.
[0180] [Slice Strategy]: Supports Web Mercator and latitude and longitude.
[0181] Note: If the coordinate system settings are inconsistent, a prompt dialog box will pop up.
[0182] [Maximum number of vertices]: You can set the maximum number of vertices. When generating the index, it will be based on this number.
[0183] [Minimum Visible Level]: Set the minimum visible level of the tile.
[0184] [Maximum Visible Level]: Set the maximum visible level of the tile.
[0185] 2. Click Next to set up vector clipping:
[0186] [Output File]: Tiles can be output in local muvt or vtdf format, MongoDB storage, and directory file format.
[0187] [Output illustration file]: Set the storage path and name of the map illustration style json file.
[0188] [Minimum tile level / Maximum tile level] sets the vector tile clipping level range.
[0189] [Index Area Feature Class]: Select the generated index area feature class. If the index area is generated in the previous step, this will be automatically filled in.
[0190] [Advanced]: All advanced parameters are as follows:
[0191] 3. After the settings are completed, click Next to set additional cropping items, set the cropping range and other parameters.
[0192] [Tile clipping range]: The tile clipping range can be selected from the map range and the self-filled range. The self-filled range can be determined by importing the range and selecting the range.
[0193] [Other parameter settings]: You can set the global default reserved fields.
[0194] 4. Click Run to start vector tile cropping. After cropping is completed, a pop-up window will pop up to indicate that the cropping is successful.
[0195] 2. Raster tile production (raster tile data is a type of data that constitutes a slice map in raster form): For large amounts of data and large-scale data, first perform mosaic dataset operations, and then produce raster tiles. Specifically: use a large image strategy to draw a large image at a time, and then cut it into multiple 256×256 square images on this basis to improve the efficiency of a single machine; obtain the corresponding mosaic dataset; when producing raster tiles, select the result of the mosaic dataset as the data source.
[0196] Here, the mosaic dataset is used as the input data source for raster tile clipping, which is a technical path to solve the problem of efficient clipping of large amounts of data. The mosaic data dataset manages multiple raster data. The input of raster tiles can also be vector map data. The data source of raster tiles is the data that needs to be produced for raster tiles (can be vector or raster), which belongs to the geographic space environment domain data. The data source for large map drawing refers to the data displayed on the map in the previous "large range, large amount of data".
[0197] Among them, mosaic datasets are used to manage a set of raster data sets stored in the form of a directory and viewed as mosaic images; when raster images are collected, in order to ensure their accuracy, there will usually be a certain overlap between two adjacent raster images. Mosaic datasets are used to efficiently manage framed raster images, and mosaic rules are used to manage the overlapping relationship of source rasters. Managing overlapping relationships is suitable for adjusting the mosaic order and processing overlapping relationships at the edges for data generation. (For example: data A and B are mosaicked, and the intersection is C. Whether area C uses the content of data A or B is handled by managing overlapping relationships). Mosaic rules are determined by mosaic methods and operators. The construction of a multi-resolution image pyramid is the creation of a mosaic dataset.
[0198] When using a mosaic dataset, you must first create an empty mosaic dataset container. During the creation process, the mosaic dataset's attribute information, such as the number of bands, pixel type, and spatial reference system, will be defined. These attribute information are the benchmark information of the mosaic dataset, and all added rasters will be based on this attribute information. [Name]: Set the name of the mosaic dataset. This item is required and cannot be the same as the name of an existing mosaic dataset in the database; [Product Definition]: Define the band information of the mosaic dataset. [Pixel Type]: Define the pixel value type of the mosaic dataset. The system supports 7 types: 8-bit unsigned integer, 16-bit unsigned integer, 16-bit signed integer, 32-bit unsigned integer, 32-bit signed integer, 32-bit floating point, and 64-bit floating point. When the pixel type is the default type, the pixel value type of the mosaic dataset is consistent with the first raster data added. [Spatial Reference System]: Set the spatial reference system information. Set the spatial reference system information for the mosaic dataset. This is a required item and the reference system cannot be empty. The mosaic dataset is displayed with this reference system as the base coordinate. When the spatial reference system of the raster data in the mosaic dataset is inconsistent with this setting, it will be dynamically projected to this reference system for display. Finally, confirm the creation information and click [Finish] to create an empty mosaic dataset.
[0199] You can consider using multiple machines or single machine multi-process to make full use of computer resources and improve the efficiency of map cutting. When browsing graphic information, users can directly browse map slices and perform viewing operations such as moving, zooming in, and zooming out. This reduces the amount of data to be browsed and read, and increases the data browsing rate.
[0200] Specifically, a large picture is drawn according to the map data required. The data range corresponding to the large picture can be calculated according to the available resources of the current computer and can be adjusted dynamically in real time.
[0201] Tile maps are cropped map images and stored in GIF, JPG, PNG, etc. Tile cropping can make the display faster.
[0202] The instructions are as follows:
[0203] 1. Start the "Grid Tile Clipping" function, and the "Tile Clipping" function will pop up, such as Figure 3 As shown:
[0204] Tip: When making tile data, please configure the map data to be cropped first, and ensure that the cropped map has the correct spatial reference system that corresponds to the cropping scale.
[0205] 2. Select the 2D map to be cropped.
[0206] 3. Set the storage path and name of the tile clipping results. Currently, MUT and MongoDB formats are supported. MUT (MapGIS Universal Tiles) tile format is a cross-platform universal tile storage for MapGIS. This tile format does not rely on tile services, is lightweight, easy to migrate and deploy, and has cross-platform features. It can be used across Windows, Linux, desktop, server, and mobile terminals.
[0207] 4. Set the information of tile cropping, mainly setting the cropping strategy, origin coordinates, image parameters, tile levels and corresponding scales, as well as basic cropping information. The parameters that users can set are described as follows:
[0208] [Crop strategy]: used to help determine the scale level of cropping. The available crop strategies are:
[0209] [Custom]: You can manually enter the cropping level and scale information as required;
[0210]
Longitude and Latitude
[0211] The specific scale scheme is as follows:
[0212] [Spherical Mercator]: A commonly used cropping mode for web maps. The spatial reference system of the map must be the Web Mercator projection, otherwise this cropping strategy cannot be used. When the spherical Mercator cropping method is used, the world map is cropped into a 256*256 image at the first level, and into four 256*256 images at the second level, and so on for the following levels.
[0213] The specific scale scheme is shown below.
[0214] [Origin coordinates]: Set the origin of the first cropping grid when cropping a map document. Users can enter the XY value of the upper left corner of the cropping grid in the "Origin coordinates" column to determine the origin coordinates. The default origin is (0, 0);
[0215]
Image Parameters
[0216] [Scale Information]: In the "Scale Information" column, users can set the tile level and the corresponding scale;
[0217] Tip: Similar to the pyramid layers in the raster pyramid, the first level of the tile level has the smallest scale and represents the largest geographic range. As the levels increase, the corresponding scale must be larger than the scale set in the previous level, otherwise an error will be reported during clipping.
[0218] You can add tile levels through the [Add] button on the right side of the "Scale Information" column. The system will calculate the new scale at a ratio of twice the previous scale. In addition, the user can click the scale in the scale column to manually enter a new scale; click the [Delete] button to delete the selected tile level; click the [Default] button, and the "Level Number Settings" dialog box will pop up, where users can set the system default number of levels and the first-level scale.
[0219] [Advanced]: Click the "Advanced" button to pop up the "Other Information" dialog box, where users can set the background color of the cropping grid, the compression ratio of the image (the larger the compression ratio, the less data the tile loses), and some other information about the tile.
[0220] 3. Use the mosaic dataset corresponding to the terrain raster data to construct multi-resolution elevation map data as the terrain data source for generating terrain cache; construct terrain resolution based on terrain range and pixel area after coordinate projection transformation of the terrain data source; calculate quadtree depth based on terrain resolution and scaling factor; split terrain tiles based on quadtree depth; the tiles are sampled from the terrain data source through an N*N array to construct a terrain cache file. The data source of the elevation map is terrain raster data, which belongs to the data in the geographic space environment domain.
[0221] The terrain raster data here and the raster image mentioned above are both raster data, but one is image data and the other is terrain data. Image data does not necessarily contain terrain information.
[0222] [Transparent color / background color]: When outputting a transparent background image format (*.PNG, transparent *.GIF), if there are graphics elements in the data with the same color, these graphics elements will be made transparent in the resulting tile and will not be drawn; when outputting a non-transparent background image format (*.JPG, non-transparent *.GIF), the background color of the resulting tile will be this color.
[0223] [Jpg Image Compression Ratio]: When outputting images as *.JPG, you can set the image compression ratio. The smaller the compression ratio, the smaller the resulting tile data volume, but the greater the loss of tile quality.
[0224] [Is GIF transparent]: When checked, the background of the cropped *.GIF data is transparent; otherwise, the background is opaque.
[0225] [Whether to generate high-quality images]: When checked, the cropped data is drawn with high quality; otherwise, low-quality drawing may cause jagged edges on the polyline. When high-quality drawing is used, the cropping efficiency will be reduced.
[0226]
Import
[0227]
Save
[0228] [Save As]: Save the current grading file as an XML file so that users can quickly apply the grading in other tile cropping.
[0229] 5. Set the tile clipping range and level information.
[0230] [Map Range]: Use the actual map as the cropping range;
[0231] [Self-fill range] Modify the range of map clipping by entering the coordinate values of two corner points;
[0232] [Import Range]: Select a simple feature class or raster data and use the data range as the clipping range.
[0233] 6. Click OK to execute tile cropping. Generally, the higher the cropping level, the more time it takes, and cropping level 1 is the fastest.
[0234] Terrain tiles refer to the terrain cache information of a small area; raster tiles are in image format, while terrain tiles are terrain cache information files consisting of elevation values and coordinate information.
[0235] If the source coordinate system and the destination coordinate system are consistent, the terrain resolution is the resolution of the original data, that is, the horizontal resolution of the dataset. If they are inconsistent, the dataset boundary range is constructed according to the coordinates of the four vertices after conversion, and the terrain resolution is the horizontal resolution, that is, the horizontal square tile coordinates: The segmentation rule of the topographic map tiles in the Heightmap-1.0 format is the global-geodetic rule of the Tile Map Service (TMS). Tile coordinates refer to the row and column numbers of the map tiles divided under the standard TMS tile rule based on the WGS84 longitude and latitude projection. Set parameters: Initial resolution: Each pixel represents the actual size of the geographic area at the initial zoom level.
[0236] ① Initial resolution: The horizontal boundary range of the dataset is divided by the number of tiles at the initial level to get the width of each tile, and then divided by the tile size to get the width of each pixel at the initial zoom level, which is the initial resolution; ② Scaling factor: It can be 2. At this time, the map size is scaled proportionally by 2 from large to small.
[0237] Calculate the logarithmic ratio of the initial resolution and the terrain resolution. The difference between the two represents the multiple of the terrain resolution as the initial resolution. Round the difference up to get the zoom level closest to the terrain resolution, which is the maximum zoom level, that is, the depth of the tile split according to the quadtree.
[0238] Tile coordinates: The segmentation rules of topographic map tiles in Heightmap-1.0 format are the global-geodetic rules of TileMapService (TMS). Tile coordinates refer to the row and column numbers of map tiles divided under the standard TMS tile rules based on WGS84 longitude and latitude projection.
[0239] Set the start zoom level to the maximum zoom level, that is, the quadtree depth, and the end zoom level to 0. Set the coordinate reference system to WGS84. Loop through each zoom level from the end to the start zoom level. For each zoom level, calculate the rectangular range contained in the tile grid, that is, convert the geographic coordinates of the dataset boundary to the corresponding tile coordinates according to the coordinate reference system, that is, first convert the geographic coordinates to pixel coordinates, and then convert them to tile coordinates according to the pixel coordinates. Calculate the width and height of the rectangular range in each zoom level based on the converted tile coordinates, get the number of tiles at each zoom level, and add up all the tiles to get the total number of tiles after segmentation.
[0240] Set the tile size to 65×65, generate the corresponding raster tiles according to the dataset and tile coordinates, read the raster height data of the raster tiles according to the RasterIO() function of GDAL, read the raster data of size 65×65 from the raster tiles, and store it in the buffer.
[0241] Traverse 65×65 times to convert the raster height data of the buffer into the height value of the terrain tile, assuming that the input raster data represents the height relative to sea level (in meters). Each terrain height value represents a value of 1 / 5 meter unit relative to -1000 meters. So add 1000 to the raster height data, multiply by 5, convert the result to the value of the terrain tile data type, and assign it to the terrain tile height value.
[0242] At non-maximum zoom levels, set the sub-tile flags of the current tile and its sub-tiles based on the overlap between the current tile and the dataset boundary. If it exists, it is true; if it does not exist, it is false.
[0243] Because the terrain is land, set it to all land and the water mask to 0.
[0244] The tiles are generated in a loop until the zoom level of the current tile is the end zoom level and the x and y values of the current tile coordinates are both greater than the x and y values of the tile boundary.
[0245] In addition, multi-scale processing also includes image data editing functions, providing image management and processing function modules to realize geometric correction, stitching, data fusion, data cropping and other functions of multi-type massive image data, while providing rich and stable remote sensing image processing algorithms to meet the common professional analysis and processing of remote sensing image data.
[0246] The following takes six types of environmental domain data as an example to further illustrate the specific implementation methods of the present invention.
[0247] Example 1: Geospatial data import and processing
[0248] The geospatial data import operation is to import and process the original data that conforms to the GJB·5068-2004 military digital map vector data model and format (i.e., the 04 version military format). There are two ways to import and process the military format data. The first is to directly import the original tile data without any processing (the data has passed the three-level quality review); the second is to import the original tile data into this system after using various processing tools, and then import the processed standardized data. The vector data for this operation is "NK4905740, NK4905830, NK49056920, NK4907010".
[0249] The following are specific examples.
[0250] For vector data:
[0251] S1. Standard military delivery
[0252] S11. Military trade data storage
[0253] S111. Use the vector data import function under the geospatial data import to import military traffic data;
[0254] S112, select the directory where the data is located, and complete the metadata setting (including resource name, geographic scope, scale, whether it is divided into tiles (must be selected, indicating that the data is standard divided into tiles), and map number information) through automatic extraction by the system and manual editing;
[0255] S113. After the setting is completed, the standard military traffic map data can be imported into the mission execution environment database.
[0256] S12. Mounting resource directory
[0257] Select geospatial environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "whether it is divided into tiles, whether it has been uploaded", and upload them to the task execution environment simulation resource library.
[0258] S2. Military data is processed and stored (cut)
[0259] S21. New construction project
[0260] S211, create a new operation project, select the standard map (specify);
[0261] S212, set the map type, map path, project name, save path, projection coordinate system and other parameters to complete the project creation;
[0262] S22, Military Standard Engineering Cutting
[0263] S221. Perform military standard engineering cutting and set the cutting polygon range by dragging a frame or interactively drawing;
[0264] S222, setting parameters such as clipping element layer, saving path, name, etc., and executing clipping;
[0265] S223. After the cutting is completed, the operation project is opened to perform quality inspection on the cutting results.
[0266] S23. Vector data storage
[0267] Select the layer elements that need to be stored in the database, and complete the metadata settings (resource name, scale, whether to divide into sections, spatial coordinate information, etc.) through automatic extraction and manual editing by the system. After the settings are completed, the data can be imported into the data resource library;
[0268] S24. Mounting resource directory
[0269] Select geospatial environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "whether it is divided into tiles, whether it has been uploaded", and upload them to the task execution environment simulation resource library.
[0270] S3. Military traffic data is processed and stored (joined)
[0271] S31, New construction project
[0272] S311. Create a new "NK4905740" operation project, select the standard map sheet (specified), set the map type, map sheet path, project name, save path, projection coordinate system and other parameters, and complete the project creation;
[0273] S312, repeat step S11, and respectively create the map data operation projects "NK4905830, NK49056920, NK4907010" to be spliced;
[0274] S32, Military Standard Engineering Splicing
[0275] S321, first add a splicing task, and select the created data operation project of the map sheet to be spliced;
[0276] S322, check the edges of the images to be spliced one by one, and after the check is completed, the system displays a list of edge connection results;
[0277] S323. According to the inspection results, use the processing tools provided by the system (① edge inspection, ② automatic edge connection, ③ manual edge connection, ④ topology update surface, ⑤ add point on line, ⑥ delete point on line, ⑦ move point on line, ⑧ parameter design, ⑨ task status, ⑩ ignore all processing tasks) to handle the edge connection problem;
[0278] S324, select the map to be spliced, export the elements, set the saving path, name and other parameters, and perform extraction;
[0279] S325. After the splicing is completed, the operation project "zrh16" is generated, and the operation project is opened to browse the splicing results;
[0280] S33, vector tile generation
[0281] Vector tiles are generated through the vector tile clipping function under multi-scale processing of geographic data.
[0282] S331, Generate vector tile index
[0283] Select the map data "zrh16" stitched in step S325, set the storage directory of the result tile index area, check "Support overlay MapGIS IGServer|MapBox|ArcGIS Online", select full clipping mode (support full clipping mode and smart clipping mode), select web Mercator for slicing strategy (support Web Mercator and latitude and longitude), set the maximum number of vertices to 10000, set the minimum visible level of tiles to 0, and set the maximum visible level of tiles to 10:
[0284] S332, Produce vector tile files
[0285] Set the output file format to muvt file (supports muvt or vtdf format), set the MongoDB storage address, directory file format, and set the storage path and name of the output map illustration style json file;
[0286] S333, make additional cropping settings
[0287] Generate a clipping range based on the current map range (supports self-filling of ranges by importing or selecting a box), and set other parameters to retain the global default fields. After the settings are completed, perform vector tile clipping;
[0288] S334, Publish / Browse Vector Tiles
[0289] Start the vector tile service in MapGIS IGServer, set the tile type to muvt file (supports four formats: VTDF file, MUVT file, mongo vector tile, and directory format), fill in the service name as "zrh16", and execute vector tile publishing; after the publishing is completed, the service list will display this service and preview the publishing results.
[0290] S34, vector data storage
[0291] Select the layer elements that need to be stored in the database, and complete the metadata settings (resource name, scale, whether to divide into sections, spatial coordinate information, etc.) through automatic extraction and manual editing by the system. After the settings are completed, the data can be imported into the data resource library;
[0292] S35, Mounting resource directory
[0293] Select geospatial environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "whether it is divided into tiles, whether it has been uploaded", and upload them to the task execution environment simulation resource library.
[0294] For raster data:
[0295] S1. Grid tile generation
[0296] The raster tiles are generated by the raster tile clipping function under the multi-scale processing of geographic data. The data of this operation is the map data "zrh16" spliced in step S25.
[0297] S11. Configure cropping information
[0298] Set the cropping strategy to custom (supports definition or longitude and latitude), enter the XY value of the upper left corner of the cropping grid as the origin coordinates, set the image format to PNG, the height to 256 pixels, the resolution to 96DPI, the large image size to 1024, and set the tile level and the corresponding scale;
[0299] S12. Configure layer information
[0300] Select the map document "zrh16" to be cropped, set the upper left corner of the map as the coordinate origin, set the level to be previewed to 9, and set the limit level of each layer in the cropping (the starting levels are 1, 3, and 5, and the ending level is 18);
[0301] S13. Configure tile output
[0302] Set the storage format of local tiles to mut (local tile formats support mut, tdf, and mbtiles), set the clipping range to the actual range of the current map (it also supports self-filling of ranges by importing or selecting boxes), and select the clipping method to clip by the starting row of the specified level, set the specified level to 7, the starting line to 0, and the ending line to 20; after the settings are completed, execute clipping, and you can browse after clipping is completed.
[0303] S2. Raster data storage
[0304] S21. Extract and store raster metadata
[0305] S211, adding the tile data "rzh tile data.mut" generated in step S333 through the raster data storage function under the geospatial data storage;
[0306] S212. For the added data, set metadata (resource name, scale, whether it is divided into tiles, spatial coordinate information, etc.) by automatic extraction by the system and manual editing;
[0307] S213. After the settings are completed, the raster data can be imported into the task execution environment database.
[0308] S22. Mounting resource directory
[0309] Select geospatial environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "whether it is divided into tiles, whether it has been uploaded", and upload them to the task execution environment simulation resource library.
[0310] Example 2: Import and process other data such as meteorological and oceanographic data
[0311] S1. Export and processing of meteorological and oceanographic data
[0312] The meteorological and oceanographic data for this operation are the ground observation data in July 2022 (SURF_CHN_MUL_HOR_202207010100.txt-SURF_CHN_MUL_HOR_202207013123.txt).
[0313] S11. Extraction and storage of meteorological and oceanographic data
[0314] By importing meteorological and oceanographic data into the database, check "Ground observation data in July 2022" in the data directory tree and add it to the column of data to be imported. After the addition and setting are completed, the meteorological and oceanographic data can be imported into the mission execution environment database;
[0315] S12. Mounting resource directory
[0316] Select meteorological and oceanographic environmental data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "resource name, keyword, whether uploaded", and upload them to the task execution environment simulation resource library.
[0317] S2. Electromagnetic environment data storage
[0318] The electromagnetic environment data for this operation is "HeNan90m.tif".
[0319] S21. Extract and store electromagnetic environment data
[0320] Through the electromagnetic environment data storage function, add data by uploading locally (selecting a local file) or reading from the server (entering the file path on the server). This operation uses the locally uploaded "HeNan90m.tif" data;
[0321] S22. Mounting resource directory
[0322] Select electromagnetic environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "resource name, keyword, whether uploaded", and upload them to the task execution environment simulation resource library.
[0323] S3. Storage of spatial environment data
[0324] The space environment data for this operation is high-energy electron burst data (OUTPUT.json).
[0325] S31. Extract and store spatial environment data
[0326] By importing spatial environment data into the database, check the data to be imported in the data directory tree and add it to the column of data to be imported. After the addition and setting are completed, the spatial environment data can be imported into the task execution environment database;
[0327] S32, Mounting resource directory
[0328] Select spatial environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "resource name, keyword, whether uploaded", and upload them to the task execution environment simulation resource library.
[0329] S4. Near space data storage
[0330] The space environment data for this operation is the 40th SABER observation data in 2022 ("SABER_L2A_2002040_00938.02.0.nc~SABER_L2A_2002040_00952.02.0.nc").
[0331] S41. Extraction and storage of near-space environment data
[0332] By importing the near-space environment data into the database, check the data to be imported in the data directory tree and add it to the column of data to be imported. After the addition and setting are completed, the space environment data can be imported into the mission execution environment database;
[0333] S42, Mounting resource directory
[0334] Select near-space environment data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "resource name, keyword, whether uploaded", and upload them to the task execution environment simulation resource library.
[0335] S5. Nuclear, biological and chemical data storage
[0336] The NBC data for this operation is the drive field data on July 14, 2022 ("wrfout_d01_2022-07-14_00_00_00~wrfout_d01_2022-07-14_24_00_00").
[0337] S51. Extraction and storage of nuclear, biological and chemical data
[0338] By importing nuclear, biological and chemical data into the database, check the data to be imported in the data directory tree and add it to the column of data to be imported. After the addition and setting are completed, the space environment data can be imported into the mission execution environment database;
[0339] S52, Mounting resource directory
[0340] Select nuclear, biological and chemical data in the mounted resource directory, filter the data products in the task execution environment database by conditions such as "resource name, keyword, whether uploaded", and upload them to the task execution environment simulation resource library.
[0341] In summary, the present invention combines the actual needs of training, adopts data conversion, content splicing and clipping extraction, conducts spatiotemporal association and integration of data resources, completes the objectification and entity of environmental information, and provides spatiotemporal consistent environmental data guarantee support for model calculation, analysis, application and verification in different fields, realizes broader, deeper and faster data organization and combination, forms a "resource map" of the task execution environment, realizes unified cataloging of various data resources, forms a task execution environment data set with training simulation subjects as the theme, and builds the ability of environmental information management with a unified spatiotemporal benchmark.
[0342] In one embodiment, a system for simulating data connection and processing application in a task execution environment is provided, comprising:
[0343] A data access check module is used to access the original data of several types of environment domains related to the execution of tasks into the system and perform checks;
[0344] The format conversion module is used to convert the format of the original data that does not meet the storage conditions after the access inspection is completed; specifically, it includes: realizing the conversion between vector and raster data formats through data import / export operations, and realizing the national military standard batch conversion through the national military standard conversion plan management and conversion template management;
[0345] The projection conversion module is used to perform projection conversion on data that does not conform to the data standard geographic reference specification after completing the format conversion;
[0346] The quality check module is used to check the quality of the data after completing the projection conversion;
[0347] The standardization processing module is used to standardize the data after completing the quality inspection;
[0348] The metadata generation module is used to extract the multivariate attributes of various environmental domain data after completing the standardization process, and to construct an environmental metadata set based on a unified organizational model based on a unified time reference and multivariate spatial reference;
[0349] A multi-scale processing module, used for performing multi-scale processing based on various environmental domain data that have completed the standardization processing and metadata in the environmental metadata set;
[0350] The data unified cataloging module is used to store and uniformly catalog various environmental domain data that have completed standardized processing and the results of multi-scale processing.
[0351] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0352] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0353] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for processing application of task execution environment simulation data, characterized in that: The method comprises: The raw data of several types of environmental domains related to the execution of tasks are connected to the system and checked; After the access check is completed, the format of the original data that does not meet the storage conditions is converted; specifically, it includes: through data import / export operations, vector / raster data format conversion is realized, and through national military standard conversion plan management and conversion template management, national military standard batch conversion is realized; among them, through national military standard conversion plan management and conversion template management, national military standard batch conversion is realized, including: national military standard conversion plan management specifically includes: customizing several scales; each scale corresponds to a set of national military standard conversion plans; each scale includes national standard data preprocessing module, national military standard conversion module and military standard data processing module; among them, the national standard data preprocessing module is used to configure whether to batch process data basic Error; the national military standard conversion module is used to configure whether to batch process the basic errors of the national military standard conversion; the military standard data processing module is used to configure whether to perform coding attribute field maintenance, name attribute field maintenance, feature generation, feature deletion, geometry maintenance, attribute maintenance, topology maintenance, and standardization; after the parameter settings are complete and confirmed to be correct, start importing and converting; the conversion template management specifically includes: obtaining a pre-built national military standard template library; the national military standard template library is divided according to scale; each scale includes military standard templates and public templates; the national military standard batch conversion specifically includes: adding the national standard project to be converted, setting the military standard project path, selecting the national military standard conversion plan, and automatically converting the national standard project into a military standard project in batches; After completing the format conversion, perform projection conversion on data that does not conform to the data standard geographic reference specifications; After completing the projection conversion, perform a quality check on the data; After the quality check is completed, the data is standardized; specifically, the standardized processing of geographic spatial data includes map splicing and engineering clipping; the standardized processing steps for meteorological ocean, space environment, near space, electromagnetic environment and nuclear, biological and chemical environment domain data are as follows: copy offline data to the database server, extract data content through the front-end BS mode and back-end analysis to generate metadata and store it in the database; After completing the standardization process, extract the multivariate attributes of various environmental domain data, and build an environmental metadata set based on a unified organizational model based on a unified time base and a multivariate spatial base. Specifically, it includes: metadata template design: 1) load and parse the metadata template configuration file; 2) read the metadata template configuration file content and display the metadata template information in the form of a directory tree; 3) refer to the relevant data specifications to design the structure of each sub-item in the metadata template, and classify the data specification content in the list in the metadata template and save it in the metadata template file; among them, the sub-items refer to the military standard template, the international template and the public template; metadata information extraction: 1) for the data in the geographic space environment domain: read the professional metadata file in the parsed military standard data directory, extract the metadata value according to the rules based on the metadata template content, and fill it in the metadata interface to be stored for display; read the public metadata of the parsed raster data, automatically extract it in the raster data storage module, and fill it in the metadata interface to be stored for display; 2) parse and extract the data in the meteorological ocean, nuclear, biological and chemical, electromagnetic environment, near space and space environment domains; metadata filling: fill the values of each domain or field of the extracted metadata into the corresponding metadata domain; Based on the various environmental domain data that have completed the standardized processing and the metadata in the environmental metadata set, multi-scale processing is performed; specifically, it includes: producing various vector maps suitable for application needs, raster slice maps, multi-resolution image pyramid data and elevation maps. The specific steps are as follows: based on the task execution environment database, two-dimensional vector tile data is produced, and the front-end drawing effect is enhanced based on the vector product direction theory; an adaptive index of vector tiles is established, and the Douglas Peucker algorithm is used to thin and simplify the vector data, and the vector tile data is distributed and parallelized. Raster tile production: for large data volumes and large-scale data, mosaic data set operations are performed first, and then raster tile production is performed, specifically: a large picture strategy is used to draw a large picture at a time, and on this basis, it is cut into multiple 25 6×256 square pictures are used to obtain the corresponding mosaic dataset; wherein the mosaic dataset is used to manage a set of raster data sets stored in the form of a directory and viewed in the form of mosaic images; when producing raster tiles, the result of the mosaic dataset is selected as the data source; the mosaic dataset is used to efficiently manage the framed raster images, and the overlapping relationship of the source raster is managed by the mosaic rules; the mosaic dataset corresponding to the terrain raster data is used to construct multi-resolution elevation map data as the terrain data source for generating terrain cache; the terrain data source is transformed into a coordinate projection and then the terrain resolution is constructed according to the terrain range and pixel area; the quadtree depth is calculated according to the terrain resolution and the scaling factor; the terrain tiles are segmented according to the quadtree depth; the tiles are sampled from the terrain data source through an N*N array to construct a terrain cache file; All kinds of environmental domain data that have completed standardization processing and the results of multi-scale processing are stored in the database and cataloged in a unified manner.
2. The method according to claim 1, characterized in that The environmental domains include: geographic space, meteorological ocean, space environment, near space, electromagnetic environment, and nuclear, biological and chemical; The raw data of several types of environmental domains related to the execution of tasks are connected to the system and checked, including: The original data of six environmental domains, namely, geographic space, meteorological ocean, space environment, near space, electromagnetic environment, and nuclear, biological and chemical, are connected to the system in the form of offline copies, and the integrity and availability of the original data are checked.
3. The method according to claim 1, characterized in that Through data import / export operations, vector / raster data format conversion can be achieved; specifically including: Select the data to be imported, select the target database, call the format conversion algorithm API, and perform the conversion import; Select the data to be exported, set the export format and export location, call the format conversion processing algorithm API, and perform conversion and export.
4. The method according to claim 1, characterized in that Projection conversion of data that does not conform to the data standard georeference specifications, including: For vector / raster data that does not conform to the data standard georeference specifications, projection conversion is performed, including: Select the data to be converted and read the projection coordinate system information, including: projection type, projection easting, projection northing, central meridian and projection origin latitude; Set the destination reference system, choose a save location, and define geographic transformation parameters; Call the projection transformation algorithm API based on the target reference system and geographic transformation parameters to perform projection transformation processing; For map engineering data that does not conform to the data standard geographic reference specifications, projection conversion is performed, including: If a map project contains multiple data that do not conform to the data standard geographic reference specifications, batch processing can be performed through project projection processing, setting the destination reference system and conversion parameters.
5. The method according to claim 1, characterized in that Perform quality checks on the data, including: Perform a quality check on routine data. The specific steps are as follows: Configure the quality inspection plan, configure the reference system, attribute structure, attribute value, point space, line space, area space, and Obj model in the inspection rule library; load the configured quality inspection plan for viewing; view the inspection results for specific inspection items and display them in the form of a notepad; Attribute check: Select the layer to be checked and check whether the attribute structure and attribute value of the elements in it are consistent; Spatial topology check: select two layers to be checked, set topology check rules and tolerance parameters, and perform topology check; The specific steps for quality inspection of military standard data are as follows: Attribute check: perform attribute check on a certain layer and view the check result of a certain field under the layer; Space Check: 1) Set tolerance parameters to perform basic error checks on face edges; 2) Set tolerance parameters and perform line and surface topology checks; 3) Configure the data inspection plan to check the reference system, attribute structure, attribute value, point space, line space, area space, and Obj model of the military standard data.
6. The method according to claim 1, characterized in that Standardized processing of geospatial data includes map splicing and engineering clipping, including: Map splicing includes: 1) adding a splicing task to splice the military standard exchange format data of the standard map; 2) splicing check: perform a splicing check on the military standard exchange format data to check whether the line data of adjacent map sheets meet the splicing requirements; 3) data splicing: after the splicing check passes, extract data through splicing to splice the military standard map data into non-framing complete data for data splicing preparation in the task execution area; Project cutting includes: 1) creating a new operation project, importing military standard data, and determining the cutting range; 2) setting the cutting type, tolerance radius, attributes, and polygon coordinate parameters, and executing cutting; 3) after cutting, performing a quality check on the data until the data quality meets the requirements.
7. A system for task execution environment simulation data connection processing application, characterized in that: The system comprises: A data access check module is used to access the original data of several types of environment domains related to the execution of tasks into the system and perform checks; The format conversion module is used to convert the format of the original data that does not meet the storage conditions after the access check is completed; specifically, it includes: through data import / export operations, vector / raster data format conversion is realized, and through national military standard conversion plan management and conversion template management, national military standard batch conversion is realized; among them, through national military standard conversion plan management and conversion template management, national military standard batch conversion is realized, including: national military standard conversion plan management specifically includes: customizing several scales; each scale corresponds to a set of national military standard conversion plans; each scale includes national standard data preprocessing module, national military standard conversion module and military standard data processing module; among them, the national standard data preprocessing module is used to configure whether to batch process basic data errors; the national military standard conversion module is used to Configure whether to process basic errors in the national military standard conversion in batches; the military standard data processing module is used to configure whether to perform coding attribute field maintenance, name attribute field maintenance, feature generation, feature deletion, geometry maintenance, attribute maintenance, topology maintenance, and standardization; after the parameter settings are complete and confirmed to be correct, start importing and converting; the conversion template management specifically includes: obtaining a pre-built national military standard template library; the national military standard template library is divided according to scales; each scale includes military standard templates and public templates; the national military standard batch conversion specifically includes: adding the national standard project to be converted, setting the military standard project path, selecting the national military standard conversion plan, and automatically converting the national standard project to the military standard project in batches; after completing the format conversion, perform projection conversion on the data that does not meet the data standard geographic reference specifications; The projection conversion module is used to perform projection conversion on data that does not conform to the data standard geographic reference specification after completing the format conversion; The quality check module is used to check the quality of the data after completing the projection conversion; The standardization processing module is used to standardize the data after completing the quality inspection. Specifically, it includes: standardization of geographic spatial data, including map splicing and engineering clipping; standardization of meteorological ocean, space environment, near space, electromagnetic environment and nuclear, biological and chemical environment domain data, including: copying offline data to the database server, extracting data content through the front-end BS mode and back-end analysis to generate metadata and store it in the database; The metadata generation module is used to extract the multivariate attributes of various environmental domain data after completing the standardization process, and to construct an environmental metadata set based on a unified organizational model based on a unified time base and a multivariate spatial base. Specifically, it includes: metadata template design: 1) Load and parse the metadata template configuration file; 2) Read the content of the metadata template configuration file and display the metadata template information in the form of a directory tree; 3) Design the structure of each sub-item in the metadata template with reference to the relevant data specifications, and classify the data specification content in the list in the metadata template and save it in the metadata template file; Among them, the sub-items refer to military standard templates, international templates and public templates; Metadata information extraction: 1) For data in the geographic space environment domain: read the professional metadata file in the directory of the military standard data, extract the metadata value according to the rules based on the metadata template content, and fill it in the metadata interface to be stored for display; read the public metadata of the parsed raster data, automatically extract it in the raster data storage module, and fill it in the metadata interface to be stored for display; 2) Parse and extract data in the meteorological ocean, nuclear, biological and chemical, electromagnetic environment, near space and space environment domains; Metadata filling: Fill the values of each domain or field of the extracted metadata into the corresponding metadata domain; The multi-scale processing module is used to perform multi-scale processing based on various environmental domain data that have completed standardization processing and the metadata in the environmental metadata set; specifically, it includes: producing various vector maps suitable for application needs, raster slice maps, multi-resolution image pyramid data and elevation maps, and the specific steps are as follows: producing two-dimensional vector tile data based on the task execution environment database, and strengthening the front-end drawing effect based on the vector product direction theory; establishing an adaptive index for vector tiles, using the Douglas Peucker algorithm to thin and simplify the vector data, and performing distributed parallel clipping on the vector tile data; raster tile production: for large data volumes and large-range data, first perform mosaic data set operations, and then perform raster tile production, specifically: using a large picture strategy to draw a large picture at a time, and then cut on this basis For multiple 256×256 square images, the corresponding mosaic dataset is obtained; wherein the mosaic dataset is used to manage a set of raster data sets stored in the form of a directory and viewed in the form of a mosaic image; when producing raster tiles, the result of the mosaic dataset is selected as the data source; the mosaic dataset is used to efficiently manage the framed raster images, and the overlapping relationship of the source raster is managed by the mosaic rules; the mosaic dataset corresponding to the terrain raster data is used to construct multi-resolution elevation map data as the terrain data source for generating terrain cache; the terrain data source is transformed into a coordinate projection, and the terrain resolution is constructed according to the terrain range and pixel area; the quadtree depth is calculated according to the terrain resolution and the scaling factor; the terrain tiles are divided according to the quadtree depth; the tiles are sampled from the terrain data source through an N*N array to construct a terrain cache file; The data unified cataloging module is used to store and uniformly catalog various environmental domain data that have completed standardized processing and the results of multi-scale processing.
Citation Information
Patent Citations
Multi-source data integration method based on geographic information
CN106610957A
Big data platform for smart city construction
CN112685385A
Digital twin full life cycle management platform
CN114968984A
Method, system and terminal for three-dimensional modeling and local model splicing optimization of drainage pipe network
CN116958474A
Improving geo-registration using machine-learning based object identification
WO2022074643A1
