# US 10,313,089 B2 · Method, apparatus, and system for transmitting data in ethernet

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

- Number: US 10,313,089 B2
- Document ID: US10313089B2
- Status: Granted
- Kind: B2
- Application number: 14/861,248
- Filed: 2015-09-22
- Published: 2016-01-14
- Granted: 2019-06-04
- Earliest claimed: 2013-03-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wei Su
- Web page: https://patentgrep.com/patent/US10313089B2

## CPC

- H04L 5/0094: {Indication of how sub-channels of the path are allocated}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 49/35: Switches specially adapted for specific applications
- H04L 2012/6421: {Medium of transmission, e.g. fibre, cable, radio, satellite}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present invention provide a method, an apparatus, and a system for transmitting data in the Ethernet, and relate to the field of Ethernet communications, so as to reduce the complexity of data processing while achieving transmission of high-rate data. The method includes: receiving to-be-transmitted data; determining a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel; distributing the to-be-transmitted data to a first integral number of electrophysical sub-channels; performing, by the first integral number of electrophysical sub-channels, coding and scrambling processing on the to-be-transmitted data; and sending after processing, by a second integral number of photophysical sub-channels, data from the first integral number of electrophysical sub-channels.

## Claims

### Claim 1

A method for transmitting data in the Ethernet, comprising:
receiving to-be-transmitted data;
determining a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel, the first integral number is the number of electrophysical sub-channels configured to transmit the to-be-transmitted data, the electrophysical sub-channel is configured to implement a function of a physical coding sublayer (PCS) in the Ethernet, and the first integral number is greater than zero;
distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels;
performing, by each of the first integral number of electrophysical sub-channels, based on a function requirement of the physical coding sublayer PCS in the Ethernet, coding and scrambling processing on the to-be-transmitted data, the coding is performed in parallel by each of the first integral number of electrophysical sub-channels; and
sending after processing, by a second integral number of photophysical sub-channels, data from the first integral number of electrophysical sub-channels, the photophysical sub-channel is configured to implement a function of a physical medium attachment sublayer (PMA) in the Ethernet and a function of a physical medium dependent sublayer PMD in the Ethernet, and the second integral number is greater than zero.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the receiving to-be-transmitted data comprises:
receiving, by a reconciliation sublayer RS in the Ethernet, to-be-transmitted data transmitted from a data link layer;
the determining a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel comprises:
determining, by the RS, the first integral number according to the data amount of the received to-be-transmitted data and the transmission bandwidth of the electrophysical sub-channel; and
the distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels comprises:
distributing, by the RS, the to-be-transmitted data to the first integral number of electrophysical sub-channels.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels comprises:
distributing, based on a distribution period, the to-be-transmitted data in a unit of data frame to the first integral number of electrophysical sub-channels in a polling manner, wherein when the to-be-transmitted data is distributed in a unit of data frame to the first integral number of electrophysical sub-channels, a time mark used to indicate a distribution sequence is added into the data frame according to the distribution sequence.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the distributing, based on a distribution period, the to-be-transmitted data in a unit of data frame to the first integral number of electrophysical sub-channels in a polling manner comprises:
in one distribution period, distributing the to-be-transmitted data in a unit of data frame to one electrophysical sub-channel, until the distribution period ends; and in a next distribution period, distributing the to-be-transmitted data in a unit of data frame to a next electrophysical sub-channel, wherein when the distribution period ends, a switching mark is added into the last data frame distributed to the electrophysical sub-channel, wherein the switching mark is used to identify that a next data frame of a current data frame is distributed to a next electrophysical sub-channel.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the adding a switching mark into the last data frame distributed to the electrophysical sub-channel comprises:
adding a switching mark into a preamble field of the last data frame distributed to each electrophysical sub-channel.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the adding a time mark used to indicate a distribution sequence into the data frame comprises: adding the time mark into the preamble field of the data frame.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the receiving to-be-transmitted data comprises:
receiving, by a network layer, the to-be-transmitted data;
the determining a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel comprises:
determining, by the network layer, the first integral number according to the data amount of the received to-be-transmitted data and the transmission bandwidth of the electrophysical sub-channel; and
the distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels comprises:
dividing, by the network layer, the to-be-transmitted data into a first integral number of pieces of to-be-transmitted data, and transmitting the first integral number of pieces of to-be-transmitted data to the first integral number of electrophysical sub-channels on a physical layer through a data link layer and an RS layer.

### Claim 8 (depends on 1)

The method according to claim 1, wherein:
the determining a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel comprises:
calculating a data amount of to-be-transmitted data received in a previous reference time, wherein the reference time is a preset time period in which the data amount of the to-be-transmitted data is calculated; and
determining a first integral number corresponding to a current reference time according to the calculated data amount of the to-be-transmitted data received in the previous reference time and the transmission bandwidth of the electrophysical sub-channel;
before the distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels, the method further comprises:
detecting whether a first integral number corresponding to the previous reference time is equal to the first integral number corresponding to the current reference time; and
when the first integral number corresponding to the previous reference time is unequal to the first integral number corresponding to the current reference time, determining at least one to-be-adjusted electrophysical sub-channel, adjusting a state of the at least one to-be-adjusted electrophysical sub-channel, and determining a first integral number of electrophysical sub-channels corresponding to the current reference time; and
when the first integral number corresponding to the previous reference time is equal to the first integral number corresponding to the current reference time, determining a first integral number of electrophysical sub-channels which are on the physical layer and correspond to the previous reference time as a first integral number of electrophysical sub-channels corresponding to the current reference time; and
the distributing the to-be-transmitted data to the first integral number of electrophysical sub-channels comprises:
distributing the to-be-transmitted data to the determined first integral number of electrophysical sub-channels corresponding to the current reference time.

### Claim 9 (depends on 8)

The method according to claim 8, wherein when the first integral number corresponding to the previous reference time is unequal to the first integral number corresponding to the current reference time, determining at least one to-be-adjusted electrophysical sub-channel, adjusting a state of the at least one to-be-adjusted electrophysical sub-channel, and determining a first integral number of electrophysical sub-channels corresponding to the current reference time comprises:
when the first integral number corresponding to the current reference time is smaller than the first integral number corresponding to the previous reference time, determining a third integral number of first to-be-adjusted electrophysical sub-channels, wherein the first to-be-adjusted electrophysical sub-channels are electrophysical sub-channels in an active state; switching states of the third integral number of first to-be-adjusted electrophysical sub-channels from the active state to a sleep state; and determining electrophysical sub-channels currently in the active state as the first integral number of electrophysical sub-channels corresponding to the current reference time, wherein the third integral number is a difference between the first integral number corresponding to the previous reference time and the first integral number corresponding to the current reference time; and
when the first integral number corresponding to the current reference time is greater than the first integral number corresponding to the previous reference time, determining a fourth integral number of second to-be-adjusted electrophysical sub-channels, wherein the second to-be-adjusted electrophysical sub-channels are electrophysical sub-channels in the sleep state; switching states of the fourth integral number of second to-be-adjusted electrophysical sub-channels from the sleep state to the active state; and determining electrophysical sub-channels currently in the active state as the first integral number of electrophysical sub-channels corresponding to the current reference time, wherein the fourth integral number is a difference between the first integral number corresponding to the current reference time and the first integral number corresponding to the previous reference time.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the switching states of the third integral number of first to-be-adjusted electrophysical sub-channels from the active state to the sleep state comprises:
sending sleep indication information through the third integral number of first to-be-adjusted electrophysical sub-channels, and triggering switching of the states of the third integral number of first to-be-adjusted electrophysical sub-channels from the active state to the sleep state; and
the switching states of the fourth integral number of second to-be-adjusted electrophysical sub-channels from the sleep state to the active state comprises:
sending activation indication information through the fourth integral number of second to-be-adjusted electrophysical sub-channels, and triggering switching of the states of the fourth integral number of second to-be-adjusted electrophysical sub-channels from the sleep state to the active state.

### Claim 11 (depends on 1)

