Target wake-up time adjustment method, device, equipment and storage medium
By adjusting the target wake-up time in the 802.11ax protocol, combining the load situation of the wireless access point and the historical interactive data of the communication equipment, the TWT contract is optimized, and the problem of uneven resource allocation is solved, efficient resource utilization and energy consumption are achieved.
Patent Information
- Application Number
- CN202111194166.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-13
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2041-10-13
AI Technical Summary
In the 802.11ax protocol, when STA formulates TWT parameters to negotiate with AP, it is prone to uneven resource allocation problems, resulting in the inability to fully utilize the resources of AP and STA.
When the communication device negotiates the TWT contract for the first time, it receives the target wake-up time of the wireless access point and the parameter indication information in the Beacon message, records the wake-up and data interaction, and adjusts the target wake-up time according to indicators such as utilization and unutilization to optimize subsequent TWT contracts.
By adjusting the target wake-up time, maximize the use of wireless access points resources, reduce wake-up energy consumption of communication devices, reduce competition conflicts, and optimize throughput.
Smart Images

Figure CN114051268B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular, to a method, apparatus, device, and storage medium for adjusting target wake-up time. Background Art
[0002] The TWT (Target Wake Times) technology is a newly added mechanism in the 802.11ax protocol. This technology allows the STA (Station, client) to communicate with the AP (Access Point, wireless access point) intermittently and enter the sleep state at other times, thereby optimizing the power consumption management of the STA and enabling slow devices not to occupy the bandwidth for a long time. If the STA wants to join the TWT group of the AP or reach a TWT contract with the AP, it needs to negotiate the TWT parameter value, which determines the wake-up frequency and period of the STA. Generally, the STA needs to propose a TWT value in the TWT Request, and the AP will respond in the TWTresponse whether to accept this TWT value or whether to use another value to replace it. At this time, the STA can determine whether it complies with the value given by the AP. If it does not want to comply, it needs to send another TWT request to renegotiate. However, the 802.11ax protocol does not stipulate how the STA formulates its own TWT parameters to negotiate with the AP, which is likely to result in uneven distribution of the TWT period and unable to fully utilize the resources of the AP and the STA. Summary of the Invention
[0003] The purpose of the embodiments of the present invention is to provide a method, apparatus, device, and storage medium for adjusting target wake-up time, which can enable a communication device to perform periodic wake-up communication using the adjusted target wake-up time parameters, maximize the utilization of the resources of the wireless access point, reduce its own wake-up power consumption, reduce competition conflicts, and optimize throughput.
[0004] To achieve the above purpose, the embodiments of the present invention provide a method for adjusting target wake-up time, including:
[0005] When it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time, receive the target wake-up time sent by the wireless access point;
[0006] Obtain the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set;
[0007] When it is detected that the communication device performs a TWT interaction with the wireless access point, obtain the wake-up situation and data interaction situation of the communication device in the current TWT interaction;
[0008] Determine the number of wake-up times and the number of data interaction times for the communication device to perform TWT interaction with the wireless access point according to the wake-up situation and the data interaction situation; wherein, when the number of times the communication device performs TWT interaction with the wireless access point is greater than 2, the number of wake-up times and the number of data exchange times in each TWT interaction are respectively accumulated;
[0009] Adjust the target wake-up time according to the parameter indication information, the number of wake-up times, and the number of data interaction times, so as to apply the adjusted target wake-up time to the operation of negotiating the next TWT contract.
[0010] As an improvement to the above solution, the parameter indication information includes utilization rate and non-utilization rate; wherein, the non-utilization rate is frequency non-utilization rate or space non-utilization rate.
[0011] As an improvement to the above solution, the adjusting the target wake-up time according to the parameter indication information, the number of wake-up times, and the number of data interaction times includes:
[0012] Perform an initial adjustment on the target wake-up time according to the parameter indication information; wherein, the utilization rate is used for positive feedback adjustment of the target wake-up time, and the non-utilization rate is used for negative feedback adjustment of the target wake-up time;
[0013] Perform a secondary adjustment on the target wake-up time after the initial adjustment according to the number of wake-up times and the number of data interaction times.
[0014] As an improvement to the above solution, the performing an initial adjustment on the target wake-up time according to the parameter indication information includes:
[0015] Compare the utilization rate with a preset utilization rate reference value range to obtain a first comparison result;
[0016] Compare the non-utilization rate with a preset non-utilization rate reference value range to obtain a second comparison result;
[0017] Determine a corresponding first correction value according to the first comparison result and the second comparison result;
[0018] Add the first correction value to the target wake-up time.
[0019] As an improvement to the above solution, the performing a secondary adjustment on the target wake-up time after the initial adjustment according to the number of wake-up times and the number of data interaction times includes:
[0020] Calculate the proportion of the number of data interaction times and the number of wake-up times;
[0021] Compare the ratio of the number of times with a plurality of preset data intervals to determine the target data interval corresponding to the ratio of the number of times; wherein, each data interval corresponds to a second correction value;
[0022] Obtain the second correction value corresponding to the target data interval;
[0023] Add the second correction value to the target wake-up time after the initial adjustment.
[0024] To achieve the above object, an embodiment of the present invention further provides a target wake-up time adjustment device, including:
[0025] A target wake-up time receiving module, configured to receive the target wake-up time sent by the wireless access point when it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time;
[0026] A beacon message receiving module, configured to obtain the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set;
[0027] A wake-up situation and data interaction situation obtaining module, configured to obtain the wake-up situation and data interaction situation of the communication device in the current TWT interaction when it is detected that the communication device and the wireless access point perform a TWT interaction;
[0028] A wake-up number and data interaction number determining module, configured to determine the wake-up number and data interaction number of the communication device and the wireless access point for the TWT interaction according to the wake-up situation and the data interaction situation; wherein, when the number of times of the TWT interaction between the communication device and the wireless access point is greater than 2, the wake-up number and data exchange number in each TWT interaction are respectively accumulated;
[0029] A target wake-up time adjustment module, configured to adjust the target wake-up time according to the parameter indication information, the wake-up number, and the data interaction number, so as to apply the adjusted target wake-up time to the operation of negotiating the TWT contract next time.
[0030] As an improvement of the above solution, the parameter indication information includes utilization rate and non-utilization rate; wherein, the non-utilization rate is frequency non-utilization rate or space non-utilization rate.
[0031] As an improvement of the above solution, the target wake-up time adjustment module includes:
[0032] An initial adjustment unit, configured to perform an initial adjustment on the target wake-up time according to the parameter indication information;
[0033] A readjustment unit, configured to readjust the target wake-up time after the initial adjustment according to the number of wake-up times and the number of data interactions.
[0034] To achieve the above object, an embodiment of the present invention further discloses a target wake-up time adjustment device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the target wake-up time adjustment method described in any of the above embodiments is implemented.
[0035] To achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium. The computer-readable storage medium includes a stored computer program. When the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the target wake-up time adjustment method described in any of the above embodiments.
[0036] Compared with the prior art, for the target wake-up time adjustment method, device, equipment, and storage medium disclosed by the present invention, when a communication device and a wireless access point negotiate TWT for the first time, the communication device first uses the target wake-up time given by the wireless access point to perform TWT interaction; obtain the parameter indication information with the basic service set sent by the wireless access point, and at the same time obtain the number of wake-up times and the number of data interactions of the communication device during TWT interaction, so as to adjust the target wake-up time according to the parameter indication information, the number of wake-up times, and the number of data interactions, and apply the adjusted target wake-up time to the operation of negotiating the next TWT contract. Since in the process of adjusting the target wake-up time, the influence of the load condition of the basic service set of the wireless access point is fully considered, and the target wake-up time is adjusted in combination with the historical wake-up times and historical data interaction times of the communication device, the communication device that performs periodic wake-up using the adjusted target wake-up time parameter can maximize the utilization of the resources of the wireless access point, reduce its own wake-up energy consumption, reduce competition conflicts, and optimize throughput. Description of the Drawings
[0037] Figure 1 is a flowchart of a target wake-up time adjustment method provided by an embodiment of the present invention;
[0038] Figure 2 is a schematic diagram of the format of a basic service set provided by an embodiment of the present invention;
[0039] Figure 3 is a schematic structural diagram of a target wake-up time adjustment device provided by an embodiment of the present invention;
[0040] Figure 4 is a schematic structural diagram of a target wake-up time adjustment device provided by an embodiment of the present invention. Detailed Embodiments
[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0042] See Figure 1 , Figure 1 which is a flowchart of a method for adjusting the target wake-up time provided by an embodiment of the present invention. The method for adjusting the target wake-up time includes:
[0043] S1. When it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time, receive the target wake-up time sent by the wireless access point;
[0044] S2. Obtain the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set;
[0045] S3. When it is detected that the communication device and the wireless access point perform a TWT interaction once, obtain the wake-up situation and data interaction situation of the communication device in the current TWT interaction;
[0046] S4. Determine the number of wake-up times and data interaction times of the communication device and the wireless access point for the TWT interaction according to the wake-up situation and the data interaction situation;
[0047] S5. Adjust the target wake-up time according to the parameter indication information, the number of wake-up times and the number of data interactions, so as to apply the adjusted target wake-up time to the operation of negotiating the TWT contract next time.
[0048] It should be noted that the method for adjusting the target wake-up time described in the embodiments of the present invention can be implemented by a communication device, and the communication device is a client STA, such as a mobile phone, a computer and other clients.
[0049] Specifically, in step S1, when the communication device negotiates a TWT contract with the wireless access point for the first time, it first uses the initial target wake-up time given by the wireless access point. At this time, there is no mandatory regulation in the protocol for the rule of the wireless access point to give the target wake-up time, that is, each manufacturer can customize it when specifying the chip algorithm.
[0050] Specifically, in step S2, the wireless access point broadcasts Beacon messages to communication devices at the start of each Beacon interval period. The default period is 100 ms, and this period can be adjusted. The role of the Beacon message is to broadcast the load information of the basic service set (BSS) to communication devices so that the communication devices can obtain the information of the wireless access point through this Beacon message. It should be noted that the Beacon message is different from the trigger frame sent by the wireless access point. The role of the trigger frame is to send uplink messages to communication devices that have received the trigger frame.
[0051] Exemplarily, the Beacon message format of the basic service set (BSS) can refer to Figure 2 , where the Element ID in the figure is the ID of the Beacon message; Length is the length of the Beacon message; Element IDExtension is the extension of the Beacon message ID; HE SAT Count is the number of associated communication devices; Utilization is the utilization rate, which represents the proportion of time that the wireless access point detects that the current channel is busy due to the transmission between the wireless access point and communication devices; Frequency Underutilization is the frequency underutilization rate, which represents the proportion of time that the wireless access point fails to fully utilize the frequency domain resources due to channel busy in a certain period; Spatial Stream Underutilization is the spatial underutilization rate, which represents the proportion of time that the wireless access point fails to fully utilize the spatial domain resources during the given channel busy time.
[0052] Specifically, the parameter indication information includes the utilization rate (i.e., Utilization) and the underutilization rate; among them, the underutilization rate is the frequency underutilization rate (i.e., Frequency Underutilization) or the spatial underutilization rate (i.e., Spatial Stream Underutilization). The communication device records the utilization rate, frequency underutilization rate, and spatial underutilization rate of each received Beacon message.
[0053] The utilization rate satisfies the following formula:
[0054]
[0055] where T busyIndicates the number of microseconds during which the CCA indicates that the channel is busy due to the transmission between the wireless access point and the communication device; dot11ChannelUtilizationBeaconIntervals indicates the number of consecutive Beacon intervals within the period of measuring the channel busy time, and dot11BeaconPeriod indicates the interval period for the wireless access point to send Beacon messages.
[0056] The unutilized frequency satisfies the following formula:
[0057]
[0058] Where F U is the unutilized frequency; T i is the time interval, in microseconds, i represents the i-th time interval during which the primary 20MHz channel is busy due to the transmission between the wireless access point and the communication device; N is the total number of channel busy events that occur within the total channel measurement time; N RU is the time interval T i The number of RUs allocated within the BSS bandwidth; RU j is the normalization factor depending on the RU size, equal to the ratio of the j-th RU size to the maximum RU size within the BSS bandwidth; B j,i is 1 if the j-th RU is occupied or interfered within the time T i otherwise it is 0.
[0059] The unutilized space satisfies the following formula:
[0060]
[0061] Where F S is the unutilized space; N maxSS represents the number of maximum spatial streams supported by the wireless access point; N RUM is the number of RUs with a size of at least 106 Tones and allocated within the BSS bandwidth within the time interval T i ; RUM j is the normalization factor depending on the RU size, RUM is applied to RUs with a size of at least 106 Tones, and is equal to the ratio of the j-th RU size to the maximum RUM size within the BSS bandwidth, that is, if the j-th RUM is 106 Tones and the BSS bandwidth is 20MHz, then RUM j = 106 / 242; N SS,j,i represents the number of streams on the j-th RUM within the busy time T i .
[0062] Specifically, in step S3, when the communication device exits the first TWT interaction, it needs to record the mean values of the utilization rate, the frequency non-utilization rate, and the space non-utilization rate respectively, and at the same time record the wake-up situation and data interaction situation in the current TWT interaction.
[0063] Exemplarily, the wireless access point can transmit the start time of the trigger frame to the communication device through TWTIE. The wireless access point can broadcast the overall service time in the broadcast mode as a beacon to the communication device. The communication device receives the beacon containing the TWT information element (IE). If the communication device finds its own information in the TWTIE, it wakes up at a fixed time and waits for the trigger frame. The TWT IE can include information such as the wake-up time, sleep time, or the interval between sleep times.
[0064] However, not all TWTs are trigger-frame-based TWTs; if the TWT is a trigger-frame-based TWT, the communication device will be woken up and wait for the wireless access point to send a trigger frame to itself (the wireless access point may not send it, depending on whether the current wireless access point already has cached data); if the TWT is not a trigger-frame-based TWT, the communication device does not need to wait for the trigger frame after waking up and can directly send data or wait for the wireless access point to send data. Therefore, after the communication device is woken up, it does not necessarily need to wait for the trigger frame. The data interaction situation in the present invention refers to the data interaction situation between the communication device and the wireless access point on the premise that the wireless access point has sent a trigger frame.
[0065] Specifically, in step S4, the wake-up times m and data interaction times n of the communication device and the wireless access point for TWT interaction are determined according to the wake-up situation and the data interaction situation. Each time a TWT is performed, the values of m and n are accumulated. The more TWTs are performed, the larger the values of m and n will be, and thus their statistical significance will be greater. Therefore, after the first TWT, the recording of m and n can be started, and after a certain number of records, the values of m and n can be used as the basis for adjusting the target wake-up time.
[0066] Specifically, in step S5, adjusting the target wake-up time according to the parameter indication information, the wake-up times, and the data interaction times includes steps S51 to S52:
[0067] S51. Make a primary adjustment to the target wake-up time according to the parameter indication information; among them, the utilization rate is used for positive feedback adjustment of the target wake-up time, and the non-utilization rate is used for negative feedback adjustment of the target wake-up time;
[0068] S52. Adjust the target wake-up time after the initial adjustment again according to the number of wake-up times and the number of data interactions.
[0069] Exemplarily, since the communication device receives a Beacon message every time it performs a TWT interaction, and the Beacon message carries the utilization rate and the non-utilization rate. When only one Beacon message is received, the utilization rate and the non-utilization rate can be directly used for subsequent calculations. When the number of received Beacon messages is greater than 2, the average values of the utilization rate and the non-utilization rate need to be calculated at this time, and then the target wake-up time is adjusted according to the average value of the utilization rate and the average value of the non-utilization rate. The smaller the utilization rate and the larger the frequency non-utilization rate (or space non-utilization rate), it indicates that the channel occupancy frequency is relatively low at this time, or the number of RUs (or the number of utilized space-time streams) being utilized is very small. At this time, the interaction frequency can be appropriately increased, that is, the target wake-up time is reduced, and the variable value can be reduced on the basis of the previous target wake-up time; vice versa.
[0070] In the embodiments of the present invention, the target wake-up time is initially adjusted by using the parameter indication information, and then the number of wake-up times and the number of data interactions of the communication device statistically recorded in the past are used to adjust the target wake-up time again. The target wake-up time after two adjustments can maximize the utilization of the resources of the wireless access point, reduce the energy consumption of its own wake-up, reduce competition conflicts, and optimize the throughput.
[0071] Specifically, in step S51, the initial adjustment of the target wake-up time according to the parameter indication information includes steps S511 to S514:
[0072] S511. Compare the utilization rate with a preset utilization rate reference value range to obtain a first comparison result;
[0073] S512. Compare the non-utilization rate with a preset non-utilization rate reference value range to obtain a second comparison result;
[0074] S513. Determine a corresponding first correction value according to the first comparison result and the second comparison result;
[0075] S514. Add the first correction value to the target wake-up time.
[0076] Exemplarily, assume that the upper limit of the utilization rate judgment threshold is U1 and the lower limit of the judgment threshold is U2. Then, the reference value range of the utilization rate is [U2, U1]; the upper limit of the non-utilization rate judgment threshold is FU1 and the lower limit of the threshold judgment is FU2. Then, the reference value range of the non-utilization rate is [FU2, FU1]. At this time, there are three types of first comparison results for the utilization rate, which are: less than the lower limit, greater than the upper limit, and moderate range; there are also three types of second comparison results for the non-utilization rate, which are: less than the lower limit, greater than the upper limit, and moderate range. Determine the corresponding first correction value according to the first comparison result and the second comparison result. The specific value can refer to Table 1. The first correction value in the table is unit, and unit is the wake-up interval of the target wake-up time. The longer this wake-up interval is, the lower the wake-up frequency of the communication device is. It should be noted that the value of the first correction value in Table 1 is only an example in the embodiment of the present invention. In actual situations, users can customize the value of the first correction value, as long as the value that can revise the target wake-up time can be used as the first correction value, and it is within the protection scope of the present invention.
[0077] Table 1 Value of the first correction value
[0078] Utilization rate Non-utilization rate First correction value (unit) Less than the lower limit Greater than the upper limit -3 Less than the lower limit Moderate range -2 Less than the lower limit Less than the lower limit -1 Moderate range Greater than the upper limit -1 Moderate range Moderate range 0 Moderate range Less than the lower limit +1 Greater than the upper limit Greater than the upper limit +1 Greater than the upper limit Moderate range +2 Greater than the upper limit Less than the lower limit +3
[0079] Specifically, in step S52, the step of readjusting the target wake-up time after the initial adjustment according to the wake-up times and the data interaction times includes steps S521 to S524:
[0080] S521. Calculate the ratio p of the number of data interaction times n to the number of wake-up times m;
[0081] S522. Compare the ratio p with a plurality of preset data intervals to determine the target data interval corresponding to the ratio p; wherein, each data interval corresponds to a second correction value;
[0082] S523. Obtain the second correction value corresponding to the target data interval;
[0083] S524. Add the second correction value to the target wake-up time after the initial adjustment.
[0084] Exemplarily, the ratio p satisfies p = n / m * 100%. When the data exchanged between the communication device itself and the wireless access point is relatively small, it indicates that the communication device does not need to wake up too frequently. Therefore, the number of units is increased to achieve the purpose of increasing the target wake-up time. The data interval can be [0, 1 / 3], (1 / 3, 2 / 3], (2 / 3, 1]. At this time, the value of the second correction value can refer to Table 2. The second correction value in the table is the wake-up interval of the target wake-up time. The longer this wake-up interval is, the lower the wake-up frequency of the communication device. It should be noted that the data interval and the value of the second correction value in Table 2 are only examples in the embodiments of the present invention. In actual situations, users can customize the data interval and the value of the second correction value. As long as the value that can revise the target wake-up time can be used as the second correction value, and as long as the interval for revising the target wake-up time is divided, it can be used as the data interval, and all are within the protection scope of the present invention.
[0085] Table 2 Values of the second correction value
[0086] Data range Second correction value (unit) [0,1 / 3] +2 (1 / 3,2 / 3] +1 (2 / 3,1] 0
[0087] Taking Table 1 and Table 2 as an example: Assume the target wake-up time T in the previous TWT interaction. When the utilization rate is less than the lower limit and the non-utilization rate is greater than the upper limit, the corresponding first correction value is -3. At this time, the target wake-up time T1 after the preliminary adjustment in step S51 is T1 = T - 3. Jump to step S52. The ratio p is within the data interval [0, 1 / 3]. At this time, the corresponding second correction value is +2. The target wake-up time T2 after the re-adjustment in step S52 is T2 = T1 + 2 = T - 3 + 2 = T - 1.
[0088] Compared with the prior art, in the target wake-up time adjustment method disclosed by the present invention, when the communication device and the wireless access point first negotiate TWT, the communication device first uses the target wake-up time given by the wireless access point to perform TWT interaction; obtains the parameter indication information with the basic service set sent by the wireless access point, and at the same time obtains the wake-up times and data interaction times of the communication device during the TWT interaction, so as to adjust the target wake-up time according to the parameter indication information, wake-up times and data interaction times, and apply the adjusted target wake-up time to the operation of negotiating the next TWT contract. Since in the process of adjusting the target wake-up time, the influence of the load condition of the basic service set of the wireless access point is fully considered, and the target wake-up time is adjusted in combination with the historical wake-up times and historical data interaction times of the communication device, the communication device that performs periodic wake-up using the adjusted target wake-up time parameter can maximize the utilization of the resources of the wireless access point, reduce its own wake-up energy consumption, reduce competition conflicts, and optimize throughput.
[0089] SeeFigure 3 , Figure 3 is a schematic structural diagram of a target wake-up time adjustment device 10 provided by an embodiment of the present invention. The target wake-up time adjustment device 10 includes:
[0090] A target wake-up time receiving module 11, configured to receive the target wake-up time sent by the wireless access point when it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time;
[0091] A beacon receiving module 12, configured to obtain the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set;
[0092] A wake-up situation and data interaction situation obtaining module 13, configured to obtain the wake-up situation and data interaction situation of the communication device in the current TWT interaction when it is detected that the communication device and the wireless access point perform a TWT interaction;
[0093] A wake-up times and data interaction times determining module 14, configured to determine the wake-up times and data interaction times of the communication device and the wireless access point for TWT interaction according to the wake-up situation and the data interaction situation; wherein, when the number of times of TWT interaction between the communication device and the wireless access point is greater than 2, the wake-up times and data exchange times in each TWT interaction are respectively accumulated;
[0094] A target wake-up time adjustment module 15, configured to adjust the target wake-up time according to the parameter indication information, the wake-up times and the data interaction times, so as to apply the adjusted target wake-up time to the operation of negotiating the TWT contract next time.
[0095] Optionally, the parameter indication information includes utilization rate and non-utilization rate; wherein, the non-utilization rate is frequency non-utilization rate or space non-utilization rate.
[0096] Optionally, the target wake-up time adjustment module includes:
[0097] A primary adjustment unit, configured to perform a primary adjustment on the target wake-up time according to the parameter indication information;
[0098] A secondary adjustment unit, configured to perform a secondary adjustment on the target wake-up time after the primary adjustment according to the wake-up times and the data interaction times.
[0099] Optionally, the primary adjustment unit is configured to:
[0100] Compare the utilization rate with a preset utilization rate reference value range to obtain a first comparison result;
[0101] Compare the unutilization rate with a preset range of benchmark values of the unutilization rate to obtain a second comparison result;
[0102] Determine a corresponding first correction value according to the first comparison result and the second comparison result;
[0103] Add the first correction value to the target wake-up time.
[0104] Optionally, the readjustment unit is configured to:
[0105] Calculate the ratio of the number of data interactions to the number of wake-up times;
[0106] Compare the ratio with a plurality of preset data intervals to determine a target data interval corresponding to the ratio; wherein, each data interval corresponds to a second correction value;
[0107] Obtain the second correction value corresponding to the target data interval;
[0108] Add the second correction value to the target wake-up time after the initial adjustment.
[0109] It should be noted that the working processes of the various modules in the target wake-up time adjustment device 10 described in the embodiments of the present invention can refer to the working process of the target wake-up time adjustment method described in the above embodiments, and will not be elaborated here.
[0110] Compared with the prior art, in the target wake-up time adjustment device 10 disclosed in the present invention, when a communication device and a wireless access point negotiate TWT for the first time, the communication device first uses the target wake-up time given by the wireless access point to perform TWT interaction; obtain the parameter indication information with the basic service set sent by the wireless access point, and at the same time obtain the number of wake-up times and the number of data interactions of the communication device during TWT interaction, so as to adjust the target wake-up time according to the parameter indication information, the number of wake-up times and the number of data interactions, and apply the adjusted target wake-up time to the operation of negotiating the next TWT contract. Since the influence of the load condition of the basic service set of the wireless access point is fully considered in the process of adjusting the target wake-up time, and the target wake-up time is adjusted in combination with the historical wake-up times and historical data interaction times of the communication device, the communication device that performs periodic wake-up using the adjusted target wake-up time parameter can maximize the utilization of the resources of the wireless access point, reduce its own wake-up energy consumption, reduce competition conflicts, and optimize throughput.
[0111] See Figure 4 , Figure 4FIG. 0 is a schematic structural diagram of a target wake-up time adjustment device 20 provided by an embodiment of the present invention. The target wake-up time adjustment device 20 includes: a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above-mentioned various embodiments of the target wake-up time adjustment method are implemented. Alternatively, when the processor 21 executes the computer program, the functions of the various modules / units in the above-mentioned device embodiments are implemented.
[0112] Exemplarily, the computer program may be divided into one or more modules / units. The one or more modules / units are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and these instruction segments are used to describe the execution process of the computer program in the target wake-up time adjustment device 20.
[0113] The target wake-up time adjustment device 20 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The target wake-up time adjustment device 20 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art can understand that the schematic diagram is only an example of the target wake-up time adjustment device 20, and does not constitute a limitation on the target wake-up time adjustment device 20. It may include more or fewer components than shown, or combine certain components, or different components. For example, the target wake-up time adjustment device 20 may further include input / output devices, network access devices, buses, etc.
[0114] The so-called processor 21 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc. The processor 21 is the control center of the target wake-up time adjustment device 20, and connects various parts of the entire target wake-up time adjustment device 20 through various interfaces and lines.
[0115] The memory 22 can be used to store the computer programs and / or modules. By running or executing the computer programs and / or modules stored in the memory 22 and invoking the data stored in the memory 22, the processor 21 realizes various functions of the target wake-up time adjustment device 20. The memory 22 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 22 can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0116] Among them, if the modules / units integrated in the target wake-up time adjustment device 20 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-described embodiment methods of the present invention, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 21, the steps of the above-described various method embodiments can be realized. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, an executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0117] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present invention, the connection relationships between the modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement this without creative efforts.
[0118] The above is the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.
Claims
1. A method for adjusting the target wake-up time, characterized in that including: When it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time, receiving the target wake-up time sent by the wireless access point; Obtaining the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set; When it is detected that the communication device performs a TWT interaction with the wireless access point, obtaining the wake-up situation and data interaction situation of the communication device in the current TWT interaction; Determining the wake-up times and data interaction times of the communication device performing TWT interaction with the wireless access point according to the wake-up situation and the data interaction situation; wherein, when the number of times the communication device performs TWT interaction with the wireless access point is greater than 2, the wake-up times and data exchange times in each TWT interaction are respectively accumulated; Adjusting the target wake-up time according to the parameter indication information, the wake-up times and the data interaction times, so as to apply the adjusted target wake-up time to the operation of negotiating the TWT contract next time; wherein, the parameter indication information includes utilization rate and non-utilization rate; wherein, the non-utilization rate is frequency non-utilization rate or space non-utilization rate; the adjusting the target wake-up time according to the parameter indication information, the wake-up times and the data interaction times includes: Performing an initial adjustment on the target wake-up time according to the parameter indication information; wherein, the utilization rate is used for positive feedback adjustment of the target wake-up time, and the non-utilization rate is used for negative feedback adjustment of the target wake-up time; Performing a second adjustment on the target wake-up time after the initial adjustment according to the wake-up times and the data interaction times.
2. The target wake-up time adjustment method according to claim 1, wherein The performing an initial adjustment on the target wake-up time according to the parameter indication information includes: Comparing the utilization rate with a preset utilization rate reference value range to obtain a first comparison result; Comparing the non-utilization rate with a preset non-utilization rate reference value range to obtain a second comparison result; Determining a corresponding first correction value according to the first comparison result and the second comparison result; Adding the first correction value to the target wake-up time.
3. The target wake-up time adjustment method according to claim 1, characterized in that The performing a second adjustment on the target wake-up time after the initial adjustment according to the wake-up times and the data interaction times includes: Calculating the ratio of the number of data interaction times to the number of wake-up times; Comparing the ratio with a plurality of preset data intervals to determine the target data interval corresponding to the ratio; wherein, each data interval corresponds to a second correction value; Obtaining the second correction value corresponding to the target data interval; Adding the second correction value to the target wake-up time after the initial adjustment.
4. A target wake-up time adjustment device, characterized in that, including: A target wake-up time receiving module, configured to receive the target wake-up time sent by the wireless access point when it is detected that the communication device negotiates a TWT contract with the wireless access point for the first time; A message receiving module, configured to obtain the Beacon message sent by the wireless access point; wherein, the Beacon message includes parameter indication information of the basic service set; A wake-up situation and data interaction situation acquisition module, which is used to acquire the wake-up situation and data interaction situation of the communication device in the current TWT interaction when it is detected that the communication device has a TWT interaction with the wireless access point; A wake-up times and data interaction times determination module, which is used to determine the wake-up times and data interaction times of the communication device for TWT interaction with the wireless access point according to the wake-up situation and the data interaction situation; wherein, when the number of times of TWT interaction between the communication device and the wireless access point is greater than 2, the wake-up times and the data exchange times in each TWT interaction are respectively accumulated; A target wake-up time adjustment module, which is used to adjust the target wake-up time according to the parameter indication information, the wake-up times and the data interaction times, so as to apply the adjusted target wake-up time to the operation of negotiating the next TWT contract; Wherein, the parameter indication information includes utilization rate and non-utilization rate; wherein, the non-utilization rate is frequency non-utilization rate or space non-utilization rate; the target wake-up time adjustment module includes: A primary adjustment unit, which is used to perform a primary adjustment on the target wake-up time according to the parameter indication information; A secondary adjustment unit, which is used to perform a secondary adjustment on the target wake-up time after the primary adjustment according to the wake-up times and the data interaction times.
5. A target wake-up time adjustment device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the target wake-up time adjustment method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the target wake-up time adjustment method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Method of negotiating about target wakeup time (TWT), access point (AP) and station (STA)
CN106998582A
Efficient and energy-saving scheduling method applied to high-density WLAN
CN111065154A