The invention discloses a load balancing task scheduling method for grid hydrological model
parallel computing. The method comprises the following steps: (1) analyzing a model based on component characteristics: analyzing four sub-model
processing flows of a grid Xinanjiang model, and determining a model input file, related parameters, a calling relationship among the models and a model output result; the model is divided into three types of components, namely an independent calculation component, a
time sequence dependence component and a space logic dependence component, and the
processing mode of the components under a distributed parallel calculation framework is analyzed. And (2) Flink cluster construction and
parallel algorithm design: according to the analysis, dividing a task into a plurality of sub-tasks, distributing the sub-tasks to different computing nodes, and
processing the sub-tasks by using the
parallel computing capability of the Flink. And (3) proposing a load balancing task scheduling
algorithm based on resource feedback: aiming at the condition of non-uniform load in the distributed
system, through real-time resource monitoring, distributing tasks in a waiting state in machines with
heavy load to machines with
light load so as to realize load balancing of the cluster. And (4) result integration: integrating calculation results of the models, and outputting a final hydrological
simulation result. According to the load balancing task scheduling method for grid hydrological model
parallel computing, distributed processing is carried out on subtasks of a grid Xinanjiang model through an Flink parallel computing framework, and the hydrological
simulation computing efficiency is improved through load balancing.