Method, apparatus, and system for load balancing of service chain

US11539626B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11539626-B2
Application numberUS-202016876784-A
CountryUS
Kind codeB2
Filing dateMay 18, 2020
Priority dateApr 28, 2014
Publication dateDec 27, 2022
Grant dateDec 27, 2022

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.

A method, an apparatus, and a system are provided for load balancing of a service chain. The method includes: receiving, by a flow classifier, a service chain selection and control policy sent by a policy and charging rules function (PCRF) unit; hashing, by the flow classifier according to a hash quantity, a service flow corresponding to a service chain identifier, to obtain multiple subflows, and adding the service chain identifier and hashing factors to packets of the subflows, where different subflows correspond to different hashing factors; and sending, by the flow classifier, the packets of the subflows after the service chain identifier and the hashing factors are added, to a forwarding device.

First claim

Opening claim text (preview).

The invention claimed is: 1. A flow classifier, comprising: a memory comprising instructions; and a processor in communication with the memory, wherein the processor is configured to execute the instructions to facilitate the flow classifier to receive a service chain selection and control policy, wherein the service chain selection and control policy comprises a service chain identifier and a correspondence between a service chain and a hash quantity, wherein the hash quantity indicates a quantity of subflows that a service flow passing through the service chain is to be hashed into; hash, according to the hash quantity, a service flow corresponding to the service chain identifier to obtain multiple subflows; add the service chain identifier and hashing factors to packets of the subflows, wherein different subflows correspond to different hashing factors; and send the packets of the subflows, after the service chain identifier and the hashing factors have been added, to a forwarding device. 2. The flow classifier according to claim 1 , wherein the flow classifier is further facilitated to: in a first time segment, add a same hashing factor to packets of a same session of a same user, so that the packets of the same session of the same user are allocated to a same subflow, and add the service chain identifier to the packets of the subflow. 3. The flow classifier according to claim 2 , wherein the flow classifier is further facilitated to: in the first time segment, add the same hashing factor to upstream packets and downstream packets of the same session of the same user, so that the upstream packets and downstream packets of the same session of the same user are allocated to the same subflow, and adding the service chain identifier and the hashing factor to the packets of the subflow. 4. The flow classifier according to claim 2 , wherein the service chain selection and control policy further comprises a status flag, wherein the status flag indicates a before-expansion state or an after-expansion state, wherein the expansion indicates that a quantity of value-added service devices of a same type increases; and wherein the flow classifier is further facilitated to: add the status flag indicating the before-expansion state, to a session that already exists before the expansion, adding a hashing factor used by the existing session before the expansion, to packets of the existing session that are generated after the expansion, and adding the status flag indicating the after-expansion state, to a session created after the expansion. 5. A controller, comprising a processor and a memory accessible to the processor, wherein the processor is configured to: obtain a logical service chain definition and a hash quantity, wherein the logical service chain definition comprises information about at least one type of value-added service device that a service chain passes through, the service chain comprises at least one forwarding device that a service flow passes through and value-added service devices that the service flow passes through, the service chain has a service chain identifier, the service chain corresponds to the hash quantity, the hash quantity is used to indicate a quantity of subflows that the service flow passing through the service chain is hashed into, and different subflows correspond to different hashing factors; determine, according to the hash quantity and a quantity of value-added service devices participating in a service, in value-added service devices of a same type, a subflow allocated to each value-added service device participating in the service, in the value-added service devices of the same type; generate, according to the logical service chain definition and subflow allocation information, a first flow forwarding table for the at least one forwarding device that the service chain passes through, wherein the first flow forwarding table comprises first matching information and first operation information, wherein the first matching information comprises the service chain identifier and the hashing factors, and the first operation information is configured to instruct the at least one forwarding device to send, after receiving a first packet having the service chain identifier and the hashing factor, the first packet to a value-added service device to which a subflow comprising the first packet is allocated; and send, to the at least one forwarding device that the service chain passes through, the first flow forwarding table generated for the at least one forwarding device. 6. The controller according to claim 5 , wherein the processor is further configured to determine, according to the hash quantity, the quantity of the value-added service devices participating in the service, in the value-added service devices of the same type, and processing capabilities of the value-added service devices participating in the service, in the value-added service devices of the same type, the subflow allocated to each value-added service device participating in the service, in the value-added service devices of the same type. 7. The controller according to claim 5 , wherein the processor is further configured to: when a value-added service device in the value-added service devices of the same type quits the service, allocate a subflow that is originally allocated to the value-added service device that quits the service, to a remaining value-added service device in the value-added service devices of the same type; and generate a second flow forwarding table according to subflow reallocation information, wherein the second flow forwarding table comprises second operation information, wherein the second operation information is configured to instruct the at least one forwarding device to send, after receiving the first packet having the service chain identifier and having a hashing factor of the subflow that is originally allocated to the value-added service device that quits the service, the first packet to the remaining value-added service device in the value-added service devices of the same type. 8. The controller according to claim 5 , wherein the processor is further configured to: receive a status flag, wherein the status flag is configured to indicate a before-expansion state or an after-expansion state, wherein the expansion is configured to indicate that the quantity of the value-added service devices of the same type increases; re-determine, according to the status flag, the hash quantity, and the quantity of the value-added service devices participating in the service, in the value-added service devices of the same type, the subflow allocated to each value-added service device participating in the service, in the value-added service devices of the same type; and generate, according to the logical service chain definition and subflow reallocation information, a third flow forwarding table for the at least one forwarding device that the service chain passes through, wherein the third flow forwarding table comprises third operation information, wherein the third operation information is configured to instruct the at least one forwarding device to send, after receiving the first packet having the service chain identifier and the hashing factor, the first packet to a value-added service device to which the subflow comprising the first packet is reallocated. 9. The controller according to claim 8 , wherein the processor is further configured to determine, according to the status flag, the hash quantity, the quantity of the value-added service devices participating in the service, in the value-added service devices of the same type, and processing capabilities of the value-added service devices participating in the service, in the value-ad

Assignees

Inventors

Classifications

  • based on a hash applied to IP addresses or costs · CPC title

  • H04L67/10Primary

    in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46) · CPC title

  • based on type of value added network service under agreement · CPC title

  • for accessing one among a plurality of replicated servers · CPC title

  • Flow based routing · 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 US11539626B2 cover?
A method, an apparatus, and a system are provided for load balancing of a service chain. The method includes: receiving, by a flow classifier, a service chain selection and control policy sent by a policy and charging rules function (PCRF) unit; hashing, by the flow classifier according to a hash quantity, a service flow corresponding to a service chain identifier, to obtain multiple subflows, …
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/10. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 27 2022 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 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).