A TDMA network data aggregation transmission method and device

By configuring the target time slot width and reserving the retransmission time slot width in the TDMA network, the problem of unpredictable A-MPDU frame transmission time is solved, network latency is reduced and resource utilization is improved, ensuring the real-time performance and integrity of data transmission.

CN120751490BActive Publication Date: 2025-11-18SHENYANG BONCHREE TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511204999.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-27
Publication Date
2025-11-18
Estimated Expiration
2045-08-27

AI Technical Summary

Technical Problem

In existing TDMA networks, the transmission time of A-MPDU aggregated frames is unpredictable, leading to increased network latency and high network resource overhead, and failing to effectively handle new access devices and MPDU frame retransmissions.

Method used

Configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregated frame, reserve retransmission time slot width in the superframe time slot, adjust the number of aggregated MPDU frames according to the currently available time slot width, prioritize the retransmission of MPDU frames that were not successfully sent, and release resources through maximum retransmission count and lifecycle management.

Benefits of technology

It effectively reduces network latency, improves the utilization rate of time slots, reduces network overhead, and ensures the real-time performance and integrity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120751490B_ABST
    Figure CN120751490B_ABST
Patent Text Reader

Abstract

The application provides a TDMA network data aggregation transmission method and device, and relates to the technical field of wireless communication. The method comprises the following steps: configuring the target time slot width of a TDMA network device as the time slot width required for transmitting at least one maximum aggregated A-MPDU aggregation frame; when each A-MPDU aggregation frame is transmitted by the TDMA network device using a superframe time slot, a retransmission time slot width for retransmitting the A-MPDU aggregation frame is reserved in the target time slot width. Through the application, the problem that the network time delay increases after new network data is added and the network resource overhead increases due to the fact that the A-MPDU aggregation transmission cannot be predicted in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to a method and apparatus for data aggregation and transmission in a TDMA network. Background Technology

[0002] Current wireless network data transmission is based on Time Division Multiple Access (TDMA) scheduling. Each device is allocated an independent data transmission time slot. Field devices send uplink data to access devices within their corresponding time slots, and access devices send downlink data to field devices within their corresponding time slots (specific time slots). Wireless networks, considering the real-time nature of device data transmission, typically limit the time slot width to transmitting only one data frame. Therefore, for applications with high data transmission volumes, TDMA-based wireless networks often employ Aggregate MAC Protocol Data Unit (A-MPDU) transmission. However, the transmission time for each A-MPDU aggregate frame is unpredictable. This is primarily due to two factors: First, after transmission, some MAC Protocol Data Unit (MPDU) frames may need to be retransmitted. For example, if an A-MPDU aggregate frame contains 32 MPDU frames, but the device only successfully receives 22, the remaining 10 MPDU frames need to be retransmitted. Second, this transmission method typically only considers data transmission from a single access device, while new access devices may be added to the wireless network, resulting in A-MPDU aggregate frames containing varying numbers of MPDU frames.

[0003] Existing technologies directly and uniformly allocate time slot widths for multiple A-MPDU aggregated frames without planning according to the required time slot width for each A-MPDU aggregated frame, resulting in increased wireless network latency and high network resource overhead. Summary of the Invention

[0004] This invention provides a TDMA network data aggregation and transmission method and apparatus to solve the problems in the prior art where the transmission time of A-MPDU frames cannot be estimated when using A-MPDU aggregation transmission, resulting in increased network latency and high network resource overhead when adding new network data.

[0005] This invention provides a TDMA network data aggregation and transmission method, comprising:

[0006] Configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes the maximum allowed number of MPDU frames;

[0007] When the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, a retransmission time slot width for retransmitting the A-MPDU aggregate frame is reserved within the target time slot width. The number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on the currently available target time slot width. The superframe time slot consists of at least one target time slot width.

[0008] In some embodiments, the retransmission time slot width includes any one of the following:

[0009] The required time slot width for retransmitting MPDU frames that were not successfully transmitted in the A-MPDU aggregate frame;

[0010] The required time slot width for retransmitting all MPDU frames included in the A-MPDU aggregate frame.

[0011] In some embodiments, the method further includes:

[0012] After the TDMA network device sends each A-MPDU aggregate frame using the superframe slot, it determines whether the A-MPDU aggregate frame has been successfully sent.

[0013] When the A-MPDU aggregation frame fails to be transmitted and it is necessary to retransmit the MPDU frames that failed to be transmitted in the A-MPDU aggregation frame, the failed MPDU frames shall be retransmitted within the width of the retransmission time slot.

[0014] In some embodiments, retransmitting the unsuccessfully transmitted MPDU frame within the retransmission time slot width includes:

[0015] Determine the number of times the MPDU frames that were not successfully transmitted have been sent;

[0016] When the number of transmissions is less than or equal to the pre-configured maximum number of retransmissions, the MPDU frame that was not successfully transmitted is retransmitted first using the retransmission time slot width.

[0017] In some embodiments, when prioritizing the retransmission of the unsuccessfully transmitted MPDU frame via the retransmission time slot width, the method further includes:

[0018] When the number of transmissions exceeds the pre-configured maximum number of retransmissions or the unsuccessfully transmitted MPDU frame reaches its lifespan, the resources of the MPDU frame are released. The lifespan of the MPDU frame is at least one superframe slot.

[0019] In some embodiments, the method further includes:

[0020] After sending each A-MPDU aggregate frame within the superframe time slot, the total number of A-MPDU aggregate frames sent and the number of retransmissions of A-MPDU aggregate frames are counted, and the first transmission result of A-MPDU aggregate frames is calculated based on the number of retransmissions and the total number.

[0021] The total number of MPDU frames included in the transmitted A-MPDU aggregated frames and the number of MPDU frame retransmissions are counted, and the second transmission result of the MPDU frame is calculated based on the number of MPDU frame retransmissions and the total number of MPDU frames.

[0022] Based on the first transmission result and the second transmission result, adjust the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width.

[0023] In some embodiments, calculating the first transmission result of the A-MPDU aggregated frame based on the number of retransmissions and the total number includes:

[0024] The transmission success rate and the proportion of the first retransmission of the A-MPDU aggregated frame are calculated based on the total number and the number of retransmissions, and are used as the first transmission result of the A-MPDU aggregated frame.

[0025] The calculation of the second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames includes:

[0026] The success rate of MPDU frame transmission and the proportion of second retransmissions are calculated based on the total number of MPDU frames and the number of MPDU frame retransmissions, and are used as the second transmission result of MPDU frames.

[0027] Based on the first transmission result and the second transmission result, adjust the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width.

