Reservoir dam site identification method, device, equipment and medium based on parallel computing

Parallel computing technology is used to identify water system lines and watersheds in reservoir site selection, determine site selection river sections, and generate reservoir dam lines. This solves the problems of large computational workload and low efficiency in the existing technology, and achieves efficient reservoir site selection.

CN118552859BActive Publication Date: 2024-10-11POWERCHINA HUADONG ENG CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411025913.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-11
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

Existing reservoir site selection methods require a large calculation workload and low efficiency, and can easily miss good dam sites, resulting in a waste of resources.

Method used

Parallel computing technology is used to simultaneously process the reservoir dam site identification task through multiple idle computing node machines, obtain water system lines and watersheds, determine site selection river sections, extract intersection points to generate reservoir dam lines, and screen suitable dam sites based on terrain characteristic parameters.

Benefits of technology

It significantly improves the efficiency of reservoir site selection, shortens the time, reduces the amount of calculation data, and ensures the discovery of excellent dam sites and the effective use of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552859B_ABST
    Figure CN118552859B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of reservoir site selection technology, and discloses a reservoir dam site identification method, device, equipment and medium based on parallel computing, which is applied to a main controller. The method includes: obtaining water system lines and watersheds of multiple watersheds to be identified; controlling multiple idle computing node machines to determine the site selection river section of each watershed to be identified through parallel computing based on the water system lines and watersheds; controlling multiple idle computing node machines to extract the intersection of the site selection river section and the preset contour line cluster through parallel computing; controlling multiple idle computing node machines to generate the reservoir dam line of the corresponding intersection based on the intersection of the site selection river section and the preset contour line cluster through parallel computing; controlling multiple idle computing node machines to read the reservoir dam line through parallel computing, retaining the dam line that meets the preset threshold of the terrain feature parameter, and using the retained reservoir dam line as the reservoir dam site. The present invention enables multiple idle computing node machines to process the tasks to be calculated at the same time, greatly improving the efficiency of reservoir site selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of reservoir site selection, and in particular to a reservoir dam site identification method, device, equipment and medium based on parallel computing. Background Art

[0002] Reservoirs are one of the main types of water conservancy projects. Generally, artificial lakes formed by river-blocking dams and natural terrain are used to regulate and store natural flows with uneven time distribution, and play the role of flood control, power generation, water supply, irrigation, and ecological water replenishment. The site selection of reservoirs has strict requirements on terrain conditions. It must be able to form sufficient storage capacity to meet the needs of social and economic development for its regulation capacity. At the same time, the dam height and dam length of the river-blocking dam should not be too large, so as to minimize the dam project volume, save project investment, and obtain a better input-output ratio. Therefore, the reservoir dam site is a very important but relatively scarce engineering resource. Finding a suitable reservoir dam site is one of the main tasks of water conservancy and hydropower project planners.

[0003] At present, planners generally identify reservoir dam sites by combining visual judgment with calculations, that is, first visually search for possible dam construction locations based on topographic map contours, and then calculate the reservoir capacity and dam length, dam height and other parameters on the map to determine whether they meet the reservoir site selection requirements. For a relatively large area, the above method has a huge workload of analysis and calculation, is extremely time-consuming, and has a very low efficiency in reservoir site selection. It is also very easy to miss relatively good dam sites, resulting in a waste of good dam site resources. Summary of the invention

[0004] In view of this, the present invention provides a reservoir dam site identification method, device, equipment and medium based on parallel computing to solve the problem of large computing workload and extremely low reservoir site selection efficiency.

[0005] In a first aspect, the present invention provides a reservoir dam site identification method based on parallel computing, which is applied to a main controller. The method comprises:

[0006] Obtain the drainage lines and watersheds of multiple watersheds to be identified;

[0007] Control multiple idle computing nodes to determine the site section of each watershed to be identified based on water system lines and watersheds through parallel computing;

[0008] Control multiple idle computing nodes to extract the intersection of the selected river section and the preset contour line cluster through parallel computing;

[0009] Control multiple idle computing node machines to generate reservoir dam lines corresponding to intersection points based on the intersection points of the selected river section and the preset contour line cluster through parallel computing;

[0010] Control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of terrain characteristic parameters, and use the retained reservoir dam line as the reservoir dam site.

[0011] The reservoir dam site identification method based on parallel computing provided by the present invention controls multiple idle computing node machines to determine the site selection river section of each to-be-identified watershed through parallel computing, extracts the intersection points of the site selection river section and a preset contour line cluster, generates a reservoir dam line corresponding to the intersection point, retains the dam line that meets the preset threshold value of the terrain characteristic parameter, and uses the retained reservoir dam line as the reservoir dam site, so that multiple idle computing node machines can process the tasks to be calculated at the same time, which greatly improves the efficiency of reservoir site selection, shortens the time of reservoir site selection, and solves the problems of large computing workload and extremely low reservoir site selection efficiency.

[0012] In an optional implementation, obtaining the drainage lines and watersheds of multiple watersheds to be identified includes:

[0013] Obtaining the elevation attribute value of each watershed to be identified, and determining the contour line of each watershed to be identified based on the elevation attribute value;

[0014] Based on the contour lines of each watershed to be identified, the drainage lines and watersheds of each watershed to be identified are extracted using a geographic information system.

[0015] The reservoir dam site identification method based on parallel computing provided by the present invention determines the contour lines of each watershed to be identified through elevation attribute values, and uses a geographic information system to extract the drainage lines and watersheds of each watershed to be identified based on the contour lines. The geographic information system can be used to quickly extract the drainage lines and watersheds of each watershed to be identified, providing a basis for the subsequent determination of the site selection river section of each watershed to be identified.

[0016] In an optional implementation, controlling a plurality of idle computing nodes to determine the site selection river section of each to-be-identified watershed based on water system lines and watersheds through parallel computing includes:

