hottub.patents
US 12,224,939 B2#2237021 Most CitedActiveUnited States (USPTO)Utility

Service packet forwarding method, apparatus, and computer storage medium

1Forward Citations (#2237021 Global)
1.0/yrCitation Velocity (#2237021 Global)
0.17Citation PageRank (#2237021 Global)
22Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

This application discloses a service packet forwarding method and related apparatus. In the service packet forwarding method, when receiving a packet sent by any second virtual resource module connected to a first service function forwarder (SFF), the first SFF dynamically determines a forwarding path of the packet based on configuration information of a second virtual resource module for implementing a second service function, to achieve dynamic load balancing on the packet instead of relying on a service function chain ingress node to perform load balancing, so as to reduce pressure on the service function chain ingress node.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 1.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A service packet forwarding method, applied to a first service function forwarder (SFF) in a communications network, wherein the first SFF is connected to one or more first virtual resource modules, the communications network further comprises one or more second SFFs, and each second SFF is connected to one or more second virtual resource modules, and the first SFF is also connected to the one or more second virtual resource modules; each of the one or more first virtual resource module is a virtual resource module for implementing a first service function, and each of the one or more second virtual resource module is a virtual resource module for implementing a second service function the method comprising: receiving, by the first SFF, a packet sent by one first virtual resource module connected to the first SFF; determining, by the first SFF, the second service function based on the packet; obtaining, by the first SFF, configuration information of one second virtual resource module f

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the configuration information of the second virtual resource module further comprises an identifier and a weight of each second virtual resource module connected to the first SFF; and the forwarding, by the first SFF based on the configuration information of the second virtual resource module, the packet to one second virtual resource module connected to the first SFF or one of the one or more second SFFs comprises: forwarding, by the first SFF based on the identifier and the weight of each second virtual resource module connected to the first SFF, the identifier of each of the one or more second SFFs, and the weight of the second resource module connected to each second SFF, the packet to the one second virtual resource module connected to the first SFF or the one of the one or more second SFFs.

  3. Claim 3Depends on #2

    The method according to claim 2, wherein the configuration information of the second virtual resource module comprises a plurality of entries, the plurality of entries comprises one or more local entries and one or more remote entries, each of the one or more local entries comprises an identifier of the one second virtual resource module connected to the first SFF and a weight of the one second virtual resource module connected to the first SFF, and each of the one or more remote entries comprises an identifier of one second SFF and a weight of a second virtual resource module connected to the second SFF corresponding to the identifier of the one second SFF; and the forwarding, by the first SFF based on the identifier and the weight of each second virtual resource module connected to the first SFF, the identifier of each of the one or more second SFFs, and the weight of the second resource module connected to each second SFF, the packet to the one second virtual resource module connect

  4. Claim 4Depends on #3

    The method according to claim 3, wherein the weight of the one second virtual resource module connected to the first SFF is 1, and the weight of the second virtual resource module connected to the second SFF corresponding to the identifier of the one second SFF is a quantity of second virtual resource modules connected to the second SFF corresponding to the identifier of the one second SFF; and the hash algorithm satisfies a condition that a ratio between probabilities of matching the packet with entities in the plurality of entries is the same as a ratio between quantities in entries in the plurality of entries.

  5. Claim 5Depends on #3

    The method according to claim 3, wherein the identifier of the one second virtual resource module connected to the first SFF is an interface identifier of the one second virtual resource module connected to the first SFF, and the identifier of the second SFF is a segment identifier (SID) of the second SFF; and the forwarding, by the first SFF based on the first entry, the packet to the one second virtual resource module connected to the first SFF or the one of the one or more second SFFs comprises: forwarding, by the first SFF based on the interface identifier that is of the one second virtual resource module connected to the first SFF and that is comprised in the first entry and through a port indicated by the interface identifier, the packet to the one second virtual resource module connected to the first SFF; or forwarding, by the first SFF based on the SID that is of the second SFF and that is comprised in the first entry, the packet to the second SFF indicated by the SID in the fi

  6. Claim 6Depends on #3

    The method according to claim 3, wherein the method further comprises: receiving, by the first SFF, SID notification information advertised by each of the one or more second SFFs, wherein the SID notification information comprises an identifier of a second SFF that advertises the SID notification information and a weight of a second virtual resource module connected to the second SFF that advertises the SID notification information; and creating, by the first SFF based on the SID notification information advertised by each second SFF, a remote entry corresponding to each second SFF.

  7. Claim 7Depends on #6

    The method according to claim 6, wherein the SID notification information is carried in a locator type-length-value (TLV), the locator TLV comprises a sub-TLV, the sub-TLV comprises a SID field and a resource weight field, the SID field is used to indicate an identifier of an SFF that advertises the locator TLV, and the resource weight field is used to indicate a weight of a second virtual resource module connected to the SFF that advertises the locator TLV.

  8. Claim 8Depends on #3

    The method according to claim 3, wherein the method further comprises: obtaining, by the first SFF, the identifier and the weight of each second virtual resource module connected to the first SFF; and creating, by the first SFF based on the identifier and the weight of each second virtual resource module connected to the first SFF, a local entry corresponding to each second virtual resource module.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2020/105842, filed on Jul. 30, 2020, which claims priority to Chinese Patent Application No. 201911039730.1, filed on Oct. 29, 2019. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of routing technologies, and in particular, to a service packet forwarding method, an apparatus, and a computer storage medium. BACKGROUND When a packet is transmitted in a network to provide a user with a secure, fast, and stable network service, the packet needs to be processed sequentially based on a plurality of service functions (SFs) included in a configured service function chain. The plurality of service functions may include service functions such as traffic cleaning, deep packet inspection, and network acceleration. For any service function, a plurality of virtual resource modules for implementing the service function may be correspondingly configured. When packets need to be processed based on the service function, the packets are offloaded onto each virtual resource module, and each virtual resource module processes some received packets based on the service function, to improve packet processing efficiency. This process is also referred to as load balancing. The virtual resource module may be a virtual machine (VM) or a container in a virtual container network. In a related technology, a virtual resource module is connected to a service function forwarder (SFF). Therefore, assuming that any SFF is connected to one virtual resource module corresponding to a service function, a control node may allocate a segment identifier (SID) to the virtual resource module based on a locator of the SFF in a segment routing (SR) network. In this way, the control node may obtain a SID of each of a plurality of virtual resource modules corresponding to the service func

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (22)

PatentTitleYearCitations

Non-Patent Literature (10)

  • A. Farrel et al, An MPLS-Based Forwarding Plane for Service Function Chaining; draft-farrel-mpls-sfc-04, 2018, 28 pages.
  • Clad F. C et al:
  • “
  • Segment Routing for Service Chaining draft-xuclad-spring-sr-service-chaining-01
  • ”
  • ,IETF, Mar. 5, 2018 (Mar. 5, 2018), XP055919994, D2 Retrieved from the Internet:URL:https://datatracker.ietf.org/doc/pdf/draft-xuclad-spring-srservice-chaining-01[retrieved on May 11, 2022].
  • P. Psenak, Ed et al, IS-IS Extensions to Support Routing over IPv6 Dataplane, draft-bashandy-isis-srv6-extensions-05.txt, Networking Working Group, Mar. 6, 2019, total 21 pages.
  • J. Halpern, Ed., Service Function Chaining (SFC) Architecture, 2015, rfc 7665, 32 pages.
  • C. Filsfils et al.,
  • “