Aggregated frame adjustment method and device, equipment and storage medium

By determining the channel interference information and delivery success rate and adjusting the aggregated frames in the wireless projection, the problem of increasing channel delay in the wireless projection scenario is solved, and data transmission efficiency and stability of the receiving end equipment are improved.

CN118972020APending Publication Date: 2024-11-15BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310545489.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In wireless screen casting scenarios, the channel delay increases due to air interference, which affects data transmission efficiency. The prior art cannot effectively solve the channel delay problem by reducing the transmission rate to improve the success rate but resulting in a decrease in throughput.

Method used

By determining the channel interference information in the current period, the updated delivery success rate information is obtained, and the undelivered aggregated frames are adjusted based on this information to improve the delivery success rate and reduce the channel delay.

Benefits of technology

It realizes the improvement of the delivery success rate of aggregated frames in the case of interference, reduces the channel delay of wireless screen casting scenes, and improves the problem of lag and screen dissipation on the receiving device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972020A_ABST
    Figure CN118972020A_ABST
Patent Text Reader

Abstract

The present disclosure relates to an aggregation frame adjustment method, apparatus and device, and a storage medium, the method being applied to a transmitting end device, the method comprising: determining first interference information of a channel in a current period, the first interference information being used for reflecting time information of other devices occupying the channel in the current period; in response to the condition that the first interference information meets a set information requirement, obtaining currently updated delivery success rate information, the delivery success rate information being updated based on a currently delivered aggregation frame; and adjusting the currently undelivered aggregation frame based on the currently updated delivery success rate information. According to the method and the device, under the condition that the delivery success rate of the aggregation frame is reduced due to interference, the delivery success rate is improved by adjusting the current undelivered aggregation frame, so that the problem of channel time delay of wireless data transmission scenes such as wireless screen projection can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular to an aggregation frame adjustment method, device, equipment and storage medium. Background Art

[0002] In wireless screen projection technology, the sending (Source) device needs to undergo screen recording and video compression, and then transmit the compressed data point-to-point to the receiving (Sink) device through wireless transmission (such as WiFi P2P technology). On this basis, the sending device can also use frame aggregation technology to aggregate multiple frame data packets into one WLAN data packet (i.e., aggregated frame) to improve channel utilization and throughput by reducing the number of WLAN packet headers.

[0003] However, interference from other devices in the air will reduce the success rate of compressed data transmission, which will cause the receiving device to freeze and display problems. In order to solve this problem, the related art usually reduces the transmission rate of the sending device to improve the success rate of data transmission, that is, the sending device starts to try to send data at a higher transmission rate, and retransmits when the transmission fails. When the retransmission fails after multiple retransmissions, the speed is reduced and retransmitted.

[0004] However, the above solution will increase the channel delay and reduce the throughput due to the increase in data retransmission rate. The data traffic in the wireless screen projection scenario has certain requirements for latency, that is, data traffic that exceeds a certain latency will be regarded as invalid traffic even if it eventually reaches the receiving device, which will affect the effect of wireless screen projection to the receiving device. Therefore, how to reduce channel latency in the case of interference in the wireless screen projection scenario has become one of the technical problems that need to be solved urgently. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide an aggregation frame adjustment method, apparatus, device and storage medium to solve the defects in the related art.

[0006] According to a first aspect of an embodiment of the present disclosure, a method for adjusting an aggregated frame is provided, which is applied to a transmitting end device, and the method includes:

[0007] Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting end device and the receiving end device;

[0008] In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame;

[0009] The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

[0010] In some embodiments, determining first interference information of a channel in a current period includes:

[0011] Detecting the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle;

[0012] The first interference information is determined based on the active time and the idle time.

[0013] In some embodiments, the method further comprises:

[0014] Comparing the first interference information with second interference information of the channel in a previous period;

[0015] In response to the first interference information being different from the second interference information, it is determined that the first interference information meets the set information requirement.

[0016] In some embodiments, the method further comprises:

[0017] In response to the first interference information being the same as the second interference information, it is determined that the first interference information does not meet the set information requirement.

[0018] In some embodiments, the method further includes updating the delivery success rate information based on the following manner:

[0019] After each aggregate frame is delivered, the number of lost packets and the number of successfully delivered packets for aggregate frame delivery with the current frame aggregation length are obtained;

[0020] Determine a preset delivery index of the currently delivered aggregate frame based on the number of lost packets and the number of successfully delivered packets, wherein the preset delivery index includes a packet loss rate and / or a delivery length success rate;

[0021] The currently updated delivery success rate information is determined based on the preset delivery indicator.

[0022] In some embodiments, when the preset delivery indicator includes the packet loss rate, determining the preset delivery indicator of the currently delivered aggregate frame based on the number of lost packets and the number of successfully delivered packets includes:

[0023] The packet loss rate is determined based on a ratio of the number of lost packets to the total number of delivered packets, where the total number of delivered packets is the sum of the number of lost packets and the number of successfully delivered packets.

[0024] In some embodiments, when the preset delivery indicator includes the delivery length success rate, determining the preset delivery indicator of the currently delivered aggregate frame based on the number of packet losses and the number of successfully delivered packets includes:

[0025] Determine the sum of the successful delivery length and the failed delivery length, wherein the successful delivery length is determined based on the number of successfully delivered packets and the current frame aggregation length, and the failed delivery length is determined based on the number of lost packets and the current frame aggregation length;

[0026] The delivery length success rate is determined based on the ratio of the successful delivery length to the sum.

[0027] In some embodiments, adjusting the currently undelivered aggregate frame based on the currently updated delivery success rate information includes:

[0028] Determine a preset threshold range to which the information value of the delivery success rate information belongs;

[0029] The currently undelivered aggregate frame is adjusted based on a preset adjustment ratio corresponding to the preset threshold range.

[0030] In some embodiments, adjusting the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range includes:

[0031] In response to the information value of the delivery success rate information being less than or equal to the first delivery rate threshold, the frame aggregation length of the current undelivered aggregate frame is adjusted to a first preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude. The current detection trigger frequency is determined based on the number of the current undelivered aggregate frames and the total number of data packets to be delivered.

[0032] In some embodiments, adjusting the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range includes:

[0033] In response to the information value of the delivery success rate information being greater than a first delivery rate threshold and less than or equal to a second delivery rate threshold, adjusting the frame aggregation length of the current undelivered aggregated frame to a second preset proportion of the current frame aggregation length, and based on the first preset amplitude the current detection trigger frequency.