[0017] Read each drainage line and watershed one by one, and determine the site section of each watershed to be identified based on the drainage line and watershed as the first task to be calculated and assign them to multiple idle computing node machines respectively;

[0018] Control multiple idle computing node machines to read the corresponding watershed in the first task to be calculated through parallel computing, and use the watershed as the initial boundary;

[0019] Control multiple idle computing node machines to superimpose the initial boundary and the boundary of the preset restrictive factor through parallel computing. If the initial boundary and the boundary of the preset restrictive factor vector data intersect, modify the intersecting boundary to the boundary of the preset restrictive factor, and use the intersecting boundary as the site selection boundary;

[0020] Control multiple idle computing nodes to cut the corresponding water system line of each watershed to be identified based on the site selection boundary and preset restrictive factors through parallel calculation, obtain the water system line independent of the restrictive factors, and use the watershed to be identified where the water system line is located as the site selection river section.

[0021] The reservoir dam site identification method based on parallel computing provided by the present invention controls multiple idle computing node machines to extract the corresponding watershed of each watershed to be identified, takes the watershed as the initial boundary, superimposes the initial boundary and the boundary of the preset restrictive factor to finally obtain the site selection boundary, and cuts the corresponding water system line of each watershed to be identified based on the site selection boundary and the preset restrictive factor to obtain the water system line independent of the restrictive factor, and takes the watershed to be identified where the water system line is located as the site selection river section, and the efficiency of determining the site selection river section is improved by parallel computing of multiple idle computing node machines, and the amount of calculated data is reduced.

[0022] In an optional implementation, controlling a plurality of idle computing nodes to extract the intersection of the selected river section and the preset contour line cluster through parallel computing includes:

[0023] Read each selected river section one by one, and extract the intersection points of the selected river section and the preset contour line cluster as the second task to be calculated and distribute them to multiple idle computing node machines respectively;

[0024] Control multiple idle computing node machines to read the corresponding site selection river section in the second task to be calculated, and extract the intersection points of the site selection river section and the preset contour line cluster based on the spatial intersection relationship.

[0025] The reservoir dam site identification method based on parallel computing provided by the present invention improves the efficiency of extracting intersection points by controlling multiple idle computing nodes in parallel to extract the intersection points between the selected river section and the preset contour line cluster, and provides a basis for the subsequent generation of the reservoir dam line corresponding to the intersection points.

[0026] In an optional implementation, controlling a plurality of idle computing nodes to generate a reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel computing includes:

[0027] Read each intersection point one by one, and assign the reservoir dam line corresponding to the intersection point as the third task to be calculated to multiple idle computing node machines respectively;

[0028] Control multiple idle computing nodes to read corresponding intersection points in the third task to be calculated, and generate initial dam lines perpendicular to the direction of the water system line at the corresponding intersection points based on the contour lines;

[0029] Control multiple idle computing node machines to rotate the initial dam line in a clockwise direction and a counterclockwise direction at a preset rotation angle for a preset number of times with the corresponding intersection point as the center, and use each rotation trajectory as a comparison dam line;

[0030] Based on the spatial intersection relationship, it is determined whether the comparison dam line intersects with the site selection boundary. If they cannot intersect, the corresponding comparison dam line is deleted; if they intersect, the comparison dam line is clipped based on the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line.

[0031] The reservoir dam site identification method based on parallel computing provided by the present invention controls multiple idle computing node machines to generate initial dam lines and comparison dam lines based on contour lines at corresponding intersections perpendicular to the direction of the water system line through parallel computing, and judges whether the comparison dam line intersects with the site selection boundary based on the spatial intersection relationship. If they cannot intersect, the corresponding comparison dam line is deleted; if they intersect, the comparison dam line is clipped based on the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line, so that multiple idle computing node machines work simultaneously, and the efficiency of generating the reservoir dam line is improved through parallel computing, the amount of calculation data is reduced, and the generation time of the reservoir dam line is shortened, which provides a basis for subsequent reservoir site selection.

[0032] In an optional implementation, the preset thresholds of the terrain characteristic parameters include a water storage capacity threshold, a reservoir surface morphology coefficient threshold, and a water surface area threshold;

[0033] Control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of terrain characteristic parameters, and use the retained reservoir dam line as the reservoir dam site, including:

[0034] Read each reservoir dam line one by one, and assign the determination of the reservoir dam site as the fourth task to be calculated to multiple idle computing node machines;

[0035] Control multiple idle computing node machines to read the corresponding reservoir dam line in the fourth task to be calculated through parallel computing, and calculate the storage capacity, reservoir surface shape coefficient and water surface area of ​​the corresponding reservoir dam line;

[0036] The reservoir dam line that meets the water storage capacity threshold, reservoir surface morphology threshold and water surface area threshold will be retained, and the retained reservoir dam line will be used as the reservoir dam site.

[0037] The reservoir dam site identification method based on parallel computing provided by the present invention calculates the water storage capacity, reservoir surface shape coefficient and water surface area of ​​the reservoir dam line by controlling multiple idle computing node machines, and compares the calculated water storage capacity, reservoir surface shape coefficient and water surface area of ​​the reservoir dam line with the corresponding preset thresholds, and finally selects the reservoir dam line that meets the requirements as the final reservoir dam site, so as to accurately determine the reservoir dam line that meets the requirements, improve the efficiency of reservoir site selection, and provide a basis for the subsequent actual construction of the reservoir.

[0038] In an optional implementation, controlling a plurality of idle computing nodes to read reservoir dam lines through parallel computing, retaining dam lines that meet a preset threshold of terrain characteristic parameters, and using the retained reservoir dam lines as reservoir dam sites also includes:

[0039] When there are multiple reservoir dam lines at the intersection of the selected river section and the preset contour line cluster, multiple idle computing node machines are controlled to select the reservoir dam line with the largest water storage capacity as the reservoir dam site through parallel computing.

