The invention provides a timed task execution optimization method and
system. The method comprises the following steps: forming a timed task execution
optimization system architecture; determining a corresponding calculation factor to obtain a dynamic priority
score; predicting the to-be-predicted task data by using the task prediction model to obtain a task
execution time prediction value; analyzing the to-be-executed task
queue, calculating the average
waiting time, determining a multiple factor according to the task priority and the
system load state, and identifying the task with the task
execution time prediction value larger than the dynamic threshold value in the to-be-executed task
queue as a long task; performing automatic fragmentation
processing on the long task, generating a fragmentation result, determining a scheduling sequence based on the dynamic priority
score and the task
execution time prediction value, and generating a scheduling decision; and performing resource availability evaluation on the
resource use data to obtain a node resource
evaluation result, and allocating execution resources for the selected task. According to the method, the problems of efficiency and reliability of the timed task execution
system in a high-load scene are solved.