[0034] In some embodiments, adjusting the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range includes:

[0035] In response to the information value of the delivery success rate information being greater than the second delivery rate threshold and less than or equal to the third delivery rate threshold, adjusting the aggregation length of the current undelivered aggregated frame to a third preset proportion of the current frame aggregation length, and maintaining the current detection trigger frequency unchanged.

[0036] In some embodiments, adjusting the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range includes:

[0037] In response to the information value of the delivery success rate information being greater than a third delivery rate threshold, comparing the successful delivery flow in the current cycle with a preset flow threshold;

[0038] In response to the successfully delivered traffic being greater than the preset traffic threshold, the aggregation length of the currently undelivered aggregated frame is maintained unchanged, and the current detection triggering frequency is reduced based on a first preset amplitude.

[0039] In some embodiments, the method further comprises:

[0040] In response to the successfully delivered traffic being less than or equal to the preset traffic threshold, the current frame aggregation length is increased based on a preset increment, and the current detection trigger frequency is adjusted to a default detection trigger frequency.

[0041] In some embodiments, the method further includes determining the successful delivery flow in advance based on the following manner:

[0042] Acquire a target delivery flow rate in the current cycle, where the target delivery flow rate is determined based on the number of target delivery packets in the current cycle and the current frame aggregation length;

[0043] The successful delivery flow is determined based on the delivery success rate information and the target delivery flow.

[0044] According to a second aspect of an embodiment of the present disclosure, there is provided an aggregate frame adjustment device, which is applied to a transmitting end device, and the device includes:

[0045] An interference information determination module, used to determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than the transmitting end device and the receiving end device;

[0046] A success rate information acquisition module, configured to acquire currently updated delivery success rate information in response to the first interference information satisfying the set information requirement, wherein the delivery success rate information is updated based on the currently delivered aggregated frame;

[0047] The aggregate frame adjustment module is used to adjust the currently undelivered aggregate frame based on the currently updated delivery success rate information.

[0048] In some embodiments, the interference information determination module includes:

[0049] An idle time detection unit, used to detect the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle;

[0050] An interference information determining unit is configured to determine the first interference information based on the activation time and the idle time.

[0051] In some embodiments, the apparatus further comprises an information requirement determination module;

[0052] The information requirement judgment module includes:

[0053] an interference information comparing unit, configured to compare the first interference information with the second interference information of the channel in a previous period;

[0054] The information requirement determination unit is configured to determine, in response to the first interference information being different from the second interference information, that the first interference information satisfies the set information requirement.

[0055] In some embodiments, the method is further used to determine that the first interference information does not meet the set information requirement in response to the first interference information being the same as the second interference information.

[0056] In some embodiments, the apparatus further comprises an information updating module;

[0057] The information updating module comprises:

[0058] A quantity acquisition unit, used for acquiring the number of lost packets and the number of successfully delivered packets for delivering the aggregated frame with the current frame aggregation length after each aggregated frame is delivered;

[0059] An indicator determination unit, configured to determine a preset delivery indicator of the currently delivered aggregate frame based on the number of packet losses and the number of successfully delivered packets, wherein the preset delivery indicator includes a packet loss rate and / or a delivery length success rate;

[0060] An information updating unit is used to determine the currently updated delivery success rate information based on the preset delivery indicator.

[0061] In some embodiments, when the preset delivery indicator includes the packet loss rate, the indicator determination unit is further used to determine the packet loss rate based on the ratio of the number of packet losses to the total number of delivered packets, and the total number of delivered packets is the sum of the number of packet losses and the number of successfully delivered packets.

[0062] In some embodiments, when the preset delivery indicator includes the delivery length success rate, the indicator determination unit is further configured to:

[0063] Determine the sum of the successful delivery length and the failed delivery length, wherein the successful delivery length is determined based on the number of successfully delivered packets and the current frame aggregation length, and the failed delivery length is determined based on the number of lost packets and the current frame aggregation length;

[0064] The delivery length success rate is determined based on the ratio of the successful delivery length to the sum.

[0065] In some embodiments, the aggregate frame adjustment module includes:

[0066] A threshold range determining unit, used to determine a preset threshold range to which the information value of the delivery success rate information belongs;

[0067] The aggregate frame adjustment unit is configured to adjust the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range.

[0068] In some embodiments, the aggregate frame adjustment unit is further configured to:

[0069] In response to the information value of the delivery success rate information being less than or equal to the first delivery rate threshold, the frame aggregation length of the current undelivered aggregate frame is adjusted to a first preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude. The current detection trigger frequency is determined based on the number of the current undelivered aggregate frames and the total number of data packets to be delivered.

[0070] In some embodiments, the aggregate frame adjustment unit is further configured to:

[0071] In response to the information value of the delivery success rate information being greater than a first delivery rate threshold and less than or equal to a second delivery rate threshold, the frame aggregation length of the current undelivered aggregated frame is adjusted to a second preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude.

[0072] In some embodiments, the aggregate frame adjustment unit is further configured to:

[0073] In response to the information value of the delivery success rate information being greater than the second delivery rate threshold and less than or equal to the third delivery rate threshold, the aggregation length of the current undelivered aggregated frame is adjusted to a third preset proportion of the current frame aggregation length, and the current detection trigger frequency is maintained unchanged.

[0074] In some embodiments, the aggregate frame adjustment unit is further configured to:

[0075] In response to the information value of the delivery success rate information being greater than a third delivery rate threshold, comparing the successful delivery flow in the current cycle with a preset flow threshold;

[0076] In response to the successfully delivered traffic being greater than the preset traffic threshold, the aggregation length of the currently undelivered aggregated frame is maintained unchanged, and the current detection triggering frequency is reduced based on a first preset amplitude.

[0077] In some embodiments, the aggregate frame adjustment unit is further configured to:

[0078] In response to the successfully delivered traffic being less than or equal to the preset traffic threshold, the current frame aggregation length is increased based on a preset increment, and the current detection trigger frequency is adjusted to a default detection trigger frequency.

[0079] In some embodiments, the aggregate frame adjustment module further includes a delivery traffic determination unit;

[0080] The delivery flow determination unit is used to:

[0081] Acquire a target delivery flow rate in the current cycle, where the target delivery flow rate is determined based on the number of target delivery packets in the current cycle and the current frame aggregation length;