[0040] The reservoir dam site identification method based on parallel computing provided by the present invention, when the intersection of the selected river section and the preset contour line cluster retains multiple reservoir dam lines, controls multiple idle computing node machines to select the reservoir dam line with the largest water storage capacity as the reservoir dam site through parallel computing, so that the selected reservoir dam site is optimal.

[0041] In a second aspect, the present invention provides a reservoir dam site identification device based on parallel computing, which is applied to a main controller, and the device includes:

[0042] An acquisition module, used for acquiring the drainage lines and watersheds of multiple watersheds to be identified;

[0043] A determination module, used to control multiple idle computing nodes to determine the sited river section of each to-be-identified watershed based on water system lines and watersheds through parallel calculations;

[0044] An extraction module, used to control a plurality of idle computing node machines to extract the intersection of the selected river section and a preset contour line cluster through parallel computing;

[0045] A generation module, used for controlling a plurality of idle computing node machines to generate a reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel calculation;

[0046] The screening module is used to control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of the terrain characteristic parameters, and use the retained reservoir dam line as the reservoir dam site.

[0047] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the reservoir dam site identification method based on parallel computing of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0048] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the reservoir dam site identification method based on parallel computing according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 is a schematic flow chart of a reservoir dam site identification method based on parallel computing according to an embodiment of the present invention;

[0051] Figure 2 is a flow chart of another reservoir dam site identification method based on parallel computing according to an embodiment of the present invention;

[0052] Figure 3 is a flow chart of another reservoir dam site identification method based on parallel computing according to an embodiment of the present invention;

[0053] Figure 4 is a structural block diagram of a reservoir dam site identification device based on parallel computing according to an embodiment of the present invention;

[0054] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0056] According to an embodiment of the present invention, an embodiment of a reservoir dam site identification method based on parallel computing is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0057] In this embodiment, a reservoir dam site identification method based on parallel computing is provided, which can be used in a main controller. Figure 1 is a flow chart of reservoir dam site identification based on parallel computing according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0058] Step S101, obtaining the drainage lines and watersheds of multiple watersheds to be identified.

[0059] Specifically, the basin to be identified can be located by the operator through the geographic information system software. For example, the area determined by the location conditions such as the topographic conditions, geological conditions, water source conditions, social conditions and climatic conditions of the reservoir site selection is used as the basin to be identified. A water system refers to a system in which the main stream of a river and its tributaries at all levels are connected to each other. A water system line refers to the boundary of a water system, which is a mountain or inter-river highland that divides adjacent water systems (or rivers). A watershed refers to a mountain or highland that separates two adjacent basins. In nature, watersheds are mostly mountains or highlands.

[0060] Digital Elevation Model (DEM) is a geographic information system used to describe the topography of the surface of the area to be identified. It uses limited terrain elevation attribute values ​​to achieve digital simulation of the ground terrain of the area to be identified, that is, digital expression of the terrain surface morphology.

[0061] For example, a digital elevation model (DEM) is used to describe the topography of the surface of the area to be identified, and the drainage lines and watersheds of each watershed to be identified are extracted through the elevation attribute values.

[0062] Step S102, controlling a plurality of idle computing nodes to determine the sited river section of each to-be-identified watershed based on water system lines and watersheds through parallel computing.

[0063] Specifically, the site selection river section of each to-be-identified river basin refers to the river section in each to-be-identified river basin where a reservoir can be built.

[0064] The main controller can be implemented by a main control computer, and the main control computer includes an engine management center. The engine management center is also used to monitor the load status of multiple computing node machines. When the engine management center monitors that the load status of the computing node machine is not 0, it determines that the computing node machine is in a busy state; when the engine management center monitors that the load status of the computing node machine is 0, it determines that the computing node machine is an idle computing node machine. Exemplarily, the engine management center will determine the site selection river section of each watershed to be identified based on the water system line and watershed as a task to be calculated and publish it. When the load status of the computing node machine is not 0, which is a busy state, the main control computer does not assign tasks to be calculated. When the load status of the computing node machine is 0, which is an idle state, it is determined that the computing node machine is an idle computing node machine, and the main control computer assigns tasks to be calculated to the idle computing node machine.

[0065] Step S103, controlling a plurality of idle computing node machines to extract the intersection points of the selected river section and the preset contour line cluster through parallel computing.

[0066] Specifically, a contour line refers to a closed curve formed by connecting adjacent points with equal elevation attribute values ​​(equal altitudes) on a topographic map. When actually drawing, the closed curve formed by connecting points with the same altitude on the ground is vertically projected onto a horizontal plane, and then scaled down on the drawing to obtain the contour line. The contour lines of each watershed to be identified can be extracted through a digital elevation model. A contour interval of a contour line cluster is preset, and all contour lines within the contour interval are grouped together to obtain a contour line cluster. For example, the contour interval is set to 10 meters, and all contour lines within 10 meters form a contour line cluster. Each watershed to be identified contains at least one contour line cluster, and multiple idle computing nodes are controlled to determine whether the sited river section intersects with the preset contour line cluster through parallel computing. If so, the intersection of the sited river section and the preset contour line cluster is extracted.

[0067] Step S104, controlling a plurality of idle computing node machines to generate reservoir dam lines corresponding to intersection points based on the intersection points of the selected river section and the preset contour line cluster through parallel computing.

[0068] Specifically, the reservoir dam line is the dam axis of the reservoir dam. Based on the contour lines and water system lines, the initial dam line is first generated, and the initial dam line is used to generate a dam line group with the intersection of the selected river section and the preset contour line cluster as the center. In the dam line group, the dam line that meets the requirements is selected as the reservoir dam line based on the preset reservoir dam line requirements.

[0069] Step S105, controlling multiple idle computing node machines to read the reservoir dam line through parallel computing, retaining the dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site.

