Patent ID: 11963034
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A communication method, comprising:
receiving, by a first network element, a request message of a second network element, wherein the request message comprises one or more to-be-collected data types and one or more sizes of one or more requested buffer queues, the one or more data types comprise a first type, the sizes of the one or more requested buffer queues comprise a size of a requested first buffer queue, and the first buffer queue corresponds to the first type;
determining, by the first network element, an actual size of the first buffer queue based on at least one of the sizes of the one or more requested buffer queues, wherein the actual size of the first buffer queue is less than or equal to the size of the first buffer queue;
sending, by the first network element, a data feedback message to the second network element when data buffered in the first buffer queue meets a sending condition, wherein the data feedback message comprises the data buffered in the first buffer queue, the first type, and the identifier of the first buffer queue; and
backing up, by the first network element, the data buffered in the first buffer queue to a first backup queue, and clearing the first buffer queue, wherein the first backup queue is used to back up the data buffered in the first buffer queue;
wherein after the sending, by the first network element, a data feedback message to the second network element, the method further comprises:
starting, by the first network element, a timer; and
stopping, by the first network element, the timer when it is determined that a response message sent by the second network element for the data feedback message is not received before the timer expires and that backup data of the data in the data feedback message is not stored in the first backup queue.