A water conservancy one map-based cross-layer data search method, device and medium

By setting search fields and weights on a single water conservancy map and using the ElasticSearch engine to store data, the problem of slow cross-layer multi-feature queries was solved, enabling fast data retrieval and decision support analysis.

CN116595206BActive Publication Date: 2026-05-19浪潮智慧科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
浪潮智慧科技有限公司
Filing Date
2023-06-09
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Traditional multi-layer queries are slow in water conservancy single-map queries due to the large amount of data, and cannot meet the needs of fast retrieval.

Method used

By setting search fields and search weights, spatial data is stored in a pre-built index database, and the ElasticSearch big data search engine is used to perform cross-layer multi-feature searches, achieving millisecond-level global, keyword, range, and semantic module searches.

Benefits of technology

It enables fast search of multiple elements across layers in a single water conservancy map, supports millisecond-level data retrieval, improves query speed, and provides auxiliary functions for decision support analysis for customers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116595206B_ABST
    Figure CN116595206B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a cross-layer data search method and device based on water conservancy one map and a medium. The method comprises the following steps: determining the spatial data format corresponding to the spatial data to be stored in the database; setting a search field and a search weight for the spatial data to be stored in the database; wherein the search field is at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; based on the spatial data format, storing the data with the set search field and search weight into a preset index database; after receiving the search information, determining a plurality of reference water conservancy data in the preset index database; based on the layer information corresponding to the plurality of reference water conservancy data, classifying the plurality of reference water conservancy data, and based on the search weight corresponding to the plurality of reference water conservancy data, displaying the plurality of reference water conservancy data in the water conservancy map. The above method improves the cross-layer data search efficiency of the water conservancy one map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of spatial data analysis technology, and in particular to a method, device and medium for cross-layer data search based on a single water conservancy map. Background Technology

[0002] In the application of the "single map" for smart water conservancy, a single map aggregates all basic geographic data and water-related spatial layer data. This data needs to be analyzed and displayed layer by layer on the map. This meets the application needs of multiple objects and multiple perspectives under different modes, providing a new type of information service for water conservancy business applications.

[0003] In the use of a single water conservancy map, it is often necessary to query different feature data with the same or similar names across multiple layers, or to perform spatial queries between published map layer data services and point data services, which requires cross-layer queries. When the amount of spatial data is large, traditional multi-layer queries require traversing each layer to retrieve the required data, resulting in slow data query speeds. Summary of the Invention

[0004] This application provides a method, device, and medium for cross-layer data search based on a single water conservancy map, which solves the following technical problem: When the amount of spatial data is large, traditional multi-layer queries require traversing each layer to query the required data, resulting in slow data query speed.

[0005] The embodiments of this application adopt the following technical solutions:

[0006] This application provides a method for cross-layer data search based on a single water conservancy map. The method includes: determining the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered includes at least one item from a pre-set spatial database and pre-set format data not yet entered into the pre-set spatial database; setting search fields and search weights for the spatial data to be entered; wherein the search fields are at least related to the layer and name corresponding to the spatial data; storing the data with set search fields and search weights into a pre-set index database based on the spatial data formats; upon receiving the information to be searched, determining multiple reference water conservancy data in the pre-set index database; classifying the multiple reference water conservancy data based on the layer information corresponding to each reference water conservancy data, and displaying the multiple reference water conservancy data on the water conservancy map based on the search weights corresponding to each reference water conservancy data.

[0007] This application embodiment sets retrieval fields and weights for the spatial data to be imported into the database, and stores the data with set retrieval fields and weights in a pre-defined index database. It enables timely searching of all layer feature data in the spatial database, solving the problem of cross-layer multi-feature search in a single water conservancy map, and realizing the import and retrieval functions of all layer spatial service data in the single water conservancy map. Furthermore, it enables millisecond-level global search, keyword search, range search, conditional search, and semantic module search functions within the single water conservancy map system. This strongly supports the construction of a single water conservancy map and provides auxiliary functions for decision support analysis for customers.

[0008] In one implementation of this application, based on the spatial data format, the data with pre-set retrieval fields and retrieval weights is stored in a pre-set index database. Specifically, this includes: obtaining the search engine address and login information corresponding to the pre-set index database from the pre-set configuration file to perform information entry processing on the pre-set index database; based on the batch entry method corresponding to the pre-set index database, by calling the post method in the axios interaction request of the front-end framework Vue, the spatial data to be entered into the pre-set index database, and the entry information is recorded and viewed in real time through the Kibana visualization platform.

[0009] In one implementation of this application, after determining the spatial data formats corresponding to the spatial data to be imported, the method further includes: calling the first water conservancy spatial data in the pre-set spatial database through the pre-set service platform, and publishing the first water conservancy spatial data as a WFS service; obtaining the second water conservancy spatial data to be imported from outside the pre-set spatial database, and verifying the format of the second water conservancy spatial data; if the verification is successful, transmitting the second water conservancy spatial data to the pre-set Tomcat server for deployment; wherein, the second water conservancy spatial data includes at least one of the shp format and geojson format data.

[0010] In one implementation of this application, before storing the data with pre-set retrieval fields and retrieval weights into a pre-set index database based on the spatial data format, the method further includes: storing the spatial service address corresponding to the spatial service data into a pre-set configuration file; storing the pre-set search engine address and the login information corresponding to the pre-set search engine address into the pre-set configuration file; determining the service address type corresponding to the spatial service address; wherein the service address type includes at least one of WFS format, Geojson format, Shp format, and Esrijson format; and classifying and storing the spatial data corresponding to the spatial service address into the database based on the service address type and the pre-set service entry box.

[0011] In one implementation of this application, before storing the spatial service address corresponding to the spatial service data in a preset configuration file, the method further includes: verifying the obtained spatial service address to correct the format of spatial service addresses that do not meet the preset requirements; parsing the spatial service address to configure one or more index fields based on the parsing result; wherein the parsing result includes at least the service address type corresponding to the spatial service address and the layer information corresponding to the spatial service address.

[0012] In one implementation of this application, after receiving the information to be retrieved, multiple reference water conservancy data are determined in a pre-set index database. Specifically, this includes: based on the information to be retrieved, calling the cross_field type of a pre-set big data search engine to perform a multi_match query; wherein the information to be retrieved includes at least one of the keywords to be retrieved and the spatial range to be retrieved; and prioritizing the water conservancy data in the pre-set index database based on the retrieval weights corresponding to the multiple reference water conservancy data, so as to determine multiple reference water conservancy data in the pre-set index database.

[0013] In one implementation of this application, multiple reference water conservancy data are classified based on the layer information corresponding to each reference water conservancy data, and displayed on a water conservancy map based on the retrieval weights corresponding to each reference water conservancy data. Specifically, this includes: dividing multiple reference water conservancy data into multiple sets based on layer type; determining the weight values ​​corresponding to the reference water conservancy data in each set; sorting the reference water conservancy data in each set based on the weight values; and displaying a preset number of reference water conservancy data in each set on the water conservancy map based on the sorting sequence number.

[0014] In one implementation of this application, the data with pre-defined search fields and search weights includes at least the following: a WFS layer service published via a pre-built service platform, a geojson-formatted spatial data service, a shp-formatted spatial data service, and an esrijson-formatted spatial data service.

[0015] This application provides a cross-layer data search device based on a single water conservancy map, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered into the database includes at least one item from a preset spatial database and preset format data not entered into the preset spatial database; set search fields and search weights for the spatial data to be entered into the database; wherein the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; store the data with the set search fields and search weights into a preset index database based on the spatial data format; upon receiving the information to be searched, determine multiple reference water conservancy data in the preset index database; classify the multiple reference water conservancy data based on the layer information corresponding to the multiple reference water conservancy data, and display the multiple reference water conservancy data on the water conservancy map based on the search weights corresponding to the multiple reference water conservancy data.

