IP Library › Granted Patent US 12,568,158
Granted Patent B2
US 12,568,158 · App. 17/865,845 · Granted Mar 3, 2026

Communication method and apparatus

Inventors: Shuo Liu (Shenzhen, CN); Qiaoling Wang (Shenzhen, CN); Jianfei He (Shenzhen, CN); Junyi Zhang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L69/22H04L49/9057
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,568,158
App. No.
17/865,845
Granted
Mar 3, 2026
Kind
B2
Abstract

A communication method and apparatus relating to the field of communication technologies. The method includes a network device receives at least two packets, and aggregates the at least two packets to obtain aggregated packets. Messages to which the at least two packets separately belong have a same message index. The message index is used to index the messages to which the at least two packets separately belong. In the communication method provided in this application, the network device is used to implement aggregation processing, to reduce a communication delay and data redundancy in a communication network.

Claims (29)

1 . A communication method, comprising:

receiving a first packet of a first message from a first terminal device;

receiving a second packet of a second message from a second terminal device;

aggregating the first packet and the second packet based on a message index to obtain an aggregated packet, wherein the message index is used to aggregate packets from different messages that have matching message indexes, and wherein the message index of the first message and the second message match; and

transmitting the aggregated packet to the first terminal device and the second terminal device;

wherein when the first packet is an initial packet of the first message, the first packet further comprises a first field indicating a quantity of the packets comprised in the first message;

wherein the first packet further comprises a sequence number indicating a transmission sequence of the first packet in a connection for transmitting the first packet, and wherein the method further comprises:

determining the connection for transmitting the first packet;

determining, based on the sequence number and the quantity, a first interval of sequence numbers of packets comprised in the first message, wherein a first end value of the first interval is the sequence number, and wherein a second end value of the first interval is based on the sequence number and the quantity; and

storing a correspondence between the first interval and the connection for transmitting the first packet.

2 . The communication method according to claim 1 , wherein both the first packet and the second packet further comprise a first sequence number.

3 . The communication method according to claim 1 , wherein when the first packet is an initial packet of the first message, the first packet further comprises a first field indicating whether to perform aggregation processing on parameter data in the first message.

4 . The communication method according to claim 1 , wherein when the first packet is an initial packet of the first message, the first packet further comprises a first field indicating the message index.

5 . The communication method according to claim 1 , wherein the first packet further comprises a sequence number indicating a transmission sequence of the first packet in a connection for transmitting the first packet, and wherein the communication method further comprises:

determining, when the first packet is not an initial packet of the first message, the connection for transmitting the first packet.

6 . A communication apparatus, comprising:

a memory configured to store instructions; and

one or more processors coupled to the memory and configured to execute the instructions to cause the communication apparatus to:

receive a first packet of a first message from a first terminal device and a second packet of a second message from a second terminal device;

aggregate the first packet and the second packet based on a message index to obtain an aggregated packet, wherein the message index is used to aggregate packets from different messages that have matching message indexes, and wherein the message index of the first message and the second message match; and

transmit the aggregated packet to the first terminal device and the second terminal device;

wherein when the first packet is an initial packet of the first message, the first packet further comprises a field indicating a quantity of the packets comprised in the first message;

wherein the first packet further comprises a sequence number indicating a transmission sequence of the first packet in a connection for transmitting the first packet; and wherein the one or more processors are further configured to:

determine the connection for transmitting the first packet; and

determine, based on the sequence number and the quantity, a first interval of sequence numbers of the packets comprised in the first message, wherein a first end value of the first interval is the sequence number, and wherein a second end value of the first interval is based on the sequence number and the quantity; and

store a correspondence between the first interval and the connection for transmitting the first packet.

7 . The communication apparatus according to claim 6 , wherein the both the first packet and the second packet further comprise a first sequence.

8 . The communication apparatus according to claim 6 , wherein when the first packet is an initial packet of the first message, the first packet further comprises a field indicating whether to perform aggregation processing on parameter data in the first message.

9 . The communication apparatus according to claim 6 , wherein when the first packet is an initial packet of the first message, the first packet further comprises a field indicating the message index.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 20, 2022
From: LIU, SHUO; WANG, QIAOLING; HE, JIANFEI; ZHANG, JUNYI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 061729/0262 →
Priority Claims (1)
CN 202010054022.1 · Jan 17, 2020 · national
Continuity (2)
Continuation PCTCN2021072543 · Jan 18, 2021
Related Publication 20220353207A1 · Nov 3, 2022
References Cited (17)
US 8244810B1 · Haldar · 2012 [cited by examiner]
US 20070160042A1 · Dollo · 2007 [cited by examiner]
US 20090201898A1 · Gong et al. · 2009 [cited by applicant]
US 20130028270A1 · Wu · 2013 [cited by examiner]
US 20130195424A1 · Ohashi · 2013 [cited by examiner]
US 20190313169A1 · Geng · 2019 [cited by examiner]
US 20200120459A1 · Nguyen · 2020 [cited by examiner]
US 20200220953A1 · Wu et al. · 2020 [cited by applicant]
US 20200342297A1 · Dai · 2020 [cited by applicant]
US 20210014893A1 · Park · 2021 [cited by examiner]
CN 109819524A · 2019 [cited by applicant]
CN 110033078A · 2019 [cited by applicant]
CN 110119760A · 2019 [cited by applicant]
Amedeo Sapio et al “Scaling Distributed Machine Learning with In-Network Aggregation,” Feb. 22, 2019, XP081154038, 16 pages. [cited by applicant]
Youjie Ii et al “Accelerating Distributed Reinforcement Learning with In-Switch Computing,” Jun. 22, 2019, XP058436347, 13 pages. [cited by applicant]
Vishakh, H., “Parallel and distributed deep learning,” In Technical Report, Stanford University: Stanford, CA, USA, 2016, 8 pages. [cited by applicant]
Simonyan, K., et al, “Very Deep Convolutional Networks for Large-Scale Image Recognition,” Computer Vision and Pattern Recognition, Sep. 4, 2014, 14 pages. [cited by applicant]