[0082] The successful delivery flow is determined based on the delivery success rate information and the target delivery flow.

[0083] According to a third aspect of an embodiment of the present disclosure, a transmitting end device is provided, the device comprising:

[0084] a processor and a memory for storing a computer program;

[0085] Wherein, the processor is configured to implement, when executing the computer program:

[0086] Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting end device and the receiving end device;

[0087] In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame;

[0088] The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

[0089] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the following is implemented:

[0090] Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than a transmitting end device and a receiving end device;

[0091] In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame;

[0092] The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

[0093] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0094] The present disclosure determines first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than the transmitting device and the receiving device, and in response to the first interference information satisfying the set information requirements, obtains currently updated delivery success rate information, where the delivery success rate information is updated based on the currently delivered aggregated frames, and then adjusts the currently undelivered aggregated frames based on the currently updated delivery success rate information, so that the currently undelivered aggregated frames can be adjusted in a timely manner based on the delivery success rate information of the currently delivered aggregated frames, so that when the delivery success rate of the aggregated frames decreases due to interference, the delivery success rate can be improved by adjusting the currently undelivered aggregated frames, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0095] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0097] Figure 1A is a flowchart of an aggregate frame adjustment method according to an exemplary embodiment of the present disclosure;

[0098] Figure 1B is a schematic diagram of an application scenario of an aggregate frame adjustment method according to an exemplary embodiment of the present disclosure;

[0099] Figure 2 is a flowchart showing how to determine first interference information of a channel in a current period according to an exemplary embodiment of the present disclosure;

[0100] Figure 3 is a flowchart showing how to determine that the first interference information meets the setting information requirement according to an exemplary embodiment of the present disclosure;

[0101] Figure 4 is a flow chart showing how to update the delivery success rate information according to an exemplary embodiment of the present disclosure;

[0102] Figure 5 is a flowchart showing how to adjust the currently undelivered aggregate frame based on the currently updated delivery success rate information according to an exemplary embodiment of the present disclosure;

[0103] Figure 6 is a flow chart showing how to determine the successfully delivered traffic according to an exemplary embodiment of the present disclosure;

[0104] Figure 7 is a block diagram of an aggregate frame adjustment device according to an exemplary embodiment of the present disclosure;

[0105] Figure 8 is a block diagram of another aggregation frame adjustment device according to an exemplary embodiment of the present disclosure;

[0106] Fig. 9 The figure is a block diagram of a transmitting end device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0107] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0108] Figure 1A It is a flowchart of an aggregate frame adjustment method according to an exemplary embodiment; the method of this embodiment can be applied to a transmitting device supporting WiFi P2P (such as a smart phone, a tablet computer, smart glasses, a smart watch, etc.).

[0109] like Figure 1A As shown, the method includes the following steps S101-S103:

[0110] In step S101, first interference information of a channel in a current period is determined.

[0111] In this embodiment, when the transmitting end device sends wireless communication data to the receiving end device based on the channel, the first interference information of the channel in the current period can be determined.

[0112] The first interference information is used to reflect the time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting device and the receiving device.

[0113] The above-mentioned sending end device can be a Sourc end device in the wireless screen projection application scenario. Correspondingly, the above-mentioned receiving end device can be a Sink end device in the wireless screen projection application scenario. The Source end device can be used to encode and output the TS stream (TransportStream); the Sink end device can be used to decode and display the TS stream. This is equivalent to the Server / Client architecture, where the Source end device is the Server, which is used to provide services; the Sink end device is the Client, which is used for display. Figure 1B FIG. 1 is a schematic diagram of an application scenario of an aggregate frame adjustment method according to an exemplary embodiment of the present disclosure. Figure 1B As shown, in an application scenario where the mobile phone 101 projects the screen to the TV 102 based on WiFi P2P, the mobile phone 101 can be used as a Source end and the TV 102 can be used as a Sink end.

[0114] For example, when a WiFi P2P-supporting transmitting device uses the wireless screen projection function to wirelessly project the screen to a large-screen receiving device, the transmitting device can determine the first interference information of the channel in the current cycle. It is worth noting that the duration of the above cycle can be set based on actual business needs, such as being set to 1ms, etc., and this embodiment does not limit this.

[0115] The method for determining the first interference information can refer to the following: Figure 2 The illustrated embodiment will not be described in detail here.

[0116] In step S102, in response to the first interference information satisfying the set information requirement, currently updated delivery success rate information is obtained.

[0117] In this embodiment, after determining the first interference information of the channel in the current period, it can be determined whether the first interference information meets the set information requirement, and then when it is determined that the first interference information meets the set information requirement, the currently updated delivery success rate information is obtained.

[0118] The above delivery success rate information is updated based on the currently delivered aggregated frame.

[0119] In some embodiments, the situation where the first interference information meets the setting information requirements can be set based on the needs of the actual application scenario, such as setting it to the situation where the first interference information has a significant change (such as a situation where it has a large increase or decrease). In other embodiments, the judgment method of whether the first interference information meets the setting information requirements can refer to the following Figure 2 The illustrated embodiment will not be described in detail here.

[0120] In some embodiments, the information value of the above-mentioned delivery success rate information may be positively correlated with the delivery success rate of the currently delivered aggregated frame, that is, the larger the information value of the delivery success rate information, the higher the delivery success rate of the currently delivered aggregated frame. It can be understood that the delivery success rate of the currently delivered aggregated frame will be affected by the interference information of the channel, that is, when the interference of the channel is large, it means that the collision and interference between frames of different stations or access points of the channel are more serious, and thus the delivery success rate of the currently delivered aggregated frame will be reduced.

[0121] In this embodiment, the delivery success rate information may be updated based on a set frequency or after each aggregate frame is delivered. Then, when the first interference information meets the set information requirement, the currently updated delivery success rate information may be obtained.

[0122] The method for determining whether the first interference information meets the setting information requirement can refer to the following: Figure 3 In the embodiment shown, the update method of the above delivery success rate information can refer to the following Figure 4 The illustrated embodiment will not be described in detail here.

[0123] In step S103, the currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

[0124] In this embodiment, after the currently updated delivery success rate information is obtained, the currently undelivered aggregated frames may be adjusted based on the currently updated delivery success rate information.

[0125] In some embodiments, different aggregate frame adjustment modes may be set based on the numerical value of the delivery success rate information, and then after the currently updated delivery success rate information is obtained, the corresponding aggregate frame adjustment mode may be determined based on the numerical value of the delivery success rate information.

[0126] For example, when the value of the above delivery success rate information is small (that is, reflecting that the delivery success rate of the currently delivered aggregated frame is low), the frame aggregation length of the currently undelivered aggregated frame can be shortened, thereby increasing the subsequent success rate of the delivery of the aggregated frame and reducing the retransmission rate. This can in turn reduce the channel delay of the wireless screen projection scenario in the presence of interference to a certain extent, thereby improving the stuttering and screen distortion problems of the receiving device.

[0127] When the value of the subsequent delivery success rate information is large (that is, reflecting that the delivery success rate of the currently delivered aggregated frame is high), the frame aggregation length of the currently undelivered aggregated frame can be increased, thereby increasing the delivery rate of the aggregated frame and thus improving the screen projection effect of the receiving device.

[0128] In other embodiments, the above-mentioned method of adjusting the currently undelivered aggregate frame based on the currently updated delivery success rate information can also refer to the following Figure 5 The illustrated embodiment will not be described in detail here.

[0129] It can be seen from the above description that the method of this embodiment determines the first interference information of the channel in the current period, and the first interference information is used to reflect the time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting device and the receiving device. In response to the first interference information satisfying the set information requirements, the currently updated delivery success rate information is obtained, and the delivery success rate information is updated based on the currently delivered aggregate frame, and then the current undelivered aggregate frame is adjusted based on the currently updated delivery success rate information. It can be achieved that the current undelivered aggregate frame is adjusted in time based on the delivery success rate information of the currently delivered aggregate frame. In this way, when the delivery success rate of the aggregate frame decreases due to interference, the delivery success rate can be improved by adjusting the current undelivered aggregate frame, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0130] Figure 2 FIG. 1 is a flowchart showing how to determine the first interference information of a channel in the current cycle according to an exemplary embodiment of the present disclosure; based on the above-mentioned embodiment, this embodiment takes how to determine the first interference information of a channel in the current cycle as an example for exemplary description. Figure 2 As shown, the determination of the first interference information of the channel in the current period in the above step S101 may include the following steps S201-S202:

[0131] In step S201, the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle are detected;

[0132] In step S202, the first interference information is determined based on the activation time and the idle time.

[0133] In this embodiment, when it is necessary to determine the first interference information of the channel in the current cycle, the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle may be detected respectively.

[0134] In some embodiments, the idle state of a channel can be defined as a state where no WiFi data packets exceeding a certain energy threshold are detected; on this basis, the idle time of a channel can be defined as the duration of the state of "no WiFi data packets exceeding a certain energy threshold are detected". The size of the energy threshold can be set based on actual business needs, and this embodiment does not limit this.

[0135] For example, when determining the first interference information based on the activation time and the idle time, the difference between the activation time and the idle time can be determined first, and then the interference ratio of the channel in the current period can be determined based on the ratio of the difference to the activation time, and then the first interference information can be determined based on the preset ratio range interval to which the ratio belongs. Exemplarily, multiple ratio range intervals can be set in advance according to actual business needs, such as the following five intervals A to E:

[0136] A:0~20; B:20~40; C:40~60; D:60~80; E:80~100.

[0137] The values ​​corresponding to the five intervals A to E are corresponding interference ratios (in "%).

[0138] On this basis, the above interference ratio can be calculated based on the following formula (2-1):

[0139] Interference ratio = (activation time – idle time) / activation time; (2-1)

[0140] Furthermore, it is possible to determine which of the five intervals A to E the interval to which the interference ratio belongs according to the value of the interference ratio, so that the interval to which the interference ratio belongs can be determined as the first interference information.

[0141] It can be seen from the above description that this embodiment detects the activation time of the RF component of the transmitting device and the idle time of the channel in the current period, and determines the first interference information based on the activation time and the idle time. It can accurately reflect the time other devices occupy the channel based on the ratio of the idle time of the channel to the activation time of the video component, and can accurately calculate the first interference information of the channel in the current period, and then when the first interference information meets the set information requirements, it can obtain the currently updated delivery success rate information, and adjust the currently undelivered aggregate frames based on the currently updated delivery success rate information. When the delivery success rate of the aggregate frames decreases due to interference, the delivery success rate can be improved by adjusting the currently undelivered aggregate frames, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0142] Figure 31 is a flowchart showing how to determine that the first interference information meets the setting information requirement according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to determine that the first interference information meets the setting information requirement as an example for exemplary description. Figure 3 As shown, the aggregation frame adjustment method of this embodiment may further include determining, based on the following steps S301-S302, that the first interference information meets the setting information requirement:

[0143] In step S301, the first interference information is compared with the second interference information of the channel in the previous cycle.

[0144] In this embodiment, after the first interference information of the channel in the current cycle is determined, the first interference information may be compared with the second interference information of the channel in the previous cycle to obtain a comparison result.

[0145] It can be understood that the above-mentioned previous cycle can be the previous cycle adjacent to the current cycle on the time axis.

[0146] In step S302, it is determined whether the first interference information is the same as the second interference information: if so, step S303 is executed; if not, step S304 is executed.

[0147] In some embodiments, the comparison result between the first interference information and the second interference information may include "the first interference information is the same as the second interference information" or "the first interference information is different from the second interference information".

[0148] For example, if the first interference information is "B: 20-40", it can be compared with the second interference information of the previous cycle, such as "A: 0-20", so as to obtain a comparison result, that is, "the first interference information is different from the second interference information". If the first interference information is "B: 20-40" and the second interference information of the previous cycle is "B: 20-40", the comparison result of "the first interference information is the same as the second interference information" can be obtained.

[0149] In step S303, it is determined whether the first interference information meets the setting information requirement.

[0150] In step S304, it is determined that the first interference information does not meet the set information requirement.

[0151] In this embodiment, if the comparison result obtained is "the first interference information is different from the second interference information", it indicates whether the first interference information of the channel in the current cycle has changed significantly relative to the second interference information of the previous cycle, so it can be determined that the first interference information meets the set information requirements, that is, the subsequent steps of "obtaining the currently updated delivery success rate information and adjusting the current undelivered aggregate frame based on the currently updated delivery success rate information" can be continued. On the contrary, if the comparison result obtained is "the first interference information is the same as the second interference information", it indicates that the first interference information of the channel in the current cycle has not changed significantly relative to the second interference information of the previous cycle, so it can be determined that the first interference information does not meet the set information requirements. On this basis, you can continue to wait for the calculation of the interference information of the channel in the next cycle without performing the step of "obtaining the currently updated delivery success rate information and adjusting the current undelivered aggregate frame based on the currently updated delivery success rate information".