[0016] This application provides a non-volatile computer storage medium storing computer-executable instructions. These instructions are configured to: determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered includes at least one item from a preset spatial database and preset format data not yet entered into the preset spatial database; set search fields and search weights for the spatial data to be entered; wherein the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; based on the spatial data format, store the data with the set search fields and search weights into a preset index database; upon receiving the information to be retrieved, determine multiple reference water conservancy data in the preset index database; classify the multiple reference water conservancy data based on the layer information corresponding to each of the multiple reference water conservancy data, and display the multiple reference water conservancy data on a water conservancy map based on the search weights corresponding to each of the multiple reference water conservancy data.

[0017] The above-mentioned technical solutions adopted in this application embodiment can achieve the following beneficial effects: This application embodiment sets retrieval fields and retrieval weights for the spatial data to be entered into the database, and stores the data with set retrieval fields and retrieval weights in a pre-set index database. It can promptly search all layer feature data in the spatial database, solving the problem of cross-layer multi-feature search in a single water conservancy map, realizing the entry and retrieval functions of all layer spatial service data in a single water conservancy map, and enabling the construction of millisecond-level global search, keyword search, range search, conditional search, and semantic module search functions in the single water conservancy map system. This strongly supports the construction of a single water conservancy map and provides customers with auxiliary functions for decision support analysis. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0019] Figure 1 A flowchart illustrating a cross-layer data search method based on a single water conservancy map, provided in this application embodiment;

[0020] Figure 2 This is a schematic diagram of the structure of a cross-layer data search device based on a single water conservancy map, provided in an embodiment of this application. Detailed Implementation

[0021] This application provides a method, device, and medium for cross-layer data search based on a single water conservancy map.

[0022] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0023] The technical solutions proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0024] Figure 1 This document provides a flowchart of a cross-layer data search method based on a single water conservancy map, as illustrated in an embodiment of this application. Figure 1 As shown, the cross-layer data search method based on a single water conservancy map includes the following steps:

[0025] S101. Determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein, the spatial data to be entered into the database includes at least one item from the data in the preset spatial database and the preset format data not entered into the preset spatial database.

[0026] In one embodiment of this application, to address the search and analysis of multi-layered, multi-feature spatial data within a single water conservancy map, this embodiment utilizes the ElasticSearch big data search engine as the engine for searching multi-layered, multi-feature spatial data, enabling a full-database search function for spatial data across multiple layers and features. This is primarily achieved by using ElasticSearch's batch data entry function in conjunction with the _bulk batch entry operation to import spatial services (WFS services, ArcGIS services, etc.) such as reservoirs, rivers, lakes, and monitoring stations, or basic water conservancy spatial data (GeoJson, shp) such as dikes, pumping stations, and sluices, into a distributed ElasticSearch spatial database. During spatial searches within the GIS map, the distributed ElasticSearch search engine is invoked to perform cross-layered, multi-feature searches, enabling full-text keyword spatial search functionality within the single water conservancy map, thus enhancing the efficiency of the single water conservancy map and providing auxiliary decision support for water conservancy spatial data analysis.

[0027] Specifically, Elasticsearch is an open-source, distributed, RESTful full-text search engine built on Apache Lucene. It is also a distributed document database where every field is indexed and searchable. It can scale to hundreds of servers to store and process petabytes of data, enabling it to store, search, and analyze massive amounts of data in a very short time.

[0028] This application embodiment utilizes the WFS service of Geoserver geographic server and the ElasticSearch spatial big data search engine to solve the functions of data entry and cross-layer full-text search for water conservancy spatial services.

[0029] This application embodiment also utilizes GIS geographic information system technology, using PostgreSQL+PostGIS as the source water conservancy spatial database, GeoServer spatial server as the spatial service publishing platform, and Vue+Cesium API as the basic map framework for the front end. It combines ElasticSearch (a spatial big data search engine) + Kibana (an open-source analysis and visualization platform) to build a spatial data import and water conservancy spatial data retrieval, statistical and display system. Spatial data is imported into the ElasticSearch distributed repository, and the front end displays the returned multi-feature data across layers on a single map by calling the ElasticSearch spatial big data search engine. Ultimately, it realizes the statistical analysis and display function of a single water conservancy map, and realizes the auxiliary decision-making function for water conservancy-related users.

