Data transmission method, system, device, and storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorsYongkang Zhang, Yi Qin
Life of this patent
Estimating the term…
Abstract
A data transmission method includes establishing, by a first apparatus in a distributed system, a connection to a target end; sending, by the first apparatus, connection information of the connection to a second apparatus that is in the distributed system and that transmits data to the target end; transmitting, by the second apparatus, the data to the target end based on the connection information and using a stream of the connection.
Claims19
A first apparatus in a distributed system, wherein the distributed system comprises the first apparatus and M second apparatuses, wherein the first apparatus comprises:
- a processor;
- a memory coupled to the processor and configured to store programming instructions that, when executed by the processor, cause the network device to be configured to:
- establish a target connection to a target end external to the distributed system, wherein the target connection is a target transport protocol-based connection;
- send an identity range of at least one stream to each of N second apparatuses of the M second apparatuses;
- send connection information of the target connection to each of the N second apparatuses to enable each of the N second apparatuses to determine a stream identity based on the identity range and transmit data to the target end using the at least one stream of the target connection,
- wherein different streams correspond to different identity ranges,
- wherein the stream identity is carried in the at least one stream,
- wherein the connection information indicates a parameter for data transmission,
- wherein M and N are positive integers greater than or equal to 1, and
- wherein N is less than or equal to M.
A second apparatus in a distributed system, wherein the distributed system comprises a first apparatus and the second apparatus, and wherein the second apparatus comprises:
- a processor;
- a memory coupled to the processor and configured to store programming instructions that, when executed by the processor, cause the network device to be configured to:
- receive connection information of a target connection from the first apparatus, wherein the target connection is a target transport protocol-based connection, wherein the target connection is between the first apparatus and a target end external to the distributed system, and wherein the connection information indicates a parameter for data transmission using at least one stream;
- receive an identity range of the at least one stream from the first apparatus;
- determine a stream identity based on the identity range, wherein different streams correspond to different identity ranges, and wherein the stream identity is carried in the at least one stream;
- and
- transmit data to the target end based on the connection information and using the at least one stream.
A data transmission method applied to a distributed system, wherein the distributed system comprises a first apparatus and M second apparatuses, and wherein the data transmission method comprises:
- sending, by the first apparatus, connection information of a target connection to each of N second apparatuses in the M second apparatuses, wherein the target connection is a target transport protocol-based connection, wherein the target connection is between the first apparatus and a target end external to the distributed system, wherein the connection information indicates a parameter for data transmission, wherein M and N are positive integers greater than or equal to 1, and wherein N is less than or equal to M;
- sending, by the first apparatus, an identity range of at least one stream to each of the N second apparatuses;
- determining, by each of the N second apparatuses, a stream identity based on the identity range, wherein different streams correspond to different identity ranges, and wherein the stream identity is carried in the at least one stream;
- and
- transmitting, by each of the N second apparatuses, data to the target end based on the connection information and using the at least one stream of the target connection.
Dependencies are inferred from the claim text.