WO2014117535A1 - 一种设备唤醒方法及装置 - Google Patents

一种设备唤醒方法及装置 Download PDF

Info

Publication number
WO2014117535A1
WO2014117535A1 PCT/CN2013/084900 CN2013084900W WO2014117535A1 WO 2014117535 A1 WO2014117535 A1 WO 2014117535A1 CN 2013084900 W CN2013084900 W CN 2013084900W WO 2014117535 A1 WO2014117535 A1 WO 2014117535A1
Authority
WO
WIPO (PCT)
Prior art keywords
wake
message
password
wireless signal
mode
Prior art date
Application number
PCT/CN2013/084900
Other languages
English (en)
French (fr)
Inventor
赵学文
林海锋
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP13807880.3A priority Critical patent/EP2785113B1/en
Priority to JP2014559090A priority patent/JP5973594B2/ja
Priority to US14/144,237 priority patent/US20140219148A1/en
Publication of WO2014117535A1 publication Critical patent/WO2014117535A1/zh

Links

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
    • 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

Definitions

  • the present invention claims priority to Chinese Patent Application No. 201310042704.0, filed on Feb. 4, 2013, the entire disclosure of which is hereby incorporated by reference.
  • the present invention relates to the field of communications, and in particular, to a device wake-up method and apparatus.
  • Wi-Fi wireless fidelity
  • Wi-Fi access point (AP) devices need to be kept working for a long time to facilitate Wi-Fi workstations (STAs) to be accessed at any time, which is convenient for users, but for general Wi-Fi AP devices. It is said that it is impossible to have Wi-Fi STA access 24 hours a day, which makes the Wi-Fi AP device idle for a long time, which causes waste of network resources. And if you are using a battery-powered portable Wi-Fi AP device, if you are unable to enter standby mode, you will continue to use battery power without Wi-Fi STA access, making the working time of the Wi-Fi AP device shorter. , will also have an impact on the battery life.
  • the prior art solution is that when the Wi-Fi AP device does not have Wi-Fi STA access, it will automatically enter the standby state after a certain period of time, if the user needs to continue to use
  • Wi-Fi you need to wake up the Wi-Fi AP device by pressing a button or other control method.
  • the Wi-Fi AP device is re-opened.
  • Embodiments of the present invention provide a device wake-up method and apparatus, which improve user experience in a device wake-up process.
  • a first aspect of the present invention provides a device wake-up method, including:
  • the first device detects whether the second device has a wireless signal, wherein the first device is a device that is awake by the second device; when the wireless signal is detected, The first device sends a first message to the second device, so that the second device switches to a workstation after receiving the first message
  • a STA mode where the first message is used to notify the second device that the first device is successfully awake
  • the first device is switched to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device;
  • the first device turns off the Wi-Fi and restarts the timer.
  • the sending, by the first device, the first message to the second device includes:
  • the first device switches to the STA mode; the first device accesses the Wi-Fi through the second device;
  • the first device sends the first message to the second device, where the first message carries a switching time, so that the second device is switched to the STA mode during the switching time.
  • the first device stores wake-up information of the second device, where the wake-up information includes at least a Wi-Fi network identifier
  • the detecting whether the second device has a wireless signal specifically includes: the first device detecting, according to the wake-up information, whether the second device has a wireless signal.
  • a second aspect of the present invention provides a device wakeup method, including:
  • the first device When the timing of the timer is equal to the preset threshold, the first device enters the access point AP mode, where the first device is a device that is awake by the second device; The first device detects whether a wake-up password sent by the second device is received; when detecting the wake-up password, the first device sends a first message to the second device; so that the second device receives Switching to the workstation after the first message
  • a STA mode wherein the second device accesses the wireless fidelity Wi-Fi by using the first device, where the first message is used to notify the second device that the first device is successfully awake;
  • the first device turns off the Wi-Fi and restarts the timer.
  • the sending, by the first device, the first message to the second device includes:
  • the first device detects whether the second device corresponding to the wakeup password exists in the pre-stored wakeable device list;
  • a third aspect of the present invention provides a device wakeup method, including:
  • the first device receives the wake-up password sent by the second device by using the communication technology; wherein, the first device is a device that is woken up by the second device;
  • the first device sends a first message to the second device, so that the second device switches to a workstation STA mode after receiving the first message, where the first message is used to send the first message
  • the second device notifies the first device that the device is successfully awake;
  • the first device switches to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the method further includes:
  • the sending, by the first device, the first message to the second device includes:
  • a fourth aspect of the present invention provides a device wake-up apparatus, including:
  • a detecting unit configured to: when the timing of the timer is equal to the preset threshold, detecting whether the second device is in a wireless signal; wherein the first device is a device that is awakened by the second device;
  • a sending unit configured to: when the detecting unit detects the wireless signal, send a first message to the second device; so that the second device switches to a workstation STA mode after receiving the first message; The first message is used to notify the second device that the first device is successfully awake;
  • a switching unit configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device
  • a processing unit configured to: when the detecting unit does not detect the wireless signal, turn off the Wi-Fi, and restart the timer.
  • the sending unit includes: a switching module, configured to switch to an STA mode if the detecting unit detects the wireless signal;
  • An access module configured to access the Wi-Fi by using the second device
  • a sending module configured to send the first message to the second device, where the first message carries a switching time, so that the second device is switched to the STA mode during the switching time.
  • the method further includes:
  • a storage unit configured to: when the detecting unit detects that the second device is configured to have a wireless signal, before the timing of the timer is equal to the preset threshold, storing the wakeup information of the second device;
  • the information includes at least a Wi-Fi network identifier;
  • the detecting unit includes:
  • a detecting module configured to detect, according to the wakeup information stored by the storage unit, whether the second device has a wireless signal.
  • a fifth aspect of the present invention provides a device wake-up device, including:
  • the access unit is configured to enter an access point AP mode when the timer time is equal to the preset threshold, where the first device is a device that is awake by the second device; a detecting unit, configured to detect whether a wake-up password sent by the second device is received, and a sending unit, configured to send, when the detecting unit detects the wake-up password, a first message to the second device, so that the After receiving the first message, the two devices switch to the workstation STA mode, so that the second device accesses the wireless fidelity Wi-Fi by using the first device, where the first message is used to The second device notifies the first device that the device is successfully awake;
  • a processing unit configured to: when the detecting unit does not detect the wake-up password, turn off the Wi-Fi, and restart the timer.
  • the sending unit includes: a detecting module, configured to detect, when the detecting unit detects the wake-up password, whether the second device corresponding to the wake-up password is detected
  • the sending module is configured to send, when the detecting module detects that the second device corresponding to the wake-up password exists in the wakeable device list, to send the The first message.
  • a sixth aspect of the present invention provides a device wake-up device, including:
  • a receiving unit configured to receive a wake-up password sent by the second device by using a communication technology, where the first device is a device that is woken up by the second device;
  • a sending unit configured to send, to the second device, a first message, so that the second device switches to a workstation STA mode after receiving the first message, where the first message is used to send the first message
  • the second device notifies the first device that the device is successfully awake
  • a switching unit configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the method further includes:
  • a detecting unit configured to detect, after the receiving unit receives the wake-up password sent by the second device by using a communication technology, whether the second device corresponding to the wake-up password exists in a pre-stored wake-up device list .
  • the sending unit includes:
  • a sending module configured to send, when the detecting unit detects that the second device corresponding to the wake-up password exists in the wakeable device list, to send the The first message.
  • the timing of the timer is equal to a preset threshold, and when the first device detects the wireless signal sent by the second device, sending a first message to the second device, indicating The second device is switched to the workstation STA mode. At this time, the first device is woken up, that is, switched to the AP mode, and the second device can access the Wi-Fi through the first device, when the wireless signal of the second device is detected. Switching to the AP mode improves the user experience during the wake-up of the device, and enters the standby mode when the wireless signal of the second device is not detected, which effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • FIG. 1 is a schematic flowchart of a device wake-up method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another device wake-up method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another device wake-up method according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a device wake-up device according to an embodiment of the present invention
  • FIG. Schematic diagram of the structure of the device wake-up device
  • FIG. 7 is a schematic structural diagram of another device wake-up device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another device wake-up device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another device wake-up device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another device wake-up device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another device wake-up device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another device wake-up device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another device wake-up device according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • An embodiment of the present invention provides a device wakeup method. As shown in FIG. 1, the method may include:
  • the first device detects whether the second device has a wireless signal.
  • the first device is a device that can be woken up by the second device. Specifically: when the first device does not have the device accessing within a predetermined time, the Wi-Fi is turned off, and the standby mode is entered. At this time, the first device can start a timer, and when the timer time is equal to the preset threshold, Detect whether the second device has a wireless signal. When the second device needs to access Wi-Fi through the first device, it can switch to the AP mode, and the second device will send a wireless signal.
  • the first device When detecting the wireless signal, the first device sends the first message to the second device, so that the second device switches to the STA mode after receiving the first message.
  • the first device detects the wireless signal of the second device, it can be known that the second device needs to access the Wi-Fi through the first device, and the first device sends the first device to the second device.
  • the message is used to notify the second device that the first device has been successfully woken up.
  • the second device receives the first message, it switches to the STA mode, thereby preparing for accessing Wi-Fi.
  • the first device switches to the AP mode, so that the second device accesses the Wi-Fi through the first device.
  • the first device After the first device sends the first message to the second device, the first device also switches to the AP mode, so that the second device accesses the Wi-Fi through the first device.
  • the first device turns off Wi-Fi and restarts the timer.
  • the Wi-Fi is turned off, the standby mode is entered again, and the timer is restarted.
  • the timing of the timer is equal to the preset threshold, and when the first device detects the wireless signal sent by the second device, sending a first message to the second device, indicating the second
  • the device is switched to the workstation STA mode.
  • the first device is woken up, that is, switched to the AP mode, and the second device can access the Wi-Fi through the first device, and switch to the second device by detecting the wireless signal of the second device.
  • the AP mode improves the user experience during the wake-up of the device, and enters the standby mode when the wireless signal of the second device is not detected, which effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • An embodiment of the present invention provides a device awake method, which is applied to a first device, where the first device may be a device that supports both a Wi-Fi AP mode and a Wi-Fi STA mode.
  • the method may include:
  • the first device stores wakeup information of the second device.
  • the first device may pre-store the wake-up information of the second device in the first device, so as to be used in subsequent wake-up.
  • the method of pre-storing the wake-up message of the second device may be: when the second device accesses the Wi-Fi through the first device, the second device registers the wake-up information into the first device, or may be the wake-up information of the second device.
  • the configuration of the wakeup information is not limited in the embodiment of the present invention.
  • the first device may locally maintain a list of wakeable devices, and the device corresponding to the wakeup information stored in the wakeup device list may wake up the first device.
  • the wakeup information in the embodiment of the present invention includes the second device.
  • the Wi-Fi network identifier may also include an encryption method and/or a password.
  • the first device in order to avoid waste of network resources when the first device does not have the access of the Wi-Fi STA, the first device is within a preset time threshold, and if no second device is accessed, the Wi may be disabled.
  • the -Fi function enters the standby state, and starts a timer T at the same time. .
  • the first device detects, according to the wakeup information, whether the second device sends a wireless signal.
  • the wireless signal is detected, performing the following steps 204-207; when no wireless signal is detected.
  • the following step 208 is performed.
  • the first device may detect whether the second device has a wireless signal according to the wakeup information. Specifically: when the first device scans whether the device sends a wireless signal, multiple wireless signals may be detected. At this time, it can be determined according to the wake-up information stored in advance whether the device corresponding to each wireless signal can wake up the first device.
  • the wakeup information registered in advance to the first device is switched to the ⁇ mode and a wireless signal is sent, at this time, when the timer
  • the first device can detect the wireless signal when it is equal to the preset threshold.
  • the duration of the second device in the AP mode ⁇ 2 ⁇ 0 + 2 ⁇ ⁇ where 7 ⁇ is the duration of the first device detecting and attempting access .
  • the first device may scan whether the second device in the second device list has a wireless signal.
  • the first device switches to STA mode.
  • the first device switches to the STA mode to prepare for communication between the second device and the second device.
  • the first device when the first device is switched to the STA mode, it may be switched when the timer time of the timer is equal to the preset threshold, or may be switched when the wireless signal is detected, and when the first device performs the handover to the STA.
  • the mode of the present invention is not limited herein.
  • the first device accesses Wi-Fi through the second device.
  • the first device When the first device detects the wireless signal, it can switch to the STA mode, and the first device can access the Wi-Fi through the second device, so as to perform the second device. Communication.
  • the first device sends a first message to the second device, so that the second device switches to the STA mode after receiving the first message.
  • the first message may be sent to the second device, where the first message is used to notify the second device that the first device is successfully awake.
  • the first message may further carry a switching time, and is configured to notify the second device that the first device is woken up after the switching time, that is, switches to the AP mode after the switching time.
  • the second device may switch to the STA mode during the switching time to access the Wi-Fi through the first device.
  • the switching time may also be preset in the second device, that is, after receiving the first message, the second device may learn, according to the preset switching time, that after receiving the first message and waiting for the switching time, A device will be successfully woken up.
  • the first device switches to the AP mode, so that the second device accesses the Wi-Fi through the first device.
  • the device may switch to the AP mode, and the second device can access the Wi-Fi through the first device.
  • the first device turns off Wi-Fi and restarts the timer.
  • the Wi-Fi when the first device does not detect the wireless signal of the second device, the Wi-Fi may be turned off, and the timer is restarted.
  • the timing of the timer is equal to the preset threshold, and when the first device detects the wireless signal sent by the second device, sending a first message to the second device, indicating the second
  • the device is switched to the workstation STA mode.
  • the first device is woken up, that is, switched to the AP mode, and the second device can access the Wi-Fi through the first device, and switch to the second device by detecting the wireless signal of the second device.
  • the AP mode improves the user experience during the wake-up of the device, and enters the standby mode when the wireless signal of the second device is not detected, which effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • the embodiment of the invention provides a device waking method, which is applied to a first device, and the first device may be a device supporting a Wi-Fi AP mode. As shown in FIG. 3, the method includes:
  • the first device When the timer time of the timer is equal to the preset threshold, the first device enters the AP mode.
  • the first device can enter the standby mode without a second device access for a period of time, and simultaneously starts a timer 7 and acts as a timer ⁇ .
  • it When it is equal to the preset threshold, it will switch to the working state, that is, enter the ⁇ mode.
  • the second device When the second device needs to access the Wi-Fi through the first device, the second device can switch to the AP mode, and the second device broadcasts the wake-up password at a certain time interval.
  • the first device can detect whether a wake-up password sent by the second device is received.
  • the time interval for the second device to broadcast the wake-up password needs to be less than, where is the time when the first device attempts to receive the wake-up password.
  • the second device may also send the wake-up password directly to the first device.
  • the format and content of the wake-up password are pre-agreed by the first device and the second device.
  • the wake-up password broadcast by the second device may be added by adding a Wi-Fi signaling manner, such as a signaling format similar to a beacon frame, or by extending an existing signaling manner, the ⁇ port may be passed in the robe req
  • the format and content of the wake-up password and the manner of sending are not limited.
  • the embodiment of the present invention is implemented by the method of adding a vendor (custom field) field in the robe rsp (snapping request) frame.
  • the first device detects whether the second device corresponding to the wakeup password exists in the pre-stored wakeable device list.
  • the first device After the first device receives the wake-up password, it can detect whether the second device corresponding to the wake-up password exists in the wakeable device list.
  • the second device information and the wake-up password required for the second device to wake up the first device may be saved in the wake-up device list, and the second device information and the wake-up password may be accessed by the second device through the first device.
  • the first device adds the second device information and the wake-up password to the wake-up device list, and may also be preset in the wake-up device list of the first device, where the second embodiment of the present invention is
  • the storage of device information and wake-up passwords is not limited.
  • the first device sends the first message to the second device, so that the second device switches to the STA mode after receiving the first message, and then the second device is enabled. Access Wi-Fi through the first device.
  • the first device may send the first message to the second device, to notify the second device that the first device is successfully awake, the first message may be sent by means of a broadcast, or may be sent by the first device to the second device. . After the second device receives the first message, it switches to
  • the STA mode which in turn causes the second device to access Wi-Fi through the first device, completes the entire wake-up process.
  • the Wi-Fi can be turned off and the timer is restarted.
  • the timing of the timer is equal to the preset threshold
  • the first device enters the AP mode
  • the second device switches to the STA mode after receiving the wake-up complete message sent by the first device, and the second device can access the Wi-Fi through the first device
  • the second device wakes up the password
  • the second device itself is notified that the device has been woken up
  • the user experience during the device wake-up process is improved
  • the standby mode is entered when the wake-up password of the second device is not detected, thereby effectively reducing the work of the first device. Consumed, extended standby time and battery life.
  • An embodiment of the present invention provides a device wake-up method. As shown in FIG. 4, the method includes: 401.
  • a first device receives a wake-up password sent by a second device by using a communication technology.
  • the first device can turn off the Wi-Fi into the standby mode if the second device does not have access to the second device for a period of time.
  • the wake-up password can be sent to the first device by using a communication technology.
  • the communication technology can be short message, voice data call, Bluetooth, and the like.
  • the format and content of the wake-up password are pre-defined by the first device and the second device.
  • the format and content of the wake-up password are not limited herein.
  • the first device detects whether the second device corresponding to the wakeup password exists in the pre-stored wakeable device list.
  • the first device When the first device receives the wake-up password sent by the second device, it may detect that the second device corresponding to the wake-up password exists in the wakeable device list.
  • the second device information and the wake-up password required for the second device to wake up the first device may be saved in the wake-up device list, and the second device information and the wake-up password may be accessed by the second device through the first device.
  • Fi When Fi is used, the first device adds the second device information and the wake-up password to the The device in the wake-up device list is stored in the wake-up device list of the first device.
  • the embodiment of the present invention does not limit the storage process of the second device information and the wake-up password.
  • the first device sends the first message to the second device.
  • the first device may send the first message to the second device, to notify the second device that the first device is successfully awake, the first
  • the message may further include a switching time, configured to notify the second device that the first device switches to the AP mode after the switching time.
  • the switching time can also be preset in the second device.
  • the first device switches to the AP mode, so that the second device accesses the Wi-Fi through the first device.
  • the first device can be switched to the AP mode, so that the second device accesses the Wi-Fi through the first device.
  • the first device When the first device receives the wake-up password sent by the second device by using the communication technology, the first device sends a first message to the second device, indicating that the second device switches to the STA mode, and The device switches to the AP mode, so that the second device accesses the Wi-Fi through the first device, which improves the user experience during the device wakeup process.
  • the embodiment of the present invention provides a device wake-up device.
  • the device includes: a detecting unit 51, a sending unit 52, a switching unit 53, and a processing unit 54.
  • a Wi-Fi chip is included, and the Wi-Fi chip is connected to the antenna through the RF circuit, and is used for processing Wi-Fi signal transmission and reception, and another application inside the device.
  • APP Application, APP
  • the APP chip is used for a processor running a Wi-Fi control module, and the Wi-Fi control module is used to control a Wi-Fi chip.
  • the APP chip can control the Wi-Fi chip to switch to the STA mode through the Wi-Fi control module, or switch to the AP mode.
  • the detecting unit 51 is configured to detect, when the timing of the timer is equal to the preset threshold, whether the second device is in a wireless signal, where the first device is a device that is woken up by the second device.
  • the sending unit 52 is configured to: when the detecting unit 51 detects the wireless signal, send a first message to the second device; so that the second device receives the first And switching to the workstation STA mode; wherein the first message is used to notify the second device that the first device is successfully awake.
  • the switching unit 53 is configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the processing unit 54 is configured to: when the detecting unit 51 does not detect the wireless signal, turn off the Wi-Fi, and restart the timer.
  • the sending unit 52 may include: a switching module 521, an access module 522, and a sending module 523.
  • the switching module 521 is configured to switch to the STA mode when the detecting unit 51 detects the wireless signal.
  • the access module 522 is configured to access the Wi-Fi by using the second device.
  • the sending module 523 is configured to send the first message to the second device, where the first message carries a switching time, so that the second device is switched to the STA mode during the switching time.
  • the device may further include: a storage unit 55.
  • the storage unit 55 is configured to: when the detecting unit 51 detects whether the second device has a wireless signal, store the wakeup information of the second device, when the timing of the timer is equal to the preset threshold;
  • the wakeup information includes at least a Wi-Fi network identifier.
  • the detecting unit 51 may include: a detecting module 511.
  • the detecting module 511 is configured to detect, according to the wakeup information stored by the storage unit, whether the second device has a wireless signal.
  • the device When the first device detects the wireless signal sent by the second device, the device sends a first message to the second device, indicating the second device, when the device detects the wireless signal sent by the second device.
  • the first device is woken up, that is, switched to the AP mode, and the second device can access the Wi-Fi through the first device, and switch to the AP by detecting the wireless signal of the second device.
  • the mode improves the user experience during the device wake-up process, and enters the standby mode when the wireless signal of the second device is not detected, which effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • An embodiment of the present invention provides a device wake-up device, as shown in FIG. 7, including: Unit 61, detection unit 62, transmission unit 63, and processing unit 64.
  • a Wi-Fi chip is included, and the Wi-Fi chip is connected to the antenna through the RF circuit, and is used for processing Wi-Fi signal transmission and reception, and another application inside the device.
  • APP Application, APP
  • the APP chip is used for a processor running a Wi-Fi control module, and the Wi-Fi control module is used to control a Wi-Fi chip.
  • the APP chip can control the Wi-Fi chip to switch to the STA mode through the Wi-Fi control module, or switch to the AP mode.
  • the access unit 61 is configured to enter an access point AP mode when the timer time of the timer is equal to the preset threshold, where the first device is a device that is woken up by the second device.
  • the detecting unit 62 is configured to detect whether a wake-up password sent by the second device is received.
  • the sending unit 63 is configured to: when the detecting unit 62 detects the wake-up password, send a first message to the second device; so that the second device switches to a workstation STA mode after receiving the first message. And causing the second device to access the wireless fidelity Wi-Fi by using the first device, where the first message is used to notify the second device that the first device is successfully awake.
  • the processing unit 64 is configured to: when the detecting unit 62 does not detect the wake-up password, turn off the Wi-Fi, and restart the timer.
  • the sending unit 63 may include: a detecting module 631 and a sending module 632.
  • the detecting module 631 is configured to detect, when the detecting unit 62 detects the wake-up password, whether the second device corresponding to the wake-up password exists in the pre-stored wake-up device list.
  • the sending module 632 is configured to: when the detecting module 631 detects that the second device corresponding to the wake-up password exists in the wakeable device list, send the first message to the second device.
  • the device wake-up device provided by the embodiment of the present invention, the timing of the timer is equal to the preset threshold, the first device enters the AP mode, and when detecting the wake-up password sent by the second device, sends the first message to the second device, Notifying that the second device itself has been woken up, the second device switches to the STA mode after receiving the wake-up complete message sent by the first device, and the second device can access the Wi-Fi through the first device, When the second device wakes up the password, it notifies the second device that it has been woken up, which improves the wakeup of the device.
  • the user experience in the process and enters the standby mode when the wake-up password of the second device is not detected, which effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • the embodiment of the present invention provides a device wake-up device.
  • the device includes: a receiving unit 71, a sending unit 72, and a switching unit 73.
  • a Wi-Fi chip is included, and the Wi-Fi chip is connected to the antenna through the RF circuit, and is used for processing Wi-Fi signal transmission and reception, and another application inside the device.
  • APP Application, APP
  • the APP chip is used for a processor running a Wi-Fi control module, and the Wi-Fi control module is used to control a Wi-Fi chip.
  • the APP chip can control the Wi-Fi chip to switch to the STA mode through the Wi-Fi control module, or switch to the AP mode.
  • the receiving unit 71 is configured to receive a wake-up password sent by the second device by using a communication technology, where the first device is a device that is woken up by the second device.
  • the sending unit 72 is configured to send a first message to the second device, so that the second device switches to a workstation STA mode after receiving the first message, where the first message is used to The second device notifies the first device that it is successfully awake.
  • the switching unit 73 is configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the apparatus may further include: a detecting unit 74.
  • a detecting unit 74 configured to detect, after the receiving unit 71 receives the wake-up password sent by the second device by using a communication technology, whether the second device corresponding to the wake-up password exists in a pre-stored wake-up device List.
  • the sending unit 72 may include: a sending module 721.
  • the sending module 721 is configured to send the first message to the second device when the detecting unit 74 detects that the second device corresponding to the wake-up password exists in the wakeable device list.
  • the device wake-up device provided by the embodiment of the present invention, when the first device receives the wake-up password sent by the second device by using the communication technology, sends a first message to the second device, indicating that the second device switches to the STA mode, and Switching to the AP mode by itself, so that the second device accesses the Wi-Fi through the first device, improves the user experience during the device wake-up process, and effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • An embodiment of the present invention provides a device wake-up device. As shown in FIG. 11, the device includes: a processor 81 and a transmitter 82.
  • the processor 81 is configured to detect whether the second device is in a wireless signal when the time of the timer is equal to the preset threshold, where the first device is a device that is awake by the second device.
  • the transmitter 82 is configured to: when the processor 81 detects the wireless signal, send a first message to the second device; to switch to the workstation STA mode after the second device receives the first message The first message is used to notify the second device that the first device is successfully awake.
  • the processor 81 is further configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the processor 81 is further configured to: when the wireless signal is not detected, turn off the Wi-Fi, and restart the timer.
  • the processor 81 is further configured to: when the wireless signal is detected, switch to the STA mode; and access the Wi-Fi by using the second device.
  • the transmitter 82 is further configured to send the first message to the second device, where the first message carries a handover time, so that the second device is configured to switch to the STA within the handover time. mode.
  • the device further includes: a memory 83.
  • the memory 83 is configured to: when the processor 81 detects whether the second device is in a wireless signal, and stores the wakeup information of the second device, where the timing of the timer is equal to the preset threshold;
  • the wakeup information includes at least a Wi-Fi network identifier.
  • the processor 81 is further configured to detect, according to the wakeup information stored by the memory 83, whether the second device has a wireless signal.
  • the device When the first device detects the wireless signal sent by the second device, the device sends a first message to the second device, indicating the second device, when the device detects the wireless signal sent by the second device.
  • the first device is woken up, that is, switched to the AP mode, and the second device can access the Wi-Fi through the first device, and switch to the AP by detecting the wireless signal of the second device.
  • the mode improves the user experience during the device wake-up process, and enters the standby mode when the wireless signal of the second device is not detected, thereby effectively reducing the power consumption of the first device and extending the standby time. And battery life.
  • An embodiment of the present invention provides a device wake-up device, as shown in FIG. 12, including: a processor 91 and a transmitter 92.
  • the processor 91 is configured to: when the timeout period of the timer is equal to the preset threshold, enter the access point AP mode; and detect whether the wake-up password sent by the second device is received, where the first device is the second device Wake up device.
  • the transmitter 92 is configured to: when the processor 91 detects the wake-up password, send a first message to the second device; to switch to the workstation STA mode after the second device receives the first message And causing the second device to access the wireless fidelity Wi-Fi by using the first device, where the first message is used to notify the second device that the first device is successfully awake.
  • the processor 91 is further configured to: when the wake-up password is not detected, turn off the Wi-Fi, and restart the timer.
  • the processor 91 is further configured to: when detecting the wake-up password, detect whether the second device corresponding to the wake-up password exists in the pre-stored wake-up device list.
  • the transmitter 92 is further configured to send the first message to the second device when the second device corresponding to the wakeup password is detected to be present in the wakeable device list.
  • the device wake-up device provided by the embodiment of the present invention, the timing of the timer is equal to the preset threshold, the first device enters the AP mode, and when detecting the wake-up password sent by the second device, sends the first message to the second device, Notifying that the second device itself has been woken up, the second device switches to the STA mode after receiving the wake-up complete message sent by the first device, and the second device can access the Wi-Fi through the first device, When the second device wakes up the password, the second device itself is notified that the device has been woken up, the user experience during the device wake-up process is improved, and the standby mode is entered when the wake-up password of the second device is not detected, thereby effectively reducing the work of the first device. Consumed, extended standby time and battery life.
  • An embodiment of the present invention provides a device wake-up device. As shown in FIG. 13, the device includes: a receiver 1001, a transmitter 1002, and a processor 1003.
  • the receiver 1001 is configured to receive a wake-up password sent by the second device by using a communication technology, where the first device is a device that is woken up by the second device.
  • a transmitter 1002 configured to send, to the second device, a first message, so that the second device switches to a workstation STA mode after receiving the first message, where the first message is used to The second device notifies the first device that it is successfully awake.
  • the processor 1003 is configured to switch to an access point AP mode, so that the second device accesses the wireless fidelity Wi-Fi through the first device.
  • the processor 1003 is further configured to: after the receiver 1001 receives the wake-up password sent by the second device by using a communication technology, detecting whether the second device corresponding to the wake-up password exists In the list of pre-stored wakeable devices.
  • the transmitter 1002 is further configured to: when the processor 1003 detects that the second device corresponding to the wakeup password exists in the wakeable device list, send the device to the second device Said the first message.
  • the device wake-up device provided by the embodiment of the present invention, when the first device receives the wake-up password sent by the second device by using the communication technology, sends a first message to the second device, indicating that the second device switches to the STA mode, and Switching to the AP mode by itself, so that the second device accesses the Wi-Fi through the first device, improves the user experience during the device wake-up process, and effectively reduces the power consumption of the first device, and prolongs the standby time and battery life.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种设备唤醒方法及装置,涉及通信领域,提高了设备唤醒过程中的用户体验。具体方案为:当定时器的计时时间等于预设阈值时,第一设备检测第二设备是否有无线信号发出;其中,第一设备为被第二设备唤醒的设备;当检测到无线信号时,第一设备向第二设备发送第一消息,以便第二设备接收到第一消息之后切换为工作站STA模式;其中,第一消息用于向第二设备通知第一设备被成功唤醒;第一设备切换为接入点AP模式;以便第二设备通过第一设备接入无线保真Wi-Fi;当未检测到无线信号时,第一设备关闭Wi-Fi,重新启动定时器。本发明用于设备唤醒的过程中。

