Streaming service load sharing method, streaming service processing method, and corresponding device and system

US9419890B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9419890-B2
Application numberUS-201313739746-A
CountryUS
Kind codeB2
Filing dateJan 11, 2013
Priority dateJul 16, 2010
Publication dateAug 16, 2016
Grant dateAug 16, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention disclose a streaming service load sharing method, a streaming service processing method, and a corresponding device and system. According to the embodiments of the present invention, a fixed allocation range is determined for each service node, so that when a service node fails and needs to perform smoothing of stream table items, only a fixed allocation range of the failed service node needs to be shared by other service nodes, thereby better ensuring stability of a processing range of the service node, and reducing the number of the stream table items to be smoothed.

First claim

Opening claim text (preview).

What is claimed is: 1. A streaming service load sharing method, comprising: receiving a service stream; calculating an allocation identifier of the service stream; determining a first service node according to the allocation identifier of the service stream, wherein the allocation identifier of the service stream belongs to an allocation range of the first service node, wherein the first service node is recorded as currently valid and the allocation range of the first service node comprises the first service node's own fixed allocation range and a part of a fixed allocation range of a second service node that is recorded as currently; and determining whether the first service node fails; in response to determining that the first service node does not fail, forwarding the service stream to the first service node; and in response to determining that the first service node fails, forwarding the service stream to a backup service node of the first service node, recording the first service node as currently invalid, and allocating the allocation range of the first service node to the service node that is recorded as currently valid; wherein the first service node's own fixed allocation range is a range obtained by averagely allocating a full set of allocation identifiers to N service nodes; and the fixed allocation range of the second service node is the range obtained by averagely allocating the full set of allocation identifiers to N service nodes, wherein N is the maximum number of service nodes. 2. A streaming service processing method, comprising: traversing backup stream table items of a first service node that fails; and determining, according to a processing range of a normal service node, a part of the backup stream table items that need to be smoothed to the normal service node, wherein the processing range of the normal service node comprises the normal service node's own fixed allocation range and a part of a fixed allocation range of a second service node that is recorded as currently invalid; a fixed allocation range is a range obtained by averagely allocating a full set of allocation identifiers to N service nodes, wherein N is the maximum number of service nodes; and the part of the fixed allocation range of the second service node is one of M 2 parts, wherein the M 2 parts are obtained by performing the following operation: averagely dividing a fixed allocation range of the second service node into the M 2 parts, wherein M 2 =N−H, and H is the number of currently invalid service nodes. 3. The method according to claim 2 , wherein the method further comprises: receiving a service stream; and forwarding the service stream to a third service node when determining that an allocation identifier of the service stream belongs to a processing range of the third service node, wherein the third service node is valid. 4. The method according to claim 3 , wherein: the service stream with the allocation identifier belonging to the processing range of the third service node only comprises a service stream for which stream table items need to be created, or comprises a service stream for which stream table items need to be created and a service stream for which stream table items are already created but need to be smoothed to the third service node. 5. A streaming service processing device, comprising: a processor; and a memory; wherein the processor is configured to execute computer-executable instructions stored in the memory to perform operations of: traversing backup stream table items of a first service node that is failed; and determining, according to a processing range of a normal service node, a part of the backup stream table items that need to be smoothed to the normal service node, wherein the processing range of the normal service node comprises the normal service node's own fixed allocation range and a part of a fixed allocation range of a second service node that is recorded as currently; and obtaining a fixed allocation range by averagely allocating a full set of allocation identifiers to N service nodes, wherein N is the maximum number of service nodes; wherein the part of the fixed allocation range of the second service node is one of M 2 parts, wherein the M 2 parts are obtained by performing the following operation: averagely dividing a fixed allocation range of the second service node into the M 2 parts, wherein M 2 =N−H, and H is the number of currently invalid service nodes. 6. The device according to claim 5 , wherein the processor is further configured to perform operations of: receiving a service stream; and determining whether an allocation identifier of the service stream belongs to a processing range of a second service node; and if yes, forwarding the service stream to a third service node when determining that an allocation identifier of the service stream belongs to a processing range of the third service node, wherein the third service node is valid. 7. A streaming service load sharing device, comprising: a processor; and a memory; wherein the processor is configured to execute computer-executable instructions stored in the memory to perform operations of: receiving a service stream; calculating an allocation identifier of the service stream; determining a first service node according to the allocation identifier of the service stream, wherein the allocation identifier of the service stream belongs to an allocation range of the first service node, wherein the first service node is recorded as currently valid, and the allocation range of the first service node comprises the first service node's own fixed allocation range and a part of a fixed allocation range of a second service node that is recorded as currently invalid; determining whether the first service node fails; in response to determining that the first service node does not fail, forwarding the service stream to the first service node; in response to determining that the first service node fails, forwarding the service stream to a backup service node of the first service node; recording the first service node as currently invalid; and allocating the allocation range of the first service node to the service node that is recorded as currently valid; wherein the first service node's own fixed allocation range is a range obtained by averagely allocating a full set of allocation identifiers to N service nodes; and the fixed allocation range of the second service node is the range obtained by averagely allocating the full set of allocation identifiers to N service nodes, wherein N is the maximum number of service nodes.

Assignees

Inventors

Classifications

  • Performing the actions predefined by failover planning, e.g. switching to standby network elements · CPC title

  • H04L45/28Primary

    using route fault recovery · CPC title

  • Electricity · mapped topic

  • using data related to the state of servers by a load balancer · CPC title

  • for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9419890B2 cover?
Embodiments of the present invention disclose a streaming service load sharing method, a streaming service processing method, and a corresponding device and system. According to the embodiments of the present invention, a fixed allocation range is determined for each service node, so that when a service node fails and needs to perform smoothing of stream table items, only a fixed allocation ran…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L45/28. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).