Multi-stage timer implementation for telecommunications transmission
First Claim
Patent Images
1. In a telecommunications network containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests:
- a first burst timer set for controlling said timer requests characterized by having specified that they are to expire within a first time interval;
a second burst timer set for controlling said timer requests characterized by having specified that they are to expire after said first time interval, but before a second time interval, wherein said second time interval is longer than said first time interval; and
a third timer set, organized according to a timing wheel structure, for controlling said timer requests characterized by having specified that they are to expire after said second time interval.
1 Assignment
0 Petitions
Accused Products
Abstract
Telecommunications networks require a large number of timers to support the necessary dispatching of tasks. These timers require significant CPU cycles. The present invention describes a method and apparatus for reducing the CPU requirements of timers while maintaining their utility and accuracy by using multi-class periodic timers.
45 Citations
16 Claims
-
1. In a telecommunications network containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests:
-
a first burst timer set for controlling said timer requests characterized by having specified that they are to expire within a first time interval; a second burst timer set for controlling said timer requests characterized by having specified that they are to expire after said first time interval, but before a second time interval, wherein said second time interval is longer than said first time interval; and a third timer set, organized according to a timing wheel structure, for controlling said timer requests characterized by having specified that they are to expire after said second time interval. - View Dependent Claims (2, 7)
-
-
3. In a communications system containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, comprising:
-
a plurality of burst timer sets, each of said burst timer sets having associated therewith a unique expiration time; and a final timer set organized as a timing wheel, said final timer set characterized by having multiple, unique expiration times associated therewith, wherein the minimum of said multiple unique expiration times of said final timer set is greater than the maximum expiration time of any of said plurality of burst timer sets. - View Dependent Claims (4)
-
-
5. In a communications system containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, comprising:
-
a plurality of burst timer sets, each of said burst timer sets having associated therewith a predetermined interval of time in which all timer requests in the timer set are to expire; a timing wheel set, said timing wheel set having associated therewith a predetermined interval of time in which all timer requests in the timing wheel set are to expire; and a means for determining which of said periodically generated timer requests are to be members of the burst timer sets and which of said periodically generated timer requests are to be members of the timing wheel set. - View Dependent Claims (6, 8, 9)
-
-
10. In a computer network containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies a time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, comprising:
-
a plurality of burst timer sets, a timing wheel set, and wherein each of said timer requests is assigned to become a member of one of said burst timer sets or said timing wheel set by a means for balancing the number of said timer requests assigned to become members of each of said timer sets.
-
-
11. In a computer connected to a communications network, said computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, said timing mechanism comprising:
-
means for executing a plurality of said periodically generated timer requests; means for scheduling said plurality of periodically generated timer requests, wherein said means comprise; a plurality of burst timer sets; a timing wheel set; and means for determining whether each of said timer requests should become a member of one of said burst timer sets, or should become a member of said timing wheel set. - View Dependent Claims (12, 13, 14)
-
-
15. In a telecommunications network containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, comprising:
-
a linked list wherein the entries in the list include at least one Timer Control Block (TCB) and zero or more timing wheel blocks, wherein; each of said TCBs or timing wheel blocks has associated therewith a task expiration time interval; said linked list is ordered in ascending order of said task expiration time interval; and
,each of said timing wheel blocks points to a timing wheel set; and means for inserting said TCBs and timing wheel blocks into said linked list so as to maintain said linked list in ascending order of said associated task expiration time interval.
-
-
16. In a computer network containing one or more host computers, each host computer containing a plurality of tasks, each of said plurality of tasks periodically generating timer requests wherein each timer request specifies the time interval in which it is to expire, a system for implementing a timing control mechanism for controlling said periodically generated timer requests, comprising:
-
a plurality of burst timer sets, a plurality of timing wheel sets, and wherein each of said timer requests is assigned to become a member of one of said burst timer sets or one of said timing wheel sets by a means for balancing the number of said timer requests assigned to become members of each of said timer sets.
-
Specification