CN106211295B - WiFi device control method and device - Google Patents

WiFi device control method and device Download PDF

Info

Publication number
CN106211295B
CN106211295B CN201610782362.XA CN201610782362A CN106211295B CN 106211295 B CN106211295 B CN 106211295B CN 201610782362 A CN201610782362 A CN 201610782362A CN 106211295 B CN106211295 B CN 106211295B
Authority
CN
China
Prior art keywords
wifi module
area network
local area
terminal device
network environment
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.)
Active
Application number
CN201610782362.XA
Other languages
Chinese (zh)
Other versions
CN106211295A (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201610782362.XA priority Critical patent/CN106211295B/en
Publication of CN106211295A publication Critical patent/CN106211295A/en
Application granted granted Critical
Publication of CN106211295B publication Critical patent/CN106211295B/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/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • H04W52/0206Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
    • 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/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
    • 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/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • 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 WiFi equipment control method and device, wherein the method comprises the following steps: detecting whether a local area network environment where first terminal equipment which is connected with a wireless router and is provided with a WiFi module is located meets a preset trigger condition or not; if the local area network environment does not meet the triggering condition, controlling a WiFi module of the first terminal equipment to enter a sleep mode; and if the local area network environment meets the trigger condition, waking up the WiFi module in the sleep mode. According to the method, when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, the WiFi module is controlled to enter the sleep mode, and the power consumption of the WiFi module is reduced.

Description

WiFi device control method and device
Technical Field
The invention relates to the technical field of wireless communication, in particular to a WiFi device control method and device.
Background
Along with the popularization of intelligent terminal devices such as smart phones, the manufacturing technology of the intelligent terminal devices is also continuously improved. More and more intelligent terminal devices can establish connection with the internet by utilizing the WiFi wireless network communication technology.
However, the power consumption of the WiFi module is relatively large, especially when the WiFi module is used as an AP hotspot and performs data communication, the peak power of receiving and transmitting is usually about 60mW to 80mW, which has a great influence on the power consumption of the terminal device.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first object of the present invention is to provide a WiFi device control method, which controls a WiFi module to enter a sleep mode when a local area network environment where the WiFi module is located does not meet a trigger condition, so as to reduce power consumption of the WiFi module.
The second purpose of the invention is to provide a WiFi device control device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a WiFi device control method, including the following steps:
detecting whether a local area network environment where first terminal equipment which is connected with a wireless router and is provided with a WiFi module is located meets a preset trigger condition or not;
if the local area network environment does not meet the trigger condition, controlling a WiFi module of the first terminal device to enter a sleep mode;
and if the local area network environment meets the trigger condition, waking up the WiFi module in the sleep mode.
The WiFi device control method provided by the embodiment of the invention detects whether a local area network environment where a first terminal device which is connected with a wireless router and is provided with a WiFi module is located meets a preset trigger condition, controls the WiFi module of the first terminal device to enter a sleep mode if the local area network environment does not meet the trigger condition, and awakens the WiFi module in the sleep mode if the local area network environment meets the trigger condition. Therefore, when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, the WiFi module is controlled to enter the sleep mode, and power consumption of the WiFi module is reduced.
In addition, the WiFi device control method of the embodiment of the present invention further has the following additional technical features:
in an embodiment of the present invention, the detecting whether a local area network environment in which a first terminal device having a WiFi module connected to a wireless router is located meets a preset trigger condition includes:
detecting whether a second terminal device which is not configured with the wireless router and is provided with a WiFi module exists in the local area network environment, wherein the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode;
if the second terminal equipment is detected and found not to exist, determining that the local area network environment does not meet the triggering condition, and further controlling a WiFi module of the first terminal equipment to enter a sleep mode;
and if the second terminal equipment is detected to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
In an embodiment of the present invention, the detecting whether a local area network environment in which a first terminal device having a WiFi module connected to a wireless router is located meets a preset trigger condition includes:
detecting whether a third terminal device with a WiFi module automatically connected with the wireless router exists in the local area network environment, wherein the third terminal device and the wireless router are configured in advance;
if the third terminal equipment is detected and found not to exist, determining that the local area network environment does not meet the triggering condition, and further controlling a WiFi module of the first terminal equipment to enter a sleep mode;
and if the third terminal equipment is detected and found to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
In an embodiment of the present invention, the detecting whether a local area network environment in which a first terminal device having a WiFi module connected to a wireless router is located meets a preset trigger condition includes:
detecting whether a third terminal device with a WiFi module automatically connected with the wireless router exists in the local area network environment, wherein the third terminal device and the wireless router are configured in advance;
if the third terminal equipment is detected and found not to exist, determining that the local area network environment does not meet the triggering condition, and further controlling a WiFi module of the first terminal equipment to enter a sleep mode;
and if the third terminal equipment is detected and found to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
In an embodiment of the present invention, the detecting whether there is a preset user in the local area network environment includes:
and detecting whether a preset user exists in a preset range through a sensor preset on the first terminal device.
In order to achieve the above object, a second aspect of the present invention provides a WiFi device operating apparatus, including:
the detection module is used for detecting whether a local area network environment where first terminal equipment which is connected with the wireless router and is provided with a WiFi module is located meets a preset trigger condition or not;
the control module is used for controlling the WiFi module of the first terminal device to enter a sleep mode when the local area network environment does not meet the trigger condition;
the control module is further configured to wake up the WiFi module in the sleep mode when the local area network environment meets the trigger condition.
The WiFi device control device provided by the embodiment of the invention detects whether a local area network environment where first terminal equipment which is connected with a wireless router and is provided with a WiFi module is located meets a preset trigger condition, controls the WiFi module of the first terminal equipment to enter a sleep mode if the local area network environment does not meet the trigger condition, and awakens the WiFi module in the sleep mode if the local area network environment meets the trigger condition. Therefore, when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, the WiFi module is controlled to enter the sleep mode, and power consumption of the WiFi module is reduced.
In addition, the WiFi device control apparatus in the embodiment of the present invention further has the following additional technical features:
in one embodiment of the invention, the detection module comprises:
a first detecting unit, configured to detect whether a second terminal device having a WiFi module and not configured with the wireless router exists in the local area network environment, where the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode;
the first determining unit is used for determining that the local area network environment does not meet the triggering condition when detecting and knowing that the second terminal device does not exist, and further controlling the WiFi module of the first terminal device to enter a sleep mode;
the first determining unit is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the second terminal device exists, and then the control module wakes up the WiFi module in the sleep mode.
In one embodiment of the invention, the detection module comprises: a second detection unit, configured to detect whether a third terminal device having a WiFi module and automatically connected to the wireless router exists in the local area network environment, where the third terminal device and the wireless router are preconfigured;
a second determining unit, configured to determine that the local area network environment does not meet the trigger condition when it is detected that the third terminal device does not exist, and then the control module controls the WiFi module of the first terminal device to enter a sleep mode;
the second determining unit is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the third terminal device exists, and further wake up the WiFi module in the sleep mode.
In one embodiment of the invention, the detection module comprises:
a third detecting unit, configured to detect whether a preset user exists in the local area network environment;
a third determining unit, configured to determine that the local area network environment does not meet the trigger condition when it is detected that the preset user does not exist, and further control the WiFi module of the first terminal device to enter a sleep mode;
the third determining unit is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the preset user exists, and further wake up the WiFi module in the sleep mode.
In one embodiment of the present invention, the third determining unit is configured to:
and detecting whether a preset user exists in a preset range through a sensor preset on the first terminal device.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a WiFi device handling method according to one embodiment of the present invention;
fig. 2 is a flowchart of a WiFi device handling method according to another embodiment of the present invention;
fig. 3 is a schematic view of an application scenario of a WiFi device manipulation method according to an embodiment of the present invention;
fig. 4 is a flowchart of a WiFi device handling method according to yet another embodiment of the present invention;
fig. 5 is a schematic view of an application scenario of a WiFi device manipulation method according to another embodiment of the present invention;
fig. 6 is a flowchart of a WiFi device manipulation method according to yet another embodiment of the present invention;
fig. 7 is a schematic view of an application scenario of a WiFi device manipulation method according to another embodiment of the present invention;
FIG. 8 is a schematic diagram of the structure of the manipulation of a WiFi device in accordance with one embodiment of the present invention;
fig. 9 is a schematic structural diagram of a WiFi device manipulation according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a WiFi device manipulation according to yet another embodiment of the present invention; and
fig. 11 is a schematic structural diagram of WiFi device manipulation according to yet another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The WiFi device operating method and apparatus according to the embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a WiFi device handling method according to one embodiment of the present invention.
As shown in fig. 1, the WiFi device manipulation method may include:
s110, detecting whether a local area network environment where a first terminal device connected with the wireless router and provided with a WiFi module is located meets a preset trigger condition.
Specifically, in order to reduce the power consumption of the WiFi module, the invention provides a WiFi device control method, which controls the WiFi module to enter a sleep mode by sensing the surrounding local area network environment and when the local area network environment where the WiFi module connected to a wireless router is located does not meet a trigger condition, so that the power consumption of the WiFi module is reduced.
Specifically, in an actual execution process, whether a local area network environment where a first terminal device connected to a wireless router and having a WiFi module is located meets a preset trigger condition is detected.
It should be noted that the trigger condition is a condition set in advance for controlling the WiFi module, and the trigger condition is used to determine whether the WiFi module needs to be awakened to perform a corresponding service, and the preset trigger condition is different according to different specific application scenarios.
And S120, if the local area network environment does not meet the triggering condition, controlling the WiFi module of the first terminal device to enter a sleep mode.
Specifically, if the local area network environment does not satisfy the trigger condition, it indicates that there is no terminal device that needs the WiFi module of the first terminal device to provide data service in the current local area network environment, so as to reduce the power consumption of the first terminal device, the WiFi module of the first terminal device is controlled to enter the sleep mode.
The sleep mode corresponds to a low-power-consumption working mode of the WiFi module, and in the mode, the power consumption of the WiFi module is smaller.
S130, if the local area network environment meets the trigger condition, the WiFi module in the sleep mode is awakened.
Specifically, if the local area network environment meets the trigger condition, it indicates that there is a terminal device that needs the WiFi module of the first terminal device to provide data services in the current local area network environment, for example, there is a newly-entered terminal device in communication connection with the WiFi module to perform related services, so as to wake up the WiFi module in the sleep mode to perform corresponding services.
In summary, the WiFi device control method according to the embodiment of the present invention detects whether a local area network environment in which a first terminal device connected to a wireless router and having a WiFi module is located meets a preset trigger condition, controls the WiFi module of the first terminal device to enter a sleep mode if the local area network environment does not meet the trigger condition, and wakes up the WiFi module in the sleep mode if the local area network environment meets the trigger condition. Therefore, when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, the WiFi module is controlled to enter the sleep mode, and power consumption of the WiFi module is reduced.
Based on the above embodiment, further, for a clearer description, how to detect whether the local area network environment where the first terminal device is located meets the preset trigger condition is described in detail below with reference to a specific application scenario:
in a first example, in a local area network environment of a first terminal device, when the first terminal device with a WiFi module is connected to a wireless router, whether a new terminal device with a WiFi module does not have a distribution network or is about to distribute a distribution network is sensed to determine whether the local area network environment where the first terminal device with a WiFi module is located meets a preset trigger condition.
Specifically, fig. 2 is a flowchart of a WiFi device handling method according to another embodiment of the present invention, as shown in fig. 2, the method includes:
s210, detecting whether a second terminal device which is not configured with the wireless router and is provided with a WiFi module exists in the local area network environment, wherein the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode.
It can be understood that, in practical applications, as shown in fig. 3, the terminal devices already in the network and the terminal devices not in the network (such as WiFi smart products) are in inconsistent states, for example, the terminal devices already in the network are in the STA mode, and the terminal devices not in the network are in the AP mode or Sniffer fast-connection packet capture mode.
Therefore, whether the current local area network environment has the AP mode or the Sniffer fast connection packet capturing mode or the like can be judged by detecting the state of the terminal equipment, and whether the current local area network environment has the terminal equipment needing to be distributed.
Specifically, whether a second terminal device which is not configured with the wireless router and is provided with a WiFi module exists in the local area network environment or not is detected, wherein the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode.
And S220, if the second terminal equipment is detected and found not to exist, determining that the local area network environment does not meet the triggering condition, and further controlling the WiFi module of the first terminal equipment to enter a sleep mode.
Specifically, if it is detected that there is no second terminal device, it is determined that the WiFi module of the current first terminal device does not need to provide a corresponding data service, and therefore, in order to reduce power consumption of the WiFi module, the WiFi module of the first terminal device is controlled to enter a sleep mode.
And S230, if the second terminal equipment is detected and known to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
Specifically, if it is known that the second terminal device exists through detection, it is determined that the WiFi module of the first terminal device needs to provide the corresponding data service, and thus, in order to provide the corresponding service, the WiFi module of the first terminal device in the sleep mode is woken up.
As a second example, since the location of the terminal device with the WiFi module in the area where the user frequently moves, such as a home or an office, is fixed and is the terminal device that is normally connected to the router, it may be detected whether the terminal device that is previously connected to the wireless router exists by using the first terminal device with the WiFi module in a manner of local area network broadcasting, so as to determine whether the local area network environment where the first terminal device with the WiFi module is located meets the preset trigger condition.
Fig. 4 is a flowchart of a WiFi device handling method according to another embodiment of the present invention, as shown in fig. 4, the method includes:
s310, detecting whether a third terminal device with a WiFi module automatically connected with the wireless router exists in the local area network environment, wherein the third terminal device and the wireless router are configured in advance.
It can be understood that in practical applications, a user usually uses a terminal device to connect to an associated wireless router by remembering a password, as shown in fig. 5, once the user enters the local area network environment of the first terminal device connected to the wireless router and having a WiFi module, the terminal device used by the user automatically connects to the wireless router.
Specifically, whether a third terminal device with a WiFi module automatically connected to the wireless router exists or not is detected, wherein the third terminal device and the wireless router are configured in advance.
And S320, if the third terminal equipment is detected and found not to exist, determining that the local area network environment does not meet the triggering condition, and further controlling the WiFi module of the first terminal equipment to enter the sleep mode.
Specifically, if it is detected that there is no third terminal device, it is determined that the WiFi module of the current first terminal device does not need to provide a corresponding data service, and therefore, in order to reduce power consumption of the WiFi module, the WiFi module of the first terminal device is controlled to enter a sleep mode.
S330, if the third terminal equipment is detected and known to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
Specifically, if it is known that the third terminal device exists through detection, it is determined that the WiFi module of the first terminal device needs to provide the corresponding data service, and thus, in order to provide the corresponding service, the WiFi module of the first terminal device in the sleep mode is woken up.
In a third example, in practical application, when a user is in a local area network environment where a first terminal device is located, the user usually connects the corresponding terminal device to the wireless router to perform corresponding activities such as work or life.
Therefore, in this example, whether the lan environment where the first terminal device with the WiFi module is located meets the preset trigger condition may be determined by cooperation of other external detection devices, for example, whether the user is an administrator (a family member who has operation authority for the terminal device with the WiFi module in the family, a staff member who has terminal device with the WiFi module in the office, and the like) in the lan where the first terminal device is currently located, which is detected by other sensors.
Fig. 6 is a flowchart of a WiFi device handling method according to still another embodiment of the present invention, as shown in fig. 6, the method includes:
s410, detecting whether a preset user exists in the local area network environment.
Specifically, in the embodiment of the present invention, whether a preset user exists in a preset range may be detected by a sensor preset on the first terminal device, such as an administrator detecting whether the terminal device exists or not.
As shown in fig. 7, the sensor disposed on the first terminal device may include an infrared sensor, a visual sensor, a temperature and humidity sensor, a motion sensor, an audio sensor, an electronic device sensor, and the like.
For example, when the sensor on the first terminal device includes a visual sensor, it may be identified whether the user is an administrator or not according to facial features of the user holding the terminal device in the current local area network environment captured by the visual sensor.
And S420, if the preset user does not exist, determining that the local area network environment does not meet the triggering condition, and further controlling the WiFi module of the first terminal device to enter a sleep mode.
Specifically, if it is detected that there is no preset user, it is determined that the WiFi module of the current first terminal device does not need to provide a corresponding data service, and therefore, in order to reduce power consumption of the first terminal device, the WiFi module of the first terminal device is controlled to enter a sleep mode.
S430, if the preset user is detected and known to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module in the sleep mode.
Specifically, if it is detected that there is a preset user, it is determined that the WiFi module of the current first terminal device needs to provide a corresponding data service, and thus the first terminal device in the sleep mode is woken up in order to provide the corresponding service to the user.
In summary, according to the WiFi device control method in the embodiment of the present invention, according to different application requirements, different manners may be adopted to detect whether the local area network environment where the first terminal device having the WiFi module connected to the wireless router is located meets the preset trigger condition, so as to further facilitate controlling the WiFi module to enter the sleep mode when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, thereby reducing power consumption of the WiFi module.
In order to implement the above embodiments, the present invention further provides a WiFi device control apparatus. Fig. 8 is a schematic structural diagram of a WiFi device manipulation apparatus according to an embodiment of the present invention, as shown in fig. 8, the WiFi device manipulation apparatus includes: a detection module 10 and a control module 20.
The detection module 10 is configured to detect whether a local area network environment where a first terminal device connected to the wireless router and having a WiFi module is located meets a preset trigger condition.
The control module 20 is configured to control the WiFi module of the first terminal device to enter a sleep mode when the local area network environment does not meet the trigger condition.
In an embodiment of the present invention, the control module 20 is further configured to wake up the WiFi module in the sleep mode when the local area network environment meets the trigger condition.
It should be noted that the foregoing explanation on the WiFi device operation method is also applicable to the explanation on the WiFi device operation device according to the embodiment of the present invention, and the implementation principle is similar, and is not repeated herein.
In summary, the WiFi device operating and controlling apparatus in the embodiment of the present invention detects whether a local area network environment where a first terminal device connected to a wireless router and having a WiFi module is located meets a preset trigger condition, controls the WiFi module of the first terminal device to enter a sleep mode if the local area network environment does not meet the trigger condition, and wakes up the WiFi module in the sleep mode if the local area network environment meets the trigger condition. Therefore, when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, the WiFi module is controlled to enter the sleep mode, and power consumption of the WiFi module is reduced.
Fig. 9 is a schematic structural diagram of the operation of the WiFi device according to another embodiment of the present invention, as shown in fig. 9, and on the basis of fig. 8, the detection module 10 may include a first detection unit 11 and a first determination unit 12.
The first detecting unit 11 is configured to detect whether a second terminal device having a WiFi module and not configured with the wireless router exists in the local area network environment, where the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode.
The first determining unit 12 is configured to determine that the local area network environment does not meet the trigger condition when it is detected that the second terminal device does not exist, and then the control module 20 controls the WiFi module of the first terminal device to enter the sleep mode;
in an embodiment of the present invention, the first determining unit 12 is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the second terminal device exists, and further the control module 20 wakes up the WiFi module in the sleep mode.
Fig. 10 is a schematic structural diagram of the operation of the WiFi device according to another embodiment of the present invention, as shown in fig. 10, on the basis of fig. 8, the detection module 10 may include a second detection unit 13 and a second determination unit 14.
The second detecting unit 13 is configured to detect whether a third terminal device having a WiFi module and automatically connected to the wireless router exists in the local area network environment, where the third terminal device and the wireless router are configured in advance.
The second determining unit 14 is configured to determine that the local area network environment does not meet the trigger condition when it is detected that the third terminal device does not exist, and then the control module 20 controls the WiFi module of the first terminal device to enter the sleep mode.
In an embodiment of the present invention, the second determining unit 14 is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the third terminal device exists, and further the control module 20 wakes up the WiFi module in the sleep mode.
Fig. 11 is a schematic structural diagram of a WiFi device operation according to still another embodiment of the present invention, as shown in fig. 11, and based on fig. 8, the detection module 10 may include a third detection unit 15 and a third determination unit 16.
The third detecting unit 15 is configured to detect whether a preset user exists in the lan environment.
In one embodiment of the present invention, the third detecting unit 15 detects whether there is a preset user within a preset range through a sensor preset on the first terminal device.
The third determining unit 16 is configured to determine that the local area network environment does not meet the trigger condition when it is detected that the preset user does not exist, and then the control module 20 controls the WiFi module of the first terminal device to enter the sleep mode.
In an embodiment of the present invention, the third determining unit 16 is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the preset user exists, and further wake up the WiFi module in the sleep mode.
It should be noted that the foregoing explanation on the WiFi device operation method is also applicable to the explanation on the WiFi device operation device according to the embodiment of the present invention, and the implementation principle is similar, and is not repeated herein.
In summary, according to the WiFi device operating device in the embodiment of the present invention, according to different application requirements, different manners may be adopted to detect whether the local area network environment where the first terminal device having the WiFi module connected to the wireless router is located meets the preset trigger condition, so as to further facilitate controlling the WiFi module to enter the sleep mode when the local area network environment where the WiFi module connected to the wireless router is located does not meet the trigger condition, thereby reducing power consumption of the WiFi module.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A WiFi device control method is characterized by comprising the following steps:
detecting whether a second terminal device which is not configured with a wireless router and has a WiFi module exists in a local area network environment where a first terminal device which is connected with the wireless router and has the WiFi module is located, wherein the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode;
if the second terminal equipment is detected and found not to exist, determining that the local area network environment does not meet a trigger condition, and further controlling a WiFi module of the first terminal equipment to enter a sleep mode;
and if the second terminal equipment is detected and found to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module of the first terminal equipment in the sleep mode.
2. A WiFi device control method is characterized by comprising the following steps: detecting whether a third terminal device with a WiFi module automatically connected with a wireless router exists in a local area network environment where a first terminal device with the WiFi module connected with the wireless router is located, wherein the third terminal device and the wireless router are configured in advance;
if the third terminal equipment is detected and found not to exist, determining that the local area network environment does not meet a trigger condition, and further controlling a WiFi module of the first terminal equipment to enter a sleep mode;
and if the third terminal equipment is detected and found to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module of the first terminal equipment in the sleep mode.
3. A WiFi device control method is characterized by comprising the following steps:
detecting whether a preset user exists in a local area network environment where a first terminal device which is connected with a wireless router and is provided with a WiFi module is located, wherein the preset user is an administrator user;
if the preset user does not exist, determining that the local area network environment does not meet a trigger condition, and further controlling a WiFi module of the first terminal device to enter a sleep mode;
and if the preset user is detected and known to exist, determining that the local area network environment meets the trigger condition, and further waking up the WiFi module of the first terminal equipment in the sleep mode.
4. The method of claim 3, wherein the detecting whether the first terminal device with the WiFi module connected to the wireless router is located in a local area network environment with a preset user comprises:
and detecting whether the preset user exists in a preset range through a sensor preset on the first terminal equipment.
5. A WiFi device control apparatus, comprising:
the device comprises a first detection module and a second detection module, wherein the first detection module is used for detecting whether a second terminal device which is not configured with a wireless router and is provided with a WiFi module exists in a local area network environment where a first terminal device which is connected with the wireless router and is provided with the WiFi module is located, and the second terminal device is in an AP mode or a Sniffer fast connection packet capturing mode;
the first control module is used for determining that the local area network environment does not meet a trigger condition when detecting and knowing that the second terminal equipment does not exist, and further controlling the WiFi module of the first terminal equipment to enter a sleep mode;
the first control module is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the second terminal device exists, and further wake up the WiFi module of the first terminal device in the sleep mode.
6. A WiFi device control apparatus, comprising: the second detection module is used for detecting whether a third terminal device with a WiFi module automatically connected with the wireless router exists in a local area network environment where a first terminal device with the WiFi module connected with the wireless router is located, wherein the third terminal device and the wireless router are configured in advance;
the second control module is used for determining that the local area network environment does not meet the triggering condition when detecting and knowing that the third terminal equipment does not exist, and then the control module controls the WiFi module of the first terminal equipment to enter a sleep mode;
the second control module is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the third terminal device exists, and further wake up the WiFi module of the first terminal device in the sleep mode.
7. A WiFi device control apparatus, comprising:
the third detection module is used for detecting whether a preset user exists in a local area network environment where a first terminal device which is connected with the wireless router and is provided with a WiFi module is located, wherein the preset user is an administrator user;
the third control module is used for determining that the local area network environment does not meet the triggering condition when detecting and knowing that the preset user does not exist, and further controlling the WiFi module of the first terminal equipment to enter a sleep mode;
the third control module is further configured to determine that the local area network environment meets the trigger condition when detecting and knowing that the preset user exists, and further wake up the WiFi module of the first terminal device in the sleep mode.
8. The apparatus of claim 7, wherein the third detection module comprises a third determination unit, wherein the third determination unit is to:
and detecting whether the preset user exists in a preset range through a sensor preset on the first terminal equipment.
CN201610782362.XA 2016-08-30 2016-08-30 WiFi device control method and device Active CN106211295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610782362.XA CN106211295B (en) 2016-08-30 2016-08-30 WiFi device control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610782362.XA CN106211295B (en) 2016-08-30 2016-08-30 WiFi device control method and device

Publications (2)

Publication Number Publication Date
CN106211295A CN106211295A (en) 2016-12-07
CN106211295B true CN106211295B (en) 2020-02-28

Family

ID=58086620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610782362.XA Active CN106211295B (en) 2016-08-30 2016-08-30 WiFi device control method and device

Country Status (1)

Country Link
CN (1) CN106211295B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112294060B (en) * 2017-07-28 2022-10-14 芜湖美的厨卫电器制造有限公司 Awakening method and device of intelligent water cup system and intelligent water cup
CN108809777B (en) * 2018-06-15 2021-12-21 广东美的制冷设备有限公司 Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014186523A2 (en) * 2013-05-15 2014-11-20 Qualcomm Incorporated Access point-aided coexistence/concurrency at mobile devices
CN105323362A (en) * 2014-06-27 2016-02-10 中兴通讯股份有限公司 Terminal working mode adjustment method and device
CN105392185A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105653006A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN105744474A (en) * 2014-12-08 2016-07-06 深圳市腾讯计算机系统有限公司 Method of controlling terminal device mobile data network state change, and terminal
CN105898845A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal WIFI state switching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014186523A2 (en) * 2013-05-15 2014-11-20 Qualcomm Incorporated Access point-aided coexistence/concurrency at mobile devices
CN105323362A (en) * 2014-06-27 2016-02-10 中兴通讯股份有限公司 Terminal working mode adjustment method and device
CN105744474A (en) * 2014-12-08 2016-07-06 深圳市腾讯计算机系统有限公司 Method of controlling terminal device mobile data network state change, and terminal
CN105392185A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105898845A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal WIFI state switching method and device
CN105653006A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment

Also Published As

Publication number Publication date
CN106211295A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
KR20140027875A (en) An ultra low power apparatus and method to wake up a main processor
CN110677899B (en) Data transmission method, device, terminal equipment and storage medium
CN107277902B (en) Terminal power consumption control method, mobile terminal and computer readable storage medium
CN107197507B (en) Method and device for controlling network link and mobile terminal
CN110488692B (en) Device control method, device, system, electronic device and storage medium
US8904212B2 (en) Power management utilizing proximity or link status determination
CN107786424B (en) Audio and video communication method, terminal and server
CN111278027A (en) Energy-saving signal detection method, resource determination method and related equipment
CN111313500A (en) Charging management method and device, electronic equipment and computer readable storage medium
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN106211295B (en) WiFi device control method and device
CN110335378B (en) Unlocking mode distribution method, device and system
CN203279081U (en) Television woke up by local network
CN110461031B (en) Terminal device control method and terminal device
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN110995924A (en) Account management method and electronic equipment
CN108429363B (en) Wireless charging method and wireless charging device
CN107643692B (en) Energy efficiency management system and method
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN107066327B (en) Timing task processing method, mobile terminal and computer readable storage medium
KR20190129219A (en) Method And Apparatus for Providing Power Saving Optimization
CN103634148A (en) Method, server and system for configuring sensor
CN108170360B (en) Control method of gesture function and mobile terminal
CN111124098A (en) Intelligent power saving method and device for terminal and readable storage medium

Legal Events

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