# US 2019/0052562 A1 · Method for processing data in ethernet, 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 2019/0052562 A1
- Document ID: US20190052562A1
- Status: Published application
- Kind: A1
- Application number: 16/162,163
- Filed: 2018-10-16
- Published: 2019-02-14
- Earliest claimed: 2016-04-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Fan ZHANG; Ming ZHOU; Hui WANG
- Web page: https://patentgrep.com/patent/US20190052562A1

## CPC

- H04L 45/68: {Pseudowire emulation, e.g. IETF WG PWE3}
- H04J 3/06: Synchronising arrangements {(for television systems H04N5/04; bit-synchronisation H04L7/00)}
- H04J 3/0632: {Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES] (queuing arrangements in packet switching elements H04L49/90; synchronising systems for the synchronous transmission of a pulse code modulated video signal with one or more other pulse code modulated signals H04N7/56)}
- H04J 3/073: {Bit stuffing, e.g. PDH}
- H04J 3/16: in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted (H04J3/17, H04J3/24 take precedence)
- H04J 3/1635: {Format conversion, e.g. CEPT/US}
- H04L 12/413: with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
- H04L 12/46: Interconnection of networks
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/6418: {Hybrid transport}
- H04J 2203/0094: Virtual Concatenation
- H04L 2012/6486: {Signalling Protocols}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)

## Abstract

A data processing method, a related device, and a system are provided. The method executed by a first network device includes receiving PDH frame data; loading the PDH frame data and a stuffing bit into a virtual container to obtain the virtual container that includes the PDH frame data, where the stuffing bit in the virtual container carries information about a clock frequency difference between a clock frequency of the Ethernet and a clock frequency of the PDH frame data; and performing virtual-container PWE3 encapsulation on the virtual container to obtain a virtual-container PWE3 packet. In at least some embodiments, difficulty in recovering the clock frequency of the PDH frame data when the PDH frame data is transmitted in the Ethernet is reduced, clock frequency jitters and drifts caused by the clock frequency recovery are reduced, and user experience is improved.

## Claims

### Claim 1

A method for processing data in Ethernet, wherein the Ethernet comprises a first network device and a second network device, the first network device is coupled with the second network device by using the Ethernet, and the method comprising:
receiving, by the second network device, a virtual-container pseudo-wire emulation edge-to-edge (PWE3) packet sent by the first network device, wherein the virtual-container PWE3 packet comprises plesiochronous digital hierarchy (PDH) frame data; and
performing, by the second network device, virtual-container PWE3 decapsulation on the virtual-container PWE3 packet to obtain a virtual container that comprises the PDH frame data, wherein the virtual container further comprises a stuffing bit, and the stuffing bit carries information about a clock frequency difference between a clock frequency of the Ethernet and a clock frequency of the PDH frame data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein a path overhead (POH) of the virtual container comprises first alarm information, and the first alarm information is used to indicate monitored quality of the PDH frame data; and
after the performing, by the second network device, the virtual-container PWE3 decapsulation on the virtual-container PWE3 packet, the method further comprises:
extracting, by the second network device, the first alarm information from the POH.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the path overhead POH of the virtual container comprises second alarm information, and the second alarm information is used to indicate a status of an Ethernet path between the first network device and the second network device; and
before the performing, by the second network device, the virtual-container PWE3 decapsulation on the virtual-container PWE3 packet, the method further comprises:
extracting, by the second network device, the second alarm information from the POH.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the method further comprises:
obtaining, by the second network device, multiple virtual containers obtained after the virtual-container PWE3 decapsulation, and multiplexing the multiple virtual containers into tributary units by using interleaving.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the method further comprises:
performing, by the second network device, virtual-container demapping processing on the virtual container to obtain the PDH frame data and the stuffing bit that are stored in the virtual container;
obtaining, by the second network device, the information about the clock frequency difference according to the stuffing bit; and
obtaining, by the second network device, the clock frequency of the PDH frame data according to the information about the clock frequency difference and a clock frequency of the second network device.

