×

Method of scheduling successive tasks subject only to timing constraints

  • US 5,606,695 A
  • Filed: 08/02/1995
  • Issued: 02/25/1997
  • Est. Priority Date: 08/11/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. Method for scheduling successive tasks by means of a computer, said tasks being subject only to timing constraints, a timing constraint requiring that the execution start time be in at least one predetermined time interval relative to an absolute reference time;

  • said method comprising the following successive steps in this order;

    calculating for each task upper and lower limits of the interval in which execution of that task must start;

    constructing a first series in which all said tasks are scheduled in increasing order of their lower limit, and are scheduled in increasing order of their upper limit when several tasks have a same lower limit;

    constructing a second series in which all said tasks are scheduled in increasing order of their upper limit, and are scheduled in decreasing order of their lower limits when several tasks have a same upper limit and have different lower limits;

    constructing a current permutation, first by scheduling all said tasks in the order of said first series;

    verifying if said current permutation satisfies all said constraints supplying to said tasks, the tasks being considered one by one in the order corresponding to said current permutation, to check whether each task satisfies all the constraints applying to said task;

    concluding that the scheduling succeeds if all said constraints are satisfied;

    otherwise, determining in said current permutation the first ill-placed task for which a constraint is not satisfied;

    determining in said second series a candidate task immediately following said ill-placed task in said second series that also precedes said ill-placed task in said current permutation, said candidate being a task which has already been verified, all the tasks following said candidate task in said current permutation being not considered as satisfying all the constraints, any more;

    verifying that if said candidate task is shifted to a position immediately after said ill-placed task all said constraints applying to all said tasks shifted in this way are then satisfied; and

    if at least one constraint is not satisfied, concluding that said candidate task is not suitable and then determining in said second series another candidate task and repeating the previous verification; and

    , if this is not possible, concluding that the scheduling fails;

    if all said constraints are satisfied, concluding that the scheduling succeeds.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×