Description

一种设备唤醒方法及装置 本申请要求于 2013年 2月 4日提交中国专利局、申请号为 201310042704.0 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及一种设备唤醒方法及装置。
背景技术 随着移动通信技术的发展, 无线保真 (wireless fidelity , 简称 Wi-Fi ) 技术成为当今使用最广的一种无线网络传输技术, 用户只需 通过支持 Wi-Fi的设备在 Wi-Fi覆盖区域内连接上 Wi-Fi网络, 便可 以快速的浏览网页、 收发电子邮件等等。
目前的 Wi-Fi接入点 (access point, 简称 AP ) 类设备, 需要保 持长时间工作才能方便 Wi-Fi工作站 (STA ) 随时接入, 方便用户使 用, 但是对于一般的 Wi-Fi AP设备来说, 不可能一天 24 小时都有 Wi-Fi STA接入, 使得 Wi-Fi AP设备很长一段时间都处于空闲状态, 造成网络的资源浪费。并且对于使用的是电池供电的便携式 Wi-Fi AP 设备, 如果无法进入待机状态, 则会在没有 Wi-Fi STA接入的情况下 继续使用电池供电, 使得 Wi-Fi AP设备的工作时间变短, 对电池的 使用寿命也会产生影响。
现有技术的解决方案是, 在 Wi-Fi AP设备没有 Wi-Fi STA的接 入时, 一段时间后便会自动进入待机状态, 若用户需要继续使用
Wi-Fi, 则需通过按键或者其他的控制方式唤醒 Wi-Fi AP设备, 使得
Wi-Fi AP设备重新进入开启状态。
现有技术中, Wi-Fi AP设备进入待机状态后, 用户需要通过按键 或其他控制方式唤醒 Wi-Fi AP设备才可继续使用 Wi-Fi, 这样用户体 验不好。 因此, 如何有效的将 Wi-Fi AP设备唤醒, 已成为本技术领域 的重要课题。
发明内容 本发明的实施例提供一种设备唤醒方法及装置,提高了设备唤醒 过程中的用户体验。
本发明的第一方面, 提供一种设备唤醒方法, 包括:
当定时器的计时时间等于预设阈值时,第一设备检测第二设备是 否有无线信号发出; 其中, 所述第一设备为被第二设备唤醒的设备; 当检测到所述无线信号时,所述第一设备向所述第二设备发送第 一消息, 以便所述第二设备接收到所述第一消息之后切换为工作站
STA 模式; 其中, 所述第一消息用于向所述第二设备通知所述第一 设备被成功唤醒;
所述第一设备切换为接入点 AP模式; 以便所述第二设备通过所 述第一设备接入无线保真 Wi-Fi;
当未检测到所述无线信号时, 所述第一设备关闭所述 Wi-Fi, 重 新启动所述定时器。
结合第一方面, 在一种可能的实现方式中, 所述当检测到所述无 线信号时, 所述第一设备向所述第二设备发送第一消息, 包括:
若检测到所述无线信号, 所述第一设备切换为 STA模式; 所述第一设备通过所述第二设备接入所述 Wi-Fi;
所述第一设备向所述第二设备发送所述第一消息; 其中, 所述第 一消息中携带切换时间,以便指示所述第二设备在所述切换时间内切 换为 STA模式。
结合第一方面和上述可能的实现方式,在另一种可能的实现方式 中, 在所述当定时器的计时时间等于预设阈值时, 第一设备检测第二 设备是否有无线信号发出之前, 还包括:
所述第一设备存储所述第二设备的唤醒信息; 其中, 所述唤醒信 息至少包括 Wi-Fi网络标识;
所述检测第二设备是否有无线信号发出, 具体包括: 所述第一设 备根据所述唤醒信息检测所述第二设备是否有无线信号发出。
本发明的第二方面, 提供一种设备唤醒方法, 包括:
当定时器的计时时间等于预设阈值时, 第一设备进入接入点 AP 模式; 其中, 所述第一设备为被第二设备唤醒的设备; 所述第一设备检测是否接收到第二设备发送的唤醒口令; 当检测到所述唤醒口令时,所述第一设备向所述第二设备发送第 一消息; 以便所述第二设备接收到所述第一消息之后切换为工作站
STA模式,进而所述第二设备通过所述第一设备接入无线保真 Wi-Fi; 其中,所述第一消息用于向所述第二设备通知所述第一设备被成功唤 醒;
当未检测到所述唤醒口令时, 所述第一设备关闭所述 Wi-Fi, 重 新启动所述定时器。
结合第二方面, 在一种可能的实现方式中, 所述当检测到所述唤 醒口令时, 所述第一设备向所述第二设备发送第一消息, 包括:
当检测到所述唤醒口令时,所述第一设备检测所述唤醒口令对应 的第二设备是否存在于预存的可唤醒设备列表中;
若所述唤醒口令对应的第二设备存在于所述可唤醒设备列表中, 则执行所述向所述第二设备发送第一消息。
本发明的第三方面, 提供一种设备唤醒方法, 包括:
第一设备接收第二设备通过通信技术发送的唤醒口令; 其中, 所 述第一设备为被第二设备唤醒的设备;
所述第一设备向所述第二设备发送第一消息,以便所述第二设备 在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述第 一消息用于向所述第二设备通知所述第一设备被成功唤醒;
所述第一设备切换为接入点 AP模式; 以便所述第二设备通过所 述第一设备接入无线保真 Wi-Fi。
结合第三方面, 在一种可能的实现方式中, 在所述第一设备接收 第二设备通过通信技术发送的唤醒口令之后, 还包括:
检测所述唤醒口令对应的所述第二设备是否存在于预存的可唤 醒设备列表中。
结合第三方面和上述可能的实现方式,在另一种可能的实现方式 中, 所述所述第一设备向所述第二设备发送第一消息, 包括:
当所述唤醒口令对应的所述第二设备存在于所述可唤醒设备列 表中时, 所述第一设备向所述第二设备发送所述第一消息。 本发明的第四方面, 提供一种设备唤醒装置, 包括:
检测单元, 用于当定时器的计时时间等于预设阈值时,检测第二 设备是否处有无线信号发出; 其中, 所述第一设备为被第二设备唤醒 的设备;
发送单元, 用于当所述检测单元检测到所述无线信号时, 向所述 第二设备发送第一消息;以便所述第二设备接收到所述第一消息之后 切换为工作站 STA模式; 其中, 所述第一消息用于向所述第二设备 通知所述第一设备被成功唤醒;
切换单元, 用于切换为接入点 AP模式; 以便所述第二设备通过 所述第一设备接入无线保真 Wi-Fi;
处理单元, 用于当所述检测单元未检测到所述无线信号时, 关闭 所述 Wi-Fi, 重新启动所述定时器。
结合第四方面,在一种可能的实现方式中,所述发送单元, 包括: 切换模块, 用于若所述检测单元检测到所述无线信号, 切换为 STA模式;
接入模块, 用于通过所述第二设备接入所述 Wi-Fi;
发送模块, 用于向所述第二设备发送所述第一消息; 其中, 所述 第一消息中携带切换时间,以便指示所述第二设备在所述切换时间内 切换为 STA模式。
结合第四方面和上述可能的实现方式,在另一种可能的实现方式 中, 还包括:
存储单元, 用于在所述当定时器的计时时间等于预设阈值时, 所 述检测单元检测第二设备是否有无线信号发出之前,存储所述第二设 备的唤醒信息; 其中, 所述唤醒信息至少包括 Wi-Fi网络标识;
所述检测单元, 包括:
检测模块,用于根据所述存储单元存储的所述唤醒信息检测所述 第二设备是否有无线信号发出。
本发明的第五方面, 提供一种设备唤醒装置, 包括:
进入单元, 用于当定时器的计时时间等于预设阈值时, 进入接入 点 AP模式; 其中, 所述第一设备为被第二设备唤醒的设备; 检测单元, 用于检测是否接收到第二设备发送的唤醒口令; 发送单元, 用于当所述检测单元检测到所述唤醒口令时, 向所述 第二设备发送第一消息;以便所述第二设备接收到所述第一消息之后 切换为工作站 STA模式, 进而使所述第二设备通过所述第一设备接 入无线保真 Wi-Fi; 其中, 所述第一消息用于向所述第二设备通知所 述第一设备被成功唤醒;
处理单元, 用于当所述检测单元未检测到所述唤醒口令时, 关闭 所述 Wi-Fi, 重新启动所述定时器。
结合第五方面,在一种可能的实现方式中,所述发送单元, 包括: 检测模块, 用于当所述检测单元检测到所述唤醒口令时,检测所 述唤醒口令对应的第二设备是否存在于预存的可唤醒设备列表中; 发送模块,用于当所述检测模块检测到所述唤醒口令对应的第二 设备存在于所述可唤醒设备列表中,向所述第二设备发送所述第一消 息。
本发明的第六方面, 提供一种设备唤醒装置, 包括:
接收单元, 用于接收第二设备通过通信技术发送的唤醒口令; 其 中, 所述第一设备为被第二设备唤醒的设备;
发送单元, 用于向所述第二设备发送第一消息, 以便所述第二设 备在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述 第一消息用于向所述第二设备通知所述第一设备被成功唤醒;
切换单元, 用于切换为接入点 AP模式; 以便所述第二设备通过 所述第一设备接入无线保真 Wi-Fi。
结合第六方面, 在一种可能的实现方式中, 还包括:
检测单元,用于在所述接收单元接收到所述第二设备通过通信技 术发送的所述唤醒口令之后,检测所述唤醒口令对应的所述第二设备 是否存在于预存的可唤醒设备列表中。
结合第六方面和上述可能的实现方式,在另一种可能的实现方式 中, 所述发送单元, 包括:
发送模块,用于当所述检测单元检测到所述唤醒口令对应的所述 第二设备存在于所述可唤醒设备列表中时,向所述第二设备发送所述 第一消息。
本发明实施例提供的一种设备唤醒的方法及装置, 定时器的计时 时间等于预设阈值, 当第一设备检测到第二设备发出的无线信号时, 向第二设备发送第一消息, 指示第二设备切换为工作站 STA模式, 此 时第一设备被唤醒, 即切换为 AP模式, 进而第二设备便可以通过第一 设备接入 Wi-Fi , 通过在检测到第二设备的无线信号时切换为 AP模式 , 提高了设备唤醒过程中的用户体验, 并且在未检测到第二设备的无线 信号时进入待机模式, 有效降低了第一设备的功耗, 延长了待机时间 和电池寿命。
附图说明
将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而 易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域 普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这 些附图获得其他的附图。
图 1为本发明实施例提供的一种设备唤醒方法流程示意图; 图 2为本发明实施例提供的另一种设备唤醒方法流程示意图; 图 3为本发明实施例提供的另一种设备唤醒方法流程示意图; 图 4为本发明实施例提供的另一种设备唤醒方法流程示意图; 图 5为本发明实施例提供的一种设备唤醒装置结构组成示意图; 图 6 为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 7 为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 8 为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 9 为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 10为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 11为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 12为本发明实施例提供的另一种设备唤醒装置结构组成示意 图;
图 13为本发明实施例提供的另一种设备唤醒装置结构组成示意 图。 具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方 案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例提供一种设备唤醒方法, 如图 1所示, 该方法可以 包括:
101、 当定时器的计时时间等于预设阈值时, 第一设备检测第二 设备是否有无线信号发出。
其中, 第一设备为可以被第二设备唤醒的设备。 具体的: 第一设 备在预定的时间内没有设备接入时, 关闭 Wi-Fi, 进入待机模式, 此 时第一设备可以启动一个定时器,并当定时器的计时时间等于预设阈 值时, 检测第二设备是否有无线信号发出。 其中, 当第二设备需要通 过第一设备接入 Wi-Fi时, 可以切换为 AP模式, 此时第二设备便会 发出无线信号。
102、 当检测到无线信号时, 第一设备向第二设备发送第一消息, 以便第二设备接收到第一消息之后切换为 STA模式。
其中, 当第一设备检测到第二设备的无线信号时,便可知第二设 备需要通过第一设备接入 Wi-Fi, 此时第一设备向第二设备发送第一 消息, 该第一消息用于通知第二设备第一设备已被成功唤醒。 当第二 设备接收到第一消息时, 则切换为 STA模式, 进而为接入 Wi-Fi做 好准备。
103、 第一设备切换为 AP模式, 以便第二设备通过第一设备接 入 Wi-Fi。
其中, 第一设备在向第二设备发送第一消息后, 也会切换为 AP 模式, 以便使得第二设备通过第一设备接入 Wi-Fi。
104、 当未检测到无线信号时, 第一设备关闭 Wi-Fi, 重新启动 定时器。
其中, 当第一设备未检测到第二设备的无线信号时, 则关闭 Wi-Fi, 再次进入待机模式, 并重新启动定时器。
本发明实施例提供的一种设备唤醒的方法,定时器的计时时间等 于预设阈值, 当第一设备检测到第二设备发出的无线信号时, 向第二 设备发送第一消息, 指示第二设备切换为工作站 STA模式, 此时第 一设备被唤醒, 即切换为 AP模式, 进而第二设备便可以通过第一设 备接入 Wi-Fi,通过在检测到第二设备的无线信号时切换为 AP模式, 提高了设备唤醒过程中的用户体验,并且在未检测到第二设备的无线 信号时进入待机模式, 有效降低了第一设备的功耗, 延长了待机时间 和电池寿命。
本发明实施例提供一种设备唤醒方法,应用于第一设备, 该第一 设备可以是智能手机等同时支持 Wi-Fi AP模式和 Wi-Fi STA模式的 设备。 如图 2所示, 该方法可以包括:
201、 第一设备存储第二设备的唤醒信息。
其中, 第一设备可以将第二设备的唤醒信息预存在第一设备中, 以便后续实现唤醒时使用。预存第二设备的唤醒信, 的方法可以是当 第二设备通过第一设备接入 Wi-Fi时,第二设备将唤醒信息注册到第 一设备中, 也可以是将第二设备的唤醒信息直接配置在第一设备中, 本发明实施例对唤醒信息的存储方式不做限制。
可选的, 第一设备可以在本地维护一个可唤醒设备列表, 可唤醒 设备列表中存储的唤醒信息对应的设备均可以唤醒第一设备。
需要说明的是, 本发明实施例中的唤醒信息包含第二设备的 Wi-Fi网络标识, 还可以包括加密方式和 /或密码。
202、在预设的时间阈值内没有第二设备接入, 则进入待机模式, 并启动定时器。
具体的,为了避免在第一设备没有 Wi-Fi STA的接入时继续处于 开启状态导致网络资源的浪费, 第一设备在预设的时间阈值内, 若没 有第二设备接入则可以关闭 Wi-Fi功能, 进入待机状态, 同时启动一 个定时器 T。。
203、 当定时器的计时时间等于预设阈值时, 第一设备根据唤醒 信息检测第二设备是否有无线信号发出; 当检测到无线信号时, 执行 以下步骤 204-207; 当未检测到无线信号时, 执行以下步骤 208。
其中,当定时器71。等于预设阈值时,第一设备可以根据唤醒信息, 检测第二设备是否有无线信号发出, 具体的: 第一设备在扫描是否有 设备发出无线信号时, 有可能会检测到多个无线信号, 此时便可以根 据提前存储的唤醒信息确定每个无线信号对应的设备是否可以唤醒 第一设备。 当第二设备需要唤醒第一设备时,便会使用提前注册到第 一设备的唤醒信息切换为 ΑΡ模式并发出无线信号, 此时, 当定时器
Τ。等于预设阈值时第一设备便可以检测到无线信号。为了确保第一设 备可以通过第二设备接入 Wi-Fi, 第二设备处于 AP模式的持续时间 Τ2= Τ0 + 2 χ Τ 其中 7\为第一设备一次检测和尝试接入的持续时间。 可选的, 当第一设备维护了一个可唤醒设备列表时, 第一设备便 可以扫描第二设备列表中的第二设备是否有无线信号发出。
204、 第一设备切换为 STA模式。
其中, 第一设备切换为 STA模式, 为后续与第二设备之间的通 信做准备。
需要说明的是, 第一设备切换为 STA模式可以是当定时器的计 时时间等于预设阈值时切换的, 也可以是在检测到无线信号时切换 的, 对于第一设备何时执行切换为 STA模式, 本发明实施例在此不 作限制。
205、 第一设备通过第二设备接入 Wi-Fi。
其中, 当第一设备检测到无线信号时, 可以切换为 STA模式, 此时第一设备便可以通过第二设备接入 Wi-Fi, 以便和第二设备进行 通信。
206、 第一设备向第二设备发送第一消息; 以便第二设备接收到 第一消息之后切换为 STA模式。
其中, 当第一设备通过第二设备接入 Wi-Fi后, 便可以向第二设 备发送第一消息,该第一消息用于向第二设备通知第一设备被成功唤 醒。 该第一消息中还可以携带切换时间, 用于向第二设备通知第一设 备在切换时间后便被唤醒, 即在切换时间后便切换为 AP模式。 当第 二设备接收到第一消息之后, 可以在切换时间内切换为 STA模式, 以便通过第一设备接入 Wi-Fi。
可选的, 切换时间也可以预置在第二设备中, 即当第二设备接收 到第一消息之后,便可以根据预置的切换时间得知在接收到第一消息 并等待切换时间后第一设备会被成功唤醒。
207、 第一设备切换为 AP模式, 以便第二设备通过第一设备接 入 Wi-Fi。
其中, 在第一设备向第二设备发送第一消息之后, 可以切换为 AP模式, 此时第二设备便可以通过第一设备接入 Wi-Fi。
208、 第一设备关闭 Wi-Fi, 重新启动定时器。
其中, 当第一设备未检测到第二设备的无线信号时, 则可以关闭 Wi-Fi, 并重新启动定时器。
本发明实施例提供的一种设备唤醒的方法,定时器的计时时间等 于预设阈值, 当第一设备检测到第二设备发出的无线信号时, 向第二 设备发送第一消息, 指示第二设备切换为工作站 STA模式, 此时第 一设备被唤醒, 即切换为 AP模式, 进而第二设备便可以通过第一设 备接入 Wi-Fi,通过在检测到第二设备的无线信号时切换为 AP模式, 提高了设备唤醒过程中的用户体验,并且在未检测到第二设备的无线 信号时进入待机模式, 有效降低了第一设备的功耗, 延长了待机时间 和电池寿命。
本发明实施例提供一种设备唤醒方法,应用于第一设备, 该第一 设备可以是支持 Wi-Fi AP模式设备, 如图 3所示, 包括:
301、 当定时器的计时时间等于预设阈值时, 第一设备进入 AP 模式。 其中, 第一设备在一段时间没有第二设备接入的情况下, 可以进 入待机模式, 同时启动一个定时器7 并当定时器 τ。等于预设阈值 时切换为工作状态, 即进入 ΑΡ模式。
302、 检测是否接收到第二设备发送的唤醒口令; 当检测到唤醒 口令时, 执行以下步骤 303-304 ; 当未检测到唤醒口令时, 执行以下 步骤 305。
其中, 当第二设备需要通过第一设备接入 Wi-Fi时, 便可以切换 为 AP模式, 此时第二设备间隔一定的时间广播唤醒口令。 第一设备 可以检测是否接收到第二设备发送的唤醒口令。为了确保第一设备可 以接收到第二设备发送的唤醒口令,第二设备广播唤醒口令的时间间 隔 需要小于 , 其中 为第一设备一次尝试接收唤醒口令的时间。
可选的, 第二设备也可以直接向第一设备发送唤醒口令。
需要说明的是,唤醒口令的格式和内容是第一设备和第二设备提 前约定的。并且第二设备广播的唤醒口令可以通过新增 Wi-Fi信令的 方式,如类似于信标帧的信令格式,也可以通过扩展现有信令的方式, ^口, 可以通过在 robe req (刺探请求 ) 和 robe rsp (刺探响应 ) 帧 中增加 vendor ( 自定义字段)字段的方式来实现, 本发明实施例在此 对唤醒口令的格式和内容以及发送方式不作限制。
303、 第一设备检测唤醒口令对应的第二设备是否存在于预存的 可唤醒设备列表中。
其中, 当第一设备接收到唤醒口令之后, 可以检测唤醒口令对应 的第二设备是否存在于可唤醒设备列表中。该可唤醒设备列表中可以 保存有第二设备信息及第二设备唤醒第一设备时所需的唤醒口令,该 第二设备信息及唤醒口令可以是在第二设备通过第一设备接入 Wi-Fi 时,第一设备将第二设备信息及唤醒口令添加到可唤醒设备列表中并 存储下来的, 也可以是预置在第一设备的可唤醒设备列表中的, 本发 明实施例对第二设备信息及唤醒口令的存储过程不作限制。
304、 若唤醒口令对应的第二设备存在于可唤醒设备列表中, 第 一设备向第二设备发送第一消息;以便第二设备接收到第一消息之后 切换为 STA模式, 进而使第二设备通过第一设备接入 Wi-Fi。
其中, 当唤醒口令对应的第二设备存在于可唤醒设备列表中时 , 第一设备可以向第二设备发送第一消息,以便向第二设备通知第一设 备被成功唤醒, 该第一消息可以通过广播的方式发送, 也可以是第一 设备向第二设备定向发送的。 第二设备接收到第一消息之后切换为
STA模式, 进而使第二设备通过第一设备接入 Wi-Fi, 整个唤醒过程 完成。
305、 关闭 Wi-Fi, 重新启动定时器。
其中, 当未检测到所述唤醒口令时, 则可以关闭 Wi-Fi, 并重新 启动定时器。
本发明实施例提供的一种设备唤醒方法,定时器的计时时间等于 预设阈值, 第一设备进入 AP模式, 并当检测第二设备发送的唤醒口 令时, 向第二设备发送第一消息, 通知第二设备自身已被唤醒, 此时 第二设备接收到第一设备发送的唤醒完成消息之后切换为 STA 模 式, 进而第二设备便可以通过第一设备接入 Wi-Fi, 通过在检测到第 二设备的唤醒口令时通知第二设备自身已被唤醒,提高了设备唤醒过 程中的用户体验,并且在未检测到第二设备的唤醒口令时进入待机模 式, 有效降低了第一设备的功耗, 延长了待机时间和电池寿命。
本发明实施例提供一种设备唤醒方法, 如图 4所示, 包括: 401、 第一设备接收第二设备通过通信技术发送的唤醒口令。 其中, 第一设备在一段时间没有第二设备接入的情况下, 可以关 闭 Wi-Fi进入待机模式。当第二设备需要通过第一设备接入 Wi-Fi时, 可以通过通信技术向第一设备发送唤醒口令。 该通信技术可以是短 信、 语音数据呼叫、 蓝牙等方式。
需要说明的是,唤醒口令的格式和内容是第一设备和第二设备提 前约定的, 本发明实施例在此对唤醒口令的格式和内容不做限制。
402、 第一设备检测唤醒口令对应的第二设备是否存在于预存的 可唤醒设备列表中。
其中, 当第一设备接收到第二设备发送的唤醒口令时, 可以检测 该唤醒口令对应的第二设备时候存在于可唤醒设备列表中。该可唤醒 设备列表中可以保存有第二设备信息及第二设备唤醒第一设备时所 需的唤醒口令,该第二设备信息及唤醒口令可以是在第二设备通过第 一设备接入 Wi-Fi时,第一设备将第二设备信息及唤醒口令添加到可 唤醒设备列表中并存储下来的,也可以时预置在第一设备的可唤醒设 备列表中的,本发明实施例对第二设备信息及唤醒口令的存储过程不 作限制。
403、 当唤醒口令对应的第二设备存在于可唤醒设备列表中时, 第一设备向第二设备发送第一消息。
其中,当检测到唤醒口令对应的第二设备存在于可唤醒设备列表 中时, 第一设备可以向第二设备发送第一消息, 以便向第二设备通知 第一设备被成功唤醒, 该第一消息中还可以包括切换时间, 用于通知 第二设备经过切换时间后第一设备会切换为 AP模式。 该切换时间也 可以预置在第二设备中。
404、 第一设备切换为 AP模式; 以便第二设备通过第一设备接 入 Wi-Fi。
其中, 第一设备可以切换为 AP模式, 以便第二设备通过第一设 备接入 Wi-Fi。
本发明实施例提供的一种设备唤醒方法,当第一设备接收到第二 设备通过通信技术发送的唤醒口令时, 向第二设备发送第一消息, 指 示第二设备切换为 STA模式, 并将自身切换为 AP模式, 以便第二 设备通过第一设备接入 Wi-Fi, 提高了设备唤醒过程中的用户体验。
本发明实施例提供一种设备唤醒装置, 如图 5所示, 包括: 检测 单元 51、 发送单元 52、 切换单元 53、 处理单元 54。
其中, 在支持 Wi-Fi的设备中, 包含一个 Wi-Fi芯片, 该 Wi-Fi 芯片通过射频电路与天线相连接, 用于处理 Wi-Fi信号的收发, 另外 这类设备内部还有一个应用 (Application, APP ) 芯片, 该 APP芯片 用于运行 Wi-Fi控制模块的处理器,该 Wi-Fi控制模块用于控制 Wi-Fi 芯片。 这样 APP芯片便可以通过 Wi-Fi控制模块来控制 Wi-Fi芯片 切换为 STA模式, 或切换为 AP模式。
检测单元 51 , 用于当定时器的计时时间等于预设阈值时, 检测 第二设备是否处有无线信号发出, 其中, 所述第一设备为被第二设备 唤醒的设备。
发送单元 52, 用于当所述检测单元 51检测到所述无线信号时, 向所述第二设备发送第一消息;以便所述第二设备接收到所述第一消 息之后切换为工作站 STA模式; 其中, 所述第一消息用于向所述第 二设备通知所述第一设备被成功唤醒。
切换单元 53 , 用于切换为接入点 AP模式; 以便所述第二设备通 过所述第一设备接入无线保真 Wi-Fi。
处理单元 54 ,用于当所述检测单元 51未检测到所述无线信号时, 关闭所述 Wi-Fi, 重新启动所述定时器。
进一步的, 如图 6所示, 所述发送单元 52可以包括: 切换模块 521、 接入模块 522、 发送模块 523。
切换模块 521 , 用于当所述检测单元 51检测到所述无线信号时, 切换为 STA模式。
接入模块 522, 用于通过所述第二设备接入所述 Wi-Fi。
发送模块 523 , 用于向所述第二设备发送所述第一消息; 其中, 所述第一消息中携带切换时间,以便指示所述第二设备在所述切换时 间内切换为 STA模式。
进一步的, 该装置还可以包括: 存储单元 55。
存储单元 55 , 用于在所述当定时器的计时时间等于预设阈值时, 所述检测单元 51检测第二设备是否有无线信号发出之前, 存储所述 第二设备的唤醒信息;其中,所述唤醒信息至少包括 Wi-Fi网络标识。
所述检测单元 51可以包括: 检测模块 511。
检测模块 511 , 用于根据所述存储单元存储的所述唤醒信息检测 所述第二设备是否有无线信号发出。
本发明实施例提供的一种设备唤醒装置,定时器的计时时间等于 预设阈值, 当第一设备检测到第二设备发出的无线信号时, 向第二设 备发送第一消息, 指示第二设备切换为工作站 STA模式, 此时第一 设备被唤醒, 即切换为 AP模式, 进而第二设备便可以通过第一设备 接入 Wi-Fi, 通过在检测到第二设备的无线信号时切换为 AP模式, 提高了设备唤醒过程中的用户体验,并且在未检测到第二设备的无线 信号时进入待机模式, 有效降低了第一设备的功耗, 延长了待机时间 和电池寿命。
本发明实施例提供一种设备唤醒装置, 如图 7所示, 包括: 进入 单元 61、 检测单元 62、 发送单元 63、 处理单元 64。
其中, 在支持 Wi-Fi的设备中, 包含一个 Wi-Fi芯片, 该 Wi-Fi 芯片通过射频电路与天线相连接, 用于处理 Wi-Fi信号的收发, 另外 这类设备内部还有一个应用 (Application, APP ) 芯片, 该 APP芯片 用于运行 Wi-Fi控制模块的处理器,该 Wi-Fi控制模块用于控制 Wi-Fi 芯片。 这样 APP芯片便可以通过 Wi-Fi控制模块来控制 Wi-Fi芯片 切换为 STA模式, 或切换为 AP模式。
进入单元 61 , 用于当定时器的计时时间等于预设阈值时, 进入 接入点 AP模式, 其中, 所述第一设备为被第二设备唤醒的设备。
检测单元 62, 用于检测是否接收到第二设备发送的唤醒口令。 发送单元 63 , 用于当所述检测单元 62检测到所述唤醒口令时, 向所述第二设备发送第一消息;以便所述第二设备接收到所述第一消 息之后切换为工作站 STA模式, 进而使所述第二设备通过所述第一 设备接入无线保真 Wi-Fi; 其中, 所述第一消息用于向所述第二设备 通知所述第一设备被成功唤醒。
处理单元 64 ,用于当所述检测单元 62未检测到所述唤醒口令时, 关闭所述 Wi-Fi, 重新启动所述定时器。
进一步的, 如图 8所示, 所述发送单元 63可以包括: 检测模块 631、 发送模块 632。
检测模块 631 , 用于当所述检测单元 62检测到所述唤醒口令时, 检测所述唤醒口令对应的第二设备是否存在于预存的可唤醒设备列 表中。
发送模块 632, 用于当所述检测模块 631检测到所述唤醒口令对 应的第二设备存在于所述可唤醒设备列表中,向所述第二设备发送所 述第一消息。
本发明实施例提供的一种设备唤醒装置,定时器的计时时间等于 预设阈值, 第一设备进入 AP模式, 并当检测第二设备发送的唤醒口 令时, 向第二设备发送第一消息, 通知第二设备自身已被唤醒, 此时 第二设备接收到第一设备发送的唤醒完成消息之后切换为 STA 模 式, 进而第二设备便可以通过第一设备接入 Wi-Fi, 通过在检测到第 二设备的唤醒口令时通知第二设备自身已被唤醒,提高了设备唤醒过 程中的用户体验,并且在未检测到第二设备的唤醒口令时进入待机模 式, 有效降低了第一设备的功耗, 延长了待机时间和电池寿命。
本发明实施例提供一种设备唤醒装置, 如图 9所示, 包括: 接收 单元 71、 发送单元 72、 切换单元 73。
其中, 在支持 Wi-Fi的设备中, 包含一个 Wi-Fi芯片, 该 Wi-Fi 芯片通过射频电路与天线相连接, 用于处理 Wi-Fi信号的收发, 另外 这类设备内部还有一个应用 (Application, APP ) 芯片, 该 APP芯片 用于运行 Wi-Fi控制模块的处理器,该 Wi-Fi控制模块用于控制 Wi-Fi 芯片。 这样 APP芯片便可以通过 Wi-Fi控制模块来控制 Wi-Fi芯片 切换为 STA模式, 或切换为 AP模式。
接收单元 71 , 用于接收第二设备通过通信技术发送的唤醒口令, 其中, 所述第一设备为被第二设备唤醒的设备。
发送单元 72, 用于向所述第二设备发送第一消息, 以便所述第 二设备在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述第一消息用于向所述第二设备通知所述第一设备被成功唤醒。
切换单元 73 , 用于切换为接入点 AP模式; 以便所述第二设备通 过所述第一设备接入无线保真 Wi-Fi。
进一步的, 如图 10所示, 该装置还可以包括: 检测单元 74。 检测单元 74, 用于在所述接收单元 71接收到所述第二设备通过 通信技术发送的所述唤醒口令之后,检测所述唤醒口令对应的所述第 二设备是否存在于预存的可唤醒设备列表中。
进一步的, 所述发送单元 72可以包括: 发送模块 721。
发送模块 721 , 用于当所述检测单元 74检测到所述唤醒口令对 应的所述第二设备存在于所述可唤醒设备列表中时,向所述第二设备 发送所述第一消息。
本发明实施例提供的一种设备唤醒装置,当第一设备接收到第二 设备通过通信技术发送的唤醒口令时, 向第二设备发送第一消息, 指 示第二设备切换为 STA模式, 并将自身切换为 AP模式, 以便第二 设备通过第一设备接入 Wi-Fi, 提高了设备唤醒过程中的用户体验, 并有效降低了第一设备的功耗, 延长了待机时间和电池寿命。 本发明实施例提供一种设备唤醒装置, 如图 11所示, 包括: 处 理器 81、 发送器 82。
处理器 81 , 用于当定时器的计时时间等于预设阈值时, 检测第 二设备是否处有无线信号发出, 其中, 所述第一设备为被第二设备唤 醒的设备。
发送器 82, 用于当所述处理器 81检测到所述无线信号时, 向所 述第二设备发送第一消息;以便所述第二设备接收到所述第一消息之 后切换为工作站 STA模式; 其中, 所述第一消息用于向所述第二设 备通知所述第一设备被成功唤醒。
所述处理器 81 ,还用于切换为接入点 AP模式; 以便所述第二设 备通过所述第一设备接入无线保真 Wi-Fi。
所述处理器 81 , 还用于当未检测到所述无线信号时, 关闭所述 Wi-Fi, 重新启动所述定时器。
进一步的, 所述处理器 81 , 还用于当检测到所述无线信号时, 切换为 STA模式; 并通过所述第二设备接入所述 Wi-Fi。
所述发送器 82, 还用于向所述第二设备发送所述第一消息; 其 中, 所述第一消息中携带切换时间, 以便指示所述第二设备在所述切 换时间内切换为 STA模式。
进一步的, 该装置还包括: 存储器 83。
存储器 83 , 用于在所述当定时器的计时时间等于预设阈值时, 所述处理器 81检测第二设备是否处有无线信号发出之前, 存储所述 第二设备的唤醒信息;其中,所述唤醒信息至少包括 Wi-Fi网络标识。
所述处理器 81 , 还用于根据所述存储器 83存储的所述唤醒信息 检测所述第二设备是否有无线信号发出。
本发明实施例提供的一种设备唤醒装置,定时器的计时时间等于 预设阈值, 当第一设备检测到第二设备发出的无线信号时, 向第二设 备发送第一消息, 指示第二设备切换为工作站 STA模式, 此时第一 设备被唤醒, 即切换为 AP模式, 进而第二设备便可以通过第一设备 接入 Wi-Fi, 通过在检测到第二设备的无线信号时切换为 AP模式, 提高了设备唤醒过程中的用户体验,并且在未检测到第二设备的无线 信号时进入待机模式, 有效降低了第一设备的功耗, 延长了待机时间 和电池寿命。
本发明实施例提供一种设备唤醒装置, 如图 12所示, 包括: 处 理器 91、 发送器 92。
处理器 91 , 用于当定时器的计时时间等于预设阈值时, 进入接 入点 AP模式; 并检测是否接收到第二设备发送的唤醒口令, 其中, 所述第一设备为被第二设备唤醒的设备。
发送器 92, 用于当所述处理器 91检测到所述唤醒口令时, 向所 述第二设备发送第一消息;以便所述第二设备接收到所述第一消息之 后切换为工作站 STA模式, 进而使所述第二设备通过所述第一设备 接入无线保真 Wi-Fi; 其中, 所述第一消息用于向所述第二设备通知 所述第一设备被成功唤醒。
所述处理器 91 , 还用于当未检测到所述唤醒口令时, 关闭所述 Wi-Fi, 重新启动所述定时器。
进一步的, 所述处理器 91 , 还用于当检测到所述唤醒口令时, 检测所述唤醒口令对应的第二设备是否存在于预存的可唤醒设备列 表中。
所述发送器 92, 还用于当所述检测到所述唤醒口令对应的第二 设备存在于所述可唤醒设备列表中,向所述第二设备发送所述第一消 息。
本发明实施例提供的一种设备唤醒装置,定时器的计时时间等于 预设阈值, 第一设备进入 AP模式, 并当检测第二设备发送的唤醒口 令时, 向第二设备发送第一消息, 通知第二设备自身已被唤醒, 此时 第二设备接收到第一设备发送的唤醒完成消息之后切换为 STA 模 式, 进而第二设备便可以通过第一设备接入 Wi-Fi, 通过在检测到第 二设备的唤醒口令时通知第二设备自身已被唤醒,提高了设备唤醒过 程中的用户体验,并且在未检测到第二设备的唤醒口令时进入待机模 式, 有效降低了第一设备的功耗, 延长了待机时间和电池寿命。
本发明实施例提供一种设备唤醒装置, 如图 13所示, 包括: 接 收器 1001、 发送器 1002、 处理器 1003。
接收器 1001 , 用于接收第二设备通过通信技术发送的唤醒口令, 其中, 所述第一设备为被第二设备唤醒的设备。 发送器 1002, 用于向所述第二设备发送第一消息, 以便所述第 二设备在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述第一消息用于向所述第二设备通知所述第一设备被成功唤醒。
处理器 1003 , 用于切换为接入点 AP模式; 以便所述第二设备通 过所述第一设备接入无线保真 Wi-Fi。
进一步的, 所述处理器 1003 , 还用于在所述接收器 1001接收到 所述第二设备通过通信技术发送的所述唤醒口令之后,检测所述唤醒 口令对应的所述第二设备是否存在于预存的可唤醒设备列表中。
进一步的, 所述发送器 1002 , 还用于当所述处理器 1003检测到 所述唤醒口令对应的所述第二设备存在于所述可唤醒设备列表中时, 向所述第二设备发送所述第一消息。
本发明实施例提供的一种设备唤醒装置,当第一设备接收到第二 设备通过通信技术发送的唤醒口令时, 向第二设备发送第一消息, 指 示第二设备切换为 STA模式, 并将自身切换为 AP模式, 以便第二 设备通过第一设备接入 Wi-Fi, 提高了设备唤醒过程中的用户体验, 并有效降低了第一设备的功耗, 延长了待机时间和电池寿命。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了 解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以 通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以 软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介 质中, 如计算机的软盘, 硬盘或光盘等, 包括若干指令用以使得一台 计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本 发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保护范围为准。

Claims

权利要求
1、 一种设备唤醒方法, 其特征在于, 包括:
当定时器的计时时间等于预设阈值时,第一设备检测第二设备是 否有无线信号发出; 其中, 所述第一设备为被第二设备唤醒的设备; 当检测到所述无线信号时,所述第一设备向所述第二设备发送第 一消息, 以便所述第二设备接收到所述第一消息之后切换为工作站
STA 模式; 其中, 所述第一消息用于向所述第二设备通知所述第一 设备被成功唤醒;
所述第一设备切换为接入点 AP模式; 以便所述第二设备通过所 述第一设备接入无线保真 Wi-Fi;
当未检测到所述无线信号时, 所述第一设备关闭所述 Wi-Fi, 重 新启动所述定时器。
2、 根据权利要求 1所述的设备唤醒方法, 其特征在于, 所述当 检测到所述无线信号时, 所述第一设备向所述第二设备发送第一消 息, 包括:
若检测到所述无线信号, 所述第一设备切换为 STA模式; 所述第一设备通过所述第二设备接入所述 Wi-Fi;
所述第一设备向所述第二设备发送所述第一消息; 其中, 所述第 一消息中携带切换时间,以便指示所述第二设备在所述切换时间内切 换为 STA模式。
3、 根据权利要求 1或 2所述的设备唤醒方法, 其特征在于, 在 所述当定时器的计时时间等于预设阈值时,第一设备检测第二设备是 否有无线信号发出之前, 还包括:
所述第一设备存储所述第二设备的唤醒信息; 其中, 所述唤醒信 息至少包括 Wi-Fi网络标识;
所述检测第二设备是否有无线信号发出, 具体包括: 所述第一设 备根据所述唤醒信息检测所述第二设备是否有无线信号发出。
4、 一种设备唤醒方法, 其特征在于, 包括:
当定时器的计时时间等于预设阈值时, 第一设备进入接入点 AP 模式; 其中, 所述第一设备为被第二设备唤醒的设备;
所述第一设备检测是否接收到第二设备发送的唤醒口令; 当检测到所述唤醒口令时,所述第一设备向所述第二设备发送第 一消息; 以便所述第二设备接收到所述第一消息之后切换为工作站
STA模式,进而所述第二设备通过所述第一设备接入无线保真 Wi-Fi; 其中,所述第一消息用于向所述第二设备通知所述第一设备被成功唤 醒;
当未检测到所述唤醒口令时, 所述第一设备关闭所述 Wi-Fi, 重 新启动所述定时器。
5、 根据权利要求 4所述的设备唤醒方法, 其特征在于, 所述当 检测到所述唤醒口令时, 所述第一设备向所述第二设备发送第一消 息, 包括:
当检测到所述唤醒口令时,所述第一设备检测所述唤醒口令对应 的第二设备是否存在于预存的可唤醒设备列表中;
若所述唤醒口令对应的第二设备存在于所述可唤醒设备列表中 , 则执行所述向所述第二设备发送第一消息。
6、 一种设备唤醒方法, 其特征在于, 包括:
第一设备接收第二设备通过通信技术发送的唤醒口令; 其中, 所 述第一设备为被第二设备唤醒的设备;
所述第一设备向所述第二设备发送第一消息,以便所述第二设备 在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述第 一消息用于向所述第二设备通知所述第一设备被成功唤醒;
所述第一设备切换为接入点 AP模式; 以便所述第二设备通过所 述第一设备接入无线保真 Wi-Fi。
7、 根据权利要求 6所述的设备唤醒方法, 其特征在于, 在所述 第一设备接收第二设备通过通信技术发送的唤醒口令之后, 还包括: 检测所述唤醒口令对应的所述第二设备是否存在于预存的可唤 醒设备列表中。
8、 根据权利要求 6所述的设备唤醒方法, 其特征在于, 所述所 述第一设备向所述第二设备发送第一消息, 包括:
当所述唤醒口令对应的所述第二设备存在于所述可唤醒设备列 表中时, 所述第一设备向所述第二设备发送所述第一消息。
9、 一种设备唤醒装置, 其特征在于, 包括:
检测单元, 用于当定时器的计时时间等于预设阈值时,检测第二 设备是否处有无线信号发出; 其中, 所述第一设备为被第二设备唤醒 的设备;
发送单元, 用于当所述检测单元检测到所述无线信号时, 向所述 第二设备发送第一消息;以便所述第二设备接收到所述第一消息之后 切换为工作站 STA模式; 其中, 所述第一消息用于向所述第二设备 通知所述第一设备被成功唤醒;
切换单元, 用于切换为接入点 AP模式; 以便所述第二设备通过 所述第一设备接入无线保真 Wi-Fi;
处理单元, 用于当所述检测单元未检测到所述无线信号时, 关闭 所述 Wi-Fi, 重新启动所述定时器。
10、 根据权利要求 9所述的设备唤醒装置, 其特征在于, 所述发 送单元, 包括:
切换模块, 用于若所述检测单元检测到所述无线信号, 切换为 STA模式;
接入模块, 用于通过所述第二设备接入所述 Wi-Fi;
发送模块, 用于向所述第二设备发送所述第一消息; 其中, 所述 第一消息中携带切换时间,以便指示所述第二设备在所述切换时间内 切换为 STA模式。
1 1、 根据权利要求 9或 10所述的设备唤醒装置, 其特征在于, 还包括:
存储单元, 用于在所述当定时器的计时时间等于预设阈值时, 所 述检测单元检测第二设备是否有无线信号发出之前,存储所述第二设 备的唤醒信息; 其中, 所述唤醒信息至少包括 Wi-Fi网络标识; 所述检测单元, 包括:
检测模块,用于根据所述存储单元存储的所述唤醒信息检测所述 第二设备是否有无线信号发出。
12、 一种设备唤醒装置, 其特征在于, 包括:
进入单元, 用于当定时器的计时时间等于预设阈值时, 进入接入 点 AP模式; 其中, 所述第一设备为被第二设备唤醒的设备;
检测单元, 用于检测是否接收到第二设备发送的唤醒口令; 发送单元, 用于当所述检测单元检测到所述唤醒口令时, 向所述 第二设备发送第一消息;以便所述第二设备接收到所述第一消息之后 切换为工作站 STA模式, 进而使所述第二设备通过所述第一设备接 入无线保真 Wi-Fi; 其中, 所述第一消息用于向所述第二设备通知所 述第一设备被成功唤醒;
处理单元, 用于当所述检测单元未检测到所述唤醒口令时, 关闭 所述 Wi-Fi, 重新启动所述定时器。
13、 根据权利要求 12所述的设备唤醒装置, 其特征在于, 所述 发送单元, 包括:
检测模块, 用于当所述检测单元检测到所述唤醒口令时,检测所 述唤醒口令对应的第二设备是否存在于预存的可唤醒设备列表中; 发送模块,用于当所述检测模块检测到所述唤醒口令对应的第二 设备存在于所述可唤醒设备列表中,向所述第二设备发送所述第一消 息。
14、 一种设备唤醒装置, 其特征在于, 包括:
接收单元, 用于接收第二设备通过通信技术发送的唤醒口令; 其 中, 所述第一设备为被第二设备唤醒的设备;
发送单元, 用于向所述第二设备发送第一消息, 以便所述第二设 备在接收到所述第一消息之后切换为工作站 STA模式; 其中, 所述 第一消息用于向所述第二设备通知所述第一设备被成功唤醒;
切换单元, 用于切换为接入点 AP模式; 以便所述第二设备通过 所述第一设备接入无线保真 Wi-Fi。
15、 根据权利要求 14所述的设备唤醒装置, 其特征在于, 还包 括:
检测单元,用于在所述接收单元接收到所述第二设备通过通信技 术发送的所述唤醒口令之后,检测所述唤醒口令对应的所述第二设备 是否存在于预存的可唤醒设备列表中。
16、 根据权利要求 14所述的设备唤醒装置, 其特征在于, 所述 发送单元, 包括:
发送模块,用于当所述检测单元检测到所述唤醒口令对应的所述 第二设备存在于所述可唤醒设备列表中时,向所述第二设备发送所述 第一消息。
PCT/CN2013/084900 2013-02-04 2013-10-09 一种设备唤醒方法及装置 WO2014117535A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP13807880.3A EP2785113B1 (en) 2013-02-04 2013-10-09 Method and apparatus for waking up device
JP2014559090A JP5973594B2 (ja) 2013-02-04 2013-10-09 デバイス起動方法及び装置
US14/144,237 US20140219148A1 (en) 2013-02-04 2013-12-30 Method and Apparatus for Waking Up a Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310042704.0 2013-02-04
CN201310042704.0A CN103974391A (zh) 2013-02-04 2013-02-04 一种设备唤醒方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/144,237 Continuation US20140219148A1 (en) 2013-02-04 2013-12-30 Method and Apparatus for Waking Up a Device

Publications (1)

Publication Number Publication Date
WO2014117535A1 true WO2014117535A1 (zh) 2014-08-07

Family

ID=51243304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084900 WO2014117535A1 (zh) 2013-02-04 2013-10-09 一种设备唤醒方法及装置

Country Status (4)

Country Link
EP (1) EP2785113B1 (zh)
JP (1) JP5973594B2 (zh)
CN (1) CN103974391A (zh)
WO (1) WO2014117535A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079242A (zh) * 2014-10-17 2017-08-18 高通股份有限公司 提升无线设备性能的方法和装置

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202221A (zh) * 2014-08-19 2014-12-10 中兴通讯股份有限公司 一种唤醒家庭互联设备的方法和设备
CN105637973A (zh) * 2014-09-12 2016-06-01 华为技术有限公司 一种Wi-Fi模块控制方法及相关装置
CN105430757A (zh) * 2014-09-23 2016-03-23 中兴通讯股份有限公司 接入点设备关闭的方法及接入点设备
CN104639968B (zh) * 2015-02-28 2018-01-30 江苏惠通集团有限责任公司 通信连接方法、遥控装置以及主机端装置
CN104853391A (zh) * 2015-03-17 2015-08-19 杭州华三通信技术有限公司 一种终端唤醒方法及接入点ap
CN105050115B (zh) * 2015-06-29 2020-06-02 小米科技有限责任公司 唤醒mcu的方法及装置
CN106412845B (zh) * 2015-08-03 2021-06-15 中兴通讯股份有限公司 无线保真Wi-Fi设备的休眠方法及装置
CN105246169A (zh) * 2015-09-11 2016-01-13 深圳创锐思科技有限公司 无线连接方法、无线连接装置及无线终端
CN105530538B (zh) * 2015-12-25 2018-11-02 深圳Tcl数字技术有限公司 控制无线热点休眠的方法及智能电视
CN105722121B (zh) * 2016-03-30 2019-03-22 中国联合网络通信集团有限公司 网关工作模式切换方法和装置、网关、可穿戴设备
CN106413055A (zh) * 2016-08-30 2017-02-15 广东美的制冷设备有限公司 Wifi模块的单片机控制方法和装置
JP6634995B2 (ja) 2016-09-30 2020-01-22 富士通クライアントコンピューティング株式会社 監視装置、再接続方法および再接続プログラム
WO2018076356A1 (zh) * 2016-10-31 2018-05-03 华为技术有限公司 通信方法、网络设备和终端
CN106686704B (zh) * 2016-12-07 2020-03-03 Oppo广东移动通信有限公司 一种终端监测方法及移动终端
CN106604413A (zh) * 2016-12-29 2017-04-26 生迪智慧科技有限公司 双模式共存的控制方法、Wi‑Fi芯片和通信设备
WO2018133300A1 (zh) * 2017-01-19 2018-07-26 华为技术有限公司 一种建立数据通信的方法及装置
CN109565751B (zh) * 2017-03-20 2021-01-29 华为技术有限公司 一种用来唤醒设备的方法及装置
CN108810883B (zh) * 2017-04-28 2021-06-15 华为技术有限公司 用于唤醒的方法和设备
CN113329471A (zh) * 2021-05-18 2021-08-31 南京大鱼半导体有限公司 建立点对点通信的方法、系统、存储介质以及电子设备
CN115297478A (zh) * 2022-07-27 2022-11-04 四川虹美智能科技有限公司 一种通过语音同时给多个语音设备配网的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816789A (zh) * 2003-07-22 2006-08-09 皮科特有限公司 用于唤醒无线局域网的系统和方法
CN101541068A (zh) * 2009-05-12 2009-09-23 杭州华三通信技术有限公司 一种wlan网络的控制方法和设备
WO2011124853A1 (fr) * 2010-04-08 2011-10-13 France Telecom Procede de controle d'un point d'acces d'une passerelle domestique d'un reseau domestique
CN102265702A (zh) * 2011-05-30 2011-11-30 华为终端有限公司 接入点的待机方法及接入点
CN102421134A (zh) * 2011-12-07 2012-04-18 华为终端有限公司 控制无线接入点设备的方法和无线接入点设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156788A (ja) * 1999-11-24 2001-06-08 Matsushita Electric Ind Co Ltd 無線lanアクセスポイント
JP2008199532A (ja) * 2007-02-15 2008-08-28 Seiko Epson Corp 通信装置およびプログラム
KR20110052543A (ko) * 2008-07-11 2011-05-18 마벨 월드 트레이드 리미티드 액세스 포인트들을 위한 전력 절감 모드
CN101754471A (zh) * 2008-12-09 2010-06-23 中兴通讯股份有限公司 无线局域网接入设备的工作模式切换方法、装置
CN102098761B (zh) * 2009-12-10 2013-08-07 华为终端有限公司 移动通信终端的网络接入方法及移动通信终端
CN101868009A (zh) * 2010-06-12 2010-10-20 杭州华三通信技术有限公司 无线接入点ap及ap节能的方法
JP5190569B2 (ja) * 2011-02-23 2013-04-24 株式会社国際電気通信基礎技術研究所 端末装置、それと無線通信を行う無線基地局およびそれらを用いた無線通信システム
JP5691748B2 (ja) * 2011-03-31 2015-04-01 富士通株式会社 プログラム、情報通信機器および連携方法
KR101288865B1 (ko) * 2011-04-14 2013-07-23 주식회사 팬택 통신 방법 및 무선기기
CN102833831A (zh) * 2012-08-21 2012-12-19 中兴通讯股份有限公司 实现动态休眠和唤醒的网卡设备、路由设备、系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816789A (zh) * 2003-07-22 2006-08-09 皮科特有限公司 用于唤醒无线局域网的系统和方法
CN101541068A (zh) * 2009-05-12 2009-09-23 杭州华三通信技术有限公司 一种wlan网络的控制方法和设备
WO2011124853A1 (fr) * 2010-04-08 2011-10-13 France Telecom Procede de controle d'un point d'acces d'une passerelle domestique d'un reseau domestique
CN102265702A (zh) * 2011-05-30 2011-11-30 华为终端有限公司 接入点的待机方法及接入点
CN102421134A (zh) * 2011-12-07 2012-04-18 华为终端有限公司 控制无线接入点设备的方法和无线接入点设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079242A (zh) * 2014-10-17 2017-08-18 高通股份有限公司 提升无线设备性能的方法和装置