[0152] It can be seen from the above description that this embodiment compares the first interference information with the second interference information of the channel in the previous cycle, where the previous cycle is the previous cycle adjacent to the current cycle on the time axis, and then in response to the first interference information being different from the second interference information, determines that the first interference information meets the set information requirements, thereby accurately detecting whether the first interference information of the channel in the current cycle has changed significantly relative to the second interference information of the previous cycle, thereby ensuring that the current undelivered aggregate frame is adjusted accordingly when the interference situation of the channel changes in the current cycle, thereby improving the delivery success rate of subsequent aggregate frames, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0153] Figure 4 FIG. 1 is a flowchart showing how to update the delivery success rate information according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to update the delivery success rate information as an example for exemplary description. Figure 4 As shown, the aggregation frame adjustment method of this embodiment may further include updating the delivery success rate information based on the following steps S401-S403:

[0154] In step S401, after each aggregate frame is delivered, the number of lost packets and the number of successfully delivered packets for aggregate frame delivery with the current frame aggregation length are obtained.

[0155] In this embodiment, in order to update the delivery success rate information after each aggregate frame is delivered, the number of lost packets and the number of successfully delivered packets delivered with the current frame aggregation length can be obtained. That is, the data frames can be aggregated based on the current frame aggregation length to form an aggregate frame to be delivered, and then the aggregate frame to be delivered is delivered, and after the delivery is completed, the corresponding number of lost packets and the number of successfully delivered packets are counted. It can be understood that the above-mentioned number of lost packets can be the number of data packets that have timed out of delivery, rather than the number of data packets that are actually lost.

[0156] In step S402, a preset delivery indicator of the currently delivered aggregate frame is determined based on the number of lost packets and the number of successfully delivered packets.

[0157] In this embodiment, after obtaining the number of lost packets and the number of successfully delivered packets for aggregated frame delivery with the current frame aggregation length, the preset delivery index of the currently delivered aggregated frame can be determined based on the number of lost packets and the number of successfully delivered packets.

[0158] The above-mentioned preset delivery indicators may include packet loss rate and / or delivery length success rate.

[0159] For example, when the preset delivery indicator includes the packet loss rate, the packet loss rate can be determined based on the ratio of the number of packet losses to the total number of delivered packets, wherein the total number of delivered packets is the sum of the number of packet losses and the number of successfully delivered packets. Exemplarily, the packet loss rate can be determined based on the following formula (4-1):

[0160] Packet loss rate = number of lost packets / (number of lost packets + number of successfully delivered packets); (4-1)

[0161] For another example, when the preset delivery index includes the delivery length success rate, the sum of the successful delivery length and the failed delivery length can be determined, the successful delivery length is determined based on the number of successfully delivered packets and the current frame aggregation length, and the failed delivery length is determined based on the number of lost packets and the current frame aggregation length, and then the delivery length success rate is determined based on the ratio of the successful delivery length to the sum. Exemplarily, the delivery length success rate can be determined based on the following formula (4-2):

[0162] Delivery length success rate = successful delivery length / (successful delivery length + failed delivery length); (4-2)

[0163] In the above formula:

[0164] Successful delivery length = number of successfully delivered packets * current frame aggregation length; (4-3)

[0165] Failed delivery length = number of lost packets * current frame aggregation length; (4-3)

[0166] In step S402, the currently updated delivery success rate information is determined based on the preset delivery indicator.

[0167] In this embodiment, after the preset delivery index of the currently delivered aggregate frame is determined based on the number of lost packets and the number of successfully delivered packets, the currently updated delivery success rate information may be determined based on the preset delivery index.

[0168] In some embodiments, when the above-mentioned preset delivery indicators include packet loss rate and / or delivery length success rate, the delivery success rate information can be determined based on the packet loss rate and / or delivery length success rate.

[0169] For example, the non-packet loss rate can be calculated based on the difference between 1 and the above packet loss rate, and then the above delivery success rate information is determined based on the weighted sum of the non-packet loss rate and the delivery length success rate.

[0170] Exemplarily, the delivery success rate information R can be determined based on the following formula (4-4):

[0171] R=a1*(1-loss_rate)+ a2*pdr; (4-4)

[0172] In the above formula, "1-loss_rate" is the packet loss rate, pdr is the delivery length success rate, and a1 and a2 are the weights corresponding to the packet loss rate and the delivery length success rate, respectively.

[0173] It is worth noting that the above a1 and a2 can be set based on actual needs, such as being set to 2 / 3 and 1 / 3 respectively, and this embodiment does not limit this.

[0174] It can be understood that the above-mentioned non-packet loss rate and delivery length success rate can be used to respectively characterize the delay and throughput of the channel in the current cycle, and thus the above-mentioned delivery success rate information R can be used to comprehensively characterize the delay and throughput of the channel in the current cycle. If the value of R is large, it indicates that the communication state of the channel in the current cycle is good (i.e., the delay is small and / or the throughput is large); on the contrary, if the value of R is small, it indicates that the communication state of the channel in the current cycle is poor (i.e., the delay is large and / or the throughput is small).

[0175] As can be seen from the above description, this embodiment obtains the number of packet losses and the number of successfully delivered packets for aggregate frame delivery with the current frame aggregation length after each aggregate frame is delivered, and determines the preset delivery index of the currently delivered aggregate frame based on the number of packet losses and the number of successfully delivered packets, wherein the preset delivery index includes the packet loss rate and / or the delivery length success rate, and then determines the currently updated delivery success rate information based on the preset delivery index. This can realize real-time statistics of aggregate frame delivery data after each delivery of the aggregate frame, and then determine the preset delivery index that can reflect the delivery success rate of the currently delivered aggregate frame, so as to realize the update of the delivery success rate information based on the index, thereby ensuring the accuracy of the delivery success rate information, and then improving the accuracy of subsequent adjustments to the currently undelivered aggregate frame based on the currently updated delivery success rate information, which is beneficial to improving the delivery success rate of subsequent aggregate frames.

