WO2018032954A1 - 一种唤醒无线设备的方法和装置 - Google Patents

一种唤醒无线设备的方法和装置 Download PDF

Info

Publication number
WO2018032954A1
WO2018032954A1 PCT/CN2017/094776 CN2017094776W WO2018032954A1 WO 2018032954 A1 WO2018032954 A1 WO 2018032954A1 CN 2017094776 W CN2017094776 W CN 2017094776W WO 2018032954 A1 WO2018032954 A1 WO 2018032954A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless device
wake
module
auxiliary
wireless
Prior art date
Application number
PCT/CN2017/094776
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
Priority claimed from CN201611270950.1A external-priority patent/CN107770851B/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US16/325,959 priority Critical patent/US10779235B2/en
Publication of WO2018032954A1 publication Critical patent/WO2018032954A1/zh

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
    • 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
    • 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 relates to the field of communications, and in particular, to a method and apparatus for waking up a wireless device.
  • Wi-Fi-based IoT The Institute of Electrical and Electronics Engineers (IEEE) 802.11 standards organization plans to develop Wi-Fi-based IoT standards with the goal of promoting Wi-Fi technology to the Internet of Things. , as well as wearable electronics and digital medical devices.
  • the Wi-Fi communication module of the existing wearable electronic device consumes too much power and cannot be directly applied to the wearable electronic device.
  • the IEEE 802.11 standard organization proposes an ultra-low-power Wake-Up Radio/Receiver (WUR) technology that can reduce the average power consumption of Wi-Fi communication technology through WUR while achieving on-demand (On-Demand) real-time data transmission.
  • WUR is an ultra-low-power radio/receiver interface added to the device's Wi-Fi device.
  • the device's main communication module for example, Wi-Fi module
  • the WUR module performs ultra low power listening. For example, as shown in FIG.
  • an access point AP
  • STA station
  • the AP when an access point (AP) has data to be transmitted to a station (Station, STA), the AP is a wake-up device, the STA is a wake-up device, and the AP first sends a WUR to the STA.
  • AP access point
  • STA station
  • WUR WUR
  • the module sends a wake-up frame (WUP), and after receiving the wake-up frame, the WUR module of the STA checks the receiver address of the wake-up frame and confirms the correctness and authenticity of the wake-up frame; if the wake-up frame is received If the address of the STA matches the address of the WUR of the STA, and the wake-up frame is correct and true, the WUR module of the STA sends a wake-up signal to the STA's main communication module (such as a Wi-Fi module) to wake up the STA's main communication module.
  • WUP wake-up frame
  • the WUR module of the STA After the WUR module of the STA sends the wake-up signal, it can enter the deep sleep state (the power consumption is close to zero); in order to further reduce the average power consumption of the WUR, the WUR can be enabled to enable the duty cycle (Duty-Cycling), that is, the WUR cycle. Sexual "wake up - dormant".
  • the prior art adopts a "synchronous wake-up" mechanism, that is, the second device is synchronized with the WUR of the first device, and the second device can accurately find the position of the wake-up window (Wake window) of the WUR of the first device on the time axis. . As shown in FIG.
  • the wake-up device has data to send to the wake-up device, the wake-up device is being A wake-up frame (WUP) is sent to the wake-up window of the WUR of the wake-up device to the WUR of the wake-up device, thereby waking up the main communication module of the wake-up device.
  • WUP wake-up frame
  • the wake-up device needs to periodically send a WUR time synchronization frame, and the energy overhead is relatively large, which wastes a large amount of power for waking up the device. Moreover, as shown in FIG.
  • the wake-up device when the wake-up device is connected to a plurality of different wake-up devices, for example, the wake-up device is simultaneously connected to the wake-up device 1, the wake-up device 2, and the wake-up device 3, and the plurality of wake-up devices do not belong to the same basic If the Service Set (BBS) or the same network does not belong to the same network, if the "synchronous wake-up" mechanism is adopted,
  • BSS Service Set
  • the WUR of the awakened device needs to maintain multiple clock information, and needs to periodically receive time synchronization frames from multiple wake-up devices, which significantly increases the complexity and power consumption of the WUR of the wake-up device, and reduces the wake-up device's Battery life.
  • sending a time synchronization frame by multiple wake-up devices separately wastes a large amount of air interface time-frequency resources.
  • Embodiments of the present application provide a method and apparatus for waking up a wireless device to reduce energy and resource overhead when waking up the wireless device.
  • An embodiment of the present application provides a method for waking up a wireless device, where the first wireless device obtains indication information of at least one second wireless device by using a primary communication module of the first wireless device, where the indication information includes a power saving requirement and a wakeup capability information.
  • At least one of the wake-up capability information is used to indicate that the second wireless device supports synchronous wake-up and/or asynchronous wake-up; the first wireless device determines, according to the number and/or indication information of the second wireless device, the auxiliary wake-up module of the first wireless device.
  • the working mode, the working mode includes a time synchronization mechanism and/or a sleep mode of the auxiliary wake-up module; the auxiliary wake-up module of the first wireless device receives the wake-up frame sent by the second wireless device according to the working mode to wake up the main communication module of the first wireless device .
  • the first wireless device may be understood as a wake-up device
  • the second wireless device may be understood as a wake-up device
  • the first wireless device determines the assistance of the first wireless device according to the number and/or indication information of the second wireless device.
  • a working mode of the wake-up module, the auxiliary wake-up module receives the wake-up frame sent by the second wireless device according to the working mode, thereby waking up the main communication module of the first wireless device, so that the first wireless device and the second wireless device can be effectively balanced Energy consumption avoids the extra power and communication overhead caused by complex time synchronization operations and time synchronization.
  • the method further includes: the first wireless device transmitting an operation mode of the auxiliary wake-up module to the at least one second wireless device.
  • the at least one second wireless device can send the wake-up frame to the first wireless device according to the working mode of the first wireless device to wake up the primary communication module of the first wireless device.
  • the method further includes: receiving, by the first wireless device, an acknowledgement message sent by the second wireless device, confirming The message is for indicating that the working mode is accepted by the second wireless device; or the first wireless device receives the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device. In this way, if the working mode set by the first wireless device is not accepted by the second wireless device, the working mode of the auxiliary wake-up module of the first wireless device may be set by the second wireless device.
  • the first wireless device sets the working mode of the auxiliary wake-up module of the first wireless device according to the number and/or indication information of the second wireless device, including: according to the number of the second wireless device, the first wireless device Setting a priority relationship between at least two of the three parameters of the power saving requirement of the second wireless device and the wake-up capability information of the second wireless device to set an operation mode of the auxiliary wake-up module of the first wireless device, where the priority relationship includes At least one of the following: the priority of the wake-up capability information is greater than the number of the second wireless devices, and the number of the second wireless devices has a priority greater than the power saving requirement.
  • the first wireless device can set the working mode of the auxiliary wake-up module according to the number of the second wireless device, the power saving requirement of the second wireless device, and the priority of the wake-up capability information of the second wireless device, and can balance the first mode.
  • the energy consumption of the wireless device and the second wireless device are applicable to various application environments and meet the power saving requirements of different devices.
  • the first wireless device determines the first wireless device according to the number of the second wireless device and the indication information.
  • the time synchronization mechanism of the auxiliary wake-up module includes: determining, by the first wireless device, a time synchronization mechanism for determining the auxiliary wake-up module of the first wireless device according to the priority information, including: if the wake-up capability information is used to represent the second wireless The device only supports synchronous wake-up, and the first wireless device determines that the auxiliary wake-up module of the first wireless device and the second wireless device need to maintain time synchronization; The information is used to characterize that the second wireless device only supports asynchronous wake-up, and then determining that the secondary wake-up module of the first wireless device does not need to maintain time synchronization with the second wireless device.
  • the first wireless device can be configured to set the auxiliary wake-up module to maintain time synchronization with the second wireless device according to different selections of the wake-up capability information, or do not need to maintain time synchronization with the second wireless device, when the first wireless device is assisted to wake up.
  • the module does not need to maintain time synchronization with the second wireless device, the energy consumption of the first wireless device and the second wireless device can be effectively balanced, avoiding complicated time synchronization operations and maintaining additional power consumption and communication overhead caused by time synchronization.
  • the first wireless device sets the time synchronization mechanism of the auxiliary wake-up module of the first wireless device according to the number of the second wireless device and the indication information, including: the first wireless device Determining, according to the priority relationship, a priority according to the number of the second wireless devices that is greater than the power saving requirement, including: if the number of the second wireless devices is equal to 1, or the number of the second wireless devices is greater than or equal to 2 and the second wireless If the devices all belong to the same basic service set, the first wireless device determines whether the power saving requirement indicates whether the second wireless device needs to save power, and if it is determined that the power saving requirement indicates that the second wireless device needs to save power, the first wireless device sets the wireless device.
  • the auxiliary wake-up module does not need to maintain time synchronization with the second wireless device; if it is determined that the power saving requirement indicates that the second wireless device does not need to save power, the first wireless device sets the auxiliary wake-up module of the first wireless device to hold time with the second wireless device Synchronization; if the number of second wireless devices is greater than or equal to 2, and the second wireless device belongs to a different basic Service set, the first wireless device a wireless device of a first auxiliary module do not need to wake-up time synchronization with the second wireless device.
  • the first wireless device can be configured to set the auxiliary wake-up module to maintain time synchronization with the second wireless device according to different number of wake-up devices, or do not need to maintain time synchronization with the second wireless device, when assisted by the first wireless device.
  • the wake-up module does not need to maintain time synchronization with the second wireless device, the energy consumption of the first wireless device and the second wireless device can be effectively balanced, avoiding complicated time synchronization operations and maintaining additional power consumption and communication overhead caused by time synchronization. .
  • the operation mode of the auxiliary wake-up module of the wake-up device may be determined according to the power-saving information of the wake-up device.
  • the sleep mode includes a cycle of the work cycle of the auxiliary wake-up module and a window length when waking up; the first wireless device sets the assistance of the first wireless device according to the number and/or indication information of the second wireless device.
  • the working mode of the wake-up module includes: the first wireless device sets a period of a working cycle of the auxiliary wake-up module of the first wireless device and a window length when waking up according to the number and/or indication information of the second wireless device, so that the second wireless device Determining the number of wake-up frames and the time interval between wake-up frames according to a period of a work cycle of the auxiliary wake-up module and a window length when waking up; wherein the time interval is less than or equal to the window length, when the auxiliary wake-up module is kept with the second wireless device When time synchronization, the number of wake-up frames is greater than or equal to 1, when the auxiliary wake-up module does not maintain time synchronization with the second wireless device, the number of wake-up frames is greater
  • the second wireless device can set the number of wake-up frames and the time interval between the wake-up frames according to the period of the working cycle of the auxiliary wake-up module of the first wireless device and the window length when waking up, and can ensure the first wireless device.
  • the wake-up frame sent by the second wireless device can be received in different working modes.
  • the method further includes: if the number and/or indication information of the second wireless device changes, the first wireless device updates the working mode of the auxiliary wake-up module of the first wireless device to the second wireless device .
  • the first wireless device can dynamically update the working mode of the auxiliary wake-up module of the first wireless device, for example, “synchronous wake-up” and “asynchronous wake-up”. "The two time synchronization mechanisms switch to each other. Because of the dynamic update operation, the technical solution of the present invention can be applied to various application environments and meet the power saving requirements and wake-up capability information of different devices.
  • a method of waking up a wireless device comprising: determining, by a second wireless device, an operational mode of an auxiliary wake-up module of the first wireless device, the operational mode comprising a time synchronization mechanism of the auxiliary wake-up module of the first wireless device and/or a sleep mode; the second wireless device transmits a working mode to the first wireless device by using a primary communication module of the second wireless device; the second wireless device is configured according to The working mode sends a wake-up frame to the auxiliary wake-up module of the first wireless device to wake up the primary communication module of the first wireless device.
  • the second wireless device is equivalent to the wake-up device, and the first wireless device is equivalent to the wake-up device.
  • the wake-up device can cause the wake-up device to follow the indication of the wake-up device.
  • the wake-up device can send a wake-up frame to the auxiliary wake-up module of the first wireless device according to the working mode, and when the auxiliary wake-up module of the wake-up device does not need to keep time synchronization with the wake-up device, the avoidance is avoided.
  • the energy and resource overhead brought by the complex time synchronization operation and time synchronization between the awakened device and the wake-up device solves the problem of large energy and resource overhead when waking up the wireless device.
  • the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device is time-synchronized with the second wireless device, or the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device does not need to be
  • the wireless device maintains time synchronization; the sleep mode includes a cycle of the duty cycle of the auxiliary wake-up module of the first wireless device and a window length when waking up.
  • the method further includes: the second wireless device receiving the feedback message sent by the first wireless device; the feedback message is used to indicate that the first wireless device accepts the determined by the second wireless device The operating mode of the auxiliary wake-up module of the first wireless device; or
  • the feedback message is used to indicate that the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, and the feedback message includes an operating mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device .
  • the first wireless device may send the first wireless device to determine the first wireless device by the first wireless device.
  • the working mode of the device's auxiliary wake-up module is used to indicate that the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, and the feedback message includes an operating mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device .
  • the method further includes: the second wireless device accepts an operation mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device, and assists the first wireless device determined by the first wireless device
  • the working mode of the wake-up module is an operating mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device.
  • the second wireless device can use the working mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device as the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device.
  • a method for waking up a wireless device the first wireless device receiving, by the primary wireless communication module, an operating mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device sent by the second wireless device, the working mode a time synchronization mechanism and/or a sleep mode of the auxiliary wake-up module of the first wireless device; the first wireless device determines an operation mode of the auxiliary wake-up module of the first wireless device according to the operating mode received from the second wireless device; The auxiliary wake-up module of the device receives the wake-up frame sent by the second wireless device according to the working mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device to wake up the primary communication module of the first wireless device.
  • the first wireless device can determine the working mode received from the second wireless device as the working mode of the auxiliary wake-up module of the first wireless device, thereby receiving the second mode according to the working mode of the auxiliary wake-up module of the first wireless device.
  • the power consumption of the wireless device and the second wireless device avoids the extra power consumption and communication overhead caused by complicated time synchronization operations and time synchronization.
  • the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device is time-synchronized with the second wireless device, or the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device does not need to be
  • the wireless device maintains time synchronization; the sleep mode includes a cycle of the duty cycle of the auxiliary wake-up module of the first wireless device and a window length when waking up. In this way, when the auxiliary wake-up module of the first wireless device does not need to maintain time synchronization with the second wireless device, the balance can be effectively balanced.
  • the energy consumption of the first wireless device and the second wireless device avoids complex time synchronization operations and additional power consumption and communication overhead caused by time synchronization.
  • the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, the number of the second wireless device, the wake-up capability of the second wireless device, and the second wireless At least one of the power saving requirements of the device determines an operational mode of the auxiliary wake-up module of the first wireless device.
  • the method further includes: the first wireless device sending a feedback message to the second wireless device; the feedback message is used to indicate that the first wireless device accepts the auxiliary wake-up module of the first wireless device determined by the second wireless device The working mode; or the feedback message is used to indicate that the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, and the feedback message includes the first wireless device according to the number of the second wireless device, The operating mode of the auxiliary wake-up module of the first wireless device determined by at least one of the wake-up capability of the wireless device and the power-saving requirement of the second wireless device.
  • the second wireless device may feed back the auxiliary wake-up of the first wireless device determined by the first wireless device.
  • the working mode of the module when the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, the second wireless device may feed back the auxiliary wake-up of the first wireless device determined by the first wireless device. The working mode of the module.
  • a first wireless device including: a main communication module, configured to obtain indication information of the at least one second wireless device, where the indication information includes at least one of a power saving requirement and a wakeup capability information, and the wakeup capability information And a processing module, configured to determine, according to the quantity and/or indication information of the second wireless device, an operation mode of the auxiliary wake-up module of the first wireless device, where the working mode includes an auxiliary function, where the second wireless device supports the synchronous wake-up and/or the asynchronous wake-up.
  • the time synchronization mechanism and/or the sleep mode of the wake-up module; the auxiliary wake-up module is configured to receive the wake-up frame sent by the second wireless device according to the working mode to wake up the main communication module of the first wireless device.
  • the main communication module is further configured to: send an operation mode of the auxiliary wake-up module to the at least one second wireless device.
  • the main communication module is further configured to: receive an acknowledgement message sent by the second wireless device, the acknowledgement message is used to indicate that the working mode is accepted by the second wireless device; or receive the first wireless determined by the second wireless device The working mode of the device's auxiliary wake-up module.
  • the processing module is configured to: between at least two of the three parameters according to the number of the second wireless device, the power saving requirement of the second wireless device, and the wake-up capability information of the second wireless device a priority relationship to set an operation mode of the auxiliary wake-up module of the first wireless device, the priority relationship comprising at least one of the following: the priority of the wake-up capability information is greater than the number of the second wireless device, and the number of the second wireless device is prioritized The level is greater than the power saving demand.
  • the processing module is configured to: determine, according to the priority relationship, the first wireless according to the wake-up capability information.
  • the time synchronization mechanism of the auxiliary wake-up module of the device includes: if the wake-up capability information is used to indicate that the second wireless device only supports synchronous wake-up, determining that the auxiliary wake-up module of the first wireless device and the second wireless device need to maintain time synchronization;
  • the capability information is used to characterize that the second wireless device only supports asynchronous wake-up, and then determining that the secondary wake-up module of the first wireless device does not need to maintain time synchronization with the second wireless device.
  • the processing module is configured to: determine, according to the priority relationship, that the priority according to the number of the second wireless devices is greater than the priority of the power saving requirement, including: If the number of wireless devices is equal to 1, or the number of second wireless devices is greater than or equal to 2 and the second wireless devices all belong to the same basic service set, determining whether the power saving requirement indicates whether the second wireless device needs to save power, if determining the power saving requirement Demonstrating that the second wireless device needs to save power, the auxiliary wake-up module that sets the wireless device does not need to maintain time synchronization with the second wireless device; if it is determined that the power saving requirement indicates that the second wireless device does not need to save power, then setting the first wireless device The auxiliary wake-up module maintains time synchronization with the second wireless device; if the number of the second wireless devices is greater than or equal to 2, and the second wireless device belongs to a different basic service set, setting the auxiliary wake-up module of the first wireless device does
  • the sleep mode includes a cycle of the work cycle of the auxiliary wake-up module and a window length when waking up;
  • the processing module is configured to: set the first wireless device according to the number and/or indication information of the second wireless device Activating the cycle of the work cycle of the wake-up module and the window length when waking up, so that the second wireless device determines the number of wake-up frames and the time interval between the wake-up frames according to the cycle of the work cycle of the auxiliary wake-up module and the window length when waking up.
  • the time interval is less than or equal to the window length
  • the number of wake-up frames is greater than or equal to 1, and wakes up when the auxiliary wake-up module does not maintain time synchronization with the second wireless device
  • the number of frames is greater than or equal to the ratio of the period of the duty cycle of the auxiliary wake-up module to the time interval.
  • the processing module is further configured to: if the number and/or indication information of the second wireless device changes, update the working mode of the auxiliary wake-up module of the first wireless device to the second wireless device.
  • a second wireless device comprising: a processing module, configured to determine an operating mode of an auxiliary wake-up module of the first wireless device, the working mode comprising a time synchronization mechanism of the auxiliary wake-up module of the first wireless device and/or a sleep mode; a main communication module, configured to send a working mode to the first wireless device; the main communication module is further configured to send a wake-up frame to the auxiliary wake-up module of the first wireless device according to the working mode to wake up the primary communication of the first wireless device Module.
  • the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device is time-synchronized with the second wireless device, or the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device does not need to be
  • the wireless device maintains time synchronization; the sleep mode includes a cycle of the duty cycle of the auxiliary wake-up module of the first wireless device and a window length when waking up.
  • the main communication module is further configured to receive a feedback message sent by the first wireless device, where the feedback message is used to indicate that the first wireless device accepts the first determined by the second wireless device The operating mode of an auxiliary wake-up module of a wireless device; or
  • the feedback message is used to indicate that the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, and the feedback message includes an operating mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device .
  • the processing module is further configured to receive an operation mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device, and determine the auxiliary wake-up module of the first wireless device determined by the first wireless device The working mode is an operating mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device.
  • a first wireless device comprising: a main communication module, configured to receive an operation mode of an auxiliary wake-up module of the first wireless device determined by the second wireless device, where the second wireless device sends, the working mode includes the first mode a time synchronization mechanism and/or a sleep mode of the auxiliary wake-up module of the wireless device; and a processing module, configured to determine an operation mode of the auxiliary wake-up module of the first wireless device according to the working mode received from the second wireless device; Receiving, by the operating mode of the auxiliary wake-up module of the first wireless device determined by the first wireless device, a wake-up frame sent by the second wireless device to wake up the master of the first wireless device Communication module.
  • the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device is time-synchronized with the second wireless device, or the time synchronization mechanism is used to indicate that the auxiliary wake-up module of the first wireless device does not need to be
  • the wireless device maintains time synchronization; the sleep mode includes a cycle of the duty cycle of the auxiliary wake-up module of the first wireless device and a window length when waking up.
  • the processing module is configured to: accept an operating mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device; or accept an auxiliary wake-up module of the first wireless device determined by the second wireless device And a working mode, and determining an operating mode of the auxiliary wake-up module of the first wireless device according to at least one of the number of the second wireless device, the wake-up capability of the second wireless device, and the power-saving requirement of the second wireless device.
  • the main communication module is further configured to: send a feedback message to the second wireless device; the feedback message is used to instruct the first wireless device to accept the work of the auxiliary wake-up module of the first wireless device determined by the second wireless device a mode; or a feedback message is used to indicate that the first wireless device does not accept the working mode of the auxiliary wake-up module of the first wireless device determined by the second wireless device, and the feedback message includes the first wireless device according to the number of the second wireless device, the second The operating mode of the auxiliary wake-up module of the first wireless device determined by at least one of the wake-up capability of the wireless device and the power-saving requirement of the second wireless device.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the first wireless device, including a program designed to perform the above aspects.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the second wireless device, including a program designed to perform the above aspects.
  • the wake-up device can set the working mode of the auxiliary wake-up module of the wake-up device according to the number of wake-up devices and the indication information, including a time synchronization mechanism and a sleep mode, and the time synchronization mechanism can be synchronous wake-up or asynchronous wake-up.
  • the time synchronization mechanism of the auxiliary wake-up module of the wake-up device can only be synchronous wake-up.
  • the auxiliary wake-up module of the wake-up device needs to maintain multiple clock information.
  • the asynchronous mode provided by the embodiment of the present application does not need to maintain the clock information and the time synchronization frame of the receiving wake-up device, and can solve the additional energy consumption and communication overhead caused by the time synchronization of the wake-up device and the wake-up device. The problem.
  • the present invention also provides any of the following embodiments:
  • a method for waking up a wireless device comprising: (1) a first wireless device acquiring power saving demand and/or wake-up capability information of at least one second wireless device through a first wireless interface of the first wireless device; 2) The first wireless device according to “the power saving requirement of the first wireless device, the wake-up capability information of the first wireless device, the number of the second wireless device, and the power saving of the second wireless device Determining an operation mode of the second wireless interface of the first wireless device, the operating mode including the first wireless device a time synchronization mechanism and/or a sleep mode of the second wireless interface; (3) the first wireless device configures an operating mode of the second wireless interface of the first wireless device; (4) when the first wireless device passes After the second wireless interface of the first wireless device receives the wake-up frame sent by the second wireless device, the first wireless device wakes up the first wireless interface of the first wireless device to be associated with the second wireless device Enter Message transmission.
  • the method for waking up a wireless device may enable the first wireless device to perform the power saving requirement of the first wireless device, the wake-up capability information of the first wireless device, the number of the second wireless device, One or more of the power saving requirements of the second wireless device and the wake-up capability information of the second wireless device determine an operating mode of the second wireless interface of the first wireless device.
  • the first wireless interface transmits power saving requirements and/or wakeup capability information of the first wireless device to the at least one second wireless device.
  • the first wireless device sends the power saving requirement and/or wake-up capability information of the first wireless device to the second wireless device, and may help the second wireless device determine the second wireless of the second wireless device
  • the working mode of the interface may also help the second wireless device to determine an operating mode of the second wireless interface of the first wireless device.
  • step (3) the first wireless device transmitting the first to the at least one second wireless device by using a first wireless interface of the first wireless device The operating mode of the second wireless interface of the wireless device. Transmitting, by the first wireless device, an operating mode of the second wireless interface of the first wireless device to the second wireless device, which may help the second wireless device select a correct wake-up operation to wake up the first wireless device The first wireless interface.
  • the "correct wake-up operation" includes the time and number of times the second wireless device transmits a wake-up frame in an attempt to wake up the first wireless device.
  • the first wireless device receiving, by the first wireless interface of the first wireless device, a message sent by the at least one second wireless device, where The message includes an acknowledgement message by the second wireless device to an operating mode of the second wireless interface of the first wireless device, or a second wireless interface of the first wireless device determined by the second wireless device Operating mode.
  • the working mode of the second wireless interface of the first wireless device determined by the first wireless device may be accepted by the second wireless device (as described above, the second wireless device may receive the first wireless device
  • the acknowledgment message of the working mode of the second wireless interface may or may not be accepted by the second wireless device, and the working mode of the second wireless interface of the first wireless device may be finalized by the second wireless device.
  • step (3) the first wireless device transmitting the first to the at least one second wireless device via a first wireless interface of the first wireless device A confirmation message of the operating mode of the second wireless interface of the wireless device.
  • the first wireless device sends an acknowledgement message to the second wireless device, confirming acceptance of the first The operating mode of the second wireless interface of the first wireless device determined by the wireless device.
  • the method of any of 1-5 further comprising: when the first wireless device determines that a wake-up request changes, the first wireless device updates a second wireless interface of the first wireless device a mode of operation, wherein "when the first wireless device determines that a wake-up request changes" comprises: increasing or decreasing a number of second wireless devices connected by the first wireless device, or second connecting the first wireless device
  • the power saving requirements and/or wake-up capabilities of wireless devices vary.
  • the first wireless device dynamically updates an operation mode of the second wireless interface of the first wireless device according to a dynamic change of the wakeup requirement, for example, "synchronous wakeup" and "asynchronous wakeup" are mutually switched. Because of the dynamic update operation, the technical solution of the present invention can be applied to various application environments and meet the power saving requirements of different devices.
  • the determining or updating the operating mode of the second wireless interface of the first wireless device can include: when there is only one second wireless device and the second wireless device only Support "asynchronous wake-up", or only one second wireless device and the second wireless device has power saving requirements, or there are two or more second wireless devices and the second wireless device does not belong to the same basic service
  • the set (BSS) does not belong to the same network
  • the working mode of the second wireless interface of the first wireless device is “synchronous wake-up”.
  • the technical solution can enable the first wireless device to adopt “synchronous wake-up” or “asynchronous wake-up” according to the application scenario.
  • the “asynchronous wake-up” mechanism can effectively balance the energy consumption of the first wireless device and the second wireless device, and avoid complicated time synchronization operations and protection. Additional power and communication overhead due to time synchronization.
  • the second wireless device in the "asynchronous wake-up" mode, sends n wake-up frames, and the time interval between the adjacent two wake-up frames to be transmitted is required to be less than or A length equal to a wake-up window of the second wireless interface of the first wireless device, where n is greater than or equal to two.
  • the second wireless device transmits n wake-up frames, and it is expected that at least one wake-up frame is received by the second wireless interface of the first wireless device.
  • This "asynchronous wake-up" mechanism can effectively balance the energy consumption of the first wireless device and the second wireless device, as well as avoiding complex time synchronization operations and maintaining additional power consumption and communication overhead due to time synchronization.
  • the power saving requirement and/or wake-up capability information of the second wireless device may include: a power saving requirement of the second wireless device, including power supply of the second wireless device Information and/or sleep information of the first wireless interface of the second wireless device; wake-up capability information of the second wireless device, including support information of the second wireless device to the second wireless interface of the first wireless device And/or information of the second wireless interface of the second wireless device.
  • the “power saving requirement and/or wake-up capability information of the first wireless device” may include: a power saving requirement of the first wireless device, including power supply information of the first wireless device, and/or the first wireless The sleep information of the first wireless interface of the device; the wake-up capability information of the first wireless device, including support information of the first wireless device to the second wireless interface of the second wireless device, and/or the first wireless device The information of the second wireless interface.
  • the first wireless interface is an 802.11 interface
  • the second wireless interface is an auxiliary wake-up interface
  • the first wireless device is a wake-up device
  • the second wireless The device is a wake-up device.
  • a wake-up device can communicate with at least one wake-up device, the wake-up device can be used to wake up the wake-up device, the wake-up device comprising: a first wireless interface, for receiving a power saving requirement and/or wake-up capability information of the wake-up device sent by the at least one wake-up device; a processor, configured to: according to the “power saving requirement of the first wireless device, the wake-up capability information of the first wireless device, Determining the second wireless of the first wireless device by one or more of the number of the second wireless device, the power saving requirement of the second wireless device, and the wake-up capability information of the second wireless device An operating mode of the interface, the working mode including a time synchronization mechanism and/or a sleep mode of the second wireless interface of the first wireless device; the processor is further configured to determine a second wireless of the first wireless device After the working mode of the interface, configuring an operating mode of the second wireless interface of the first wireless device, and a second wireless interface, configured to work in the configured second wireless
  • the wake-up device provided by the present invention may be configured according to “the power saving requirement of the first wireless device, the wake-up capability information of the first wireless device, the number of the second wireless device, and the power saving of the second wireless device.
  • One or more of the demand, the wake-up capability information of the second wireless device determines an operating mode of the second wireless interface of the first wireless device.
  • the first wireless interface of the first wireless device is further configured to send, to the at least one second wireless device, a power saving requirement and/or a wake-up capability of the first wireless device. information.
  • the first wireless device sends the power saving requirement and/or wake-up capability information of the first wireless device to the second wireless device, and may help the second wireless device determine the second wireless of the second wireless device
  • the working mode of the interface may also help the second wireless device to determine an operating mode of the second wireless interface of the first wireless device.
  • the first wireless interface of the first wireless device is further configured to: after the processor determines an operating mode of the second wireless interface of the first wireless device, The at least one second wireless device transmits an operating mode of the second wireless interface of the first wireless device. Transmitting, by the first wireless device, an operation mode of the second wireless interface of the first wireless device to the second wireless device, which may help the second wireless device select a correct wake-up operation to wake up the first The first wireless interface of the wireless device.
  • the "correct wake-up operation" includes the time and number of times the second wireless device transmits a wake-up frame in an attempt to wake up the first wireless device.
  • the first wireless interface of the first wireless device is further configured to receive the operation mode before the processor configures an operation mode of the second wireless interface of the first wireless device a message sent by the at least one second wireless device, the message including an acknowledgement message of the second wireless device to an operating mode of the second wireless interface of the first wireless device, or a location determined by the second wireless device The operating mode of the second wireless interface of the first wireless device.
  • the working mode of the second wireless interface of the first wireless device determined by the first wireless device may be accepted by the second wireless device (as described above, the second wireless device may receive the first wireless device
  • the acknowledgment message of the working mode of the second wireless interface may or may not be accepted by the second wireless device, and the working mode of the second wireless interface of the first wireless device may be finalized by the second wireless device.
  • the first wireless interface of the first wireless device is further configured to receive, by the first wireless device, the first wireless device determined by the second wireless device After the working mode of the second wireless interface, the working mode confirmation message of the second wireless interface of the first wireless device is sent to the at least one second wireless device.
  • the first wireless device sends an acknowledgement message to the second wireless device, confirming acceptance of the first The operating mode of the second wireless interface of the first wireless device determined by the wireless device.
  • the processor is further configured to update an operation mode of the second wireless interface of the first wireless device when the wakeup requirement changes, wherein the wakeup requirement
  • the change includes: increasing or decreasing the number of second wireless devices connected by the first wireless device, or changing power saving requirements and/or wake-up capabilities of the second wireless device to which the first wireless device is connected.
  • the first wireless device dynamically updates an operation mode of the second wireless interface of the first wireless device according to a dynamic change of the wakeup requirement, for example, "synchronous wakeup" and "asynchronous wakeup" are mutually switched. Because of the dynamic update operation, the technical solution of the present invention can be applied to various application environments and meet the power saving requirements of different devices.
  • the second wireless device When there is only one second wireless device and the second wireless device only supports “asynchronous wake-up”, or only one second wireless device and the second wireless device has power saving requirements, or there are two or more second
  • the wireless device and the second wireless device do not belong to the same basic service set (BSS) or do not belong to the same network, and may determine that the working mode of the second wireless interface of the first wireless device is “asynchronous wake-up”; or When there is only one second wireless device and the second wireless device only supports “synchronous wake-up”, or only one second wireless device and the second wireless device does not have power saving requirements, or there are two or more
  • BSS basic service set
  • the first wireless interface is an 802.11 interface
  • the second wireless interface is an auxiliary wake-up interface
  • the primary communication module described herein can also be referred to by the first wireless interface, and the primary communication module is one of the first wireless interfaces; the auxiliary wake-up module described herein can also be the second wireless interface. Referring to, the auxiliary wake-up module is one of the second wireless interfaces.
  • FIG. 1 is a schematic diagram of a conventional wake-up method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a WUR period and a wake-up window length of a wake-up device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a wake-up device and multiple wake-up devices connected according to an embodiment of the present invention
  • FIG. 4 is an internal structural diagram of a wake-up device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a method for waking up a wireless device according to an embodiment of the present invention.
  • 5a is a schematic diagram of internal modules of a wake-up device and a wake-up device according to an embodiment of the present invention
  • FIG. 5b is a schematic diagram of a sending occasion of a wake-up frame according to an embodiment of the present invention.
  • FIG. 5c is a signal flow diagram of a wake-up wireless device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a method for waking up a wireless device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a first wireless device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a first wireless device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a method for waking up a wireless device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a second wireless device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a second wireless device according to an embodiment of the present invention.
  • the embodiment of the present application may be applied to a scenario in which the first wireless device wakes up the second wireless device based on the Wi-Fi-based Internet of Things, for example, may be applied to the first wireless device based on the wearable device composed of the wearable device and the wireless device. - A scenario in which the Fi network wakes up the second wireless device.
  • the embodiment of the present application can also be applied to other scenarios for waking up a wireless device, which is not limited in this application.
  • the first wireless device and the second wireless device may be powered by a small-capacity battery, or have ultra-low power consumption and long-term battery life requirements.
  • the system architecture of the embodiment of the present invention may include a first wireless device and a second wireless device, where the first wireless device may be a wake-up device, and may be a personal computer (PC), a mobile phone, a tablet (pad), The intelligent learning machine, the smart game machine, the smart TV, the smart glasses, the smart watch, and the like can be used to receive the indication information sent by the second wireless device and set the working mode of the auxiliary wake-up module according to the number and indication information of the second wireless device.
  • the second wireless device may be a wake-up device, and may specifically be a router, a hotspot mode mobile phone or other device or device that can be used for IoT communication, for transmitting indication information to the first wireless device.
  • both the first wireless device and the second wireless device may be both a wake-up device and a wake-up device.
  • the auxiliary wake-up module can also be referred to as a wake-up receiving module.
  • the mobile phone is associated with a smart watch, and both the mobile phone and the smart watch have an auxiliary wake-up module, when the mobile phone is to set its own working mode of the auxiliary wake-up module, the mobile phone is a wake-up device, and the smart watch is a wake-up device; When the smart watch wants to set its own working mode of the auxiliary wake-up module, the smart watch is the wake-up device, and the mobile phone is the wake-up device.
  • the first wireless device that is, the awake device 400, may include a first transceiver 401, a second receiver 402, and a processor. 403. Memory 404 and antenna sub-module 405.
  • the first transceiver 401 is configured to receive an instruction sent by another device by using a Long Term Evolution (LTE), Wi-Fi, or the like, or send the data of the first wireless device to another device;
  • the receiver 402 is configured to receive the wake-up frame sent by the wake-up device by using an ultra-low-power receiving technology, and send a wake-up signal to the first wireless interface after receiving the wake-up frame to wake up the first wireless interface of the wake-up device;
  • 403 is configured to control various parts of the wireless first wireless device and application software, etc.;
  • the memory 404 is configured to perform storage of the software program of the wireless first wireless device, Storage of data and operation of software, etc.;
  • the antenna sub-module can be used to receive a wake-up frame sent by the wake-up device using a wireless receiving technology, etc., and for the purpose of reducing equipment hardware cost and implementation simplicity, the first wireless interface 401 and the second wireless Interface 402 can share the same antenna sub-module 405.
  • the first wireless interface 401 and the second wireless interface 402 may also correspond to different antennas, especially when the two work in different frequency bands.
  • the wake-up device 400 can be implemented by a system on a chip (SoC) or a combination of one or more integrated circuits.
  • SoC system on a chip
  • the awake device may receive the indication information sent by the at least one waking device, and then the awake device may determine the working mode of the auxiliary awake module of the awake device according to the number of awake devices and/or indication information, and the working mode.
  • a time synchronization mechanism and/or a sleep mode may be included, and then the wake-up device notifies the wake-up device of the operating mode, so that the wake-up device can send the wake-up frame to the wake-up device of the wake-up device in the working mode, when assisted by the wake-up device
  • the wake-up module can wake up the main communication module of the device to be woken up, and then the main communication module of the wake-up device can communicate with the wake-up device.
  • the embodiment of the present application provides a method for waking up a wireless device, as shown in FIG. 5:
  • the wake-up device sends, by the main communication module of the wake-up device, the indication information of the wake-up device to the wake-up device, where the indication information includes at least one of a power-saving requirement and a wake-up capability information.
  • the wake-up device may receive a beacon frame or a public action frame sent by the wake-up device through the main communication module of the wake-up device during the association with the wake-up device or after the association, to obtain a wake-up device.
  • the main communication module may be a Bluetooth module or a Wi-Fi communication module, and may also be a cellular mobile communication module, etc., which is not limited in this embodiment.
  • both the wake-up device and the wake-up device may have an auxiliary wake-up module and a Bluetooth module, a Wi-Fi communication module, or a cellular mobile communication module, and when the wake-up device is associated with the wake-up device, The wake-up device can receive the beacon frame sent by the wake-up device or the probe response frame or the association response frame or the re-association response frame or the common action frame through the Bluetooth module, the Wi-Fi communication module, or the cellular mobile communication module, thereby obtaining the wake-up device.
  • Information on power saving needs and/or wake-up capabilities.
  • the awakened device may send a probe request frame to the wake-up device, and obtain a power-saving requirement and/or wake-up of the wake-up device by a probe response frame fed back by the device. Capability information.
  • the awakened device may send an association request frame to the wake-up device, and obtain the power-saving requirement and/or wake-up of the wake-up device by waking up the association response frame fed back by the device. Capability information.
  • the awakened device may send a Reassociation Request Frame to the wake-up device, and obtain a power-saving requirement of the wake-up device by using a Reassociation Response Frame fed back by the device. Or wake up the ability information.
  • the power-saving requirement of the wake-up device is used to characterize that the wake-up device needs to save power or does not need to save power, and can be indicated by the power-on information of the wake-up device. For example, if the power supply information is active power supply, the power-saving requirement of the wake-up device is that no power saving is required. If the power supply information is powered by the battery, the power saving requirement of the wake-up device is that power saving is required.
  • the power-saving requirement of the wake-up device can also be indicated by whether there is an auxiliary wake-up module on the wake-up device.
  • the power-saving requirement of the wake-up device needs to be saved; if there is no auxiliary wake-up module on the wake-up device, Then the power saving requirement of the wake-up device is that no power saving is required.
  • the power saving requirement of the wake-up device may also be indicated by the sleep information of the main communication module (for example, a Wi-Fi communication module), for example, if the main communication module needs to sleep, the device is woken up.
  • the power saving requirement is that power saving is required; if the main communication module does not need to sleep, the power saving requirement of the wake-up device is that power saving is not required. It can be understood by those skilled in the art that whether the main communication module of the wake-up device needs to sleep may be determined according to the cycle of the duty cycle and the wake-up time of the main communication module of the wake-up device.
  • the wakeup capability information of the wakeup device is used to indicate that the wakeup device supports synchronous wakeup and/or asynchronous wakeup.
  • the wake-up capability information of the wake-up device can also be used to indicate whether the working channel of the auxiliary wake-up module of the wake-up device is supported, whether to support sending a wake-up frame to the wake-up device, and the like.
  • the wake-up capability information of the wake-up device may further include information of the auxiliary wake-up module on the wake-up device, and function information (eg, processing capability) and work channel of the auxiliary wake-up module of the wake-up device.
  • the device that is woken up can also obtain the power saving requirement and/or wake-up capability information of the wake-up device by user configuration, such as manually inputting the configuration or scanning the two-dimensional code.
  • the power saving requirement and/or the wake-up capability information of the wake-up device can be transmitted by extending the Vendor Specific IE in the existing message, or by adding a new one to the existing message.
  • Information Element IE is used to implement.
  • the awakened device determines an operating mode of the auxiliary wake-up module of the wake-up device according to the number of wake-up devices and/or indication information.
  • the working mode includes a time synchronization mechanism and/or a sleep mode of the auxiliary wake-up module.
  • the wake-up device may be between at least two of the three parameters according to the number of wake-up devices, the power-saving requirement of the wake-up device, and the wake-up capability information of the wake-up device.
  • the priority relationship determines the time synchronization mechanism of the wake-up module of the wake-up device.
  • the priority information of the number of wake-up devices, the power-saving requirement of the wake-up device, and the wake-up capability information of the wake-up device may be that the priority of the wake-up capability information of the wake-up device is greater than the priority of the number of wake-up devices, and the wake-up device is The priority of the quantity is greater than the priority of the power saving demand.
  • the wake-up device acquires the number of wake-up devices, the power-saving requirement of the wake-up device, and the wake-up capability information of the wake-up device, or the wake-up device acquires the number of wake-up devices and the wake-up capability information of the wake-up device simultaneously, because The wake-up capability information of the wake-up device has the highest priority, so the wake-up device can determine the time synchronization mechanism of the wake-up device's auxiliary wake-up module according to the wake-up device's wake-up capability information.
  • the wake-up device sets the wake-up device of the wake-up device to maintain time synchronization with the wake-up device, that is, set the time synchronization mechanism of the auxiliary wake-up module of the wake-up device.
  • the wake-up device For the synchronous wake-up, the wake-up device periodically sends a time synchronization frame to the auxiliary wake-up module of the wake-up device, and the auxiliary wake-up module of the wake-up device periodically receives the time synchronization frame sent by the wake-up device; if the wake-up capability information of the wake-up device is Instructing the wake-up device to support only asynchronous wake-up, the wake-up device can set the wake-up device's auxiliary wake-up module not to maintain time synchronization with the wake-up device, ie, the wake-up device does not send the time synchronization frame or the wake-up device to the wake-up device's auxiliary wake-up module.
  • the time synchronization frame sent by the wake-up device is not received, that is, the time synchronization mechanism for setting the auxiliary wake-up module of the wake-up device is asynchronous wake-up.
  • the wake-up device acquires both the number of wake-up devices and the power-saving requirement of the wake-up device, and since the priority of the number of wake-up devices is higher than the priority of the power-saving requirements of the wake-up device, the wake-up device is configured according to the wake-up device.
  • the number of times to determine the time synchronization mechanism of the wake-up module of the wake-up device Specifically, if the number of awake devices is greater than or equal to 2 and belongs to a different basic service set, the auxiliary wake-up module that sets the awake device does not need to maintain time synchronization with the awake device.
  • the awake device may continue to set the time synchronization mechanism of the auxiliary wake-up module according to the power-saving requirement of the awake device, ie If it is determined that the power saving requirement indicates that the wake-up device needs to save power, the awakened device sets the auxiliary wake-up mode of the wake-up device. The block does not need to maintain time synchronization with the wake-up device; if it is determined that the power-saving requirement indicates that the wake-up device does not need to save power, the wake-up device sets the wake-up device's auxiliary wake-up module to keep time synchronization with the wake-up device.
  • the wake-up device is also determined according to the wake-up capability information of the wake-up device.
  • the time synchronization mechanism of the wake-up device of the wake-up device that is, if the wake-up capability information of the wake-up device indicates that the wake-up device supports synchronous wake-up, the wake-up device sets the wake-up device of the wake-up device to maintain time synchronization with the wake-up device, if wake-up
  • the device's wake-up capability information indicates that the wake-up device supports asynchronous wake-up, and the wake-up device can set the wake-up device's auxiliary wake-up module to not need to maintain time synchronization with the wake-up device.
  • the time synchronization mechanism of the auxiliary wake-up module is also determined according to the wake-up capability information.
  • the wake-up device may not need to set the wake-up device at this time.
  • the time synchronization mechanism of the auxiliary wake-up module similarly, if the wake-up device is currently time-synchronized with the wake-up device, and the wake-up device determines that the auxiliary wake-up module that needs to set the wake-up device does not need to be synchronized with the wake-up device, the wake-up device
  • the auxiliary wake-up module that sets the wake-up device does not need to be synchronized with the wake-up device; similarly, if the wake-up device does not maintain time synchronization with the wake-up device, and the wake-up device determines that it is not necessary to set the wake-up device's auxiliary wake-up module and wake-up If the device is kept in sync, the device that is woken up may not need to set the time synchronization mechanism of the auxiliary wake-up module of the wake-up device at this time; similarly, if the device being woken up does not maintain time synchronization with the wake-up device, and the device to be woken determines that the setting needs to be
  • the wake-up device sets the time synchronization mechanism of the auxiliary wake-up module of the wake-up device according to the wake-up capability information of the wake-up device, and the specific setting manner can be seen.
  • the sleep mode includes a cycle of the work cycle of the auxiliary wake-up module and a window length when waking up.
  • the awake device determines the number of waking devices, and the received indication information includes wake-up capability information of the awake device, or the indication information includes wake-up capability information and power-saving requirements of the awake device; or the awake device only determines wake-up
  • the wake-up capability information of the device is determined according to the foregoing priority relationship, and the wake-up device determines the sleep mode of the auxiliary wake-up module of the wake-up device according to the wake-up capability information of the wake-up device.
  • the wake window length of the work cycle of the auxiliary wake-up module of the wake-up device may be set for a long time, for example, the period of the work cycle may be 100 milliseconds, and the window length is woken up. 10 milliseconds, it is convenient for the wake-up device to wake up multiple wake-up devices;
  • the wake-up window length of the work cycle of the wake-up device's auxiliary wake-up module can be set for a short time, for example, a work cycle
  • the cycle can be 100 milliseconds, and the wakeup window is 2 milliseconds in length to save power for the device being woken up.
  • the wake-up device determines the sleep mode of the auxiliary wake-up module according to the number of wake-up devices.
  • the wake-up device can set the period T of the wake-up module of the wake-up device and the length W of the wake-up window to be 100 milliseconds and 2 milliseconds, respectively.
  • the wake-up window has a short length, which means that the wake-up device saves power; when the number of wake-up devices belonging to the same basic service set in the wake-up device is large, for example, 2, the period T of the auxiliary wake-up module of the wake-up device can be set.
  • the wake-up device determines that the period T of the auxiliary wake-up module and the length W of the wake-up window are respectively 100 milliseconds and 2 milliseconds, that is, the length of the wake-up window is short, which means that the device being awakened saves power; if the power-saving demand indication does not need to save power, the wake-up device determines that the period T of the auxiliary wake-up module and the length W of the wake-up window are respectively 100 milliseconds and 10 milliseconds, that is, the window length is longer.
  • the wake-up device may periodically wake up to the device to be woken up.
  • the auxiliary wake-up module sends an auxiliary wake-up module time synchronization frame, for example, a time synchronization frame is sent every 10 seconds to ensure that the wake-up device can accurately know the wake-up time point of the wake-up device of the wake-up device and the wake-up window on the time axis. position.
  • the wake-up device may send n wake-up frames to the wake-up device in the wake-up window of the wake-up device's auxiliary wake-up module.
  • n is greater than or equal to one.
  • the wake-up device can The auxiliary wake-up module is continuously sent n wake-up frames to the wake-up device, and it is expected that at least one wake-up frame is received by the auxiliary wake-up module of the wake-up device, where n is greater than or equal to 2.
  • the time interval between the n wake-up frames continuously sent by the wake-up device is less than the wake-up window length W.
  • the time interval between the adjacent two wake-up frames sent by the wake-up device is V, and is The window of the auxiliary wake-up module of the wake-up device wakes up to length W, and the period of the auxiliary wake-up module of the wake-up device is T.
  • n is greater than or equal to T/V. This is due to the delay and randomness caused by the contention channel, which causes the time interval between the wake-up devices to continuously transmit two wake-up frames to be random, that is, the parameter V is random.
  • the module receives to wake up the main communication module of the wake-up device.
  • the wake-up device sends an operation mode of the auxiliary wake-up module of the wake-up device to the wake-up device.
  • the awakened device may notify the connected wake-up device of the working mode of the auxiliary wake-up module during the association process or after the association.
  • the working mode of the auxiliary wake-up device that sends the wake-up device in the wake-up device may be sent to the wake-up device before the wake-up device is set, or may be sent to the wake-up device during the wake-up device setup process, or is awakened. After the device is set up, it is sent to the wake-up device. This application is not limited.
  • the awake device may send an auxiliary wakeup module to work mode by sending an association request frame, a reassociation request frame, or a public action frame to the wakeup device. Notify to wake up the device.
  • the waking device When the working mode set by the awake device is accepted by the awake device, the waking device sends an acknowledgment message to the awake device, and the awake device sends the awake frame to the awake device according to the working mode set by the awake device.
  • the awake device can obtain an acknowledgment message sent by the awake device by receiving an association response frame (Reassociation Response Frame) or a public action frame (Public Action Frame) sent by the awake device, if the awake device receives the acknowledgment message.
  • association Response Frame association Response Frame
  • Public Action Frame public action frame
  • the awake device may receive the awake frame sent by the awake device according to the confirmed working mode.
  • the sleep mode is period T and the wake-up window length W is 100 milliseconds and 2 milliseconds, respectively, and the wake-up device receives the wake-up device to send.
  • the consecutive n wake-up frames, wherein the interval V of consecutive n wake-up frames should not exceed 2 milliseconds, and n T/V.
  • the auxiliary wake-up module of the wake-up device receives the wake-up frame sent by the wake-up device according to the working mode to wake up the main communication module of the wake-up device.
  • the wake-up device of the wake-up device After the auxiliary wake-up module of the wake-up device receives the wake-up frame sent by the wake-up device, the wake-up device of the wake-up device sends a wake-up signal to the main communication module of the wake-up device.
  • the main communication module wakes up by the wake-up signal, the awake device can communicate with the awake device through the awake main communication module.
  • the wake-up device updates the working mode of the auxiliary wake-up module of the wake-up device to the wake-up device.
  • STA1 is a wake-up device
  • AP is a wake-up device
  • STA2 is a newly-added wake-up device.
  • the working mode of the auxiliary wake-up module of STA1 is: time synchronization.
  • STA1 receives the beacon frame or probe response frame or association response frame or re-association response frame or common action transmitted by STA2 carrying STA2's power-saving information and/or wake-up capability information.
  • the frame, or STA1 may send a probe request to STA2.
  • STA2 After receiving the probe request, STA2 sends a probe response carrying STA2's power-saving information and/or wake-up capability information to STA1, and STA1 wakes up according to the original wake-up device AP and the newly added wake-up.
  • Set the new working mode by the STA2's power saving demand and wakeup capability information and the total number of wakeup devices. If the newly set auxiliary wakeup module works in the following mode: the time synchronization mechanism is asynchronous wakeup, and the sleep mode is T 100 milliseconds.
  • STA1 sends power-saving demand and wake-up capability information to STA2 when it is associated with STA2 for the first time, STA1 does not have to resend the province of STA1.
  • the electrical demand and/or wake-up capability information is sent to STA2, and STA2 can set the working mode of STA2 according to the previously sent information.
  • the wake-up device may have multiple Wi-Fi communication modules that can work simultaneously, and operate in multiple frequency bands respectively.
  • the wake-up device can have two Wi-Fi communication modules that can work at the same time, working at 2.4 GHz and 5 GHz respectively, and the wake-up device and the wake-up device 1 can communicate using the 5 GHz Wi-Fi communication module, and the wake-up device 2 Communication is performed using a 2.4 GHz Wi-Fi communication module.
  • the auxiliary wake-up module of the wake-up device needs to maintain multiple clock information, and needs to periodically receive time synchronization frames from multiple wake-up devices, which significantly increases the complexity and power consumption of the wake-up device's auxiliary wake-up module, and reduces the wake-up device.
  • the battery life of the battery, and multiple wake-up devices separately send time synchronization frames will waste a lot of air interface time-frequency resources.
  • the asynchronous mode does not need to maintain clock information and receive time synchronization frames of the wake-up device, which can save the problem of extra power consumption and communication overhead caused by the wake-up device and the wake-up device maintaining time synchronization.
  • the embodiment of the present application provides a method for waking up a wireless device, as shown in FIG. 6 :
  • the wake-up device sends, by the main communication module of the wake-up device, the indication information of the wake-up device to the wake-up device, where the indication information includes at least one of a power-saving requirement and a wake-up capability information.
  • step 601 For the implementation of step 601, refer to step 501.
  • the awakened device determines an operating mode of the auxiliary wake-up module of the wake-up device according to the number of wake-up devices and/or indication information.
  • the specific setting process can refer to step 502.
  • the wake-up device sends an operation mode of the auxiliary wake-up module of the wake-up device to the wake-up device.
  • the awake device receives an operating mode of the auxiliary waking module of the awake device set by the waking device.
  • the wake-up device does not accept the operating mode set by the wake-up device because the power-saving requirement and/or wake-up capability information of the wake-up device is temporarily changed, and the power-saving requirement and/or wake-up sent to the wake-up device The capability information is different, and the working mode of the auxiliary wake-up module of the wake-up device that is set by the wake-up device is not accepted by the wake-up device.
  • the wake-up device may set the auxiliary wake-up module of the wake-up device according to the power-saving requirement and/or wake-up capability information of the wake-up device itself.
  • Working mode if the waking device is also associated with other awake devices, for example, the waking device is also associated with the awake device 2 and the awake device 3, the awake device can set the awake device 1 according to the number of associated awake devices.
  • the working mode of the auxiliary wake-up module if the waking device is also associated with other awake devices, for example, the waking device is also associated with the awake device 2 and the awake device 3, the awake device can set the awake device 1 according to the number of associated awake devices. The working mode of the auxiliary wake-up module.
  • the wake-up device itself has no ability to set the working mode of its auxiliary wake-up module, so the operating mode of the auxiliary wake-up module of the wake-up device can be set by the wake-up device.
  • the device that is woken up accepts the working mode of the wake-up device set by the wake-up device, sends a confirmation message to the wake-up device.
  • the wake-up device may also reset the working mode of the auxiliary wake-up module of the wake-up device.
  • the auxiliary wake-up module of the wake-up device receives the wake-up frame sent by the wake-up device according to the working mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, to wake up the main communication module of the wake-up device.
  • the wake-up device When the wake-up device accepts the working mode of the auxiliary wake-up module of the wake-up device set by the wake-up device, the wake-up device receives the wake-up frame transmitted by the wake-up device according to the working mode.
  • the wake-up device may be configured to assist the wake-up device.
  • the working mode of the wake-up module, the working mode includes a time synchronization mechanism and/or a sleep mode, and the time synchronization mechanism may be a synchronous wake-up or an asynchronous wake-up.
  • the solution provided by the embodiment of the present invention is mainly introduced from the perspective of the first wireless device, that is, the device that is awakened.
  • the first wireless device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the algorithm steps described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiment of the present invention may divide the function module by using the first wireless device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 7 is a schematic diagram showing a possible structure of the first wireless device 7 involved in the foregoing embodiment, where the first wireless device includes: a main communication module 701, which is processed. Module 702 and auxiliary wake-up module 703.
  • the main communication module 701 is configured to support the first wireless device to perform the processes 501, 503, 504, and 505 in FIG. 5, the processes 601, 603, 604, and 605 in FIG. 6;
  • the processing module 702 is configured to support the first wireless device to execute the map. Processes 502 and 506 in Figure 5, processes 602 and 607 in Figure 6;
  • the auxiliary wake-up module 703 is configured to support the first wireless device to perform the process 606 of Figure 6. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • the first wireless device in the embodiment of the present invention may be the first wireless device shown in FIG. .
  • the first wireless device 8 includes a first transceiver 801, a processor 802, a second transceiver 803, a memory 804, and a bus 804.
  • the first transceiver 801, the processor 802, the second transceiver 803, and the memory 804 are connected to each other through a bus 805.
  • the bus 805 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure ( Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the embodiment of the invention further provides a method for waking up a wireless device, as shown in FIG. 9, comprising:
  • the wake-up device determines an operating mode of the auxiliary wake-up module of the wake-up device, where the working mode includes a time synchronization mechanism and/or a sleep mode of the auxiliary wake-up module of the wake-up device.
  • the wake-up device may have one or more of three parameters according to its own wake-up capability, power-saving requirement, and number of associated wake-up devices.
  • the priority of the parameter determines the time synchronization mechanism of the wake-up module of the wake-up device. Among them, the priority of the wake-up capability is higher than the power-saving requirement, and the priority of the power-saving demand is higher than the number of devices that are awakened.
  • the wake-up device can determine that the time synchronization mechanism of the wake-up device's auxiliary wake-up module is an asynchronous mechanism (also known as asynchronous wake-up, or asynchronous mode). Under the asynchronous mechanism, the auxiliary wake-up module of the wake-up device and the wake-up device does not need to maintain time synchronization, the wake-up device does not send the time synchronization frame to the auxiliary wake-up module of the wake-up device, or the wake-up device of the wake-up device does not receive the wake-up device. Time synchronization frame;
  • the wake-up device can determine the time synchronization mechanism of the wake-up device's auxiliary wake-up module as a synchronization mechanism. Under the synchronization mechanism, the wake-up device keeps time synchronization with the auxiliary wake-up module of the wake-up device, and the wake-up device periodically sends a time synchronization frame to the auxiliary wake-up module of the wake-up device, and the auxiliary wake-up module of the wake-up device periodically receives the wake-up device to send. Time synchronization frame;
  • the wake-up device can determine that the time synchronization mechanism of the wake-up device of the wake-up device is an asynchronous mechanism, and the wake-up device does not
  • the auxiliary wake-up module of the wake-up device sends a time synchronization frame to wake up the device to save power;
  • the wake-up device may determine that the time synchronization mechanism of the wake-up device's auxiliary wake-up module is Synchronization mechanism, wake-up device and time-synchronization of the wake-up device of the wake-up device to simplify the wake-up operation
  • the wake-up device can determine the time of the wake-up device's auxiliary wake-up module.
  • the synchronization mechanism is an asynchronous mechanism, and the wake-up device does not send a time synchronization frame to the auxiliary wake-up module of the wake-up device, so as to wake up the device to save power;
  • the wake-up device may determine that the time synchronization mechanism of the wake-up device's auxiliary wake-up module is synchronous.
  • the wake-up device is time synchronized with the wake-up module of the wake-up device to simplify the wake-up operation.
  • the wake-up device may determine the auxiliary wake-up of the wake-up device according to one or more of the time synchronization mechanism, the number of its associated wake-up devices, and the application scenario.
  • the sleep mode of the auxiliary wake-up module includes a cycle of the work cycle of the auxiliary wake-up module and a length or a proportion of the wake-up window; or, the sleep mode of the auxiliary wake-up module includes a cycle of the work cycle of the auxiliary wake-up module and a length or a sleep time Proportion.
  • the wake window length of the work cycle of the wake-up device of the wake-up device can be set for a long time, for example, the cycle of the work cycle can be 100 milliseconds, wake up The window length is 10 milliseconds, so that the wake-up device can wake up multiple wake-up devices;
  • the wake window length of the work cycle of the wake-up device of the wake-up device can be set to a short time, for example, the cycle of the work cycle can be 100 milliseconds, and the length of the wake-up window is 2 Milliseconds, thinking that the device being woken up saves power;
  • the wake-up window length of the work cycle of the wake-up device's auxiliary wake-up module can be set for a long time, for example, the duty cycle can be 100 milliseconds, wake up The window length is 10 milliseconds, so that the wake-up device can wake up multiple wake-up devices;
  • the wake-up window length of the work cycle of the wake-up device's auxiliary wake-up module can be set for a short time, for example The cycle of the work cycle can be 100 milliseconds, and the length of the wakeup window is 2 milliseconds, in order to save power for the device being woken up;
  • the cycle of the work cycle of the wake-up device of the wake-up device may be set to be relatively small, for example, 20 milliseconds;
  • the cycle of the work cycle of the wake-up device's auxiliary wake-up module can be set to be long, for example, 100 milliseconds, so that the auxiliary wake-up module of the device is woken up. Power saving.
  • the wake-up device sends, by the main communication module of the wake-up device, the working mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device to the wake-up module.
  • the wake-up device may determine the wake-up device by using a Beacon Frame or a Probe Response or an Association Response or a Reassociation Response or a Public Action Frame.
  • the working mode of the auxiliary wake-up module of the wake-up device is sent to the wake-up device.
  • the working mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device may be loaded as a new Information Element (IE) in the beacon frame or probe response frame or associated response frame or re-association response frame.
  • IE Information Element
  • the wake-up device receives, by its main communication module, an operation mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, and determines an operation mode of the auxiliary wake-up module of the wake-up device according to at least the received working mode.
  • the wake-up device After the wake-up device receives the working mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, the wake-up device needs to further determine the working mode of its auxiliary wake-up module, and configure its auxiliary wake-up module according to its determined working mode.
  • the wake-up device accepts the operating mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, for example, the wake-up device can support the working mode, the wake-up device will determine that the working mode of its auxiliary wake-up module is the received wake-up device The working mode of the auxiliary wake-up module of the determined wake-up device is determined, and its auxiliary wake-up module is configured according to the working mode.
  • the wake-up device does not accept the operating mode of the wake-up module of the wake-up device determined by the wake-up device, for example, the wake-up device cannot support the mode of operation, the wake-up device needs to re-determine the mode of operation of its auxiliary wake-up module.
  • the wake-up device may determine an operating mode of the auxiliary wake-up module of the wake-up device according to one or more of the number of wake-up devices associated with it, the wake-up capability information of the wake-up device, and the power-saving requirement of the wake-up device, and the working mode includes The time synchronization mechanism and/or sleep mode of the auxiliary wake-up module.
  • the awakened device sends a feedback message to the wake-up device.
  • the wake-up device After the wake-up device determines the operating mode of its auxiliary wake-up module, the wake-up device sends a feedback message to the wake-up device:
  • the feedback message may indicate that the wake-up device accepts the working mode of the auxiliary wake-up module of the wake-up device confirmed by the wake-up device; or
  • the feedback message may indicate that the wake-up device does not accept the operating mode of the wake-up device's auxiliary wake-up module, and the feedback message may include the operating mode of the wake-up device's auxiliary wake-up module as determined by the wake-up device.
  • the feedback message may be a Public Action Frame, or the content of the feedback message may also be carried as a new Information Element (IE) in the probe request frame or the associated request frame or the re-association request frame.
  • IE Information Element
  • the wake-up device receives, by its main communication module, a feedback message sent by the wake-up device.
  • the feedback message may indicate that the wake-up device accepts the working mode of the auxiliary wake-up module of the wake-up device that wakes up the device confirmation;
  • the feedback information may indicate that the wake-up device does not accept the working mode of the auxiliary wake-up module of the wake-up device confirmed by the wake-up device, and the feedback information may include an operation mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, and the wake-up device may accept the Wake up the working mode of the auxiliary wake-up module of the wake-up device determined by the device, and wake up The working mode of the auxiliary wake-up module of the device that is determined by the device as the wake-up device confirms the working mode of the auxiliary wake-up module of the wake-up device.
  • the wake-up device sends a wake-up frame to the wake-up device according to the determined working mode of the auxiliary wake-up module of the wake-up device to wake up the main communication module of the wake-up device.
  • the wake-up device may send a wake-up frame to the wake-up module of the wake-up device in the wake-up window of the wake-up device of the wake-up device to wake up The main communication module of the device being woken up.
  • the wake-up device After the wake-up device determines that the time synchronization mechanism of the auxiliary wake-up module of the wake-up device is an asynchronous mechanism, the wake-up device does not know the wake-up window of the auxiliary wake-up module of the wake-up device.
  • the wake-up device needs to send multiple wake-up frames, and it is expected that at least one of the wake-up frames will be received by the wake-up device of the wake-up device to wake up the main communication module of the wake-up module.
  • the wake-up device actively determines the working mode of the auxiliary wake-up module of the wake-up device, and notifies the wake-up device of the working mode of the auxiliary wake-up module of the wake-up device determined by the wake-up device, If the wake-up device accepts the working mode determined by the wake-up device, setting an operating mode of the auxiliary wake-up module, so that the auxiliary wake-up module receives the wake-up frame sent by the wake-up device according to the working mode to wake up the main communication module of the wake-up device; If the wake-up device does not accept the working mode determined by the wake-up device, the wake-up device can set the working mode of the auxiliary wake-up module by itself, and notify the wake-up device of the working mode set by itself, so that the wake-up device wakes up according to the working mode.
  • the auxiliary wake-up device of the device sends a wake-up frame to wake up the main communication module of the wake-up device, so that when the working mode of the auxiliary wake-up module is asynchronous wake-up, the auxiliary wake-up module does not need to maintain clock information and receive time from the wake-up device. Synchronize frames to save wake-up devices And the problem of extra power consumption and communication overhead of the device being woken up.
  • the solution provided by the embodiment of the present invention is mainly introduced from the perspective of the second wireless device, that is, the wake-up device.
  • the second wireless device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the algorithm steps described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiment of the present invention may perform the division of the function module on the second wireless device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 10 is a schematic diagram showing a possible structure of a second wireless device involved in the foregoing embodiment, where the second wireless device includes: a main communication module 1001, and a processing module. 1002 and an auxiliary wake-up module 1003.
  • the main communication module 1001 is configured to support the second wireless device to perform the processes 902, 905, 906 in FIG. 9;
  • the processing module 1002 is configured to support the second wireless device to perform the process 901 in FIG. 9, and the auxiliary wake-up module 1003 is used in the The steps involved in performing the auxiliary wake-up module in the above-mentioned wake-up device when the wireless device is the wake-up device. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • the processing module 1002 is a processor
  • the auxiliary wake-up module 1003 is In the case of the four transceivers, the second wireless device according to the embodiment of the present invention may be the second wireless device shown in FIG.
  • the second wireless device includes a third transceiver 1101, a processor 1102, a fourth transceiver 1103, a memory 1104, and a bus 1104.
  • the third transceiver 1101, the processor 1102, the second transceiver 1103, and the memory 1104 are connected to each other through a bus 1105; the bus 1105 may be a peripheral component interconnect standard bus or an extended industry standard structure bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 11, but it does not mean that there is only one bus or one type of bus.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
  • the awakened device obtains power saving requirements and/or wakeup capability information of the wakeup device in the associated project or after association.
  • the wake-up device sends the power-saving demand and/or wake-up capability information of the wake-up device to the wake-up device in the association project or after the association.
  • the wake-up device according to one of "the power-saving requirement of the device to be awakened, the wake-up capability information of the wake-up device, the number of connected wake-up devices, the power-saving requirement of the connected wake-up device, and the wake-up capability information of the connected wake-up device" Or several working modes of determining the WUR of the awakened device, including a time synchronization mechanism of the WUR and a sleep mode of the WUR.
  • the wake-up device sends the working mode of the WUR of the wake-up device to the connected wake-up device during the association process or after the association.
  • the wake-up device needs to know the power-saving requirement and/or wake-up capability information of the wake-up device, and the power-saving requirement may include whether the main communication module (eg, Wi-Fi communication module) of the wake-up device needs to enter a sleep state and Wake up the device with WUR.
  • the wakeup capability information may include a time synchronization mechanism of the WUR that the wakeup device can support, for example, the wakeup device supports "synchronous wakeup" and "asynchronous wakeup", or one of the two, and the wakeup WUR information for the device.
  • the wake-up device may obtain power-saving requirements and/or wake-up capability information of the wake-up device in the associated project or after association, and negotiate the working mode of the WUR of the wake-up device with the wake-up device.
  • the wake-up device needs to count the number of connected wake-up devices. For example, it may include only wake-up devices that will communicate with the awakened device in the future, and does not include wake-up devices that have been associated but have been associated or no longer have A wake-up device for data communication.
  • the device to be woken up is based on the "power saving requirement of the device to be awakened, the wake-up capability information of the device to be woken up, the number of connected wake-up devices, the power-saving requirement of the connected wake-up device, and the wake-up capability information of the connected wake-up device".
  • the device that is woken up needs to inform the connected wake-up device of its WUR working mode.
  • the awakened device may inform the connected wake-up device of the working mode of the WUR of the wake-up device during the association process or after the association.
  • a method of waking up a wireless device comprising:
  • the wake-up device obtains power-saving requirements and/or wake-up capability information of the wake-up device
  • the wake-up device according to one of "the power-saving requirement of the device to be awakened, the wake-up capability information of the wake-up device, the number of connected wake-up devices, the power-saving requirement of the connected wake-up device, and the wake-up capability information of the connected wake-up device" Or determining a working mode of determining a WUR of the awakened device;
  • the wake-up device sends the working mode of the WUR of the wake-up device to the connected wake-up device;
  • the wake-up device When it is required to send a message to the awakened device through the main communication module (for example, a Wi-Fi communication module), the wake-up device sends a wake-up frame to the WUR of the wake-up device according to the working mode of the WUR of the wake-up device to wake up The main communication module of the wake-up device.
  • the main communication module for example, a Wi-Fi communication module
  • the wake-up device obtains the power-saving requirement and/or wake-up capability information of the wake-up device during the association process or after the association, and performs the wake-up device with the wake-up device.
  • negotiation of the WUR working mode The wake-up device sets the operating mode of the WUR of the awakened device according to the number of connected wake-up devices and/or the power-saving requirements and/or wake-up capability information of the wake-up device.
  • the wake-up device sends the working mode of the WUR of the wake-up device to the wake-up device during or after the association.
  • the time synchronization mechanism of the two WURs is considered, that is, the time synchronization mechanism of the auxiliary wake-up module is: "synchronous wake-up” and "asynchronous wake-up”.
  • the WUR of the wake-up device needs to keep time synchronization with the wake-up device, and the wake-up device can accurately know the wake-up time point of the WUR of the wake-up device and the position of the wake-up window on the time axis.
  • "Synchronous wake-up” requires that the wake-up device periodically send a WUR time synchronization frame to the WUR of the wake-up device to ensure that the WUR of the wake-up device is synchronized with the wake-up device.
  • the wake-up device can send n wake-up frames to the WUR of the wake-up device in the wake-up window of the WUR of the wake-up device. Where n is greater than or equal to 1.
  • the WUR of the wake-up device does not need to be time-synchronized with the wake-up device, and thus the wake-up device does not need to send a WUR time synchronization frame to the WUR of the wake-up device.
  • the wake-up device does not know the wake-up time of the WUR of the wake-up device and the position of the wake-up window on the timeline. If the wake-up device needs to wake up the main communication module of the wake-up device, the wake-up device can send n wake-up frames to the WUR of the wake-up device, expecting at least one wake-up frame to be received by the WUR of the wake-up device. Where n is greater than or equal to 2.
  • a possible process of negotiating the working mode of the WUR of the awakened device by the awake device and the awake device is as shown in FIG. 5.
  • the message 102 and the message 103 are a pair of messages, and the message 102 and the message 103 do not exist simultaneously with the message 101.
  • the message 101 and the pair of messages are two optional cases, and one of them may be selected.
  • the wake-up device (for example, the STA) can obtain a wake-up device (for example, an AP by receiving a Beacon Frame or a Probe Response Frame or a Public Action Frame sent by the wake-up device.
  • a wake-up device for example, an AP by receiving a Beacon Frame or a Probe Response Frame or a Public Action Frame sent by the wake-up device.
  • Information on power saving needs and/or wake-up capabilities may be obtained.
  • the probed device may send a Probe Request Frame before obtaining the power saving requirement and/or capability wakeup information of the wakeup device.
  • the “power saving demand and/or wake-up capability information” may include:
  • the power saving requirement of the wake-up device may include power supply information of the wake-up device, for example, whether it is active power supply or Powered by the battery, and sleep information of the main communication module (eg, Wi-Fi communication module), for example, whether the main communication module needs to sleep and the sleep mode of the main communication module (including the cycle and wake up of the Duty-Cycling of the main communication module) length of time).
  • power supply information of the wake-up device for example, whether it is active power supply or Powered by the battery
  • sleep information of the main communication module eg, Wi-Fi communication module
  • the wake-up capability information of the wake-up device may include support information of the wake-up device for the WUR of the wake-up device, including whether to support the WUR of the wake-up device (for example, whether the working channel of the WUR is supported, whether Support for sending wake-up frames), and the WUR time synchronization mechanism of the wake-up device supported by the wake-up device (supporting synchronous wake-up, or supporting asynchronous wake-up, or supporting synchronous wake-up and asynchronous wake-up).
  • the wake-up capability information of the wake-up device may further include information of the WUR on the wake-up device, including whether there is a WUR on the wake-up device, and function information (eg, processing capability) and work of the WUR of the wake-up device Channel.
  • function information eg, processing capability
  • the awakened device may send a request through a Probe Request Frame or an Association Request Frame or a Reassociation Request Frame or a Public Action Frame.
  • the power-saving demand and/or wake-up capability information of the wake-up device is reported to the wake-up device (eg, an AP).
  • the wake-up device e.g., STA
  • the wake-up device e.g., AP
  • the transmission of the power saving requirement and/or wake-up capability information described above may be implemented by extending the Vendor Specific IE (manufacturer related information element) in the existing message, or by adding a new message element (IE) to the existing message.
  • the existing message may be any of the messages used in Step 1 above.
  • the wake-up device (for example, STA) may be based on “the power-saving requirement of the wake-up device, the wake-up capability information of the wake-up device, the number of connected wake-up devices, the power-saving requirement of the connected wake-up device, and the connected
  • One or more of the wake-up capability information of the wake-up device determines a working mode of the WUR of the wake-up device, including a time synchronization mechanism and/or a sleep mode of the WUR.
  • the “setting the working mode of the WUR” may include:
  • the "synchronous wake-up” mechanism requires that the WUR of the awake device keeps time synchronization with the awake device, and then the WUR of the awake device periodically receives the time synchronization frame sent by the awake device, for example, The WUR time synchronization frame is received every 10 seconds.
  • the "asynchronous wake-up” mechanism does not require the WUR of the wake-up device to maintain time synchronization with the wake-up device.
  • the “setting the working mode of the WUR” may further include:
  • Step 3 The wake-up device (for example, the STA) may send the WUR of the wake-up device by using an Association Request Frame or a Reassociation Request Frame or a Public Action Frame.
  • the mode is given to the wake-up device (eg, an AP).
  • the "WUR working mode" may include:
  • the time synchronization mechanism of the WUR for example, "synchronous wake-up", that is, requesting the WUR of the awakened device and the call Wake up the device to keep the time synchronized.
  • the "WUR working mode” may further include:
  • the sleep mode of the WUR may include a cycle T of the WUR duty cycle (Duty-Cycling) and a wake window length W of the WUR; or a cycle T and a WUR of the WUR duty cycle (Duty-Cycling) The wake-up time ratio ⁇ ; or the period T of the duty cycle of the WUR (Duty-Cycling) and the sleep time ratio ⁇ of the WUR.
  • the wake-up device can obtain the working mode of the WUR of the wake-up device by receiving an association response frame (Responsive Response Frame) or a Reassociation Response Frame or a Public Action Frame sent by the wake-up device.
  • An association response frame Response Frame
  • a Reassociation Response Frame or a Public Action Frame sent by the wake-up device.
  • the transmission of the working mode of the auxiliary wake-up module (WUR) described above may be implemented by extending a Vendor Specific IE (manufacturer related information element) in an existing message, or may be implemented by adding a new message element (IE).
  • the existing message may be any of the messages used in Step 3 above.
  • Step 4 The wake-up device (for example, STA) configures the working mode of the WUR of the wake-up device.
  • STA the wake-up device
  • the wake-up device After the wake-up device (eg, STA) receives the wake-up frame sent by the wake-up device through the WUR of the wake-up device, the wake-up device wakes up the main communication module of the wake-up device (eg, a Wi-Fi communication module ) to transmit a message with the wake-up device.
  • the main communication module of the wake-up device eg, a Wi-Fi communication module
  • the physical components involved in the wake-up device may mainly include: a main communication module (for example, an 802.11 communication module, a cellular mobile communication module, etc.), an auxiliary wake-up module (WUR), and a WUR working mode setting module. .
  • a main communication module for example, an 802.11 communication module, a cellular mobile communication module, etc.
  • WUR auxiliary wake-up module
  • the connection relationship of the modules is as shown in FIG. 6.
  • the primary communication module provides a first wireless interface of the awake device
  • the secondary awake module provides a second wireless interface of the awake device.
  • the WUR working mode setting module may be a logical function module implemented by software, and the main functions thereof may include setting according to the number of connected wake-up devices and/or the power-saving requirement and/or wake-up capability information of the wake-up device.
  • the working mode of the WUR (the function of the WUR working mode setting module can be implemented by a processor).
  • the main functions of the WUR module may include receiving a wake-up frame from the wake-up device and transmitting a wake-up signal to the main communication module.
  • the primary function of the primary communication module can include communicating with a primary communication module of the wake-up device and transmitting a wake-up frame.
  • FIG. 11 is another schematic structural diagram of a wake-up device according to an embodiment of the present invention.
  • the possible workflow of the WUR working mode setting module inside the awakened device is as shown in FIG.
  • the WUR mode of operation setting module considers only the number of associated wake-up devices and the power-saving requirements and wake-up capability information of the wake-up device.
  • the possible workflow of the WUR working mode setting module inside the wireless device is as follows:
  • the WUR working mode setting module of the wakeup device When it is determined that the wakeup request changes, for example, if there is a new wakeup device requesting association, the WUR working mode setting module of the wakeup device is triggered to enter the working state.
  • the WUR working mode setting module may set the working mode of the WUR of the device to be awake according to the number of the awake devices and the power saving requirements and the awake capability information of the awake device, and may include:
  • the WUR of the wake-up device does not need to be time synchronized with the wake-up device.
  • asynchronous wake-up can be used.
  • the WUR of the wake-up device does not need to be time synchronized with the wake-up device.
  • asynchronous wake-up may be adopted.
  • the WUR of the wake-up device does not need to be time synchronized with the wake-up device.
  • the WUR of the awake device periodically receives the time synchronization frame sent by the awake device to ensure that the WUR of the awake device keeps time synchronization with the awake device, for example, receiving a time synchronization frame every 10 seconds.
  • the WUR of the awake device periodically receives the time synchronization frame sent by the awake device to ensure that the WUR of the awake device keeps time synchronization with the awake device, for example, receiving a time synchronization frame every 10 seconds.
  • the wake-up devices may be connected, and the wake-up devices belong to the same basic service set (BSS), "synchronous wake-up" may be employed.
  • the WUR of the awake device periodically receives the time synchronization frame sent by the awake device to ensure that the WUR of the awake device keeps time synchronization with the awake device, for example, receiving a time synchronization frame every 10 seconds.
  • the wake-up device After determining that the wake-up requirement has changed, the wake-up device changes the power-saving requirement of the wake-up device, the wake-up capability information of the wake-up device, the number of connected wake-up devices, and the power-saving requirement of the connected wake-up device.
  • One or more of the wake-up capability information of the connected wake-up device updates the working mode of the WUR of the wake-up device.
  • the wake-up device needs to send a new working mode of the WUR of the wake-up device to the newly connected wake-up device. If the operating mode of the WUR changes, the awake device needs to send a new working mode of the WUR of the awake device to the connected awake device.
  • the wake-up device In the "synchronous wake-up" mode, the wake-up device is synchronized with the WUR of the wake-up device, so the wake-up device can accurately know the wake-up time point (Target Wake Time, TWT) and the wake-up window of the WUR of the wake-up device ( Wake window) The position on the timeline.
  • the wake-up device may select to send a wake-up frame to the WUR of the wake-up device in the wake-up window of the WUR to wake up the main communication module (eg, Wi-Fi communication module) of the wake-up device, as shown in FIG. 2 shows the example.
  • the main communication module eg, Wi-Fi communication module
  • the wake-up device does not know the location of the wake-up time point (Target Wake Time, TWT) and wake-up window (Wake window) of the wake-up device on the time axis.
  • the wake-up device can send n wake-up frames starting from a random time point in a wake-up attempt, as shown in Figure 8. Where n is greater than or equal to T/V, and V is the time interval between transmission of two adjacent wake-up frames. Considering the delay and randomness caused by the contention channel, the time interval between consecutively transmitting the two wake-up frames by the wake-up device is random, that is, the parameter V is random.
  • the wake-up device needs to ensure V ⁇ W, in order to expect that at least one wake-up frame will fall within the awake window of the WUR of the awake device in the sent n awake frames, and the wake-up The frame can be received by the WUR to wake up the
  • the main communication module of the awakened device for example, a Wi-Fi communication module.
  • the working mode of the WUR of the wake-up device may be set by the wake-up device.
  • the "WUR mode of operation" includes a time synchronization mechanism and/or a sleep mode of the WUR.
  • the wake-up device sends the power-saving requirement and/or wake-up capability information of the wake-up device to the wake-up device during the association process or after the association, and the wake-up device is in the process of association or
  • the power saving requirements and/or wake-up capability information of the wake-up device is obtained after the association.
  • the wake-up device may not set the working mode of its WUR, or the working mode of the WUR selected or set by the wake-up device may not be accepted by the wake-up device, and the working mode of the WUR of the wake-up device may be Wake up device settings.
  • a wake-up device eg, a STA
  • a wake-up device eg, an AP
  • message 202 and message 203 are a pair of messages, and message 202 and message 203 do not coexist with message 201.
  • message 201 there is no message 202 and message 203; when there is message 202 and message 203, there is no message 201.
  • Step 1 In the second embodiment, the possible process of obtaining the power saving requirement and/or the wakeup capability information of the awake device (for example, the AP) by the awake device (for example, the STA) may be the same as the description in Step 1 in the first embodiment. the same.
  • the possible process for the wake-up device (eg, STA) to send the power-saving demand and/or wake-up capability information of the wake-up device to the wake-up device (eg, AP) is the same as the description in Step 1 in Embodiment 1.
  • Step 2 In the second embodiment, the wake-up device (for example, the STA) selects or sets the WUR of the wake-up device according to the number of connected wake-up devices and/or the power-saving requirement and/or wake-up capability information of the wake-up device.
  • the possible process of the working mode can be the same as the description in Step 2 in the first embodiment.
  • Step 3 In the second embodiment, a possible process for the wake-up device (for example, STA) to send the WUR working mode of the awakened device to the connected wake-up device (for example, an AP) may be the same as Step 3 in the first embodiment.
  • the instructions are the same.
  • the wake-up device may not be sure of the working mode of the WUR, or the working mode of the WUR determined or selected by the wake-up device may not be the wake-up device. It is accepted that the working mode of the WUR of the wake-up device may be determined or re-determined by the wake-up device.
  • the device that wakes up may obtain the working mode of the WUR of the device to be awakened determined by the wake-up device by receiving a Probe Response frame or an Association Response frame or a Reassociation Response frame or a Public Action frame sent by the wake-up device.
  • the awakened device may send, by using a Public Action frame, acknowledgement information of the working mode of the WUR of the wake-up device to the wake-up device.
  • the transmission of the working mode of the auxiliary wake-up module (WUR) described above can be implemented by extending the Vendor Specific IE in the existing message, or by adding a new message element (IE).
  • Step 4 The wake-up device (for example, STA) configures the working mode of the WUR of the wake-up device.
  • STA the wake-up device
  • the wake-up device (STA-1) has established a connection with the first wake-up device (AP) and may have multiple communications.
  • the wake-up device (STA-1) now acts as a virtual access point (SoftAP) and there may be a second wake-up device (STA-2) that needs to associate and communicate with the wake-up device (STA-1).
  • SoftAP virtual access point
  • the second wake-up device (STA-2) has a WUR, and the second wake-up device has a power-saving requirement, so the second wake-up device can also become a wake-up device.
  • the wake-up device (STA-1) is already associated STA.
  • the wake-up device (STA-1) is a virtual access point (SoftAP).
  • SoftAP virtual access point
  • the wake-up device (STA-1) may have two Wi-Fi communication modules that can work simultaneously, operating in two frequency bands, 2.4 GHz and 5 GHz, respectively.
  • the wake-up device (STA-1) and the first wake-up device (AP) may communicate using a 5 GHz Wi-Fi communication module, and the wake-up device (STA-1) and the second wake-up device ( STA-2) may communicate using a 2.4 GHz Wi-Fi communication module.
  • the wake-up device updates the possible flow of its WUR mode of operation.
  • message 302 and message 303 are a pair of messages, and message 302 and message 303 do not coexist with message 301.
  • message 302 and message 303 do not coexist with message 301.
  • message 302 and message 303 do not coexist with message 301.
  • the possible process of setting the WUR mode of operation by the wake-up device may be the same as that described in Step 1, Step 2, Step 3, and Step 4 in Embodiment 1.
  • the awakened device can pass a Beacon Frame or a Probe Response Frame or an Association Response Frame or a Reassociation Response Frame or a Public Action Frame (Public Action). Frame) sends the power-saving demand and/or wake-up capability information of the wake-up device to the wake-up device (STA-2).
  • SoftAP can pass a Beacon Frame or a Probe Response Frame or an Association Response Frame or a Reassociation Response Frame or a Public Action Frame (Public Action).
  • Frame sends the power-saving demand and/or wake-up capability information of the wake-up device to the wake-up device (STA-2).
  • the wake-up device changes according to the wake-up requirement, for example, the wake-up device is incremented, and the WUR operating mode of the wake-up device is updated.
  • the “update the working mode of the WUR of the awakened device” may include:
  • the time synchronization mechanism of the WUR of the wake-up device is updated, for example, from “synchronous wake-up” to "asynchronous wake-up".
  • the “update the working mode of the WUR of the awakened device” may further include:
  • Updating the working mode of the WUR of the wake-up device may include resetting a sleep mode of the WUR, including a cycle T of the WUR duty cycle (Duty-Cycling) and/or a wake-up window length W, or setting The period T of the duty cycle of the WUR (Duty-Cycling) and/or the WUR wake-up time ratio ⁇ , or the period T of the duty cycle (Duty-Cycling) of the WUR and/or the WUR sleep time ratio ⁇ .
  • the awakened device may send a new working mode of the WUR of the awakened device to a connected wake-up device (eg, AP and STA-2) through a Public Action Frame.
  • a connected wake-up device eg, AP and STA-2
  • the awakened device may receive an acknowledgement by the wake-up device of a new working mode of the WUR of the wake-up device through a public action frame (Public Action Frame).
  • Public Action Frame a public action frame
  • the transmission of the working mode of the auxiliary wake-up module (WUR) described above can be implemented by extending the Vendor Specific IE in the existing message, or by adding a new message element (IE).
  • the embodiment of the present invention provides a wake-up device, as described in any of claims 11-18, and the specific structure thereof may be the structure of the awake device as shown in FIG. 4, wherein the module 400 corresponds to the awake device.
  • the module 400 corresponds to the awake device.
  • the sub-module 401 corresponding to the first transceiver of the device being woken up, ie, the first wireless interface may be provided by a main communication module (eg, an 802.11 communication module), may be used to transmit wake-up frames, and send and receive other messages.
  • a main communication module eg, an 802.11 communication module
  • the sub-module 402 corresponds to the second receiver of the device to be awakened, and is an example of the second radio interface, which may be provided by an auxiliary wake-up module (for example, WUR), may be used to receive the wake-up frame sent by the wake-up device, and receive wake-up after receiving A wake-up signal is sent to the first wireless interface after the frame to wake up the first wireless interface.
  • the submodule 403 corresponds to a processor (which may be one or more), and may implement the functions of the aforementioned WUR working mode setting module.
  • Sub-module 404 corresponds to a memory (available Thought one or more). Sub-module 403 and sub-module 404 can be shared by the first wireless interface and the second wireless interface.
  • the first wireless interface 401 and the second wireless interface 402 can share the same antenna sub-module 405, mainly for reducing device hardware cost and implementing simple considerations.
  • the first wireless interface 401 and the second wireless interface 402 may also correspond to different antennas, particularly when the two are operating on different frequency bands.
  • the wake-up device 400 can be implemented by a system on a chip (SoC) or an integrated circuit.
  • SoC system on a chip
  • the Wi-Fi interface is the wireless interface provided by the Wi-Fi module; the 802.11 interface and the Wi-Fi interface refer to the same, all are wireless interfaces provided by the 802.11 module; the Wi-Fi module and the 802.11 module refer to the same.
  • the WUR interface is the wireless interface provided by the WUR module; the WUR module and the auxiliary wake-up module refer to the same.
  • the awake device wakes up according to "the power-saving requirement of the awake device, the wake-up capability information of the awake device, the number of connected wake-up devices, the power-saving requirement of the connected wake-up device, and the wake-up of the connected wake-up device.
  • One or more of the capability information determines the mode of operation of the WUR of the awakened device.
  • Embodiments of the present invention may enable the device to be woken to select a "synchronous wake-up" mechanism or an "asynchronous wake-up” mechanism according to an application scenario, and optimize parameters for setting the WUR sleep mode.
  • the proposed technical solution can balance the energy consumption of the wake-up device and the wake-up device, as well as avoiding complicated time synchronization operations and maintaining additional power consumption and communication overhead caused by time synchronization.
  • the beneficial effects of various embodiments of the present invention may further include:
  • the "asynchronous wake-up" mechanism in the embodiment of the present invention can effectively balance the power consumption of the awake device and the awake device.
  • the smart phone as a virtual access point (SoftAP) and as a wake-up device, the embodiment provided by the present invention can significantly reduce the power consumption of the smart phone.
  • SoftAP virtual access point
  • the "asynchronous wake-up" mechanism in the embodiment of the present invention can effectively avoid the communication overhead caused by time synchronization, and avoid the processing complexity and power consumption that the time synchronization is added to the WUR.
  • the wake-up device dynamically updates its WUR working mode, for example, "synchronous wake-up” and “asynchronous wake-up” modes are switched.
  • WUR working mode for example, "synchronous wake-up” and "asynchronous wake-up” modes are switched.
  • Embodiments of the present invention can be applied to a variety of application environments and meet the power saving requirements of different devices.
  • the embodiment described in FIG. 5 of the present invention can be referred to with reference to Embodiment 1.
  • the step 501 in the embodiment described in FIG. 5 of the present invention can refer to Step 1 in Embodiment 1, and the embodiment described in FIG. 5 of the present invention.
  • Step 502 of Reference Embodiment 1 can refer to Step 2 and Step 4 in Embodiment 1.
  • the step 503 in the embodiment described in FIG. 5 of the present invention can refer to Step 3 in Embodiment 1; the work of the wake-up device setting described in FIG. 6 of the present invention.
  • Example 9 may be combined with the auxiliary wake-up module of the wake-up device set by the wake-up device in the second embodiment.
  • the step 604 in the embodiment of the present application in the step 604 in the second embodiment; the description in the step 506 in the embodiment shown in FIG. 5 of the present application may refer to the implementation.
  • Example 3 is a description of the number of wake-up devices associated with the device being awakened and the indication information changes.

Abstract

本发明实施例提供一种唤醒无线设备的方法和装置,涉及通信领域,能够解决唤醒无线设备时的能耗和通信开销大的问题。其方法为:第一无线设备通过第一无线设备的主通信模块获得至少一个第二无线设备的指示信息,所述指示信息包括省电需求和唤醒能力信息中的至少一种;第一无线设备根据第二无线设备的数量和/或指示信息确定第一无线设备的辅助唤醒模块的工作模式;第一无线设备的辅助唤醒模块根据所述工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备中的主通信模块。本发明实施例可以应用于基于Wi-Fi的物联网唤醒无线设备的场景。

Description

一种唤醒无线设备的方法和装置
本申请要求于2016年8月16日提交中国专利局、申请号为CN201610674389.7、申请名称为“一种唤醒无线设备的方法”的中国专利申请,以及于2016年9月14日提交中国专利局、申请号为CN201610825688.6、申请名称为“一种唤醒无线设备的方法”的中国专利申请,以及于2016年12月30日提交中国专利局、申请号为CN201611270950.1、申请名称为“一种唤醒无线设备的方法和装置”的中国专利申请的优先权,它们的全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种唤醒无线设备的方法和装置。
背景技术
电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)802.11标准组织计划制定基于无线保真(WIreless Fidelity,Wi-Fi)的物联网标准,目标是将Wi-Fi技术推广应用到物联网领域,以及可穿戴电子设备和数字医疗设备。现有的可穿戴电子设备的Wi-Fi通信模块的功耗太大,不能直接应用于可穿戴电子设备。为了将Wi-Fi技术应用到物联网领域和可穿戴电子设备上,改进和降低Wi-Fi通信技术的功耗是非常有必要的。
为了解决上述问题,IEEE 802.11标准组织提出了超低功耗唤醒无线电/接收机(Wake-Up Radio/Receiver,WUR)技术,能通过WUR降低Wi-Fi通信技术的平均功耗,同时实现按需(On-Demand)实时数据传输。WUR是在设备的Wi-Fi设备上增加的一个超低功耗无线电/接收机接口,当没有数据接收或传输时,设备的主通信模块(例如,Wi-Fi模块)进入深度休眠,并打开WUR模块进行超低功耗侦听。举例来说,如图1所示,当接入点(Access Point,AP)有数据需要传输给站点(Station,STA)时,AP为唤醒设备,STA为被唤醒设备,AP先向STA的WUR模块发送唤醒帧(Wake-Up Packet,WUP),STA的WUR模块收到唤醒帧后,查看所述唤醒帧的接收者地址和确认所述唤醒帧的正确性和真实性;如果唤醒帧的接收者地址匹配STA的WUR的地址,并且所述唤醒帧是正确、真实的,则STA的WUR模块会发送唤醒信号给STA的主通信模块(如Wi-Fi模块),以唤醒STA的主通信模块;STA的WUR模块发送完唤醒信号以后,可以进入深度休眠状态(功耗接近于零的状态);为了进一步降低WUR的平均功耗,可以让WUR启用工作循环(Duty-Cycling),即WUR周期性的“醒来-休眠”。现有技术采用“同步唤醒”机制,即第二设备与第一设备的WUR保持时间同步,并且第二设备能够准确找到第一设备的WUR的醒来窗口(Wake window)在时间轴上的位置。如图2所示,被唤醒设备的WUR的周期T=100毫秒(ms),醒来窗口长度W=2毫秒(ms),当唤醒设备有数据需要向被唤醒设备发送时,唤醒设备在被唤醒设备的WUR的醒来窗口中发送唤醒帧(WUP)给被唤醒设备的WUR,从而唤醒被唤醒设备的主通信模块。
在上述“同步唤醒”机制里,唤醒设备需要周期性发送WUR时间同步帧,能量开销比较大,会浪费大量的唤醒设备的电能。而且如图3所示,当被唤醒设备与多个不同唤醒设备相连,例如被唤醒设备同时与唤醒设备1、唤醒设备2和唤醒设备3相连,且所述多个唤醒设备不属于同一个基本服务集(Basic Service Set,BBS)或者不属于同一网络时,若采用“同步唤醒”机制, 则被唤醒设备的WUR需要维持多个时钟信息,并且需要周期性接收来自多个唤醒设备的时间同步帧,这样会显著增加被唤醒设备的WUR的复杂度和功耗,会降低被唤醒设备的电池的续航时间。此外,多个唤醒设备分别发送时间同步帧也会浪费大量的空口时频资源。
发明内容
本申请实施例提供一种唤醒无线设备的方法和装置,以降低唤醒无线设备时的能量和资源开销。
本申请实施例提供一种唤醒无线设备的方法,包括:第一无线设备通过第一无线设备的主通信模块获得至少一个第二无线设备的指示信息,指示信息包括省电需求和唤醒能力信息中的至少一种,唤醒能力信息用于指示第二无线设备支持同步唤醒和/或异步唤醒;第一无线设备根据第二无线设备的数量和/或指示信息确定第一无线设备的辅助唤醒模块的工作模式,工作模式包括辅助唤醒模块的时间同步机制和/或休眠模式;第一无线设备的辅助唤醒模块根据工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备的主通信模块。本申请实施例中,第一无线设备可以理解为被唤醒设备,第二无线设备可以理解为唤醒设备,第一无线设备根据第二无线设备的数量和/或指示信息确定第一无线设备的辅助唤醒模块的工作模式,辅助唤醒模块根据工作模式接收第二无线设备发送的唤醒帧,从而唤醒第一无线设备的主通信模块,这样一来,可以有效平衡第一无线设备和第二无线设备的能耗,避免了复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
在一种可能的设计中,该方法还包括:第一无线设备向至少一个第二无线设备发送辅助唤醒模块的工作模式。这样一来,至少一个第二无线设备可以根据第一无线设备的工作模式向第一无线设备发送唤醒帧,以唤醒第一无线设备的主通信模块。
在一种可能的设计中,在第一无线设备的辅助唤醒模块根据工作模式接收第二无线设备发送的唤醒帧之前,方法还包括:第一无线设备接收第二无线设备发送的确认消息,确认消息用于指示工作模式被第二无线设备接受;或第一无线设备接收第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式。这样一来,若第一无线设备设置的工作模式不被第二无线设备接受,则可以由第二无线设备设置第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,第一无线设备根据第二无线设备的数量和/或指示信息设置第一无线设备的辅助唤醒模块的工作模式包括:第一无线设备根据第二无线设备的数量、第二无线设备的省电需求和第二无线设备的唤醒能力信息这三个参数中至少两个参数之间的优先级关系来设置第一无线设备的辅助唤醒模块的工作模式,优先级关系包括以下中的至少一个:唤醒能力信息的优先级大于第二无线设备的数量,和第二无线设备的数量的优先级大于省电需求。这样一来,第一无线设备可以根据第二无线设备的数量、第二无线设备的省电需求和第二无线设备的唤醒能力信息的优先级来设置辅助唤醒模块的工作模式,可以平衡第一无线设备和第二无线设备的能耗,适用多种应用环境和满足不同设备的省电需求。
在一种可能的设计中,若指示信息包括唤醒能力信息,或,若指示信息包括唤醒能力信息和省电需求,则第一无线设备根据第二无线设备的数量和指示信息确定第一无线设备的辅助唤醒模块的时间同步机制包括:第一无线设备根据优先级关系确定根据唤醒能力信息来确定第一无线设备的辅助唤醒模块的时间同步机制,包括:若唤醒能力信息用于表征第二无线设备只支持同步唤醒,则第一无线设备确定第一无线设备的辅助唤醒模块与第二无线设备需保持时间同步;若唤醒能力 信息用于表征第二无线设备只支持异步唤醒,则确定第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步。这样一来,可以使第一无线设备根据唤醒能力信息的不同选择设置辅助唤醒模块与第二无线设备保持时间同步,或不需要与第二无线设备保持时间同步,当第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步时,可以有效平衡第一无线设备和第二无线设备的能耗,避免了复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
在一种可能的设计中,若指示信息包括省电需求,则第一无线设备根据第二无线设备的数量和指示信息设置第一无线设备的辅助唤醒模块的时间同步机制包括:第一无线设备根据优先级关系确定根据第二无线设备的数量的优先级大于省电需求的优先级,包括:若第二无线设备的数量等于1,或第二无线设备的数量大于或等于2且第二无线设备均属于同一基本服务集,则第一无线设备确定省电需求表征第二无线设备是否需要省电,若确定省电需求表征第二无线设备需要省电,则第一无线设备设置无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步;若确定省电需求表征第二无线设备不需要省电,则第一无线设备设置第一无线设备的辅助唤醒模块与第二无线设备保持时间同步;若第二无线设备的数量大于或等于2,且第二无线设备属于不同的基本服务集,则第一无线设备设置第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步。这样一来,可以使第一无线设备根据唤醒设备的数量的不同选择设置辅助唤醒模块与第二无线设备保持时间同步,或不需要与第二无线设备保持时间同步,当第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步时,可以有效平衡第一无线设备和第二无线设备的能耗,避免了复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。另外,若仅根据唤醒设备的数量无法确定被唤醒设备的辅助唤醒模块的工作模式,则可以继续根据唤醒设备的省电信息确定被唤醒设备的辅助唤醒模块的工作模式。
在一种可能的设计中,休眠模式包括辅助唤醒模块的工作循环的周期和醒来时的窗口长度;第一无线设备根据第二无线设备的数量和/或指示信息设置第一无线设备的辅助唤醒模块的工作模式包括:第一无线设备根据第二无线设备的数量和/或指示信息设置第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度,以便第二无线设备根据辅助唤醒模块的工作循环的周期和醒来时的窗口长度确定唤醒帧的数量以及唤醒帧之间的时间间隔;其中,时间间隔小于或等于窗口长度,当辅助唤醒模块与第二无线设备保持时间同步时,唤醒帧的数量大于或等于1,当辅助唤醒模块不与第二无线设备保持时间同步时,唤醒帧的数量大于或等于辅助唤醒模块的工作循环的周期与时间间隔的比值。这样一来,第二无线设备可以根据第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度设置唤醒帧的数量以及唤醒帧之间的时间间隔,可以保证第一无线设备在不同的工作模式下都可以接收到第二无线设备发送的唤醒帧。
在一种可能的设计中,该方法还包括:若第二无线设备的数量和/或指示信息发生变化,则第一无线设备向第二无线设备更新第一无线设备的辅助唤醒模块的工作模式。这样一来,当第二无线设备的数量和/或指示信息发生变化时,第一无线设备可以动态更新第一无线设备的辅助唤醒模块的的工作模式,例如,“同步唤醒”和“异步唤醒”两种时间同步机制相互切换。因为有动态更新操作,本发明技术方案可以适用于多种应用环境和满足不同设备的省电需求及唤醒能力信息。
另一方面,提供一种唤醒无线设备的方法,包括:第二无线设备确定第一无线设备的辅助唤醒模块的工作模式,工作模式包括第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;第二无线设备通过第二无线设备的主通信模块向第一无线设备发送工作模式;第二无线设备根据 工作模式向第一无线设备的辅助唤醒模块发送唤醒帧,以唤醒第一无线设备的主通信模块。第二无线设备相当于唤醒设备,第一无线设备相当于被唤醒设备,这样一来,唤醒设备在确定了被唤醒设备的辅助唤醒模块的工作模式后,可使得被唤醒设备根据唤醒设备的指示来确定自身的辅助唤醒模块的工作模式,唤醒设备可以根据工作模式向第一无线设备的辅助唤醒模块发送唤醒帧,当被唤醒设备的辅助唤醒模块不需要与唤醒设备保持时间同步时,避免了被唤醒设备和唤醒设备之间复杂的时间同步操作和时间同步带来的能量和资源开销,解决了唤醒无线设备时能量和资源开销大的问题。
在一种可能的设计中,时间同步机制用于指示第一无线设备的辅助唤醒模块与第二无线设备保持时间同步,或时间同步机制用于指示第一无线设备的辅助唤醒模块不需与第二无线设备保持时间同步;休眠模式包括第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
在一种可能的设计中,该方法还包括:第二无线设备接收第一无线设备发送的反馈消息;所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或
反馈消息用于指示第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且反馈消息包括第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式。这样一来,当第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式时,第一无线设备可以向第二无线设备发送第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,该方法还包括:第二无线设备接受第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式,并将第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式作为第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式。这样一来,第二无线设备可以将第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式,作为第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
再一方面,提供一种唤醒无线设备的方法,包括:第一无线设备通过主通信模块接收第二无线设备发送的第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,工作模式包括第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;第一无线设备根据从第二无线设备接收到的工作模式确定第一无线设备的辅助唤醒模块的工作模式;第一无线设备的辅助唤醒模块根据第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备的主通信模块。这样一来,第一无线设备可以将从第二无线设备接收到的工作模式确定为第一无线设备的辅助唤醒模块的工作模式,从而根据第一无线设备的辅助唤醒模块的工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备的主通信模块,通过第一无线设备和第二无线设备的交互过程来确定第一无线设备的辅助唤醒模块的工作模式,可以有效平衡第一无线设备和第二无线设备的能耗,避免了复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
在一种可能的设计中,时间同步机制用于指示第一无线设备的辅助唤醒模块与第二无线设备保持时间同步,或时间同步机制用于指示第一无线设备的辅助唤醒模块不需与第二无线设备保持时间同步;休眠模式包括第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。这样一来,当第一无线设备的辅助唤醒模块不需与第二无线设备保持时间同步时,可以有效平衡 第一无线设备和第二无线设备的能耗,避免了复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
在一种可能的设计中,第一无线设备根据从第二无线设备接收到的工作模式确定第一无线设备的辅助唤醒模块的工作模式包括:第一无线设备接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式;或第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且第一无线设备根据第二无线设备的数量、第二无线设备的唤醒能力以及第二无线设备的省电需求中的至少一个确定第一无线设备的辅助唤醒模块的工作模式。这样一来,当第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式时,可以根据第二无线设备的数量、第二无线设备的唤醒能力以及第二无线设备的省电需求中的至少一个确定第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,方法还包括:第一无线设备向第二无线设备发送反馈消息;反馈消息用于指示第一无线设备接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式;或反馈消息用于指示第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且反馈消息包括第一无线设备根据第二无线设备的数量、第二无线设备的唤醒能力以及第二无线设备的省电需求中的至少一个确定的第一无线设备的辅助唤醒模块的工作模式。这样一来,当第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式时,可以向第二无线设备反馈第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
再一方面,提供一种第一无线设备,包括:主通信模块,用于获得至少一个第二无线设备的指示信息,指示信息包括省电需求和唤醒能力信息中的至少一种,唤醒能力信息用于指示第二无线设备支持同步唤醒和/或异步唤醒;处理模块,用于根据第二无线设备的数量和/或指示信息确定第一无线设备的辅助唤醒模块的工作模式,工作模式包括辅助唤醒模块的时间同步机制和/或休眠模式;辅助唤醒模块,用于根据工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备的主通信模块。
在一种可能的设计中,主通信模块还用于:向至少一个第二无线设备发送辅助唤醒模块的工作模式。
在一种可能的设计中,主通信模块还用于:接收第二无线设备发送的确认消息,确认消息用于指示工作模式被第二无线设备接受;或接收第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,处理模块用于:根据第二无线设备的数量、第二无线设备的省电需求和第二无线设备的唤醒能力信息这三个参数中至少两个参数之间的优先级关系来设置第一无线设备的辅助唤醒模块的工作模式,优先级关系包括以下中的至少一个:唤醒能力信息的优先级大于第二无线设备的数量,和第二无线设备的数量的优先级大于省电需求。
在一种可能的设计中,若指示信息包括唤醒能力信息,或,若指示信息包括唤醒能力信息和省电需求,则处理模块用于:根据优先级关系确定根据唤醒能力信息来确定第一无线设备的辅助唤醒模块的时间同步机制,包括:若唤醒能力信息用于表征第二无线设备只支持同步唤醒,则确定第一无线设备的辅助唤醒模块与第二无线设备需保持时间同步;若唤醒能力信息用于表征第二无线设备只支持异步唤醒,则确定第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步。
在一种可能的设计中,若指示信息包括省电需求,则处理模块用于:根据优先级关系确定根据第二无线设备的数量的优先级大于省电需求的优先级,包括:若第二无线设备的数量等于1,或第二无线设备的数量大于或等于2且第二无线设备均属于同一基本服务集,则确定省电需求表征第二无线设备是否需要省电,若确定省电需求表征第二无线设备需要省电,则设置无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步;若确定省电需求表征第二无线设备不需要省电,则设置第一无线设备的辅助唤醒模块与第二无线设备保持时间同步;若第二无线设备的数量大于或等于2,且第二无线设备属于不同的基本服务集,则设置第一无线设备的辅助唤醒模块不需要与第二无线设备保持时间同步。
在一种可能的设计中,休眠模式包括辅助唤醒模块的工作循环的周期和醒来时的窗口长度;处理模块用于:根据第二无线设备的数量和/或指示信息设置第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度,以便第二无线设备根据辅助唤醒模块的工作循环的周期和醒来时的窗口长度确定唤醒帧的数量以及唤醒帧之间的时间间隔;其中,时间间隔小于或等于窗口长度,当辅助唤醒模块与第二无线设备保持时间同步时,唤醒帧的数量大于或等于1,当辅助唤醒模块不与第二无线设备保持时间同步时,唤醒帧的数量大于或等于辅助唤醒模块的工作循环的周期与时间间隔的比值。
在一种可能的设计中,处理模块还用于:若第二无线设备的数量和/或指示信息发生变化,则向第二无线设备更新第一无线设备的辅助唤醒模块的工作模式。
再一方面,提供一种第二无线设备,包括:处理模块,用于确定第一无线设备的辅助唤醒模块的工作模式,工作模式包括第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;主通信模块,用于向第一无线设备发送工作模式;主通信模块,还用于根据工作模式向第一无线设备的辅助唤醒模块发送唤醒帧,以唤醒第一无线设备的主通信模块。
在一种可能的设计中,时间同步机制用于指示第一无线设备的辅助唤醒模块与第二无线设备保持时间同步,或时间同步机制用于指示第一无线设备的辅助唤醒模块不需与第二无线设备保持时间同步;休眠模式包括第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
在一种可能的设计中,主通信模块,还用于接收第一无线设备发送的反馈消息;所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或
反馈消息用于指示第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且反馈消息包括第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,处理模块,还用于接受第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式,并将第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式作为第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式。
再一方面,提供一种第一无线设备,包括:主通信模块,用于接收第二无线设备发送的第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,工作模式包括第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;处理模块,用于根据从第二无线设备接收到的工作模式确定第一无线设备的辅助唤醒模块的工作模式;辅助唤醒模块,用于根据第一无线设备确定的第一无线设备的辅助唤醒模块的工作模式接收第二无线设备发送的唤醒帧,以唤醒第一无线设备的主 通信模块。
在一种可能的设计中,时间同步机制用于指示第一无线设备的辅助唤醒模块与第二无线设备保持时间同步,或时间同步机制用于指示第一无线设备的辅助唤醒模块不需与第二无线设备保持时间同步;休眠模式包括第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
在一种可能的设计中,处理模块用于:接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式;或不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且根据第二无线设备的数量、第二无线设备的唤醒能力以及第二无线设备的省电需求中的至少一个确定第一无线设备的辅助唤醒模块的工作模式。
在一种可能的设计中,主通信模块还用于:向第二无线设备发送反馈消息;反馈消息用于指示第一无线设备接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式;或反馈消息用于指示第一无线设备不接受第二无线设备确定的第一无线设备的辅助唤醒模块的工作模式,且反馈消息包括第一无线设备根据第二无线设备的数量、第二无线设备的唤醒能力以及第二无线设备的省电需求中的至少一个确定的第一无线设备的辅助唤醒模块的工作模式。
再一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述第一无线设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
再一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述第二无线设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
这样一来,被唤醒设备可以根据唤醒设备的数量和指示信息来设置被唤醒设备的辅助唤醒模块的工作模式,包括时间同步机制和休眠模式,时间同步机制可以为同步唤醒或异步唤醒。而现有技术中,被唤醒设备的辅助唤醒模块的时间同步机制只能为同步唤醒,当被唤醒设备与多个不同唤醒设备相连时,被唤醒设备的辅助唤醒模块需要维持多个时钟信息,以及需要周期性接收来自多个唤醒设备的时间同步帧,而且多个唤醒设备分别发送时间同步帧会浪费大量的空口时频资源。相比现有技术,本申请实施例所提供的异步模式不需要维持时钟信息和接收唤醒设备的时间同步帧,能够解决唤醒设备和被唤醒设备保持时间同步带来的额外能耗和通信开销大的问题。
另外,本发明还提供了如下实施例中的任一个:
1、一种唤醒无线设备的方法,包括:(1)第一无线设备通过所述第一无线设备的第一无线接口获取至少一个第二无线设备的省电需求和/或唤醒能力信息;(2)所述第一无线设备根据“所述第一无线设备的省电需求、所述第一无线设备的唤醒能力信息、所述第二无线设备的数量、所述第二无线设备的省电需求、所述第二无线设备的唤醒能力信息”中的一种或几种,确定所述第一无线设备的第二无线接口的工作模式,所述工作模式包括所述第一无线设备的第二无线接口的时间同步机制和/或休眠模式;(3)所述第一无线设备配置所述第一无线设备的第二无线接口的工作模式;(4)当所述第一无线设备通过所述第一无线设备的第二无线接口接收到所述第二无线设备发送的唤醒帧后,所述第一无线设备唤醒所述第一无线设备的第一无线接口以与所述第二无线设备进行消息传输。
上述唤醒无线设备的方法可以使能所述第一无线设备根据“所述第一无线设备的省电需求、所述第一无线设备的唤醒能力信息、所述第二无线设备的数量、所述第二无线设备的省电需求、所述第二无线设备的唤醒能力信息”中的一种或几种确定所述第一无线设备的第二无线接口的工作模式。
2、如1所述的方法,在步骤(3)之前还包括,所述第一无线设备通过所述第一无线设备的 第一无线接口向所述至少一个第二无线设备发送所述第一无线设备的省电需求和/或唤醒能力信息。所述第一无线设备发送所述第一无线设备的省电需求和/或唤醒能力信息给所述第二无线设备,可以帮助所述第二无线设备确定所述第二无线设备的第二无线接口的工作模式,也可以帮助所述第二无线设备确定所述第一无线设备的第二无线接口的工作模式。
3、如1所述的方法,在步骤(3)之前还包括,所述第一无线设备通过所述第一无线设备的第一无线接口向所述至少一个第二无线设备发送所述第一无线设备的第二无线接口的工作模式。所述第一无线设备发送所述第一无线设备的第二无线接口的工作模式给所述第二无线设备,可以帮助所述第二无线设备选择正确的唤醒操作以唤醒所述第一无线设备的第一无线接口。所述“正确的唤醒操作”包括所述第二无线设备在一次唤醒所述第一无线设备的尝试里发送唤醒帧的时间和个数。
4、如3所述的方法,在步骤(3)之前还包括,所述第一无线设备通过所述第一无线设备的第一无线接口接收所述至少一个第二无线设备发送的消息,所述消息包括所述第二无线设备对所述第一无线设备的第二无线接口的工作模式的确认消息,或者由所述第二无线设备确定的所述第一无线设备的第二无线接口的工作模式。所述第一无线设备确定的所述第一无线设备的第二无线接口的工作模式可能被所述第二无线设备接受(如上述会收到第二无线设备对所述第一无线设备的第二无线接口的工作模式的确认消息);也可能不被所述第二无线设备接受,所述第一无线设备的第二无线接口的工作模式可以是由所述第二无线设备来最终确定。
5、如4所述的方法,在步骤(3)之前还包括,所述第一无线设备通过所述第一无线设备的第一无线接口向所述至少一个第二无线设备发送所述第一无线设备的第二无线接口的工作模式的确认消息。当所述第一无线设备的第二无线接口的工作模式是由所述第二无线设备确定的情况下,所述第一无线设备向所述第二无线设备发送确认消息,确认接受所述第二无线设备确定的所述第一无线设备的第二无线接口的工作模式。
6、如1-5任一所述的方法,还进一步包括:当所述第一无线设备确定唤醒需求发生变化时,所述第一无线设备更新所述第一无线设备的第二无线接口的工作模式,其中“当所述第一无线设备确定唤醒需求发生变化时”包括:所述第一无线设备连接的第二无线设备的数量增加或者减少,或者所述第一无线设备连接的第二无线设备的省电需求和/或唤醒能力发生变化。根据唤醒需求的动态变化,所述第一无线设备动态的更新所述第一无线设备的第二无线接口的工作模式,例如,“同步唤醒”和“异步唤醒”两种模式相互切换。因为有动态更新操作,本发明技术方案可以适用于多种应用环境和满足不同设备的省电需求。
7、如1-6任一所述的方法,所述确定或者更新第一无线设备的第二无线接口的工作模式的步骤可以包括:当只有一个第二无线设备并且所述第二无线设备只支持“异步唤醒”,或者只有一个第二无线设备并且所述第二无线设备有省电需求,或者有两个或两个以上第二无线设备并且所述第二无线设备不属于同一个基本服务集(BSS)或不属于同一个网络时,可以确定所述第一无线设备的第二无线接口的工作模式为“异步唤醒”;或者,当只有一个第二无线设备并且所述第二无线设备只支持“同步唤醒”,或者只有一个第二无线设备并且所述第二无线设备没有省电需求,或者有两个或两个以上第二无线设备并且所述第二无线设备属于同一个基本服务集(BSS)时,可以确定所述第一无线设备的第二无线接口的工作模式为“同步唤醒”。本技术方案可以使能所述第一无线设备根据应用场景选择采用“同步唤醒”或者“异步唤醒”。其中,“异步唤醒”机制可以有效平衡所述第一无线设备和所述第二无线设备的能耗,以及避免复杂的时间同步操作和保 持时间同步带来的额外能耗和通信开销。
8、如7所述的方法,在“异步唤醒”模式下,所述第二无线设备发送n个唤醒帧,且需要保证所述发送的相邻的两个唤醒帧之间的时间间隔小于或等于所述第一无线设备的第二无线接口的醒来窗口的长度,其中,n大于或等于2。所述第二无线设备发送n个唤醒帧,期望至少一个唤醒帧会被所述第一无线设备的第二无线接口接收到。这种“异步唤醒”机制可以有效平衡所述第一无线设备和所述第二无线设备的能耗,以及避免复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
9、如1和2所述的方法,所述第二无线设备的省电需求和/或唤醒能力信息可以包括:所述第二无线设备的省电需求,包括所述第二无线设备的供电信息和/或所述第二无线设备的第一无线接口的休眠信息;所述第二无线设备的唤醒能力信息,包括所述第二无线设备对第一无线设备的第二无线接口的支持信息和/或所述第二无线设备的第二无线接口的信息。所述“第一无线设备的省电需求和/或唤醒能力信息”可以包括:所述第一无线设备的省电需求,包括所述第一无线设备的供电信息和/或所述第一无线设备的第一无线接口的休眠信息;所述第一无线设备的唤醒能力信息,包括所述第一无线设备对第二无线设备的第二无线接口的支持信息和/或所述第一无线设备的第二无线接口的信息。
10、如1-9任一所述的方法,所述第一无线接口为802.11接口,所述第二无线接口为辅助唤醒接口;所述第一无线设备为被唤醒设备,所述第二无线设备为唤醒设备。
11、一种被唤醒设备,所述被唤醒设备可以与至少一个唤醒设备通信,所述唤醒设备可以用于唤醒所述被唤醒设备,所述被唤醒设备包括:第一无线接口,用于接收所述至少一个唤醒设备发送的唤醒设备的省电需求和/或唤醒能力信息;处理器,用于根据“所述第一无线设备的省电需求、所述第一无线设备的唤醒能力信息、所述第二无线设备的数量、所述第二无线设备的省电需求、所述第二无线设备的唤醒能力信息”中的一种或几种来确定所述第一无线设备的第二无线接口的工作模式,所述工作模式包括所述第一无线设备的第二无线接口的时间同步机制和/或休眠模式;所述处理器还用于在确定所述第一无线设备的第二无线接口的工作模式后,配置所述第一无线设备的第二无线接口的工作模式;第二无线接口,用于工作在所述被配置的所述第二无线接口的工作模式下,接收所述至少一个唤醒设备发送的唤醒帧,并在接收到所述至少一个唤醒设备发送的唤醒帧后,唤醒所述第一无线设备的第一无线接口以与所述唤醒设备进行消息传输。本发明提供的被唤醒设备可以根据“所述第一无线设备的省电需求、所述第一无线设备的唤醒能力信息、所述第二无线设备的数量、所述第二无线设备的省电需求、所述第二无线设备的唤醒能力信息”中的一种或几种确定所述第一无线设备的第二无线接口的工作模式。
12、如11所述的被唤醒设备,所述第一无线设备的第一无线接口还用于向所述至少一个第二无线设备发送所述第一无线设备的省电需求和/或唤醒能力信息。所述第一无线设备发送所述第一无线设备的省电需求和/或唤醒能力信息给所述第二无线设备,可以帮助所述第二无线设备确定所述第二无线设备的第二无线接口的工作模式,也可以帮助所述第二无线设备确定所述第一无线设备的第二无线接口的工作模式。
13、如11所述的被唤醒设备,所述第一无线设备的第一无线接口还用于在所述处理器确定出所述第一无线设备的第二无线接口的工作模式后,向所述至少一个第二无线设备发送所述第一无线设备的第二无线接口的工作模式。所述第一无线设备发送所述第一无线设备的第二无线接口的工作模式给所述第二无线设备,可以帮助所述第二无线设备选择正确的唤醒操作以唤醒所述第一 无线设备的第一无线接口。所述“正确的唤醒操作”包括所述第二无线设备在一次唤醒所述第一无线设备的尝试里发送唤醒帧的时间和个数。
14、如13所述的被唤醒设备,所述第一无线设备的第一无线接口还用于在所述处理器配置所述第一无线设备的第二无线接口的工作模式之前,接收所述至少一个第二无线设备发送的消息,所述消息包括所述第二无线设备对所述第一无线设备的第二无线接口的工作模式的确认消息,或者由所述第二无线设备确定的所述第一无线设备的第二无线接口的工作模式。所述第一无线设备确定的所述第一无线设备的第二无线接口的工作模式可能被所述第二无线设备接受(如上述会收到第二无线设备对所述第一无线设备的第二无线接口的工作模式的确认消息);也可能不被所述第二无线设备接受,所述第一无线设备的第二无线接口的工作模式可以是由所述第二无线设备来最终确定。
15、如14所述的被唤醒设备,所述第一无线设备的第一无线接口还用于在所述第一无线设备收到由所述第二无线设备确定的所述第一无线设备的第二无线接口的工作模式后,向所述至少一个第二无线设备发送所述第一无线设备的第二无线接口的工作模式确认消息。当所述第一无线设备的第二无线接口的工作模式是由所述第二无线设备确定的情况下,所述第一无线设备向所述第二无线设备发送确认消息,确认接受所述第二无线设备确定的所述第一无线设备的第二无线接口的工作模式。
16、如11-15任一所述的被唤醒设备,所述处理器还用于当唤醒需求发生变化时,更新所述第一无线设备的第二无线接口的工作模式,其中所述唤醒需求发生变化包括:所述第一无线设备连接的第二无线设备的数量增加或者减少,或者所述第一无线设备连接的第二无线设备的省电需求和/或唤醒能力发生变化。根据唤醒需求的动态变化,所述第一无线设备动态的更新所述第一无线设备的第二无线接口的工作模式,例如,“同步唤醒”和“异步唤醒”两种模式相互切换。因为有动态更新操作,本发明技术方案可以适用于多种应用环境和满足不同设备的省电需求。
17、如11-16任一所述的被唤醒设备,所述处理器可以通过如下方式来确定第一无线设备的第二无线接口的工作模式:
当只有一个第二无线设备并且所述第二无线设备只支持“异步唤醒”,或者只有一个第二无线设备并且所述第二无线设备有省电需求,或者有两个或两个以上第二无线设备并且所述第二无线设备不属于同一个基本服务集(BSS)或不属于同一个网络时,可以确定所述第一无线设备的第二无线接口的工作模式为“异步唤醒”;或者,当只有一个第二无线设备并且所述第二无线设备只支持“同步唤醒”,或者只有一个第二无线设备并且所述第二无线设备没有省电需求,或者有两个或两个以上第二无线设备并且所述第二无线设备属于同一个基本服务集(BSS)时,可以确定所述第一无线设备的第二无线接口的工作模式为“同步唤醒”。所述第一无线设备根据实际工作场景确定所述第一无线设备的第二无线接口的工作模式,可以有效平衡所述第一无线设备和所述第二无线设备的能耗,以及避免复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。
18、如11-17任一所述的被唤醒设备,所述第一无线接口为802.11接口,所述第二无线接口为辅助唤醒接口。
可以理解的是,本文中所述的主通信模块也可用第一无线接口来指代,主通信模块是第一无线接口的一种;本文中所述的辅助唤醒模块也可以第二无线接口来指代,辅助唤醒模块是第二无线接口的一种。
附图说明
图1为本发明实施例提供的一种现有的唤醒方法示意图;
图2为本发明实施例提供的一种被唤醒设备的WUR的周期和醒来窗口长度示意图;
图3为本发明实施例提供的一种被唤醒设备和多个唤醒设备相连的示意图;
图4为本发明实施例提供的一种被唤醒设备的内部结构图;
图5为本发明实施例提供的一种唤醒无线设备的方法示意图;
图5a为本发明实施例提供的一种被唤醒设备和唤醒设备的内部模块示意图;
图5b为本发明实施例提供的一种唤醒帧的发送时机的示意图;
图5c为本发明实施例提供的一种唤醒无线设备的信号流程图;
图6为本发明实施例提供的一种唤醒无线设备的方法示意图;
图7为本发明实施例提供的一种第一无线设备的结构示意图;
图8为本发明实施例提供的一种第一无线设备的结构示意图;
图9为本发明实施例提供的一种唤醒无线设备的方法示意图;
图10为本发明实施例提供的一种第二无线设备的结构示意图;
图11为本发明实施例提供的一种第二无线设备的结构示意图。
具体实施方式
本申请实施例可以应用于第一无线设备基于Wi-Fi的物联网对第二无线设备进行唤醒的场景,例如,可以应用于第一无线设备基于由可穿戴设备及无线设备组成的可穿戴Wi-Fi网络对第二无线设备进行唤醒的场景。本申请实施例也可以应用于其他唤醒无线设备的场景,本申请不做限定。其中,第一无线设备和第二无线设备可以是由小容量电池供电,或有超低功耗和长时间续航需求。
本发明实施例应用的系统架构可以包括第一无线设备和第二无线设备,第一无线设备可以是被唤醒设备,具体可以是个人计算机(Personal Computer,PC)、手机、平板电脑(pad)、智能学习机、智能游戏机、智能电视、智能眼镜以及智能手表等,可以用于接收第二无线设备发送的指示信息并根据第二无线设备的数量和指示信息设置其辅助唤醒模块的工作模式。第二无线设备可以是唤醒设备,具体可以是路由器,热点模式的手机或其他可以用于物联网通信的设备或装置,用于向第一无线设备发送指示信息。需要说明的是,当第一无线设备和第二无线设备都有辅助唤醒模块时,第一无线设备和第二无线设备都既可以是唤醒设备,也可以是被唤醒设备。辅助唤醒模块也可以称为唤醒接收模块。举例来说,若手机与智能手表关联,且手机与智能手表都有辅助唤醒模块,当手机要设置自身的辅助唤醒模块的工作模式时,手机是被唤醒设备,智能手表是唤醒设备;反之,当智能手表要设置自身的辅助唤醒模块的工作模式时,智能手表是被唤醒设备,手机是唤醒设备。
图4为本发明实施例中第一无线设备的一种内部结构示意图,在本发明中,第一无线设备,即被唤醒设备400可以包括第一收发机401、第二接收机402、处理器403、存储器404和天线子模块405。其中,第一收发机401用于可使用长期演进(Long Term Evolution,LTE)、Wi-Fi等通讯方式接收其它设备发送的指令,也可以将第一无线设备的数据发送给其它设备;第二接收机402用于可使用超低功耗接收技术接收唤醒设备发送的唤醒帧,并在收到唤醒帧后向第一无线接口发送唤醒信号,以唤醒被唤醒设备的第一无线接口;处理器403用于控制无线第一无线设备的各部分硬件装置和应用程序软件等;存储器404用于执行无线第一无线设备的软件程序的存储、 数据的存储和软件的运行等;天线子模块可以用于使用无线接收技术接收唤醒设备发送的唤醒帧等,且出于降低设备硬件成本和实现简单的考虑,第一无线接口401和第二无线接口402可以共享同一根天线子模块405。另外,第一无线接口401和第二无线接口402也可以对应不同的天线,特别是当两者工作在不同的频段上时。实际产品中,被唤醒设备400可以由一个片上系统(SoC)实现或者一个或多个集成电路联合实现。
下面以第一无线设备是被唤醒设备,第二无线设备是唤醒设备为例对本发明实施例进行说明。在本申请实施例中,被唤醒设备可以接收至少一个唤醒设备发送的指示信息,然后被唤醒设备可以根据唤醒设备的数量和/或指示信息确定被唤醒设备的辅助唤醒模块的工作模式,工作模式可以包括时间同步机制和/或休眠模式,而后被唤醒设备将工作模式通知给唤醒设备,从而使唤醒设备可以以该工作模式发送唤醒帧给被唤醒设备的辅助唤醒模块,当被唤醒设备的辅助唤醒模块接收到唤醒帧后就可以将被唤醒设备的主通信模块唤醒,之后被唤醒设备的主通信模块可以与唤醒设备进行通信。
本申请实施例提供一种唤醒无线设备的方法,如图5所示:
501、唤醒设备通过唤醒设备的主通信模块向被唤醒设备发送唤醒设备的指示信息,指示信息包括省电需求和唤醒能力信息中的至少一种。
被唤醒设备可以在与唤醒设备关联过程中或者在关联之后,通过被唤醒设备的主通信模块接收唤醒设备发送的信标帧(Beacon Frame)或者公共动作帧(Public Action Frame)获得唤醒设备的省电需求和/或唤醒能力信息。其中,主通信模块可以是蓝牙模块或Wi-Fi通信模块,还可以是蜂窝移动通信模块等,本申请实施例不做限制。
举例来说,如图5a所示,被唤醒设备和唤醒设备都可以带有辅助唤醒模块和蓝牙模块、Wi-Fi通信模块、或蜂窝移动通信模块,当被唤醒设备与唤醒设备关联时,被唤醒设备可以通过自身的蓝牙模块、Wi-Fi通信模块、或蜂窝移动通信模块接收唤醒设备发送的信标帧或者探测响应帧或者关联响应帧或者重新关联响应帧或者公共动作帧,从而获得唤醒设备的省电需求和/或唤醒能力信息。
在一种可能的设计中,被唤醒设备可以向唤醒设备发送探测请求帧(Probe Request Frame),并通过唤醒设备反馈的探测响应帧(Probe Response Frame)获得唤醒设备的省电需求和/或唤醒能力信息。
在一种可能的设计中,被唤醒设备可以向唤醒设备发送关联请求帧(Association Request Frame),并通过唤醒设备反馈的关联响应帧(Association Response Frame)获得唤醒设备的省电需求和/或唤醒能力信息。
在一种可能的设计中,被唤醒设备可以向唤醒设备发送重新关联请求帧(Reassociation Request Frame),并通过唤醒设备反馈的重新关联响应帧(Reassociation Response Frame)获得唤醒设备的省电需求和/或唤醒能力信息。
唤醒设备的省电需求用于表征唤醒设备需省电或不需省电,可以由唤醒设备的供电信息指示,例如若供电信息是有源供电,则唤醒设备的省电需求为不需要省电;若供电信息为由电池供电,则唤醒设备的省电需求为需要省电。唤醒设备的省电需求也可以由唤醒设备上是否有辅助唤醒模块指示,例如若唤醒设备上有辅助唤醒模块,则唤醒设备的省电需求为需要省电;若唤醒设备上没有辅助唤醒模块,则唤醒设备的省电需求为不需要省电。唤醒设备的省电需求还可以由主通信模块(例如,Wi-Fi通信模块)的休眠信息来指示,例如若主通信模块需要休眠,则唤醒设备的 省电需求为需要省电;若主通信模块的不需要休眠,则唤醒设备的省电需求为不需要省电。本领域技术人员可以理解的是,可以根据唤醒设备的主通信模块的负载循环(Duty-Cycling)的周期和醒来时间长度来判断唤醒设备的主通信模块是否需要休眠。
唤醒设备的唤醒能力信息用于指示唤醒设备支持同步唤醒和/或异步唤醒。另外,唤醒设备的唤醒能力信息还可以用于表征是否支持被唤醒设备的辅助唤醒模块的工作频道,是否支持向被唤醒设备发送唤醒帧等。唤醒设备的唤醒能力信息,可以进一步包括唤醒设备上的辅助唤醒模块的信息,以及唤醒设备的辅助唤醒模块的功能信息(例如,处理能力)和工作频道。
被唤醒设备也可以通过用户配置,例如手动输入配置或扫描二维码等方式,获得唤醒设备的省电需求和/或唤醒能力信息。
需要说明的是,唤醒设备的省电需求和/或唤醒能力信息的传输可以通过扩展现有消息中的厂商相关信息元素(Vendor Specific IE)来实现,或者可以通过在现有消息中增加新的信息元素(Information Element,IE)来实现。
502、被唤醒设备根据唤醒设备的数量和/或指示信息确定被唤醒设备的辅助唤醒模块的工作模式。
工作模式包括辅助唤醒模块的时间同步机制和/或休眠模式。
对于被唤醒设备的辅助唤醒模块的时间同步机制来说,被唤醒设备可以根据唤醒设备的数量、唤醒设备的省电需求和唤醒设备的唤醒能力信息这三个参数中至少两个参数之间的优先级关系来确定被唤醒设备的辅助唤醒模块的时间同步机制。举例来说,唤醒设备的数量、唤醒设备的省电需求和唤醒设备的唤醒能力信息的优先级信息可以是,唤醒设备的唤醒能力信息的优先级大于唤醒设备的数量的优先级,唤醒设备的数量的优先级大于省电需求的优先级。
举例来说,假设被唤醒设备同时获取到了唤醒设备的数量、唤醒设备的省电需求和唤醒设备的唤醒能力信息,或被唤醒设备同时获取到了唤醒设备的数量和唤醒设备的唤醒能力信息,由于唤醒设备的唤醒能力信息的优先级最高,因此被唤醒设备可以根据唤醒设备的唤醒能力信息来确定被唤醒设备的辅助唤醒模块的时间同步机制。
例如,若唤醒设备的唤醒能力信息指示唤醒设备只支持同步唤醒,则被唤醒设备设置被唤醒设备的辅助唤醒模块与唤醒设备需保持时间同步,即设置被唤醒设备的辅助唤醒模块的时间同步机制为同步唤醒,唤醒设备周期性的向被唤醒设备的辅助唤醒模块发送时间同步帧,且被唤醒设备的辅助唤醒模块周期性的接收该唤醒设备发送的时间同步帧;若唤醒设备的唤醒能力信息指示唤醒设备只支持异步唤醒,则被唤醒设备可以设置被唤醒设备的辅助唤醒模块不需要与唤醒设备保持时间同步,即唤醒设备不向被唤醒设备的辅助唤醒模块发送时间同步帧或者被唤醒设备不接收该唤醒设备发送的时间同步帧,也即设置被唤醒设备的辅助唤醒模块的时间同步机制为异步唤醒。
类似的,若被唤醒设备同时获取到了唤醒设备的数量和唤醒设备的省电需求,且由于唤醒设备的数量的优先级高于唤醒设备的省电需求的优先级,则被唤醒设备根据唤醒设备的数量来确定被唤醒设备的辅助唤醒模块的时间同步机制。具体地,若唤醒设备的数量大于等于2且属于不同的基本服务集,则设置被唤醒设备的辅助唤醒模块不需要与唤醒设备保持时间同步。当唤醒设备的数量等于1,或唤醒设备的数量大于或等于2且唤醒设备均属于同一基本服务集,被唤醒设备可以继续根据唤醒设备的省电需求来设置辅助唤醒模块的时间同步机制,即若确定省电需求表征唤醒设备需要省电,则被唤醒设备设置被唤醒设备的辅助唤醒模 块不需与唤醒设备保持时间同步;若确定省电需求表征唤醒设备不需要省电,则被唤醒设备设置被唤醒设备的辅助唤醒模块与唤醒设备保持时间同步。
当然,当被唤醒设备获得的指示信息中包括唤醒设备的唤醒能力信息,且被唤醒设备也获取到了唤醒设备的数量时,按照优先级关系,被唤醒设备也是根据唤醒设备的唤醒能力信息来确定被唤醒设备的辅助唤醒模块的时间同步机制的,即若唤醒设备的唤醒能力信息指示唤醒设备支持同步唤醒,则被唤醒设备设置被唤醒设备的辅助唤醒模块与唤醒设备需保持时间同步,若唤醒设备的唤醒能力信息指示唤醒设备支持异步唤醒,则被唤醒设备可以设置被唤醒设备的辅助唤醒模块不需要与唤醒设备保持时间同步。
或者,当被唤醒设备根据指示信息中的省电需求和唤醒能力信息时,也是根据唤醒能力信息来确定辅助唤醒模块的时间同步机制的。
需要说明的是,若被唤醒设备当前与唤醒设备保持时间同步,且被唤醒设备确定需要设置被唤醒设备的辅助唤醒模块与唤醒设备保持同步,则被唤醒设备此时可以不需要设置被唤醒设备的辅助唤醒模块的时间同步机制;类似的,若被唤醒设备当前与唤醒设备保持时间同步,且被唤醒设备确定需要设置被唤醒设备的辅助唤醒模块不需要与唤醒设备保持同步,则被唤醒设备设置被唤醒设备的的辅助唤醒模块不需要与唤醒设备保持同步;同理,若被唤醒设备当前与唤醒设备没有保持时间同步,且被唤醒设备确定不需要设置被唤醒设备的辅助唤醒模块与唤醒设备保持同步,则被唤醒设备此时可以不需要设置被唤醒设备的辅助唤醒模块的时间同步机制;类似的,若被唤醒设备当前与唤醒设备没有保持时间同步,且被唤醒设备确定需要设置被唤醒设备的辅助唤醒模块与唤醒设备保持同步,则被唤醒设备设置被唤醒设备的的辅助唤醒模块与唤醒设备保持同步。或者,若被唤醒设备在不确定被唤醒设备的辅助唤醒模块的时间同步机制,则被唤醒设备根据唤醒设备的唤醒能力信息设置被唤醒设备的辅助唤醒模块的时间同步机制,具体设置方式可参见上述说明。
当被唤醒设备设置辅助唤醒模块的工作模式中的休眠模式时,休眠模式包括辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
被唤醒设备设置辅助唤醒模块的休眠模式可以是,设置被唤醒设备的辅助唤醒模块的工作循环(Duty-Cycling)的周期T和醒来窗口长度W,例如,可以设置T=100毫秒和W=2毫秒;也可以是设置被唤醒设备的辅助唤醒模块的工作循环的周期T和醒来时间比例ρ,例如可以设置T=100毫秒和ρ=2%;还可以是设置被唤醒设备的辅助唤醒模块的工作循环的周期T和休眠时间比例λ,例如可以设置T=100ms和λ=98%。
当被唤醒设备确定了唤醒设备的数量,且接收到的指示信息中包括唤醒设备的唤醒能力信息,或指示信息中包括唤醒设备的唤醒能力信息和省电需求;或者被唤醒设备只确定了唤醒设备的唤醒能力信息,按照上述优先级的关系,被唤醒设备根据唤醒设备的唤醒能力信息确定被唤醒设备的辅助唤醒模块的休眠模式。
示例性的,当时间同步机制为异步机制时,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较长时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为10毫秒,便于唤醒设备可以唤醒多个被唤醒设备;当时间同步机制为同步机制时,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较短时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为2毫秒,以为被唤醒设备省电。
当被唤醒设备只确定了唤醒设备的数量,或确定了唤醒设备的数量以及省电需求时,按 照上述优先级的关系,被唤醒设备根据唤醒设备的数量确定辅助唤醒模块的休眠模式。
举例来说,若唤醒设备中属于同一基本服务集的唤醒设备的数量等于1,则被唤醒设备可以设置被唤醒设备的辅助唤醒模块的周期T和醒来窗口长度W分别为100毫秒和2毫秒,即醒来窗口长度较短,以为被唤醒设备省电;当唤醒设备中属于同一基本服务集的唤醒设备的数量较大,例如为2时,可以设置被唤醒设备的辅助唤醒模块的周期T和醒来窗口长度W分别为100毫秒和2*2=4毫秒,醒来窗口长度较长,以使得被唤醒设备接收2个唤醒设备的唤醒帧。
举例来说,当被唤醒设备只确定了唤醒设备的省电需求时,若省电需求指示需要省电,则被唤醒设备确定辅助唤醒模块的周期T和醒来窗口长度W分别为100毫秒和2毫秒,即醒来窗口长度较短,以为被唤醒设备省电;若省电需求指示不需要省电,则被唤醒设备确定辅助唤醒模块的周期T和醒来窗口长度W分别为100毫秒和10毫秒,即醒来窗口长度较长。
当被唤醒设备确定出辅助唤醒模块的工作循环的周期和醒来时的窗口长度后,若被唤醒设备的辅助唤醒模块需要与唤醒设备保持时间同步时,唤醒设备可以周期性的向被唤醒设备的辅助唤醒模块发送辅助唤醒模块时间同步帧,例如每10秒发送一次时间同步帧,以保证唤醒设备可以准确知道被唤醒设备的辅助唤醒模块的醒来时间点和醒来窗口在时间轴上的位置。当被唤醒设备需要和唤醒设备通信时,即唤醒设备需要唤醒被唤醒设备的主通信模块时,唤醒设备可以在被唤醒设备的辅助唤醒模块的醒来窗口内发送n个唤醒帧给被唤醒设备的辅助唤醒模块,其中,n大于或等于1。
若被唤醒设备的辅助唤醒模块不需要与唤醒设备保持时间同步时,由于唤醒设备不知道被唤醒设备的辅助唤醒模块的醒来时间点和醒来窗口在时间轴上的位置,因此唤醒设备可以连续发送n个唤醒帧给被唤醒设备的辅助唤醒模块,期望至少一个唤醒帧会被被唤醒设备的辅助唤醒模块收到,其中,n大于或等于2。
具体地,唤醒设备连续发送的n个唤醒帧之间的时间间隔小于醒来窗口长度W,如图5b所示,唤醒设备发送的相邻两个唤醒帧之间的时间间隔长度为V,被唤醒设备的辅助唤醒模块的窗口醒来长度为W,被唤醒设备的辅助唤醒模块的周期为T。其中,n大于或等于T/V。这是由于竞争信道造成的延迟和随机性,导致唤醒设备连续发送两个唤醒帧之间的时间间隔有随机性,即参数V带有随机性。因此需要保证V≤W,才能期望在发送的n个唤醒帧里,至少有一个唤醒帧会落在被唤醒设备的辅助唤醒模块的醒来窗口内,并且唤醒帧能被被唤醒设备的辅助唤醒模块接收到,以便唤醒被唤醒设备的主通信模块。
503、被唤醒设备向唤醒设备发送被唤醒设备的辅助唤醒模块的工作模式。
被唤醒设备可以在关联过程中或者在关联之后将辅助唤醒模块的工作模式通知给相连的唤醒设备。具体唤醒设备在发送被唤醒设备的辅助唤醒模块的工作模式是,可以是在被唤醒设备设置之前向唤醒设备发送,也可以是在被唤醒设备设置过程中向唤醒设备发送,或者是在被唤醒设备设置完成后向唤醒设备发送,本申请不做限定。
具体地,被唤醒设备可以通过向唤醒设备发送关联请求帧(Association Request Frame)、重新关联请求帧(Reassociation Request Frame)或者公共动作帧(Public Action Frame)将被唤醒设备的辅助唤醒模块的工作模式通知给唤醒设备。
504、当被唤醒设备设置的工作模式被唤醒设备接受时,唤醒设备向被唤醒设备发送确认消息,且唤醒设备根据被唤醒设备设置的工作模式向被唤醒设备发送唤醒帧。
被唤醒设备可以通过接收唤醒设备发送的关联响应帧(Association Response Frame)、重新关联响应帧(Reassociation Response Frame)或者公共动作帧(Public Action Frame)获得唤醒设备发送的确认消息,若被唤醒设备接收到唤醒设备发送的确认信息,指示被唤醒设备的工作模式被唤醒设备接受,则被唤醒设备可以接收唤醒设备根据确认的工作模式发送的唤醒帧。
举例来说,若唤醒设备接收的被唤醒设备的工作模式的时间同步机制为异步唤醒,休眠模式为周期T和醒来窗口长度W分别为100毫秒和2毫秒,则被唤醒设备接收唤醒设备发送的连续n个唤醒帧,其中,连续n个唤醒帧的间隔时间V应该不超过2毫秒,且n=T/V。
505、被唤醒设备的辅助唤醒模块根据工作模式接收唤醒设备发送的唤醒帧,以唤醒被唤醒设备的主通信模块。
当被唤醒设备的辅助唤醒模块接收到唤醒设备发送的唤醒帧后,被唤醒设备的辅助唤醒模块发送唤醒信号给被唤醒设备的主通信模块。当主通信模块被唤醒信号唤醒后,被唤醒设备便可以通过被唤醒的主通信模块与唤醒设备进行通信。
506、若唤醒设备的数量和/或指示信息发生变化,则被唤醒设备向唤醒设备更新被唤醒设备的辅助唤醒模块的工作模式。
举例来说,如图5c所示,假设STA1为被唤醒设备,AP为唤醒设备,STA2为新加入的唤醒设备,当STA1只与AP通信时,STA1的辅助唤醒模块的工作模式为:时间同步机制为同步唤醒,休眠模式为T=100毫秒,W=2毫秒。当新的唤醒设备STA2需要与STA1进行通信时,STA1接收STA2发送的携带STA2的省电信息和/或唤醒能力信息的信标帧或探测响应帧或关联响应帧或重新关联响应帧或公共动作帧,或STA1可以通过向STA2发送探测请求,STA2收到探测请求后向STA1发送携带STA2的省电信息和/或唤醒能力信息的探测响应,STA1根据原有的唤醒设备AP和新加入的唤醒设备STA2的省电需求和唤醒能力信息以及唤醒设备的总数来设置新的工作模式,若新设置的辅助唤醒模块的工作模式为:时间同步机制为异步唤醒,休眠模式为T=100毫秒,W=4毫秒,则STA1将新的工作模式分别通知给原有的唤醒设备AP和新加入的唤醒设备STA2;若新设置的辅助唤醒模块的工作模式为,时间同步机制为同步唤醒,休眠模式为T=100毫秒,W=2毫秒,则STA1只将新设置的工作模式通知给新加入的唤醒设备STA2,而因为新设置的工作模式与STA1只与AP通信时的工作模式一致,因此不必再通知原有的唤醒设备AP。另外,当一段时间后,STA2称为被唤醒设备,STA1是唤醒设备时,若STA1在与STA2第一次关联时向STA2发送过省电需求和唤醒能力信息,则STA1不必重新发送STA1的省电需求和/或唤醒能力信息给STA2,STA2可以根据之前发送过的信息来设置STA2的工作模式。
另外,当被唤醒设备同时与多个唤醒设备通信时,被唤醒设备可以有多个可以同时工作的Wi-Fi通信模块,分别工作在多个频段上。例如,被唤醒设备可以有2个可以同时工作的Wi-Fi通信模块,分别工作在2.4GHz和5GHz,被唤醒设备与唤醒设备1可以使用5GHz Wi-Fi通信模块进行通信,而与唤醒设备2使用2.4GHz Wi-Fi通信模块进行通信。
可见,根据本申请实施例所提供的唤醒无线设备的方法,可以使被唤醒设备根据唤醒设备的数量和/或指示信息来设置被唤醒设备的辅助唤醒模块的工作模式,包括时间同步机制和/或休眠模式,时间同步机制可以为同步唤醒或异步唤醒。而现有技术中,被唤醒设备的辅助唤醒模块的时间同步机制只能为同步唤醒,当被唤醒设备与多个不同唤醒设备相连时, 被唤醒设备的辅助唤醒模块需要维持多个时钟信息,并且需要周期性接收来自多个唤醒设备的时间同步帧,显著增加了被唤醒设备的辅助唤醒模块的复杂度和功耗,降低被唤醒设备的电池的续航时间,而且多个唤醒设备分别发送时间同步帧会浪费大量的空口时频资源。相比现有技术,异步模式不需要维持时钟信息和接收唤醒设备的时间同步帧,可以节省唤醒设备和被唤醒设备保持时间同步带来的额外能耗和通信开销大的问题。
本申请实施例提供一种唤醒无线设备的方法,如图6所示:
601、唤醒设备通过唤醒设备的主通信模块向被唤醒设备发送唤醒设备的指示信息,指示信息包括省电需求和唤醒能力信息中的至少一种。
步骤601的实现方式可以参见步骤501。
602、被唤醒设备根据唤醒设备的数量和/或指示信息确定被唤醒设备的辅助唤醒模块的工作模式。
具体设置过程可以参考步骤502。
603、被唤醒设备向唤醒设备发送被唤醒设备的辅助唤醒模块的工作模式。
604、当被唤醒设备设置的工作模式不被第二设备接受时,被唤醒设备接收唤醒设备设置的被唤醒设备的辅助唤醒模块的工作模式。
一种可能的情况下,唤醒设备不接受被唤醒设备设置的工作模式是因为,唤醒设备的省电需求和/或唤醒能力信息临时改变,与发送给被唤醒设备的省电需求和/或唤醒能力信息不同,导致被唤醒设备设置的被唤醒设备的辅助唤醒模块的工作模式不被唤醒设备接受。
当被唤醒设备1设置的被唤醒设备的辅助唤醒模块的工作模式不被唤醒设备接受时,唤醒设备可以根据唤醒设备自身的省电需求和/或唤醒能力信息来设置被唤醒设备的辅助唤醒模块的工作模式,若唤醒设备还关联其他的被唤醒设备,例如唤醒设备还关联被唤醒设备2和被唤醒设备3,则唤醒设备可以根据关联的被唤醒设备的个数来设置被唤醒设备1的辅助唤醒模块的工作模式。
另一种可能的情况下,被唤醒设备自身没有能力设置其辅助唤醒模块的工作模式,因此可以由唤醒设备来设置被唤醒设备的辅助唤醒模块的工作模式。
605、被唤醒设备若接受唤醒设备设置的被唤醒设备的工作模式,则向唤醒设备发送确认消息。
另外,被唤醒设备若不接受唤醒设备设置的被唤醒设备的辅助唤醒模块的工作模式,则唤醒设备也可以重新设置被唤醒设备的辅助唤醒模块的工作模式。
606、被唤醒设备的辅助唤醒模块根据唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式接收唤醒设备发送的唤醒帧,以唤醒被唤醒设备的主通信模块。
当被唤醒设备接受唤醒设备设置的被唤醒设备的辅助唤醒模块的工作模式时,被唤醒设备接收唤醒设备根据该工作模式发送的唤醒帧。
这样一来,若被唤醒设备根据唤醒设备的唤醒能力信息、数量和省电需求设置的被唤醒设备的辅助唤醒模块的工作模式不被唤醒设备接受,则可以由唤醒设备设置被唤醒设备的辅助唤醒模块的工作模式,工作模式包括时间同步机制和/或休眠模式,时间同步机制可以为同步唤醒或异步唤醒。相比现有技术中,被唤醒设备的辅助唤醒模块的时间同步机制为同步唤醒时,需要维持多个时钟信息,并且需要周期性接收来自多个唤醒设备的时间同步帧,本申请实施例中,在异步唤醒时不需要维持多个时钟信息和接收来自多个唤醒设备的时间同步 帧,可以节省唤醒设备和被唤醒设备的额外能耗和通信开销大的问题。
上述主要从第一无线设备,即被唤醒设备的角度对本发明实施例提供的方案进行了介绍。可以理解的是,第一无线设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对第一无线设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图7示出了上述实施例中所涉及的第一无线设备7的一种可能的结构示意图,第一无线设备包括:主通信模块701,处理模块702和辅助唤醒模块703。主通信模块701用于支持第一无线设备执行图5中的过程501、503、504和505,图6中的过程601、603、604和605;处理模块702用于支持第一无线设备执行图5中的过程502和506,图6中的过程602和607;辅助唤醒模块703用于支持第一无线设备执行图6中的过程606。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
当主通信模块701为第一收发器,处理模块702为处理器,辅助唤醒模块703为第二收发器时,本发明实施例所涉及的第一无线设备可以为图8所示的第一无线设备。
参阅图8所示,该第一无线设备8包括:第一收发器801、处理器802、第二收发器803、存储器804以及总线804。其中,第一收发器801、处理器802、第二收发器803和存储器804通过总线805相互连接;总线805可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本发明实施例还提供一种唤醒无线设备的方法,如图9所示,包括:
901、唤醒设备确定被唤醒设备的辅助唤醒模块的工作模式,工作模式包括被唤醒设备的辅助唤醒模块的时间同步机制和/或休眠模式。
对于被唤醒设备的辅助唤醒模块的时间同步机制来说,举例来说,唤醒设备可以根据其自身的唤醒能力、省电需求和关联的被唤醒设备的数量这三个参数中的一个或多个参数的优先级来确定被唤醒设备的辅助唤醒模块的时间同步机制。其中,唤醒能力的优先级高于省电需求,省电需求的优先级高于被唤醒设备的数量。
示例性的,1)如果唤醒设备的唤醒能力只支持异步唤醒,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为异步机制(也称为异步唤醒,或异步模式)。异步机制下,唤醒设备与被唤醒设备的辅助唤醒模块不需要保持时间同步,唤醒设备不向被唤醒设备的辅助唤醒模块发送时间同步帧,或者被唤醒设备的辅助唤醒模块不接收该唤醒设备发送 的时间同步帧;
2)如果唤醒设备的唤醒能力只支持同步唤醒,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为同步机制。同步机制下,唤醒设备与被唤醒设备的辅助唤醒模块保持时间同步,唤醒设备周期性地向被唤醒设备的辅助唤醒模块发送时间同步帧,被唤醒设备的辅助唤醒模块周期性接收该唤醒设备发送的时间同步帧;
3)当唤醒设备的唤醒能力既支持异步唤醒又支持同步唤醒时,如果唤醒设备有省电需求,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为异步机制,唤醒设备不向被唤醒设备的辅助唤醒模块发送时间同步帧,以便唤醒设备省电;
4)当唤醒设备既支持异步唤醒又支持同步唤醒时,如果唤醒设备没有省电需求,例如,唤醒设备是有源供电的,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为同步机制,唤醒设备与被唤醒设备的辅助唤醒模块保持时间同步,以便简化唤醒操作
5)当唤醒设备既支持异步唤醒又支持同步唤醒并且有省电需求时,如果其关联的被唤醒设备数量很少,例如,只有一个,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为异步机制,唤醒设备不向被唤醒设备的辅助唤醒模块发送时间同步帧,以便唤醒设备省电;
6)当唤醒设备既支持异步唤醒又支持同步唤醒并且没有省电需求时,如果其关联的被唤醒设备数量较多,则唤醒设备可以确定被唤醒设备的辅助唤醒模块的时间同步机制为同步,唤醒设备与被唤醒设备的辅助唤醒模块保持时间同步,以便简化唤醒操作。
对于被唤醒设备的辅助唤醒模块的休眠模式来说,具体地,唤醒设备可以根据时间同步机制、其关联的被唤醒设备的数量和应用场景中的一个或多个来确定被唤醒设备的辅助唤醒模块的休眠模式。辅助唤醒模块的休眠模式包括辅助唤醒模块的工作循环的周期和醒来窗口的长度或所占比例;或者,辅助唤醒模块的休眠模式包括辅助唤醒模块的工作循环的周期和休眠时间的长度或所占比例。
示例性的,1)当时间同步机制为异步机制时,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较长时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为10毫秒,便于唤醒设备可以唤醒多个被唤醒设备;
2)当时间同步机制为同步机制时,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较短时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为2毫秒,以为被唤醒设备省电;
3)如果唤醒设备关联的被唤醒设备的数量较大,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较长时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为10毫秒,便于唤醒设备可以唤醒多个被唤醒设备;
4)如果唤醒设备关联的被唤醒设备的数量较小,例如,唤醒设备关联的被唤醒设备只有一个,则被唤醒设备的辅助唤醒模块的工作循环的醒来窗口长度可以设置较短时间,例如,工作循环的周期可以为100毫秒,醒来窗口长度为2毫秒,以为被唤醒设备省电;
5)如果应用场景要求应用延迟小,则被唤醒设备的辅助唤醒模块的工作循环的周期可以设置的比较小,例如为20毫秒;
6)如果应用场景对应用延迟的要求不高,即延迟可以比较大,则被唤醒设备的辅助唤醒模块的工作循环的周期可以设置较长,例如为100毫秒,以便被唤醒设备的辅助唤醒模块 省电。
902、唤醒设备通过唤醒设备的主通信模块向被唤醒模块发送唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式。
唤醒设备可以通过信标帧(Beacon Frame)或探测响应帧(Probe Response)或关联响应帧(Association Response)或重新关联响应帧(Reassociation Response)或公共动作帧(Public Action Frame)将唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式发送给被唤醒设备。唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式可以作为一个新的信息元素(Information Element,IE)装载在信标帧或探测响应帧或关联响应帧或重新关联响应帧中。
903、被唤醒设备通过其主通信模块接收唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,并至少根据接收得到的工作模式确定被唤醒设备的辅助唤醒模块的工作模式。
被唤醒设备收到唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式之后,被唤醒设备需要进一步确定其辅助唤醒模块的工作模式,并根据其确定的工作模式配置其辅助唤醒模块。
如果被唤醒设备接受唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,例如,被唤醒设备可以支持该工作模式,则被唤醒设备将确定其辅助唤醒模块的工作模式为接收到的唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,并且根据工作模式配置其辅助唤醒模块。
如果被唤醒设备不接受唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,例如,被唤醒设备不能支持该工作模式,则被唤醒设备需要自己重新确定其辅助唤醒模块的工作模式。例如,被唤醒设备可以根据其关联的唤醒设备的数量、唤醒设备的唤醒能力信息和唤醒设备的省电需求中的一个或多个来确定被唤醒设备的辅助唤醒模块的工作模式,工作模式包括辅助唤醒模块的时间同步机制和/或休眠模式。
904、被唤醒设备向唤醒设备发送反馈消息。
在被唤醒设备确定了其辅助唤醒模块的工作模式之后,被唤醒设备向唤醒设备发送反馈消息:
反馈消息可以指示被唤醒设备接受唤醒设备确认的被唤醒设备的辅助唤醒模块的工作模式;或者
反馈消息可以指示被唤醒设备不接受唤醒设备确认的被唤醒设备的辅助唤醒模块的工作模式,并且反馈消息可以包括被唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式。
反馈消息可以是一个公共动作帧(Public Action Frame),或者反馈消息的内容也可以是作为一个新的信息元素(Information Element,IE)携带在探测请求帧或者关联请求帧或者重新关联请求帧里。
905、唤醒设备通过其主通信模块接收被唤醒设备发送的反馈消息。
反馈消息可以指示被唤醒设备接受唤醒设备确认的被唤醒设备的辅助唤醒模块的工作模式;或者,
反馈信息可以指示被唤醒设备不接受唤醒设备确认的被唤醒设备的辅助唤醒模块的工作模式,并且反馈信息可以包括被唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,唤醒设备可以接受被唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,并且把被唤醒 设备确定的被唤醒设备的辅助唤醒模块的工作模式作为唤醒设备确认的被唤醒设备的辅助唤醒模块的工作模式。
906、唤醒设备根据确定的被唤醒设备的辅助唤醒模块的工作模式向被唤醒设备发送唤醒帧,以唤醒被唤醒设备的主通信模块。
在唤醒设备确定被唤醒设备的辅助唤醒模块的时间同步机制为同步机制下,唤醒设备可以在被唤醒设备的辅助唤醒模块的醒来窗口里向被唤醒设备的辅助唤醒模块发送唤醒帧,以唤醒被唤醒设备的主通信模块。
在唤醒设备确定被唤醒设备的辅助唤醒模块的时间同步机制为异步机制下,唤醒设备不知道被唤醒设备的辅助唤醒模块的醒来窗口。唤醒设备需要发送多个唤醒帧,期望其中至少有一个唤醒帧会被被唤醒设备的辅助唤醒模块接收到,以唤醒被唤醒模块的主通信模块。
因此,在图9所示的实施例中,唤醒设备会主动确定被唤醒设备的辅助唤醒模块的工作模式,并向被唤醒设备通知唤醒设备确定的被唤醒设备的辅助唤醒模块的工作模式,被唤醒设备若接受唤醒设备确定的工作模式,则对辅助唤醒模块的工作模式进行设置,以使得辅助唤醒模块根据该工作模式接收唤醒设备发送的唤醒帧,以唤醒被唤醒设备的主通信模块;被唤醒设备若不接受唤醒设备确定的工作模式,被唤醒设备可以自己对辅助唤醒模块的工作模式进行设置,并将自己设置的工作模式通知给唤醒设备,以使得唤醒设备根据该工作模式向被唤醒设备的辅助唤醒设备发送唤醒帧,以唤醒被唤醒设备的主通信模块,这样一来,在辅助唤醒模块的工作模式为异步唤醒时,辅助唤醒模块不需要维持时钟信息和接收来自唤醒设备的时间同步帧,可以节省唤醒设备和被唤醒设备的额外能耗和通信开销大的问题。
上述主要从第二无线设备,即唤醒设备的角度对本发明实施例提供的方案进行了介绍。可以理解的是,第二无线设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对第二无线设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图10示出了上述实施例中所涉及的第二无线设备的一种可能的结构示意图,第二无线设备包括:主通信模块1001,处理模块1002和辅助唤醒模块1003。主通信模块1001用于支持第二无线设备执行图9中的过程902、905、906;处理模块1002用于支持第二无线设备执行图9中的过程901,;辅助唤醒模块1003用于在第二无线设备作为被唤醒设备时执行上述被唤醒设备中的辅助唤醒模块涉及到的步骤。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
当主通信模块1001为第三收发器,处理模块1002为处理器,辅助唤醒模块1003为第 四收发器时,本发明实施例所涉及的第二无线设备可以为图11所示的第二无线设备。
参阅图11所示,该第二无线设备包括:第三收发器1101、处理器1102、第四收发器1103、存储器1104以及总线1104。其中,第三收发器1101、处理器1102、第二收发器1103和存储器1104通过总线1105相互连接;总线1105可以是外设部件互连标准总线或扩展工业标准结构总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。
本发明的一些实施例的总体思想可以包括:
被唤醒设备在关联工程中或者在关联之后获得唤醒设备的省电需求和/或唤醒能力信息。被唤醒设备在关联工程中或者在关联之后发送所述被唤醒设备的省电需求和/或唤醒能力信息给唤醒设备。被唤醒设备根据“被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种确定所述被唤醒设备的WUR的工作模式,包括WUR的时间同步机制和WUR的休眠模式。被唤醒设备在关联过程中或者在关联之后发送所述被唤醒设备的WUR的工作模式给相连的唤醒设备。
本发明的一些实施例的方案的思路分析:
被唤醒设备需要知道唤醒设备的省电需求和/或唤醒能力信息,所述省电需求可以包括所述唤醒设备的主要通信模块(例如,Wi-Fi通信模块)是否需要进入休眠状态以及所述唤醒设备是否带有WUR。所述唤醒能力信息可以包括所述唤醒设备所能支持的WUR的时间同步机制,例如,所述唤醒设备支持“同步唤醒”和“异步唤醒”,或者所述二者之一,以及所述唤醒设备的WUR信息。被唤醒设备可以在关联工程中或者关联之后获得唤醒设备的省电需求和/或唤醒能力信息,并与所述唤醒设备协商所述被唤醒设备的WUR的工作模式。
1、被唤醒设备需要统计相连的唤醒设备的数量,例如,可以只包括将来会与所述被唤醒设备进行数据通信的唤醒设备,不包括曾经关联但是已经去关联的唤醒设备或不会再有数据通信的唤醒设备。
2、被唤醒设备根据“被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种确定被唤醒设备的WUR的工作模式,包括WUR的休眠模式和时间同步机制。
3、被唤醒设备需要把其WUR的工作模式告知相连的唤醒设备。所述被唤醒设备可以在关联过程中或者在关联之后把所述被唤醒设备的WUR的工作模式告知所述相连的唤醒设备。
根据以上分析,提出一种实施例的整体方案如下:
一种唤醒无线设备的方法,包括:
被唤醒设备获得唤醒设备的省电需求和/或唤醒能力信息;
被唤醒设备根据“被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种确定确定所述被唤醒设备的WUR的工作模式;
被唤醒设备发送所述被唤醒设备的WUR的工作模式给相连的唤醒设备;
当需要通过主通信模块(例如,Wi-Fi通信模块)发送消息给被唤醒设备时,唤醒设备根据所述被唤醒设备的WUR的工作模式发送唤醒帧给所述被唤醒设备的WUR,以唤醒所述被唤醒设备的主通信模块。
本文中所使用到的英文缩略语及对应的英文全称和中文翻译如下:
Figure PCTCN2017094776-appb-000001
Figure PCTCN2017094776-appb-000002
本发明还提供了以下的一些实施例:
一、实施例一
实施例一中,以Wi-Fi网络为例,被唤醒设备在关联过程中或者在关联之后获得唤醒设备的省电需求和/或唤醒能力信息,并与所述唤醒设备进行所述被唤醒设备的WUR工作模式的协商。被唤醒设备根据相连的唤醒设备的数量和/或所述唤醒设备的省电需求和/或唤醒能力信息设置所述被唤醒设备的WUR的工作模式。被唤醒设备在关联过程中或者在关联之后发送所述被唤醒设备的WUR的工作模式给所述唤醒设备。
实施例一中考虑两种WUR的时间同步机制,即辅助唤醒模块的时间同步机制,分别为:“同步唤醒”和“异步唤醒”。
“同步唤醒”模式下,被唤醒设备的WUR需要与唤醒设备保持时间同步,唤醒设备可以准确知道被唤醒设备的WUR的醒来时间点和醒来窗口在时间轴上的位置。“同步唤醒”要求唤醒设备周期性的向被唤醒设备的WUR发送WUR时间同步帧,以保证被唤醒设备的WUR与唤醒设备保持时间同步。如果唤醒设备需要唤醒被唤醒设备的主通信模块,唤醒设备可以在被唤醒设备的WUR的醒来窗口内发送n个唤醒帧给被唤醒设备的WUR。其中,n大于或等于1。
“异步唤醒”模式下,被唤醒设备的WUR不需要与唤醒设备保持时间同步,因而唤醒设备也不需要向被唤醒设备的WUR发送WUR时间同步帧。“异步唤醒”模式下,唤醒设备不知道被唤醒设备的WUR的醒来时间点和醒来窗口在时间轴上的位置。如果唤醒设备需要唤醒被唤醒设备的主通信模块,唤醒设备可以发送n个唤醒帧给被唤醒设备的WUR,期望至少一个唤醒帧会被被唤醒设备的WUR收到。其中,n大于或等于2。实施例一中,被唤醒设备与唤醒设备协商所述被唤醒设备的WUR的工作模式的可能的流程如图5所示例。图5中,消息102和消息103为一对消息,消息102和消息103不会与消息101同时存在,消息101和这对消息是两种可选的情况,可以任选其一。有消息101时,就没有消息102和消息103;而有消息102和消息103时,就没有消息101。
Step 1:被唤醒设备(例如,STA)可以通过接收唤醒设备发送的信标帧(Beacon Frame)或者探测响应帧(Probe Response Frame)或者公共动作帧(Public Action Frame)获得唤醒设备(例如,AP)的省电需求和/或唤醒能力信息。所述被唤醒设备获得所述唤醒设备的省电需求和/或能力唤醒信息之前可能发送探测请求帧(Probe Request Frame)。所述“省电需求和/或唤醒能力信息”可以包括:
所述唤醒设备的省电需求,可以包括所述唤醒设备的供电信息,例如,是有源供电还是 由电池供电,和主通信模块(例如,Wi-Fi通信模块)的休眠信息,例如,主通信模块是否需要休眠以及主通信模块的休眠模式(包括主通信模块的Duty-Cycling的周期和醒来时间长度)。
所述唤醒设备的唤醒能力信息,可以包括所述唤醒设备对所述被唤醒设备的WUR的支持信息,包括是否支持所述被唤醒设备的WUR(例如,是否支持所述WUR的工作频道,是否支持发送唤醒帧),以及所述唤醒设备支持的被唤醒设备的WUR的时间同步机制(支持同步唤醒,或支持异步唤醒,或支持同步唤醒和异步唤醒)。
所述唤醒设备的唤醒能力信息,可以进一步包括所述唤醒设备上的WUR的信息,包括所述唤醒设备上是否有WUR,以及所述唤醒设备的WUR的功能信息(例如,处理能力)和工作频道。
所述被唤醒设备(例如,STA)可以通过探测请求帧(Probe Request Frame)或者关联请求帧(Association Request Frame)或者重新关联请求帧(Reassociation Request Frame)或者公共动作帧(Public Action Frame)发送所述被唤醒设备的省电需求和/或唤醒能力信息给所述唤醒设备(例如,AP)。
被唤醒设备(例如,STA)和唤醒设备(例如,AP)也可以通过用户配置,例如,手动输入配置或扫描二维码,或者其它方式获得唤醒设备的省电需求和/或唤醒能力信息。
以上所述省电需求和/或唤醒能力信息的传输可以通过扩展现有消息中的Vendor Specific IE(厂商相关信息元素)来实现,或者可以通过在现有消息中增加新的消息元素(IE)来实现,所述现有消息可以是上述Step 1中使用的任一消息。
Step 2:被唤醒设备(例如,STA)可以根据“所述被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种确定所述被唤醒设备的WUR的工作模式,包括所述WUR的时间同步机制和/或休眠模式。所述“设置WUR的工作模式”可以包括:
设置WUR的时间同步机制:即选择“同步唤醒”,或者“异步唤醒”。其中,所述“同步唤醒”机制要求所述被唤醒设备的WUR与所述唤醒设备保持时间同步,进而要求所述被唤醒设备的WUR周期性的接收所述唤醒设备发送的时间同步帧,例如,每10秒接收一次WUR时间同步帧。所述“异步唤醒”机制不需要所述被唤醒设备的WUR与所述唤醒设备保持时间同步。
所述“设置WUR的工作模式”可以进一步包括:
设置所述WUR的休眠模式:可以是设置所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W,例如,可以设置T=100ms和W=2ms,如图2所示;或者是设置所述WUR的工作循环(Duty-Cycling)的周期T和WUR醒来时间比例ρ,例如可以设置T=100ms和ρ=2%。或者是设置所述WUR的工作循环(Duty-Cycling)的周期T和WUR休眠时间比例λ,例如可以设置T=100ms和λ=98%。
Step 3:被唤醒设备(例如,STA)可以通过关联请求帧(Association Request Frame)或者重新关联请求帧(Reassociation Request Frame)或者公共动作帧(Public Action Frame)发送所述被唤醒设备的WUR的工作模式给所述唤醒设备(例如,AP)。所述“WUR的工作模式”可以包括:
所述WUR的时间同步机制,例如,“同步唤醒”,即要求所述被唤醒设备的WUR与所述唤 醒设备保持时间同步。
所述“WUR的工作模式”可以进一步包括:
所述WUR的休眠模式,可以包括所述WUR的工作循环(Duty-Cycling)的周期T和WUR的醒来窗口长度W;或者所述WUR的工作循环(Duty-Cycling)的周期T和WUR的醒来时间比例ρ;或者所述WUR的工作循环(Duty-Cycling)的周期T和WUR的休眠时间比例λ。
被唤醒设备可以通过接收唤醒设备发送的关联响应帧(Association Response Frame)或者重新关联响应帧(Reassociation Response Frame)或者动作帧(Public Action Frame)获得所述被唤醒设备的WUR的工作模式已经被所述唤醒设备接受的确认信息。
以上所述辅助唤醒模块(WUR)的工作模式的传输可以通过扩展现有消息中的Vendor Specific IE(厂商相关信息元素)来实现,或者可以通过增加新的消息元素(IE)来实现,所述现有消息可以是上述Step 3中使用的任一消息。
Step 4:被唤醒设备(例如,STA)配置所述被唤醒设备的WUR的工作模式。
当被唤醒设备(例如,STA)通过所述被唤醒设备的WUR收到唤醒设备发送的唤醒帧后,所述被唤醒设备唤醒所述被唤醒设备的主通信模块(例如,Wi-Fi通信模块)以与所述唤醒设备进行消息传输。
关于WUR工作模式设置模块的可能的工作流程的说明
本发明实施例所提供的被唤醒设备所涉及的物理元器件可以主要包括:主通信模块(例如,802.11通信模块,蜂窝移动通信模块等),辅助唤醒模块(WUR),和WUR工作模式设置模块。所述模块的连接关系如图6所示。所述主通信模块提供所述被唤醒设备的第一无线接口,所述辅助唤醒模块提供所述被唤醒设备的第二无线接口。
所述WUR工作模式设置模块可以是通过软件实现的逻辑功能模块,其主要功能可以包括根据所连接的唤醒设备的数量和/或所述唤醒设备的省电需求和/或唤醒能力信息设置所述WUR的工作模式(可以通过处理器来实现所述WUR工作模式设置模块的功能)。所述WUR模块的主要功能可以包括接收来自唤醒设备的唤醒帧和向主通信模块发送唤醒信号。所述主通信模块的主要功能可以包括与唤醒设备的主通信模块通信和发送唤醒帧。如图11所示,为本发明实施例所提供的被唤醒设备的另一种结构示意图。被唤醒设备内部的WUR工作模式设置模块的可能的工作流程如图7所示例。在图7所示的例子中,WUR工作模式设置模块只考虑所关联的唤醒设备的数量和所述唤醒设备的省电需求和唤醒能力信息。
如图7所示例,无线设备内部的WUR工作模式设置模块的可能的工作流程如下:
当确定唤醒需求发生变化时,例如,有新唤醒设备请求关联,会触发被唤醒设备的WUR工作模式设置模块进入工作状态。例如,所述WUR工作模式设置模块可以根据所关联的唤醒设备的数量和所述唤醒设备的省电需求和唤醒能力信息设置所述被唤醒设备的WUR的工作模式,可以包括:
1、如果所连接的唤醒设备只有一个,并且所述唤醒设备只支持“异步唤醒”,则可以采用“异步唤醒”。所述被唤醒设备的WUR不需要与所述唤醒设备保持时间同步。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可以设置为T=100ms,W=2ms。
2、如果所连接的唤醒设备只有一个,但是所述唤醒设备有省电需求,则可以采用“异步唤醒”。所述被唤醒设备的WUR不需要与所述唤醒设备保持时间同步。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可以设置为T=100ms,W=2ms。
3、如果所连接的唤醒设备有两个或两个以上,并且所述唤醒设备不属于同一个基本服务集(BSS)或者所述唤醒设备不属于同一个网络,则可以采用“异步唤醒”。所述被唤醒设备的WUR不需要与所述唤醒设备保持时间同步。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可以设置为T=100ms,W=2K ms。其中,K是所连接的唤醒设备的个数。
4、如果所连接的唤醒设备只有一个,并且所述唤醒设备只支持“同步唤醒”,则可以采用“同步唤醒”。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可以设置为T=100ms,W=2ms。所述被唤醒设备的WUR周期性的接收所述唤醒设备发送的时间同步帧,以保证所述被唤醒设备的WUR与所述唤醒设备保持时间同步,例如每10秒钟接收一次时间同步帧。
5、如果所连接的唤醒设备只有一个,并且所述唤醒设备没有省电需求,则可以采用“同步唤醒”。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可以设置为T=100ms,W=2ms。所述被唤醒设备的WUR周期性的接收所述唤醒设备发送的时间同步帧,以保证所述被唤醒设备的WUR与所述唤醒设备保持时间同步,例如每10秒钟接收一次时间同步帧。
6、如果所连接的唤醒设备有两个或两个以上,并且所述唤醒设备属于同一个基本服务集(BSS),则可以采用“同步唤醒”。所述WUR的工作循环(Duty-Cycling)的周期T和醒来窗口长度W可能设置为T=100ms,W=2ms。所述被唤醒设备的WUR周期性的接收所述唤醒设备发送的时间同步帧,以保证所述被唤醒设备的WUR与所述唤醒设备保持时间同步,例如每10秒钟接收一次时间同步帧。
在确定唤醒需求发生变化后,被唤醒设备根据唤醒需求发生变化后的“被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种更新所述被唤醒设备的WUR的工作模式。所述被唤醒设备需要发送所述被唤醒设备的WUR的新的工作模式给新连接的唤醒设备。如果所述WUR的工作模式有变化,所述被唤醒设备需要发送所述被唤醒设备的WUR的新的工作模式给所述已经连接的唤醒设备。
关于唤醒设备的可能的唤醒操作的说明
在“同步唤醒”模式下,唤醒设备与被唤醒设备的WUR保持时间同步,所以唤醒设备可以准确知道所述被唤醒设备的WUR的醒来时间点(Target Wake Time,TWT)和醒来窗口(Wake window)在时间轴上的位置。所述唤醒设备可以选择在所述WUR的醒来窗口内发送唤醒帧给所述被唤醒设备的WUR,以唤醒所述被唤醒设备的主通信模块(例如,Wi-Fi通信模块),如图2所示例。
在“异步唤醒”模式下,唤醒设备不知道被唤醒设备的WUR的醒来时间点(Target Wake Time,TWT)和醒来窗口(Wake window)在时间轴上的位置。唤醒设备可以在一次唤醒尝试里,由某一个随机的时间点开始,发送n个唤醒帧,如图8所示。其中,n大于或等于T/V,V是发送相邻两个唤醒帧之间的时间间隔。考虑到由于竞争信道造成的延迟和随机性,所述唤醒设备连续发送两个唤醒帧之间的时间间隔有随机性,即参数V带有随机性。但是,所述唤醒设备需要保证V≤W,才能期望在所述发送的n个唤醒帧里,至少有一个唤醒帧会落在所述被唤醒设备的WUR的醒来窗口内,并且所述唤醒帧能被所述WUR接收到,以便唤醒所 述被唤醒设备的主要通信模块(例如,Wi-Fi通信模块)。
二、实施例二
相比实施例一,实施例二中,被唤醒设备的WUR的工作模式可以是由唤醒设备设置的。所述“WUR的工作模式”包括所述WUR的时间同步机制和/或休眠模式。
相比实施例一,实施例二中,被唤醒设备在关联过程中或者在关联之后发送所述被唤醒设备的省电需求和/或唤醒能力信息给唤醒设备,被唤醒设备在关联过程中或者在关联之后获得唤醒设备的省电需求和/或唤醒能力信息。被唤醒设备可能不设置其WUR的工作模式,或者所述被唤醒设备选择或者设置的WUR的工作模式可能不被所述唤醒设备接受,所述被唤醒设备的WUR的工作模式可以是由所述唤醒设备设置。
如图9所示例,被唤醒设备(例如,STA)和唤醒设备(例如,AP)在关联过程中或者在关联之后协商所述被唤醒设备的工作模式的可能的流程。图9中,消息202和消息203为一对消息,消息202和消息203不会与消息201同时存在。有消息201时,就没有消息202和消息203;而有消息202和消息203时,就没有消息201。
Step 1:实施例二中,被唤醒设备(例如,STA)获得唤醒设备(例如,AP)的省电需求和/或唤醒能力信息的可能的过程可以与实施例一中的Step 1里的说明相同。
被唤醒设备(例如,STA)发送所述被唤醒设备的省电需求和/或唤醒能力信息给唤醒设备(例如,AP)的可能的过程与实施例一中的Step 1里的说明相同
Step 2:实施例二中,被唤醒设备(例如,STA)根据相连的唤醒设的数量和/或所述唤醒设备的省电需求和/或唤醒能力信息选择或设置所述被唤醒设备的WUR的工作模式的可能的过程可以与实施例一中的Step 2里的说明相同。
Step 3:实施例二中,被唤醒设备(例如,STA)发送所述被唤醒设备的WUR的工作模式给相连的唤醒设备(例如,AP)的可能的过程可以与实施例一中的Step 3里的说明相同。
与实施例一不同的是,实施例二中,所述被唤醒设备可能不确定其WUR的工作模式,或者所述被唤醒设备所确定的或选择的WUR的工作模式可能不被所述唤醒设备所接受,所述被唤醒设备的WUR的工作模式可以是由所述唤醒设备确定或者重新确定。
所述被唤醒设备可以通过接收唤醒设备发送的Probe Response帧或者Association Response帧或者Reassociation Response帧或者Public Action帧获得所述唤醒设备确定的所述被唤醒设备的WUR的工作模式。
所述被唤醒设备可以通过Public Action帧发送所述被唤醒设备的WUR的工作模式的确认信息给所述唤醒设备。
以上所述辅助唤醒模块(WUR)的工作模式的传输可以通过扩展现有消息中的Vendor Specific IE(厂商相关信息元素)来实现,或者可以通过增加新的消息元素(IE)来实现。
Step 4:被唤醒设备(例如,STA)配置所述被唤醒设备的WUR的工作模式。
三、实施例三
实施例三中,如图10所示例,被唤醒设备(STA-1)与第一唤醒设备(AP)已经建立连接并可能有多次通信。被唤醒设备(STA-1)现在作为虚拟接入点(SoftAP),并且可能有第二个唤醒设备(STA-2)需要与所述被唤醒设备(STA-1)关联和通信。第二个唤醒设备(STA-2)上有WUR,并且第二个唤醒设备有省电需求,所以第二个唤醒设备也可以成为被唤醒设备。
对于第一个唤醒设备(例如,AP)而言,所述被唤醒设备(STA-1)是一个已经关联的 STA。而对于第二个唤醒设备(例如,STA-2)而言,所述被唤醒设备(STA-1)是一个虚拟接入点(SoftAP)。例如,所述被唤醒设备(STA-1)可能有2个可以同时工作的Wi-Fi通信模块,分别工作在两个频段上,2.4GHz和5GHz。所述被唤醒设备(STA-1)与所述第一唤醒设备(AP)可能使用5GHz Wi-Fi通信模块进行通信,而所述被唤醒设备(STA-1)与所述第二唤醒设备(STA-2)可能使用2.4GHz Wi-Fi通信模块进行通信。所述被唤醒设备(STA-1)上可能只有一个WUR模块,所以下文中所述的STA-1-WUR和SoftAP-WUR是指同一个WUR模块。如图10所示例,被唤醒设备(STA-1)更新其WUR的工作模式的可能的流程。图10中,消息302和消息303为一对消息,消息302和消息303不会与消息301同时存在。有消息301时,就没有消息302和消息303;而有消息302和消息303时,就没有消息301。
如图10所示例,被唤醒设备(STA-2)设置其WUR的工作模式的可能的过程可以与实施例一中的Step 1、Step 2、Step 3和Step 4里的描述相同。
被唤醒设备(SoftAP)可以通过信标帧(Beacon Frame)或者探测响应帧(Probe Response Frame)或者关联响应帧(Association Response Frame)或者重新关联响应帧(Reassociation Response Frame)或者公共动作帧(Public Action Frame)向唤醒设备(STA-2)发送所述被唤醒设备的省电需求和/或唤醒能力信息。
如图10所示例,被唤醒设备(STA-1)根据唤醒需求变化,例如,唤醒设备增加,更新所述被唤醒设备的WUR的工作模式。所述“更新所述被唤醒设备的WUR的工作模式”可以包括:
更新所述被唤醒设备的WUR的时间同步机制,例如,由“同步唤醒”变成“异步唤醒”。
所述“更新所述被唤醒设备的WUR的工作模式”可以进一步包括:
更新所述被唤醒设备的WUR的工作模式:可以包括重新设置所述WUR的休眠模式,包括所述WUR的工作循环(Duty-Cycling)的周期T和/或醒来窗口长度W,或者是设置所述WUR的工作循环(Duty-Cycling)的周期T和/或WUR醒来时间比例ρ,或者是设置所述WUR的工作循环(Duty-Cycling)的周期T和/或WUR休眠时间比例λ。
所述被唤醒设备可以通过公共动作帧(Public Action Frame)发送所述被唤醒设备的WUR的新的工作模式给相连的唤醒设备(例如,AP和STA-2)。
所述被唤醒设备可以通过公共动作帧(Public Action Frame)接收所述唤醒设备对所述被唤醒设备的WUR的新的工作模式的确认。
以上所述辅助唤醒模块(WUR)的工作模式的传输可以通过扩展现有消息中的Vendor Specific IE(厂商相关信息元素)来实现,或者可以通过增加新的消息元素(IE)来实现。
被唤醒设备
本发明实施例提供了一种被唤醒设备,如权利要求11-18任一所述,其具体结构可以如图4所示的被唤醒设备的结构,其中模块400对应被唤醒设备。对于被唤醒设备400,其包括子模块401、402、403、404和405。子模块401对应被唤醒设备的第一收发机,即第一无线接口,可以由主通信模块(例如,802.11通信模块)提供,可以用于发送唤醒帧,以及发送和接收其他消息。子模块402对应被唤醒设备的第二接收机,为第二无线接口的一个例子,可以由辅助唤醒模块(例如,WUR)提供,可以用于接收唤醒设备发送的唤醒帧,并在收到唤醒帧后向第一无线接口发送唤醒信号,以唤醒第一无线接口。子模块403对应处理器(可以为一个或多个),可以实现前述WUR工作模式设置模块的功能。子模块404对应存储器(可 以为一个或多个)。子模块403和子模块404可以为第一无线接口和第二无线接口共享。所示例中,第一无线接口401和第二无线接口402可以共享同一根天线子模块405,主要出于降低设备硬件成本和实现简单的考虑。第一无线接口401和第二无线接口402也可以对应不同的天线,特别是当两者工作在不同的频段载上时。实际产品中,被唤醒设备400可以由一个片上系统(SoC)实现或者集成电路实现。
在本文中,Wi-Fi接口是由Wi-Fi模块提供的无线接口;802.11接口和Wi-Fi接口所指相同,都是由802.11模块提供的无线接口;Wi-Fi模块和802.11模块所指相同;WUR接口是由WUR模块提供的无线接口;WUR模块和辅助唤醒模块所指相同。
有益效果
本发明各实施例带来的有益效果可以包括以下中的一个或多个:
本发明各实施例中,被唤醒设备根据“被唤醒设备的省电需求、被唤醒设备的唤醒能力信息、连接的唤醒设备的数量、连接的唤醒设备的省电需求、连接的唤醒设备的唤醒能力信息”中的一种或几种确定所述被唤醒设备的WUR的工作模式。本发明各实施例可以使能被唤醒设备根据应用场景选择采用“同步唤醒”机制或者“异步唤醒”机制,并优化设置WUR休眠模式的参数。所提出的技术方案可以平衡被唤醒设备和唤醒设备的能耗,以及避免复杂的时间同步操作和保持时间同步带来的额外能耗和通信开销。本发明各实施例的有益效果还可以包括:
如果唤醒设备也有省电需求,本发明实施例中的“异步唤醒”机制可以有效平衡被唤醒设备和唤醒设备的功耗。特别是在可穿戴式Wi-Fi场景里(如图3所示)智能手机作为虚拟接入点(SoftAP)并作为唤醒设备时,本发明提供的实施例可以显著降低智能手机的功耗。
如果有多个唤醒设备,本发明实施例中的“异步唤醒”机制可以有效的避免保持时间同步带来的通信开销,以及避免保持时间同步给WUR增加的处理复杂度和能耗。
根据唤醒需求的动态变化,被唤醒设备动态的更新其WUR的工作模式,例如,“同步唤醒”和“异步唤醒”两种模式相互切换。本发明各实施例可以适用于多种应用环境和满足不同设备的省电需求。
本发明图5所描述的实施例可以与实施例一相互参考,其中本发明图5所描述的实施例中的步骤501可以参考实施例一中的Step1,本发明图5所描述的实施例中的步骤502可以参考实施例一中的Step2和Step4,本申请发明图5所描述的实施例中的步骤503可以参考实施例一中的Step3;本申请发明图6描述的被唤醒设备设置的工作模式不被唤醒设备接受的场景,以及图9所描述的由唤醒设备设置被唤醒设备的辅助唤醒模块的工作模式的实施例可以与实施例二中由唤醒设备设置被唤醒设备的辅助唤醒模块的工作模式的的相关内容相关参考,其中本申请图6的实施例中的步骤604可以参考实施例二中的步骤Step4;本申请图5所示的实施例中的步骤506中的描述可以参考实施例三,即与被唤醒设备关联的唤醒设备的数量和/指示信息发生变化时的描述。