[0028] In some embodiments, adjusting the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregated frame based on the first transmission result and the second transmission result includes:

[0029] When the first transmission result satisfies the first threshold and the second transmission result satisfies the second threshold, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are reduced. The first transmission result satisfies the first threshold if the transmission success rate of the A-MPDU aggregated frame is less than a preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame is greater than a preset first retransmission threshold.

[0030] The second transmission result satisfies the second threshold if the transmission success rate of the MPDU frame is less than the preset second success threshold or the second retransmission ratio of the MPDU frame is greater than the preset second retransmission threshold.

[0031] When the first transmission result does not meet the first threshold and the second transmission result does not meet the second threshold, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are increased. The first transmission result not meeting the first threshold includes the transmission success rate of the A-MPDU aggregated frame not being less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame not being greater than the preset first retransmission threshold.

[0032] The second transmission result does not meet the second threshold, including the MPDU frame transmission success rate being not less than the preset second success threshold or the MPDU frame second retransmission ratio being not greater than the preset second retransmission threshold.

[0033] In some embodiments, the method further includes:

[0034] When the maximum number of MPDU frames aggregated in the A-MPDU aggregated frame is 1, the MPDU frame is broadcast within the target time slot width of the TDMA network device, wherein the MPDU frame is an AEF frame obtained by aggregating multiple device Ethernet data frames;

[0035] When the MPDU frame is retransmitted, it is retransmitted through the retransmission acknowledgment mechanism of the data link layer of the device's Ethernet data.

[0036] The present invention also provides a TDMA network data aggregation and transmission apparatus, comprising:

[0037] A configuration module is used to configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes the maximum allowed number of MPDU frames;

[0038] The transmitting module is configured to reserve a retransmission time slot width for retransmitting the A-MPDU aggregate frame within the target time slot width when the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot. The number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on the currently available target time slot width, and the superframe time slot consists of at least one target time slot width.

[0039] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the TDMA network data aggregation and transmission methods described above.

[0040] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the TDMA network data aggregation and transmission method as described above.

[0041] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the TDMA network data aggregation and transmission method as described above.

[0042] The TDMA network data aggregation and transmission method and apparatus provided by this invention allocates the target time slot width of the TDMA network device to at least the time slot width required to transmit one maximum aggregated A-MPDU frame during time slot width allocation, ensuring the transmission of A-MPDU aggregate frames with various numbers of MPDU frames. When transmitting each A-MPDU aggregate frame using superframe time slots, reserving retransmission time slot width for retransmitting A-MPDU aggregate frames within the target time slot width, i.e., reserving time slot width each time an A-MPDU aggregate frame is transmitted, is used to handle possible retransmissions of A-MPDU aggregate frames and can also be used to handle A-MPDU aggregate frames transmitted by new access devices, without affecting the real-time performance of network data transmission and avoiding network latency. This rational allocation and planning of time slot resources improves the utilization rate of time slot width and reduces network overhead. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating the TDMA network data aggregation and transmission method provided by the present invention.

[0045] Figure 2 This is a schematic diagram of the TDMA network data aggregation and transmission method provided by the present invention.

[0046] Figure 3 This is one of the schematic diagrams of A-MPDU aggregation frame transmission and retransmission provided by the present invention.

[0047] Figure 4This is the second schematic diagram of A-MPDU aggregation frame transmission and retransmission provided by the present invention.

[0048] Figure 5 This is the third schematic diagram of A-MPDU aggregation frame transmission and retransmission provided by the present invention.

[0049] Figure 6 This is the fourth schematic diagram of A-MPDU aggregation frame transmission and retransmission provided by the present invention.

[0050] Figure 7 This is a schematic diagram of the structure of the TDMA network data aggregation and transmission device provided by the present invention.

[0051] Figure 8 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0053] The TDMA network data aggregation and transmission method and apparatus of the present invention are described below with reference to the accompanying drawings. Figure 1 This is a flowchart illustrating the TDMA network data aggregation and transmission method provided by the present invention, as shown below. Figure 1 As shown, the method includes the following steps 101 to 102.

[0054] Step 101: Configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregated frame.

[0055] When TDMA network devices and access devices conduct wireless network transmission, the first step is to determine whether the access device is experiencing high-volume transmission. If so, the A-MPDU aggregation function is used to aggregate multiple MPDU frames into a single A-MPDU aggregated frame for transmission. The access device is the data receiver.

[0056] The number of MPDU frames aggregated in an A-MPDU aggregation frame can be initially configured through registers, but there is generally a limit, namely the maximum aggregation, which is the maximum number of MPDU frames that can be aggregated in one A-MPDU aggregation frame. In addition, the maximum number of retransmissions of an MPDU frame can also be configured through registers, for example, 4 times. If the number of retransmissions of an MPDU frame exceeds 4 times, it indicates that the MPDU frame transmission has failed, and the network resources occupied by the MPDU frame are released.

[0057] In high-volume wireless network transmission scenarios, both TDMA network devices and access devices transmit and receive A-MPDU aggregated frames or MPDU frames within their respective time slot widths. Before data transmission, the target time slot width of the TDMA network device is configured to the width required to transmit at least one maximum-aggregated A-MPDU aggregated frame. Here, the maximum-aggregated A-MPDU aggregated frame includes the maximum allowed number of MPDU frames. The number of MPDU frames aggregated in an A-MPDU aggregated frame is finite, called the maximum aggregation number, denoted by N. In other words, an A-MPDU aggregated frame can aggregate a maximum of N MPDU frames, where N can be 32.

[0058] Therefore, within the configured target time slot width, it is ensured that at least one A-MPDU aggregate frame composed of N MPDU frames can be successfully sent to accommodate the transmission of A-MPDU aggregate frames with different numbers of MPDU frames.

[0059] like Figure 2 As shown, when transmission begins, after the TDMA network device and the access device are connected, they exchange A-MPDU aggregation frames. The maximum number of MPDU frames in the aggregated frame is then used to further trigger the A-MPDU aggregation function according to the register configuration, determine the initial target time slot width, and then determine the number of MPDU frames to be aggregated to form an A-MPDU aggregation frame.

[0060] Step 102: When the TDMA network device sends each A-MPDU aggregate frame using the superframe time slot, a retransmission time slot width for retransmitting the A-MPDU aggregate frame is reserved within the target time slot width.

