# US 2022/0294603 A1 · Data Stream 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 2022/0294603 A1
- Document ID: US20220294603A1
- Status: Published application
- Kind: A1
- Application number: 17/831,123
- Filed: 2022-06-02
- Published: 2022-09-15
- Earliest claimed: 2019-12-06
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Weijun Le; Xiang He
- Web page: https://patentgrep.com/patent/US20220294603A1

## CPC

- H04L 7/0041: {Delay of data signal}
- H04L 25/14: Channel dividing arrangements {, i.e. in which a single bit stream is divided between several baseband channels and reassembled at the receiver}
- H04L 1/0041: {Arrangements at the transmitter end}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method includes periodically inserting another AM into a data stream (DS) to obtain a second DS, and the first data stream includes a first alignment marker (AM); sending the second DS through physical lanes (PLs), where a quantity of the PLs is not equal to 2n, where the second AM's insertion period and each second AM's size is based on condition 1 or 2, where condition 1 is the quantity of the PLs, where condition 2 is condition 1 and a ratio of the second DS's rate to the first DS's rate, the second AM's insertion period and each second AM's size is an integer multiple of the quantity of the PLs, and where the second DS's rate is not less than the first DS's rate, and traffic per unit time corresponding to the rate of the second DS is an integer multiple of the quantity of the PLs.

## Claims

### Claim 1

A method, comprising:
obtaining, by a first chip, a first data stream, wherein the first data stream comprises a first alignment marker;
periodically inserting, by the first chip, a second alignment marker into the first data stream to obtain a second data stream; and
sending, by the first chip, the second data stream through a plurality of physical lanes, wherein a quantity of the physical lanes is not equal to 2n, wherein n is a positive integer, wherein a first insertion period of each second alignment marker and a size of the each second alignment marker are based on one or more of a first condition and a second condition, wherein the first condition is the quantity of the physical lanes, wherein the second condition is the quantity of the physical lanes and a ratio of a second rate of the second data stream to a first rate of the first data stream, wherein the first insertion period and the size of the each second alignment marker is an integer multiple of the quantity of the physical lanes, wherein the second rate is greater than or equal to the first rate, and wherein traffic per unit time that corresponds to the second rate is an integer multiple of the quantity of the physical lanes.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second alignment marker comprises a plurality of second alignment sub-markers, wherein a quantity of the second alignment sub-markers is the quantity of the physical lanes, wherein a size of each second alignment sub-marker is a quantity m of data blocks, wherein m is a ratio of the size of the second alignment marker to the quantity of the physical lanes, and wherein m is a positive integer, wherein the periodically inserting comprises:
converting, by the first chip, the first data stream into a plurality of first data sub-streams based on the quantity of the physical lanes, wherein each of the first data sub-streams corresponds to one physical lane; and
further periodically inserting, by the first chip, a second alignment sub-marker into each first data sub-stream to obtain a plurality of second data sub-streams; and
wherein the sending comprises further sending, by the first chip, the second data sub-streams through the physical lanes.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining, by the first chip, an insertion location of the second alignment marker based on a location of the first alignment marker in the first data stream and a preset distance, wherein the periodically inserting further comprises further periodically inserting, by the first chip, the second alignment marker into the first data stream based on the insertion location of the second alignment marker, wherein the first insertion period is greater than or equal to a common multiple of a second insertion period and the quantity of the physical lanes.

### Claim 4 (depends on 1)

The method of claim 1, wherein when the second rate is greater than the first rate, the method further comprises inserting, by the first chip, padding data into the first data stream.

### Claim 5 (depends on 4)

The method of claim 4, wherein the inserting further comprises periodically inserting, by the first chip, the padding data into the first data stream.

### Claim 6 (depends on 4)

The method of claim 4, wherein the padding data is a random sequence.

### Claim 7 (depends on 1)

The method of claim 1, wherein when the second rate is equal to the first rate, the periodically inserting further comprises:
deleting, by the first chip, the first alignment marker from the first data stream to obtain a third data stream; and
further periodically inserting, by the first chip, the second alignment marker into the third data stream to obtain the second data stream, wherein a product of the size of the second alignment marker and a period of the second alignment marker is equal to a product of a size of the first alignment marker and a period of the first alignment marker.

### Claim 8 (depends on 1)

The method of claim 1, wherein when the second rate is equal to the first rate, the sending comprises:
deleting, by the first chip, the first alignment marker from the second data stream to obtain a fourth data stream; and
further sending, by the first chip, the fourth data stream through the physical lanes, wherein a product of the size of the second alignment marker and a period of the second alignment marker is equal to a product of a size of the first alignment marker and a period of the first alignment marker.

### Claim 9

A method, comprising:
receiving, by a second chip, a plurality of second data sub-streams, wherein each of the second data sub-streams comprises a second alignment sub-marker;
aligning, by the second chip, the second data sub-streams based on second alignment sub-markers in the second data sub-streams; and
converting, by the second chip, the second data sub-streams into a first data stream, wherein the first data stream does not comprise the second alignment sub-markers.

