# US 10,484,204 B2 · Data processing method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,484,204 B2
- Document ID: US10484204B2
- Status: Granted
- Kind: B2
- Application number: 15/654,355
- Filed: 2017-07-19
- Published: 2017-11-02
- Granted: 2019-11-19
- Earliest claimed: 2015-01-20
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd
- Inventors: Jiangping Xu; Meisheng Liu; Yong Liu
- Web page: https://patentgrep.com/patent/US10484204B2

## CPC

- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 49/70: {Virtual switches}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application provides a data processing method and apparatus. The method includes: receiving, by a first VNFC a first data packet and a flow label of the first data packet that are sent by a second VNFC, where the flow label is generated by the second VNFC according to flow information of the first data packet or is received by the second VNFC from a third VNFC; and selecting, by the first VNFC according to the flow label, a first processing node configured to process the first data packet, where the first processing node is a processing node in the first VNFC. By means of the method in this application, system consumption can be reduced, and processing efficiency of a data packet can be improved.

## Claims

### Claim 1

A data processing method, comprising:
receiving, by a first virtualized network function component (VNFC), a first data packet and a flow label of the first data packet that are sent by a second VNFC, wherein the flow label is generated by the second VNFC according to flow information of the first data packet or is received by the second VNFC from a third VNFC;
selecting, by the first VNFC according to the flow label, a first processing node configured to process the first data packet, wherein the first processing node is a processing node in the first VNFC;
processing the first data packet by using the first processing node to obtain a second data packet;
determining that a granularity of flow information of the second data packet is finer than a granularity of the flow information for generating the flow label; and
generating a new flow label according to the flow information of the second data packet.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
selecting a dispatch node of a fourth VNFC according to the new flow label; and
sending the second data packet and the new flow label to the selected dispatch node of the fourth VNFC.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the generating a new flow label according to the flow information of the second data packet comprises:
obtaining new flow information according to a flow classification granularity, and obtaining the new flow label by performing hash calculation on the new flow information; or
obtaining flow information in a tunnel according to a feature of the tunnel, and obtaining the new flow label by performing hash calculation on the flow information in the tunnel.

### Claim 4

A data processing apparatus, comprising: a first dispatch node and M processing nodes, wherein M is an integer greater than or equal to 2; and
the first dispatch node is configured to: receive a first data packet and a flow label of the first data packet that are sent by a second virtualized network function component VNFC, wherein the flow label is generated by the second VNFC according to flow information of the first data packet or is received by the second VNFC from a third VNFC; and select, according to the flow label of the first data packet, a first processing node configured to process the first data packet, wherein the first processing node is a processing node of the M processing nodes, and the first dispatch node and the M processing nodes belong to a first VNFC,
wherein the first processing node is configured to: process the first data packet received by the first dispatch node to obtain a second data packet; determine that a granularity of flow information of the second data packet is finer than a granularity of the flow information for generating the flow label; and generate a new flow label according to the flow information of the second data packet.

### Claim 5 (depends on 4)

The apparatus according to claim 4, wherein the first processing node is further configured to: select a dispatch node of a fourth VNFC according to the new flow label; and
the first dispatch node is further configured to send the second data packet and the new flow label to the dispatch node of the fourth VNFC selected by the first processing node.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the first processing node is specifically configured to: obtain new flow information according to a flow classification granularity, and obtain the new flow label by performing hash calculation on the new flow information; or obtain flow information in a tunnel according to a feature of the tunnel, and obtain the new flow label by performing hash calculation on the flow information in the tunnel.
