Claims
- 1. A method of scheduling data packet transmission in a data communication network, comprising:
performing an insert operation at a level in a scheduling heap data structure by comparing a scheduling value assigned to a first data packet to a scheduling value assigned to a second data packet at the level, placing a higher priority one of the compared values in the level, and retaining the lower priority of the compared values to be placed elsewhere in the heap; and repeating said insert operation at the level by comparing a scheduling value assigned to the higher priority one of the compared values to a third data packet, while simultaneously comparing at a next lower level in the heap, the lower priority of the compared values to a scheduling value assigned to a fourth data packet at the lower level in the heap.
- 2. The method according to claim 1, wherein a location of said fourth data packet in the lower level is identified based on a binary number assigned to a first empty position in the heap.
- 3. The method according to claim 2, further comprising traversing the heap by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 4. The method according to claim 4, further comprising performing a reinsert operation in the heap data structure comprising inserting a scheduling value in a position emptied by retransmission of a corresponding data packet and percolating the heap.
- 5. The method according to claim 5, wherein when a new scheduling value is available, said reinsert operation comprises inserting the new scheduling value into the emptied position.
- 6. The method according to claim 5, wherein when a new scheduling value is not available, said reinsert operation comprises moving a scheduling value at a position at the bottom of heap to the emptied position.
- 7. The method according to claim 4, further comprising performing said reinsert and insert operations in accordance with a pipelined sequence at each level in the heap.
- 8. The method according to claim 7, said pipelined sequence comprising at least one cycle for the reinsert operation, at least one cycle for the insert operation and at least one no-operation cycle.
- 9. The method according to claim 8, wherein when conditions for performing an insert or a reinsert operation are not satisfied, the operation is skipped during its corresponding cycle.
- 10. The method according to claim 4 wherein said percolating comprises repeatedly comparing and replacing scheduling values in parent positions with those in children positions to ensure that each parent position contains a scheduling value that is higher in priority than those of its children.
- 11. A method of scheduling data packet transmission in a data communication network including, when a new scheduling value is available, performing a reinsert operation in a scheduling heap data structure, said reinsert operation comprising inserting the new scheduling value in a position emptied by retransmission of a corresponding data packet and percolating the heap, and when said new scheduling value is not available, said reinsert operation comprising moving a scheduling value at a position at the bottom of heap to the emptied position and percolating the heap.
- 12. The method according to claim 11, further comprising performing an insert operation in the scheduling heap when a new scheduling value is available and there is not an available emptied position in the heap, said insert operation comprising comparing a scheduling value assigned to a first data packet to a scheduling value of a second data packet, placing a higher priority one of the compared values at a level in the heap, and retaining the lower priority of the compared values to be placed elsewhere in the heap.
- 13. The method according to claim 12, further comprising performing said reinsert and insert operations in accordance with a pipelined sequence at each level in the heap.
- 14. The method according to claim 13, said pipelined sequence comprising at least one cycle for the reinsert operation, at least one cycle for the insert operation and at least one no-operation cycle.
- 15. The method according to claim 14, wherein when conditions for performing an insert or a reinsert operation are not satisfied, the operation is skipped during its corresponding cycle.
- 16. The method according to claim 11, wherein said percolating comprises repeatedly comparing and replacing scheduling values in parent positions with those in children positions to ensure that each parent position contains a scheduling value that is higher in priority than those of its children.
- 17. The method according to claim 16, wherein said comparing is performed at locations at each level in the heap identified based on a binary number assigned to a first empty position in the heap.
- 18. The method according to claim 17, wherein said locations are identified by traversing the heap by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 19. A system for scheduling data packet transmission comprising:
a scheduling heap data structure having a plurality of levels for storing scheduling values for data packets according to their relative priorities; and a queue controller coupled to the data structure for manipulating scheduling values in the heap wherein said queue controller performs an insert operation at a level in heap by comparing a scheduling value assigned to a first data packet to a scheduling value assigned to a second data packet at the level, placing a higher priority one of the compared values in the level, and retaining the lower priority of the compared values to be placed elsewhere in the heap and wherein said queue controller repeats said insert operation at the level by comparing a scheduling value assigned to a third data packet to the higher priority one of the compared values, while simultaneously comparing at a next lower level in the heap, the lower priority of the compared values to a scheduling value assigned to a fourth data packet at the lower level in the heap.
- 20. The system according to claim 19, wherein a location of said fourth data packet in the lower level is identified based on a binary number assigned to a first empty position in the heap.
- 21. The system according to claim 20, wherein the queue controller traverses the heap by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 22. The system according to claim 19, wherein the queue controller performs a reinsert operation in the heap when a new scheduling value is available, said reinsert operation comprising inserting the new scheduling value into a position emptied by retransmission of a corresponding data packet and percolating the heap, and when said new scheduling value is not available, said reinsert operation comprising moving a scheduling value at a position at the bottom of heap to the emptied position and percolating the heap.
- 23. The system according to claim 22, wherein the queue controller performs said reinsert and insert operations in accordance with a pipelined sequence at each level in the heap.
- 24. The system according to claim 23, said pipelined sequence comprising at least one cycle for the reinsert operation, at least one cycle for the insert operation and at least one no-operation cycle.
- 25. The system according to claim 24, wherein when conditions for performing an insert or a reinsert operation are not satisfied, the operation is skipped during its corresponding cycle.
- 26. A system for scheduling data packet transmission comprising:
a scheduling heap data structure having a plurality of levels for storing scheduling values for data packets according to their relative priorities; and a queue controller coupled to the data structure for manipulating scheduling values in the heap wherein when a new scheduling value is available said queue controller performs a reinsert operation in the heap, said reinsert operation comprising inserting the new scheduling value in a position emptied by retransmission of a corresponding data packet and percolating the heap, and when said new scheduling value is not available, said reinsert operation comprising moving a scheduling value at a position at the bottom of heap to the emptied position and percolating the heap.
- 27. The system according to claim 26, wherein the queue controller performs an insert operation in the scheduling heap when a new scheduling value is available and there is not an available emptied position in the heap, said insert operation comprising comparing a scheduling value assigned to a first data packet to a scheduling value of a second data packet, placing a higher priority one of the compared values at a level in the heap, and retaining the lower priority of the compared values to be placed elsewhere in the heap.
- 28. The system according to claim 27, wherein said queue controller performs said reinsert and insert operations in accordance with a pipelined sequence at each level in the heap.
- 29. The system according to claim 28, said pipelined sequence comprising at least one cycle for the reinsert operation, at least one cycle for the insert operation and at least one no-operation cycle.
- 30. The system according to claim 29, wherein when conditions for performing an insert or a reinsert operation are not satisfied, the operation is skipped during its corresponding cycle.
- 31. The system according to claim 26, wherein the queue controller performs said percolating by repeatedly comparing and replacing scheduling values in parent positions with those in children positions to ensure that each parent position contains a scheduling value that is higher in priority than those of its children.
- 32. The system according to claim 31, wherein the queue controller performs said comparing at locations at each level in the heap identified based on a binary number assigned to a first empty position in the heap.
- 33. The system according to claim 32, wherein said locations are identified by traversing the heap by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 34. A method of scheduling data packet transmission in a data communication network, comprising:
assigning a scheduling value to a data packet; inserting the scheduling value for the data packet into a scheduling heap data structure having a plurality of levels for storing scheduling values for data packets according to their relative priorities; and comparing pairs of the scheduling values while traversing the heap based on a binary number assigned to an empty position in the heap.
- 35. The method according to claim 34, wherein said traversing further comprises ignoring a first bit of the binary number.
- 36. The method according to claim 34, wherein said traversing further comprises moving in a left or right direction in the heap according to whether the binary number contains a zero or a one.
- 37. The method according to claim 34, wherein said traversing is performed by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 38. The method according to claim 37, wherein a highest level of the heap has a single position and each succeeding lower level has twice the number of positions as the preceding level.
- 39. A system for scheduling data packet transmission comprising
a scheduling heap data structure having a plurality of levels for storing scheduling values for data packets according to their relative priorities, wherein a binary number is assigned to an empty position in the heap; and a queue controller coupled to the data structure for manipulating scheduling values in the heap, wherein the queue controller traverses the heap for comparing scheduling values by making a sequence of left and right directional moves according to a sequence of zeros and ones in the binary number.
- 40. The system according to claim 39, wherein a highest level of the heap has a single position and each succeeding lower level has twice the number of positions as the preceding level.
Parent Case Info
[0001] This application claims the benefit of U.S. Provisional Application Serial No. 60/271,805, filed Feb. 26, 2001.
[0002] The contents of U.S. patent application Ser. No. ______ , filed on the same day as this application, and entitled, “DATA PACKET TRANSMISSION SCHEDULING USING A PARTITIONED HEAP”; U.S. patent application Ser. No. ______ , filed on the same day as this application, and entitled, “PACKET TRANSMISSION SCHEDULING IN A DATA COMMUNICATION NETWORK”; and U.S. patent application Serial No. ______ , filed on the same day as this application, and entitled, “DATA PACKET TRANSMISSION SCHEDULING BASED ON ANTICIPATED FINISH TIMES” are hereby incorporated by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60271805 |
Feb 2001 |
US |