×

Method and device for storage resource allocation for video cloud storage

  • US 10,637,916 B2
  • Filed: 11/08/2016
  • Issued: 04/28/2020
  • Est. Priority Date: 02/19/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for allocating storage resource of video cloud storage, applicable to a management node in a storage cluster, the storage cluster comprising at least one management node and at least one storage node, the method comprising:

  • receiving a video data storage request sent by a client based on an encoder, the video data storage request containing an identifier of a resource pool into which video data is to be written and an identifier of the encoder;

    obtaining, from a plurality of storage nodes corresponding to the identifier of the resource pool, a queue of allocable storage nodes for the video data storage request, wherein, the correspondence between an identifier of a resource pool and a storage node is predefined;

    determining whether the identifier_of the encoder is recorded in an encoder allocation tracing list;

    if so, selecting from the queue of allocable storage nodes a target storage node allocable as a write node, according to the number of current writes of each of the storage nodes in pre-recorded node synchronization information and a stress estimation algorithm;

    or otherwise, selecting, from the queue of allocable storage nodes, a target storage node allocable as the write node, according to the stress estimation algorithm;

    wherein the encoder allocation tracing list records the correspondence between an identifier of an encoder that has been allocated a storage node and the allocated storage node, and wherein the stress estimation algorithm is an algorithm for estimating the stress on a storage node according to the node synchronization information; and

    if a target storage node allocable as a write node is selected from the queue of allocable storage nodes, feeding back address information of the target storage node to the client based on the encoder to allow the client to write the video data corresponding to the video data storage request into the target storage node.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×