A message processing method and device, electronic equipment and storage medium

CN122969738APending Publication Date: 2026-10-23NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611339419.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-10-23

AI Technical Summary

Benefits of technology

在本申请实施例中,对于发送端而言,执行以下操作流程:向接收端发送ADDBARequest帧,其中,所述ADDBA Request帧中携带有用于指示所述发送端开启了高效块确认功能的高效块确认元素字段和确认批量传输数据帧的第一数量;若接收到所述接收端发送的ADDBA Response帧、且所述ADDBA Response帧中携带的高效块确认元素字段用于指示所述接收端开启了高效块确认功能,则连续向所述接收端发送数据帧;接收所述接收端发送的BlockAck帧,其中,所述增强BlockAck帧携带有BitMap指示字段和块确认BA信息字段;若所述BitMap指示字段指示了所述第一数量个数据帧已被全部接收,则确定不需要重传数据帧,其中,所述BA信息字段中不包括BitMap。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122969738A_ABST
    Figure CN122969738A_ABST
Patent Text Reader

Abstract

The application provides a message processing method and device, electronic equipment and a storage medium. The method is applied to a sending end and comprises the following steps: sending an add block confirmation request frame to a receiving end, wherein the add block confirmation request frame carries an efficient block confirmation element field used for indicating that the sending end has started the efficient block confirmation function and a first number of confirmation batch transmission data frames; if an add block confirmation response frame carrying the efficient block confirmation element field used for indicating that the receiving end has started the efficient block confirmation function is received, continuously sending data frames to the receiving end; receiving an enhanced block confirmation frame sent by the receiving end, wherein the enhanced block confirmation frame carries a bit map indication field and a BA information field; and if the bit map indication field indicates that the first number of data frames have been completely received, determining that the data frames do not need to be retransmitted, wherein the bit map is not included in the BA information field. The application can save air interface resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a message processing method, apparatus, electronic device and storage medium. Background Technology

[0002] In a Wireless Local Area Network (WLAN), data frame transmission employs a mechanism where the sending end transmits data frames and the receiving end transmits acknowledgment frames indicating that the data frames have been received, thus ensuring network reliability.

[0003] In the early stages of WLAN development, a transmission mechanism was typically used where the transmitting end sent a data frame, and the receiving end immediately sent an acknowledgment frame in response. This method of acknowledging each data frame one by one wasted air interface resources and resulted in unnecessary waiting, preventing further reduction in latency.

[0004] 802.11n proposes a data frame transmission mechanism, which involves the sending and receiving ends negotiating a transmission window before transmitting a data frame. The sending end sends data frames multiple times within the transmission window, while the receiving end only needs to acknowledge the data frame once it arrives at the transmission window. This improves the utilization of air interface resources and reduces latency.

[0005] like Figure 1 As shown, when the access point (AP) is the transmitter and the wireless terminal is the receiver, the specific data frame transmission process is as follows: 1. The AP sends an Add Block Acknowledgment (ADDBA) request frame to the wireless terminal to confirm the number of data frames to be transmitted in the batch.

[0006] 2. After receiving the ADDBA Request frame, the wireless terminal sends an ADDBA response to the AP.

[0007] 3. The AP continuously sends data frames.

[0008] 4. The wireless terminal sends a Block Ack frame, which carries the starting sequence number of the data frame indicated by the Block Ack frame and a fixed-length bitmap. Each bit in the bitmap represents a data frame, and a bit value of 1 indicates that the data frame has been received, while a bit value of 0 indicates that the data frame has not been received.

[0009] For details on the BlockAck frame format, please refer to section "9.3.1.8 BlockAck frameformat" in 802.11-2024.

[0010] 5. After receiving the BlockAck frame sent by the wireless terminal, the AP reads all the bits in the BitMap one by one based on the starting sequence number of the data frame indicated by the BlockAck frame carried in the BlockAck frame to determine the reception status of the data frame and decide whether the data frame needs to be retransmitted.

[0011] With the increasing demand for wireless traffic, wireless air interface resources are becoming more precious. In situations where the AP sends data frames to wireless terminals in batches, and the wireless terminals have received all of these data frames, the wireless terminals also need to carry a fixed-length bitmap when sending BlockAck frames. This not only wastes a lot of air interface resources, but also consumes a lot of CPU resources, thus affecting the user's network experience. Summary of the Invention

[0012] To overcome the problems existing in related technologies, this application provides a message processing method, apparatus, electronic device, and storage medium.

[0013] According to a first aspect of the embodiments of this application, a message processing method is provided, the method being applied at a sending end, the method comprising: Send an ADDBA Request frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sending end has enabled the ECA function and a first number of ECA batch transmission data frames. If an ADDBA Response frame is received from the receiving end, and the High Efficiency Block Acknowledgment (HEC) element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the HEC function, then data frames are continuously sent to the receiving end. The receiver receives an enhanced BlockAck frame sent by the receiving end, wherein the enhanced BlockAck frame carries a BitMap indication field and a BA information field; If the BitMap indication field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted, wherein the BA information field does not include BitMap.