[0070] Specifically, the terrain characteristic parameters may include water storage capacity, reservoir surface morphology and water surface area. The engine management center of the main control computer will determine the reservoir dam site as a task to be calculated, and distribute it to multiple idle computing node machines respectively. Each idle computing node machine will compare the relationship between the water storage capacity, reservoir surface morphology and water surface area of ​​the corresponding reservoir dam line and the preset threshold, retain the reservoir dam line that meets the preset threshold, and use the retained reservoir dam line as the final reservoir dam site, providing a dam site foundation for the subsequent construction of water-blocking structures and reservoirs.

[0071] The reservoir site selection method based on parallel computing provided in this embodiment controls multiple idle computing node machines to read the reservoir dam line through parallel computing, retains the dam line that meets the preset threshold of the terrain characteristic parameters, and uses the retained reservoir dam line as the reservoir dam site, so that multiple idle computing node machines can process the tasks to be calculated at the same time, which greatly improves the efficiency of reservoir site selection, shortens the time of reservoir site selection, and solves the problem of large computing workload and extremely low efficiency of reservoir site selection.

[0072] In this embodiment, a reservoir site selection method based on parallel computing is provided, which can be used for the above-mentioned main controller. Figure 2 is a flow chart of a reservoir site selection method based on parallel computing according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0073] Step S201, obtaining the drainage lines and watersheds of multiple watersheds to be identified.

[0074] Specifically, the above step S201 includes:

[0075] Step S2011, obtaining the elevation attribute value of each watershed to be identified, and determining the contour line of each watershed to be identified based on the elevation attribute value.

[0076] Specifically, the elevation attribute value of the area to be identified refers to the altitude value of the area to be identified. The elevation attribute value of the area to be identified can be obtained by using a digital elevation model (DEM), and points with equal elevation attribute values ​​are connected into lines to obtain multiple contour lines of each watershed to be identified.

[0077] Step S2012, based on the contour lines of each watershed to be identified and using a geographic information system, extract the drainage lines and watersheds of each watershed to be identified.

[0078] Specifically, a digital elevation model (DEM) in the geographic information system is used to describe the topography of the surface of the area to be identified, and multiple water system lines and watersheds contained in the watershed to be identified are extracted through contour lines.

[0079] Step S202, controlling a plurality of idle computing nodes to determine the site selection river section of each watershed to be identified based on water system lines and watersheds through parallel computing.

[0080] Specifically, the above step S202 includes:

[0081] Step S2021, read each drainage line and watershed one by one, and determine the site section of each watershed to be identified based on the drainage line and watershed as the first task to be calculated and distribute them to multiple idle computing node machines respectively.

[0082] Exemplarily, the engine management center of the main controller reads each drainage line and watershed one by one, and publishes the site selection river section of each watershed to be identified based on the drainage line and watershed as the first task to be calculated. When the load status of the computing node machine is not 0 but is in a busy state, the main controller does not assign the first task to be calculated. When the load status of the computing node machine is 0 but is in an idle state, the computing node machine is determined to be an idle computing node machine, and the main controller assigns the first task to be calculated to the idle computing node machine.

[0083] Step S2022, control multiple idle computing node machines to read the corresponding watershed of each watershed to be identified through parallel computing, and use the watershed as the initial boundary.

[0084] Specifically, the main controller can be implemented by a main control computer, and the main controller controls multiple idle node machines to read the corresponding watershed of each watershed to be identified, and uses the watershed as the initial boundary.

[0085] Step S2023, control multiple idle computing node machines to superimpose the initial boundary and the boundary of the preset restrictive factor through parallel computing. If the initial boundary and the boundary of the preset restrictive factor vector data intersect, the intersecting part of the boundary is modified to the boundary of the preset restrictive factor, and the intersecting part of the boundary is used as the site selection boundary.

[0086] Specifically, the restrictive factors include at least one or more of nature reserves, ecological red lines, national parks and scenic spots. The boundaries of the preset restrictive factors can be represented by vector data of the restrictive factors (representing the spatial position of the geographical entity as accurately as possible by recording coordinates). The main controller controls multiple idle computing node machines to superimpose the initial boundaries and the boundaries of the preset restrictive factors through parallel computing. If the initial boundaries and the boundaries of the preset restrictive factor vector data intersect, the intersecting part of the boundary is modified to the boundary of the preset restrictive factor, and the intersecting part of the boundary is used as the site selection boundary.

[0087] Step S2024, control multiple idle computing node machines to cut the corresponding water system line of each watershed to be identified based on the site selection boundary and preset restrictive factors through parallel calculation, obtain the water system line independent of the restrictive factors, and use the watershed to be identified where the water system line is located as the site selection river section.

[0088] Specifically, the main controller controls multiple idle computing nodes to clip the corresponding water system line of each watershed to be identified based on the site selection boundary and preset restrictive factors through parallel calculation, so that the clipped water system line does not include restrictive factors, and the watershed to be identified where the clipped water system line is located is used as the site selection river section. After the site selection river section is determined for each watershed to be identified, all the site selection river sections are encoded, which provides a basis for the subsequent extraction of the intersection of the site selection river section and the preset contour line cluster.

[0089] Step S203, controlling a plurality of idle computing node machines to extract the intersection points of the selected river section and the preset contour line cluster through parallel computing.

[0090] Specifically, the above step S203 includes:

[0091] Step S2031, read each selected river section one by one, and extract the intersection points of the selected river section and the preset contour line cluster as the second task to be calculated and distribute them to multiple idle computing node machines respectively.

[0092] Specifically, the engine management center of the main controller reads each selected river section one by one, and publishes the intersection of the extracted selected river section and the preset contour line cluster as the second task to be calculated. When the load status of the computing node machine is not 0 but is in a busy state, the main controller does not assign the second task to be calculated. When the load status of the computing node machine is 0 but is in an idle state, the computing node machine is determined to be an idle computing node machine, and the main controller assigns the second task to be calculated to the idle computing node machine.

[0093] Step S2032, controlling a plurality of idle computing node machines to read the corresponding sited river section in the first task to be calculated, and extracting the intersection points of the sited river section and the preset contour line cluster based on the spatial intersection relationship.

[0094] Specifically, the main controller controls each idle computing node machine to read the corresponding site selection river section in the second task to be calculated, and equates the site selection river section to a river section line. If the river section line and the contour lines in the preset contour line cluster intersect in space, the intersection point is the common point, and this common point is used as the intersection point of the site selection river section and the preset contour line cluster.

[0095] Step S204, control multiple idle computing nodes to generate the reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel calculation. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0096] Step S205, control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.

[0097] The reservoir dam site identification method based on parallel computing provided in this embodiment determines the contour lines of each to-be-identified watershed through the elevation attribute value, and extracts the water system line and watershed of each to-be-identified watershed based on the contour lines by using the geographic information system. The water system line and watershed of each to-be-identified watershed can be quickly extracted by using the geographic information system, which provides a basis for the subsequent determination of the site selection river section of each to-be-identified watershed. The corresponding watershed of each to-be-identified watershed is extracted by controlling multiple idle computing node machines, and the watershed is used as the initial boundary. The initial boundary and the boundary of the preset restrictive factor are superimposed to finally obtain the site selection boundary, and the corresponding water system line of each to-be-identified watershed is clipped based on the site selection boundary and the preset restrictive factor to obtain the water system line independent of the restrictive factor, and the to-be-identified watershed where the water system line is located is used as the site selection river section. The efficiency of determining the site selection river section is improved by parallel computing of multiple idle computing node machines, and the amount of calculation data is reduced. The intersection of the site selection river section and the preset contour line cluster is extracted by controlling multiple idle computing node parallel computers, which improves the efficiency of extracting the intersection point, and provides a basis for the subsequent generation of the reservoir dam line corresponding to the intersection point.

[0098] In this embodiment, a reservoir dam site identification method based on parallel computing is provided, which can be used for the above-mentioned main controller. Figure 3 is a flow chart of a reservoir dam site identification method based on parallel computing according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0099] Step S301, obtain the drainage lines and watersheds of multiple watersheds to be identified. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.

[0100] Step S302: Control multiple idle computing nodes to determine the river section for each river basin to be identified based on the water system lines and watersheds through parallel computing. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0101] Step S303: Control multiple idle computing nodes to extract the intersection of the selected river section and the preset contour line cluster through parallel computing. Figure 2 Step S203 of the illustrated embodiment will not be described in detail here.

[0102] Step S304, controlling a plurality of idle computing node machines to generate reservoir dam lines corresponding to intersection points based on the intersection points of the selected river section and the preset contour line cluster through parallel computing.

[0103] Specifically, the above step S304 includes:

[0104] Step S3041, read each intersection point one by one, and distribute the reservoir dam line corresponding to the intersection point as the third task to be calculated to multiple idle computing node machines respectively.

[0105] Specifically, the engine management center of the main controller reads each intersection one by one, and publishes the reservoir dam line that generates the corresponding intersection as the third task to be calculated. When the load status of the computing node machine is not 0 but is in a busy state, the main controller does not assign the third task to be calculated. When the load status of the computing node machine is 0 but is in an idle state, the computing node machine is determined to be an idle computing node machine, and the main controller assigns the third task to be calculated to the idle computing node machine.

[0106] Step S3042, control multiple idle computing node machines to read the corresponding intersection points in the third task to be calculated, and generate an initial dam line perpendicular to the direction of the water system line at the corresponding intersection points based on the contour lines.

[0107] Specifically, when multiple idle computing node machines all have the third task to be calculated, the main controller can control multiple idle computing node machines to read the corresponding intersection points in the third task to be calculated through parallel computing. The altitude of each contour line is the same. With the intersection point as the foot of the perpendicular, a perpendicular line is drawn on each contour line for each water system line. This perpendicular line is the initial dam line, that is, the initial dam line is generated based on the contour lines at the corresponding intersection points perpendicular to the direction of the water system lines.

[0108] Step S3043, control multiple idle computing node machines to rotate the initial dam line in clockwise and counterclockwise directions at preset rotation angles for preset times with the corresponding intersection as the center, and use each rotation trajectory as a comparison dam line.

[0109] Specifically, the preset number of times is set according to actual conditions and is not specifically limited here. N represents the preset number of times, and multiple idle computing node machines are controlled to rotate the initial dam line N times in a clockwise direction with the intersection point as the center through parallel computing, and each rotation angle is α°, and the initial dam line is rotated N times in a counterclockwise direction, and each rotation angle is α°, and each rotation trajectory is used as a comparison dam line. Where α×N<180°.

[0110] Step S3044, based on the spatial intersection relationship, determine whether the comparison dam line intersects with the site selection boundary. If they cannot intersect, delete the corresponding comparison dam line; if they intersect, clip the comparison dam line based on the site selection boundary, and use the clipped comparison dam line as the reservoir dam line.

[0111] Specifically, multiple idle computing nodes are controlled to determine whether the comparison dam line intersects with the site selection boundary through parallel calculation. If they cannot intersect, the corresponding comparison dam line is deleted; if they intersect, the comparison dam line is clipped based on the site selection boundary so that the clipped comparison dam line does not retain the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line. This reservoir dam line is the initial feasible dam line.

[0112] It should be noted that in order to reduce the amount of data calculation in the future, the dam length and dam height are obtained from the preset reservoir database, and the initial feasible dam line is adjusted using the dam height and dam length constraints. For example, if the dam height and dam length of the initial feasible dam line exceed the preset constraint value requirements, the initial feasible dam line is shortened inward until the preset constraint value requirements are met. The initial feasible dam line that does not meet the preset constraint value requirements is deleted, reducing the amount of data calculation in the future.

[0113] Step S305, controlling multiple idle computing node machines to read the reservoir dam line through parallel computing, retaining the dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site.

[0114] Specifically, the preset thresholds of terrain characteristic parameters include a water storage reservoir capacity threshold, a reservoir surface morphology coefficient threshold and a water surface area threshold. The preset thresholds of terrain characteristic parameters include a water storage reservoir capacity threshold, a reservoir surface morphology threshold and a water surface area threshold, which are set according to actual conditions and are not specifically limited here.

[0115] The above step S305 includes:

[0116] Step S3051, read each reservoir dam line one by one, and determine the reservoir dam site as the fourth task to be calculated and distribute it to multiple idle computing node machines respectively.

[0117] Specifically, the engine management center of the main controller reads each reservoir dam line one by one, and publishes the determined reservoir dam site as the fourth task to be calculated. When the load status of the computing node machine is not 0 but is in a busy state, the main controller does not assign the fourth task to be calculated. When the load status of the computing node machine is 0 but is in an idle state, the computing node machine is determined to be an idle computing node machine, and the main controller assigns the fourth task to be calculated to the idle computing node machine.

[0118] Step S3052, control multiple idle computing node machines to read the corresponding reservoir dam line in the fourth task to be calculated through parallel computing, and calculate the water storage capacity, reservoir surface shape coefficient and water surface area of ​​the corresponding reservoir dam line.

[0119] Specifically, the terrain characteristic parameters also include the upper limit water storage level of the reservoir dam line, and the upper limit water storage level is determined based on the elevation values ​​of the contour lines and the dam line.

[0120] For example, if the dam crest elevation is 500m and the pass of the reservoir area is 490m, the dam line is shortened to change the dam crest elevation to 490m, and then the estimated safety superelevation is deducted to determine the upper limit water storage level. For example, if the safety superelevation is 5m, the upper limit water storage level is 485m. If the dam crest elevation is 490m and the pass elevation is 500m, the upper limit water storage level is still 490-5=485.

[0121] Control multiple idle computing node machines to read the corresponding reservoir dam line in the fourth task to be calculated through parallel computing, and obtain the upper limit water storage level of the reservoir corresponding to the dam line, the area corresponding to the upper limit water storage level and the maximum dam length of the reservoir dam line.

[0122] The reservoir capacity is calculated using the prism volume formula to calculate the cumulative storage capacity from the reservoir bottom elevation to the upper limit of the water storage level.

[0123] The reservoir surface shape coefficient is calculated based on the water surface area of ​​the upper water storage level and the maximum dam length of the reservoir dam line.

[0124] Specifically, the reservoir surface morphology coefficient The following formula is used to obtain:

[0125]

[0126] Where: S max is the area corresponding to the upper water storage level, which is obtained according to the water level-area-storage capacity relationship curve. It is the maximum dam length of the reservoir dam line.

[0127] Step S3053, retaining the reservoir dam line that meets the water storage capacity threshold, reservoir surface morphology threshold and water surface area threshold, and using the retained reservoir dam line as the reservoir dam site.

[0128] Specifically, the calculated reservoir capacity is compared with the preset reservoir capacity threshold, the reservoir surface shape coefficient is compared with the preset reservoir surface shape coefficient, the water surface area of ​​the upper limit water storage level of the reservoir dam line is compared with the water surface area threshold, and the reservoir dam line that meets the water storage capacity threshold, the reservoir surface shape threshold and the water surface area threshold is screened out, and the reservoir dam site of this reservoir dam line is recorded as the final dam site suitable for the construction of water-blocking buildings and reservoirs.

[0129] Step S3054: when there are multiple reservoir dam lines at the intersection of the selected river section and the preset contour line cluster, multiple idle computing node machines are controlled to select the reservoir dam line with the largest water storage capacity as the reservoir dam site through parallel computing.

[0130] Specifically, the reservoir dam lines retained at the same intersection are compared, and each idle computing node is controlled to select the reservoir dam line with the largest water storage capacity as the reservoir dam through parallel computing, and delete other reservoir dam lines with a water storage capacity less than the maximum storage capacity.

[0131] The reservoir dam site identification method based on parallel computing provided in the present embodiment controls a plurality of idle computing node machines to generate an initial dam line based on contour lines at corresponding intersection points perpendicular to the direction of the water system line through parallel computing, generates an initial dam line and a comparison dam line based on contour lines at corresponding dam site nodes perpendicular to the direction of the water system line, and determines whether the comparison dam line intersects with the site selection boundary based on the spatial intersection relationship. If they cannot intersect, the corresponding comparison dam line is deleted; if they do intersect, the comparison dam line is clipped based on the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line, and the maximum storage capacity on the initial dam line and the comparison dam line is calculated, and the dam line corresponding to the maximum maximum storage capacity is used as the reservoir dam line, so that a plurality of idle computing node machines work simultaneously. Through parallel computing, the efficiency of generating the reservoir dam line is improved, the amount of calculated data is reduced, and the generation time of the reservoir dam line is shortened, which provides a basis for subsequent reservoir site selection. By controlling multiple idle computing nodes, the water storage capacity, reservoir surface shape coefficient and water surface area of ​​the reservoir dam line are calculated, and the calculated water storage capacity, reservoir surface shape coefficient and water surface area of ​​the reservoir dam line are compared with the corresponding preset thresholds. Finally, the reservoir dam line that meets the requirements is selected as the final reservoir dam site, so that the reservoir dam line that meets the requirements can be accurately determined, which improves the efficiency of reservoir site selection and provides a basis for the subsequent actual construction of the reservoir.

[0132] It should be noted that the embodiments of the present invention control multiple idle computing nodes to perform parallel computing, including the following situations, which are as follows:

[0133] When the number of pending computing tasks to be processed is the same as the number of idle computing node machines, one pending computing task is assigned to each idle computing node machine, and computing can be performed simultaneously. For example, if there are 10 pending computing tasks to be processed, then there are 10 corresponding idle computing node machines, and one pending computing task is assigned to each idle computing node machine. At this time, all 10 computing node machines have computing tasks and can perform computing simultaneously, which improves computing efficiency.

[0134] When the number of pending tasks to be processed is inconsistent with the number of idle computing node machines, at least one pending task needs to be allocated according to the number of idle computing node machines, and the pending tasks need to be added to the task buffer until all pending tasks are allocated and processed. For example, there are 9 pending tasks to be processed, but there are only 3 idle computing node machines. After allocating 1 pending task to each idle computing node machine, there are 6 pending tasks left. At this time, the remaining 6 pending tasks are waiting to be allocated. If a computing node machine has processed the task and is idle, one of the 6 pending tasks will be allocated to this idle computing node machine. At this time, there are 5 pending tasks left, and so on, until all pending tasks are allocated and processed. For the same pending task, the pending tasks can be allocated to the idle computing node machines on average. For different pending tasks, the computing node machines take different time to process the tasks, so they are not allocated evenly according to the number of pending tasks.

[0135] In the present embodiment, a reservoir site selection device based on parallel computing is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0136] This embodiment provides a reservoir site selection device based on parallel computing, such as Figure 4 As shown, including:

[0137] The acquisition module 401 is used to acquire the drainage lines and watersheds of multiple watersheds to be identified.

[0138] The determination module 402 is used to control a plurality of idle computing nodes to determine the sited river section of each to-be-identified watershed based on water system lines and watersheds through parallel calculations.

[0139] The extraction module 403 is used to control multiple idle computing nodes to extract the intersection points of the selected river section and the preset contour line cluster through parallel computing.

[0140] The generation module 404 is used to control a plurality of idle computing node machines to generate a reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel calculation.

[0141] The screening module 405 is used to control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site.

[0142] In some optional implementations, the acquisition module 401 includes:

[0143] The acquisition unit is used to acquire the elevation attribute value of each watershed to be identified, and determine the contour line of each watershed to be identified based on the elevation attribute value.

[0144] The first extraction unit is used to extract the drainage lines and watersheds of each watershed to be identified based on the contour lines of each watershed to be identified and using a geographic information system.

[0145] In some optional implementations, the determining module 402 includes:

[0146] The first allocation unit is used to read each drainage line and watershed one by one, and allocate the sited river section of each to-be-identified watershed determined based on the drainage line and watershed as the first task to be calculated to a plurality of idle computing node machines respectively.

[0147] The first reading unit is used to control multiple idle computing node machines to read the corresponding watershed of each to-be-identified watershed through parallel computing, and use the watershed as an initial boundary.

[0148] The boundary determination unit is used to control multiple idle computing node machines to superimpose the initial boundary and the boundary of the preset restrictive factor through parallel computing. If the initial boundary and the boundary of the preset restrictive factor vector data intersect, the intersecting part of the boundary is modified to the boundary of the preset restrictive factor, and the intersecting part of the boundary is used as the site selection boundary.

[0149] The clipping unit is used to control multiple idle computing node machines to clip the corresponding water system line of each watershed to be identified based on the site selection boundary and preset restrictive factors through parallel calculation, so as to obtain the water system line independent of the restrictive factors, and use the watershed to be identified where the water system line is located as the site selection river section.

[0150] The second allocation unit is used to read each selected river section one by one, and to extract the intersection points of the selected river section and the preset contour line cluster as the second task to be calculated and respectively allocate them to multiple idle computing node machines.

[0151] The second extraction unit is used to control multiple idle computing node machines to read the corresponding site selection river section in the second task to be calculated, and extract the intersection points of the site selection river section and the preset contour line cluster based on the spatial intersection relationship.

[0152] In some optional implementations, the generating module 404 includes:

[0153] The third allocation unit is used to read each intersection point one by one, and allocate the reservoir dam line corresponding to the intersection point as the third task to be calculated to multiple idle computing node machines respectively.

[0154] The generating unit is used to control a plurality of idle computing nodes to read the corresponding intersection points in the third task to be calculated, and to generate an initial dam line perpendicular to the direction of the water system line at the corresponding intersection points based on the contour lines.

[0155] The rotation unit is used to control multiple idle computing node machines to rotate the initial dam line in clockwise and counterclockwise directions at preset rotation angles for preset times with the corresponding intersection as the center, and use each rotation trajectory as a comparison dam line.

[0156] The judgment unit is used to judge whether the comparison dam line intersects with the site selection boundary based on the spatial intersection relationship. If they cannot intersect, the corresponding comparison dam line is deleted; if they intersect, the comparison dam line is clipped based on the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line.

[0157] In some optional implementations, the screening module 405 includes:

[0158] The fourth allocation unit is used to read each reservoir dam line one by one, and allocate the determination of the reservoir dam site as the fourth task to be calculated to multiple idle computing node machines respectively.

[0159] The second reading unit is used to control multiple idle computing node machines to read the corresponding reservoir dam line in the fourth task to be calculated through parallel computing, and calculate the water storage capacity, reservoir surface morphology coefficient and water surface area of ​​the corresponding reservoir dam line.

[0160] The first screening unit is used to retain the reservoir dam lines that meet the water storage capacity threshold, reservoir surface morphology threshold and water surface area threshold, and use the retained reservoir dam lines as the reservoir dam sites.

[0161] The second screening unit is used to control multiple idle computing node machines to screen the reservoir dam line with the largest water storage capacity as the reservoir dam site through parallel computing when there are multiple reservoir dam lines retained at the intersection of the selected river section and the preset contour line cluster.

[0162] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0163] The reservoir dam site identification device based on parallel computing in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0164] The embodiment of the present invention also provides a computer device having the above Figure 4 The reservoir dam site identification device based on parallel computing is shown.

[0165] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0166] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0167] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0168] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0169] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0170] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0171] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0172] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0173] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A reservoir dam site identification method based on parallel computing, characterized in that: Applied in a main controller, the method comprises: Obtain the drainage lines and watersheds of multiple watersheds to be identified; Controlling a plurality of idle computing node machines to determine the site selection river section of each to-be-identified watershed based on the water system lines and watersheds through parallel computing; Controlling a plurality of idle computing node machines to extract the intersection of the selected river section and a preset contour line cluster through parallel computing; Control multiple idle computing node machines to generate reservoir dam lines corresponding to intersection points based on the intersection points of the selected river section and the preset contour line cluster through parallel computing; Control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site.

2. The method according to claim 1, characterized in that The obtaining of the drainage lines and watersheds of the plurality of watersheds to be identified comprises: Acquire the elevation attribute value of each watershed to be identified, and determine the contour line of each watershed to be identified based on the elevation attribute value; Based on the contour lines of each watershed to be identified, the drainage lines and watersheds of each watershed to be identified are extracted using a geographic information system.

3. The method according to claim 1, characterized in that: The controlling of a plurality of idle computing nodes to determine the site selection river section of each to-be-identified river basin based on the water system line and the watershed through parallel computing comprises: Read each drainage line and watershed one by one, and determine the site section of each watershed to be identified based on the drainage line and watershed as the first task to be calculated and assign them to multiple idle computing node machines respectively; Control multiple idle computing node machines to read the corresponding watershed in the first task to be calculated through parallel computing, and use the watershed as the initial boundary; Controlling a plurality of idle computing node machines to superimpose the initial boundary and the boundary of the preset restrictive factor through parallel computing, if the initial boundary and the boundary of the preset restrictive factor vector data intersect, modifying the intersecting boundary to the boundary of the preset restrictive factor, and using the intersecting boundary as the site selection boundary; Control multiple idle computing node machines to cut the corresponding water system line of each watershed to be identified based on the site selection boundary and preset restrictive factors through parallel calculation, obtain the water system line independent of the restrictive factors, and use the watershed to be identified where the water system line is located as the site selection river section.

4. The method according to claim 1, characterized in that The controlling of a plurality of idle computing nodes to extract the intersection of the selected river section and the preset contour line cluster through parallel computing comprises: Read each selected river section one by one, and extract the intersection points of the selected river section and the preset contour line cluster as the second task to be calculated and distribute them to multiple idle computing node machines respectively; Control multiple idle computing node machines to read the corresponding site selection river section in the second task to be calculated, and extract the intersection points of the site selection river section and the preset contour line cluster based on the spatial intersection relationship.

5. The method according to claim 1, characterized in that The method of controlling a plurality of idle computing nodes to generate a reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel computing comprises: Read each intersection point one by one, and assign the reservoir dam line corresponding to the intersection point as the third task to be calculated to multiple idle computing node machines respectively; Control multiple idle computing nodes to read corresponding intersection points in the third task to be calculated, and generate initial dam lines perpendicular to the direction of the water system line at the corresponding intersection points based on the contour lines; Control multiple idle computing node machines to rotate the initial dam line in a clockwise direction and a counterclockwise direction at a preset rotation angle for a preset number of times with the corresponding intersection point as the center, and use each rotation trajectory as a comparison dam line; Based on the spatial intersection relationship, it is determined whether the comparison dam line intersects with the site selection boundary. If they cannot intersect, the corresponding comparison dam line is deleted; if they intersect, the comparison dam line is clipped based on the site selection boundary, and the clipped comparison dam line is used as the reservoir dam line.

6. The method according to claim 1, characterized in that The preset thresholds of the terrain characteristic parameters include a reservoir capacity threshold, a reservoir surface morphology threshold and a water surface area threshold; The controlling of a plurality of idle computing nodes to read the reservoir dam line through parallel computing, retaining the dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site comprises: Read each reservoir dam line one by one, and assign the determination of the reservoir dam site as the fourth task to be calculated to multiple idle computing node machines; Control multiple idle computing node machines to read the corresponding reservoir dam line in the fourth task to be calculated through parallel computing, and calculate the storage capacity, reservoir surface shape coefficient and water surface area of ​​the corresponding reservoir dam line; The reservoir dam line that meets the water storage capacity threshold, reservoir surface morphology threshold and water surface area threshold will be retained, and the retained reservoir dam line will be used as the reservoir dam site.

7. The method according to claim 6, characterized in that The controlling a plurality of idle computing nodes to read the reservoir dam line through parallel computing, retaining the dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site also includes: When there are multiple reservoir dam lines at the intersection of the selected river section and the preset contour line cluster, multiple idle computing node machines are controlled to select the reservoir dam line with the largest water storage capacity as the reservoir dam site through parallel computing.

8. A reservoir dam site identification device based on parallel computing, characterized in that: Applied in a main controller, the device comprises: An acquisition module, used for acquiring the drainage lines and watersheds of multiple watersheds to be identified; A determination module, used for controlling a plurality of idle computing nodes to determine the sited river section of each to-be-identified watershed based on the water system line and the watershed through parallel calculation; An extraction module, used to control a plurality of idle computing node machines to extract the intersection of the selected river section and a preset contour line cluster through parallel computing; A generation module, used for controlling a plurality of idle computing node machines to generate a reservoir dam line corresponding to the intersection point based on the intersection point of the selected river section and the preset contour line cluster through parallel calculation; The screening module is used to control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the reservoir dam site identification method based on parallel computing as described in any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the reservoir dam site identification method based on parallel computing according to any one of claims 1 to 7.