METHOD OF AND A SYSTEM FOR PROVIDING BUFFER MANAGEMENT MECHANISM
First Claim
1. A method for managing buffers configured in a streaming server in an on-Demand environment, wherein a plurality of buffers are allocated in a memory pool of the streaming server to store sections of on-Demand files, the method comprising:
- setting the state of a buffer to be ACTIVE when a file section stored in the buffer is requested by any users;
setting the state of the buffer to be INACTIVE when users no longer request the file section stored in the buffer, the buffer in INACTIVE state having a lifetime;
changing the state of the buffer from INACTIVE to FREE when the lifetime decreases to zero.
6 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method of and a system for providing buffer management mechanism in an on-Demand environment to keep the popular content sections in server memory so as to reduce the repeatable disk I/O and improve the server performance. The method comprises: setting the state of a buffer to be ACTIVE when a file section stored in the buffer is requested by any users; setting the state of the buffer to be INACTIVE when users no longer request the file section stored in the buffer, the buffer in INACTIVE state having a lifetime; changing the state of the buffer from INACTIVE to FREE when the lifetime decreases to zero. The system comprises at least one detector for detecting the number of the users requesting a file section stored in the buffer and providing the detection results for a processor, one processor for determining the state of the buffer according to the detection results and providing instructions for at least one state setting unit, and at least one state setting unit for setting the state of the buffer based on instructions from the processor.
6 Citations
26 Claims
-
1. A method for managing buffers configured in a streaming server in an on-Demand environment, wherein a plurality of buffers are allocated in a memory pool of the streaming server to store sections of on-Demand files, the method comprising:
-
setting the state of a buffer to be ACTIVE when a file section stored in the buffer is requested by any users; setting the state of the buffer to be INACTIVE when users no longer request the file section stored in the buffer, the buffer in INACTIVE state having a lifetime; changing the state of the buffer from INACTIVE to FREE when the lifetime decreases to zero. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for managing buffers configured in a streaming server in an on-Demand environment, wherein a plurality of buffers are allocated in a memory pool of the streaming server to store sections of on-Demand files, the system comprising:
-
at least one detector for detecting the number of the users requesting a file section stored in the buffer and providing the detection results for a processor;
the processor for determining the state of the buffer according to the detection results and providing instructions for at least one state setting unit;at least one state setting unit for setting the state of the buffer based on instructions from the processor, wherein the state setting unit sets the state of the buffer to be ACTIVE when the file section is requested by any users, sets the state of the buffer to be INACTIVE when users no longer request the file section stored in the buffer, and changes the state of the buffer from INACTIVE to FREE when the lifetime of the buffer in INACTIVE state decreases to zero. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26)
-
-
24. A computer readable medium including logic for managing buffers configured in a streaming server in an on-Demand environment, wherein a plurality of buffers are allocated in a memory pool of the streaming server to store sections of on-Demand files, the logic operable to:
-
set the state of a buffer to be ACTIVE when a file section stored in the buffer is requested by any users; set the state of the buffer to be INACTIVE when users no longer request the file section stored in the buffer, the buffer in INACTIVE state being configured with a lifetime tl; change the state of the buffer from INACTIVE to FREE when the lifetime tl decreases to zero.
-
Specification