10148562

Packet Sending Method, Router, and Service Switching Entity

PublishedDecember 4, 2018
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
10 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A router, comprising: a computer-readable storage medium storing instructions; and a processor to execute the instructions to configure the router to: receive a service packet, and acquire a user identifier and IP 5-tuple information according to the service packet, and to receive a flow table entry sent by a service controller; determine, in the flow table entry, a flow group identifier and information about a next-hop service switching entity that are matched with the user identifier and the IP 5-tuple information, wherein the flow table entry comprises the user identifier, the IP 5-tuple information, the flow group identifier, and the information about a next-hop service switching entity; process the service packet, wherein a processed service packet comprises the user identifier, the flow group identifier, a router identifier, and a processing result; send the processed service packet to the next-hop service switching entity according to the information about the next-hop service switching entity, so that the next-hop service switching entity forwards the processed service packet to a corresponding destination service instance; and when the flow group identifier and the information about the next-hop service switching entity that are matched with the user identifier and the IP 5-tuple information do not exist in the flow table, send the packet to the service controller, so that the service controller determines, according to a setting policy of a user identified by the user identifier, the flow group identifier and the information about the next-hop service switching entity that are matched with the user identifier and the IP 5-tuple information; and receive a destination entry sent by the service controller, wherein the destination entry comprises the user identifier, the IP 5-tuple information, the flow group identifier, and the information about the next-hop service switching entity.

2

2. The router according to claim 1 , further configured to update the flow table according to the destination entry after the receiving the destination entry sent by the service controller.

3

3. The router according to claim 1 , wherein the information that is about the next-hop service switching entity and comprised in the flow table entry is an identifier of the next-hop service switching entity.

4

4. A router, comprising: a computer-readable storage medium storing instructions; and a processor to execute the instructions to configure the router to: receive a service packet, and acquire a user identifier and IP 5-tuple information according to the service packet; determine, in a flow table, a flow group identifier and information about a next-hop service switching entity that are matched with the user identifier and the IP 5-tuple information, wherein the flow table comprises multiple entries, and each entry comprises a user identifier, IP 5-tuple information, a flow group identifier, and information about a next-hop service switching entity; process the service packet, wherein a processed service packet comprises the user identifier, the flow group identifier, a router identifier, and a processing result; and send the processed service packet to the next-hop service switching entity according to the information about the next-hop service switching entity, so that the next-hop service switching entity forwards the processed service packet to a corresponding destination service instance, wherein the information that is about the next-hop service switching entity and comprised in each entry of the flow table is a service label stack, and a stack top service label of the service label stack is an identifier of a next-hop service instance; wherein the router is further configured to: push, according to the service label stack matched with the user identifier and the IP 5-tuple information, a service label corresponding to the service label stack into the service label stack, and add, into the service packet, a service label stack into which the service label is pushed; and send the processed service packet to the next-hop service instance according to the stack top service label of the service label stack.

5

5. A service switching entity, comprising: a computer-readable storage medium storing instructions; and a processor to execute the instructions to configure the service switching entity to: receive a service packet, wherein the service packet comprises a user identifier, a flow group identifier, an identifier of a source service instance, and a processing result of the source service instance; determine, in a routing table entry, an identifier that is of a destination service instance and corresponding to the user identifier, the flow group identifier, the identifier of the source service instance, and the processing result, wherein the routing table entry comprises multiple entries, and each entry comprises a user identifier, a flow group identifier, an identifier of a source service instance, a processing result of the source service instance, and an identifier of a destination service instance; and send, according to the identifier of the destination service instance, the service packet to the destination service instance corresponding to the identifier of the destination service instance, to perform corresponding service processing, wherein if the service packet received by service switching entity is sent by the router, the identifier of the source service instance is a router identifier, and the processing result is a result obtained after the router processes the packet; and the service switching entity is further configured to determine, in the routing table entry, the identifier that is of the destination service instance and corresponding to the user identifier, the flow group identifier, the router identifier, and the processing result.

6

6. The service switching entity according to claim 5 , wherein the service switching entity is configured to receive the service packet sent by the router, or receive the service packet sent by a previous-hop service instance, or receive the service packet sent by a service server corresponding to the previous-hop service instance.

7

7. The service switching entity according to claim 5 , wherein if the identifier of the destination service instance is the router identifier, the service switching entity is configured to send the service packet to the router according to the router identifier, so that the router forwards the packet according to the user identifier and a destination IP address.

8

8. A service switching entity, comprising: a computer-readable storage medium storing instructions; and a processor to execute the instructions to configure the service switching entity to: receive a service packet, wherein the service packet comprises a service label stack, the service label stack comprises multiple service labels, and each service label comprises an identifier of a corresponding service instance; and send, according to a stack top service label of the service label stack, the service packet to a service instance corresponding to the stack top service label, to perform corresponding service processing, wherein the service packet further comprises a user identifier, a flow group identifier corresponding to the packet, an identifier of a source service instance, and a processing result obtained after a service instance corresponding to the identifier of the source service instance processes the packet, so that a next-hop service instance processes the service packet according to the user identifier, the flow group identifier, the identifier of the source service instance, and the processing result.

9

9. The service switching entity according to claim 8 , wherein the service switching entity is further configured to receive the service packet sent by a router, or receive the service packet sent by a service switching entity corresponding to a previous-hop service instance.

10

10. The service switching entity according to claim 8 , wherein the service switching entity is further configured to: determine, according to the processing result of the service instance, whether to perform forwarding according to the service label stack; when the service switching entity determines, according to the processing result of the service instance, to perform forwarding according to the service label stack, the service switching entity is configured to pop the stack top service label, and forward, according to a new stack top service label, the packet to a service instance corresponding to the new stack top service label; and when the service switching entity determines, according to the processing result of the service instance, not to perform forwarding according to the service label stack, the service switching entity determines a destination service label stack by querying a service label stack table according to the user identifier, the flow group identifier, the identifier of the source service instance, and the processing result of the source service instance; and forwards the packet according to the destination service label stack, wherein the source service instance refers to the service instance corresponding to the stack top service label, the service label stack table comprises multiple entries, and each entry comprises a user identifier, a flow group identifier, an identifier of a source service instance, a processing result of the source service instance, and a destination service label stack.

Patent Metadata

Filing Date

Unknown

Publication Date

December 4, 2018

Inventors

Shihui HU
Enhui LIU
Delei YU
Chengyong LIN

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “PACKET SENDING METHOD, ROUTER, AND SERVICE SWITCHING ENTITY” (10148562). https://patentable.app/patents/10148562

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.