CN118113804A - A one-click cutting and propagation method for distributed hydrological models based on cloud platform - Google Patents
A one-click cutting and propagation method for distributed hydrological models based on cloud platform Download PDFInfo
- Publication number
- CN118113804A CN118113804A CN202410294038.8A CN202410294038A CN118113804A CN 118113804 A CN118113804 A CN 118113804A CN 202410294038 A CN202410294038 A CN 202410294038A CN 118113804 A CN118113804 A CN 118113804A
- Authority
- CN
- China
- Prior art keywords
- model
- cutting
- new
- old
- calculation units
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computer Graphics (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Architecture (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于云平台的分布式水文模型一键切割繁殖方法,包括如下步骤,根据实际研究区域的需求选择基于面要素的切割方式或者基于点要素的切割方式;根据确定的切割方式确定切割范围;构建新旧模型计算单元映射关系表;并为各计算单元配置记载其所归属的参数分区编号及其所有相关属性的属性表;基于新旧模型计算单元映射关系表及计算单元的属性表,将从旧模型数据库中获取的相关数据导入新模型数据库中。优点是:解决了传统水文模型构建中存在的数据收集、处理和建模率定等大量重复性的工作,提高水文模型的构建效率,有效促进水资源管理、防洪减灾以及生态环境保护等领域工作的科学性和时效性。
The present invention discloses a one-key cutting and propagation method of a distributed hydrological model based on a cloud platform, comprising the following steps: selecting a cutting method based on surface elements or a cutting method based on point elements according to the needs of the actual research area; determining the cutting range according to the determined cutting method; constructing a mapping relationship table of calculation units of the new and old models; and configuring an attribute table for each calculation unit to record the parameter partition number to which it belongs and all its related attributes; based on the mapping relationship table of calculation units of the new and old models and the attribute table of the calculation unit, importing the relevant data obtained from the old model database into the new model database. The advantages are: solving a large amount of repetitive work such as data collection, processing and modeling calibration in the construction of traditional hydrological models, improving the construction efficiency of hydrological models, and effectively promoting the scientificity and timeliness of work in the fields of water resources management, flood prevention and disaster reduction, and ecological environment protection.
Description
技术领域Technical Field
本发明涉及水文模型构建技术领域,尤其涉及一种基于云平台的分布式水文模型一键切割繁殖方法。The present invention relates to the technical field of hydrological model construction, and in particular to a one-key cutting and propagation method of a distributed hydrological model based on a cloud platform.
背景技术Background technique
传统水文模型通常针对特定的流域或地理区域进行构建,这一过程不仅包括对目标区域内详尽的实地观测和历史数据的收集,还包括繁琐的数据预处理步骤,如数据清洗、格式转换、插值与校正等,以及实测径流、地下水位等相关数对不同水文过程的参数进行反复迭代、合理估算与校准。当在同一个大区域内构建多个局部或子流域水文模型时,这些大量重复的基础性工作往往导致资源和时间的严重浪费。为解决这一问题,科研人员迫切需求开发一种创新的、能够有效利用已获取信息并快速生成适应于不同子区域的水文模型的技术手段。Traditional hydrological models are usually constructed for specific watersheds or geographical areas. This process includes not only the collection of detailed field observations and historical data in the target area, but also tedious data preprocessing steps, such as data cleaning, format conversion, interpolation and correction, as well as repeated iteration, reasonable estimation and calibration of parameters of different hydrological processes based on measured runoff, groundwater level and other related numbers. When constructing multiple local or sub-basin hydrological models in the same large area, these repetitive basic tasks often lead to serious waste of resources and time. To solve this problem, researchers urgently need to develop an innovative technical means that can effectively utilize the acquired information and quickly generate hydrological models suitable for different sub-regions.
发明内容Summary of the invention
本发明的目的在于提供一种基于云平台的分布式水文模型一键切割繁殖方法,从而解决现有技术中存在的前述问题。The purpose of the present invention is to provide a one-key cutting and propagation method of a distributed hydrological model based on a cloud platform, so as to solve the aforementioned problems existing in the prior art.
为了实现上述目的,本发明采用的技术方案如下:In order to achieve the above object, the technical solution adopted by the present invention is as follows:
一种基于云平台的分布式水文模型一键切割繁殖方法,包括如下步骤,A one-key cutting and propagation method of a distributed hydrological model based on a cloud platform comprises the following steps:
S1、切割方式确定:S1. Determine the cutting method:
用户根据实际研究区域的需求选择基于面要素的切割方式或者基于点要素的切割方式;The user can choose the cutting method based on area elements or point elements according to the actual needs of the research area;
S2、切割范围确定:S2. Determine the cutting range:
对于基于面要素的切割方式,用户通过指定流域边界、指定行政区域边界或自定义区域多边形范围作为新模型的切割范围;对于基于点要素的切割方式,用户提供待模拟流域控制节点,通过空间分析手段分析控制节点与旧模型计算单元的空间关系,根据旧模型各计算单元之间的拓扑关系和编码规则,追溯界定出每个控制节点以上所有的计算单元,以此作为新模型的切割范围;For the cutting method based on surface elements, the user specifies the watershed boundary, administrative area boundary or custom area polygon range as the cutting range of the new model; for the cutting method based on point elements, the user provides the control node of the watershed to be simulated, analyzes the spatial relationship between the control node and the calculation unit of the old model through spatial analysis, and traces back all the calculation units above each control node according to the topological relationship and coding rules between the calculation units of the old model, so as to serve as the cutting range of the new model;
S3、新旧模型计算单元映射关系构建:S3. Construction of mapping relationship between new and old model calculation units:
为基于新模型的切割范围切割获取的所有计算单元构建新编码,确定计算单元的新旧编码一一对应关系,构建新旧模型计算单元映射关系表;并为各计算单元配置记载其所归属的参数分区编号及其所有相关属性的属性表;Construct new codes for all calculation units obtained by cutting the cutting range based on the new model, determine the one-to-one correspondence between the new and old codes of the calculation units, and construct a mapping relationship table of the new and old model calculation units; and configure an attribute table for each calculation unit to record the parameter partition number to which it belongs and all related attributes;
S4、新模型数据库构建:S4. Construction of new model database:
基于新旧模型计算单元映射关系表及计算单元的属性表,将从旧模型中获取的地理空间数据、文本数据和计算单元的模型参数分别对应导入新模型的构建数据库、新模型的运行数据库以及新模型的参数数据库中。Based on the mapping relationship table of calculation units between the new and old models and the attribute table of the calculation units, the geographic spatial data, text data and model parameters of the calculation units obtained from the old model are imported into the construction database of the new model, the operation database of the new model and the parameter database of the new model respectively.
优选的,对于指定流域的模型切割,具体过程为,Preferably, for the model cutting of the specified watershed, the specific process is as follows:
先基于云版GIS的相交工具,用指定流域范围对旧模型计算单元图层进行切割,确定指定流域包含的计算单元;再采用云GIS的斑块融合工具根据面积阈值去除零碎的单元,以此作为新模型的切割范围。First, based on the intersection tool of cloud GIS, the calculation unit layer of the old model is cut with the specified watershed range to determine the calculation units contained in the specified watershed; then the patch fusion tool of cloud GIS is used to remove fragmented units according to the area threshold, which is used as the cutting range of the new model.
优选的,对于指定行政区域边界或自定义区域多边形范围的模型切割,具体过程为,Preferably, for model cutting of a specified administrative area boundary or a custom area polygon range, the specific process is as follows:
先基于云版GIS的相交工具用指定范围对旧模型计算单元图层进行切割,确定指定范围包含的计算单元;再从指定范围内各个计算单元出发,根据旧模型中各计算单元之间的拓扑关系和编码规则向上游追溯,精确界定出指定范围及其上游所有的计算单元,对所有追溯的计算单元取并集作为新模型的切割范围。First, based on the intersection tool of the cloud version of GIS, the calculation unit layer of the old model is cut with the specified range to determine the calculation units included in the specified range; then, starting from each calculation unit in the specified range, trace upstream according to the topological relationship and coding rules between the calculation units in the old model, accurately define the specified range and all the calculation units upstream, and take the union of all traced calculation units as the cutting range of the new model.
优选的,对于指定控制节点的模型切割,具体过程为,Preferably, for the model cutting of the specified control node, the specific process is as follows:
通过空间分析手段根据云GIS的相交工具确定各个控制节点在旧模型中的计算单元编号;再根据旧模型中各计算单元之间的拓扑关系和编码规则向上游追溯,精确界定出各个控制节点以上所有的计算单元,对所有追溯的计算单元取并集作为新模型的切割范围。Through spatial analysis, the calculation unit number of each control node in the old model is determined according to the intersection tool of cloud GIS. Then, according to the topological relationship and coding rules between the calculation units in the old model, the calculation units above each control node are traced upstream to accurately define all the calculation units. The union of all traced calculation units is taken as the cutting range of the new model.
优选的,步骤S3具体为,将按照新模型切割范围切割得到的所有计算单元,按照子流域和上下游汇流关系进行归类和排序,并为每个计算单元构建新编码,确定计算单元的新旧编码一一对应关系;并为每个计算单元配置属性表,属性表记载有计算单元所归属的参数分区编号及其所有相关属性。Preferably, step S3 is specifically to classify and sort all the calculation units obtained by cutting according to the new model cutting range according to the sub-basin and upstream and downstream confluence relationship, and construct a new code for each calculation unit to determine the one-to-one correspondence between the new and old codes of the calculation unit; and configure an attribute table for each calculation unit, which records the parameter partition number to which the calculation unit belongs and all its related attributes.
优选的,步骤S4具体包括如下内容,Preferably, step S4 specifically includes the following contents:
S41、空间数据切割与导入:根据新模型划定的空间范围,利用云GIS的相交工具对旧模型的地理空间数据进行精细化裁剪与提取,切割生成的地理空间数据默认保留原始数据的全部属性值,并将地理空间数据及其属性值导入新模型的构建数据库中;S41. Spatial data cutting and importing: Based on the spatial scope defined by the new model, the intersection tool of Cloud GIS is used to finely cut and extract the geospatial data of the old model. The geospatial data generated by cutting retains all the attribute values of the original data by default, and the geospatial data and its attribute values are imported into the construction database of the new model.
S42、文本数据提取与导入:利用已经构建好的新旧模型计算单元映射关系表,从旧模型的运行数据库中筛选出与新模型范围相符的文本数据,将文本数据按照新模型的范围提取出后导入构建的新模型的运行数据库中;S42, text data extraction and import: using the constructed mapping relationship table of calculation units of the new and old models, screen out text data that matches the scope of the new model from the running database of the old model, extract the text data according to the scope of the new model, and then import it into the running database of the constructed new model;
S43、新模型参数设定与导入:根据新旧模型计算单元映射关系表和计算单元属性表中的参数分区信息,从旧模型的参数数据库中抽取新模型各个计算单元的模型参数,将模型参数导入新模型的参数数据库。S43. Setting and importing new model parameters: According to the parameter partition information in the calculation unit mapping table of the new and old models and the calculation unit attribute table, the model parameters of each calculation unit of the new model are extracted from the parameter database of the old model, and the model parameters are imported into the parameter database of the new model.
优选的,所述地理空间数据包括DEM、土地利用图、植被分布图、土壤类型图、地质构造图、取用水分布数据、水利工程设施分布、河道断面信息。Preferably, the geospatial data includes DEM, land use map, vegetation distribution map, soil type map, geological structure map, water use distribution data, water conservancy project facility distribution, and river section information.
优选的,所述文本数据包括气象、水文历史观测数据、水资源利用数据、水利工程及调度策略、水保工程。Preferably, the text data includes meteorological and hydrological historical observation data, water resource utilization data, water conservancy projects and scheduling strategies, and water conservation projects.
优选的,所述模型参数包括含水层厚度修正系数、土壤层厚度、气孔阻抗修正系数、土壤饱和导水系数修正系数、河床底板材料导水率修正系数、含水层侧向导水率修正系数、洼地储留深。Preferably, the model parameters include aquifer thickness correction coefficient, soil layer thickness, pore impedance correction coefficient, soil saturated hydraulic conductivity correction coefficient, riverbed bottom material hydraulic conductivity correction coefficient, aquifer lateral hydraulic conductivity correction coefficient, and depression retention depth.
优选的,步骤S1之前还包括,基于WEP水文模型,收集研究区域的地理空间数据和文本数据,生成模拟河网,划分计算单元,对计算单元进行信息处理,建立研究区域的分布式水文模型并进行参数率定,确定需要切割的基础模型。Preferably, before step S1, it also includes, based on the WEP hydrological model, collecting geographic spatial data and text data of the study area, generating a simulated river network, dividing the calculation units, performing information processing on the calculation units, establishing a distributed hydrological model of the study area and calibrating parameters, and determining the basic model that needs to be cut.
本发明的有益效果是:1、本发明方法解决了传统水文模型构建中存在的数据收集、处理和建模率定等大量重复性的工作,提高水文模型的构建效率,有效促进水资源管理、防洪减灾以及生态环境保护等领域工作的科学性和时效性。也能够为水文学科的研究和应用提供一个新的视角和工具,具有重要的学术价值和实用意义。2、在实际应用中,通过本发明这种精细化的模型切割方法,能够灵活地选择将某一特定小模型的数据授权给第三方使用,而不涉及大模型其他部分的数据内容,既满足了第三方对特定应用场景的需求,也严格保障了未授权数据的安全性,避免了大模型整体数据信息的潜在泄露风险,实现了数据使用的安全可控和经济效益的最大化。The beneficial effects of the present invention are: 1. The method of the present invention solves a large amount of repetitive work such as data collection, processing and modeling calibration in the construction of traditional hydrological models, improves the construction efficiency of hydrological models, and effectively promotes the scientificity and timeliness of work in the fields of water resources management, flood prevention and disaster reduction, and ecological environment protection. It can also provide a new perspective and tool for the research and application of hydrology, which has important academic value and practical significance. 2. In practical applications, through the refined model cutting method of the present invention, it is possible to flexibly choose to authorize the data of a specific small model to a third party for use without involving the data content of other parts of the large model, which not only meets the needs of third parties for specific application scenarios, but also strictly guarantees the security of unauthorized data, avoids the potential risk of leakage of the overall data information of the large model, and realizes the safe and controllable use of data and the maximization of economic benefits.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明实施例中切割繁殖方法的流程图;Fig. 1 is a flow chart of a cutting propagation method according to an embodiment of the present invention;
图2是本发明实施例中不同切割方式生成切割范围的示意图。FIG. 2 is a schematic diagram of generating a cutting range by different cutting methods in an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation methods described herein are only used to explain the present invention and are not used to limit the present invention.
实施例一Embodiment 1
如图1所示,本实施例中,提供了一种基于云平台的分布式水文模型一键切割繁殖方法,实现从构建完成的基于云平台的分布式水循环模型模拟范围内一键生成任意指定区域独立完整水文模型的技术,切割生成的新模型包括计算单元、模型运行数据和模型参数等信息,旨在减少水文模型构建中的数据收集、处理和建模率定等重复性工作,大幅提高水文模型构建效率,有效促进水资源管理、防洪减灾以及生态环境保护等领域工作的科学性和时效性。本发明方法包括如下五部分内容:As shown in Figure 1, in this embodiment, a one-click cutting and propagation method for a distributed hydrological model based on a cloud platform is provided, which realizes the technology of generating an independent and complete hydrological model of any specified area within the simulation range of a distributed water cycle model based on a cloud platform with one click. The new model generated by cutting includes information such as calculation units, model operation data and model parameters, aiming to reduce repetitive work such as data collection, processing and modeling calibration in the construction of hydrological models, greatly improve the efficiency of hydrological model construction, and effectively promote the scientificity and timeliness of work in the fields of water resources management, flood prevention and disaster reduction, and ecological environment protection. The method of the present invention includes the following five parts:
一、旧模型确定:1. Old model confirmation:
基于WEP水文模型,收集研究区域的地理空间数据和文本数据,生成模拟河网,划分计算单元,对计算单元进行信息处理,建立研究区域的分布式水文模型并进行参数率定,确定需要切割的基础模型(即旧模型)。Based on the WEP hydrological model, the geospatial data and text data of the study area are collected, the simulated river network is generated, the calculation units are divided, the information of the calculation units is processed, the distributed hydrological model of the study area is established and the parameters are calibrated, and the basic model (i.e. the old model) that needs to be cut is determined.
二、切割方式确定:2. Determine the cutting method:
用户根据实际研究区域的需求选择切割的方式,包括基于面要素的切割方式和基于点要素的切割方式。The user can select the cutting method according to the actual needs of the research area, including cutting method based on area elements and cutting method based on point elements.
三、切割范围确定:3. Determination of cutting range:
3.1、对于基于面要素的切割方式,用户可以通过指定流域边界、指定行政区域边界或自定义区域多边形范围作为新模型的切割范围。3.1. For the cutting method based on surface features, users can specify the watershed boundary, administrative area boundary or custom area polygon range as the cutting range of the new model.
(1)、对于指定流域边界的模型切割问题,具体实现过程为:先基于云版GIS的相交工具,用指定流域范围对旧模型计算单元图层进行切割,确定指定流域包含的计算单元;再采用云GIS的斑块融合工具根据面积阈值去除零碎的单元,以此作为新模型的切割范围。(1) For the model cutting problem of specifying the watershed boundary, the specific implementation process is as follows: first, based on the intersection tool of the cloud version of GIS, the old model calculation unit layer is cut with the specified watershed range to determine the calculation units contained in the specified watershed; then, the patch fusion tool of the cloud GIS is used to remove fragmented units according to the area threshold, and this is used as the cutting range of the new model.
(2)、对于指定行政区域边界或自定义区域多边形范围的模型切割问题,具体实现过程为:先基于云版GIS的相交工具用指定范围对旧模型计算单元图层进行切割,确定指定范围包含的计算单元;由于指定范围一般为非封闭流域,因此再从指定范围内各个计算单元出发,根据旧模型中各计算单元之间的拓扑关系和编码规则向上游追溯,精确界定出指定范围及其上游所有的计算单元,对所有追溯的计算单元取并集作为新模型的切割范围。(2) For the model cutting problem of specifying administrative area boundaries or custom area polygon ranges, the specific implementation process is as follows: first, based on the intersection tool of the cloud version of GIS, the old model calculation unit layer is cut with the specified range to determine the calculation units included in the specified range; since the specified range is generally a non-closed watershed, starting from each calculation unit within the specified range, the topological relationship and coding rules between the calculation units in the old model are traced upstream to accurately define the specified range and all the calculation units upstream, and the union of all traced calculation units is taken as the cutting range of the new model.
3.2、对于基于点要素的切割方式,用户可以提供待模拟流域控制节点,如水文站、水库位置或河道断面信息。系统将通过空间分析手段(如网络分析、流域划分或邻近搜索等方式)分析控制节点与旧模型计算单元的空间关系,再根据旧模型各计算单元之间的拓扑关系和编码规则,通过追溯精确界定出每个控制节点以上所有的计算单元,以此作为新模型的切割范围。3.2. For the cutting method based on point elements, users can provide the control nodes of the watershed to be simulated, such as the location of hydrological stations, reservoirs or river section information. The system will analyze the spatial relationship between the control nodes and the calculation units of the old model through spatial analysis methods (such as network analysis, watershed division or proximity search, etc.), and then accurately define all the calculation units above each control node through tracing according to the topological relationship and coding rules between the calculation units of the old model, and use this as the cutting range of the new model.
对于指定控制点的模型切割问题,具体实现过程为:先通过空间分析手段(如网络分析、流域划分或邻近搜索等方式),根据云GIS的相交工具确定各个控制节点在旧模型中的计算单元编号;再根据旧模型中各计算单元之间的拓扑关系和编码规则向上游追溯,精确界定出各个控制点以上所有的计算单元,对所有追溯的计算单元取并集作为新模型的模拟范围。For the model cutting problem of specified control points, the specific implementation process is: first, through spatial analysis methods (such as network analysis, watershed division or proximity search, etc.), the calculation unit number of each control node in the old model is determined according to the intersection tool of cloud GIS; then, according to the topological relationship and coding rules between the calculation units in the old model, all the calculation units above each control point are traced upstream to accurately define, and the union of all traced calculation units is taken as the simulation range of the new model.
四、新旧模型计算单元映射关系构建:4. Construction of the mapping relationship between the new and old model calculation units:
为基于新模型的切割范围切割获取的所有计算单元构建新编码,确定计算单元的新旧编码一一对应关系,构建新旧模型计算单元映射关系表;并为各计算单元配置记载其所归属的参数分区编号及其所有相关属性的属性表。Construct new codes for all calculation units obtained by cutting the cutting range based on the new model, determine the one-to-one correspondence between the new and old codes of the calculation units, and construct a mapping relationship table between the new and old model calculation units; and configure an attribute table for each calculation unit to record the parameter partition number to which it belongs and all its related attributes.
具体地:该部分的核心内容就是建立新旧模型之间计算单元的一一对应关系。首先将按照新模型模拟范围切割得到的所有计算单元,按照子流域和上下游汇流关系进行归类和排序,并为每个计算单元构建新编码,确定计算单元的新旧编码之间的一一对应关系,构建新旧模型计算单元映射关系表,该表可以确保新模型的计算单元能有效继承旧模型的水文过程描述能力并保持运算结果的连续一致性。此外,为计算单元配置属性表,计算单元的属性表详尽地记载了每个计算单元所归属的参数分区编号及其所有相关属性,这一信息在构建新模型时能够将旧模型中各计算单元所属的参数分区及其所有相关属性精准地迁移并映射到新模型之中。Specifically: The core content of this section is to establish a one-to-one correspondence between the calculation units of the new and old models. First, all the calculation units obtained by cutting according to the simulation range of the new model are classified and sorted according to the sub-basin and upstream and downstream confluence relationship, and a new code is constructed for each calculation unit to determine the one-to-one correspondence between the new and old codes of the calculation unit, and to construct a mapping relationship table of the calculation units of the new and old models. This table can ensure that the calculation units of the new model can effectively inherit the hydrological process description capabilities of the old model and maintain the continuity and consistency of the calculation results. In addition, an attribute table is configured for the calculation unit. The attribute table of the calculation unit records in detail the parameter partition number and all related attributes to which each calculation unit belongs. This information can accurately migrate and map the parameter partitions and all related attributes of each calculation unit in the old model to the new model when building a new model.
五、新模型数据库构建:5. Construction of new model database:
基于新旧模型计算单元映射关系表及计算单元的属性表,将从旧模型中获取的地理空间数据、文本数据和计算单元的模型参数分别对应导入新模型的构建数据库、新模型的运行数据库以及新模型的参数数据库中。Based on the mapping relationship table of calculation units between the new and old models and the attribute table of the calculation units, the geographic spatial data, text data and model parameters of the calculation units obtained from the old model are imported into the construction database of the new model, the operation database of the new model and the parameter database of the new model respectively.
5.1、空间数据切割与导入:根据新模型划定的空间范围,利用云GIS的相交工具对旧模型的地理空间数据(如DEM、土地利用图、植被分布图、土壤类型图、地质构造图、取用水分布数据、水利工程设施分布及河道断面信息等)进行精细化裁剪与提取,切割生成的地理空间数据默认保留原始数据的全部属性值,地理空间数据及其属性值导入新建模型的构建数据库中,为后续模型初始化和模型构建奠定基础。5.1. Spatial data cutting and importing: According to the spatial scope defined by the new model, the intersection tool of Cloud GIS is used to finely cut and extract the geospatial data of the old model (such as DEM, land use map, vegetation distribution map, soil type map, geological structure map, water use distribution data, water conservancy project facility distribution and river section information, etc.). The geospatial data generated by cutting retains all the attribute values of the original data by default. The geospatial data and its attribute values are imported into the construction database of the new model, laying the foundation for subsequent model initialization and model construction.
5.2、文本数据提取与导入:利用已经构建好的新旧模型计算单元映射关系表,从旧模型的运行数据库中筛选出与新模型范围相符的气象、水文历史观测数据、水资源利用数据、水利工程及调度策略、水保工程等相关文本数据。将这些数据按照新模型的范围提取出来后,导入新模型的运行数据库,为模型的实际运行提供实时或历史情景下的驱动数据。5.2. Text data extraction and import: Using the established mapping relationship table of calculation units between the old and new models, we screen out relevant text data such as meteorological and hydrological historical observation data, water resource utilization data, water conservancy projects and dispatching strategies, and water conservation projects that are consistent with the scope of the new model from the operation database of the old model. After extracting these data according to the scope of the new model, we import them into the operation database of the new model to provide driving data in real time or historical scenarios for the actual operation of the model.
5.3、新模型参数设定与导入:根据新旧模型计算单元映射关系表和计算单元属性表中的参数分区信息,从旧模型参数数据库中抽取新模型各个计算单元的模型参数,包括但不限于含水层厚度修正系数、土壤层厚度、气孔阻抗修正系数、土壤饱和导水系数修正系数、河床底板材料导水率修正系数、含水层侧向导水率修正系数、洼地储留深等,导入新模型的参数数据库,以保证新模型在本地化范围内的模拟精度和可信度。5.3. Setting and importing new model parameters: According to the parameter partitioning information in the calculation unit mapping table and the calculation unit attribute table of the new and old models, the model parameters of each calculation unit of the new model are extracted from the old model parameter database, including but not limited to aquifer thickness correction coefficient, soil layer thickness, pore impedance correction coefficient, soil saturated hydraulic conductivity correction coefficient, riverbed bottom material hydraulic conductivity correction coefficient, aquifer lateral hydraulic conductivity correction coefficient, depression retention depth, etc., and imported into the parameter database of the new model to ensure the simulation accuracy and credibility of the new model within the localized range.
本实施例中,在参数设定过程中,可能还需要根据新模型的具体需求进行参数校正工作,确保参数值能够反映研究区域内特有的自然和社会条件。In this embodiment, during the parameter setting process, it may be necessary to perform parameter correction according to the specific requirements of the new model to ensure that the parameter values can reflect the unique natural and social conditions in the study area.
实施例二Embodiment 2
本实施例中,以江西省鄱阳湖流域分布式水文模型为例,采用本发明提供的一键切割“繁殖”方法形成局部区域水文模型。具体包括如下步骤:In this embodiment, taking the distributed hydrological model of Poyang Lake Basin in Jiangxi Province as an example, the one-key cutting "breeding" method provided by the present invention is used to form a local area hydrological model. Specifically, the following steps are included:
一、旧模型确定:1. Old model confirmation:
基于WEP水文模型,收集处理鄱阳湖流域的地理空间数和文本数据,生成模拟河网,划分计算单元,计算单元信息处理,建立鄱阳湖流域的分布式水文模型并进行参数率定,确定需要切割的基础模型。Based on the WEP hydrological model, the geographic spatial data and text data of the Poyang Lake Basin are collected and processed, a simulated river network is generated, the calculation units are divided, the calculation unit information is processed, a distributed hydrological model of the Poyang Lake Basin is established and parameter calibration is performed, and the basic model that needs to be cut is determined.
二、切割方式确定:2. Determine the cutting method:
根据研究需要可选择基于面要素或点要素方式。若选择面切割方式,要求用户选择或上传某一个水资源区或行政分区等空间范围;若选择点要素方式,要求用户选择或上传某一水文站或水库等点文件。Depending on the research needs, you can choose to use the area feature or point feature method. If you choose the area cutting method, you are required to select or upload a spatial range such as a water resource area or administrative division; if you choose the point feature method, you are required to select or upload a point file such as a hydrological station or reservoir.
三、切割范围确定:3. Determination of cutting range:
根据选择的切割方式和文件,基于空间分析手段,如网络分析、流域划分或邻近搜索等方式,分析控制节点与旧模型中计算单元的空间关系,再根据旧模型中各计算单元之间的拓扑关系和编码规则,通过追溯精确界定出每个控制点以上所有的计算单元,以此作为新模型的切割范围。切割范围如图2所示,其中图标较小的编号是旧模型的计算单元编号,图标较大的编号是新模型计算单元编号。According to the selected cutting method and file, based on spatial analysis methods such as network analysis, watershed division or proximity search, analyze the spatial relationship between the control node and the calculation unit in the old model, and then trace back to accurately define all the calculation units above each control point according to the topological relationship and coding rules between the calculation units in the old model, so as to serve as the cutting range of the new model. The cutting range is shown in Figure 2, where the smaller icon number is the calculation unit number of the old model, and the larger icon number is the calculation unit number of the new model.
四、新旧模型计算单元映射关系构建:4. Construction of the mapping relationship between the new and old model calculation units:
根据生成的切割范围提取需要计算的旧的子流域编号,并按从小到大排列以及从1开始连续编码,获取计算单元的新旧编码一一对应关系,进而构建新旧模型计算单元映射关系表。每个计算单元都配置有属性表,属性表记载了计算单元所归属的参数分区编号及相关属性。新旧模型计算单元之间的映射关系参见表1。According to the generated cutting range, the old sub-basin numbers to be calculated are extracted, and they are arranged from small to large and coded continuously from 1 to obtain the one-to-one correspondence between the new and old codes of the calculation units, and then the mapping relationship table of the new and old model calculation units is constructed. Each calculation unit is configured with an attribute table, which records the parameter partition number and related attributes to which the calculation unit belongs. The mapping relationship between the new and old model calculation units is shown in Table 1.
表1新旧模型计算单元之间的映射关系Table 1 Mapping relationship between calculation units of the new and old models
五、新模型数据库构建:5. Construction of new model database:
基于构建的映射关系表和属性表,从新模型输入文件和数据库中,按照映射关系筛选输入数据构建新模型模拟使用的输入文件,并按模型文件和数据结构进行组织,生成新模型。Based on the constructed mapping relationship table and attribute table, the input data is filtered from the new model input file and database according to the mapping relationship to construct the input file used for the new model simulation, and the input file is organized according to the model file and data structure to generate a new model.
通过采用本发明公开的上述技术方案,得到了如下有益的效果:By adopting the above technical solution disclosed in the present invention, the following beneficial effects are obtained:
本发明提供了一种基于云平台的分布式水文模型一键切割繁殖方法,解决了传统水文模型构建中存在的数据收集、处理和建模率定等大量重复性的工作,提高水文模型的构建效率,有效促进水资源管理、防洪减灾以及生态环境保护等领域工作的科学性和时效性。也能够为水文学科的研究和应用提供一个新的视角和工具,具有重要的学术价值和实用意义。在实际应用中,通过本发明这种精细化的模型切割方法,能够灵活地选择将某一特定小模型的数据授权给第三方使用,而不涉及大模型其他部分的数据内容,既满足了第三方对特定应用场景的需求,也严格保障了未授权数据的安全性,避免了大模型整体数据信息的潜在泄露风险,实现了数据使用的安全可控和经济效益的最大化。The present invention provides a one-key cutting and propagation method for distributed hydrological models based on a cloud platform, which solves a large amount of repetitive work such as data collection, processing and modeling calibration in the construction of traditional hydrological models, improves the construction efficiency of hydrological models, and effectively promotes the scientificity and timeliness of work in the fields of water resources management, flood prevention and disaster reduction, and ecological environment protection. It can also provide a new perspective and tool for the research and application of hydrology, which has important academic value and practical significance. In practical applications, through the refined model cutting method of the present invention, it is possible to flexibly choose to authorize the data of a specific small model to a third party for use without involving the data content of other parts of the large model, which not only meets the needs of third parties for specific application scenarios, but also strictly guarantees the security of unauthorized data, avoids the potential risk of leakage of the overall data information of the large model, and realizes the safe and controllable use of data and the maximization of economic benefits.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视本发明的保护范围。The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410294038.8A CN118113804B (en) | 2024-03-14 | 2024-03-14 | A one-click cutting and propagation method for distributed hydrological models based on cloud platform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410294038.8A CN118113804B (en) | 2024-03-14 | 2024-03-14 | A one-click cutting and propagation method for distributed hydrological models based on cloud platform |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118113804A true CN118113804A (en) | 2024-05-31 |
| CN118113804B CN118113804B (en) | 2025-06-24 |
Family
ID=91219353
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410294038.8A Active CN118113804B (en) | 2024-03-14 | 2024-03-14 | A one-click cutting and propagation method for distributed hydrological models based on cloud platform |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118113804B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030033277A1 (en) * | 2001-07-26 | 2003-02-13 | Bahulkar Arun Gajanan | Method and apparatus for object-oriented access to a relational database management system (RDBMS) based on any arbitrary predicate |
| CN110717251A (en) * | 2019-09-19 | 2020-01-21 | 中国水利水电科学研究院 | A sub-basin division method of distributed hydrological model considering multiple elements |
| CN112765800A (en) * | 2021-01-12 | 2021-05-07 | 长江水利委员会长江科学院 | Design method of distributed water resource configuration model |
-
2024
- 2024-03-14 CN CN202410294038.8A patent/CN118113804B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030033277A1 (en) * | 2001-07-26 | 2003-02-13 | Bahulkar Arun Gajanan | Method and apparatus for object-oriented access to a relational database management system (RDBMS) based on any arbitrary predicate |
| CN110717251A (en) * | 2019-09-19 | 2020-01-21 | 中国水利水电科学研究院 | A sub-basin division method of distributed hydrological model considering multiple elements |
| CN112765800A (en) * | 2021-01-12 | 2021-05-07 | 长江水利委员会长江科学院 | Design method of distributed water resource configuration model |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118113804B (en) | 2025-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110298076B (en) | An Intelligent Modeling and Analysis Method of Urban Waterlogging Based on GIS and SWMM | |
| Ahmed et al. | Groundwater flow modelling of Yamuna-Krishni interstream, a part of central Ganga Plain Uttar Pradesh | |
| CN102567635B (en) | Method for quantificationally distinguishing contributions of different factors in water cycle evolution process | |
| CN1897023A (en) | Water-resource information managing and planning system | |
| CN101694680B (en) | Simulating and predicting method of urban storm flood | |
| CN108614915B (en) | Hydrological model free construction strategy method based on scene driving | |
| CN107704592A (en) | A kind of flood forecasting service construction method based on WebGIS | |
| CN107239657A (en) | A kind of hydrodynamics modeling factors management method of object-oriented | |
| CN105912770A (en) | Real-time hydrologic forecasting system | |
| CN107239607A (en) | A kind of model element and numerical procedure management method | |
| CN119066891B (en) | Distributed flood forecast scheduling model construction method and system based on sub-drainage basin | |
| CN116167193A (en) | A method for analyzing the impact of land use change on runoff process based on SWAT model | |
| Alcaraz et al. | A loosely coupled GIS and hydrogeological modeling framework | |
| CN110766792B (en) | Grid Calculation Order Coding Method Based on ArcGIS Hydrological Analysis Tool | |
| Kumar et al. | River basin modelling for Shipra River using MIKE BASIN | |
| CN116976499A (en) | Storm flood model system based on massive parallel computing | |
| CN113627761B (en) | A parallel evaluation method for predicting the probability of water inrush in geotechnical engineering | |
| KR101492323B1 (en) | GUI Apparatus for Coupling of Multi-Dimensional Hydraulic Models | |
| CN117473103B (en) | Flood forecasting method, system, storage medium and equipment based on knowledge graph | |
| CN118113804A (en) | A one-click cutting and propagation method for distributed hydrological models based on cloud platform | |
| CN111369102B (en) | Method and device for extracting waterlogging risk points | |
| Zhu et al. | Slope stability from a hydrological perspective: taking typical soil slope as an example | |
| Meng et al. | Lithologic controls on parameters of conceptual rainfall–runoff model and runoff characteristics: a case study of the Xinanjiang Model | |
| Gu et al. | Virtual geographic environment for WATLAC hydrological model integration | |
| CN106600150B (en) | A comparative analysis method for national general land cover and land use data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |