Method of and a system for providing buffer management mechanism

  • US 9,060,192 B2
  • Filed: 04/16/2009
  • Issued: 06/16/2015
  • Est. Priority Date: 04/16/2009
  • Status: Active Grant
First Claim
Patent Images

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 a 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, the lifetime of the buffer being determined when the state of the buffer is changed from ACTIVE to INACTIVE, the lifetime of the buffer being calculated based on at least a total number of users requesting the file section when the buffer is in the state of ACTIVE and an influence coefficient comprising a number of sections following the file section;

    changing the state of the buffer from INACTIVE to FREE when the lifetime decreases to zero, andwherein the lifetime of the buffer storing the file section of the on-Demand file is determined as follows;


    tl=tc+PeakUser*influence coefficient*ts wherein t1 represents the lifetime of the buffer, tc represents a current lifetime of the buffer, PeakUser is the total number of users requesting the file section when the buffer is in the state of ACTIVE and ts is an interval to decrease tl.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×