# US 2015/0103823 A1 · Service processing method, device and system

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

- Number: US 2015/0103823 A1
- Document ID: US20150103823A1
- Status: Published application
- Kind: A1
- Application number: 14/574,506
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2012-06-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Ruobin ZHENG
- Web page: https://patentgrep.com/patent/US20150103823A1

## CPC

- H04L 45/30: Routing of multiclass traffic
- H04L 45/54: {Organization of routing tables}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention provides a service processing method, device and system. The method includes: receiving a service packet, and searching, according to a service identity in the service packet, a service routing table corresponding to the service packet, where the service identity represents a service to be processed by the service packet; and the service routing table includes a service label used to represent a service feature in the service, and a routing path for processing the service feature; and setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to a service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label. The present invention reduces an impact on an original service and improves scalability.

## Claims

### Claim 1

A service processing method, comprising:
receiving a service packet, and searching, according to a service identity in the service packet, a service routing table corresponding to the service packet, wherein the service identity represents a service to be processed by the service packet; and the service routing table comprises a service label used to represent a service feature in the service, and a routing path for processing the service feature; and
setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to a service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label.

### Claim 2 (depends on 1)

The service processing method according to claim 1, before the searching, according to a service identity in the service packet, a service routing table corresponding to the service packet, further comprising:
after the receiving a service packet, resolving the service packet to acquire the service identity in the service packet, obtaining, according to the service identity, the service to be processed by the service packet, and decomposing the service to obtain a service feature string corresponding to the service; or before the receiving a service packet, acquiring the service identity in the service packet, and a service feature string corresponding to the service represented by the service identity, wherein the service feature string comprises: each service feature in the service and a processing sequence of the service feature;
coding the service feature to obtain the service label used to represent the service feature; and obtaining, according to the service feature string and a service feature that is supported by the service processing device, a routing path for the service feature; and
generating the service routing table according to the service identity, the service label, and the routing path.

### Claim 3 (depends on 1)

The service processing method according to claim 1, wherein the setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to a service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label, comprises:
after the receiving a service packet, setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to the service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label;
receiving a service packet returned by the service processing device, wherein the service packet comprises the service label modified by the service processing device according to a result of processing the service feature; and
setting, in the service packet according to the service packet returned by the service processing device and the service routing table, a service label corresponding to a next service feature to be processed, and sending the service packet to a next service processing device corresponding to the service label.

### Claim 4 (depends on 3)

The service processing method according to claim 3, wherein the setting, in the service packet according to the service packet returned by the service processing device and the service routing table, a service label corresponding to a next service feature to be processed comprises:
searching the service routing table according to the service label or a service feature processing sequence number in the service packet returned by the service processing device, and setting, in the service packet, the service label corresponding to the next service feature to be processed.

### Claim 5 (depends on 1)

The service processing method according to claim 1, before the searching, according to a service identity in the service packet, a service routing table corresponding to the service packet, further comprising:
after the receiving a service packet, resolving the service packet to acquire the service identity in the service packet, obtaining, according to the service identity, the service to be processed by the service packet, and decomposing the service to obtain a service feature string corresponding to the service, wherein the service feature string comprises: each service feature in the service and a processing sequence of the service feature; and
sending the service identity and the service feature string to the service processing device, so that the service processing device generates the service routing table according to the service identity and the service feature string.

### Claim 6 (depends on 5)

The service processing method according to claim 5, wherein the setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to a service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label, comprises:
after the receiving a service packet, setting the service label in the service packet according to the service routing table, and sending, according to the routing path, the service packet to the service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label and sends the service packet to a next service processing device according to the service routing table.

### Claim 7

A service processing control device, comprising:
a receiver, configured to receive a service packet;
a searching unit, configured to search, according to a service identity in the service packet received by the receiver, a service routing table corresponding to the service packet, wherein the service identity represents a service to be processed by the service packet; and the service routing table comprises a service label used to represent a service feature in the service, and a routing path for processing the service feature;
a processing unit, configured to set the service label in the service packet according to the service routing table; and
a transmitter, configured to send, according to the routing path in the service routing table, the service packet set by the processing unit to a service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label.