[0176] Figure 5 This is a flowchart showing how to adjust the current undelivered aggregate frame based on the currently updated delivery success rate information according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to adjust the current undelivered aggregate frame based on the currently updated delivery success rate information as an example for exemplary description. Figure 5 As shown, the step S103 described above of adjusting the currently undelivered aggregated frame based on the currently updated delivery success rate information may include the following steps S501-S502:

[0177] In step S501, determining a preset threshold range to which the information value of the delivery success rate information belongs;

[0178] In step S502, the currently undelivered aggregate frame is adjusted based on a preset adjustment ratio corresponding to the preset threshold range.

[0179] For example, if the preset threshold range of the above delivery success rate information R includes the following first range to fourth range:

[0180] First range: less than or equal to the first delivery rate threshold (eg, R≤30%);

[0181] Second range: greater than the first delivery rate threshold and less than or equal to the second delivery rate threshold (eg, 30%<R≤60%);

[0182] The third range is greater than the second delivery rate threshold and less than or equal to the third delivery rate threshold (eg, 60%<R≤90%);

[0183] Fourth range: greater than the third delivery rate threshold (eg, R>90%).

[0184] There are four situations (1) to (4) below:

[0185] (1) When the information value of the delivery success rate information is less than or equal to 30%, the frame aggregation length of the current undelivered aggregate frame can be adjusted to a first preset ratio (e.g., 25%) of the current frame aggregation length, and the current detection trigger frequency can be increased based on the first preset amplitude (e.g., 1%) (e.g., from 8% to 9%). It can be understood that the current detection trigger frequency is determined based on the number of the current undelivered aggregate frames and the total number of data packets to be delivered. For example, the detection trigger frequency is set to 8% by default, which can indicate that a total of 100 data packets are delivered, of which 8 data packets are delivered using detection aggregation.

[0186] (2) When the information value of the delivery success rate information is greater than 30% and less than or equal to 60%, the frame aggregation length of the current undelivered aggregated frame can be adjusted to a second preset ratio (e.g., 50%) of the current frame aggregation length, and the current detection trigger frequency can also be increased based on the first preset amplitude, wherein the second preset ratio is greater than the first preset ratio (i.e., 50%>25%);

[0187] (3) When the information value of the delivery success rate information is greater than 60% and less than or equal to 90%, the aggregation length of the current undelivered aggregate frame can be adjusted to a third preset ratio (e.g., 75%) of the current frame aggregation length, and the current detection trigger frequency is maintained unchanged, and the third preset ratio is greater than the second preset ratio (i.e., 75%>50%).

[0188] (4) When the value of the delivery success rate information is greater than 90%, the successful delivery flow in the current cycle can be compared with the preset flow threshold. On this basis, there are the following two situations (a) and (b):

[0189] (a) when the successfully delivered traffic is greater than the preset traffic threshold (e.g., 5M), maintaining the aggregation length of the currently undelivered aggregated frame unchanged, and reducing the current detection trigger frequency based on the first preset amplitude (i.e., 1%);

[0190] (b) When the successfully delivered traffic is less than or equal to the above-mentioned preset traffic threshold, the current frame aggregation length can be increased based on a preset increment (such as 1, that is, 1 frame of data packet is increased each time), and the current detection trigger frequency can be adjusted to the default detection trigger frequency.

[0191] It is worth noting that the specific values ​​of the above-mentioned preset ratios, preset amplitudes, preset flow thresholds and other data are all illustrative examples and can be adjusted based on scenario requirements in actual applications.

[0192] In some embodiments, the method for determining the above-mentioned successful delivery traffic can be based on the records in the relevant technology, and this embodiment does not limit this.

[0193] In other embodiments, the above-mentioned method for determining the successful delivery flow rate can also refer to the following Figure 6 The illustrated embodiment will not be described in detail here.

[0194] From the above description, it can be seen that this embodiment determines the preset threshold range to which the information value of the delivery success rate information belongs, and adjusts the current undelivered aggregate frame based on the preset adjustment ratio corresponding to the preset threshold range. This can achieve the corresponding aggregate frame adjustment ratio based on the range to which the information value of the delivery success rate information belongs, which can improve the accuracy of adjusting the current undelivered aggregate frame, and further improve the delivery success rate of subsequent aggregate frames, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0195] Figure 6 FIG. 1 is a flowchart showing how to determine the successful delivery flow according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to determine the successful delivery flow as an example for exemplary description. Figure 6 As shown, the aggregation frame adjustment method of this embodiment may further include determining the successfully delivered traffic based on the following steps S601-S602:

[0196] In step S601, the target delivery flow in the current cycle is obtained.

[0197] In this embodiment, when it is necessary to determine the successful delivery traffic in the current cycle, the target delivery traffic in the current cycle, that is, the traffic expected to be delivered in the current cycle, can be first determined based on the target delivery packet number in the current cycle and the current frame aggregation length.

[0198] For example, the target delivery flow rate may be determined based on the product of the target delivery packet quantity and the current frame aggregation length.

[0199] In step S602, the successful delivery flow is determined based on the delivery success rate information and the target delivery flow.

[0200] In this embodiment, after the target delivery flow in the current cycle is obtained, the successful delivery flow may be determined based on the delivery success rate information and the target delivery flow.

[0201] For example, the successful delivery flow may be determined based on the product of the target delivery flow and the delivery success rate information.

[0202] From the above description, it can be seen that this embodiment obtains the target delivery traffic in the current period, and the target delivery traffic is determined based on the target delivery traffic number in the current period and the current frame aggregation length, and the successful delivery traffic is determined based on the delivery success rate information and the target delivery traffic. This can achieve accurate determination of the successful delivery traffic, and then can achieve subsequent accurate adjustment of the aggregated frame based on the comparison result between the successful delivery traffic and the preset traffic threshold, which can improve the success rate of subsequent aggregated frame delivery, thereby reducing channel delay.

[0203] Figure 7 It is a block diagram of an aggregate frame adjustment device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be applied to a transmitting device supporting WiFi P2P (such as a smart phone, a tablet computer, smart glasses, a smart watch, etc.).

[0204] like Figure 7 As shown, the device includes: an interference information determination module 110, a success rate information acquisition module 120 and an aggregate frame adjustment module 130, wherein:

[0205] An interference information determination module 110 is used to determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than the transmitting device and the receiving device;

[0206] A success rate information acquisition module 120, configured to acquire currently updated delivery success rate information in response to the first interference information satisfying a set information requirement, wherein the delivery success rate information is updated based on the currently delivered aggregated frame;

