# US 2015/0146741 A1 · Method and apparatus for determining scheduling policy

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

- Number: US 2015/0146741 A1
- Document ID: US20150146741A1
- Status: Published application
- Kind: A1
- Application number: 14/401,573
- Filed: 2013-07-15
- Published: 2015-05-28
- Earliest claimed: 2012-07-26
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Yu Zhang
- Web page: https://patentgrep.com/patent/US20150146741A1

## CPC

- H04L 5/0064: {Rate requirement of the data, e.g. scalable bandwidth, data priority}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/5601: {Transfer mode dependent, e.g. ATM}
- H04L 45/302: Route determination based on requested QoS
- H04L 2012/5625: {Operations, administration and maintenance [OAM]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The disclosure discloses a method and apparatus for determining a scheduling policy. Wherein this method includes determining a Quality of Service (QoS) identifier corresponding to an Asynchronous Transfer Mode (ATM) cell, encapsulating the QoS identifier into a pseudo-wire message, and determining the scheduling policy corresponding to the pseudo-wire message according to the QoS identifier. Through the disclosure, when the ATM cell enters a Packet Transmit Network (PTN), the QoS identifier corresponding to the ATM cell is determined, and then the QoS identifier is encapsulated into the pseudo-wire message, and then the scheduling policy corresponding to the pseudo-wire message is determined according to the QoS identifier, which solves the problem that in the related art different ATM services implementing a differentiated service in a PTN network is not presented, improves flexibility of priority configuration of the ATM service, makes an operating company to be able to perform more flexible service configuration by using a PTN device, still further meets differentiated service requirements of clients of different priorities.

## Claims

### Claim 1

A method for determining a scheduling policy, comprising:
determining a Quality of Service (QoS) identifier corresponding to an Asynchronous Transfer Mode (ATM) cell;
encapsulating the QoS identifier into a pseudo-wire message; and
determining a scheduling policy corresponding to the pseudo-wire message according to the QoS identifier.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising: before determining the QoS identifier corresponding to the ATM cell,
setting a mapping relationship between the ATM cell and the QoS identifier.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining the QoS identifier corresponding to the ATM cell comprises: determining the QoS identifier corresponding to the ATM cell according to a Virtual Path Identifier (VPI)/Virtual Channel Identifier (VCI) value in the ATM cell.

### Claim 4 (depends on 3)

The method according to claim 3, wherein determining the QoS identifier corresponding to the ATM cell according to the VPI/VCI value in the ATM cell comprises:
judging whether the QoS identity matching the VPI/VCI value in the ATM cell exists according to the mapping relationship;
if the matched QoS identifier exists, then determining the QoS identifier corresponding to the ATM cell; and
if the matched QoS identifier does not exist, then determining a default QoS identifier as the QoS identifier corresponding to the ATM cell.

### Claim 5 (depends on 4)

The method according to claim 4, wherein a value of the default QoS identifier is 5.

### Claim 6 (depends on 2)

The method according to claim 2, wherein setting the mapping relationship between the ATM cell and the QoS identifier comprises:
setting, through a port mapping way, and/or a Virtual Passage Connection (VPC) mapping way, and/or a Virtual Channel Connection (VCC) mapping way, the mapping relationship between the ATM cell and the QoS identifier.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the port mapping way is building the mapping relationship between the ATM cell on a port and the same QoS identifier.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the VPC mapping way is building the mapping relationship between the ATM cell on a port of which the VPI value is equal to a first assigned value, and the same QoS identifier.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the VCC mapping way is building a mapping relationship between all the ATM cells on a port of which the VPI/VCI values are equal to the first assigned value/a second assigned value, and the same QoS identifier.

### Claim 10 (depends on 1)

The method according to claim 1, wherein encapsulating the QoS identifier into the pseudo-wire message comprises:
if a corresponding relationship between the QoS identifier and the pseudo-wire message is one-to-one, encapsulating the QoS identifier into the pseudo-wire message; and
if the corresponding relationship between the QoS identifier and the pseudo-wire message is many-to-one, then selecting one QoS identifier from multiple QoS identities, and encapsulating the selected QoS identifier into the pseudo-wire message.

### Claim 11 (depends on 10)

The method according to claim 10, wherein selecting one QoS identifier from multiple QoS identities comprises:
selecting one QoS identifier from the multiple QoS identities according to a priority selection algorithm.

### Claim 12 (depends on 1)

The method according to claim 1, wherein encapsulating the QoS identifier into the pseudo-wire message comprises:
encapsulating the QoS identifier into an EXP field of the pseudo-wire message.

### Claim 13 (depends on 1)

The method according to claim 1, further comprising: after determining the scheduling policy corresponding to the pseudo-wire message according to the QoS identifier,
performing a priority scheduling operation on the pseudo-wire message according to the scheduling policy.

### Claim 14

An apparatus for determining a scheduling policy, comprising:
an identifier determining module, configured to determine a Quality of Service (QoS) identifier corresponding to an Asynchronous Transfer Mode (ATM) cell;
an encapsulating module, configured to encapsulate the QoS identifier into a pseudo-wire message; and
a policy determining module, configured to determine a scheduling policy corresponding to the pseudo-wire message according to the QoS identifier.

### Claim 15 (depends on 14)

The apparatus according to claim 14, further comprising:
a mapping relationship setting module, configured to set a mapping relationship between the ATM cell and the QoS identifier.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the identifier determining module comprises:
an identifier determining unit, configured to determine the QoS identifier corresponding to the ATM cell according to a Virtual Path Identifier (VPI)/Virtual Channel Identifier (VCI) value in the ATM cell.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the identifier determining unit comprises:
an identifier judging subunit, configured to judge whether the QoS identifier matching the VPI/VCI value in the ATM cell exists according to the mapping relationship;
a first determining subunit, configured to, when a judgment result of the identifier judging subunit is that the matched QoS identifier exists, determine the QoS identifier corresponding to the ATM cell; and
a second determining subunit, configured to, when the judgment result of the identifier judging subunit is that the matched QoS identifier does not exist, determine a default QoS identifier as the QoS identifier corresponding to the ATM cell.

### Claim 18 (depends on 14)

The apparatus according to claim 14, wherein the encapsulating module comprises:
a first encapsulating unit, configured to, when a corresponding relationship between the QoS identifier and the pseudo-wire message is one-to-one, encapsulate the QoS identifier into the pseudo-wire message; or
a second encapsulating unit, configured to, when the corresponding relationship between the QoS identifier and the pseudo-wire message is many-to-one, select one QoS identifier from multiple QoS identities, and encapsulate the selected QoS identifier into the pseudo-wire message.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the second encapsulating unit is configured to, when selecting one QoS identifier from the multiple QoS identities, select one QoS identifier from the multiple said QoS identities according to a priority selection algorithm.

### Claim 20 (depends on 14)

The apparatus according to claim 14, further comprising:
a scheduling module, configured to perform a priority scheduling operation on the pseudo-wire message according to the scheduling policy.
