Control process for allocating services in communications systems
First Claim
1. A process executed by a computer for selecting by said computer a next sequential task to be allocation service of a computer processor while scheduling the allocation of services of the computer processor among two or more queues of tasks wherein said queues Qi are sequentially numbered for i equal to 0, 1, 2, . . . , n-1, comprising the steps of:
- receiving by said computer probability parameters p0, . . . pn-1, where 0≦
pi ≦
1 for indicating the relative priorities of said queues 0i ;
assigning by said computer each of said probability parameters pi to a respective queue Qi ;
selecting by said computer a task from queue Qi for allocation of service of said computer processordetermining by said computer if there is at least another task in queue Qi ;
selecting by said computer a task from queue Qi+1 modulus (n) for allocation of service of said computer processor, having no other task in queue Qi ;
performing the following steps if there is at least another task in queue Qi ;
generating by said computer a random number M where 0≦
M≦
1;
comparing by said computer said random number M to said probability parameter pi ;
selecting by said computer the next sequential task to be allocated service of the computer processor, from said tasks in the next sequential queue Qi+1 modulus (n) if M>
pi and selecting by said computer the next sequential task to be allocated service of the computer processor, from said tasks in queue Qi if M<
pi.
0 Assignments
0 Petitions
Accused Products
Abstract
A process for scheduling a processor, in a stored program digital switch of a telecommunications network having heterogeneous types of task, utilizes preassigned probability parameters to schedule the tasks for the processor to serve to meet a system objective. For n types of tasks, each having one of n probability parameters Pi where 0<Pi <1, the system first serves a type i task, then if queue i is empty, it serves a type i+1 modulus (n) task. If queue i is not empty, with a probability Pi it serves another type i task and with a probability 1-pi it serves a type i+1 task modulus (n) until a type i+1 task modulus (n) until a type i+1 task is served. Thus the processor continually cycles through all types of tasks.
-
Citations
2 Claims
-
1. A process executed by a computer for selecting by said computer a next sequential task to be allocation service of a computer processor while scheduling the allocation of services of the computer processor among two or more queues of tasks wherein said queues Qi are sequentially numbered for i equal to 0, 1, 2, . . . , n-1, comprising the steps of:
-
receiving by said computer probability parameters p0, . . . pn-1, where 0≦
pi ≦
1 for indicating the relative priorities of said queues 0i ;assigning by said computer each of said probability parameters pi to a respective queue Qi ; selecting by said computer a task from queue Qi for allocation of service of said computer processor determining by said computer if there is at least another task in queue Qi ; selecting by said computer a task from queue Qi+1 modulus (n) for allocation of service of said computer processor, having no other task in queue Qi ; performing the following steps if there is at least another task in queue Qi ; generating by said computer a random number M where 0≦
M≦
1;comparing by said computer said random number M to said probability parameter pi ; selecting by said computer the next sequential task to be allocated service of the computer processor, from said tasks in the next sequential queue Qi+1 modulus (n) if M>
pi and selecting by said computer the next sequential task to be allocated service of the computer processor, from said tasks in queue Qi if M<
pi.
-
-
2. A computer for selecting a next sequential task to be allocated service of a computer processor while scheduling the allocated of services of the computer processor among two or more queues of tasks wherein said queues Qi are sequentially numbered for i equal to 0, 1, 2, . . . , n-1, comprising the steps of:
-
means for receiving by said computer probability parameters p0, . . . , pn-1, where 023 pi ≦
1 for indicating the relative priorities of said queues Qi ;means for assigning by said computer each of said probability parameters pi to a respective queue Qi ; means for selecting by said computer a task from queue Qi for allocation of service of said computer processor; means for determining by said computer if there is at least another task in queue Qi ; means for selecting by said computer a task from queue Qi+1 modulus (n) for allocation of service of said computer processor, having no other task in queue Qi ; means for generating by said computer a random number M where 0≦
M ≦
1;means for comparing by said computer said random number M to said probability parameter pi if there is at least another task in queue Qi ; means for selecting by said computer the next sequential task to be allocated the computer processor if there is at least another task in queue Qi, from said tasks in the next sequential queue Qi+1 modulus (n) If M>
pi, and means for selecting by said computer the next sequential task to be allocated service of the computer processor, from said tasks in queue Qi if M<
pi.
-
Specification