[0207] The aggregate frame adjustment module 130 is configured to adjust the currently undelivered aggregate frames based on the currently updated delivery success rate information.

[0208] It can be seen from the above description that the device of this embodiment determines the first interference information of the channel in the current period, the first interference information is used to reflect the time information of other devices occupying the channel in the current period, the other devices are electronic devices other than the transmitting device and the receiving device, and in response to the first interference information satisfying the set information requirements, obtains the currently updated delivery success rate information, the delivery success rate information is updated based on the currently delivered aggregate frame, and then the current undelivered aggregate frame is adjusted based on the currently updated delivery success rate information, so that the current undelivered aggregate frame can be adjusted in time based on the delivery success rate information of the currently delivered aggregate frame, so that when the delivery success rate of the aggregate frame decreases due to interference, the delivery success rate can be improved by adjusting the current undelivered aggregate frame, thereby reducing the channel delay problem in wireless data transmission scenarios such as wireless screen projection.

[0209] Figure 8 1 is a block diagram of another aggregation frame adjustment device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be applied to a transmitting end device supporting WiFi P2P (such as a smart phone, a tablet computer, smart glasses, a smart watch, etc.). Among them, the interference information determination module 210, the success rate information acquisition module 220 and the aggregation frame adjustment module 230 are the same as the aforementioned Figure 7 The functions of the interference information determination module 110, the success rate information acquisition module 120 and the aggregated frame adjustment module 130 in the illustrated embodiment are the same and will not be described in detail herein.

[0210] like Figure 8 As shown, the interference information determination module 210 may include:

[0211] An idle time detection unit 211, used to detect the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle;

[0212] The interference information determining unit 212 is configured to determine the first interference information based on the activation time and the idle time.

[0213] In some embodiments, the above apparatus may further include an information requirement determination module 240;

[0214] The information requirement determination module 240 may include:

[0215] An interference information comparing unit 241 is configured to compare the first interference information with second interference information of the channel in a previous cycle, where the previous cycle is a cycle adjacent to the current cycle on the time axis;

[0216] The information requirement determination unit 242 is configured to determine, in response to the first interference information being different from the second interference information, that the first interference information satisfies the set information requirement.

[0217] In some embodiments, the information requirement determination unit 242 is further configured to determine that the first interference information does not meet the set information requirement in response to the first interference information being the same as the second interference information.

[0218] In some embodiments, the above apparatus may further include an information updating module 250;

[0219] The information updating module 250 may include:

[0220] The number acquisition unit 251 is used to acquire the number of lost packets and the number of successfully delivered packets for delivering the aggregated frame with the current frame aggregation length after each aggregated frame is delivered;

[0221] An indicator determination unit 252, configured to determine a preset delivery indicator of the currently delivered aggregate frame based on the number of packet losses and the number of successfully delivered packets, wherein the preset delivery indicator includes a packet loss rate and / or a delivery length success rate;

[0222] The information updating unit 253 is used to determine the currently updated delivery success rate information based on the preset delivery indicator.

[0223] In some embodiments, when the preset delivery indicator includes the packet loss rate, the indicator determination unit 252 can also be used to determine the packet loss rate based on the ratio of the number of packet losses to the total number of delivered packets, where the total number of delivered packets is the sum of the number of packet losses and the number of successfully delivered packets.

[0224] In some embodiments, when the preset delivery indicator includes the delivery length success rate, the indicator determination unit 252 may also be used to:

[0225] Determine the sum of the successful delivery length and the failed delivery length, wherein the successful delivery length is determined based on the number of successfully delivered packets and the current frame aggregation length, and the failed delivery length is determined based on the number of lost packets and the current frame aggregation length;

[0226] The delivery length success rate is determined based on the ratio of the successful delivery length to the sum.

[0227] In some embodiments, the aggregate frame adjustment module 230 may include:

[0228] A threshold range determining unit 231, configured to determine a preset threshold range to which the information value of the delivery success rate information belongs;

[0229] The aggregate frame adjustment unit 232 is configured to adjust the currently undelivered aggregate frame based on a preset adjustment ratio corresponding to the preset threshold range.

[0230] In some embodiments, the aggregate frame adjustment unit 232 may also be configured to:

[0231] In response to the information value of the delivery success rate information being less than or equal to the first delivery rate threshold, the frame aggregation length of the current undelivered aggregate frame is adjusted to a first preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude. The current detection trigger frequency is determined based on the number of the current undelivered aggregate frames and the total number of data packets to be delivered.

[0232] In some embodiments, the aggregate frame adjustment unit 232 may also be configured to:

[0233] In response to the information value of the delivery success rate information being greater than a first delivery rate threshold and less than or equal to a second delivery rate threshold, the frame aggregation length of the current undelivered aggregated frame is adjusted to a second preset proportion of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude.

[0234] In some embodiments, the aggregate frame adjustment unit 232 may also be configured to:

[0235] In response to the information value of the delivery success rate information being greater than the second delivery rate threshold and less than or equal to the third delivery rate threshold, adjusting the aggregation length of the current undelivered aggregated frame to a third preset proportion of the current frame aggregation length, and maintaining the current detection trigger frequency unchanged.

[0236] In some embodiments, the aggregate frame adjustment unit 232 may also be configured to:

[0237] In response to the information value of the delivery success rate information being greater than a third delivery rate threshold, comparing the successful delivery flow in the current cycle with a preset flow threshold;

[0238] In response to the successfully delivered traffic being greater than the preset traffic threshold, maintaining the aggregation length of the current undelivered aggregated frame unchanged, and reducing the current detection triggering frequency based on a first preset amplitude.

[0239] In some embodiments, the aggregate frame adjustment unit 232 may also be configured to:

[0240] In response to the successfully delivered traffic being less than or equal to the preset traffic threshold, the current frame aggregation length is increased based on a preset increment, and the current detection trigger frequency is adjusted to a default detection trigger frequency.

[0241] In some embodiments, the aggregate frame adjustment module 230 may further include a delivery traffic determination unit 233;

[0242] The delivery flow determination unit 233 may be used to:

[0243] Acquire a target delivery flow rate in the current cycle, where the target delivery flow rate is determined based on the number of target delivery packets in the current cycle and the current frame aggregation length;

[0244] The successful delivery flow is determined based on the delivery success rate information and the target delivery flow.

[0245] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0246] Fig. 9 900 is a block diagram of a transmitting end device according to an exemplary embodiment. For example, the device 900 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0247] Reference Fig. 9 , device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .

[0248] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0249] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0250] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.

[0251] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0252] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0253] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0254] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0255] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0256] In an exemplary embodiment, the device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0257] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0258] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0259] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for adjusting an aggregate frame, characterized in that: Applied to a transmitting device, the method comprises: Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting end device and the receiving end device; In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame; The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

2. The method according to claim 1, characterized in that The determining first interference information of the channel in the current period includes: Detecting the activation time of the radio frequency component of the transmitting end device and the idle time of the channel in the current cycle; The first interference information is determined based on the active time and the idle time.

3. The method according to claim 1, characterized in that The method further comprises: Comparing the first interference information with second interference information of the channel in a previous period; In response to the first interference information being different from the second interference information, it is determined that the first interference information meets the set information requirement.

4. The method according to claim 3, characterized in that: The method further comprises: In response to the first interference information being the same as the second interference information, it is determined that the first interference information does not meet the set information requirement.

5. The method according to claim 1, characterized in that The method further includes updating the delivery success rate information based on the following manner: After each aggregate frame is delivered, the number of lost packets and the number of successfully delivered packets for aggregate frame delivery with the current frame aggregation length are obtained; Determine a preset delivery index of the currently delivered aggregate frame based on the number of lost packets and the number of successfully delivered packets, wherein the preset delivery index includes a packet loss rate and / or a delivery length success rate; The currently updated delivery success rate information is determined based on the preset delivery indicator.

6. The method according to claim 5, characterized in that In a case where the preset delivery indicator includes the packet loss rate, determining the preset delivery indicator of the currently delivered aggregate frame based on the number of lost packets and the number of successfully delivered packets includes: The packet loss rate is determined based on a ratio of the number of lost packets to the total number of delivered packets, where the total number of delivered packets is the sum of the number of lost packets and the number of successfully delivered packets.

7. The method according to claim 5, characterized in that In a case where the preset delivery indicator includes the delivery length success rate, determining the preset delivery indicator of the currently delivered aggregate frame based on the number of packet losses and the number of successfully delivered packets includes: Determine the sum of the successful delivery length and the failed delivery length, wherein the successful delivery length is determined based on the number of successfully delivered packets and the current frame aggregation length, and the failed delivery length is determined based on the number of lost packets and the current frame aggregation length; The delivery length success rate is determined based on the ratio of the successful delivery length to the sum.

8. The method according to claim 1, characterized in that The adjusting the currently undelivered aggregated frame based on the currently updated delivery success rate information includes: Determine a preset threshold range to which the information value of the delivery success rate information belongs; The currently undelivered aggregate frame is adjusted based on a preset adjustment ratio corresponding to the preset threshold range.

9. The method according to claim 8, characterized in that The adjusting the currently undelivered aggregate frame based on the preset adjustment ratio corresponding to the preset threshold range includes: In response to the information value of the delivery success rate information being less than or equal to the first delivery rate threshold, the frame aggregation length of the current undelivered aggregate frame is adjusted to a first preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude. The current detection trigger frequency is determined based on the number of the current undelivered aggregate frames and the total number of data packets to be delivered.

10. The method according to claim 8, characterized in that The adjusting the currently undelivered aggregate frame based on the preset adjustment ratio corresponding to the preset threshold range includes: In response to the information value of the delivery success rate information being greater than a first delivery rate threshold and less than or equal to a second delivery rate threshold, the frame aggregation length of the current undelivered aggregated frame is adjusted to a second preset ratio of the current frame aggregation length, and the current detection trigger frequency is increased based on the first preset amplitude.

11. The method according to claim 8, characterized in that The adjusting the currently undelivered aggregate frame based on the preset adjustment ratio corresponding to the preset threshold range includes: In response to the information value of the delivery success rate information being greater than the second delivery rate threshold and less than or equal to the third delivery rate threshold, adjusting the aggregation length of the current undelivered aggregated frame to a third preset proportion of the current frame aggregation length, and maintaining the current detection trigger frequency unchanged.

12. The method according to claim 8, characterized in that The adjusting the currently undelivered aggregate frame based on the preset adjustment ratio corresponding to the preset threshold range includes: In response to the information value of the delivery success rate information being greater than a third delivery rate threshold, comparing the successful delivery flow in the current cycle with a preset flow threshold; In response to the successfully delivered traffic being greater than the preset traffic threshold, the aggregation length of the currently undelivered aggregated frame is maintained unchanged, and the current detection triggering frequency is reduced based on a first preset amplitude.

13. The method according to claim 12, characterized in that The method further comprises: In response to the successfully delivered traffic being less than or equal to the preset traffic threshold, the current frame aggregation length is increased based on a preset increment, and the current detection trigger frequency is adjusted to a default detection trigger frequency.

14. The method according to claim 12, characterized in that The method further includes determining the successful delivery flow in advance based on the following manner: Acquire a target delivery flow rate in the current cycle, where the target delivery flow rate is determined based on the number of target delivery packets in the current cycle and the current frame aggregation length; The successful delivery flow is determined based on the delivery success rate information and the target delivery flow.

15. An aggregate frame adjustment device, characterized in that: Applied to a transmitting device, the device comprises: An interference information determination module, used to determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than the transmitting end device and the receiving end device; A success rate information acquisition module, configured to acquire currently updated delivery success rate information in response to the first interference information satisfying the set information requirement, wherein the delivery success rate information is updated based on the currently delivered aggregated frame; The aggregate frame adjustment module is used to adjust the currently undelivered aggregate frame based on the currently updated delivery success rate information.

16. A transmitting end device, characterized in that: The device comprises: a processor and a memory for storing a computer program; Wherein, the processor is configured to implement, when executing the computer program: Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, and the other devices are electronic devices other than the transmitting end device and the receiving end device; In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame; The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it realizes: Determine first interference information of a channel in a current period, where the first interference information is used to reflect time information of other devices occupying the channel in the current period, where the other devices are electronic devices other than a transmitting end device and a receiving end device; In response to the first interference information satisfying the set information requirement, obtaining currently updated delivery success rate information, wherein the delivery success rate information is updated based on the currently delivered aggregated frame; The currently undelivered aggregated frame is adjusted based on the currently updated delivery success rate information.