Data transmission method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsSiqing Yu, Mujie Zou, Yumeng Yang
Life of this patent
Estimating the term…
Abstract
In a data transmission method, if a to-be-transmitted second data frame exists in a process in which a network device transmits a first data frame, and a priority of the second data frame is higher than a priority of the first data frame, the network device determines a frame type of the second data frame as an express frame. The network device adjusts a frame type of the first data frame to a preemptable frame if the frame type of the first data frame is an express frame. Then, the network device stops transmitting the first data frame, and starts to transmit the second data frame.
Claims20
A method comprising:
- determining, in response to a second data frame existing in a process of transmitting a first data frame and in response to a second priority of the second data frame being higher than a first priority of the first data frame, a second frame type of the second data frame as an express frame type, wherein the first data frame comprises a start m delimiter (SMD) field, and wherein the SMD field comprises a value;
- determining a first frame type of the first data frame based on the value;
- adjusting, in response to the first frame type being the express frame type, the first frame type to a preemptable frame type by adjusting a first frame type mark of the first data frame to a second preemptable frame mark;
- stopping transmission of the first data frame;
- and
- starting transmission of the second data frame.
A method comprising:
- determining a first frame type of a first data frame based on a first value of a first start m delimiter (SMD) field of the first data frame;
- determining a first priority of the first data frame;
- determining a second frame type of a second data frame based on a second value of a second SMD field of the second data frame;
- determining a second priority of the second data frame;
- determining, in response to the second data frame existing in a process of transmitting the first data frame, the first frame type being the same as the second frame type, and the second priority being higher than the first priority, the first frame type as a preemptable frame type and the second frame type as an express frame type;
- adjusting the first frame type to the preemptable frame type by adjusting a first frame type mark of the first data frame to a second preemptable frame mark;
- stopping transmission of the first data frame;
- and
- starting transmission of the second data frame.
An apparatus comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions to cause the apparatus to:
- determine, when a second data frame exists in a process of transmitting a first data frame and when second priority of the second data frame is higher than a first priority of the first data frame, a second frame type of the second data frame as an express frame type, wherein the first data frame comprises a start m delimiter (SMD) field, and wherein the SMD field comprises a value;
- determine a first frame type of the first data frame based on the value;
- adjust, when the first frame type is the express frame type, the first frame type to a preemptable frame type by adjusting a first frame type mark of the first data frame to a second preemptable frame mark;
- stop transmission of the first data frame;
- and
- start transmission of the second data frame.
An apparatus comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions to cause the apparatus to:
- determine a first frame type of a first data frame based on a first value of a first start m delimiter (SMD) field of the first data frame;
- determine a first priority of the first data frame;
- determine a second frame type of a second data frame based on a second value of a second SMD field of the second data frame;
- determine a second priority of the second data frame;
- determine, when the second data frame exists in a process of transmitting the first data frame, the first frame type is the same as the second frame type, and the second priority is higher than the first priority, the first frame type as a preemptable frame type and the second frame type as an express frame type;
- adjust the first frame type to the preemptable frame type by adjusting a first frame type mark of the first data frame to a second preemptable frame mark;
- stop transmission of the first data frame;
- and
- start transmission of the second data frame.
Dependencies are inferred from the claim text.