[0061] TDMA network devices perform data transmission within superframe slots, each consisting of at least one target time slot width. During data transmission, the TDMA network device uses these superframe slots to send each A-MPDU aggregation frame sequentially. The number of MPDU frames aggregated within an A-MPDU aggregation frame is determined by the currently available target time slot width. The first A-MPDU aggregation frame uses the initial register configuration for its aggregation count, occupying a portion of the target time slot width after transmission. From the second A-MPDU aggregation frame onwards, to ensure successful transmission, the number of MPDU frames aggregated within each A-MPDU aggregation frame needs to be adjusted based on the currently available target time slot width. A longer available target time slot width results in a larger number of aggregated MPDU frames, and vice versa. The currently available target time slot width is also adjusted accordingly based on the transmission of previous A-MPDU aggregation frames, for example, by increasing or decreasing it.

[0062] When TDMA network devices use superframe time slots to send each A-MPDU aggregate frame, they need to reserve the retransmission time slot width for retransmitting A-MPDU aggregate frames within the target time slot width.

[0063] Here is as Figure 2 As shown, after triggering the A-MPDU aggregation function, A-MPDU aggregation frames can be sent one by one within the target time slot width. When sending one A-MPDU aggregation frame, the aggregation descriptor of the next A-MPDU aggregation frame is prepared. The aggregation descriptor contains information indicating the length of the A-MPDU, MPDU list information, and transmission-related parameter information.

[0064] When each A-MPDU aggregation frame is transmitted, a retransmission time slot is reserved within the target time slot width for retransmitting the A-MPDU aggregation frame. In other words, when transmitting an A-MPDU aggregation frame, a retransmission time slot is reserved within the remaining target time slot width to handle potential retransmissions of the A-MPDU aggregation frame or to transmit subsequent A-MPDU aggregation frames from the TDMA network device. Of course, there may be more than one access device corresponding to a TDMA network device; a TDMA network device may simultaneously transmit to multiple access devices. The A-MPDU aggregation frames for different access devices are different, and transmission may occur suddenly during the transmission process. Therefore, the retransmission time slot width may also be used to transmit A-MPDU aggregation frames from other access devices.

[0065] During the transmission of A-MPDU aggregated frames, some or even all MPDU frames may fail to be transmitted. Here, transmission failure means the data receiver has not acknowledged receipt, while successful transmission means the receiver has acknowledged receipt. MPDU frames that fail to be transmitted need to be retransmitted, which means sending them again.

[0066] Depending on the transmission status of the MPDU frames, the reserved retransmission time slot width can include any one of the following: the required time slot width for retransmitting MPDU frames that were not successfully transmitted in the A-MPDU aggregate frame; or the required time slot width for retransmitting all MPDU frames included in the A-MPDU aggregate frame.

[0067] The first approach reserves the same amount of time slot width required for retransmitting failed MPDU frames as the number of MPDU frames that failed to be transmitted, ensuring efficient use of time slot width. The second approach considers the scenario where all MPDU frames fail to be transmitted, reserving the required time slot width for all MPDU frames included in the A-MPDU aggregation frame. This ensures sufficient time slot width resources for both partial and full retransmissions, while any excess reserved time slot width is used for subsequent A-MPDU aggregation frame transmissions, avoiding waste of time slot width resources.

[0068] In this embodiment of the invention, the target time slot width is planned during the transmission of each A-MPDU aggregation frame, reserving retransmission time slot width to accommodate possible retransmissions of the A-MPDU aggregation frame. This rational planning of time slot width resources increases the utilization rate of time slot width and ensures the integrity of A-MPDU aggregation frame data transmission.

[0069] Therefore, by using the A-MPDU aggregation frame transmission method and reserving retransmission time slot width, each A-MPDU aggregation frame can be transmitted one by one within the superframe time slot, ensuring that MPDU frames can be successfully transmitted under normal circumstances and confirmed to be received by the data receiver.

[0070] In this embodiment of the invention, when allocating time slot width, the target time slot width of the TDMA network device is allocated to at least the time slot width required to send one maximum aggregated A-MPDU frame, ensuring the transmission of A-MPDU aggregate frames with varying numbers of MPDU frames. When sending each A-MPDU aggregate frame using superframe time slots, retransmission time slot width is reserved within the target time slot width for retransmitting the A-MPDU aggregate frame. That is, time slot width is reserved each time an A-MPDU aggregate frame is sent to handle possible retransmissions and to process A-MPDU aggregate frames transmitted by new access devices, without affecting the real-time performance of network data transmission and avoiding network latency. This rational allocation and planning of time slot resources improves the utilization rate of time slot width and reduces network overhead.

[0071] In some embodiments, after the TDMA network device transmits each A-MPDU aggregate frame using superframe slots, it is determined whether the A-MPDU aggregate frame has been successfully transmitted.

[0072] Here, after the TDMA network device sends each A-MPDU aggregate frame using the superframe time slot, it needs to determine whether the A-MPDU aggregate frame was successfully sent. That is, it needs to determine whether all the A-MPDU frames included in the A-MPDU aggregate frame have been received by the receiver. If so, it means that the A-MPDU aggregate frame was sent successfully and does not need to be retransmitted. If not, it means that the A-MPDU aggregate frame was not sent successfully, and retransmission is required if the transmission fails.

[0073] See also Figure 2 After the A-MPDU aggregate frame is sent within the target time slot width, that is, after each A-MPDU aggregate frame is sent, it is necessary to check whether the remaining time slot width is sufficient for the transmission of MPDU frames, and determine whether the aggregated MPDU frames in the sent A-MPDU aggregate frames need to be retransmitted, so as to determine how to continue the transmission within the reserved retransmission time slot width.

[0074] Specifically, checking whether the remaining time slot width is sufficient for sending MPDU frames involves determining whether the reserved retransmission time slot width is sufficient to transmit multiple MPDU frames or A-MPDU aggregate frames. If so, the subsequent A-MPDU aggregate frame is sent or the unsuccessfully sent MPDU frames are retransmitted. If not, it means that the target time slot width of the current superframe time slot cannot continue to be used to send subsequent A-MPDU aggregate frames or retransmit unsuccessfully sent MPDU frames, and the process must wait for the next superframe time slot.

[0075] Furthermore, when an A-MPDU aggregation frame is successfully transmitted and it is necessary to retransmit MPDU frames that were not successfully transmitted in the A-MPDU aggregation frame, the MPDU frames that were not successfully transmitted are retransmitted within the retransmission time slot width.

[0076] Here, the transmission of A-MPDU aggregation frames is explained in two cases. The first case is when the A-MPDU aggregation frame is successfully transmitted and there is no need to retransmit the MPDU frames that were not successfully transmitted in the A-MPDU aggregation frame, the untransmitted A-MPDU aggregation frames continue to be transmitted within the retransmission time slot width.

