CN115361730A - Method for reducing power consumption of WiFi (Wireless Fidelity) equipment, wiFi equipment and WiFi network system - Google Patents

Method for reducing power consumption of WiFi (Wireless Fidelity) equipment, wiFi equipment and WiFi network system Download PDF

Info

Publication number
CN115361730A
CN115361730A CN202211249661.9A CN202211249661A CN115361730A CN 115361730 A CN115361730 A CN 115361730A CN 202211249661 A CN202211249661 A CN 202211249661A CN 115361730 A CN115361730 A CN 115361730A
Authority
CN
China
Prior art keywords
value
listening interval
interval value
router
current listening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211249661.9A
Other languages
Chinese (zh)
Other versions
CN115361730B (en
Inventor
王洪亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202211249661.9A priority Critical patent/CN115361730B/en
Publication of CN115361730A publication Critical patent/CN115361730A/en
Application granted granted Critical
Publication of CN115361730B publication Critical patent/CN115361730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method for reducing power consumption of WiFi equipment, the WiFi equipment and a WiFi network system, wherein the method is applied to the WiFi equipment and comprises the following steps: after the current router is connected, setting a current listening interval value according to the beacon interval value of the router; sending a request needing response to a preset server, entering a DTIM data receiving mode and timing; detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, decreasing the current listening interval value. The invention enables the listening interval value of the WiFi equipment to be optimal under different routers, thereby ensuring that the power consumption is reduced under the condition of normal network work and prolonging the service life of the battery to the maximum extent.

Description

Method for reducing power consumption of WiFi (Wireless Fidelity) equipment, wiFi equipment and WiFi network system
Technical Field
The invention relates to the technical field of power consumption of WiFi (wireless fidelity) equipment, in particular to a method for reducing the power consumption of the WiFi equipment, the WiFi equipment and a WiFi network system.
Background
WiFi technology is high in power consumption, and is not suitable for long-time WiFi starting operation of battery-powered equipment (such as an intelligent door lock), and the energy-saving mode of WiFi is used in the conventional method. The device enters a sleep mode after setting fixed Listen Interval time, then wakes itself up to enter a receiving mode in corresponding time, receives a Beacon (Beacon) packet sent by the router, and judges whether to continue working or sleep.
The Listen Interval is generally set according to Beacon Interval (Beacon Interval) and delay time instant messaging (DTIM, frequency of wirelessly transmitting packets when using a wireless router) values of routers, and maximum DTIM values supported by different routers are different, and the larger the set value is, the higher the communication delay is. Usually, a smaller value of Listen Interval is set by the device to ensure compatibility with different routers, but the smaller value of Listen Interval consumes more power. Moreover, beacon Interval times of different routers are different, wiFi equipment must be awakened for a long enough time to ensure that a router Beacon packet is received, and the longer the awakening time is, the more power is consumed.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method for adaptively adjusting parameters of a WiFi device to reduce power consumption of the WiFi device, the WiFi device and a WiFi network system.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method for reducing power consumption of a WiFi device is constructed and applied to the WiFi device, and comprises the following steps:
after the router is connected currently, setting a current listening interval value according to a beacon interval value of the router;
sending a request needing response to a preset server, entering a DTIM data receiving mode and timing;
detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, decreasing the current listening interval value.
In one embodiment, the method for reducing power consumption of a WiFi device, before setting a current listening interval value according to a beacon interval value of the router, further comprises:
and connecting the router to acquire the beacon interval value of the router.
In one embodiment, in the method for reducing power consumption of a WiFi device, the obtaining a beacon interval value of the router includes:
recording the time difference of receiving the beacon sent by the router every two adjacent times;
calculating an average of all the time differences, and taking the average as a beacon interval value of the router.
In one embodiment, the method for reducing power consumption of a WiFi device, after reducing the current listening interval value, further comprises:
and returning to execute the request for sending the response to the preset server, entering a DTIM data receiving mode and timing.
In one embodiment, the method for reducing power consumption of the WiFi device, the setting the current listening interval value according to the beacon interval value of the router includes:
presetting a maximum value and a minimum value of a listening interval according to the beacon interval value;
judging whether the difference value between the maximum value and the minimum value is larger than a first preset value, if not, taking the maximum value as the current listening interval value after the router is currently connected;
if yes, after the router is connected currently, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking the middle value of the upper limit value and the lower limit value as the current listening interval value;
wherein, with the maximum value as the current listening interval value, the decreasing the current listening interval value comprises: reducing the current listening interval value according to a stepping method;
when the current listening interval value is taken as the middle value between the upper limit value and the lower limit value, the decreasing the current listening interval value includes: reducing the current listening interval value according to a bisection method.
In one embodiment, in the method for reducing power consumption of a WiFi device, when the maximum value is used as the current listening interval value, the reducing the current listening interval value further includes: until it is reduced to said minimum value.
In one embodiment, the method for reducing power consumption of a WiFi device, the reducing the current listening interval value according to a dichotomy comprises:
taking the current listening interval value as an upper limit value, and taking a middle value of the upper limit value and the lower limit value as a latest current listening interval value.
In one embodiment, when the intermediate value between the upper limit value and the lower limit value is taken as the current listening interval value, the taking the current listening interval value as the final listening interval value includes:
taking the current listening interval value as a lower limit value;
judging whether the difference value between the upper limit value and the lower limit value is a second preset value, if not, taking the middle value between the upper limit value and the lower limit value as the latest current listening interval value, returning to execute the request for sending a response to a preset server, entering a DTIM data receiving mode and timing; if yes, the lower limit value is used as a final listening interval value.
The invention also constructs a WiFi device comprising:
the device comprises a setting module, a sending module and a receiving module, wherein the setting module is used for setting a current listening interval value according to a beacon interval value of a router after the router is connected with the current router;
and the processing module is used for sending a request needing response to a preset server, entering a DTIM data receiving mode and timing, and detecting whether DTIM data is received in the current listening interval time, if so, taking the current listening interval value as a final listening interval value, and if not, reducing the current listening interval value.
The invention also constructs a WiFi network system, which comprises a router and the WiFi equipment, wherein the WiFi equipment is used for realizing the method for reducing the power consumption of the WiFi equipment.
By implementing the invention, the following beneficial effects are achieved:
the invention relates to a technical scheme for saving electric quantity by adaptively adjusting WiFi equipment parameters, which is characterized in that after a router is connected at present, a current listening interval value is set according to a beacon interval value of the router; sending a request needing response to a preset server, entering a DTIM data receiving mode and timing; detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, the current listening interval value is reduced, so that the listening interval value of the WiFi equipment can reach the optimal value under different routers, the power consumption is reduced under the condition that the network works normally, and the service life of the battery is prolonged to the maximum extent.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart illustrating a method for reducing power consumption of a WiFi device according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for reducing power consumption of a WiFi device according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for reducing power consumption of a WiFi device according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for reducing power consumption of a WiFi device according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of the WiFi device of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects, and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
It should be noted that the flow charts shown in the drawings are only exemplary and do not necessarily include all the contents and operations/steps, nor do they necessarily have to be executed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
Note that, the Beacon (Beacon): is the noun of the router side;
beacon Interval (Beacon Interval): the term "router" refers to a time interval between two beacons;
DTIM value: the term router refers to how many beacon intervals a multicast traffic is sent.
Listening Interval (Listen Interval): is the term WiFi device end, which refers to how many beacon intervals the WiFi device experiences between two awakes. A longer listening interval allows the WiFi device to turn off the transmitter longer, the longer the power is turned off, meaning that more power can be saved, thus significantly prolonging battery usage.
Wherein the two values of the listen interval value and the DTIM value are the same, the WiFi device tells the router this value by negotiation. The listening interval value and the DTIM value are both in units of beacon intervals, for example, 3 beacon interval times with a listening interval value of 3.
Generally speaking, a WiFi device sets a listening interval value before sleeping, and after the listening interval value is passed, the WiFi device must wake up to listen for data addressed to itself. Since the router buffers the data frame sent to the WiFi device in the sleep state, the buffering duration is greater than or equal to the listening interval value. If the WiFi device does not wake up to acquire the buffered data after the buffering duration, the router will directly discard the frames without further notification.
As shown in fig. 1, a first embodiment of the present invention discloses a method for reducing power consumption of a WiFi device, which is applied to the WiFi device, and includes the following steps:
s10: after the current router is connected, setting a current listening interval value according to the beacon interval value of the router;
s20: sending a request needing response to a preset server, entering a DTIM data receiving mode and timing;
s30: detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, decreasing the current listening interval value.
If the DTIM data sent by the router is not received in the current listening interval time (the DTIM data is a certain number of Beacon packets sent by the router under the DTIM value), it indicates that the router does not cache a sufficient number of Beacon packets in the current listening interval time, because the router caches a sufficient number of Beacon packets to send, and therefore the DTIM value of the router should be decreased, that is, the listening interval value of the WiFi device should be decreased, so that the Beacon packets cached by the router can be received when the WiFi device wakes up.
Specifically, the setting the current listening interval value according to the beacon interval value of the router further comprises:
s00: and connecting the router to obtain the beacon interval value of the router. Generally speaking, the beacon interval value of a router is stable for a period of time after being set, so that the time difference between every two adjacent times of receiving beacons transmitted by the router can be recorded, the average value of all the time differences is calculated, and the average value is used as the beacon interval value of the router, which is the accurate beacon interval value of the current router, and is generally 100ms. It is to be understood that the beacon interval value is merely illustrated herein, and is not to be construed as limiting the value thereof.
As shown in fig. 2, a second embodiment of the present invention discloses a method for reducing power consumption of a WiFi device, which is applied to the WiFi device, and includes the steps described in the first embodiment.
Wherein, step S30 includes:
s301: detecting whether DTIM data is received in the current listening interval time, if so, executing S302; if not, executing S303;
s302: taking the current listening interval value as a final listening interval value;
s303: reducing the current listening interval value and returning to step S20, namely, sending a request for response to a preset server, entering a receiving DTIM data mode and timing, thereby repeatedly adjusting the listening interval value until the DTIM data is reduced to be received within the current listening interval time.
As shown in fig. 3, a third embodiment of the present invention discloses a method for reducing power consumption of a WiFi device, which is applied to the WiFi device, and includes the steps described in the first embodiment or the second embodiment.
Wherein the setting of the current listening interval value according to the beacon interval value of the router comprises:
s101-1: presetting a maximum value and a minimum value of a listening interval according to the beacon interval value. The maximum value is used for ensuring that the communication delay is within an acceptable range, and the minimum value is used for ensuring that the WiFi equipment and all routers meeting the WiFi energy-saving mode standard can normally work. The minimum allowed by the WiFi power saving mode standard is 0 and all routers can support, but the power consumption will be slightly increased to balance the power consumption according to the actual product power consumption requirement, for example, set to 3. The maximum value can be determined according to actual products, for example, the server issues an instruction to require the equipment to respond within a specified time, and the maximum value is obtained after the time is converted into a listening interval;
s102-1: after the router is currently connected, taking the maximum value as the current listening interval value.
And, said decreasing said current listening interval value comprises: decreasing the current listening interval value according to a step-by-step method until decreasing to the minimum value. For example, the current listening interval value is decreased in 1 step until the minimum value is decreased. It is to be understood that the process of reducing the listening interval value is merely illustrated herein and does not constitute a limitation on the adjustment logic thereof.
As shown in fig. 4, a fourth embodiment of the present invention discloses a method for reducing power consumption of a WiFi device, which is applied to the WiFi device, and includes the steps described in the first embodiment or the second embodiment.
Wherein the setting of the current listening interval value according to the beacon interval value of the router comprises:
s101-2: a maximum value and a minimum value of a listening interval are preset according to the beacon interval value. The maximum value is used for ensuring that the communication delay is within an acceptable range, and the minimum value is used for ensuring that the WiFi equipment and all routers meeting the WiFi energy-saving mode standard can normally work. The minimum allowed by the WiFi power saving mode standard is 0 and all routers can support it, but the power consumption will be slightly increased according to the actual product power consumption requirement to balance the power consumption, for example, set to 3. The maximum value can be determined according to actual products, for example, the server issues an instruction to require the equipment to respond within a specified time, and the maximum value is obtained after the time is converted into a listening interval;
s102-2: and after the router is connected currently, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking the middle value of the upper limit value and the lower limit value as a current listening interval value.
And, said decreasing said current listening interval value comprises: and reducing the current listening interval value according to a dichotomy, specifically, taking the current listening interval value as an upper limit value, and taking a middle value of the upper limit value and the lower limit value as a latest current listening interval value.
Additionally, the taking the current listening interval value as a final listening interval value comprises:
taking the current listening interval value as a lower limit value;
judging whether the difference value between the upper limit value and the lower limit value is a second preset value, for example, the second preset value is 1, if not, taking the middle value between the upper limit value and the lower limit value as the latest current listening interval value, returning to execute the request of sending a response to a preset server, entering a DTIM data receiving mode and timing; if yes, the lower limit value is used as a final listening interval value.
For the specific selection of using the third embodiment or the fourth embodiment in the present invention, after presetting a maximum value and a minimum value of a listening interval according to the beacon interval value, it may be determined whether a difference between the maximum value and the minimum value is greater than a first preset value, that is, whether the difference is too large, if not, after the router is currently connected, the maximum value is taken as the current listening interval value, that is, the scheme of the third embodiment is selected; if yes, after the router is currently connected, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking a middle value of the upper limit value and the lower limit value as a current listening interval value, that is, selecting the scheme of the fourth embodiment.
For example, depending on the actual situation, such as the maximum value of 30, the minimum value of 2, a maximum of 20 times is possible according to the step method, and a maximum of 5 times is possible according to the dichotomy; if the maximum value is 10 and the minimum value is 2, the difference between the number of times of adjustment by the step method and the dichotomy is not so large.
Through the steps, the final listening Interval value can be used as a Listen Interval parameter of the WiFi device sleep mode, unnecessary power consumption is reduced to the maximum extent, and meanwhile, the maximum DTIM value applicable to the current router is obtained.
As shown in fig. 5, a fifth embodiment of the present invention discloses a WiFi device, including:
the device comprises a setting module, a sending module and a receiving module, wherein the setting module is used for setting a current listening interval value according to a beacon interval value of a router after the router is connected with the current router;
and the processing module is used for sending a request needing response to a preset server, entering a DTIM data receiving mode and timing, and detecting whether DTIM data is received in the current listening interval time, if so, taking the current listening interval value as a final listening interval value, and if not, reducing the current listening interval value.
If the DTIM data is not received in the current listening interval time, it indicates that the router does not cache a sufficient number of Beacon packets in the current listening interval time, and because the router does not transmit until the router caches the sufficient number of Beacon packets, the DTIM value should be decreased, that is, the listening interval value should be decreased, so that the Beacon packets cached by the router can be received when the WiFi device wakes up.
Specifically, the WiFi device further includes:
and the acquisition module is used for connecting the router and acquiring the beacon interval value of the router. Generally speaking, the beacon interval value of a router is stable for a period of time after being set, so that the time difference between every two adjacent times of receiving beacons transmitted by the router can be recorded, the average value of all the time differences is calculated, and the average value is used as the beacon interval value of the router, which is the accurate beacon interval value of the current router, and is generally 100ms.
In a sixth embodiment of the present invention, a WiFi device is disclosed, which includes the module described in the fifth embodiment.
Wherein said reducing said current listening interval value further comprises: and returning to execute the request for sending the response to the preset server, entering a DTIM data receiving mode and timing, and repeatedly adjusting the listening interval value until the DTIM data is reduced to be received in the current listening interval time.
A seventh embodiment of the present invention discloses a WiFi device, which includes the module described in the fifth embodiment or the sixth embodiment.
Wherein the setting of the current listening interval value according to the beacon interval value of the router comprises:
presetting a maximum value and a minimum value of a listening interval according to the beacon interval value. The maximum value is used for ensuring that the communication delay is within an acceptable range, and the minimum value is used for ensuring that the WiFi equipment and all routers meeting the WiFi energy-saving mode standard can work normally. The minimum allowed by the WiFi power saving mode standard is 0 and all routers can support, but the power consumption will be slightly increased to balance the power consumption according to the actual product power consumption requirement, for example, set to 3. The maximum value can be determined according to actual products, for example, the server issues an instruction to require the equipment to respond within a specified time, and the maximum value is obtained after the time is converted into a listening interval;
after the router is currently connected, taking the maximum value as the current listening interval value.
And, said decreasing said current listening interval value comprises: decreasing the current listening interval value according to a step-by-step method until the minimum value is reached. For example, the current listening interval value is decreased in 1 step until the minimum value is decreased.
An eighth embodiment of the present invention discloses a WiFi device, which includes the module described in the fifth embodiment or the sixth embodiment.
Wherein the setting of the current listening interval value according to the beacon interval value of the router comprises:
presetting a maximum value and a minimum value of a listening interval according to the beacon interval value. The maximum value is used for ensuring that the communication delay is within an acceptable range, and the minimum value is used for ensuring that the WiFi equipment and all routers meeting the WiFi energy-saving mode standard can normally work. The minimum allowed by the WiFi power saving mode standard is 0 and all routers can support, but the power consumption will be slightly increased to balance the power consumption according to the actual product power consumption requirement, for example, set to 3. The maximum value can be determined according to actual products, for example, the server issues an instruction to require the equipment to respond within a specified time, and the maximum value is obtained after the time is converted into a listening interval;
and after the router is connected currently, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking the middle value of the upper limit value and the lower limit value as a current listening interval value.
And, said decreasing said current listening interval value comprises: and reducing the current listening interval value according to a bisection method, specifically, taking the current listening interval value as an upper limit value, and taking a middle value of the upper limit value and the lower limit value as a latest current listening interval value.
In addition, the taking the current listening interval value as a final listening interval value includes:
taking the current listening interval value as a lower limit value;
judging whether the difference value between the upper limit value and the lower limit value is a second preset value, for example, the second preset value is 1, if not, taking the middle value between the upper limit value and the lower limit value as the latest current listening interval value, returning to execute the request of sending a response to a preset server, entering a DTIM data receiving mode and timing; if yes, the lower limit value is used as a final listening interval value.
For the specific selection of using the solution of the seventh embodiment or the solution of the eighth embodiment in the present invention, after presetting a maximum value and a minimum value of a listening interval according to the beacon interval value, it is determined whether a difference between the maximum value and the minimum value is greater than a first preset value, that is, whether the difference is too large, if not, after the router is currently connected, the maximum value is used as the current listening interval value, that is, the solution of the seventh embodiment is selected; if yes, after the router is currently connected, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking a middle value of the upper limit value and the lower limit value as a current listening interval value, that is, selecting the scheme of the eighth embodiment.
For example, depending on the actual situation, such as the maximum value 30, the minimum value 2, a maximum of 20 times is possible according to the step method, and a maximum of 5 times is possible according to the dichotomy method; if the maximum value is 10 and the minimum value is 2, the difference between the number of times of adjustment by the step method and the dichotomy is not so large.
Through the steps, the final listening Interval value can be used as a Listen Interval parameter of the WiFi device sleep mode, unnecessary power consumption is reduced to the maximum extent, and meanwhile, the maximum DTIM value applicable to the current router is obtained.
A ninth embodiment of the present invention discloses a WiFi network system, which includes a router and a WiFi device, where the WiFi device is configured to implement the method for reducing power consumption of the WiFi device described in the first embodiment, the second embodiment, the third embodiment, or the fourth embodiment.
By implementing the invention, the following beneficial effects are achieved:
the invention relates to a technical scheme for saving electric quantity by adaptively adjusting WiFi equipment parameters, which is characterized in that after a router is connected at present, a current listening interval value is set according to a beacon interval value of the router; sending a request needing response to a preset server, entering a DTIM data receiving mode and timing; detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, the current listening interval value is reduced, so that the listening interval value of the WiFi equipment can reach the optimal value under different routers, the power consumption is reduced under the condition that the network works normally, and the service life of the battery is prolonged to the maximum extent.
It should be understood that the above examples only represent some embodiments of the present invention, and the description thereof is more specific and detailed, but should not be construed as limiting the scope of the present invention; it should be noted that, for those skilled in the art, the above embodiments or technical features can be freely combined, and several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention, that is, the embodiments described in "some embodiments" can be freely combined with any of the above and below embodiments; therefore, all equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (10)

1. A method for reducing power consumption of a WiFi device is applied to the WiFi device and is characterized by comprising the following steps:
after the current router is connected, setting a current listening interval value according to the beacon interval value of the router;
sending a request needing response to a preset server, entering a DTIM data receiving mode and timing;
detecting whether DTIM data is received in the current listening interval time, and if so, taking the current listening interval value as a final listening interval value; if not, decreasing the current listening interval value.
2. The method of reducing power consumption of a WiFi device of claim 1, wherein setting a current listen interval value according to the router's beacon interval value further comprises:
and connecting the router to obtain the beacon interval value of the router.
3. The method of reducing power consumption of a WiFi device of claim 2, wherein the obtaining the beacon interval value of the router comprises:
recording the time difference of receiving the beacon sent by the router every two adjacent times;
calculating an average of all the time differences, and taking the average as a beacon interval value of the router.
4. The method of claim 1, wherein reducing the current listening interval value further comprises:
and returning to execute the request for sending the response to the preset server, entering a DTIM data receiving mode and timing.
5. The method of claim 1, wherein setting the current listening interval value according to the router's beacon interval value comprises:
presetting a maximum value and a minimum value of a listening interval according to the beacon interval value;
judging whether the difference value between the maximum value and the minimum value is larger than a first preset value, if not, taking the maximum value as the current listening interval value after the router is currently connected;
if yes, after the router is connected currently, taking the maximum value and the minimum value as an upper limit value and a lower limit value during adjustment respectively, and taking a middle value of the upper limit value and the lower limit value as the current listening interval value;
wherein, with the maximum value as the current listening interval value, the decreasing the current listening interval value comprises: reducing the current listening interval value according to a stepping method;
when the current listening interval value is taken as the middle value between the upper limit value and the lower limit value, the decreasing the current listening interval value includes: decreasing the current listening interval value according to a dichotomy.
6. The method of claim 5, wherein when the maximum value is taken as the current listening interval value, the reducing the current listening interval value further comprises: until it is reduced to said minimum value.
7. The method of claim 5, wherein reducing the current listening interval value according to dichotomy comprises:
taking the current listening interval value as an upper limit value, and taking a middle value of the upper limit value and the lower limit value as a latest current listening interval value.
8. The method of claim 5, wherein taking the middle value between the upper limit value and the lower limit value as the current listening interval value, the taking the current listening interval value as a final listening interval value comprises:
taking the current listening interval value as a lower limit value;
judging whether the difference value between the upper limit value and the lower limit value is a second preset value, if not, taking the middle value between the upper limit value and the lower limit value as the latest current listening interval value, returning to execute the request for sending a response to a preset server, entering a DTIM data receiving mode and timing; if yes, the lower limit value is used as a final listening interval value.
9. A WiFi device, comprising:
the device comprises a setting module, a sending module and a receiving module, wherein the setting module is used for setting a current listening interval value according to a beacon interval value of a router after the router is connected with the current router;
and the processing module is used for sending a request needing response to a preset server, entering a DTIM data receiving mode and timing, and detecting whether DTIM data is received in the current listening interval time, if so, taking the current listening interval value as a final listening interval value, and if not, reducing the current listening interval value.
10. A WiFi network system comprising a router and a WiFi device, characterized in that the WiFi device is configured to implement the method for reducing power consumption of the WiFi device according to any of claims 1-8.
CN202211249661.9A 2022-10-12 2022-10-12 Method for reducing power consumption of WiFi device, wiFi device and WiFi network system Active CN115361730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211249661.9A CN115361730B (en) 2022-10-12 2022-10-12 Method for reducing power consumption of WiFi device, wiFi device and WiFi network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211249661.9A CN115361730B (en) 2022-10-12 2022-10-12 Method for reducing power consumption of WiFi device, wiFi device and WiFi network system

Publications (2)

Publication Number Publication Date
CN115361730A true CN115361730A (en) 2022-11-18
CN115361730B CN115361730B (en) 2023-01-10

Family

ID=84008679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211249661.9A Active CN115361730B (en) 2022-10-12 2022-10-12 Method for reducing power consumption of WiFi device, wiFi device and WiFi network system

Country Status (1)

Country Link
CN (1) CN115361730B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809007A (en) * 2005-01-21 2006-07-26 捷讯研究有限公司 Delivery traffic indication message (dtim) periods in a wireless network
CN101969605A (en) * 2010-10-11 2011-02-09 杭州华三通信技术有限公司 Method and equipment for determining DTIM interval by AP
CN104509176A (en) * 2012-07-31 2015-04-08 高通股份有限公司 Listen interval (li) selection for wlan client
CN104641692A (en) * 2012-09-18 2015-05-20 Lg电子株式会社 Method and apparatus for updating listen interval in wireless lan system
CN105722194A (en) * 2016-01-25 2016-06-29 珠海全志科技股份有限公司 Method for adjusting dormant duration of STA device dynamically
US20170201940A1 (en) * 2016-01-07 2017-07-13 Qualcomm Incorporated Dynamic delivery traffic indication message implementations
CN107734620A (en) * 2017-11-29 2018-02-23 新华三技术有限公司 A kind of terminal awakening method, device and radio reception device
CN111417182A (en) * 2020-03-31 2020-07-14 上海庆科信息技术有限公司 Data transmission method, device, storage medium, processor and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809007A (en) * 2005-01-21 2006-07-26 捷讯研究有限公司 Delivery traffic indication message (dtim) periods in a wireless network
CN101969605A (en) * 2010-10-11 2011-02-09 杭州华三通信技术有限公司 Method and equipment for determining DTIM interval by AP
CN104509176A (en) * 2012-07-31 2015-04-08 高通股份有限公司 Listen interval (li) selection for wlan client
CN104641692A (en) * 2012-09-18 2015-05-20 Lg电子株式会社 Method and apparatus for updating listen interval in wireless lan system
US20170201940A1 (en) * 2016-01-07 2017-07-13 Qualcomm Incorporated Dynamic delivery traffic indication message implementations
CN105722194A (en) * 2016-01-25 2016-06-29 珠海全志科技股份有限公司 Method for adjusting dormant duration of STA device dynamically
CN107734620A (en) * 2017-11-29 2018-02-23 新华三技术有限公司 A kind of terminal awakening method, device and radio reception device
CN111417182A (en) * 2020-03-31 2020-07-14 上海庆科信息技术有限公司 Data transmission method, device, storage medium, processor and system

Also Published As

Publication number Publication date
CN115361730B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
EP2298007B1 (en) Method of establishing sleep mode operation for broadband wireless communications systems
EP1104638B1 (en) Method for power saving in a mobile terminal with established connections
AU2005239953B2 (en) Method for performing handover in broadband wireless access system
US7522564B2 (en) Radio terminal and radio communication system using same
EP1973355A1 (en) Method and apparatus for configuring mode timers
EP2399419B1 (en) Method of operating a sleep mode in a wireless communication system
US20070230418A1 (en) Triggering rule for energy efficient data delivery
US20060146769A1 (en) Method of operating a WLAN mobile station
WO2008005689A2 (en) Sleep mode optimization for increasing battery life in broadband wireless communication devices
KR20080007490A (en) Scheduling data transmissions to improve power efficiency in a wireless network
CN106973427B (en) Method and device for adaptively adjusting discontinuous reception mode
US9485728B1 (en) Power saving with WNM-sleep mode
US7167732B2 (en) Method for enhanced power saving on DCF based wireless networks
WO2010019400A1 (en) Method and apparatus for adjusting an on duration in a discontinuous receive transmission mode
EP2594107B1 (en) Improved system for device state transition control
WO2007102689A1 (en) Method for reducing power consumption of a terminal in cellular system
KR100957400B1 (en) System and method for operating control sleep mode in a communication system
Blobel et al. Low-power and Low-delay WLAN using Wake-up Receivers
CN115361730B (en) Method for reducing power consumption of WiFi device, wiFi device and WiFi network system
Li et al. DLI: A dynamic listen interval scheme for infrastructure-based IEEE 802.11 WLANs
KR20110069643A (en) Apparatus and system of power saving in stations of wireless communication systems
CN108712775B (en) Communication method and communication device, access point equipment and station equipment
CN112398527B (en) Control method and system for enabling satellite system to rapidly enter sleep state
WO2024093531A1 (en) Communication method and related apparatus
CN117941423A (en) Wireless communication method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant