摘要 |
A method for registering and scheduling execution demands comprises steps of: providing an execution demand register having a plurality of execution demand registering flags describing whether an identical number of jobs are registered execution demands or not and priorities thereof; providing a lookup device, and using all possible values of the execution demand registering flags as addresses to respectively store thereinside a job sequence permutation, initial position and registering number corresponding to the job sequence permutation; when a job has to be executed successively, setting the value of the execution demand registering flag corresponding to the job; and in scheduling, using the value of the execution demand registering flag of the updated execution demand register as a lookup address to acquire the initial position and registering number from the lookup device, and finding out the job sequence permutation according to the acquired initial position and registering number to complete scheduling.
|