### Claim 8 (depends on 7)

The service processing control device according to claim 7, further comprising: a service routing control unit, wherein the service routing control unit comprises: a service identifying subunit, a service decomposing subunit, an encoding processing subunit and a route generating subunit, wherein
the service identifying subunit is configured to: after the service packet is received, resolve the service packet to acquire the service identity in the service packet, and obtain, according to the service identity, the service to be processed by the service packet;
the service decomposing subunit is configured to decompose the service to obtain a service feature string corresponding to the service, wherein the service feature string comprises: each service feature in the service and a processing sequence of the service feature;
the encoding processing subunit is configured to encode the service feature to obtain the service label used to represent the service feature; and
the route generating subunit is configured to obtain, according to the service feature string and a service feature that is supported by the service processing device, a routing path for the service feature; and generate the service routing table according to the service identity, the service label and the routing path;
or
the service routing control unit comprises: a service information acquiring subunit, the encoding processing subunit and the route generating subunit, wherein
the service information acquiring subunit is configured to: before the service packet is received, acquire the service identity in the service packet, and the service feature string corresponding to the service represented by the service identity.

### Claim 9 (depends on 7)

The service processing control device according to claim 7, wherein the processing unit comprises:
a packet sending subunit, configured to: after the service packet is received, set the service label in the service packet according to the service routing table, and send, according to the routing path, the service packet to the service processing device configured to process the service feature corresponding to the service label, so that the service processing device processes the service feature corresponding to the service label;
a packet receiving subunit, configured to receive a service packet returned by the service processing device, wherein the service packet comprises the service label modified by the service processing device according to a result of processing the service feature; and
a packet control subunit, configured to set, in the service packet according to the service packet returned by the service processing device and the service routing table, a service label corresponding to a next service feature to be processed, and send the service packet to a next service processing device corresponding to the service label.

### Claim 10 (depends on 9)

The service processing control device according to claim 9, wherein
the packet control subunit is configured to search the service routing table according to the service label or a service feature processing sequence number in the service packet returned by the service processing device, and set, in the service packet, the service label corresponding to the next service feature to be processed.

### Claim 11

A service processing device, comprising:
a receiver, configured to receive a service packet, wherein a service label is set in the service packet; and
a service processing unit, configured to resolve the service label, and process a service feature corresponding to the service label.

### Claim 12 (depends on 11)

The service processing device according to claim 11, further comprising:
a label modifying unit, configured to modify the service label in the service packet according to a result of processing the service feature by the service processing unit; and
a transmitter, configured to send a service packet modified by the label modifying unit to a service processing control device, so that the service processing control device sends the service packet to a next service processing device.

### Claim 13 (depends on 11)

The service processing device according to claim 11, further comprising:
a storing unit, configured to store a service routing table;
an inserting unit, configured to insert a service label of a next service feature to be processed, in the service packet according to a result of processing the service feature by the service processing unit and the service routing table stored by the storing unit; and
a transmitter, configured to send a service packet modified by the inserting unit to a next service processing device corresponding to the service label.

### Claim 14 (depends on 13)

The service processing device according to claim 13, further comprising: a service routing control unit configured to generate the service routing table, wherein the service routing control unit comprises:
an information receiving subunit, configured to acquire a service identity in the service packet received by the receiver and a service feature string corresponding to a service represented by the service identity, wherein the service feature string comprises: each service feature in the service and a processing sequence of the service feature;
an encoding processing subunit, configured to encode the service feature to obtain a service label used to represent the service feature; and
a route generating subunit, configured to obtain, according to the service feature string and a service feature that is supported by the service processing unit, a routing path for the service feature; and generate the service routing table according to the service identity, the service label, and the routing path.

### Claim 15 (depends on 7)

A service processing system, comprising: the service processing control device according to claim 7.