Also Published As

Publication number Publication date
JP2015510364A (ja) 2015-04-02
JP5973594B2 (ja) 2016-08-23
EP2785113B1 (en) 2018-03-21
EP2785113A1 (en) 2014-10-01
EP2785113A4 (en) 2015-07-22
CN103974391A (zh) 2014-08-06

Similar Documents

Publication Publication Date Title
WO2014117535A1 (zh) 一种设备唤醒方法及装置
EP2996367B1 (en) Device, method, and system for starting mobile hotspot
US20140219148A1 (en) Method and Apparatus for Waking Up a Device
EP2827657B1 (en) Sleeping method and apparatus
WO2022033425A1 (zh) 非连续发送方法、信号发送处理方法及相关设备
EP2887746A1 (en) Data transmission method and device
JP2017507586A (ja) ウェイクアップメッセージを使用する近隣認識ネットワーク(nan)の発見
WO2014029248A1 (zh) 实现动态休眠和唤醒的网卡设备、路由设备、系统及方法
WO2011095034A1 (zh) 提供低功耗服务的方法和设备及通信系统
US20130322316A1 (en) Wireless communication apparatus and wireless communication method
US20210076450A1 (en) Data service processing method, network side device, terminal device, and storage medium
WO2014114075A1 (zh) 移动热点唤醒处理方法及装置
CN113038634B (zh) 唤醒信号配置方法、唤醒信号处理方法及相关设备
WO2015196446A1 (zh) 一种无线ap的节能方法、唤醒方法、相关设备及系统
WO2021129508A1 (zh) 唤醒信号处理方法、唤醒信号配置方法及相关设备
WO2021180197A1 (zh) 传输配置方法及电子设备
US20220399973A1 (en) Reference Signal Transmission Method and Related Device
JP2013030953A (ja) 移動通信装置および無線通信方法
CN114375597B (zh) 信号接收方法、信号发送方法及相关设备
CN112219446B (zh) Drx分组唤醒方法及装置、通信设备及存储介质
WO2023011226A1 (zh) 网络接入模式切换方法、装置、存储介质及电子设备
WO2022174798A1 (zh) 省电的方法、装置、设备及可读存储介质
WO2023173445A1 (zh) 一种通信方法、通信装置及通信设备
WO2023087147A1 (zh) 信息处理方法及装置、通信设备及存储介质
WO2023184446A1 (zh) 信号监听方法及装置、通信设备及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2013807880

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2014559090

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13807880

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE