TDMA network data aggregation sending method and device

By configuring the target time slot width and reserving retransmission time slots in the TDMA network, dynamically adjusting the number of MPDU frames aggregated and prioritizing the retransmission of unsuccessfully sent frames, the problem of unpredictable A-MPDU aggregate frame transmission time is solved, achieving reduced network latency and improved resource utilization.

CN120751490AActive Publication Date: 2025-10-03SHENYANG BONCHREE TECHNOLOGY CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The time required to send A-MPDU aggregate frames in existing TDMA networks is unpredictable, resulting in 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 TDMA network equipment to be required to send at least one maximum aggregated A-MPDU frame, reserve the retransmission time slot width, dynamically adjust the aggregation number and time slot width of MPDU frames, give priority to retransmitting MPDU frames that were not successfully sent, and reasonably plan time slot resources within the superframe time slot.

Benefits of technology

It reduces network delay, improves the utilization of time slot width, reduces network resource overhead, and ensures the real-time and integrity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120751490A_ABST
    Figure CN120751490A_ABST
Patent Text Reader

Abstract

The invention provides a TDMA network data aggregation sending method and device, and relates to the technical field of wireless communication, and the method comprises the steps: configuring the target time slot width of TDMA network equipment to be the time slot width required for sending at least one A-MPDU aggregation frame with maximum aggregation; and when the TDMA network equipment sends each A-MPDU aggregation frame by using the superframe time slot, reserving a retransmission time slot width for retransmitting the A-MPDU aggregation frame in the target time slot width. Through application of the method and the device, the problems that network delay is increased due to the fact that network data is newly added during aggregation transmission of the A-MPDU, and network resource overhead is increased due to the fact that time consumption of sending the A-MPDU cannot be predicted in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communications, and in particular to a method and device for aggregated transmission of TDMA network data. Background Art

[0002] Current wireless network data transmission is based on Time Division Multiple Access (TDMA) scheduling. Each device is allocated an independent time slot resource for sending data. 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). To address the real-time nature of device data transmission, wireless networks typically limit the time slot width to transmitting a single frame of data. Therefore, for applications with high data traffic, wireless networks based on TDMA scheduling typically use Aggregate MAC Protocol Data Unit (A-MPDU) transmission. However, the transmission time of each A-MPDU aggregate frame under this transmission method is unpredictable. This is primarily due to the fact that after an A-MPDU aggregate frame is transmitted, some MAC Protocol Data Unit (MPDU) frames may need to be retransmitted. For example, if an A-MPDU aggregate frame contains 32 MPDUs (MAC Protocol Data Units), but a device only successfully receives 22 of them, the remaining 10 MPDU frames must be retransmitted. Furthermore, 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 the transmitted A-MPDU aggregate frames containing varying numbers of MPDUs.

[0003] The existing technology directly and uniformly allocates time slot widths for multiple A-MPDU aggregation frames without planning based on the required time slot width of each A-MPDU aggregation frame, resulting in increased wireless network latency and high network resource overhead. Summary of the Invention

[0004] The present invention provides a TDMA network data aggregation transmission method and device, which are used to solve the problem in the prior art that the time consumption of A-MPDU frame transmission cannot be estimated when A-MPDU aggregation transmission is adopted, resulting in increased network delay and high network resource overhead when new network data is added.

[0005] The present invention provides a TDMA network data aggregation and transmission method, comprising: Configuring a target time slot width of the TDMA network device to be a time slot width required to transmit at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; When the TDMA network device uses the superframe time slot to send each A-MPDU aggregate frame, 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, and the superframe time slot consists of at least one target time slot width.

[0006] In some embodiments, the retransmission time slot width includes any one of the following: A time slot width required for retransmitting an unsuccessfully transmitted MPDU frame in the A-MPDU aggregate frame; The required time slot widths of all MPDU frames included in the A-MPDU aggregation frame are retransmitted.

[0007] In some embodiments, the method further comprises: After the TDMA network device sends each A-MPDU aggregate frame using a superframe time slot, determining whether the A-MPDU aggregate frame is successfully sent; When the A-MPDU aggregate frame is not successfully sent and the MPDU frame that is not successfully sent in the A-MPDU aggregate frame needs to be retransmitted, the MPDU frame that is not successfully sent is retransmitted within the retransmission time slot width.

[0008] In some embodiments, retransmitting the unsuccessfully transmitted MPDU frame within the retransmission time slot width includes: Determining the number of times the unsuccessfully sent MPDU frame has been sent; When the number of transmissions is less than or equal to a preconfigured maximum number of retransmissions, the unsuccessfully transmitted MPDU frame is preferentially retransmitted using the retransmission timeslot width.

[0009] In some embodiments, when the unsuccessfully transmitted MPDU frame is preferentially retransmitted using the retransmission time slot width, the method further includes: When the number of transmissions is greater than the preconfigured maximum number of retransmissions or the unsuccessfully transmitted MPDU frame has reached its life cycle, the resources of the MPDU frame are released, and the life cycle of the MPDU frame is at least one superframe time slot.

[0010] In some embodiments, the method further comprises: After each A-MPDU aggregate frame is sent in the superframe time slot, counting the total number of sent A-MPDU aggregate frames and the number of retransmissions of the A-MPDU aggregate frame, and calculating a first sending result of the A-MPDU aggregate frame based on the number of retransmissions and the total number; Counting the total number of MPDU frames and the number of MPDU frame retransmissions included in the sent A-MPDU aggregate frame, and calculating a second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames; According to the first sending result and the second sending result, the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width are adjusted.

[0011] In some embodiments, the calculating the first transmission result of the A-MPDU aggregate frame based on the number of retransmissions and the total number includes: Calculate the transmission success rate and the first retransmission ratio of the A-MPDU aggregate frame according to the total number and the number of retransmissions, as the first transmission result of the A-MPDU aggregate frame; The calculating the second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames includes: Calculating a transmission success rate of the MPDU frame and a second retransmission ratio according to the total number of MPDU frames and the number of retransmissions of the MPDU frame as a second transmission result of the MPDU frame; According to the first sending result and the second sending result, the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width are adjusted.

[0012] In some embodiments, adjusting the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width according to the first sending result and the second sending result includes: When the first sending result satisfies a first threshold and the second sending result satisfies a second threshold, reducing the number of aggregated MPDU frames in the current A-MPDU aggregate frame and the target time slot width, wherein the first sending result satisfies the first threshold includes that the sending success rate of the A-MPDU aggregate frame is less than a preset first success threshold or the first retransmission ratio of the A-MPDU aggregate frame is greater than a preset first retransmission threshold; The second sending result meeting the second threshold includes that the sending success rate of the MPDU frame is less than a preset second success threshold or the second retransmission ratio of the MPDU frame is greater than a preset second retransmission threshold; When the first sending result does not meet the first threshold and the second sending result does not meet the second threshold, increase the number of aggregated MPDU frames in the current A-MPDU aggregate frame and the target time slot width, wherein the first sending result does not meet the first threshold includes that the sending success rate of the A-MPDU aggregate frame is not less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregate frame is not greater than the preset first retransmission threshold; The second sending result not meeting the second threshold includes that the sending success rate of the MPDU frame is not less than a preset second success threshold or the second retransmission ratio of the MPDU frame is not greater than a preset second retransmission threshold.

[0013] In some embodiments, the method further comprises: When the maximum number of MPDU frames aggregated in the A-MPDU aggregate frame is 1, broadcasting the MPDU frame 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, the MPDU frame is retransmitted through a retransmission confirmation mechanism of the data link layer of the Ethernet data of the device.

[0014] The present invention also provides a TDMA network data aggregation and sending device, comprising: a configuration module, configured to configure a target time slot width of the TDMA network device to a time slot width required for sending at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; The sending 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 uses the superframe time slot to send each A-MPDU aggregate frame, 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 is composed of at least one target time slot width.

[0015] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the above-mentioned TDMA network data aggregation and transmission methods is implemented.

[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for aggregated transmission of TDMA network data as described above is implemented.

[0017] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned TDMA network data aggregation and transmission methods.

[0018] The TDMA network data aggregation and transmission method and device provided by the present invention allocates 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 when allocating time slot width, ensuring that A-MPDU aggregate frames with various numbers of MPDU frames can be transmitted. When each A-MPDU aggregate frame is sent 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. That is, a time slot width is reserved each time an A-MPDU aggregate frame is sent to process possible retransmissions of the A-MPDU aggregate frame. It can also be used to process A-MPDU aggregate frames transmitted by new access devices, without affecting the real-time performance of network data transmission and avoiding network delays. This rationally allocates and plans time slot resources, improves the utilization rate of time slot widths, and reduces network overhead. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 The present invention provides a flow chart of the TDMA network data aggregation and transmission method.

[0021] Figure 2 It is a principle diagram of the TDMA network data aggregation and sending method provided by the present invention.

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

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

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

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

[0026] Figure 7 It is a structural diagram of the TDMA network data aggregation and sending device provided by the present invention.

[0027] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0028] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0029] The TDMA network data aggregation and transmission method and device of the present invention will be described below with reference to the accompanying drawings. Figure 1 FIG. 1 is a flow chart of a TDMA network data aggregation and transmission method provided by the present invention, such as Figure 1 As shown, the method includes the following steps 101 to 102.

[0030] Step 101: Configure a target timeslot width of a TDMA network device to a timeslot width required for transmitting at least one maximum aggregated A-MPDU aggregate frame.

[0031] When a TDMA network device and an access device perform wireless network transmission, the first step is to determine whether the access device is a high-traffic transmission scenario. If so, the A-MPDU aggregation function is used to aggregate multiple MPDU frames into a single A-MPDU aggregate frame for transmission. The access device is also the data receiver.

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

[0033] When wireless network transmission is performed in a high-traffic transmission scenario, the TDMA network device and the access device both send and access A-MPDU aggregate frames or MPDU frames within the corresponding time slot width. Here, before data is sent, the target time slot width of the TDMA network device is configured to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame. Here, the maximum aggregated A-MPDU aggregate frame includes the maximum allowed number of MPDU frames, and the number of MPDU frames aggregated in the A-MPDU aggregate frame is limited, which is called the maximum aggregation number, denoted as N. In other words, an A-MPDU aggregate frame aggregates at most N MPDU frames, and N here can be 32.

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

[0035] like Figure 2 As shown, when the transmission starts, after the TDMA network device and the access device are connected, the maximum number of aggregations in the MPDU frame in the exchange A-MPDU aggregation frame is further triggered according to the configuration of the register, the initial target time slot width is determined, and then the aggregation number of the MPDU frame is determined, and the MPDU frame is aggregated to form an A-MPDU aggregation frame.

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

[0037] When performing data transmission, TDMA network devices complete the transmission in superframe time slots, which are composed of at least one target time slot width. When transmitting data, TDMA network devices use superframe time slots to send each A-MPDU aggregate frame one by one. The number of MPDU frames aggregated in the A-MPDU aggregate frame is determined based on the currently available target time slot width. The number of aggregated MPDU frames in the first A-MPDU aggregate frame uses the initial configuration of the register. After transmission, it occupies a part of the target time slot width. Starting from the second subsequent A-MPDU aggregate frame, in order to ensure smooth transmission, the number of MPDU frames aggregated in the A-MPDU aggregate frame needs to be adjusted based on the currently available target time slot width. The longer the currently available target time slot width, the larger the number of MPDU frames aggregated, and the smaller the number. The currently available target time slot width is also adjusted accordingly based on the transmission of the previous A-MPDU aggregate frame, such as increasing or decreasing.

[0038] When a TDMA network device uses a superframe time slot to send each A-MPDU aggregate frame, it is necessary to reserve a retransmission time slot width for retransmitting the A-MPDU aggregate frame within the target time slot width.

[0039] Here Figure 2 As shown, after the A-MPDU aggregation function is triggered, A-MPDU aggregation frames can be sent one by one within the target time slot width, and when an A-MPDU aggregation frame is sent, the aggregation descriptor of the next A-MPDU aggregation frame is prepared. The aggregation descriptor includes the length of the A-MPDU, MPDU linked list information and transmission-related parameter information.

[0040] When each A-MPDU aggregate frame is sent, a retransmission slot width for retransmitting the A-MPDU aggregate frame is reserved within the target slot width. That is to say, when an A-MPDU aggregate frame is sent, a retransmission slot width for retransmitting this A-MPDU aggregate frame is reserved within the remaining target slot width. This is used to handle possible retransmissions of A-MPDU aggregate frames or to send subsequent A-MPDU aggregate frames of TDMA network devices. Of course, a TDMA network device may correspond to more than one access device. There may be a TDMA network device that sends to multiple access devices at the same time. The A-MPDU aggregate frames of different access devices are different, and may be suddenly inserted during the transmission process. Therefore, the retransmission slot width may also be used to transmit A-MPDU aggregate frames of other access devices.

[0041] When sending an A-MPDU aggregate frame, some or all of the MPDUs may fail to be sent. A failed transmission means that the data has not been acknowledged by the receiver, while a successful transmission means that the data has been acknowledged by the receiver. Failed MPDUs need to be retransmitted, meaning they are sent again.

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

[0043] The first reservation method reserves the required time slots for retransmitting failed MPDUs based on the number of failed MPDUs, ensuring efficient time slot utilization. The second method considers the situation where all MPDUs fail to be transmitted and directly reserves the required time slots for all MPDUs included in the A-MPDU aggregate frame. This ensures sufficient time slots for both partial and full retransmissions, and any excess time slots are used for subsequent A-MPDU aggregate transmissions, avoiding wasted time slots.

[0044] In this embodiment of the present invention, when each A-MPDU aggregate frame is transmitted, the target timeslot width is planned, and retransmission timeslot widths are reserved to facilitate possible retransmissions of the A-MPDU aggregate frame. This rational planning of timeslot width resources increases timeslot width utilization and ensures the integrity of A-MPDU aggregate frame data transmission.

[0045] Therefore, by sending A-MPDU aggregate frames and reserving retransmission time slot width, each A-MPDU aggregate frame can be sent one by one within the superframe time slot, ensuring that the MPDU frame can be successfully sent under normal circumstances and confirmed to be received by the data receiver.

[0046] In the embodiment of the present invention, when allocating time slot widths, the target time slot width of the TDMA network device is allocated to the time slot width required to send at least one maximum aggregated A-MPDU aggregate frame, ensuring that A-MPDU aggregate frames with different numbers of MPDU frames can be transmitted. When each A-MPDU aggregate frame is sent 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. That is, a time slot width is reserved each time an A-MPDU aggregate frame is sent to process possible retransmissions of the A-MPDU aggregate frame. It can also be used to process A-MPDU aggregate frames transmitted by new access devices, without affecting the real-time performance of network data transmission and avoiding network delays. This rationally allocates and plans time slot resources, improves the utilization rate of time slot widths, and reduces network overhead.

[0047] In some embodiments, after the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, it determines whether the A-MPDU aggregate frame is successfully transmitted.

[0048] Here, after a TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, it must determine whether the A-MPDU aggregate frame has been successfully transmitted. In other words, it must determine whether all A-MPDU frames included in the A-MPDU aggregate frame have been received by the receiver. If so, the A-MPDU aggregate frame has been successfully transmitted and no retransmission is required. If not, the A-MPDU aggregate frame has not been successfully transmitted and a retransmission is required if the transmission fails.

[0049] Continue to see 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 meets the transmission of the MPDU frame, and determine whether the aggregated MPDU frame in the sent A-MPDU aggregate frame needs to be retransmitted, so as to determine how to continue the transmission in the reserved retransmission time slot width.

[0050] Among them, checking whether the remaining time slot width meets the transmission of MPDU frames is specifically to determine 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 retransmission of the MPDU frame that was not successfully sent is performed. If not, it means that the subsequent A-MPDU aggregate frame can no longer be sent or the retransmission of the MPDU frame that was not successfully sent can no longer be performed within the target time slot width of the current superframe time slot, and it is necessary to wait for the next superframe time slot.

[0051] Furthermore, when the A-MPDU aggregate frame is successfully transmitted and the MPDU frames that are not successfully transmitted in the A-MPDU aggregate frame need to be retransmitted, the MPDU frames that are not successfully transmitted are retransmitted within the retransmission time slot width.

[0052] Here, the sending of A-MPDU aggregate frames is divided into two cases for explanation. The first case is when the A-MPDU aggregate frame is successfully sent and there is no need to retransmit the MPDU frames that were not successfully sent in the A-MPDU aggregate frame, the unsent A-MPDU aggregate frames continue to be sent within the retransmission time slot width.

[0053] For example, if Figure 3 As shown in the figure, the maximum number of MPDUs aggregated in the initial configuration A-MPDU aggregation frame is 32, that is, N is 32, the maximum number of retransmissions per MPDU frame is 4, and the target slot width within the superframe time slot is SLOTTIME1. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU32) is transmitted, the time slot width occupied by the transmission is half of SLOTTIME1. Therefore, a time slot for possible retransmission is reserved, and half of SLOTTIME1 is reserved for possible retransmissions of AMPDU1.

[0054] In the absence of retransmission, when AMPDU1 is sent, it is determined that the available time for sending the subsequent second A-MPDU aggregate frame AMPDU2 (including MPDU33 to MPDU48) is half of 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 SLOT TIME1 is reserved to handle possible retransmission of AMPDU2, and so on, until all A-MPDU aggregate frames are sent.

[0055] The second is the situation where the A-MPDU aggregate frame is not successfully sent and the MPDU frames that are not successfully sent in the A-MPDU aggregate frame need to be retransmitted. In this case, it is divided into partial retransmission and full retransmission. The MPDU frames that are not successfully sent are retransmitted within the retransmission time slot width.

[0056] Specifically, the number of times the unsuccessfully transmitted MPDU frame has been sent is first determined. When the number of times the MPDU frame has been sent is less than or equal to the pre-configured maximum number of retransmissions, the unsuccessfully transmitted MPDU frame is preferentially retransmitted using the retransmission slot width.

[0057] Here, unsuccessfully transmitted MPDU frames are prioritized for retransmission within the reserved retransmission slot width. This means that during the retransmission process, the unsuccessfully transmitted MPDU frame is first retransmitted to determine if it was successfully transmitted. If so, retransmission is complete, and the subsequent unsent A-MPDU aggregate frame is then transmitted. If transmission fails, retransmission fails, and retransmission continues until the number of transmitted MPDU frames reaches the preconfigured maximum number of retransmissions. If the number exceeds four, retransmission of the MPDU frame ends.

[0058] like Figure 2 As shown, when determining that an MPDU frame in an A-MPDU aggregate frame needs to be retransmitted, it is necessary to check whether the number of times the unsuccessfully transmitted MPDU frame 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 retransmissions of the MPDU frame has reached the maximum number of retransmissions, that is, it has not been successfully transmitted after 4 times, and it may have lost time, so the retransmission of the MPDU frame is terminated. If it does, it means that the number of retransmissions has not reached the maximum number of retransmissions, that is, it has not reached 4 times. After checking that the remaining time slot width is sufficient for the transmission of the MPDU frame, the retransmission of the unsuccessfully transmitted MPDU frame is continued.

[0059] Here, the number of MPDU frames that can be transmitted within the remaining time slot width (ie, the retransmission time slot width) is first determined, and then the MPDU frames that have not been successfully transmitted in the A-MPDU aggregation frame are preferentially retransmitted through the retransmission time slot width.

[0060] For example, if Figure 4 As shown in the figure, assume that the maximum number of MPDUs aggregated in the initial configuration A-MPDU aggregation frame is 32 (i.e., N is 32), the maximum number of retransmissions per MPDU frame is 4, the MPDU lifecycle is two superframe slots, and the target slot widths within the superframe slots are SLOT TIME1 and SLOT TIME2. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 through MPDU32) is transmitted, the transmission occupies half of SLOT TIME1, reserving half of SLOT TIME1 for possible retransmissions of AMPDU1.

[0061] The first is the situation where all retransmissions are required. When AMPDU1 is sent, it is determined that the sending time occupies half of SLOT TIME1, and half of SLOT TIME1 is reserved for the retransmission of AMPDU1. After AMPDU1 is completed, it is found that all retransmissions are required. Therefore, within the reserved half of SLOT TIME1, the first retransmission of AMPDU1 is performed first, that is, Figure 4 In the subsequent SLOT TIME2 in the superframe time slot, it is found that AMPDU1 still needs to be retransmitted in full, so the second and third retransmissions are performed on AMPDU1, that is, Figure 4 Retransmission 2, retransmission 3. And so on, until the maximum number of MPDU retransmissions in AMPDU1 reaches 4 times, the network resources occupied by the MPDU are released for the subsequent transmission of the second A-MPDU aggregate frame A-MPDU2 (including MPDU1 to MPDU32).

[0062] The second is the situation where partial retransmission is required, such as Figure 5As shown, it is assumed that the maximum number of MPDU frames aggregated in the initial configuration A-MPDU aggregation frame is 16, that is, N is 16, and the target time slot widths in the superframe time slot are SLOT TIME3 and SLOT TIME4. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU16) is sent, it is determined that the sending time occupies half of SLOT TIME3, so a possible retransmission time slot is reserved, and half of SLOT TIME3 is reserved for the retransmission of AMPDU1. At this time, it is found that 8 MPDU frames in AMPDU1 have failed to be sent and need to be retransmitted, and it is determined that the number of times these 8 MPDU frames have been sent is less than or equal to the pre-configured maximum number of retransmissions, that is, less than 4 times, so the 8 MPDUs are preferentially retransmitted within the reserved half of SLOT TIME3, that is, Figure 5 Then, the second A-MPDU aggregate frame AMPDU2 is sent in SLOT TIME2. Assuming that AMPDU2 aggregates 16 MPDU frames, only 8 MPDU frames (including MPDU1 to MPDU8) can be executed at this time. It is also necessary to reserve possible retransmission time slots, and reserve a quarter of SLOT TIME3 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 full, so the second and third retransmissions are continued for AMPDU1, that is, Figure 5 Retransmission 2, retransmission 3. And so on, until the maximum number of MPDU retransmissions in AMPDU1 reaches 4 times, the network resources occupied by the MPDU are released for the subsequent transmission of the second A-MPDU aggregate frame A-MPDU2 (including MPDU1 to MPDU8).

[0063] In an embodiment of the present invention, by reserving a retransmission time slot width, when an A-MPDU aggregation frame needs to be retransmitted, the MPDU frames that have not been successfully sent are retransmitted first, thereby ensuring the continuity and real-time performance of the data frames during data transmission. The retransmission of the MPDU frames is limited by a preconfigured maximum number of retransmissions, thereby preventing invalid MPDU frames from occupying time slot width resources.

[0064] In some embodiments, when retransmitting an unsuccessfully transmitted MPDU frame preferentially using a retransmission slot width, it is necessary to determine whether the number of transmissions of the unsuccessfully transmitted MPDU frame exceeds a preconfigured maximum number of retransmissions or has reached a preconfigured lifecycle. When the number of transmissions exceeds the preconfigured maximum number of retransmissions or the unsuccessfully transmitted MPDU frame has reached its lifecycle, the resources for the MPDU frame are released.

[0065] Here, when the number of times an unsuccessfully transmitted MPDU frame has been sent is greater than the pre-configured maximum number of retransmissions, for example, greater than 4 times, it means that the MPDU frame has been sent and retransmitted more than 4 times. At this time, the retransmission of the MPDU frame is restricted and the resources of the MPDU frame are released. The resources here refer to the occupied time slot width. In addition, when an unsuccessfully transmitted MPDU frame has reached its life cycle, it is also necessary to restrict the retransmission of the MPDU frame and release the resources of the MPDU frame. In the embodiment of the present invention, the life cycle of the MPDU frame is pre-configured and is at least one superframe time slot, generally set to 1. In other words, if the MPDU frame has not been successfully sent or retransmitted at the end of a superframe time slot, the MPDU frame has lost its data timeliness. At this time, there is no need to continue transmitting it, and the resources of the MPDU frame can be released.

[0066] like Figure 6 As shown in the figure, it is assumed that the maximum number of MPDU frames aggregated in the initial configuration A-MPDU aggregation frame is 8, that is, N is 4, the maximum number of retransmissions of each MPDU frame is 4, the life cycle of the MPDU frame is one superframe time slot, and the target time slot width within the superframe time slot is SLOT TIME5, for example, 2 seconds. After the first A-MPDU aggregation frame AMPDU1 (including MPDU1 to MPDU8) is sent, it is determined that the time slot width occupied by the transmission is one-quarter of SLOT TIME5. It is preset to perform three retransmissions within the remaining time slot width in SLOT TIME5, as shown in the figure. Figure 6 Retransmission 1, Retransmission 2, and Retransmission 3 are performed in the retransmission time slot reserved for the second A-MPDU aggregate frame AMPDU2 (including MPDU1 through MPDU8). Therefore, retransmission of the unsuccessfully transmitted MPDU frames takes precedence. If all three retransmissions fail, it means that the unsuccessfully transmitted MPDU frames in AMPDU1 have been sent more than four times. Retransmission of the MPDU frames in AMPDU1 ends, freeing up MPDU resources for sending the second A-MPDU aggregate frame AMPDU2.

[0067] If SLOT TIME5 ends and enters the next superframe time slot, it is found that there are still MPDU frames in AMPDU1 that have not been sent successfully. This means that the unsuccessfully sent MPDU frames in AMPDU1 have reached their life cycle, and there is no need to retransmit them, thus releasing the resources of the MPDU frames.

[0068] When MPDU frames are not aggregated, the maximum number of retransmissions for each MPDU frame is four. Therefore, if retransmission fails in a superframe slot, each MPDU frame is retransmitted three times. If the MPDU frame still fails to be retransmitted on the third attempt, the MPDU frame resources are released. If the MPDU frame still fails to be sent or retransmitted successfully at the end of the superframe slot, it indicates that the lifecycle has been reached. The MPDU frame resources are released, and retransmissions of subsequent MPDU frames are continued until all MPDU frames are retransmitted.

[0069] In an embodiment of the present invention, by setting a maximum number of retransmissions and a life cycle for an MPDU frame of an A-MPDU aggregation frame, resources of invalid MPDU frames that have reached their life cycle can be released in a timely manner when the A-MPDU aggregation frame is transmitted over the network, thereby effectively improving the utilization of network resources and preventing invalid MPDU frames from occupying time slot width resources.

[0070] In some embodiments, after sending each A-MPDU aggregate frame within the superframe time slot, the embodiments of the present invention also count the total number and retransmission times of the A-MPDU aggregate frames and MPDU frames respectively to determine the sending results of the A-MPDU aggregate frames and MPDU frames. The sending results specifically include the retransmission ratio and the sending success rate, and then dynamically adjust the maximum aggregation number of MPDU frames in the A-MPDU aggregate frame and the target time slot width.

[0071] Specifically, after each A-MPDU aggregate frame is transmitted within a superframe time slot, the total number of transmitted A-MPDU aggregate frames and the number of retransmissions of the A-MPDU aggregate frames are counted. The total number of A-MPDU aggregate frames is the number of transmitted A-MPDU aggregate frames, and the number of retransmissions is the number of A-MPDU aggregate frames that were retransmitted. Based on these two numbers, the proportion of retransmitted A-MPDU aggregate frames and the A-MPDU aggregate frame transmission success rate are calculated as the first transmission result.

[0072] In addition, the total number of MPDU frames included in the transmitted A-MPDU aggregate frame and the number of MPDU frame retransmissions are also counted. The total number of MPDU frames is the number of MPDU frames included in all transmitted A-MPDU aggregate 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 MPDU frame transmission success rate can be calculated as the second transmission result.

[0073] Furthermore, the number of aggregated MPDU frames and the target time slot width in the current A-MPDU aggregation frame may be adjusted according to the first sending result and the second sending result.

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

[0075] In this embodiment of the present invention, after each A-MPDU aggregate frame is successfully transmitted within a superframe time slot, the number of MPDU frames aggregated within the A-MPDU aggregate frame and the target time slot width are dynamically adjusted in real time based on the transmission results of the A-MPDU aggregate frame and the MPDU frame. This allows for adaptive adjustments to the amount of data transmitted and the time slot width resources to be made in real time based on the quality of data transmission, thereby improving network transmission efficiency and time slot resource utilization.

[0076] In the above embodiment, the calculation of the first sending result of the A-MPDU aggregate frame based on the number of retransmissions and the total number can be achieved in the following manner.

[0077] Specifically, the transmission success rate of the A-MPDU aggregate frame and the first retransmission ratio are calculated according to the total number and the number of retransmissions, as the first transmission result of the A-MPDU aggregate frame.

[0078] Here, the ratio of the number of retransmissions of an A-MPDU aggregate frame to the total number of A-MPDU aggregate frames sent is calculated as the first retransmission ratio. Alternatively, the difference between the total number of A-MPDU aggregate frames sent and the number of retransmissions of the A-MPDU aggregate frame can be calculated, which is the number of successfully sent A-MPDU aggregate frames. The ratio of this difference to the total number of A-MPDU aggregate frames sent is then calculated, which is the A-MPDU aggregate frame transmission success rate.

[0079] The second sending result of the MPDU frame is calculated based on the number of MPDU frame retransmissions and the total number of MPDU frames. This can be achieved in the following manner, which is described in detail below.

[0080] Here, the transmission success rate of the MPDU frame and the second retransmission ratio are calculated according to the total number of MPDU frames and the number of MPDU frame retransmissions, as the second transmission result of the MPDU frame.

[0081] Specifically, the ratio of the number of MPDU frame retransmissions to the total number of MPDU frames is calculated as the second retransmission ratio. Alternatively, the difference between the total number of MPDU frames and the number of MPDU frame retransmissions can be calculated to determine the number of successfully transmitted MPDU frames. The ratio of this difference to the total number of MPDU frames can then be calculated to determine the MPDU frame transmission success rate.

[0082] In an embodiment of the present invention, after each A-MPDU aggregate frame is sent within a superframe time slot, the retransmission ratio and transmission success rate of the MPDU frames of the A-MPDU aggregate frame at the current progress are calculated, so that the quality of the current data transmission can be determined in real time. This facilitates adjustment of the number of MPDU frames aggregated in subsequent A-MPDU aggregate frames and the target time slot width, thereby improving the efficiency of data transmission.

[0083] Furthermore, the following specifically describes adjusting the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width according to the first sending result and the second sending result.

[0084] When the first transmission result satisfies the first threshold and the second transmission result satisfies the second threshold, the number of aggregated MPDU frames in the current A-MPDU aggregate frame and the target time slot width are reduced. Here, the first transmission result satisfying the first threshold includes: the transmission success rate of the A-MPDU aggregate frame is less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregate frame is greater than the preset first retransmission threshold; the second transmission result satisfying the second threshold includes: 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.

[0085] Specifically, when the first transmission result of an A-MPDU aggregate frame meets a first threshold and the second transmission result of an MPDU frame meets a second threshold, this indicates that the transmission of the A-MPDU aggregate frame and the MPDU frame is poor. At this point, the retransmission rate is high and the transmission success rate is low. Based on this situation, the number of aggregated MPDU frames and the target timeslot width in the current A-MPDU aggregate frame can be appropriately reduced. This reduction can be by halving, halving, or reducing the number of aggregated MPDUs and the target timeslot width by one-third, though this is not a specific limitation.

[0086] For example, assume that the number of aggregated MPDU frames in the currently transmitted A-MPDU aggregate frame is 32, and the target time slot width is 2 seconds. When the first transmission result of the A-MPDU aggregate frame meets the first threshold and the second transmission result of the MPDU frame meets the second threshold, the number of aggregated MPDU frames is reduced to 16, and the number of MPDU frames in subsequent A-MPDU aggregate frames is 16, and the target time slot width is reduced to 1 second. Accordingly, after the subsequent A-MPDU aggregate frame is sent, if it is continued to be determined that the first transmission result of the A-MPDU aggregate frame meets the first threshold and the second transmission result of the MPDU frame meets the second threshold, the target time slot width of the number of aggregated MPDU frames is further reduced, for example, the number of aggregated MPDU frames is reduced to 12, and the target time slot width is reduced to 0.75 seconds.

[0087] On the contrary, when the first sending result does not meet the first threshold and the second sending result does not meet the second threshold, the aggregated number of MPDU frames in the current A-MPDU aggregation frame and the target time slot width are increased, wherein the first sending result does not meet the first threshold, including that the sending success rate of the A-MPDU aggregation frame is not less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregation frame is not greater than the preset first retransmission threshold, and the second sending result does not meet the second threshold, including that the sending success rate of the MPDU frame is not less than the preset second success threshold or the second retransmission ratio of the MPDU frame is not greater than the preset second retransmission threshold.

[0088] Specifically, when the first transmission result of an A-MPDU aggregate frame does not meet the first threshold and the second transmission result of an MPDU frame does not meet the second threshold, this indicates that the transmission of the A-MPDU aggregate frame and the MPDU frame is relatively good. At this time, the retransmission rate is low and the transmission success rate is high. Therefore, based on this situation, the number of MPDU frames aggregated in the current A-MPDU aggregate frame and the target time slot width can be appropriately increased. The increase can be by doubling, halving, or increasing the number of aggregated MPDUs and the target time slot width, and is not limited here.

[0089] For example, assume that the number of MPDU frames aggregated in the currently transmitted A-MPDU aggregate frame is 4 and the target time slot width is 1 second. When the first transmission result of the A-MPDU aggregate 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 MPDU frames aggregated is increased to 8, and the number of MPDU frames in subsequent A-MPDU aggregate frames is 8, and the target time slot width is increased to 2 seconds. Accordingly, after the subsequent A-MPDU aggregate frame is sent, if it is continued to be determined that the first transmission result of the A-MPDU aggregate 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 of the number of MPDU frames aggregated continues to increase, for example, increasing the number of AMPDU frames aggregated to 12 and the target time slot width to 3 seconds.

[0090] In an embodiment of the present invention, the number of MPDU frames aggregated and the target time slot width in the A-MPDU aggregate frame are dynamically adjusted based on the retransmission ratio of the A-MPDU aggregate 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 aggregate 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 aggregate frame.

[0091] Continue to see Figure 2 After the A-MPDU aggregate frame is transmitted within the target timeslot 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 aggregate frames and the timeslot width of the aggregate frame are adjusted, the transmission of the A-MPDU aggregate frame of the current timeslot width is stopped, and the next superframe timeslot is waited. If not, the number of MPDU frames and the timeslot width are adjusted accordingly, and the next superframe timeslot is waited. In the next superframe timeslot, the A-MPDU aggregate frames are continued to be transmitted one by one within the corresponding target timeslot width.

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

[0093] When an A-MPDU aggregate frame contains only one MPDU, it indicates that the TDMA network device is operating in a low-traffic wireless network transmission scenario. An MPDU is an Aggregation Ethernet Frame (AEF) formed by aggregating Ethernet data frames from multiple devices. Here, multiple access devices interact with the TDMA network device, meaning that the TDMA network device needs to transmit data to multiple access devices. Therefore, in this embodiment of the present invention, an AEF frame is formed by aggregating Ethernet data frames from multiple devices.

[0094] The format of the AEF frame is specifically shown in Table 1 below: Table 1:

[0095] Specifically, for multiple Ethernet data frames, a structured linked list 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 addresses indicated by the linked list nodes, moves the multiple Ethernet data frames to random access memory (RAM) to form corresponding MPDU frames for transmission. This aggregates Ethernet data frames from multiple devices into a single MPDU for transmission. When a TDMA network device transmits an MPDU frame, it broadcasts it across the wireless network. Other connected devices on the network can simultaneously receive and parse the broadcast MPDU frame to obtain the corresponding Ethernet data.

[0096] In this embodiment of the present invention, when an MPDU frame is retransmitted, it is retransmitted using the retransmission confirmation mechanism of the device's Ethernet data's data link layer. The reliability of AEF frame data transmission is guaranteed by the retransmission confirmation mechanism at the data link layer and above. If the device's Ethernet data is TCP data, the TCP retransmission mechanism can be relied upon during retransmission to ensure data transmission reliability. Furthermore, this embodiment of the present invention allows for multiple transmission and retransmission of AEF frames within a device's time slot to ensure data transmission reliability.

[0097] In an embodiment of the present invention, in a low-traffic transmission scenario where a single MPDU frame is transmitted, each Ethernet data frame is aggregated into an MPDU frame, and network data is sent in a broadcast manner. Data is retransmitted through the retransmission confirmation mechanism of the data link layer where the device Ethernet data is located, thereby ensuring the real-time and reliability of device data transmission.

[0098] The TDMA network data aggregation and sending device provided by the present invention is described below. The TDMA network data aggregation and sending device described below and the TDMA network data aggregation and sending method described above can refer to each other.

[0099] 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 for sending at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; the transmission module 702 is used 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 uses a superframe time slot to send each A-MPDU aggregate frame, wherein the aggregated number of MPDU frames in the A-MPDU aggregate frame is determined according to the currently available target time slot width, and the superframe time slot is composed of at least one target time slot width.

[0100] like Figure 7 As shown, in some embodiments, the TDMA network data aggregation sending device also includes: a retransmission module 703, wherein the retransmission module 703 is used to determine whether the A-MPDU aggregation frame is successfully sent after the TDMA network device uses the superframe time slot to send each A-MPDU aggregation frame; when the A-MPDU aggregation frame is not successfully sent and the MPDU frame that is not successfully sent in the A-MPDU aggregation frame needs to be retransmitted, the unsuccessfully sent MPDU frame is retransmitted within the retransmission time slot width.

[0101] In some embodiments, the sending module 702 is further used to count the total number of A-MPDU aggregate frames sent and the number of retransmissions of the A-MPDU aggregate frame after sending each A-MPDU aggregate frame in the superframe time slot, 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 aggregated number of MPDU frames in the current A-MPDU aggregate frame and the target time slot width according to the first sending result and the second sending result.

[0102] In some embodiments, the sending module 702 is further used to broadcast the MPDU frame within the target time slot width of the TDMA network device when the maximum aggregation number of MPDU frames in the A-MPDU aggregation 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.

[0103] It should be noted that the beneficial effects of the TDMA network data aggregation and transmission device here and the TDMA network data aggregation and transmission method mentioned above may correspond to each other, so the beneficial effects of the TDMA network data aggregation and transmission device will not be described in detail here.

[0104] Figure 8 An example of a physical structure diagram of an electronic device is shown below. 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 via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to execute a method for aggregated data transmission in a TDMA network. The method includes: configuring a target time slot width of a TDMA network device to be a time slot width required for transmitting at least one maximum-aggregated A-MPDU aggregate frame, wherein the maximum-aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; when the TDMA network device transmits each A-MPDU aggregate frame using a superframe time slot, reserving a retransmission time slot width within the target time slot width for retransmitting the A-MPDU aggregate frame, wherein the number of aggregated MPDU frames in the A-MPDU aggregate frame is determined based on a currently available target time slot width, and the superframe time slot is composed of at least one target time slot width.

[0105] Furthermore, the logic 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 portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0106] On the other hand, the present invention also provides a computer program product, which includes 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 can execute the TDMA network data aggregation sending method provided by the above methods, the method including: configuring 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 a maximum allowed number of MPDU frames; when the TDMA network device uses a superframe time slot to send each A-MPDU aggregate frame, a retransmission time slot width for retransmitting the A-MPDU aggregate frame is reserved within the target time slot width, the aggregated number of 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.

[0107] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the TDMA network data aggregation sending method provided by the above-mentioned methods, the method comprising: configuring the target time slot width of the TDMA network device to be the time slot width required to send at least two A-MPDU aggregation frames with the largest number of MPDU frames aggregated; configuring the target time slot width of the TDMA network device to be the time slot width required to send at least one A-MPDU aggregation frame with the largest aggregation, wherein the A-MPDU aggregation frame with the largest aggregation includes the maximum allowed number of MPDU frames; when the TDMA network device uses a superframe time slot to send each A-MPDU aggregation frame, a retransmission time slot width for retransmitting the A-MPDU aggregation frame is reserved within the target time slot width, the aggregated number of 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.

[0108] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0109] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion 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, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for aggregated transmission of TDMA network data, characterized in that: include: Configuring a target time slot width of the TDMA network device to be a time slot width required to transmit at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; When the TDMA network device uses the superframe time slot to send each A-MPDU aggregate frame, 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, and the superframe time slot consists of at least one target time slot width.

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: A time slot width required for retransmitting an unsuccessfully transmitted MPDU frame in the A-MPDU aggregate frame; The required time slot widths of all MPDU frames included in the A-MPDU aggregation frame are retransmitted.

3. The TDMA network data aggregation and transmission method according to claim 1, characterized in that: The method further comprises: After the TDMA network device sends each A-MPDU aggregate frame using a superframe time slot, determining whether the A-MPDU aggregate frame is successfully sent; When the A-MPDU aggregate frame is not successfully sent and the MPDU frame that is not successfully sent in the A-MPDU aggregate frame needs to be retransmitted, the MPDU frame that is not successfully sent is retransmitted within the retransmission time slot width.

4. The TDMA network data aggregation and transmission method according to claim 3, characterized in that: The retransmitting the unsuccessfully transmitted MPDU frame within the retransmission time slot width includes: Determining the number of times the unsuccessfully sent MPDU frame has been sent; When the number of transmissions is less than or equal to a preconfigured maximum number of retransmissions, the unsuccessfully transmitted MPDU frame is preferentially retransmitted using the retransmission timeslot width.

5. The TDMA network data aggregation and transmission method according to claim 4, characterized in that: When the unsuccessfully transmitted MPDU frame is preferentially retransmitted using the retransmission time slot width, the method further includes: When the number of transmissions is greater than the preconfigured maximum number of retransmissions or the unsuccessfully transmitted MPDU frame has reached its life cycle, the resources of the MPDU frame are released, and the life cycle of the MPDU frame is at least one superframe time slot.

6. The TDMA network data aggregation and transmission method according to claim 1, characterized in that: The method further comprises: After each A-MPDU aggregate frame is sent in the superframe time slot, counting the total number of sent A-MPDU aggregate frames and the number of retransmissions of the A-MPDU aggregate frame, and calculating a first sending result of the A-MPDU aggregate frame based on the number of retransmissions and the total number; Counting the total number of MPDU frames and the number of MPDU frame retransmissions included in the sent A-MPDU aggregate frame, and calculating a second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames; According to the first sending result and the second sending result, the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width are adjusted.

7. The TDMA network data aggregation and transmission method according to claim 6, characterized in that: The calculating a first sending result of the A-MPDU aggregate frame based on the number of retransmissions and the total number includes: Calculate the transmission success rate and the first retransmission ratio of the A-MPDU aggregate frame according to the total number and the number of retransmissions, as the first transmission result of the A-MPDU aggregate frame; The calculating the second transmission result of the MPDU frame based on the number of MPDU frame retransmissions and the total number of MPDU frames includes: Calculating a transmission success rate of the MPDU frame and a second retransmission ratio according to the total number of MPDU frames and the number of retransmissions of the MPDU frame as a second transmission result of the MPDU frame; According to the first sending result and the second sending result, the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target time slot width are adjusted.

8. The TDMA network data aggregation and transmission method according to claim 7, characterized in that: The adjusting, according to the first sending result and the second sending result, the number of aggregated MPDU frames in the current A-MPDU aggregation frame and the target timeslot width includes: When the first sending result satisfies a first threshold and the second sending result satisfies a second threshold, reducing the number of aggregated MPDU frames in the current A-MPDU aggregate frame and the target time slot width, wherein the first sending result satisfies the first threshold includes that the sending success rate of the A-MPDU aggregate frame is less than a preset first success threshold or the first retransmission ratio of the A-MPDU aggregate frame is greater than a preset first retransmission threshold; The second sending result meeting the second threshold includes that the sending success rate of the MPDU frame is less than a preset second success threshold or the second retransmission ratio of the MPDU frame is greater than a preset second retransmission threshold; When the first sending result does not meet the first threshold and the second sending result does not meet the second threshold, increase the number of aggregated MPDU frames in the current A-MPDU aggregate frame and the target time slot width, wherein the first sending result does not meet the first threshold includes that the sending success rate of the A-MPDU aggregate frame is not less than the preset first success threshold or the first retransmission ratio of the A-MPDU aggregate frame is not greater than the preset first retransmission threshold; The second sending result not meeting the second threshold includes that the sending success rate of the MPDU frame is not less than a preset second success threshold or the second retransmission ratio of the MPDU frame is not greater than a preset second retransmission threshold.

9. The TDMA network data aggregation and transmission method according to claim 1, characterized in that: The method further comprises: When the maximum number of MPDU frames aggregated in the A-MPDU aggregate frame is 1, broadcasting the MPDU frame 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, the MPDU frame is retransmitted through a retransmission confirmation mechanism of the data link layer of the Ethernet data of the device.

10. A TDMA network data aggregation and transmission device, characterized in that: include: a configuration module, configured to configure a target time slot width of the TDMA network device to a time slot width required for sending at least one maximum aggregated A-MPDU aggregate frame, wherein the maximum aggregated A-MPDU aggregate frame includes a maximum allowed number of MPDU frames; The sending 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 uses the superframe time slot to send each A-MPDU aggregate frame, 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 is composed of at least one target time slot width.

Citation Information

Patent Citations

  • Data transmission and retransmission method

    CN103701574A

  • Method and device for controlling aggregation frame length in wireless network

    CN105306167A

  • Block acknowledgement system and block acknowledgement method based on A-MPDU sub-frame position information control

    CN105471549A

  • Reliable Terahertz wireless personal area network access method with high time slot utilization

    CN107548163A

  • Industrial wireless network on-demand retransmission method based on non-orthogonal multiple access

    CN115396948A