[0014] According to a second aspect of the embodiments of this application, a message processing method is provided, the method being applied at a receiving end, the method comprising: Receive an ADDBA Request frame sent by the sending end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sending end has enabled the ECA function and a first number of ECA batch transmission data frames. If the receiver has enabled the efficient block acknowledgment function, it sends an ADDBA Response frame to the sending end. The efficient block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiver has enabled the efficient block acknowledgment function. Receive the data frame sent by the sending end; If the first number of data frames are received within a set time period, a first enhanced BlockAck frame carrying a first BitMap indication field and a first BA information field is sent to the sending end, so that the sending end determines that no data frame needs to be retransmitted when the first BitMap indication field indicates that the first number of data frames have been received. The first BA information field does not include BitMap.

[0015] According to a third aspect of the embodiments of this application, a message processing apparatus is provided, the apparatus being applied to a sending end, the apparatus comprising: The first processing module is used to send an ADDBA Request frame to the receiving end connected to it, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (EPC) element field for indicating that the sending end has enabled the EPC function and a first number of acknowledgment batch transmission data frames. The second processing module is used to continuously send data frames to the receiving end if it receives an ADDBA Response frame sent by the receiving end, and the high efficiency block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the high efficiency block acknowledgment function. The third processing module is used to receive the enhanced BlockAck frame sent by the receiving end, wherein the enhanced BlockAck frame carries a BitMap indication field and a BA information field. The retransmission module is configured to determine that no data frames need to be retransmitted if the BitMap indication field indicates that the first number of data frames have been received. The BA information field does not include the BitMap. According to a fourth aspect of the embodiments of this application, a message processing apparatus is provided, the apparatus being applied at a receiving end, the apparatus comprising: The first receiving module is used to receive an ADDBA Request frame sent by the sending end it connects to, wherein the ADDBA Request frame carries an Efficient Block Confirmation Element field for indicating that the sending end has enabled the Efficient Block Confirmation function and a first number of confirmation batch transmission data frames. The first sending module is configured to send an ADDBAResponse frame to the sending end if it has enabled the high-efficiency block acknowledgment function, wherein the high-efficiency block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the high-efficiency block acknowledgment function. The second receiving module is used to receive data frames sent by the sending end; The second sending module is configured to send a first enhancement block acknowledgment (BlockAck) frame carrying a first BitMap indicator field and a first BA information field to the sending end if the first number of data frames are received within a set time period. This allows the sending end to determine that no data frames need to be retransmitted when the first BitMap indicator field indicates that the first number of data frames have been received. The first BA information field does not include a BitMap.

[0016] According to a fifth aspect of the present application, an electronic device is provided, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being prompted by the machine-executable instructions to implement the method steps of the above-described message processing method.

[0017] According to a sixth aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements the method steps of the above-described message processing method.

[0018] The technical solutions provided by the embodiments of this application may include the following beneficial effects: In this embodiment, the sending end performs the following operations: sending an ADDBARequest frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sending end has enabled ECA and a first number of data frames to be confirmed for batch transmission; if an ADDBA Response frame is received from the receiving end, and the ECA element field in the ADDBA Response frame indicates that the receiving end has enabled ECA, then data frames are continuously sent to the receiving end; receiving a BlockAck frame from the receiving end, wherein the enhanced BlockAck frame carries a BitMap indicator field and a Block Acknowledgment (BA) information field; if the BitMap indicator field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted, wherein the BA information field does not include the BitMap.

[0019] In this way, when the sending end sends data frames in batches to the receiving end, and the receiving end has received all of these data frames, the receiving end no longer needs to carry the BitMap in the BA information field when sending the enhanced BlockAck frame. This not only saves a significant amount of air interface resources but also reduces CPU resource usage, thereby improving the user's network experience.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this application, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0022] Figure 1 A schematic diagram illustrating the transmission process of an existing data frame provided in an embodiment of this application; Figure 2 This is one of the flowcharts illustrating a message processing method provided in an embodiment of this application; Figure 3A A schematic diagram illustrating the format of the efficient block confirmation element field provided in this application embodiment; Figure 3B A schematic diagram of the format of the enhanced BlockAck frame provided in an embodiment of this application; Figure 3C A schematic diagram illustrating the format of the BitMap indicator field in the enhanced BlockAck frame provided in this application embodiment; Figure 4 A second schematic flowchart illustrating a message processing method provided in an embodiment of this application; Figure 5 A third schematic flowchart illustrating a message processing method provided in an embodiment of this application; Figure 6 This is one of the structural schematic diagrams of a message processing device provided in an embodiment of this application; Figure 7 This is a second schematic diagram of the structure of a message processing device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0023] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0024] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0025] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if” or “suppose” as used herein may be interpreted as “when…” or “when…”.

[0026] The embodiments of this application will now be described in detail.

[0027] This application provides a message processing method, which is applied at the sending end, such as... Figure 2 As shown, the method may include the following steps: S11. Send an ADDBA Request frame to the receiving end.

[0028] In this step, the ADDBA Request frame carries a High Performance BlockAck element field, which indicates that the sender has enabled the High Performance BlockAck function, and a first number of data frames to confirm the bulk transmission.

[0029] S12. If an ADDBA Response frame is received from the receiver, and the High Efficiency Block Acknowledgment (HEC) element field carried in the ADDBA Response frame is used to indicate that the receiver has enabled the HEC function, then data frames are continuously sent to the receiver.

[0030] S13. Receive the enhanced BlockAck frame sent by the receiving end.

[0031] In this step, the enhanced BlockAck frame carries a BitMap indicator field and a BA information field.

[0032] S14. If the BitMap indicator field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted.

[0033] In this step, the BitMap is not included in the BA information field.

[0034] It should be noted that, in the embodiments of this application, the format of the efficient block acknowledgment element field in the ADDBA Request frame and the ADDBA Response frame can be as follows: Figure 3A The format shown.

[0035] Among them, Figure 3A In the high-efficiency block confirmation element field shown, the value of Element ID can be 255; the value of Length field can be the content length of the high-efficiency block confirmation element field; the value of Element ID extension field can be 106; the value of Capabilities field can be Bit0, which indicates that the high-efficiency block confirmation function is off, or Bit1, which indicates that the high-efficiency block confirmation function is on.

[0036] Furthermore, in this embodiment of the application, the sending end may also perform the following operations: If the BitMap indicator field indicates that a first number of data frames have been partially received, then when the BA information field includes BitMap, the values ​​of a second number of bits in BitMap are read one by one. The length of BitMap is in bytes, and the second number is the number of data frames whose confirmation is indicated by the enhanced BlockAck frame included in the BitMap indicator field. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field, and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, determine the sequence number of the first data frame that needs to be retransmitted. If the second quantity equals the first quantity, then retransmit the first data frame; If the second quantity is less than the first quantity, then based on the first quantity, the second quantity, and the starting sequence number, determine the sequence number of the second data frame that needs to be retransmitted, and retransmit the first data frame and the second data frame; or, When the BitMap is not included in the BA information field, the sequence number of the third data frame that needs to be retransmitted is determined based on the first quantity, the second quantity, and the starting sequence number, and the third data frame is retransmitted.

[0037] In this operation process, the sending end can determine the sequence number of the first data frame that needs to be retransmitted in the following way: Subtract 1 from the sequence number of the bits with a value of 0 in the second number of bits, and then add it to the start sequence number of the data frame indicated by the enhanced BlockAck frame to obtain the sequence number of the first data frame that needs to be retransmitted.

[0038] Furthermore, the sending end can determine the sequence number of the second data frame that needs to be retransmitted in the following way: Add the starting sequence number and the second quantity to obtain the starting sequence number of the second data frame that needs to be retransmitted; Starting from the beginning sequence number of the second data frame that needs to be retransmitted, add the difference between the first and second quantities minus 1 sequence number to obtain the sequence numbers of all the second data frames.

[0039] For example, assuming the first quantity is 10, the second quantity is 4, and the starting sequence number of the data frame indicated by the enhanced BlockAck frame is 1, then the sequence numbers of the second data frames that need to be retransmitted are determined to be 5, 6, 7, 8, 9, and 10 through the above determination method.

[0040] It should be noted that the method for determining the sequence number of the third data frame is similar to the method for determining the sequence number of the second data frame, and will not be described in detail here.

[0041] By executing the above operation process, for the case of only partially receiving data frames, the receiving end only needs to decide whether to carry a Bitmap based on the continuity of the received data frames. Furthermore, if a Bitmap is required, it is determined by adding 1 to the difference between the sequence number of the last data frame received before sending the enhanced BlockAck frame and the starting sequence number of the data frame indicated by the enhanced BlockAck frame. This determines whether to carry multiple fewer bits in the enhanced BlockAck frame (if the length of a bit is less than one byte, it is padded with 0 to make up to one byte). There is no longer a need to carry a fixed-length Bitmap, thereby shortening the length of the data frame. This not only saves a lot of air interface resources but also reduces CPU resource usage, thus improving the user's network experience.

[0042] It should be noted that, in this embodiment of the application, the BitMap indicator field also includes a specified indicator bit; Wherein, when the specified indicator bit is a first value used to indicate that a first number of data frames have been received, the number of confirmed data frames is the first number; When the specified indicator bit is a second value used to indicate that a first number of data frames have been partially received, the number of data frames acknowledged by the enhanced BlockAck frame is the difference between the sequence number of the last data frame received before the receiver sends the enhanced BlockAck frame and the starting sequence number, plus 1.

[0043] In one example, the format of the enhanced BlockAck frame can be as follows: Figure 3B As shown, the enhanced BlockAck frame includes a Frame Control field, a Duration field, a Receiver Address (RA) field, a Transmitter Address (TA) field, a Block Acknowledgment Control (BA) field, a BitMAP Indicator field, a BA Information field, and a Frame Check Sequence (FCS) field.

[0044] Furthermore, the format of the BitMap indicator field carried in the enhanced BlockAck frame can be as follows: Figure 3C As shown, F is a specified flag bit. The value of F can be 1, which indicates that the first number of data frames have been fully received, or the value of F can be 0, which indicates that the first number of data frames have been partially received; BM Len is the number of data frames acknowledged by the enhanced BlockAck frame.

[0045] This application also provides a message processing method, which is applied at the receiving end, such as... Figure 4 As shown, the method may include the following steps: S21. Receive the ADDBA Request frame sent by the sending end.

[0046] In this step, the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sender has enabled Efficient Block Acknowledgment and a first number of acknowledgment bulk transmission data frames.

[0047] S22. If the efficient block acknowledgment function is enabled, an ADDBA Response frame is sent to the sender.

[0048] In this step, the High Efficiency Block Acknowledgment (HEC) element field carried in the ADDBA Response frame is used to indicate that the receiver has enabled the HEC function.

[0049] S23, Receive the data frame sent by the sending end.

[0050] S24. If a first number of data frames are received within a set time period, a first enhanced BlockAck frame carrying a first BitMap indicator field and a first Block Acknowledgment (BA) information field is sent to the sending end, so that the sending end determines that no data frames need to be retransmitted when the first BitMap indicator field indicates that the first number of data frames have been received.

[0051] In this step, the first BA information field does not include BitMap.

[0052] It should be noted that in the embodiments of this application, the transmitting end can be an AP, in which case the receiving end can be a wireless terminal; the transmitting end can also be a wireless terminal, in which case the receiving end can be an AP.

[0053] It should be further noted that the format and content of the efficient block acknowledgment element field in the ADDBA Request frame and ADDBA Response frame have been described from the sending side, and will not be repeated here.

[0054] Furthermore, in this embodiment of the application, the receiving end also performs the following operations: If a second number of data frames are received after a set time period, and if the second number of data frames are consecutive, a second BlockAck frame is sent to the sending end. This second BlockAck frame carries a second BitMap indication field, a second BA information field, and the second BA information field does not contain a Bitmap. This allows the sending end, upon receiving the second BlockAck frame, to determine the sequence number of the first data frame that needs to be retransmitted based on the first number, the second number, and the starting sequence number, and then retransmit the first data frame. Alternatively, When the second number of data frames are not consecutive, a second BlockAck frame is sent to the sending end, carrying a second BitMap indication field, a second BA information field, and the second BA information field including a Bitmap. This allows the sending end to read the values ​​of the second number of bits in the BitMap one by one after receiving the second BlockAck frame. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second number is equal to the first number, the first data frame is retransmitted. If the second number is less than the first number, the sequence number of the second data frame that needs to be retransmitted is determined based on the first number, the second number, and the starting sequence number, and the first and second data frames are retransmitted. The length of the second BitMap is in bytes, and the number of data frames confirmed by the second enhanced BlockAck frame included in the second BitMap indication field is the second number plus 1.

[0055] It should be noted that, in the embodiments of this application, the first BitMap indication field includes a first specified indication bit and the number of data frames indicated by the first enhanced BlockAck frame. When the first specified indication bit is a first value used to characterize that a first number of data frames have been fully received, the number of data frames indicated by the first enhanced BlockAck frame is the first number. When the second BitMap indication field includes a second specified indication bit, and the second specified indication bit is a second value used to indicate that a first number of data frames have been partially received, the number of data frames indicated by the second enhanced BlockAck frame is the difference between the sequence number of the last data frame received by the receiving end before sending the second enhanced BlockAck frame and the starting sequence number, plus 1.

[0056] The above message processing method will be described in detail below with reference to specific embodiments.

[0057] like Figure 5As shown, assuming the AP is the sender and the wireless terminal is the receiver, and assuming both the AP and the wireless terminal have enabled efficient block acknowledgment (EBC), the implementation flow of the above message processing method is as follows: 1. The AP sends an ADDBA Request frame to the wireless terminals connected to it. The ADDBA Request frame carries a High Performance BlockAck element field indicating that the AP has enabled the High Performance BlockAck function and a first number of data frames to confirm the bulk transmission, for example, the first number is 10.

[0058] 2. After receiving the ADDBA Request frame, the wireless terminal discovers that it has enabled the High Performance Block Acknowledgment (HPA) function, and then sends an ADDBA Response frame to the AP. The ADDBA Response frame carries a High Performance BlockAckelement field, and the High Performance BlockAck element field indicates that the wireless terminal has enabled the HPA function.

[0059] 3. The AP continuously sends 10 data frames to the wireless terminal.

[0060] 4. Assume that the wireless terminal receives these 10 data frames within a set time period and sends a first enhanced BlockAck frame to the AP carrying a first BitMap indication field and a first BA information field. The first BitMap indication field indicates that all 10 data frames have been received, and the first BA information field does not include BitMap.

[0061] 5. After receiving the enhanced BlockAck frame, the AP finds that the first BitMap indicator field carried in the first enhanced BlockAck frame indicates that the first number of data frames have been received. At this time, it determines that there is no need to retransmit the data frames.

[0062] It should be noted that after the AP continuously sends 10 data frames to the wireless terminal, if the wireless terminal receives 3 data frames (for example, the corresponding sequence numbers are 1, 2 and 4) after a set time period, that is, the data frames are not consecutive, the wireless terminal sends a second enhanced BlockAck frame to the AP carrying a second BitMap indication field, a second BA information field, and the second BA information field includes a BitMap. The second BitMap indication field indicates that a first number of data frames have been partially received.

[0063] After receiving the second enhanced BlockAck frame, the AP finds that the second BitMap indication field carried in the second enhanced BlockAck frame indicates that a first number of data frames have been partially received, and that the BA information field includes a BitMap. At this time, the AP reads the value of the second number plus 1 (i.e., 4) bits in the BitMap included in the second BA information field carried in the second enhanced BlockAck frame one by one. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the second BA information field (e.g., 1) and the sequence number of the 4 bits with a value of 0 (i.e., 3), the AP determines the sequence number of the first data frame that needs to be retransmitted (i.e., 3).

[0064] Next, the AP compares the second quantity with the first quantity and finds that the second quantity is less than the first quantity. At this time, the AP continues to determine the sequence number of the second data frame that needs to be retransmitted (i.e., 5, 6, 7, 8, 9 and 10) based on the first quantity, the second quantity and the starting sequence number, and retransmits the data frame with sequence number 3 (i.e., the first data frame), as well as the data frames with sequence numbers 5, 6, 7, 8, 9 and 10 (i.e., the second data frames).

[0065] As can be seen from the above technical solutions, in this embodiment, the sending end performs the following operations: sending an ADDBA Request frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sending end has enabled ECA and a first number of data frames to be transmitted in batches; if an ADDBA Response frame is received from the receiving end, and the ECA element field in the ADDBA Response frame indicates that the receiving end has enabled ECA, then data frames are continuously sent to the receiving end; receiving an Enhanced Block Acknowledgment (BlockAck) frame from the receiving end, wherein the Enhanced BlockAck frame carries a BitMap indicator field and a BA information field; if the BitMap indicator field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted, wherein the BA information field does not include the BitMap.

[0066] In this way, when the sending end sends data frames in batches to the receiving end, and the receiving end has received all of these data frames, the receiving end no longer needs to carry the BitMap in the BA information field when sending the enhanced BlockAck frame. This not only saves a significant amount of air interface resources but also reduces CPU resource usage, thereby improving the user's network experience.

[0067] Based on the same inventive concept, this application also provides a message processing device, which is applied at the sending end, and its structural schematic diagram is shown below. Figure 6 As shown, it specifically includes: The first processing module 61 is used to send an ADDBA Request frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field for indicating that the sending end has enabled the ECA function and a first number of ECA batch transmission data frames. The second processing module 62 is configured to continuously send data frames to the receiving end if it receives an ADDBA Response frame sent by the receiving end, and the high efficiency block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the high efficiency block acknowledgment function. The third processing module 63 is used to receive the enhanced BlockAck frame sent by the receiving end, wherein the enhanced BlockAck frame carries a BitMap indication field and a BA information field. The retransmission module 64 is configured to determine that no data frame needs to be retransmitted if the BitMap indication field indicates that the first number of data frames have been received. The BA information field does not include the BitMap.

[0068] Preferably, the retransmission module 64 is further configured to: If the BitMap indication field indicates that the first number of data frames have been partially received, then when the BA information field includes BitMap, the values ​​of the second number of bits in the BitMap are read one by one, wherein the length of the BitMap is in bytes, and the second number is the number of data frames included in the BitMap indication field that are confirmed by the enhanced BlockAck frame indication. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field, and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second quantity equals the first quantity, then retransmit the first data frame; If the second quantity is less than the first quantity, then based on the first quantity, the second quantity, and the starting sequence number, determine the sequence number of the second data frame that needs to be retransmitted, and retransmit the first data frame and the second data frame; or, When the BA information field does not include BitMap, the sequence number of the third data frame that needs to be retransmitted is determined based on the first quantity, the second quantity and the starting sequence number, and the third data frame is retransmitted.

[0069] Preferably, the BitMap indicator field further includes a specified indicator bit; Wherein, when the specified indication bit is a first value used to indicate that the first number of data frames have been fully received, the number of confirmed data frames is the first number; When the specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the enhanced BlockAck frame is the difference between the sequence number of the last data frame received by the receiving end before sending the enhanced BlockAck frame and the starting sequence number, plus 1.