[0077] For example, such as Figure 3 As shown, the maximum number of MPDU frames aggregated in the initial configuration A-MPDU aggregation frame is 32, that is, N is 32. The maximum number of retransmissions for each MPDU frame is 4, and the target time slot width within the superframe time slot is SLOT TIME1. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU32) is sent, the time slot width occupied by the transmission is half of SLOT TIME1. Therefore, a possible retransmission time slot is reserved, and half of SLOT TIME1 is reserved for possible retransmissions of AMPDU1.

[0078] If no retransmission is required, after AMPDU1 is sent, if the available time for sending the subsequent second A-MPDU aggregation frame AMPDU2 (including MPDU33 to MPDU48) is determined to be half of the SLOT TIME1, then the number of aggregated MPDU frames in AMPDU2 is adjusted to 16. When AMPDU2 is sent, half of the time slot width is reserved, that is, one-quarter of the SLOTTIME1, to handle possible retransmissions of AMPDU2. This process continues until all A-MPDU aggregation frames are sent.

[0079] The second scenario is when the A-MPDU aggregation frame fails to be sent and the MPDU frames that failed to be sent in the A-MPDU aggregation frame need to be retransmitted. In this case, there are partial retransmissions and full retransmissions. The MPDU frames that failed to be sent are retransmitted within the retransmission time slot width.

[0080] Specifically, first determine the number of times the MPDU frame that was not successfully sent has been sent. If the number of times it has been sent is less than or equal to the pre-configured maximum number of retransmissions, prioritize retransmitting the MPDU frame that was not successfully sent using the retransmission time slot width.

[0081] Here, within the reserved retransmission time slot width, unsuccessfully transmitted MPDU frames are retransmitted first. That is, during the retransmission process, the unsuccessfully transmitted MPDU frame is first sent again, and its transmission is checked for success. If successful, the retransmission is complete, and then subsequent unsent A-MPDU aggregate frames are transmitted. If transmission fails, the retransmission fails, and retransmission continues until the number of MPDU frames transmitted reaches the pre-configured maximum retransmission count. If it exceeds four times, the MPDU frame retransmission ends.

[0082] like Figure 2 As shown, when it is determined that an MPDU frame in an A-MPDU aggregation frame needs to be retransmitted, it is necessary to check whether the number of times the MPDU frame that was not successfully transmitted has been sent is less than the maximum number of retransmissions, for example, whether it is less than 4 times. If not, it means that the number of MPDU frame retransmissions has reached the maximum number of retransmissions, that is, it has been sent 4 times and may have lost its timeliness, so the MPDU frame retransmission ends. If yes, it means that the number of retransmissions has not reached the maximum number of retransmissions, that is, it has not reached 4 times, so after checking that the remaining time slot width is sufficient for the transmission of the MPDU frame, the retransmission of the MPDU frame that was not successfully transmitted continues.

[0083] Here, we first determine the number of MPDU frames that can be sent within the remaining time slot width (i.e., the retransmission time slot width), and then prioritize retransmitting the MPDU frames that were not successfully sent in the A-MPDU aggregate frame using the retransmission time slot width.

[0084] For example, such as Figure 4 As shown, assuming the initial configuration of the A-MPDU aggregation frame has a maximum aggregation number of 32 MPDU frames (i.e., N is 32), each MPDU frame has a maximum retransmission count of 4, and the MPDU's lifespan is two superframe time slots. The target time slot width within the superframe time slot is SLOT TIME1 and SLOT TIME2. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU32) is sent, the time slot width occupied by the transmission is half of SLOT TIME1, reserving half of SLOT TIME1 for possible retransmissions of AMPDU1.

[0085] The first scenario involves a full retransmission. After AMPDU1 is sent, half of the SLOT TIME1 is allocated for transmission. Half of this SLOT TIME1 is reserved for AMPDU1 retransmission. If, after AMPDU1 completes transmission, a full retransmission is required, the first retransmission of AMPDU1 is performed within the reserved half of the SLOT TIME1. Figure 4 The retransmission 1 in the superframe time slot. However, within the subsequent SLOT TIME2 within the superframe time slot, it was found that AMPDU1 still needed to be retransmitted entirely, so a second and third retransmission were performed for AMPDU1. Figure 4 Retransmission 2, retransmission 3, and so on, until the maximum number of MPDU retransmissions in AMPDU1 reaches 4. Then, the network resources occupied by the MPDU are released for the subsequent transmission of the second A-MPDU aggregation frame A-MPDU2 (including MPDU1 to MPDU32).

[0086] The second type is the situation where partial retransmission is required, such as... Figure 5 As shown, assuming the initial configuration of the maximum number of MPDU frames aggregated in the A-MPDU aggregation frame is 16, i.e., N is 16, and the target time slot width within the superframe time slot is SLOT TIME3 and SLOT TIME4. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU16) is sent, it is determined that the transmission time occupies half of SLOT TIME3, so a possible retransmission time slot is reserved, reserving half of SLOT TIME3 for the retransmission of AMPDU1. At this time, it is found that 8 MPDU frames of AMPDU1 have failed to be transmitted and need to be retransmitted, and it is determined that the number of times these 8 MPDU frames have been transmitted is less than or equal to the pre-configured maximum number of retransmissions, i.e., less than 4 times. Therefore, retransmission of the 8 MPDUs is prioritized within the reserved half of SLOT TIME3, i.e. Figure 5 Retransmission 1 in the superframe. Then, in SLOT TIME2, the second A-MPDU aggregation frame AMPDU2 is sent. Assuming AMPDU2 aggregates 16 MPDU frames, only 8 MPDU frames (including MPDU1 to MPDU8) can be sent at this time. A possible retransmission time slot also needs to be reserved, so one-quarter of SLOT TIME3 is reserved for possible retransmission of AMPDU2. In the subsequent SLOT TIME4 within the superframe time slot, it is found that AMPDU1 still needs to be retransmitted in its entirety. Therefore, a second and third retransmission are performed for AMPDU1. Figure 5 Retransmission 2, retransmission 3, and so on, until the maximum number of MPDU retransmissions in AMPDU1 reaches 4. Then, the network resources occupied by the MPDU are released for the subsequent transmission of the second A-MPDU aggregation frame A-MPDU2 (including MPDU1 to MPDU8).

[0087] In this embodiment of the invention, by reserving retransmission time slot width, when an A-MPDU aggregate frame needs to be retransmitted, the MPDU frame that was not successfully sent is retransmitted first, ensuring the continuity and real-time performance of data frames during data transmission. Furthermore, the retransmission of MPDU frames is limited by a pre-configured maximum number of retransmissions, preventing invalid MPDU frames from occupying time slot width resources.