Claims (34)

  1. 一种唤醒无线设备的方法,其特征在于,包括:
    第一无线设备通过所述第一无线设备的主通信模块获得至少一个第二无线设备的指示信息,所述指示信息包括省电需求和唤醒能力信息中的至少一种,所述唤醒能力信息用于指示所述第二无线设备支持同步唤醒和/或异步唤醒;
    所述第一无线设备根据所述第二无线设备的数量和/或所述指示信息确定所述第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述辅助唤醒模块的时间同步机制和/或休眠模式;
    所述第一无线设备的所述辅助唤醒模块根据所述工作模式接收至少一个所述第二无线设备发送的唤醒帧,以唤醒所述第一无线设备的所述主通信模块。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一无线设备在确定出所述辅助唤醒模块的工作模式后,向所述至少一个第二无线设备发送所述辅助唤醒模块的工作模式。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述第一无线设备的所述辅助唤醒模块根据所述工作模式接收所述第二无线设备发送的唤醒帧之前,所述方法还包括:
    所述第一无线设备接收所述第二无线设备发送的确认消息,所述确认消息用于指示所述工作模式中的所述时间同步机制和/或休眠模式被所述第二无线设备接受;或,
    所述第一无线设备接收所述第二无线设备确定的所述第一无线设备的所述辅助唤醒模块的时间同步机制和/或休眠模式。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一无线设备根据所述第二无线设备的数量和/或所述指示信息设置所述第一无线设备的辅助唤醒模块的工作模式包括:
    所述第一无线设备根据所述第二无线设备的数量、所述第二无线设备的省电需求和所述第二无线设备的唤醒能力信息这三个参数中至少两个参数之间的优先级关系来设置所述第一无线设备的辅助唤醒模块的工作模式,所述优先级关系包括以下中的至少一个:所述唤醒能力信息的优先级大于所述第二无线设备的数量,和所述第二无线设备的数量的优先级大于所述省电需求。
  5. 根据权利要求4所述的方法,其特征在于,若所述指示信息包括所述唤醒能力信息,或,若所述指示信息包括所述唤醒能力信息和所述省电需求,则所述第一无线设备根据所述第二无线设备的数量和所述指示信息确定所述第一无线设备的辅助唤醒模块的工作模式包括:
    所述第一无线设备根据所述优先级关系确定根据所述唤醒能力信息来确定所述第一无线设备的辅助唤醒模块的时间同步机制,包括:
    若所述唤醒能力信息用于表征所述第二无线设备只支持同步唤醒,则所述第一无线设备确定所述第一无线设备的辅助唤醒模块与所述第二无线设备需保持时间同步;
    若所述唤醒能力信息用于表征所述第二无线设备只支持异步唤醒,则确定所述第一无线设备的辅助唤醒模块不需要与所述第二无线设备保持时间同步。
  6. 根据权利要求4所述的方法,其特征在于,若所述指示信息包括所述省电需求,则所述第一无线设备根据所述第二无线设备的数量和所述指示信息设置所述第一无线设备的辅助唤醒模块的工作模式包括:
    所述第一无线设备根据所述优先级关系确定根据所述第二无线设备的数量的优先级大于所述省电需求的优先级,包括:
    若所述第二无线设备的数量等于1,或所述第二无线设备的数量大于或等于2且所述第二无 线设备均属于同一基本服务集,则所述第一无线设备确定所述省电需求表征所述第二无线设备是否需要省电,若确定所述省电需求表征所述第二无线设备需要省电,则所述第一无线设备设置所述无线设备的辅助唤醒模块不需要与所述第二无线设备保持时间同步;若确定所述省电需求表征所述第二无线设备不需要省电,则所述第一无线设备设置所述第一无线设备的辅助唤醒模块与所述第二无线设备保持时间同步;
    若所述第二无线设备的数量大于或等于2,且所述第二无线设备属于不同的基本服务集,则所述第一无线设备设置所述第一无线设备的辅助唤醒模块不需要与所述第二无线设备保持时间同步。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述休眠模式包括所述辅助唤醒模块的工作循环的周期和醒来时的窗口长度;
    所述第一无线设备根据所述第二无线设备的数量和/或所述指示信息设置所述第一无线设备的辅助唤醒模块的工作模式包括:
    所述第一无线设备根据所述第二无线设备的数量和/或所述指示信息设置所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度,以便所述第二无线设备根据所述辅助唤醒模块的工作循环的周期和醒来时的窗口长度确定所述唤醒帧的数量以及所述唤醒帧之间的时间间隔;
    其中,所述时间间隔小于或等于所述窗口长度,当所述辅助唤醒模块与所述第二无线设备保持时间同步时,所述唤醒帧的数量大于或等于1,当所述辅助唤醒模块不与所述第二无线设备保持时间同步时,所述唤醒帧的数量大于或等于所述辅助唤醒模块的工作循环的周期与所述时间间隔的比值。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    若所述第二无线设备的数量和/或指示信息发生变化,则所述第一无线设备向所述第二无线设备更新所述第一无线设备的辅助唤醒模块的工作模式。
  9. 一种唤醒无线设备的方法,其特征在于,包括:
    第二无线设备确定第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;
    所述第二无线设备通过所述第二无线设备的主通信模块向所述第一无线设备发送所述工作模式;
    所述第二无线设备根据所述第一无线设备的辅助唤醒模块的所述工作模式向所述第一无线设备的辅助唤醒模块发送唤醒帧,以唤醒所述第一无线设备的主通信模块。
  10. 根据权利要求9所述的方法,其特征在于,所述时间同步机制用于指示所述第一无线设备的辅助唤醒模块是否需与所述第二无线设备保持时间同步;
    所述休眠模式包括所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:
    所述第二无线设备在发送所述唤醒帧之前,接收所述第一无线设备发送的反馈消息;
    所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或所述反馈消息用于指示所述第一无线设备不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且所述反馈消息包括所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述第二无线设备接受所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,并将所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式作为所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式。
  13. 一种唤醒无线设备的方法,其特征在于,包括:
    第一无线设备通过主通信模块接收第二无线设备发送的所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;
    所述第一无线设备根据从所述第二无线设备接收到的所述工作模式确定所述第一无线设备的辅助唤醒模块的工作模式;
    所述第一无线设备的辅助唤醒模块根据所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式接收所述第二无线设备发送的唤醒帧,以唤醒所述第一无线设备的主通信模块。
  14. 根据权利要求13所述的方法,其特征在于,所述时间同步机制用于指示所述第一无线设备的辅助唤醒模块是否需与所述第二无线设备保持时间同步;
    所述休眠模式包括所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
  15. 根据权利要求13或14所述的方法,其特征在于,所述第一无线设备根据从所述第二无线设备接收到的所述工作模式确定所述第一无线设备的辅助唤醒模块的工作模式包括:
    所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或,
    所述第一无线设备不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且所述第一无线设备至少根据所述第二无线设备的数量、所述第二无线设备的唤醒能力以及所述第二无线设备的省电需求中的至少一个确定所述第一无线设备的辅助唤醒模块的工作模式。
  16. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:
    在所述第一无线设备的辅助唤醒模块接收所述第二无线设备发送的唤醒帧之前,所述第一无线设备向所述第二无线设备发送反馈消息;
    所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或,
    所述反馈消息用于指示所述第一无线设备不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且所述反馈消息包括所述第一无线设备至少根据所述第二无线设备的数量、所述第二无线设备的唤醒能力以及所述第二无线设备的省电需求中的至少一个确定的所述第一无线设备的辅助唤醒模块的工作模式。
  17. 一种第一无线设备,其特征在于,包括:
    主通信模块,用于获得至少一个第二无线设备的指示信息,所述指示信息包括省电需求和唤醒能力信息中的至少一种,所述唤醒能力信息用于指示所述第二无线设备支持同步唤醒和/或异步唤醒;
    处理模块,用于根据所述第二无线设备的数量和/或所述指示信息确定所述第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述辅助唤醒模块的时间同步机制和/或休眠模式;
    辅助唤醒模块,用于根据所述工作模式接收至少一个所述第二无线设备发送的唤醒帧,以唤醒所述第一无线设备的所述主通信模块。
  18. 根据权利要求17所述的方法,其特征在于,所述主通信模块还用于:
    向所述至少一个第二无线设备发送所述辅助唤醒模块的工作模式。
  19. 根据权利要求17或18所述的方法,其特征在于,所述主通信模块还用于:
    接收所述第二无线设备发送的确认消息,所述确认消息用于指示所述工作模式中的时间同步机制和/或休眠模式被所述第二无线设备接受;或
    接收所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式。
  20. 根据权利要求17-19任一项所述的第一无线设备,其特征在于,所述处理模块用于:
    根据所述第二无线设备的数量、所述第二无线设备的省电需求和所述第二无线设备的唤醒能力信息这三个参数中至少两个参数之间的优先级关系来设置所述第一无线设备的辅助唤醒模块的工作模式,所述优先级关系包括以下中的至少一个:所述唤醒能力信息的优先级大于所述第二无线设备的数量,和所述第二无线设备的数量的优先级大于所述省电需求。
  21. 根据权利要求20所述的第一无线设备,其特征在于,若所述指示信息包括所述唤醒能力信息,或,若所述指示信息包括所述唤醒能力信息和所述省电需求,则所述处理模块用于:
    根据所述优先级关系确定根据所述唤醒能力信息来确定所述第一无线设备的辅助唤醒模块的时间同步机制,包括:
    若所述唤醒能力信息用于表征所述第二无线设备只支持同步唤醒,则确定所述第一无线设备的辅助唤醒模块与所述第二无线设备需保持时间同步;
    若所述唤醒能力信息用于表征所述第二无线设备只支持异步唤醒,则确定所述第一无线设备的辅助唤醒模块不需要与所述第二无线设备保持时间同步。
  22. 根据权利要求20所述的第一无线设备,其特征在于,若所述指示信息包括所述省电需求,则所述处理模块用于:
    根据所述优先级关系确定根据所述第二无线设备的数量的优先级大于所述省电需求的优先级,包括:
    若所述第二无线设备的数量等于1,或所述第二无线设备的数量大于或等于2且所述第二无线设备均属于同一基本服务集,则确定所述省电需求表征所述第二无线设备是否需要省电,若确定所述省电需求表征所述第二无线设备需要省电,则设置所述无线设备的辅助唤醒模块不需与所述第二无线设备保持时间同步;若确定所述省电需求表征所述第二无线设备不需要省电,则设置所述第一无线设备的辅助唤醒模块与所述第二无线设备保持时间同步;
    若所述第二无线设备的数量大于或等于2,且所述第二无线设备属于不同的基本服务集,则设置所述第一无线设备的辅助唤醒模块不需与所述第二无线设备保持时间同步。
  23. 根据权利要求17-22任一项所述的第一无线设备,其特征在于,所述休眠模式包括所述辅助唤醒模块的工作循环的周期和醒来时的窗口长度;所述处理模块用于:
    根据所述第二无线设备的数量和/或所述指示信息设置所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度,以便所述第二无线设备根据所述辅助唤醒模块的工作循环的周期和醒来时的窗口长度确定所述唤醒帧的数量以及所述唤醒帧之间的时间间隔;
    其中,所述时间间隔小于或等于所述窗口长度,当所述辅助唤醒模块与所述第二无线设备保持时间同步时,所述唤醒帧的数量大于或等于1,当所述辅助唤醒模块不与所述第二无线设备保持时间同步时,所述唤醒帧的数量大于或等于所述辅助唤醒模块的工作循环的周期与所述时间间 隔的比值。
  24. 根据权利要求17-23任一项所述的第一无线设备,其特征在于,所述处理模块还用于:
    若所述第二无线设备的数量和/或指示信息发生变化,则向所述第二无线设备更新所述第一无线设备的辅助唤醒模块的工作模式。
  25. 一种第二无线设备,其特征在于,包括:
    处理模块,用于确定第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;
    主通信模块,用于向所述第一无线设备发送所述第一无线设备的辅助唤醒模块的所述工作模式;
    所述主通信模块,还用于根据所述第一无线设备的辅助唤醒模块的所述工作模式向所述第一无线设备的辅助唤醒模块发送唤醒帧,以唤醒所述第一无线设备的主通信模块。
  26. 根据权利要求25所述的第二无线设备,其特征在于,所述时间同步机制用于指示所述第一无线设备的辅助唤醒模块是否需与所述第二无线设备保持时间同步;
    所述休眠模式包括所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
  27. 根据权利要求25或26所述的第二无线设备,其特征在于,所述主通信模块,还用于接收所述第一无线设备发送的反馈消息;
    所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或所述反馈消息用于指示所述第一无线设备不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且所述反馈消息包括所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式。
  28. 根据权利要求27所述的第二无线设备,其特征在于,所述处理模块,还用于接受所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,并将所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式作为所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式。
  29. 根据权利要求25-28任一所述的第二无线设备,其特征在于,所述处理模块为处理器,所述主通信模块为WiFi通信模块。
  30. 一种第一无线设备,其特征在于,包括:
    主通信模块,用于接收第二无线设备发送的所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,所述工作模式包括所述第一无线设备的辅助唤醒模块的时间同步机制和/或休眠模式;
    处理模块,用于根据从所述第二无线设备接收到的所述工作模式确定所述第一无线设备的辅助唤醒模块的工作模式;
    辅助唤醒模块,用于根据所述第一无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式接收所述第二无线设备发送的唤醒帧,以唤醒所述第一无线设备的主通信模块。
  31. 根据权利要求30所述的第一无线设备,其特征在于,所述时间同步机制用于指示所述第一无线设备的辅助唤醒模块是否需与所述第二无线设备保持时间同步;
    所述休眠模式包括所述第一无线设备的辅助唤醒模块的工作循环的周期和醒来时的窗口长度。
  32. 根据权利要求30或31所述的第一无线设备,其特征在于,所述处理模块用于:
    接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或
    不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且根据所述第二无线设备的数量、所述第二无线设备的唤醒能力以及所述第二无线设备的省电需求中的至少一个确定所述第一无线设备的辅助唤醒模块的工作模式。
  33. 根据权利要求30或31所述的第一无线设备,其特征在于,所述主通信模块还用于:
    向所述第二无线设备发送反馈消息;
    所述反馈消息用于指示所述第一无线设备接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式;或
    所述反馈消息用于指示所述第一无线设备不接受所述第二无线设备确定的所述第一无线设备的辅助唤醒模块的工作模式,且所述反馈消息包括所述第一无线设备根据所述第二无线设备的数量、所述第二无线设备的唤醒能力以及所述第二无线设备的省电需求中的至少一个确定的所述第一无线设备的辅助唤醒模块的工作模式。
  34. 根据权利要求30-33任一所述的第一无线设备,其特征在于,所述处理模块为处理器,所述主通信模块为WiFi通信模块,所述辅助唤醒模块为唤醒接收机WUR。
PCT/CN2017/094776 2016-08-16 2017-07-27 一种唤醒无线设备的方法和装置 WO2018032954A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/325,959 US10779235B2 (en) 2016-08-16 2017-07-27 Method and apparatus for waking up wireless device

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201610674389 2016-08-16
CN201610674389.7 2016-08-16
CN201610825688.6 2016-09-14
CN201610825688 2016-09-14
CN201611270950.1 2016-12-30
CN201611270950.1A CN107770851B (zh) 2016-08-16 2016-12-30 一种唤醒无线设备的方法和装置

Publications (1)

Publication Number Publication Date
WO2018032954A1 true WO2018032954A1 (zh) 2018-02-22

Family

ID=61196340

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094776 WO2018032954A1 (zh) 2016-08-16 2017-07-27 一种唤醒无线设备的方法和装置

Country Status (1)

Country Link
WO (1) WO2018032954A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108766423A (zh) * 2018-05-25 2018-11-06 三星电子(中国)研发中心 一种基于场景的主动唤醒方法和装置
CN109522058A (zh) * 2018-11-27 2019-03-26 北京小米移动软件有限公司 唤醒方法、装置、终端及存储介质
CN111771399A (zh) * 2018-02-26 2020-10-13 高通股份有限公司 唤醒无线电(wur)设备通信中的wur帧寻址
WO2020215234A1 (zh) * 2019-04-24 2020-10-29 天彩电子(深圳)有限公司 一种可靠的低功耗通信方法、装置及系统
CN115171703A (zh) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 分布式语音唤醒方法和装置、存储介质及电子装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150071151A1 (en) * 2013-09-11 2015-03-12 Microsemi Corporation Multi-channel low power wake-up system
CN104756560A (zh) * 2012-10-24 2015-07-01 高通股份有限公司 具有常规ps模式且无ulp的近乎无源接收机(ap不知道该接收机/电路模式)
CN105723780A (zh) * 2013-12-16 2016-06-29 英特尔公司 用于wi-fi设备的远程唤醒
CN105813077A (zh) * 2016-04-14 2016-07-27 天津大学 基于802.11ah减少开销降低终端功耗的通信方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104756560A (zh) * 2012-10-24 2015-07-01 高通股份有限公司 具有常规ps模式且无ulp的近乎无源接收机(ap不知道该接收机/电路模式)
US20150071151A1 (en) * 2013-09-11 2015-03-12 Microsemi Corporation Multi-channel low power wake-up system
CN105723780A (zh) * 2013-12-16 2016-06-29 英特尔公司 用于wi-fi设备的远程唤醒
CN105813077A (zh) * 2016-04-14 2016-07-27 天津大学 基于802.11ah减少开销降低终端功耗的通信方法

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111771399A (zh) * 2018-02-26 2020-10-13 高通股份有限公司 唤醒无线电(wur)设备通信中的wur帧寻址
CN111771399B (zh) * 2018-02-26 2023-08-15 高通股份有限公司 唤醒无线电(wur)设备通信中的wur帧寻址
CN108766423A (zh) * 2018-05-25 2018-11-06 三星电子(中国)研发中心 一种基于场景的主动唤醒方法和装置
CN109522058A (zh) * 2018-11-27 2019-03-26 北京小米移动软件有限公司 唤醒方法、装置、终端及存储介质
CN109522058B (zh) * 2018-11-27 2023-03-24 北京小米移动软件有限公司 唤醒方法、装置、终端及存储介质
WO2020215234A1 (zh) * 2019-04-24 2020-10-29 天彩电子(深圳)有限公司 一种可靠的低功耗通信方法、装置及系统
CN115171703A (zh) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 分布式语音唤醒方法和装置、存储介质及电子装置