[0070] This application also provides a message processing apparatus, which is applied at a receiving end, and its structural schematic diagram is shown below. Figure 7 As shown, it specifically includes: The first receiving module 71 is used to receive an ADDBA Request frame sent by the sending end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field for indicating that the sending end has enabled the ECA function and a first number of ECA batch transmission data frames. The first sending module 72 is configured to send an ADDBAResponse frame to the sending end if it has enabled the high-efficiency block acknowledgment function, wherein the high-efficiency block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the high-efficiency block acknowledgment function. The second receiving module 73 is used to receive data frames sent by the sending end; The second sending module 74 is configured to send a first enhancement block acknowledgment (BlockAck) frame carrying a first BitMap indicator field and a first BA information field to the sending end if the first number of data frames are received within a set time period. This allows the sending end to determine that no data frames need to be retransmitted when the first BitMap indicator field indicates that the first number of data frames have been received. The first BA information field does not include a BitMap.

[0071] Preferably, the device further includes: Third sending module ( Figure 7(Not shown in the image), used to, if a second number of data frames are received after a set time period, and the second number of data frames are consecutive data frames, send a second BlockAck frame to the sending end carrying a second BitMap indication field, a second BA information field, and the second BA information field not containing a Bitmap, so that the sending end, after receiving the second BlockAck frame, determines the sequence number of the first data frame that needs to be retransmitted based on the first number, the second number, and the starting sequence number, and retransmits the first data frame; or, When the second number of data frames are not consecutive, a second BlockAck frame is sent to the sending end, carrying a second BitMap indication field, a second BA information field, and the second BA information field including a Bitmap, to indicate that the first number of data frames have been partially received. This allows the sending end to read the values ​​of the second number of bits in the BitMap one by one after receiving the second BlockAck frame. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second number is equal to the first number, the first data frame is retransmitted. If the second number is less than the first number, the sequence number of the second data frame that needs to be retransmitted is determined based on the first number, the second number, and the starting sequence number, and both the first and second data frames are retransmitted. The length of the second BitMap is in bytes, and the number of data frames acknowledged by the second enhanced BlockAck frame included in the second BitMap indication field is the second number plus 1.

[0072] Preferably, the first BitMap indication field includes a first specified indication bit and the number of data frames indicated by the first enhanced BlockAck frame, and when the first specified indication bit is a first value used to characterize that the first number of data frames have been received, the number of data frames indicated by the first enhanced BlockAck frame is the first number. The second BitMap indication field includes a second specified indication bit, and when the second specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the second enhanced BlockAck frame is the difference between the sequence number of the last data frame received before the receiving end sends the second enhanced BlockAck frame and the starting sequence number plus 1.

[0073] As can be seen from the above technical solutions, in this embodiment, the sending end performs the following operations: sending an ADDBA Request frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (ECA) element field indicating that the sending end has enabled ECA and a first number of data frames to be transmitted in batches; if an ADDBA Response frame is received from the receiving end, and the ECA element field in the ADDBA Response frame indicates that the receiving end has enabled ECA, then data frames are continuously sent to the receiving end; receiving an Enhanced BlockAck frame from the receiving end, wherein the Enhanced BlockAck frame carries a BitMap indicator field and a BA information field; if the BitMap indicator field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted, wherein the BA information field does not include the BitMap.

[0074] In this way, when the sending end sends data frames in batches to the receiving end, and the receiving end has received all of these data frames, the receiving end no longer needs to carry the BitMap in the BA information field when sending the enhanced BlockAck frame. This not only saves a significant amount of air interface resources but also reduces CPU resource usage, thereby improving the user's network experience.

[0075] This application also provides an electronic device, such as... Figure 8 As shown, it includes a processor 81 and a machine-readable storage medium 82, the machine-readable storage medium 82 storing machine-executable instructions that can be executed by the processor 81, the processor 81 being prompted by the machine-executable instructions to implement the steps of any of the above message processing methods.

[0076] The aforementioned machine-readable storage medium may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the machine-readable storage medium may also be at least one storage device located remotely from the aforementioned processor.

[0077] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0078] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described message processing methods.

[0079] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A message processing method, characterized in that, The method is applied at the sending end, and the method includes: Send an Add Block Acknowledgment (ADDBA) Request frame to the receiving end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment (EPC) element field indicating that the sending end has enabled the EPC function and a first number of data frames to acknowledge the bulk transmission. If an Add Block Acknowledgment (ADDBA) Response frame is received from the receiving end, and the High Efficiency Block Acknowledgment (HEC) element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the HEC function, then data frames are continuously sent to the receiving end. The receiver receives an enhanced block acknowledgment (BlockAck) frame sent by the receiving end, wherein the enhanced BlockAck frame carries a BitMap indicator field and a Block Acknowledgment (BA) information field. If the BitMap indication field indicates that the first number of data frames have been received, then it is determined that no data frames need to be retransmitted, wherein the BA information field does not include BitMap.

2. The method according to claim 1, characterized in that, The method further includes: If the BitMap indication field indicates that the first number of data frames have been partially received, then when the BA information field includes BitMap, the values ​​of the second number of bits in the BitMap are read one by one, wherein the length of the BitMap is in bytes, and the second number is the number of data frames included in the BitMap indication field that are confirmed by the enhanced BlockAck frame indication. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field, and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second quantity equals the first quantity, then retransmit the first data frame; If the second quantity is less than the first quantity, then based on the first quantity, the second quantity, and the starting sequence number, determine the sequence number of the second data frame that needs to be retransmitted, and retransmit the first data frame and the second data frame; or, When the BA information field does not include BitMap, the sequence number of the third data frame that needs to be retransmitted is determined based on the first quantity, the second quantity and the starting sequence number, and the third data frame is retransmitted.

3. The method according to claim 2, characterized in that, The BitMap indicator field also includes a specified indicator bit; Wherein, when the specified indication bit is a first value used to indicate that the first number of data frames have been fully received, the number of confirmed data frames is the first number; When the specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the enhanced BlockAck frame is the difference between the sequence number of the last data frame received by the receiving end before sending the enhanced BlockAck frame and the starting sequence number, plus 1.

4. A message processing method, characterized in that, The method is applied at the receiving end, and the method includes: Receive an Add Block Acknowledgment Request (ADDBA Request) frame sent by the sender, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment Element field for indicating that the sender has enabled the Efficient Block Acknowledgment function and a first number of data frames to acknowledge the batch transmission. If the receiver has enabled the efficient block acknowledgment function, it sends an Add Block Acknowledgment Response (ADDBA) frame to the sending end. The efficient block acknowledgment element field carried in the ADDBA Response frame is used to indicate that the receiver has enabled the efficient block acknowledgment function. Receive data frames sent by the sending end; If the first number of consecutive data frames are received within a set time period, a first enhanced block acknowledgment (BlockAck) frame carrying a first bitmap (BitMap) indicator field and a first block acknowledgment (BA) information field is sent to the sending end, so that the AP determines that no data frame needs to be retransmitted when the first bitmap indicator field indicates that the first number of data frames have been received. The first BA information field does not include the bitmap.

5. The method according to claim 4, characterized in that, The method further includes: If a second number of data frames are received after a set time period, and these second number of data frames are consecutive, a second BlockAck frame is sent to the sending end. This second BlockAck frame carries a second BitMap indication field, a second BA information field, and the second BA information field does not contain a Bitmap. This allows the sending end, upon receiving the second BlockAck frame, to determine the sequence number of the first data frame requiring retransmission based on the first number, the second number, and the starting sequence number, and then retransmit the first data frame. Alternatively, When the second number of data frames are not consecutive, a second BlockAck frame is sent to the sending end, carrying a second BitMap indication field, a second BA information field, and the second BA information field including a Bitmap, to indicate that the first number of data frames have been partially received. This allows the sending end to read the values ​​of the second number of bits in the BitMap one by one after receiving the second BlockAck frame. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second number is equal to the first number, the first data frame is retransmitted. If the second number is less than the first number, the sequence number of the second data frame that needs to be retransmitted is determined based on the first number, the second number, and the starting sequence number, and both the first and second data frames are retransmitted. The length of the second BitMap is in bytes, and the number of data frames acknowledged by the second enhanced BlockAck frame included in the second BitMap indication field is the second number plus 1.

6. The method according to claim 5, characterized in that, The first BitMap indication field includes a first specified indication bit and the number of data frames indicated by the first enhanced BlockAck frame. When the first specified indication bit is a first value used to indicate that the first number of data frames have been received, the number of data frames indicated by the first enhanced BlockAck frame is the first number. The second BitMap indication field includes a second specified indication bit, and when the second specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the second enhanced BlockAck frame is the difference between the sequence number of the last data frame received before the receiving end sends the second enhanced BlockAck frame and the starting sequence number plus 1.

7. A message processing apparatus, characterized in that, The device is used at a transmitting AP, and the device includes: The first processing module is used to send an Add Block Acknowledgment Request (ADDBA Request) frame to the receiving end connected to it. The ADDBA Request frame carries an Efficient Block Acknowledgment Element field indicating that the sending end has enabled the Efficient Block Acknowledgment function and a first number of data frames to confirm the batch transmission. The second processing module is used to continuously send data frames to the receiving end if it receives an Add Block Acknowledgment (ADDBA) Response frame sent by the receiving end, and the High Efficiency Block Acknowledgment (HEC) element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the HEC function. The third processing module is used to receive the enhanced block acknowledgment (BlockAck) frame sent by the receiving end, wherein the enhanced BlockAck frame carries a BitMap indicator field and a Block Acknowledgment (BA) information field. The retransmission module is configured to determine that no data frame needs to be retransmitted if the BitMap indication field indicates that the first number of data frames have been received. The BA information field does not include the BitMap.