### Claim 6

A network device, applied to Ethernet, wherein the Ethernet comprises a target network device, the network device is coupled with the target network device by using the Ethernet, the network device comprising:
a non-transitory memory comprising instructions;
a processor in communication with the memory, wherein the processor is configured to execute the instructions to:
receive plesiochronous digital hierarchy (PDH) frame data;
perform virtual-container mapping processing on the PDH frame data to load the PDH frame data and a stuffing bit into a virtual container, to obtain the virtual container that comprises the PDH frame data, wherein the stuffing bit carries information about a clock frequency difference between a clock frequency of the Ethernet and a clock frequency of the PDH frame data;
perform virtual-container pseudo-wire emulation edge-to-edge (PWE3) encapsulation on the virtual container to obtain virtual-container PWE3 encapsulated data; and
obtain the virtual-container PWE3 packet according to the virtual-container PWE3 encapsulated data, and send the virtual-container PWE3 packet to the target network device by using the Ethernet.

### Claim 7 (depends on 6)

The network device according to claim 6, wherein the processor is further configured to execute the instructions to:
before the virtual-container mapping processing unit performs virtual-container mapping processing on the PDH frame data to obtain the virtual container that comprises the PDH frame data, obtain first alarm information, and place the first alarm information in a path overhead (POH) of the virtual container, wherein the first alarm information is used to indicate monitored quality of the PDH frame data.

### Claim 8 (depends on 6)

The network device according to claim 6, wherein the processor is further configured to execute the instructions to:
before the first network device obtains the virtual-container PWE3 packet according to the virtual-container PWE3 encapsulated data, obtain second alarm information, and place the second alarm information in the POH of the virtual container, wherein the second alarm information is used to indicate a status of an Ethernet path between the network device and the target network device.

### Claim 9

A network device, applied to Ethernet, wherein the Ethernet further comprises a target network device, the network device is coupled with the target network device by using the Ethernet, the network device comprising:
a non-transitory memory comprising instructions;
a processor in communication with the memory, wherein the processor is configured to execute the instructions to:
receive a virtual-container pseudo-wire emulation edge-to-edge (PWE3) packet sent by the target network device, wherein the virtual-container PWE3 packet comprises plesiochronous digital hierarchy (PDH) frame data; and
perform virtual-container PWE3 decapsulation on the virtual-container PWE3 packet to obtain a virtual container that comprises the PDH frame data, wherein the virtual container further comprises a stuffing bit, and the stuffing bit carries information about a clock frequency difference between a clock frequency of the Ethernet and a clock frequency of the PDH frame data.

### Claim 10 (depends on 9)

The network device according to claim 9, wherein a path overhead (POH) of the virtual container comprises first alarm information, and the first alarm information is used to indicate monitored quality of the PDH frame data; and
the processor is further configured to execute the instructions to:
extract the first alarm information from the POH after performing virtual-container PWE3 decapsulation on the virtual-container PWE3 packet.

### Claim 11 (depends on 10)

The network device according to claim 10, wherein the path overhead POH of the virtual container further comprises second alarm information, and the second alarm information is used to indicate a status of an Ethernet path between the network device and the target network device; and
the processor is further configured to execute the instructions to:
extract the second alarm information from the POH before performing virtual-container PWE3 decapsulation on the virtual-container PWE3 packet.

### Claim 12 (depends on 9)

The network device according to claim 9, wherein the processor is further configured to execute the instructions to:
obtain multiple virtual containers obtained after the virtual-container PWE3 decapsulation, and multiplex the multiple virtual containers into tributary units by using interleaving.

### Claim 13 (depends on 9)

The network device according to claim 9, wherein the processor is further configured to execute the instructions to:
perform virtual-container demapping processing on the virtual container to obtain the PDH frame data and the stuffing bit that are stored in the virtual container; obtain the information about the clock frequency difference according to the stuffing bit; and obtain the clock frequency of the PDH frame data according to the information about the clock frequency difference and a clock frequency of the network device.