[0030] In one embodiment of this application, a first water conservancy spatial data is accessed from a pre-configured spatial database via a pre-configured service platform, and the first water conservancy spatial data is published as a WFS service. Second water conservancy spatial data to be added to the database is obtained from outside the pre-configured spatial database, and the format of the second water conservancy spatial data is validated. If the validation passes, the second water conservancy spatial data is transmitted to a pre-configured Tomcat server for deployment. The second water conservancy spatial data includes at least one of the following formats: shapefile and geojson.

[0031] Specifically, the geoserver service platform calls the water conservancy spatial data in the PostgreSQL+PostGIS spatial database to publish it as a WFS service, in preparation for the later input of water conservancy spatial service data into the ElasticSearch distributed spatial big data storage. Data in shapefile and geojson formats not yet included in the spatial database can be deployed on a Tomcat server.

[0032] S102. Set search fields and search weights for the spatial data to be entered into the database; wherein, the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data.

[0033] In one embodiment of this application, the obtained spatial service address is verified to correct the format of spatial service addresses that do not meet preset requirements. The spatial service address is parsed to configure one or more index fields based on the parsing result. The parsing result includes at least the service address type corresponding to the spatial service address and the layer information corresponding to the spatial service address.

[0034] In one embodiment of this application, the spatial service address corresponding to the spatial service data is stored in a preset configuration file; and a preset search engine address and the login information corresponding to the preset search engine address are stored in the preset configuration file. The service address type corresponding to the spatial service address is determined; wherein the service address type includes at least one of WFS format, Geojson format, Shp format, and Esrijson format. Based on the service address type and the preset service entry box, the spatial data corresponding to the spatial service address is categorized and stored in the database.

[0035] Specifically, a spatial big data platform index is created in the Elasticsearch search engine using the Kibana visualization platform. The obtained spatial service addresses are stored in a configuration file, along with the Elasticsearch search engine address and login information. A service entry box is created on the front-end page, allowing users to input the spatial service addresses before data is entered into the database. Multiple spatial service addresses are separated by commas. The type of service address to be entered can be selected based on its format, including WFS, Geojson, Shp, and esrijson.

[0036] Furthermore, the spatial service address is verified in the method of obtaining the service address, extra spaces are removed, each spatial service address is parsed, and index fields are configured according to the service address type and layer information corresponding to the spatial service address. All fields can be renamed, and spatial geometry data and index fields are parsed and obtained.

[0037] S103. Based on the spatial data format, store the data with the set search fields and search weights into the preset index database.

[0038] In one embodiment of this application, the search engine address and login information corresponding to the preset index database are obtained from the preset configuration file to perform information import processing on the preset index database. Based on the batch import method corresponding to the preset index database, the spatial data to be imported is imported into the preset index database by calling the post method in the axios interaction request of the front-end framework Vue, and the import information is recorded and viewed in real time through the Kibana visualization platform.

[0039] In one embodiment of this application, the data for which retrieval fields and retrieval weights have been set includes at least the following: WFS layer services published through a pre-built service platform, spatial data services in Geojson format, spatial data services in shp format, and spatial data services in esrijson format.

[0040] Specifically, the ElasticSearch spatial big data search engine address and login information are obtained from the configuration file. Then, the ElasticSearch bulk import method `_bulk` is called, and the spatial service data is imported into the ElasticSearch index database by calling the `post` method in the axios interaction request in the Vue frontend framework. The import details can be viewed through the Kibana visualization platform.

[0041] S104. After receiving the information to be retrieved, multiple reference water conservancy data are determined in the preset index database.

[0042] In one embodiment of this application, a multi-match query is performed using the cross_field type of a pre-built big data search engine based on the information to be retrieved; wherein the information to be retrieved includes at least one of the keywords to be retrieved and the spatial range to be retrieved. Based on the retrieval weights corresponding to multiple reference water conservancy data, water conservancy data in a pre-built index database are prioritized for retrieval, so as to determine multiple reference water conservancy data in the pre-built index database.