### Claim 10 (depends on 9)

The method of claim 9, wherein the converting further comprises:
deleting, by the second chip, the second alignment sub-markers to obtain a plurality of first data sub-streams; and
combining, by the second chip, the first data sub-streams into the first data stream.

### Claim 11 (depends on 9)

The method of claim 9, wherein the converting further comprises:
combining, by the second chip, the second data sub-streams into a second data stream;
combining the second alignment sub-markers into a second alignment marker; and
deleting, by the second chip, the second alignment marker from the second data stream to obtain the first data stream.

### Claim 12 (depends on 9)

The method of claim 9, wherein the second data sub-stream further comprises padding data, and wherein the converting further comprises:
deleting, by the second chip, padding data from the second data sub-streams to obtain first data sub-streams; and
combining, by the second chip, the first data sub-streams into the first data stream.

### Claim 13 (depends on 12)

The method of claim 12, wherein the deleting further comprises: deleting, by the second chip, the padding data from the second data sub-streams based on locations of the second alignment sub-markers and a first preset location relationship, wherein the first preset location relationship is a location relationship between the second alignment sub-marker and the padding data.

### Claim 14 (depends on 9)

The method of claim 9, wherein the second data sub-stream further comprises padding data; and wherein the converting further comprises:
combining, by the second chip, the second data sub-streams into the second data stream; and
deleting, by the second chip, padding data from the second data stream to obtain the first data stream.

### Claim 15 (depends on 14)

The method of claim 14, wherein the deleting further comprises deleting, by the second chip, padding data from the second data streams based on a location of the second alignment marker and a second preset location relationship, wherein the second preset location relationship is a location relationship between the second alignment marker and the padding data from the second data streams.

### Claim 16 (depends on 10)

The method of claim 10, wherein the deleting further comprises:
deleting, by the second chip, the second alignment sub-markers from the second data sub-streams;
inserting first alignment sub-markers into the second data sub-streams based on locations of the second alignment sub-markers and a third preset location relationship; and
obtaining the first data sub-streams in response to inserting the first alignment sub-markers in to the second data sub-streams, wherein the third preset location relationship is a relationship between an insertion location of the first alignment sub-marker and a location of the second alignment sub-marker.

### Claim 17 (depends on 11)

The method of claim 11, wherein the deleting further comprises:
deleting, by the second chip, the second alignment marker from the second data stream;
inserting a first alignment marker into the second data stream based on a location of the second alignment marker and a fourth preset location relationship; and
obtaining the first data stream in response to inserting the first alignment marker into the second data stream, wherein the fourth preset location relationship is a relationship between an insertion location of the first alignment marker and a location of the second alignment marker.

### Claim 18

An apparatus comprising:
a processor; and
a non-transitory storage medium in communication with the processor and configured to store program instructions that when executed by the processor cause the apparatus to be configured to:
obtain a first data stream, wherein the first data stream comprises a first alignment marker;
periodically insert a second alignment marker into the first data stream to obtain a second data stream; and
send the second data stream through a plurality of physical lanes, wherein a quantity of the physical lanes is not equal to 2n, wherein n is a positive integer, wherein a first insertion period of each second alignment marker and a size of the each second alignment marker are based on one or more of a first condition and a second condition, wherein the first condition is the quantity of the physical lanes, wherein the second condition is the quantity of the physical lanes and a ratio of a second rate of the second data stream to a first rate of the first data stream, wherein the first insertion period and the size of the each second alignment marker are an integer multiple of the quantity of the physical lanes, wherein the second rate is greater than or equal to the first rate, and wherein traffic per unit time that corresponds to the second rate of the second data stream is an integer multiple of the quantity of the physical lanes.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the second alignment marker comprises a plurality of second alignment sub-markers, wherein a quantity of the second alignment sub-markers is the quantity of the physical lanes, wherein a size of each second alignment sub-marker is a quantity m of data blocks, wherein m is a ratio of the size of the second alignment marker to the quantity of the physical lanes, wherein m is a positive integer, wherein the program instructions further cause the apparatus to be configured to:
convert the first data stream into a plurality of first data sub-streams based on the quantity of the physical lanes, wherein each of the first data sub-streams corresponds to one physical lane;
periodically insert a second alignment sub-marker into each first data sub-stream to obtain a plurality of second data sub-streams; and
send the second data sub-streams through the physical lanes.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the program instructions further cause the apparatus to be configured to:
determine an insertion location of the second alignment marker based on a location of the first alignment marker in the first data stream and a preset distance; and
periodically inserting the second alignment marker into the first data stream based on the insertion location of the second alignment marker, wherein the first insertion period is greater than or equal to a common multiple of a second insertion period of the first alignment marker and the quantity of the physical lanes.
