The invention discloses a task scheduling method under a
cloud computing environment, and belongs to the technical field of computer application. The method of the invention comprises the following steps that: computer nodes register node information from a
data center node; the computer nodes transmit
health states thereof to a task scheduler through a health state reporting mechanism; the task scheduler allocates tasks to the computer nodes according to the node information, wherein during allocation, the difference between the computer nodes is not considered; computer nodes report the completion of the task to the
data center node after each task is completed; the task scheduler allocates a new task to balance the task load between the computer nodes according to the
task completion condition of each computer node; the
data center node deletes the node information thereof when an abnormal computer node is found, and reallocates the task which is not completed by the node and serves as the new task; and the task scheduler recovers the task which is not completed within a specified time threshold value and reallocates the task as the new task. By the method, the safety for the task allocation under the
cloud computing environment can be improved, and the
throughput of the task scheduling is effectively improved.