[0088] In some embodiments, when prioritizing the retransmission of unsuccessfully sent MPDU frames using the retransmission time slot width, it is necessary to determine whether the number of times the unsuccessfully sent MPDU frames have been sent exceeds the pre-configured maximum retransmission count or has reached the pre-configured lifespan. When the number of times sent exceeds the pre-configured maximum retransmission count or the unsuccessfully sent MPDU frames have reached their lifespan, the resources of the MPDU frames are released.

[0089] Here, when the number of times an MPDU frame that failed to be sent exceeds the pre-configured maximum retransmission count, for example, more than 4 times, it means that the MPDU frame has been sent and retransmitted more than 4 times. In this case, retransmission of the MPDU frame is restricted, and the resources of the MPDU frame are released. These resources refer to the occupied time slot width. Furthermore, when an MPDU frame that failed to be sent reaches its lifespan, retransmission of the MPDU frame also needs to be restricted, and the resources of the MPDU frame are released. In this embodiment of the invention, the lifespan of the MPDU frame is pre-configured to be at least one superframe time slot, typically set to one. That is to say, if an MPDU frame has not been successfully sent or retransmitted by the end of a superframe time slot, the MPDU frame has lost its data timeliness, and there is no need to continue transmission; the resources of the MPDU frame can be released.

[0090] like Figure 6 As shown, assuming the initial configuration of the A-MPDU aggregation frame has a maximum aggregation number of 8 MPDU frames (N = 4), and each MPDU frame has a maximum retransmission count of 4, the MPDU frame's lifespan is one superframe slot, and the target slot width within the superframe slot is SLOT TIME5, for example, 2 seconds. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU8) is sent, the slot width occupied by the transmission is determined to be one-quarter of SLOT TIME5. It is preset that three retransmissions will be performed within the remaining slot width of SLOT TIME5. Figure 6The process involves retransmissions 1, 2, and 3. The first and third retransmissions occur within the retransmission time slot reserved for the second A-MPDU aggregation frame AMPDU2 (including MPDU1 to MPDU8). Therefore, retransmitting unsuccessfully transmitted MPDU frames is prioritized. If all three retransmissions fail, it indicates that the number of unsuccessfully transmitted MPDU frames in AMPDU1 has exceeded four. Retransmission of MPDU frames in AMPDU1 is then terminated, and the MPDU frame resources are released for transmitting the second A-MPDU aggregation frame AMPDU2.

[0091] If, when SLOT TIME5 ends and the next superframe time slot begins, it is found that there are still MPDU frames in AMPDU1 that have not been successfully transmitted, it means that the MPDU frames that were not successfully transmitted in AMPDU1 have reached their lifespan. Therefore, there is no need to retransmit them, and the resources of the MPDU frames are released.

[0092] When MPDU frames are not aggregated for transmission, each MPDU frame can be retransmitted a maximum of 4 times. Therefore, if a superframe slot transmission fails and retransmission is attempted, each MPDU frame is retransmitted 3 times. If the MPDU frame still fails to retransmit successfully on the third attempt, its resources are released. Alternatively, if an MPDU frame has not been successfully transmitted or retransmitted by the end of the superframe slot, it indicates that its lifecycle has been reached. In this case, the MPDU frame's resources are released, and retransmission of subsequent MPDU frames continues until all MPDU frames have been retransmitted.

[0093] In this embodiment of the invention, by setting the maximum number of retransmissions and the lifespan of MPDU frames in the A-MPDU aggregation frame, when the A-MPDU aggregation frame is transmitted over the network, the resources of the failed MPDU frames that have reached the end of their lifespan can be released in a timely manner, which can effectively improve the utilization rate of network resources and avoid failed MPDU frames occupying time slot bandwidth resources.

[0094] In some embodiments, after sending each A-MPDU aggregate frame within a superframe time slot, the present invention further counts the total number of A-MPDU aggregate frames and MPDU frames and the number of retransmissions to determine the transmission results of A-MPDU aggregate frames and MPDU frames. The transmission results specifically include the retransmission ratio and the transmission success rate, thereby dynamically adjusting the maximum number of MPDU frames aggregated in the A-MPDU aggregate frame and the target time slot width.

[0095] Specifically, after sending each A-MPDU aggregate frame within a superframe slot, the total number of A-MPDU aggregate frames sent and the number of retransmissions are counted. The total number of A-MPDU aggregate frames represents the number of A-MPDU aggregate frames sent, and the number of retransmissions represents the number of A-MPDU aggregate frames that have been retransmitted. Based on these two numbers, the proportion of retransmitted A-MPDU aggregate frames and the success rate of A-MPDU aggregate frame transmission can be calculated, serving as the first transmission result.

[0096] In addition, this section also counts the total number of MPDU frames included in the transmitted A-MPDU aggregated frames and the number of MPDU frame retransmissions. The total number of MPDU frames is the number of MPDU frames included in all transmitted A-MPDU aggregated frames, while the number of MPDU frame retransmissions is the number of MPDU frames that have been retransmitted. Based on these two numbers, the proportion of retransmitted MPDU frames and the success rate of MPDU frame transmission can be calculated as the second transmission result.

[0097] Furthermore, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width can be adjusted based on the first transmission result and the second transmission result.

[0098] When both the first and second transmission results are good (e.g., the retransmission rate is greater than the threshold or the transmission success rate is less than the threshold), it indicates that the number of MPDU frames aggregated in the current A-MPDU aggregated frame is large, leading to multiple MPDU frame transmission failures and retransmissions. This results in low transmission efficiency and low network resource utilization for the A-MPDU aggregated frame. Therefore, the number of MPDU frames aggregated should be reduced accordingly, and the target time slot width should also be reduced. Conversely, if the results are not good, it indicates that the transmission efficiency of the A-MPDU aggregated frame is high, and the network resource utilization is also high. In this case, the number of MPDU frames aggregated should be appropriately increased, and the target time slot width should also be increased to fully utilize network resources and efficiently transmit the A-MPDU aggregated frame.

[0099] In this embodiment of the invention, after successfully transmitting each A-MPDU aggregated frame within a superframe time slot, the number of MPDU frames aggregated in the A-MPDU aggregated frame and the target time slot width are dynamically adjusted in real time based on the transmission results of the A-MPDU aggregated frame and the MPDU frame. This allows for real-time adaptive adjustments to the amount of data transmitted and the time slot width resources based on the data transmission status, improving network transmission efficiency and the utilization rate of time slot width resources.