Similar Documents

Publication Publication Date Title
CN107770851B (zh) 一种唤醒无线设备的方法和装置
WO2018032954A1 (zh) 一种唤醒无线设备的方法和装置
US11160017B2 (en) Wake-up radio assisted WLAN power saving technologies
RU2688267C1 (ru) Энергосберегающий способ доступа к каналу для устройств радиосвязи в сетях радиосвязи с большой плотностью размещения станций
WO2020224351A1 (zh) 随机接入的方法和装置
WO2018076988A1 (zh) 唤醒方法和装置
US10098067B2 (en) Service discovery via low-power wake-up radio
US20200084720A1 (en) Power saving for wireless device
EP4131829A1 (en) Communication method and communication apparatus
WO2015127771A1 (zh) 一种接入点、站点、信标帧的发送方法及系统
JP2017507604A (ja) ワイヤレスネットワークにおいてアクセスポイント(ap)を発見するためのシステムおよび方法
JP2022550159A (ja) ウェイクアップ信号検出方法および装置
WO2019138157A1 (en) Power saving for wireless device
CN107534848B (zh) 一种以分散和省电方式进行数据通信的系统和方法
US11425782B2 (en) Electronic device for supporting dual connectivity and method for operating thereof
EP3512262A1 (en) Wireless local area network communications method, receiver, access point and station
WO2022062685A1 (zh) 一种通信方法及设备
US10681759B2 (en) Paging schemes for peer-to-peer communications
WO2021031026A1 (zh) 一种下行控制信息dci的传输方法及装置
US20180035376A1 (en) NAN Frame Buffering Indications
WO2024051791A1 (zh) 通信方法以及相关装置
JP2020078004A (ja) 通信装置、制御方法、及びプログラム
WO2022082772A1 (zh) 一种数据传输方法和相关装置
CN112534953B (zh) 系统定时管理方法及通信装置
WO2023051397A1 (zh) 一种资源配置方法及装置

Legal Events

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

Ref document number: 17840929

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17840929

Country of ref document: EP

Kind code of ref document: A1