The method according to claim 1, wherein before the performing, by the first integral number of electrophysical sub-channels, coding and scrambling processing on the to-be-transmitted data, and before the sending before processing, by the second integral number of photophysical sub-channels, data from the first integral number of electrophysical sub-channels, the method further comprises:
performing, by the first integral number of electrophysical sub-channels, forward error correction FEC check and coding processing on the to-be-transmitted data; and
the sending before processing, by the second integral number of photophysical sub-channels, data from the first integral number of electrophysical sub-channels comprises:
performing, by the second integral number of photophysical sub-channels, physical medium attachment processing on the to-be-transmitted data processed by the first integral number of electrophysical sub-channels, and sending the to-be-transmitted data through a physical medium channel.

### Claim 12 (depends on 1)

The method for transmitting data in the Ethernet according to claim 1, further comprising:
receiving in a data receiving device, through the first integral number of electrophysical sub-channels, data sent by a data sending device, wherein the data sent by the sending device is data generated after the to-be-transmitted data of a sending end is distributed to the first integral number of electrophysical sub-channels in the data sending device and is processed by the first integral number of electrophysical sub-channels in the data sending device, and the first integral number is determined based on a data amount of the to-be-transmitted data and a bandwidth of the electrophysical sub-channel in the data sending device; and
aggregating, according to a time mark carried in each data frame in the received data, the data received by the first integral number of electrophysical sub-channels in the data receiving device into a data flow.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the aggregating, according to a time mark carried in each data frame in the received data, the data received by the first integral number of electrophysical sub-channels in the data receiving device into a data flow comprises:
reading one data frame from one electrophysical sub-channel; inserting, according to the time mark carried in the data frame, the data frame into a position corresponding to the time mark in the data flow; and detecting whether the data frame carries a switching mark; and when the data frame does not carry the switching mark, reading a next data frame from the electrophysical sub-channel; when the data frame carries the switching mark, reading a next data frame from a next electrophysical sub-channel of the electrophysical sub-channel, until all data frames are read.

### Claim 14 (depends on 12)

The method according to claim 12, wherein before the receiving in a data receiving device, through a first integral number of electrophysical sub-channels, data sent by a data sending device, the method further comprises:
receiving, through a second integral number of photophysical sub-channels, the data sent by the data sending device, wherein the second integral number is greater than zero; and
the receiving in a data receiving device, through a first integral number of electrophysical sub-channels, data sent by a data sending device comprises:
separately performing, by the first integral number of electrophysical sub-channels, synchronization processing on the data received by the second integral number of photophysical sub-channels; and separately performing descrambling and decoding processing on the data on which the synchronization processing has been performed.

### Claim 15 (depends on 12)

The method according to claim 12, further comprising:
receiving sleep indication information through at least one electrophysical sub-channel, wherein the at least one electrophysical sub-channel is in an active state; and
switching a state of the at least one electrophysical sub-channel receiving the sleep indication information to a sleep state; and updating the first integral number; or
receiving activation indication information through the at least one electrophysical sub-channel, wherein the at least one electrophysical sub-channel is in the sleep state; and
switching a state of the at least one electrophysical sub-channel that receives the activation indication information to the active state, and returning activation response information through the at least one electrophysical sub-channel; and updating the first integral number.

### Claim 16

A data sending device, comprising:
a memory to store instructions;
a processor to execute the instructions to configure the data sending device to:
receive to-be-transmitted data;
determine a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel, the first integral number is the number of electrophysical sub-channels which are on a physical layer and configured to transmit the to-be-transmitted data, the electrophysical sub-channel is configured to implement a function of a physical coding sublayer PCS in the Ethernet, and the first integral number is greater than zero;
distribute the to-be-transmitted data to the first integral number of electrophysical sub-channels,
each of the electrophysical sub-channels is configured to perform coding and scrambling on the to-be-transmitted data, and to send the to-be-transmitted data on which the coding and scrambling have been performed to a second integral number of photophysical sub-channels, the second integral number is greater than zero, the coding is performed in parallel by each of the first integral number of electrophysical sub-channels; and
a photophysical sub-channel, configured to send after processing data from the first integral number of electrophysical sub-channels.

### Claim 17 (depends on 16)

The device according to claim 16, wherein
the processor further executes the instructions to configure the data sending device to:
receive, on a reconciliation sublayer RS in the Ethernet, to-be-transmitted data transmitted from a data link layer;
determine, on the RS, the first integral number according to the data amount of the received to-be-transmitted data and the transmission bandwidth of the electrophysical sub-channel; and
distribute, on the RS, the to-be-transmitted data to the first integral number of electrophysical sub-channels.

### Claim 18 (depends on 16)

The device according to claim 16, wherein
the processor further executes the instructions to configure the data sending device to
distribute, based on a distribution period, the to-be-transmitted data in a unit of data frame to the first integral number of electrophysical sub-channels in a polling manner, wherein when the to-be-transmitted data is distributed in a unit of data frame to the first integral number of electrophysical sub-channels, a time mark used to indicate a distribution sequence is added into the data frame according to the distribution sequence.

### Claim 19 (depends on 18)

The device according to claim 18, wherein
the processor further executes the instructions to configure the data sending device to:
in one distribution period, distribute the to-be-transmitted data in a unit of data frame to one electrophysical sub-channel, until the distribution period ends; and in a next distribution period, distribute the to-be-transmitted data in a unit of data frame, to a next electrophysical sub-channel, wherein when the distribution period ends, a switching mark is added into the last data frame distributed to the electrophysical sub-channel, and the switching mark is used to identify that a next data frame of a current data frame is distributed to a next electrophysical sub-channel.

### Claim 20 (depends on 16)

The device according to claim 16, wherein
the processor further executes the instructions to configure the data sending device to:
receive, on a network layer, the to-be-transmitted data;
determine, on the network layer, the first integral number according to the data amount of the received to-be-transmitted data and the transmission bandwidth of the electrophysical sub-channel; and
divide, on the network layer, the to-be-transmitted data into a first integral number of pieces of to-be-transmitted data, and transmit the first integral number of pieces of to-be-transmitted data to the first integral number of electrophysical sub-channels on a physical layer through a data link layer and an RS layer.

### Claim 21 (depends on 16)

The device according to claim 16, wherein
the processor further executes the instructions to configure the data sending device to:
calculate a data amount of to-be-transmitted data received in a previous reference time, wherein the reference time is a preset time period in which the data amount of the to-be-transmitted data is calculated; and determine a first integral number corresponding to a current reference time according to the calculated data amount of the to-be-transmitted data received in the previous reference time and the transmission bandwidth of the electrophysical sub-channel;
detect whether a first integral number corresponding to the previous reference time is equal to the first integral number corresponding to the current reference time; and when the first integral number corresponding to the previous reference time is unequal to the first integral number corresponding to the current reference time, determine at least one to-be-adjusted electrophysical sub-channel, adjust a state of the at least one to-be-adjusted electrophysical sub-channel, and determine a first integral number of electrophysical sub-channels corresponding to the current reference time; when the first integral number corresponding to the previous reference time is equal to the first integral number corresponding to the current reference time, determine a first integral number of electrophysical sub-channels which are on the physical layer and correspond to the previous reference time as the first integral number of electrophysical sub-channels corresponding to the current reference time; and
distribute the to-be-transmitted data to the determined first integral number of electrophysical sub-channels corresponding to the current reference time.

### Claim 22 (depends on 21)

The device according to claim 21, wherein
the processor further executes the instructions to configure the data sending device to:
when the first integral number corresponding to the current reference time is smaller than the first integral number corresponding to the previous reference time, determine a third integral number of first to-be-adjusted electrophysical sub-channels, wherein the first to-be-adjusted electrophysical sub-channels are electrophysical sub-channels in an active state; switch states of the third integral number of first to-be-adjusted electrophysical sub-channels from the active state to a sleep state; and determine electrophysical sub-channels currently in the active state as the first integral number of electrophysical sub-channels corresponding to the current reference time, wherein the third integral number is a difference between the first integral number corresponding to the previous reference time and the first integral number corresponding to the current reference time; and
when the first integral number corresponding to the current reference time is greater than the first integral number corresponding to the previous reference time, determine a fourth integral number of second to-be-adjusted electrophysical sub-channels, wherein the second to-be-adjusted electrophysical sub-channels are electrophysical sub-channels in the sleep state; switching states of the fourth integral number of second to-be-adjusted electrophysical sub-channels from the sleep state to the active state; and determine electrophysical sub-channels currently in the active state as the first integral number of electrophysical sub-channels corresponding to the current reference time, wherein the fourth integral number is a difference between the first integral number corresponding to the current reference time and the first integral number corresponding to the previous reference time.

### Claim 23 (depends on 16)

The device according to claim 16, wherein:
the electrophysical sub-channel is further configured to perform forward error correction FEC check and coding processing on the to-be-transmitted data; and
the photophysical sub-channel is configured to perform physical medium attachment processing on the to-be-transmitted data processed by the first integral number of electrophysical sub-channels, and send the to-be-transmitted data through a physical medium channel.

### Claim 24

A system, comprising:
a data sending device, comprising:
a memory to store instructions; and
a processor to execute the instructions to configure the data sending device to:
receive to-be-transmitted data;
determine a first integral number according to a data amount of the received to-be-transmitted data and a transmission bandwidth of an electrophysical sub-channel, the first integral number is the number of electrophysical sub-channels which are on a physical layer and configured to transmit the to-be-transmitted data, the electrophysical sub-channel is configured to implement a function of a physical coding sublayer PCS in the Ethernet, and the first integral number is greater than zero;
distribute the to-be-transmitted data to the first integral number of electrophysical sub-channels,
each of the electrophysical sub-channels is configured to perform coding and scrambling on the to-be-transmitted data, and send the to-be-transmitted data on which the coding and scrambling have been performed to a second integral number of photophysical sub-channels, the second integral number is greater than zero, the coding is performed in parallel by each of the first integral number of electrophysical sub-channels; and
a photophysical sub-channel, configured to send after processing data from the first integral number of electrophysical sub-channels; and
a data receiving device, comprising:
a first integral number of electrophysical sub-channels in a plurality of electrophysical sub-channels, configured to receive data sent by the data sending device, the data sent by the sending device is data generated after the to-be-transmitted data of a sending end is distributed to the first integral number of electrophysical sub-channels in the data sending device and is processed by the first integral number of electrophysical sub-channels in the data sending device, the first integral number is greater than zero, and the first integral number is determined based on a data amount of the to-be-transmitted data and a bandwidth of the electrophysical sub-channel in the data sending device; and
a processor, configured to aggregate, according to a time mark carried in each data frame in the received data, the data received by the first integral number of electrophysical sub-channels into a data flow.

### Claim 25 (depends on 24)

The system according to claim 24, wherein
the processor is configured to read one data frame from one electrophysical sub-channel; insert, according to the time mark carried in the data frame, the data frame into a position corresponding to the time mark in the data flow; and detect whether the data frame carries a switching mark; and when the data frame does not carry the switching mark, read a next data frame from the electrophysical sub-channels; when the data frame carries the switching mark, read a next data frame from a next electrophysical sub-channel of the electrophysical sub-channel, until all data frames are read.

### Claim 26 (depends on 24)

The system according to claim 24, further comprising:
a second integral number of photophysical sub-channels in a plurality of photophysical sub-channels, configured to receive the data sent by the data sending device, and transmit the data to the first integral number of electrophysical sub-channels, wherein
the first integral number of electrophysical sub-channels in the plurality of electrophysical sub-channels are configured to perform synchronization processing on the data transmitted by the second integral number of photophysical sub-channels, and perform descrambling and decoding processing on the to-be-transmitted data on which the synchronization processing has been performed.

### Claim 27 (depends on 24)

The system according to claim 24, wherein:
at least one electrophysical sub-channel in the plurality of electrophysical sub-channels is further configured to receive sleep indication information, and the at least one electrophysical sub-channel in the plurality of electrophysical sub-channels is in an active state; and
the processor is further configured to switch a state of the at least one electrophysical sub-channel, which is in the plurality of electrophysical sub-channels and receives the sleep indication information, to a sleep state; and update the first integral number; or
the at least one electrophysical sub-channel in the plurality of electrophysical sub-channels is further configured to receive activation indication information, and the at least one electrophysical sub-channel in the plurality of electrophysical sub-channels is in the sleep state; and
the processor is further configured to switch a state of the at least one electrophysical sub-channel, which is in the plurality of the electrophysical sub-channels and receives the activation indication information, to the active state, and return activation response information through the at least one electrophysical sub-channel in the plurality of electrophysical sub-channels; and update the first integral number.