8. The apparatus according to claim 7, characterized in that, The retransmission module is also used for: If the BitMap indication field indicates that the first number of data frames have been partially received, then when the BA information field includes BitMap, the values ​​of the second number of bits in the BitMap are read one by one, wherein the length of the BitMap is in bytes, and the second number is the number of data frames included in the BitMap indication field that are confirmed by the enhanced BlockAck frame indication. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field, and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second quantity equals the first quantity, then retransmit the first data frame; If the second quantity is less than the first quantity, then based on the first quantity, the second quantity, and the starting sequence number, determine the sequence number of the second data frame that needs to be retransmitted, and retransmit the first data frame and the second data frame; or, When the BA information field does not include BitMap, the sequence number of the third data frame that needs to be retransmitted is determined based on the first quantity, the second quantity and the starting sequence number, and the third data frame is retransmitted.

9. The apparatus according to claim 8, characterized in that, The BitMap indicator field also includes a specified indicator bit; Wherein, when the specified indication bit is a first value used to indicate that the first number of data frames have been fully received, the number of confirmed data frames is the first number; When the specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the enhanced BlockAck frame is the difference between the sequence number of the last data frame received by the receiving end before sending the enhanced BlockAck frame and the starting sequence number, plus 1.

10. A message processing apparatus, characterized in that, The device is used at a receiving end, and the device includes: The first receiving module is used to receive an Add Block Acknowledgment Request (ADDBA Request) frame sent by the sending end, wherein the ADDBA Request frame carries an Efficient Block Acknowledgment Element field for indicating that the sending end has enabled the Efficient Block Acknowledgment function and a first number of data frames to confirm the batch transmission. The first sending module is configured to send an Add Block Acknowledgment (ADDBA) Response frame to the sending end if it has enabled the Efficient Block Acknowledgment (EPA) function. The EPA element field carried in the ADDBA Response frame is used to indicate that the receiving end has enabled the EPA function. The second receiving module is used to receive data frames sent by the sending end; The second sending module is configured to send a first enhanced block acknowledgment (BlockAck) frame to the sending end if the first number of data frames are received within a set time period. The BlockAck frame carries a first bitmap (BitMap) indicator field and a first block acknowledgment (BA) information field. This allows the sending end to determine that no data frames need to be retransmitted when the first bitmap indicator field indicates that the first number of data frames have been received. The first BA information field does not include the bitmap.

11. The apparatus according to claim 10, characterized in that, The device further includes: The third sending module is configured to, if a second number of data frames are received after a set time period, and if the second number of data frames are consecutive data frames, send a second BlockAck frame to the sending end, carrying a second BitMap indication field, a second BA information field, and wherein the second BA information field does not contain a Bitmap, so that the sending end, upon receiving the second BlockAck frame, determines the sequence number of the first data frame that needs to be retransmitted based on the first number, the second number, and the starting sequence number, and retransmits the first data frame; or, When the second number of data frames are not consecutive, a second BlockAck frame is sent to the sending end, carrying a second BitMap indication field, a second BA information field, and the second BA information field including a Bitmap, to indicate that the first number of data frames have been partially received. This allows the sending end to read the values ​​of the second number of bits in the BitMap one by one after receiving the second BlockAck frame. Based on the starting sequence number of the data frame indicated by the enhanced BlockAck frame included in the BA information field and the sequence number of the bits with a value of 0 in the second number of bits in the BitMap, the sequence number of the first data frame that needs to be retransmitted is determined. If the second number is equal to the first number, the first data frame is retransmitted. If the second number is less than the first number, the sequence number of the second data frame that needs to be retransmitted is determined based on the first number, the second number, and the starting sequence number, and both the first and second data frames are retransmitted. The length of the second BitMap is in bytes, and the number of data frames acknowledged by the second enhanced BlockAck frame included in the second BitMap indication field is the second number plus 1.

12. The apparatus according to claim 10, characterized in that, The first BitMap indication field includes a first specified indication bit and the number of data frames indicated by the first enhanced BlockAck frame. When the first specified indication bit is a first value used to indicate that the first number of data frames have been received, the number of data frames indicated by the first enhanced BlockAck frame is the first number. The second BitMap indication field includes a second specified indication bit, and when the second specified indication bit is a second value used to indicate that the first number of data frames have been partially received, the number of data frames indicated by the second enhanced BlockAck frame is the difference between the sequence number of the last data frame received before the receiving end sends the second enhanced BlockAck frame and the starting sequence number plus 1.

13. An electronic device, characterized in that, The device includes a processor and a machine-readable storage medium storing machine-executable instructions that can be executed by the processor, which in turn cause the processor to perform the method steps of any one of claims 1-3 or any one of claims 4-6.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method steps of any one of claims 1-3 or any one of claims 4-6.