[0043] Specifically, within the Cesium map framework, the query conditions are determined by the layer name selected on the front end and the keywords or spatial search range entered in the search box. ElasticSearch's `cross_field` type is then used for a `multi_match` query. When the spatial layer is imported into the database, attribute fields such as `name`, `mc`, and `nm` (identifying name-related fields) are set as search fields. Predefined symbols are added before the `name` field to enhance search weight. The `cross_fields` approach addresses term frequency issues by mixing different fields to inversely index document frequencies, thus better meeting the needs of multi-feature searches across layers. Furthermore, the use of predefined symbols to enhance the weight of search fields improves search efficiency.

[0044] S105. Based on the layer information corresponding to the multiple reference water conservancy data respectively, classify the multiple reference water conservancy data, and display the multiple reference water conservancy data on the water conservancy map based on the retrieval weights corresponding to the multiple reference water conservancy data respectively.

[0045] In one embodiment of this application, multiple reference water conservancy data are divided into multiple sets based on layer type. Weight values ​​are determined for the reference water conservancy data in each set. Based on the weight values, the reference water conservancy data in each set are sorted, and based on the sorting sequence number, a preset number of reference water conservancy data from each set are displayed on a water conservancy map.

[0046] Specifically, the results retrieved by ElasticSearch are displayed as a statistical list based on layer categories, sorted from highest to lowest score, and each retrieved data item is given a sorting number and name. Clicking on the item will locate it and display it on a map.

[0047] This application's embodiments enable timely searching of all layer feature data in the spatial database, solving the problem of cross-layer multi-feature search functionality in a single water conservancy map. It can realize the import and retrieval of spatial service data across all layers in a single water conservancy map, and can build millisecond-level global search, keyword search, range search, conditional search, and semantic module search functions within the single water conservancy map system. Based on the needs of water conservancy users, it develops real-time statistical search and statistical analysis display of water conservancy spatial big data. This strongly supports the construction of a single water conservancy map and provides customers with auxiliary functions for decision support analysis.

[0048] Figure 2 This is a schematic diagram of a cross-layer data search device based on a single water conservancy map, provided as an embodiment of this application. Figure 2 As shown, a cross-layer data search device based on a single water conservancy map includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered into the database includes at least one item from a preset spatial database and preset format data not entered into the preset spatial database; set search fields and search weights for the spatial data to be entered into the database; wherein the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; store the data with the set search fields and search weights into a preset index database based on the spatial data format; upon receiving the information to be searched, determine multiple reference water conservancy data in the preset index database; classify the multiple reference water conservancy data based on the layer information corresponding to each of the multiple reference water conservancy data, and display the multiple reference water conservancy data on the water conservancy map based on the search weights corresponding to each of the multiple reference water conservancy data.

[0049] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, which are configured to: determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered into the database includes at least one of the data in a preset spatial database and the preset format data not entered into the preset spatial database; set search fields and search weights for the spatial data to be entered into the database; wherein the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; store the data with the set search fields and search weights into a preset index database based on the spatial data format; after receiving the information to be searched, determine multiple reference water conservancy data in the preset index database; classify the multiple reference water conservancy data based on the layer information corresponding to the multiple reference water conservancy data, and display the multiple reference water conservancy data on a water conservancy map based on the search weights corresponding to the multiple reference water conservancy data.

[0050] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0051] The above descriptions are merely embodiments of this application and are not intended to limit the scope of this application. For those skilled in the art, various modifications and variations can be made to the embodiments of this application. These modifications or substitutions do not cause the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions in the embodiments of this application.

Claims

1. A cross-layer data search method based on a single water conservancy map, characterized in that, The method includes: The spatial data formats corresponding to the spatial data to be entered into the database are determined; wherein, the spatial data to be entered into the database includes at least one item from the data in the preset spatial database and the preset format data not entered into the preset spatial database. Set search fields and search weights for the spatial data to be added to the database; wherein, the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; Based on the spatial data format, the data with set search fields and search weights are stored in the preset index database; Upon receiving the information to be retrieved, multiple reference water conservancy data are identified in the preset index database; Based on the layer information corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are classified, and based on the retrieval weights corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are displayed in the water conservancy map. The step of storing the data with pre-set search fields and search weights into a pre-set index database based on the spatial data format specifically includes: The search engine address and login information corresponding to the preset index database are obtained from the preset configuration file in order to perform information entry processing on the preset index database. Based on the batch import method corresponding to the pre-set index database, the spatial data to be imported into the pre-set index database is imported by calling the post method in the axios interaction request of the front-end framework Vue, and the import information is recorded and viewed in real time through the Kibana visualization platform. After determining the spatial data formats corresponding to the spatial data to be imported, the method further includes: The first water conservancy spatial data in the pre-set spatial database is called through the pre-set service platform, and the first water conservancy spatial data is published as a WFS service. Obtain the second water conservancy spatial data to be added to the database outside the preset spatial database, and perform format verification on the second water conservancy spatial data. If the verification is successful, transfer the second water conservancy spatial data to the preset Tomcat server for deployment. The second water conservancy spatial data includes at least one of the following: shp format and geojson format data; Before storing the data with pre-set search fields and search weights into the preset index database based on the spatial data format, the method further includes: Store the spatial service address corresponding to the spatial data in a preset configuration file; and The preset search engine address and the login information corresponding to the preset search engine address are stored in the preset configuration file; Determine the service address type corresponding to the space service address; wherein, the service address type includes at least one of WFS format, Geojson format, Shp format, and esrijson format; Based on the service address type and the preset service entry box, the spatial data corresponding to the spatial service address is classified and stored in the database. Before storing the spatial service address corresponding to the spatial data into a preset configuration file, the method further includes: The obtained spatial service addresses are verified to correct any spatial service addresses whose formats do not meet the preset requirements. The spatial service address is resolved to configure one or more index fields based on the resolution result; The parsing result includes at least the service address type corresponding to the spatial service address and the layer information corresponding to the spatial service address.

2. The method for cross-layer data search based on a single water conservancy map according to claim 1, characterized in that, Upon receiving the information to be retrieved, the process involves determining multiple reference water conservancy data in the preset index database, specifically including: Based on the information to be retrieved, a multi-match query is performed using the cross_field type of a pre-built big data search engine; wherein, the information to be retrieved includes at least one of the keywords to be retrieved and the spatial range to be retrieved; Based on the retrieval weights corresponding to the multiple reference water conservancy data, priority retrieval is performed on the water conservancy data in the preset index database to determine multiple reference water conservancy data in the preset index database.

3. The method for cross-layer data search based on a single water conservancy map according to claim 1, characterized in that, The process of classifying the multiple reference water conservancy data based on the layer information corresponding to each reference water conservancy data, and displaying the multiple reference water conservancy data on a water conservancy map based on the retrieval weights corresponding to each reference water conservancy data, specifically includes: Based on the layer type, the multiple reference water conservancy data are divided into multiple sets; Determine the weight values ​​corresponding to the reference water conservancy data in the multiple sets; Based on the weight values, the reference water conservancy data in each set are sorted, and based on the sorting number, a preset number of reference water conservancy data in each set are displayed on the water conservancy map.

4. The method for cross-layer data search based on a single water conservancy map according to claim 1, characterized in that, The data with pre-set search fields and search weights includes at least the following: WFS layer services, Geojson format spatial data services, shp format spatial data services, and esrijson format spatial data services published through a pre-built service platform.