[0100] In the above embodiments, the calculation of the first transmission result of the A-MPDU aggregated frame based on the number of retransmissions and the total number can be achieved in the following way.

[0101] Specifically, the success rate of A-MPDU aggregated frame transmission and the proportion of first retransmission are calculated based on the total number and the number of retransmissions, and this is used as the first transmission result of A-MPDU aggregated frame.

[0102] Here, the ratio of the number of retransmissions of A-MPDU aggregated frames to the total number of A-MPDU aggregated frames sent is the first retransmission percentage. Alternatively, the difference between the total number of A-MPDU aggregated frames sent and the number of retransmissions can be calculated; this is the number of successfully transmitted A-MPDU aggregated frames. Then, the ratio of this difference to the total number of transmitted A-MPDU aggregated frames is calculated, which is the transmission success rate of the A-MPDU aggregated frames.

[0103] The second transmission result of the MPDU frame can be calculated based on the number of MPDU frame retransmissions and the total number of MPDU frames. This can be achieved in the following way, which will be explained in detail below.

[0104] Here, the transmission success rate and the proportion of second retransmissions of MPDU frames are calculated based on the total number of MPDU frames and the number of MPDU frame retransmissions, and are used as the second transmission result of MPDU frames.

[0105] Specifically, the ratio of the number of MPDU frame retransmissions to the total number of MPDU frames is the second retransmission rate. Alternatively, the difference between the total number of MPDU frames and the number of MPDU frame retransmissions can be calculated first, which is the number of successfully transmitted MPDU frames. Then, the ratio of this difference to the total number of MPDU frames is the MPDU frame transmission success rate.

[0106] In this embodiment of the invention, after sending each A-MPDU aggregated frame within a superframe time slot, the retransmission ratio and transmission success rate of the MPDU frames in the A-MPDU aggregated frame at the current progress can be calculated to determine the current data transmission status in real time. This facilitates the adjustment of the number of MPDU frames aggregated in subsequent A-MPDU aggregated frames and the target time slot width, thereby improving data transmission efficiency.

[0107] Furthermore, the following describes in detail how, based on the first transmission result and the second transmission result, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are adjusted.

[0108] When the first transmission result meets the first threshold and the second transmission result meets the second threshold, the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregated frame are reduced. Here, the first transmission result meeting the first threshold includes either the transmission success rate of the A-MPDU aggregated frame being less than a preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame being greater than a preset first retransmission threshold. The second transmission result meeting the second threshold includes either the transmission success rate of the MPDU frame being less than a preset second success threshold or the second retransmission ratio of the MPDU frame being greater than a preset second retransmission threshold.

[0109] Specifically, when the first transmission result of the A-MPDU aggregated frame meets the first threshold and the second transmission result of the MPDU frame meets the second threshold, it indicates that the transmission performance of the A-MPDU aggregated frame and the MPDU frame is poor. In this case, the retransmission rate is high, and the transmission success rate is low. Therefore, based on this situation, the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregated frame can be appropriately reduced. The reduction can be achieved by halving, reducing by one-half, or reducing by one-third of the number of aggregated frames and the target time slot width; this is not limited here.

[0110] For example, suppose the current A-MPDU aggregation frame contains 32 MPDU frames, and the target time slot width is 2 seconds. When the first transmission result of the A-MPDU aggregation frame meets a first threshold and the second transmission result of the MPDU frame meets a second threshold, the number of aggregated MPDUs is reduced to 16. Subsequent A-MPDU aggregation frames will then all contain 16 MPDU frames, and the target time slot width is reduced to 1 second. Correspondingly, after subsequent A-MPDU aggregation frames are transmitted, if the first transmission result of the A-MPDU aggregation frame meets the first threshold and the second transmission result of the MPDU frame meets the second threshold, the target time slot width is further reduced by decreasing the number of aggregated MPDUs, for example, by reducing the number of aggregated MPDUs to 12, and the target time slot width is reduced to 0.75 seconds.

[0111] Conversely, when the first transmission result does not meet the first threshold and the second transmission result does not meet the second threshold, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are increased. The first transmission result not meeting the first threshold includes the transmission success rate of the A-MPDU aggregated frame not being less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame not being greater than the preset first retransmission threshold. The second transmission result not meeting the second threshold includes the transmission success rate of the MPDU frame not being less than the preset second success threshold or the second retransmission ratio of the MPDU frame not being greater than the preset second retransmission threshold.

[0112] Specifically, when the first transmission result of the A-MPDU aggregated frame fails to meet the first threshold and the second transmission result of the MPDU frame fails to meet the second threshold, it indicates that the transmission of the A-MPDU aggregated frame and the MPDU frame is relatively good. In this case, the retransmission rate is low and the transmission success rate is high. Therefore, based on this situation, the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregated frame can be appropriately increased. The increase can be doubled, halved, or one-third of the number of aggregated frames and the target time slot width; there are no restrictions here.

[0113] For example, suppose the currently transmitted A-MPDU aggregation frame contains 4 MPDU frames, and the target time slot width is 1 second. If the first transmission result of the A-MPDU aggregation frame does not meet the first threshold and the second transmission result of the MPDU frame does not meet the second threshold, the number of aggregated AMPDUs is increased to 8. Then, subsequent A-MPDU aggregation frames will all contain 8 MPDU frames, and the target time slot width increases to 2 seconds. Correspondingly, after subsequent A-MPDU aggregation frames are transmitted, if it is determined that the first transmission result of the A-MPDU aggregation frame does not meet the first threshold and the second transmission result of the MPDU frame does not meet the second threshold, the target time slot width is further increased by increasing the number of aggregated AMPDUs, for example, increasing the number of aggregated AMPDUs to 12, and the target time slot width increases to 3 seconds.

[0114] In this embodiment of the invention, the number of MPDU frames aggregated in the A-MPDU aggregated frame and the target time slot width are dynamically adjusted by the retransmission ratio of the A-MPDU aggregated frame and the MPDU frame. When the retransmission ratio is too high, the number of MPDU frames aggregated and the time slot width are appropriately reduced to improve the transmission efficiency of the A-MPDU aggregated frame. Conversely, when the retransmission ratio is low, the number of MPDU frames aggregated and the time slot width are appropriately increased to improve the utilization of network resources and achieve efficient transmission of the A-MPDU aggregated frame.

[0115] See also Figure 2 After the A-MPDU aggregated frame is sent within the target time slot width, it is necessary to determine whether the first transmission result meets the first threshold and the second transmission result meets the second threshold. If so, the number of A-MPDU aggregated frames and the time slot width are adjusted, and the transmission of A-MPDU aggregated frames within the current time slot width is stopped, waiting for the next superframe time slot. If not, the number of MPDU aggregated frames and the time slot width also need to be adjusted accordingly, and the process waits for the next superframe time slot. In the next superframe time slot, A-MPDU aggregated frames continue to be sent one by one within the corresponding target time slot width.

