The invention discloses a self-adaptive task priority management method based on a dynamic entropy weight and a time
decay factor, and relates to the technical field of computer task scheduling and
resource allocation. The method comprises the following steps: acquiring a to-be-processed task set and constructing a multi-dimensional
feature matrix, dividing features into benefit type indexes and cost type indexes, and respectively carrying out same-direction
standardization processing on data by adopting forward and reverse normalization formulas; calculating entropy values and difference coefficients of the characteristic indexes in real
time based on an information entropy theory, determining dynamic weights reflecting current task flow
characteristic distribution, and calculating static basic scores of the tasks; introducing an exponential time decay model containing a natural constant and a
time sensitive coefficient, performing nonlinear acceleration compensation on the static basic
score according to the
queue residence time of the task, and generating a final dynamic priority index; and screening the task corresponding to the maximum value according to the index to preferentially allocate computing resources. According to the method, the
blindness of manual weighting can be eliminated, the hunger and
deadlock problems of low-priority tasks are effectively solved through an exponential-level time compensation mechanism, and the method has the advantages of low
algorithm complexity, high environment adaptability, high scheduling fairness and the like.