5. A cross-layer data search device based on a single water conservancy map, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to: determine the spatial data formats corresponding to the spatial data to be entered into the database; wherein the spatial data to be entered into the database includes at least one item from the data in the preset spatial database and the preset format data not entered into the preset spatial database. Set search fields and search weights for the spatial data to be added to the database; wherein, the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; Based on the spatial data format, the data with set search fields and search weights are stored in the preset index database; Upon receiving the information to be retrieved, multiple reference water conservancy data are identified in the preset index database; Based on the layer information corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are classified, and based on the retrieval weights corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are displayed in the water conservancy map. The step of storing the data with pre-set search fields and search weights into a pre-set index database based on the spatial data format specifically includes: The search engine address and login information corresponding to the preset index database are obtained from the preset configuration file in order to perform information entry processing on the preset index database. Based on the batch import method corresponding to the pre-set index database, the spatial data to be imported into the pre-set index database is imported by calling the post method in the axios interaction request of the front-end framework Vue, and the import information is recorded and viewed in real time through the Kibana visualization platform. After determining the spatial data formats corresponding to the spatial data to be stored, the process also includes: The first water conservancy spatial data in the pre-set spatial database is called through the pre-set service platform, and the first water conservancy spatial data is published as a WFS service. Obtain the second water conservancy spatial data to be added to the database outside the preset spatial database, and perform format verification on the second water conservancy spatial data. If the verification is successful, transfer the second water conservancy spatial data to the preset Tomcat server for deployment. The second water conservancy spatial data includes at least one of the following: shp format and geojson format data; Before storing the data with pre-set search fields and search weights into the preset index database based on the spatial data format, the method further includes: Store the spatial service address corresponding to the spatial data in a preset configuration file; and The preset search engine address and the login information corresponding to the preset search engine address are stored in the preset configuration file; Determine the service address type corresponding to the space service address; wherein, the service address type includes at least one of WFS format, Geojson format, Shp format, and esrijson format; Based on the service address type and the preset service entry box, the spatial data corresponding to the spatial service address is classified and stored in the database. Before storing the spatial service address corresponding to the spatial data in the preset configuration file, the method further includes: The obtained spatial service addresses are verified to correct any spatial service addresses whose formats do not meet the preset requirements. The spatial service address is resolved to configure one or more index fields based on the resolution result; The parsing result includes at least the service address type corresponding to the spatial service address and the layer information corresponding to the spatial service address.

6. A non-volatile computer storage medium storing computer-executable instructions, wherein the computer... Executable instructions are set as follows: Determine the spatial data formats corresponding to the spatial data to be imported; among them, The spatial data to be entered into the database includes at least one item from the data in the preset spatial database and the preset format data that has not been entered into the preset spatial database. Set search fields and search weights for the spatial data to be added to the database; wherein, the search fields are at least related to the layer corresponding to the spatial data and the name corresponding to the spatial data; Based on the spatial data format, the data with set search fields and search weights are stored in the preset index database; Upon receiving the information to be retrieved, multiple reference water conservancy data are identified in the preset index database; Based on the layer information corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are classified, and based on the retrieval weights corresponding to the multiple reference water conservancy data, the multiple reference water conservancy data are displayed in the water conservancy map. The step of storing the data with pre-set search fields and search weights into a pre-set index database based on the spatial data format specifically includes: The search engine address and login information corresponding to the preset index database are obtained from the preset configuration file in order to perform information entry processing on the preset index database. Based on the batch import method corresponding to the pre-set index database, the spatial data to be imported into the pre-set index database is imported by calling the post method in the axios interaction request of the front-end framework Vue, and the import information is recorded and viewed in real time through the Kibana visualization platform. After determining the spatial data formats corresponding to the spatial data to be stored, the process also includes: The first water conservancy spatial data in the pre-set spatial database is called through the pre-set service platform, and the first water conservancy spatial data is published as a WFS service. Obtain the second water conservancy spatial data to be added to the database outside the preset spatial database, and perform format verification on the second water conservancy spatial data. If the verification is successful, transfer the second water conservancy spatial data to the preset Tomcat server for deployment. The second water conservancy spatial data includes at least one of the following: shp format and geojson format data; Before storing the data with pre-set search fields and search weights into the preset index database based on the spatial data format, the method further includes: Store the spatial service address corresponding to the spatial data in a preset configuration file; and The preset search engine address and the login information corresponding to the preset search engine address are stored in the preset configuration file; Determine the service address type corresponding to the space service address; wherein, the service address type includes at least one of WFS format, Geojson format, Shp format, and esrijson format; Based on the service address type and the preset service entry box, the spatial data corresponding to the spatial service address is classified and stored in the database. Before storing the spatial service address corresponding to the spatial data in the preset configuration file, the method further includes: The obtained spatial service addresses are verified to correct any spatial service addresses whose formats do not meet the preset requirements. The spatial service address is resolved to configure one or more index fields based on the resolution result; The parsing result includes at least the service address type corresponding to the spatial service address and the layer information corresponding to the spatial service address.