[0116] In some embodiments, when the maximum number of MPDU frames aggregated in an A-MPDU aggregated frame is 1, the MPDU frame is broadcast within the target time slot width of the TDMA network device.

[0117] When there is only one MPDU frame in the A-MPDU aggregation frame, it indicates that the TDMA network device is performing low-volume transmission in a wireless network scenario. An MPDU frame is an Aggregation Ethernet Frame (AEF) obtained by aggregating Ethernet data frames from multiple devices. Here, the TDMA network device interacts with multiple access devices, meaning the TDMA network device needs to transmit data to multiple access devices. Therefore, in this embodiment of the invention, the AEF frame obtained by aggregating Ethernet data frames from multiple devices is used.

[0118] The specific format of the AEF frame is shown in Table 1 below:

[0119] Table 1:

[0120]

[0121] Specifically, for multiple Ethernet data frames, a linked list of structures indicating the start and end addresses of the Ethernet data frames is synchronized to the Direct Memory Access (DMA) module. The DMA module, based on the start and end address information indicated by the linked list nodes, moves the multiple Ethernet data frames to random access memory to assemble them into a corresponding MPDU frame for transmission. This aggregates multiple Ethernet data frames from multiple devices into a single MPDU frame for transmission. When the TDMA network device transmits the MPDU frame, it broadcasts it throughout the wireless network. Other access devices within the network can simultaneously receive and parse the broadcast MPDU frame to obtain the corresponding Ethernet data.

[0122] In this embodiment of the invention, when an MPDU frame is retransmitted, it is retransmitted using the retransmission acknowledgment mechanism of the data link layer of the device's Ethernet data. Here, the reliability of AEF frame data transmission is guaranteed by the retransmission acknowledgment mechanism at the data link layer and above. If the device's Ethernet data is TCP data, the reliability of data transmission can be ensured by relying on the TCP retransmission mechanism during retransmission. Furthermore, this embodiment of the invention can perform multiple transmissions and retransmissions of AEF frames within a device time slot to ensure the reliability of data transmission.

[0123] In this embodiment of the invention, in a low-volume transmission scenario where a single MPDU frame is transmitted, the various Ethernet data frames are aggregated into one MPDU frame and the network data is sent in a broadcast manner. Data retransmission is performed through the retransmission confirmation mechanism of the data link layer where the device's Ethernet data resides, thus ensuring the real-time performance and reliability of the device's data transmission.

[0124] The TDMA network data aggregation and transmission apparatus provided by the present invention is described below. The TDMA network data aggregation and transmission apparatus described below and the TDMA network data aggregation and transmission method described above can be referred to in correspondence.

[0125] like Figure 7 As shown, the TDMA network data aggregation and transmission device specifically includes: a configuration module 701 and a transmission module 702. The configuration module 701 is used to configure the target time slot width of the TDMA network device to the time slot width required to transmit at least one maximum aggregated A-MPDU aggregation frame, wherein the maximum aggregated A-MPDU aggregation frame includes the maximum allowed number of MPDU frames. The transmission module 702 is used to reserve a retransmission time slot width for retransmitting the A-MPDU aggregation frame within the target time slot width when the TDMA network device transmits each A-MPDU aggregation frame using a superframe time slot. The number of aggregated MPDU frames in the A-MPDU aggregation frame is determined based on the currently available target time slot width, and the superframe time slot consists of at least one target time slot width.

[0126] like Figure 7 As shown, in some embodiments, the TDMA network data aggregation and transmission apparatus further includes a retransmission module 703, wherein the retransmission module 703 is used to determine whether the A-MPDU aggregation frame has been successfully transmitted after the TDMA network device transmits each A-MPDU aggregation frame using a superframe time slot; when the A-MPDU aggregation frame has not been successfully transmitted and it is necessary to retransmit the MPDU frames that have not been successfully transmitted in the A-MPDU aggregation frame, the retransmission module 703 retransmits the MPDU frames that have not been successfully transmitted within the width of the retransmission time slot.

[0127] In some embodiments, the sending module 702 is further configured to: after sending each A-MPDU aggregate frame within the superframe time slot, count the total number of A-MPDU aggregate frames sent and the number of retransmissions of A-MPDU aggregate frames, and calculate a first sending result of the A-MPDU aggregate frame based on the number of retransmissions and the total number; count the total number of MPDU frames included in the sent A-MPDU aggregate frame and the number of MPDU frame retransmissions, and calculate a second sending result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames; and adjust the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregate frame according to the first sending result and the second sending result.

[0128] In some embodiments, the sending module 702 is further configured to broadcast the MPDU frame within the target time slot width of the TDMA network device when the maximum number of MPDU frames aggregated in the A-MPDU aggregated frame is 1, wherein the MPDU frame is an AEF frame obtained by aggregating multiple device Ethernet data frames; when the MPDU frame is retransmitted, the MPDU frame is retransmitted through the retransmission confirmation mechanism of the data link layer of the device Ethernet data.

[0129] It should be noted that the beneficial effects of the TDMA network data aggregation and transmission device here correspond to those of the TDMA network data aggregation and transmission method mentioned above, so the beneficial effects of the TDMA network data aggregation and transmission device will not be elaborated here.

[0130] Figure 8 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 8 As shown, the electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communications interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call logical instructions in the memory 830 to execute a TDMA network data aggregation and transmission method. This method includes: configuring the target time slot width of the TDMA network device to the time slot width required to transmit at least one maximum aggregated A-MPDU aggregation frame, wherein the maximum aggregated A-MPDU aggregation frame includes a maximum allowed number of MPDU frames; when the TDMA network device transmits each A-MPDU aggregation frame using a superframe time slot, reserving a retransmission time slot width within the target time slot width for retransmitting the A-MPDU aggregation frame, wherein the number of aggregated MPDU frames in the A-MPDU aggregation frame is determined based on the currently available target time slot width, and the superframe time slot consists of at least one target time slot width.

[0131] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0132] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the TDMA network data aggregation and transmission method provided by the above methods. The method includes: configuring the target time slot width of the TDMA network device to the time slot width required to transmit at least one maximum aggregated A-MPDU aggregation frame, wherein the maximum aggregated A-MPDU aggregation frame includes a maximum allowed number of MPDU frames; when the TDMA network device transmits each A-MPDU aggregation frame using a superframe time slot, reserving a retransmission time slot width for retransmitting the A-MPDU aggregation frame within the target time slot width, wherein the number of aggregated MPDU frames in the A-MPDU aggregation frame is determined according to the currently available target time slot width, and the superframe time slot consists of at least one target time slot width.

[0133] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a TDMA network data aggregation and transmission method provided by the methods described above. The method includes: configuring a target time slot width of the TDMA network device to the time slot width required to transmit at least two A-MPDU aggregate frames with the largest number of aggregated MPDU frames; configuring a target time slot width of the TDMA network device to the time slot width required to transmit at least one A-MPDU aggregate frame with the largest aggregation, wherein the A-MPDU aggregate frame with the largest aggregation includes a maximum allowed number of MPDU frames; and reserving a retransmission time slot width for retransmitting the A-MPDU aggregate frame within the target time slot width when the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, wherein the number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on the currently available target time slot width, and the superframe time slot consists of at least one target time slot width.

[0134] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for data aggregation and transmission in a TDMA network, characterized in that, include: Configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes the maximum allowed number of MPDU frames; When the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, a retransmission time slot width for retransmitting the A-MPDU aggregate frame is reserved within the target time slot width. The number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on the currently available target time slot width. The superframe time slot consists of at least one target time slot width. After the TDMA network device sends each A-MPDU aggregate frame using the superframe slot, it determines whether the A-MPDU aggregate frame has been successfully sent. When the A-MPDU aggregation frame fails to be transmitted and it is necessary to retransmit the MPDU frames that failed to be transmitted in the A-MPDU aggregation frame, the failed MPDU frames shall be retransmitted within the width of the retransmission time slot.

2. The TDMA network data aggregation and transmission method according to claim 1, characterized in that, The retransmission time slot width includes any one of the following: The required time slot width for retransmitting MPDU frames that were not successfully transmitted in the A-MPDU aggregate frame; The required time slot width for retransmitting all MPDU frames included in the A-MPDU aggregate frame.

3. The TDMA network data aggregation and transmission method according to claim 2, characterized in that, The retransmission of the unsuccessfully transmitted MPDU frame within the retransmission time slot width includes: Determine the number of times the MPDU frames that were not successfully transmitted have been sent; When the number of transmissions is less than or equal to the pre-configured maximum number of retransmissions, the MPDU frame that was not successfully transmitted is retransmitted first using the retransmission time slot width.

4. The TDMA network data aggregation and transmission method according to claim 3, characterized in that, When prioritizing the retransmission of the unsuccessfully transmitted MPDU frame using the retransmission time slot width, the method further includes: When the number of transmissions exceeds the pre-configured maximum number of retransmissions or the unsuccessfully transmitted MPDU frame reaches its lifespan, the resources of the MPDU frame are released. The lifespan of the MPDU frame is at least one superframe slot.

5. The TDMA network data aggregation and transmission method according to claim 1, characterized in that, The method further includes: After sending each A-MPDU aggregate frame within the superframe time slot, the total number of A-MPDU aggregate frames sent and the number of retransmissions of A-MPDU aggregate frames are counted, and the first transmission result of A-MPDU aggregate frames is calculated based on the number of retransmissions and the total number. The total number of MPDU frames included in the transmitted A-MPDU aggregated frames and the number of MPDU frame retransmissions are counted, and the second transmission result of the MPDU frame is calculated based on the number of MPDU frame retransmissions and the total number of MPDU frames. Based on the first transmission result and the second transmission result, adjust the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width.

6. The TDMA network data aggregation and transmission method according to claim 5, characterized in that, The calculation of the first transmission result of the A-MPDU aggregated frame based on the number of retransmissions and the total number includes: The transmission success rate and the proportion of the first retransmission of the A-MPDU aggregated frame are calculated based on the total number and the number of retransmissions, and are used as the first transmission result of the A-MPDU aggregated frame. The calculation of the second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames includes: The success rate of MPDU frame transmission and the proportion of second retransmissions are calculated based on the total number of MPDU frames and the number of MPDU frame retransmissions, and are used as the second transmission result of MPDU frames. Based on the first transmission result and the second transmission result, adjust the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width.

7. The TDMA network data aggregation and transmission method according to claim 6, characterized in that, The step of adjusting the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregated frame based on the first transmission result and the second transmission result includes: When the first transmission result satisfies the first threshold and the second transmission result satisfies the second threshold, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are reduced. The first transmission result satisfies the first threshold if the transmission success rate of the A-MPDU aggregated frame is less than a preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame is greater than a preset first retransmission threshold. The second transmission result satisfies the second threshold if the transmission success rate of the MPDU frame is less than the preset second success threshold or the second retransmission ratio of the MPDU frame is greater than the preset second retransmission threshold. When the first transmission result does not meet the first threshold and the second transmission result does not meet the second threshold, the number of MPDU frames aggregated in the current A-MPDU aggregated frame and the target time slot width are increased. The first transmission result not meeting the first threshold includes the transmission success rate of the A-MPDU aggregated frame not being less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregated frame not being greater than the preset first retransmission threshold. The second transmission result does not meet the second threshold, including the MPDU frame transmission success rate being not less than the preset second success threshold or the MPDU frame second retransmission ratio being not greater than the preset second retransmission threshold.

8. The TDMA network data aggregation and transmission method according to claim 1, characterized in that, The method further includes: When the maximum number of MPDU frames aggregated in the A-MPDU aggregated frame is 1, the MPDU frame is broadcast within the target time slot width of the TDMA network device, wherein the MPDU frame is an AEF frame obtained by aggregating multiple device Ethernet data frames; When the MPDU frame is retransmitted, it is retransmitted through the retransmission acknowledgment mechanism of the data link layer of the device's Ethernet data.

9. A TDMA network data aggregation and transmission device, characterized in that, include: A configuration module is used to configure the target time slot width of the TDMA network device to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes the maximum allowed number of MPDU frames; The transmitting module is configured to reserve a retransmission time slot width for retransmitting the A-MPDU aggregate frame within the target time slot width when the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot. The number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on the currently available target time slot width, and the superframe time slot consists of at least one target time slot width. The retransmission module is used to determine whether the A-MPDU aggregate frame has been successfully transmitted after the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot; when the A-MPDU aggregate frame has not been successfully transmitted and it is necessary to retransmit the MPDU frames that have not been successfully transmitted in the A-MPDU aggregate frame, the module retransmits the MPDU frames that have not been successfully transmitted within the width of the retransmission time slot.

Citation Information

Patent Citations

  • Data transmission and retransmission method

    CN103701574A